From f9848adf52f8862f3bc7aeae9dac16dbffa4d3f9 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Fri, 9 Dec 2022 18:10:03 +0000 Subject: [PATCH 1/2] feat: Add support for granular repricing configurations via SkuGroups in Cloud Channel Repricing APIs PiperOrigin-RevId: 494176375 Source-Link: https://github.com/googleapis/googleapis/commit/e69c47f438eb55caec51716fbc2b8a42313ca024 Source-Link: https://github.com/googleapis/googleapis-gen/commit/0f2614611f32e225fbad538a39be4fbf9c52a7a4 Copy-Tag: eyJwIjoiamF2YS1jaGFubmVsLy5Pd2xCb3QueWFtbCIsImgiOiIwZjI2MTQ2MTFmMzJlMjI1ZmJhZDUzOGEzOWJlNGZiZjljNTJhN2E0In0= --- .../channel/v1/ChannelPartnerLinksProto.java | 108 - ...dentityAccountsExistResponseOrBuilder.java | 89 - .../google/cloud/channel/v1/CommonProto.java | 145 - ...artnerRepricingConfigRequestOrBuilder.java | 100 - ...stomerRepricingConfigRequestOrBuilder.java | 98 - .../cloud/channel/v1/CustomersProto.java | 126 - ...artnerRepricingConfigRequestOrBuilder.java | 54 - ...stomerRepricingConfigRequestOrBuilder.java | 58 - .../v1/DeleteCustomerRequestOrBuilder.java | 54 - .../cloud/channel/v1/EntitlementsProto.java | 254 - .../FetchReportResultsRequestOrBuilder.java | 106 - ...artnerRepricingConfigRequestOrBuilder.java | 58 - ...stomerRepricingConfigRequestOrBuilder.java | 58 - .../v1/GetCustomerRequestOrBuilder.java | 56 - .../v1/GetEntitlementRequestOrBuilder.java | 58 - ...tnerRepricingConfigsResponseOrBuilder.java | 119 - .../v1/LookupOfferRequestOrBuilder.java | 58 - .../google/cloud/channel/v1/OffersProto.java | 274 - .../cloud/channel/v1/OperationsProto.java | 74 - .../cloud/channel/v1/ProductsProto.java | 124 - .../RegisterSubscriberResponseOrBuilder.java | 50 - .../cloud/channel/v1/ReportsServiceProto.java | 346 - .../channel/v1/RepricingConfigOrBuilder.java | 231 - .../cloud/channel/v1/RepricingProto.java | 199 - .../google/cloud/channel/v1/ServiceProto.java | 1467 ----- .../channel/v1/SubscriberEventProto.java | 118 - ...UnregisterSubscriberResponseOrBuilder.java | 50 - ...artnerRepricingConfigRequestOrBuilder.java | 67 - ...stomerRepricingConfigRequestOrBuilder.java | 67 - .../v1/CloudChannelReportsServiceClient.java | 0 .../CloudChannelReportsServiceSettings.java | 1 + .../channel/v1/CloudChannelServiceClient.java | 2 +- .../v1/CloudChannelServiceSettings.java | 1 + .../cloud/channel/v1/gapic_metadata.json | 0 .../google/cloud/channel/v1/package-info.java | 2 +- .../stub/CloudChannelReportsServiceStub.java | 0 ...loudChannelReportsServiceStubSettings.java | 0 .../v1/stub/CloudChannelServiceStub.java | 0 .../stub/CloudChannelServiceStubSettings.java | 0 ...dChannelReportsServiceCallableFactory.java | 0 .../GrpcCloudChannelReportsServiceStub.java | 1 + ...rpcCloudChannelServiceCallableFactory.java | 0 .../v1/stub/GrpcCloudChannelServiceStub.java | 1 + ...dChannelReportsServiceCallableFactory.java | 0 ...ttpJsonCloudChannelReportsServiceStub.java | 1 + ...sonCloudChannelServiceCallableFactory.java | 0 .../stub/HttpJsonCloudChannelServiceStub.java | 1 + ...annelReportsServiceClientHttpJsonTest.java | 0 .../CloudChannelReportsServiceClientTest.java | 0 ...CloudChannelServiceClientHttpJsonTest.java | 0 .../v1/CloudChannelServiceClientTest.java | 0 .../v1/MockCloudChannelReportsService.java | 0 .../MockCloudChannelReportsServiceImpl.java | 0 .../channel/v1/MockCloudChannelService.java | 0 .../v1/MockCloudChannelServiceImpl.java | 0 .../v1/CloudChannelReportsServiceGrpc.java | 442 +- .../channel/v1/CloudChannelServiceGrpc.java | 5814 +++++++---------- .../v1/ActivateEntitlementRequest.java | 450 +- .../ActivateEntitlementRequestOrBuilder.java | 46 +- .../google/cloud/channel/v1/AdminUser.java | 474 +- .../cloud/channel/v1/AdminUserOrBuilder.java | 45 +- .../cloud/channel/v1/AssociationInfo.java | 320 +- .../channel/v1/AssociationInfoOrBuilder.java | 27 +- .../channel/v1/CancelEntitlementRequest.java | 447 +- .../v1/CancelEntitlementRequestOrBuilder.java | 46 +- .../cloud/channel/v1/ChangeOfferRequest.java | 1008 ++- .../v1/ChangeOfferRequestOrBuilder.java | 140 +- .../channel/v1/ChangeParametersRequest.java | 902 ++- .../v1/ChangeParametersRequestOrBuilder.java | 123 +- .../v1/ChangeRenewalSettingsRequest.java | 578 +- ...ChangeRenewalSettingsRequestOrBuilder.java | 66 +- .../cloud/channel/v1/ChannelPartnerLink.java | 1104 ++-- .../channel/v1/ChannelPartnerLinkName.java | 0 .../v1/ChannelPartnerLinkOrBuilder.java | 133 +- .../channel/v1/ChannelPartnerLinkState.java | 95 +- .../channel/v1/ChannelPartnerLinkView.java | 85 +- .../channel/v1/ChannelPartnerLinksProto.java | 86 + .../v1/ChannelPartnerRepricingConfig.java | 718 +- .../v1/ChannelPartnerRepricingConfigName.java | 0 ...hannelPartnerRepricingConfigOrBuilder.java | 97 +- ...heckCloudIdentityAccountsExistRequest.java | 451 +- ...IdentityAccountsExistRequestOrBuilder.java | 36 +- ...eckCloudIdentityAccountsExistResponse.java | 569 +- ...dentityAccountsExistResponseOrBuilder.java | 53 + .../v1/CloudIdentityCustomerAccount.java | 485 +- ...CloudIdentityCustomerAccountOrBuilder.java | 42 +- .../cloud/channel/v1/CloudIdentityInfo.java | 898 +-- .../v1/CloudIdentityInfoOrBuilder.java | 80 +- .../com/google/cloud/channel/v1/Column.java | 548 +- .../cloud/channel/v1/ColumnOrBuilder.java | 42 +- .../cloud/channel/v1/CommitmentSettings.java | 598 +- .../v1/CommitmentSettingsOrBuilder.java | 72 +- .../google/cloud/channel/v1/CommonProto.java | 120 + .../cloud/channel/v1/ConditionalOverride.java | 1006 +++ .../v1/ConditionalOverrideOrBuilder.java | 86 + .../google/cloud/channel/v1/Constraints.java | 334 +- .../channel/v1/ConstraintsOrBuilder.java | 26 +- .../google/cloud/channel/v1/ContactInfo.java | 712 +- .../channel/v1/ContactInfoOrBuilder.java | 72 +- .../v1/CreateChannelPartnerLinkRequest.java | 477 +- ...ateChannelPartnerLinkRequestOrBuilder.java | 47 +- ...eChannelPartnerRepricingConfigRequest.java | 594 +- ...artnerRepricingConfigRequestOrBuilder.java | 60 + .../CreateCustomerRepricingConfigRequest.java | 575 +- ...stomerRepricingConfigRequestOrBuilder.java | 60 + .../channel/v1/CreateCustomerRequest.java | 495 +- .../v1/CreateCustomerRequestOrBuilder.java | 52 +- .../channel/v1/CreateEntitlementRequest.java | 648 +- .../v1/CreateEntitlementRequestOrBuilder.java | 86 +- .../com/google/cloud/channel/v1/Customer.java | 1403 ++-- .../cloud/channel/v1/CustomerConstraints.java | 757 +-- .../v1/CustomerConstraintsOrBuilder.java | 110 +- .../cloud/channel/v1/CustomerEvent.java | 440 +- .../channel/v1/CustomerEventOrBuilder.java | 33 +- .../google/cloud/channel/v1/CustomerName.java | 0 .../cloud/channel/v1/CustomerOrBuilder.java | 163 +- .../channel/v1/CustomerRepricingConfig.java | 715 +- .../v1/CustomerRepricingConfigName.java | 0 .../v1/CustomerRepricingConfigOrBuilder.java | 97 +- .../cloud/channel/v1/CustomersProto.java | 99 + .../google/cloud/channel/v1/DateRange.java | 579 +- .../cloud/channel/v1/DateRangeOrBuilder.java | 50 +- ...eChannelPartnerRepricingConfigRequest.java | 418 +- ...artnerRepricingConfigRequestOrBuilder.java | 31 + .../DeleteCustomerRepricingConfigRequest.java | 416 +- ...stomerRepricingConfigRequestOrBuilder.java | 33 + .../channel/v1/DeleteCustomerRequest.java | 361 +- .../v1/DeleteCustomerRequestOrBuilder.java | 29 + .../com/google/cloud/channel/v1/EduData.java | 612 +- .../cloud/channel/v1/EduDataOrBuilder.java | 39 +- .../google/cloud/channel/v1/Entitlement.java | 1947 ++---- .../cloud/channel/v1/EntitlementEvent.java | 518 +- .../channel/v1/EntitlementEventOrBuilder.java | 33 +- .../cloud/channel/v1/EntitlementName.java | 0 .../channel/v1/EntitlementOrBuilder.java | 251 +- .../cloud/channel/v1/EntitlementsProto.java | 220 + .../channel/v1/FetchReportResultsRequest.java | 565 +- .../FetchReportResultsRequestOrBuilder.java | 79 + .../v1/FetchReportResultsResponse.java | 615 +- .../FetchReportResultsResponseOrBuilder.java | 64 +- .../v1/GetChannelPartnerLinkRequest.java | 428 +- ...GetChannelPartnerLinkRequestOrBuilder.java | 41 +- ...tChannelPartnerRepricingConfigRequest.java | 400 +- ...artnerRepricingConfigRequestOrBuilder.java | 33 + .../v1/GetCustomerRepricingConfigRequest.java | 374 +- ...stomerRepricingConfigRequestOrBuilder.java | 33 + .../cloud/channel/v1/GetCustomerRequest.java | 354 +- .../v1/GetCustomerRequestOrBuilder.java | 31 + .../channel/v1/GetEntitlementRequest.java | 361 +- .../v1/GetEntitlementRequestOrBuilder.java | 33 + .../channel/v1/ImportCustomerRequest.java | 919 ++- .../v1/ImportCustomerRequestOrBuilder.java | 106 +- .../v1/ListChannelPartnerLinksRequest.java | 638 +- ...stChannelPartnerLinksRequestOrBuilder.java | 81 +- .../v1/ListChannelPartnerLinksResponse.java | 508 +- ...tChannelPartnerLinksResponseOrBuilder.java | 50 +- ...ChannelPartnerRepricingConfigsRequest.java | 738 +-- ...rtnerRepricingConfigsRequestOrBuilder.java | 100 +- ...hannelPartnerRepricingConfigsResponse.java | 686 +- ...tnerRepricingConfigsResponseOrBuilder.java | 79 + .../ListCustomerRepricingConfigsRequest.java | 641 +- ...tomerRepricingConfigsRequestOrBuilder.java | 74 +- .../ListCustomerRepricingConfigsResponse.java | 663 +- ...omerRepricingConfigsResponseOrBuilder.java | 66 +- .../channel/v1/ListCustomersRequest.java | 599 +- .../v1/ListCustomersRequestOrBuilder.java | 70 +- .../channel/v1/ListCustomersResponse.java | 516 +- .../v1/ListCustomersResponseOrBuilder.java | 53 +- .../channel/v1/ListEntitlementsRequest.java | 541 +- .../v1/ListEntitlementsRequestOrBuilder.java | 65 +- .../channel/v1/ListEntitlementsResponse.java | 517 +- .../v1/ListEntitlementsResponseOrBuilder.java | 53 +- .../cloud/channel/v1/ListOffersRequest.java | 636 +- .../v1/ListOffersRequestOrBuilder.java | 71 +- .../cloud/channel/v1/ListOffersResponse.java | 481 +- .../v1/ListOffersResponseOrBuilder.java | 46 +- .../cloud/channel/v1/ListProductsRequest.java | 532 +- .../v1/ListProductsRequestOrBuilder.java | 54 +- .../channel/v1/ListProductsResponse.java | 482 +- .../v1/ListProductsResponseOrBuilder.java | 46 +- .../v1/ListPurchasableOffersRequest.java | 1976 +++--- ...ListPurchasableOffersRequestOrBuilder.java | 117 +- .../v1/ListPurchasableOffersResponse.java | 465 +- ...istPurchasableOffersResponseOrBuilder.java | 45 +- .../v1/ListPurchasableSkusRequest.java | 2082 +++--- .../ListPurchasableSkusRequestOrBuilder.java | 117 +- .../v1/ListPurchasableSkusResponse.java | 475 +- .../ListPurchasableSkusResponseOrBuilder.java | 45 +- .../cloud/channel/v1/ListReportsRequest.java | 614 +- .../v1/ListReportsRequestOrBuilder.java | 76 +- .../cloud/channel/v1/ListReportsResponse.java | 519 +- .../v1/ListReportsResponseOrBuilder.java | 56 +- .../cloud/channel/v1/ListSkusRequest.java | 636 +- .../channel/v1/ListSkusRequestOrBuilder.java | 71 +- .../cloud/channel/v1/ListSkusResponse.java | 480 +- .../channel/v1/ListSkusResponseOrBuilder.java | 46 +- .../channel/v1/ListSubscribersRequest.java | 473 +- .../v1/ListSubscribersRequestOrBuilder.java | 47 +- .../channel/v1/ListSubscribersResponse.java | 509 +- .../v1/ListSubscribersResponseOrBuilder.java | 54 +- .../v1/ListTransferableOffersRequest.java | 893 ++- ...istTransferableOffersRequestOrBuilder.java | 96 +- .../v1/ListTransferableOffersResponse.java | 512 +- ...stTransferableOffersResponseOrBuilder.java | 55 +- .../v1/ListTransferableSkusRequest.java | 900 ++- .../ListTransferableSkusRequestOrBuilder.java | 98 +- .../v1/ListTransferableSkusResponse.java | 504 +- ...ListTransferableSkusResponseOrBuilder.java | 55 +- .../cloud/channel/v1/LookupOfferRequest.java | 348 +- .../v1/LookupOfferRequestOrBuilder.java | 33 + .../cloud/channel/v1/MarketingInfo.java | 482 +- .../channel/v1/MarketingInfoOrBuilder.java | 44 +- .../com/google/cloud/channel/v1/Media.java | 448 +- .../cloud/channel/v1/MediaOrBuilder.java | 42 +- .../google/cloud/channel/v1/MediaType.java | 75 +- .../com/google/cloud/channel/v1/Offer.java | 1205 ++-- .../google/cloud/channel/v1/OfferName.java | 0 .../cloud/channel/v1/OfferOrBuilder.java | 126 +- .../google/cloud/channel/v1/OffersProto.java | 241 + .../cloud/channel/v1/OperationMetadata.java | 449 +- .../v1/OperationMetadataOrBuilder.java | 24 +- .../cloud/channel/v1/OperationsProto.java | 61 + .../google/cloud/channel/v1/Parameter.java | 455 +- .../cloud/channel/v1/ParameterDefinition.java | 829 +-- .../v1/ParameterDefinitionOrBuilder.java | 70 +- .../cloud/channel/v1/ParameterOrBuilder.java | 44 +- .../google/cloud/channel/v1/PaymentPlan.java | 103 +- .../google/cloud/channel/v1/PaymentType.java | 82 +- .../channel/v1/PercentageAdjustment.java | 328 +- .../v1/PercentageAdjustmentOrBuilder.java | 26 +- .../com/google/cloud/channel/v1/Period.java | 325 +- .../cloud/channel/v1/PeriodOrBuilder.java | 27 +- .../google/cloud/channel/v1/PeriodType.java | 89 +- .../com/google/cloud/channel/v1/Plan.java | 612 +- .../cloud/channel/v1/PlanOrBuilder.java | 55 +- .../com/google/cloud/channel/v1/Price.java | 498 +- .../cloud/channel/v1/PriceByResource.java | 537 +- .../channel/v1/PriceByResourceOrBuilder.java | 50 +- .../cloud/channel/v1/PriceOrBuilder.java | 46 +- .../google/cloud/channel/v1/PricePhase.java | 587 +- .../cloud/channel/v1/PricePhaseOrBuilder.java | 56 +- .../google/cloud/channel/v1/PriceTier.java | 387 +- .../cloud/channel/v1/PriceTierOrBuilder.java | 32 +- .../com/google/cloud/channel/v1/Product.java | 399 +- .../google/cloud/channel/v1/ProductName.java | 0 .../cloud/channel/v1/ProductOrBuilder.java | 35 +- .../cloud/channel/v1/ProductsProto.java | 106 + .../channel/v1/PromotionalOrderType.java | 84 +- .../v1/ProvisionCloudIdentityRequest.java | 560 +- ...rovisionCloudIdentityRequestOrBuilder.java | 54 +- .../cloud/channel/v1/ProvisionedService.java | 555 +- .../v1/ProvisionedServiceOrBuilder.java | 67 +- .../cloud/channel/v1/PurchasableOffer.java | 321 +- .../channel/v1/PurchasableOfferOrBuilder.java | 26 +- .../cloud/channel/v1/PurchasableSku.java | 322 +- .../channel/v1/PurchasableSkuOrBuilder.java | 26 +- .../cloud/channel/v1/RebillingBasis.java | 82 +- .../channel/v1/RegisterSubscriberRequest.java | 430 +- .../RegisterSubscriberRequestOrBuilder.java | 42 +- .../v1/RegisterSubscriberResponse.java | 330 +- .../RegisterSubscriberResponseOrBuilder.java | 29 + .../cloud/channel/v1/RenewalSettings.java | 460 +- .../channel/v1/RenewalSettingsOrBuilder.java | 38 +- .../com/google/cloud/channel/v1/Report.java | 664 +- .../google/cloud/channel/v1/ReportJob.java | 408 +- .../cloud/channel/v1/ReportJobName.java | 0 .../cloud/channel/v1/ReportJobOrBuilder.java | 35 +- .../google/cloud/channel/v1/ReportName.java | 0 .../cloud/channel/v1/ReportOrBuilder.java | 76 +- .../channel/v1/ReportResultsMetadata.java | 550 +- .../v1/ReportResultsMetadataOrBuilder.java | 45 +- .../google/cloud/channel/v1/ReportStatus.java | 526 +- .../channel/v1/ReportStatusOrBuilder.java | 40 +- .../google/cloud/channel/v1/ReportValue.java | 820 +-- .../channel/v1/ReportValueOrBuilder.java | 68 +- .../cloud/channel/v1/ReportsServiceProto.java | 312 + .../cloud/channel/v1/RepricingAdjustment.java | 390 +- .../v1/RepricingAdjustmentOrBuilder.java | 26 +- .../cloud/channel/v1/RepricingCondition.java | 739 +++ .../v1/RepricingConditionOrBuilder.java | 38 + .../cloud/channel/v1/RepricingConfig.java | 2244 +++---- .../channel/v1/RepricingConfigOrBuilder.java | 205 + .../cloud/channel/v1/RepricingProto.java | 220 + .../google/cloud/channel/v1/ResourceType.java | 117 +- .../java/com/google/cloud/channel/v1/Row.java | 385 +- .../google/cloud/channel/v1/RowOrBuilder.java | 36 +- .../cloud/channel/v1/RunReportJobRequest.java | 700 +- .../v1/RunReportJobRequestOrBuilder.java | 89 +- .../channel/v1/RunReportJobResponse.java | 468 +- .../v1/RunReportJobResponseOrBuilder.java | 43 +- .../google/cloud/channel/v1/ServiceProto.java | 1342 ++++ .../java/com/google/cloud/channel/v1/Sku.java | 472 +- .../cloud/channel/v1/SkuGroupCondition.java | 604 ++ .../v1/SkuGroupConditionOrBuilder.java | 37 + .../google/cloud/channel/v1/SkuOrBuilder.java | 43 +- .../channel/v1/StartPaidServiceRequest.java | 447 +- .../v1/StartPaidServiceRequestOrBuilder.java | 46 +- .../cloud/channel/v1/SubscriberEvent.java | 469 +- .../channel/v1/SubscriberEventOrBuilder.java | 34 +- .../channel/v1/SubscriberEventProto.java | 101 + .../channel/v1/SuspendEntitlementRequest.java | 450 +- .../SuspendEntitlementRequestOrBuilder.java | 46 +- .../cloud/channel/v1/TransferEligibility.java | 505 +- .../v1/TransferEligibilityOrBuilder.java | 36 +- .../v1/TransferEntitlementsRequest.java | 815 +-- .../TransferEntitlementsRequestOrBuilder.java | 105 +- .../v1/TransferEntitlementsResponse.java | 415 +- ...TransferEntitlementsResponseOrBuilder.java | 36 +- .../TransferEntitlementsToGoogleRequest.java | 762 +-- ...rEntitlementsToGoogleRequestOrBuilder.java | 96 +- .../cloud/channel/v1/TransferableOffer.java | 321 +- .../v1/TransferableOfferOrBuilder.java | 26 +- .../cloud/channel/v1/TransferableSku.java | 566 +- .../channel/v1/TransferableSkuOrBuilder.java | 60 +- .../cloud/channel/v1/TrialSettings.java | 359 +- .../channel/v1/TrialSettingsOrBuilder.java | 29 +- .../v1/UnregisterSubscriberRequest.java | 430 +- .../UnregisterSubscriberRequestOrBuilder.java | 42 +- .../v1/UnregisterSubscriberResponse.java | 330 +- ...UnregisterSubscriberResponseOrBuilder.java | 29 + .../v1/UpdateChannelPartnerLinkRequest.java | 638 +- ...ateChannelPartnerLinkRequestOrBuilder.java | 76 +- ...eChannelPartnerRepricingConfigRequest.java | 462 +- ...artnerRepricingConfigRequestOrBuilder.java | 36 + .../UpdateCustomerRepricingConfigRequest.java | 436 +- ...stomerRepricingConfigRequestOrBuilder.java | 36 + .../channel/v1/UpdateCustomerRequest.java | 474 +- .../v1/UpdateCustomerRequestOrBuilder.java | 43 +- .../com/google/cloud/channel/v1/Value.java | 641 +- .../cloud/channel/v1/ValueOrBuilder.java | 56 +- .../channel/v1/channel_partner_links.proto | 25 +- .../google/cloud/channel/v1/common.proto | 2 +- .../google/cloud/channel/v1/customers.proto | 14 +- .../cloud/channel/v1/entitlements.proto | 68 +- .../google/cloud/channel/v1/offers.proto | 9 +- .../google/cloud/channel/v1/operations.proto | 5 +- .../google/cloud/channel/v1/products.proto | 2 +- .../cloud/channel/v1/reports_service.proto | 97 +- .../google/cloud/channel/v1/repricing.proto | 89 +- .../google/cloud/channel/v1/service.proto | 795 ++- .../cloud/channel/v1/subscriber_event.proto | 10 +- .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncFetchReportResults.java | 0 .../AsyncFetchReportResultsPaged.java | 0 .../SyncFetchReportResults.java | 0 .../SyncFetchReportResultsReportjobname.java | 0 .../SyncFetchReportResultsString.java | 0 .../listreports/AsyncListReports.java | 0 .../listreports/AsyncListReportsPaged.java | 0 .../listreports/SyncListReports.java | 0 .../listreports/SyncListReportsString.java | 0 .../runreportjob/AsyncRunReportJob.java | 0 .../runreportjob/AsyncRunReportJobLRO.java | 0 .../runreportjob/SyncRunReportJob.java | 0 .../runreportjob/SyncRunReportJob.java | 0 .../AsyncActivateEntitlement.java | 0 .../AsyncActivateEntitlementLRO.java | 0 .../SyncActivateEntitlement.java | 0 .../AsyncCancelEntitlement.java | 0 .../AsyncCancelEntitlementLRO.java | 0 .../SyncCancelEntitlement.java | 0 .../changeoffer/AsyncChangeOffer.java | 0 .../changeoffer/AsyncChangeOfferLRO.java | 0 .../changeoffer/SyncChangeOffer.java | 0 .../AsyncChangeParameters.java | 0 .../AsyncChangeParametersLRO.java | 0 .../SyncChangeParameters.java | 0 .../AsyncChangeRenewalSettings.java | 0 .../AsyncChangeRenewalSettingsLRO.java | 0 .../SyncChangeRenewalSettings.java | 0 .../AsyncCheckCloudIdentityAccountsExist.java | 0 .../SyncCheckCloudIdentityAccountsExist.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateChannelPartnerLink.java | 0 .../SyncCreateChannelPartnerLink.java | 0 ...ncCreateChannelPartnerRepricingConfig.java | 0 ...ncCreateChannelPartnerRepricingConfig.java | 0 ...linknameChannelpartnerrepricingconfig.java | 0 ...igStringChannelpartnerrepricingconfig.java | 0 .../createcustomer/AsyncCreateCustomer.java | 0 .../createcustomer/SyncCreateCustomer.java | 0 .../AsyncCreateCustomerRepricingConfig.java | 0 .../SyncCreateCustomerRepricingConfig.java | 0 ...igCustomernameCustomerrepricingconfig.java | 0 ...ngConfigStringCustomerrepricingconfig.java | 0 .../AsyncCreateEntitlement.java | 0 .../AsyncCreateEntitlementLRO.java | 0 .../SyncCreateEntitlement.java | 0 ...ncDeleteChannelPartnerRepricingConfig.java | 0 ...ncDeleteChannelPartnerRepricingConfig.java | 0 ...nfigChannelpartnerrepricingconfigname.java | 0 ...teChannelPartnerRepricingConfigString.java | 0 .../deletecustomer/AsyncDeleteCustomer.java | 0 .../deletecustomer/SyncDeleteCustomer.java | 0 .../SyncDeleteCustomerCustomername.java | 0 .../SyncDeleteCustomerString.java | 0 .../AsyncDeleteCustomerRepricingConfig.java | 0 .../SyncDeleteCustomerRepricingConfig.java | 0 ...cingConfigCustomerrepricingconfigname.java | 0 ...ncDeleteCustomerRepricingConfigString.java | 0 .../AsyncGetChannelPartnerLink.java | 0 .../SyncGetChannelPartnerLink.java | 0 ...AsyncGetChannelPartnerRepricingConfig.java | 0 .../SyncGetChannelPartnerRepricingConfig.java | 0 ...nfigChannelpartnerrepricingconfigname.java | 0 ...etChannelPartnerRepricingConfigString.java | 0 .../getcustomer/AsyncGetCustomer.java | 0 .../getcustomer/SyncGetCustomer.java | 0 .../SyncGetCustomerCustomername.java | 0 .../getcustomer/SyncGetCustomerString.java | 0 .../AsyncGetCustomerRepricingConfig.java | 0 .../SyncGetCustomerRepricingConfig.java | 0 ...cingConfigCustomerrepricingconfigname.java | 0 .../SyncGetCustomerRepricingConfigString.java | 0 .../getentitlement/AsyncGetEntitlement.java | 0 .../getentitlement/SyncGetEntitlement.java | 0 .../importcustomer/AsyncImportCustomer.java | 0 .../importcustomer/SyncImportCustomer.java | 0 .../AsyncListChannelPartnerLinks.java | 0 .../AsyncListChannelPartnerLinksPaged.java | 0 .../SyncListChannelPartnerLinks.java | 0 ...yncListChannelPartnerRepricingConfigs.java | 0 ...stChannelPartnerRepricingConfigsPaged.java | 0 ...yncListChannelPartnerRepricingConfigs.java | 0 ...epricingConfigsChannelpartnerlinkname.java | 0 ...tChannelPartnerRepricingConfigsString.java | 0 .../AsyncListCustomerRepricingConfigs.java | 0 ...syncListCustomerRepricingConfigsPaged.java | 0 .../SyncListCustomerRepricingConfigs.java | 0 ...tCustomerRepricingConfigsCustomername.java | 0 ...yncListCustomerRepricingConfigsString.java | 0 .../listcustomers/AsyncListCustomers.java | 0 .../AsyncListCustomersPaged.java | 0 .../listcustomers/SyncListCustomers.java | 0 .../AsyncListEntitlements.java | 0 .../AsyncListEntitlementsPaged.java | 0 .../SyncListEntitlements.java | 0 .../listoffers/AsyncListOffers.java | 0 .../listoffers/AsyncListOffersPaged.java | 0 .../listoffers/SyncListOffers.java | 0 .../listproducts/AsyncListProducts.java | 0 .../listproducts/AsyncListProductsPaged.java | 0 .../listproducts/SyncListProducts.java | 0 .../AsyncListPurchasableOffers.java | 0 .../AsyncListPurchasableOffersPaged.java | 0 .../SyncListPurchasableOffers.java | 0 .../AsyncListPurchasableSkus.java | 0 .../AsyncListPurchasableSkusPaged.java | 0 .../SyncListPurchasableSkus.java | 0 .../listskus/AsyncListSkus.java | 0 .../listskus/AsyncListSkusPaged.java | 0 .../listskus/SyncListSkus.java | 0 .../listsubscribers/AsyncListSubscribers.java | 0 .../AsyncListSubscribersPaged.java | 0 .../listsubscribers/SyncListSubscribers.java | 0 .../AsyncListTransferableOffers.java | 0 .../AsyncListTransferableOffersPaged.java | 0 .../SyncListTransferableOffers.java | 0 .../AsyncListTransferableSkus.java | 0 .../AsyncListTransferableSkusPaged.java | 0 .../SyncListTransferableSkus.java | 0 .../lookupoffer/AsyncLookupOffer.java | 0 .../lookupoffer/SyncLookupOffer.java | 0 .../AsyncProvisionCloudIdentity.java | 0 .../AsyncProvisionCloudIdentityLRO.java | 0 .../SyncProvisionCloudIdentity.java | 0 .../AsyncRegisterSubscriber.java | 0 .../SyncRegisterSubscriber.java | 0 .../AsyncStartPaidService.java | 0 .../AsyncStartPaidServiceLRO.java | 0 .../SyncStartPaidService.java | 0 .../AsyncSuspendEntitlement.java | 0 .../AsyncSuspendEntitlementLRO.java | 0 .../SyncSuspendEntitlement.java | 0 .../AsyncTransferEntitlements.java | 0 .../AsyncTransferEntitlementsLRO.java | 0 .../SyncTransferEntitlements.java | 0 .../AsyncTransferEntitlementsToGoogle.java | 0 .../AsyncTransferEntitlementsToGoogleLRO.java | 0 .../SyncTransferEntitlementsToGoogle.java | 0 .../AsyncUnregisterSubscriber.java | 0 .../SyncUnregisterSubscriber.java | 0 .../AsyncUpdateChannelPartnerLink.java | 0 .../SyncUpdateChannelPartnerLink.java | 0 ...ncUpdateChannelPartnerRepricingConfig.java | 0 ...ncUpdateChannelPartnerRepricingConfig.java | 0 ...ngConfigChannelpartnerrepricingconfig.java | 0 .../updatecustomer/AsyncUpdateCustomer.java | 0 .../updatecustomer/SyncUpdateCustomer.java | 0 .../AsyncUpdateCustomerRepricingConfig.java | 0 .../SyncUpdateCustomerRepricingConfig.java | 0 ...epricingConfigCustomerrepricingconfig.java | 0 .../getcustomer/SyncGetCustomer.java | 0 .../runreportjob/SyncRunReportJob.java | 0 .../getcustomer/SyncGetCustomer.java | 0 499 files changed, 39912 insertions(+), 57319 deletions(-) delete mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinksProto.java delete mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponseOrBuilder.java delete mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommonProto.java delete mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequestOrBuilder.java delete mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequestOrBuilder.java delete mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomersProto.java delete mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequestOrBuilder.java delete mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequestOrBuilder.java delete mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequestOrBuilder.java delete mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java delete mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsRequestOrBuilder.java delete mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequestOrBuilder.java delete mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequestOrBuilder.java delete mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequestOrBuilder.java delete mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequestOrBuilder.java delete mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponseOrBuilder.java delete mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequestOrBuilder.java delete mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java delete mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationsProto.java delete mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductsProto.java delete mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponseOrBuilder.java delete mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportsServiceProto.java delete mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfigOrBuilder.java delete mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java delete mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java delete mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventProto.java delete mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponseOrBuilder.java delete mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequestOrBuilder.java delete mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequestOrBuilder.java rename {java-channel => owl-bot-staging/java-channel/v1}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceClient.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceSettings.java (99%) rename {java-channel => owl-bot-staging/java-channel/v1}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java (99%) rename {java-channel => owl-bot-staging/java-channel/v1}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceSettings.java (99%) rename {java-channel => owl-bot-staging/java-channel/v1}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/gapic_metadata.json (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/package-info.java (97%) rename {java-channel => owl-bot-staging/java-channel/v1}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelReportsServiceStub.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelReportsServiceStubSettings.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStub.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStubSettings.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelReportsServiceCallableFactory.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelReportsServiceStub.java (99%) rename {java-channel => owl-bot-staging/java-channel/v1}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceCallableFactory.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceStub.java (99%) rename {java-channel => owl-bot-staging/java-channel/v1}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelReportsServiceCallableFactory.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelReportsServiceStub.java (99%) rename {java-channel => owl-bot-staging/java-channel/v1}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceCallableFactory.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceStub.java (99%) rename {java-channel => owl-bot-staging/java-channel/v1}/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelReportsServiceClientHttpJsonTest.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelReportsServiceClientTest.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientHttpJsonTest.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientTest.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelReportsService.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelReportsServiceImpl.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelService.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelServiceImpl.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceGrpc.java (55%) rename {java-channel => owl-bot-staging/java-channel/v1}/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceGrpc.java (54%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequest.java (69%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequestOrBuilder.java (69%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUser.java (67%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUserOrBuilder.java (58%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfo.java (66%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfoOrBuilder.java (52%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequest.java (69%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequestOrBuilder.java (69%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequest.java (63%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequestOrBuilder.java (56%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequest.java (68%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequestOrBuilder.java (64%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequest.java (67%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequestOrBuilder.java (65%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLink.java (65%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkName.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkOrBuilder.java (66%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkState.java (71%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkView.java (68%) create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinksProto.java rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfig.java (61%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigName.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigOrBuilder.java (56%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequest.java (63%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequestOrBuilder.java (64%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponse.java (60%) create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponseOrBuilder.java rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccount.java (70%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccountOrBuilder.java (67%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfo.java (72%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfoOrBuilder.java (77%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Column.java (71%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ColumnOrBuilder.java (71%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettings.java (65%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettingsOrBuilder.java (60%) create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommonProto.java create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConditionalOverride.java create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConditionalOverrideOrBuilder.java rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Constraints.java (67%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConstraintsOrBuilder.java (63%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfo.java (72%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfoOrBuilder.java (73%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest.java (64%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequestOrBuilder.java (60%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequest.java (56%) create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequestOrBuilder.java rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequest.java (56%) create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequestOrBuilder.java rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequest.java (62%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequestOrBuilder.java (56%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequest.java (62%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequestOrBuilder.java (55%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Customer.java (71%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraints.java (69%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraintsOrBuilder.java (65%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEvent.java (69%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEventOrBuilder.java (63%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerName.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerOrBuilder.java (77%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfig.java (61%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigName.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigOrBuilder.java (56%) create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomersProto.java rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DateRange.java (77%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DateRangeOrBuilder.java (87%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequest.java (56%) create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequestOrBuilder.java rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequest.java (58%) create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequestOrBuilder.java rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequest.java (60%) create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequestOrBuilder.java rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduData.java (69%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduDataOrBuilder.java (68%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Entitlement.java (69%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEvent.java (71%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEventOrBuilder.java (65%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementName.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementOrBuilder.java (70%) create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsRequest.java (61%) create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsRequestOrBuilder.java rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsResponse.java (70%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsResponseOrBuilder.java (67%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequest.java (64%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequestOrBuilder.java (58%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequest.java (57%) create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequestOrBuilder.java rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequest.java (60%) create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequestOrBuilder.java rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequest.java (62%) create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequestOrBuilder.java rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequest.java (61%) create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequestOrBuilder.java rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequest.java (70%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequestOrBuilder.java (71%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequest.java (64%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequestOrBuilder.java (55%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponse.java (70%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponseOrBuilder.java (63%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequest.java (60%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequestOrBuilder.java (52%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponse.java (59%) create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponseOrBuilder.java rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequest.java (68%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequestOrBuilder.java (69%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponse.java (61%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponseOrBuilder.java (58%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequest.java (69%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequestOrBuilder.java (67%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponse.java (69%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponseOrBuilder.java (61%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequest.java (64%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequestOrBuilder.java (55%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponse.java (69%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponseOrBuilder.java (60%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequest.java (71%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequestOrBuilder.java (70%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponse.java (70%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponseOrBuilder.java (64%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequest.java (70%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequestOrBuilder.java (67%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponse.java (71%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponseOrBuilder.java (63%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequest.java (61%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequestOrBuilder.java (56%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponse.java (72%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponseOrBuilder.java (65%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequest.java (60%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequestOrBuilder.java (56%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponse.java (71%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponseOrBuilder.java (65%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsRequest.java (68%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsRequestOrBuilder.java (64%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsResponse.java (68%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsResponseOrBuilder.java (55%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequest.java (69%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequestOrBuilder.java (66%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponse.java (70%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponseOrBuilder.java (61%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequest.java (68%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequestOrBuilder.java (63%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponse.java (70%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponseOrBuilder.java (69%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequest.java (70%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequestOrBuilder.java (73%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponse.java (70%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponseOrBuilder.java (64%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequest.java (72%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequestOrBuilder.java (76%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponse.java (71%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponseOrBuilder.java (61%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequest.java (63%) create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequestOrBuilder.java rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfo.java (68%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfoOrBuilder.java (65%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Media.java (67%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaOrBuilder.java (60%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaType.java (64%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Offer.java (76%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferName.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferOrBuilder.java (83%) create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadata.java (68%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadataOrBuilder.java (56%) create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationsProto.java rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Parameter.java (67%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinition.java (76%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinitionOrBuilder.java (84%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterOrBuilder.java (60%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentPlan.java (68%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentType.java (67%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustment.java (69%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustmentOrBuilder.java (64%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Period.java (66%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodOrBuilder.java (56%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodType.java (66%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Plan.java (73%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PlanOrBuilder.java (83%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Price.java (71%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResource.java (72%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResourceOrBuilder.java (74%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceOrBuilder.java (72%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhase.java (74%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhaseOrBuilder.java (75%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTier.java (69%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTierOrBuilder.java (63%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Product.java (68%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductName.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductOrBuilder.java (64%) create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductsProto.java rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PromotionalOrderType.java (70%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequest.java (68%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequestOrBuilder.java (67%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedService.java (67%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedServiceOrBuilder.java (60%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOffer.java (66%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOfferOrBuilder.java (54%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSku.java (65%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSkuOrBuilder.java (53%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RebillingBasis.java (69%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequest.java (67%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequestOrBuilder.java (58%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponse.java (64%) create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponseOrBuilder.java rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettings.java (70%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettingsOrBuilder.java (73%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Report.java (72%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJob.java (68%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJobName.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJobOrBuilder.java (67%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportName.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportOrBuilder.java (69%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportResultsMetadata.java (72%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportResultsMetadataOrBuilder.java (80%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportStatus.java (72%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportStatusOrBuilder.java (73%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportValue.java (73%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportValueOrBuilder.java (82%) create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportsServiceProto.java rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustment.java (67%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustmentOrBuilder.java (64%) create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingCondition.java create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConditionOrBuilder.java rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfig.java (53%) create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfigOrBuilder.java create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ResourceType.java (73%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Row.java (70%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RowOrBuilder.java (61%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobRequest.java (66%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobRequestOrBuilder.java (63%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobResponse.java (66%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobResponseOrBuilder.java (65%) create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Sku.java (70%) create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuGroupCondition.java create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuGroupConditionOrBuilder.java rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuOrBuilder.java (72%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequest.java (69%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequestOrBuilder.java (69%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEvent.java (71%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventOrBuilder.java (73%) create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventProto.java rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequest.java (69%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequestOrBuilder.java (69%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibility.java (68%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibilityOrBuilder.java (65%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequest.java (67%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequestOrBuilder.java (62%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponse.java (70%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponseOrBuilder.java (61%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequest.java (63%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequestOrBuilder.java (57%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOffer.java (67%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOfferOrBuilder.java (59%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSku.java (69%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSkuOrBuilder.java (72%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettings.java (70%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettingsOrBuilder.java (68%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequest.java (67%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequestOrBuilder.java (58%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponse.java (65%) create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponseOrBuilder.java rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequest.java (63%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequestOrBuilder.java (58%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequest.java (56%) create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequestOrBuilder.java rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequest.java (56%) create mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequestOrBuilder.java rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequest.java (64%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequestOrBuilder.java (65%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Value.java (69%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ValueOrBuilder.java (74%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/channel_partner_links.proto (81%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/common.proto (99%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/customers.proto (91%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/entitlements.proto (83%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/offers.proto (98%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/operations.proto (95%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/products.proto (99%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/reports_service.proto (82%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/repricing.proto (67%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/service.proto (78%) rename {java-channel => owl-bot-staging/java-channel/v1}/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/subscriber_event.proto (94%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/create/SyncCreateSetEndpoint.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/AsyncFetchReportResults.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/AsyncFetchReportResultsPaged.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/SyncFetchReportResults.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/SyncFetchReportResultsReportjobname.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/SyncFetchReportResultsString.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/AsyncListReports.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/AsyncListReportsPaged.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/SyncListReports.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/SyncListReportsString.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/runreportjob/AsyncRunReportJob.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/runreportjob/AsyncRunReportJobLRO.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/runreportjob/SyncRunReportJob.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservicesettings/runreportjob/SyncRunReportJob.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/activateentitlement/AsyncActivateEntitlement.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/activateentitlement/AsyncActivateEntitlementLRO.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/activateentitlement/SyncActivateEntitlement.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/cancelentitlement/AsyncCancelEntitlement.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/cancelentitlement/AsyncCancelEntitlementLRO.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/cancelentitlement/SyncCancelEntitlement.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeoffer/AsyncChangeOffer.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeoffer/AsyncChangeOfferLRO.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeoffer/SyncChangeOffer.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeparameters/AsyncChangeParameters.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeparameters/AsyncChangeParametersLRO.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeparameters/SyncChangeParameters.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changerenewalsettings/AsyncChangeRenewalSettings.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changerenewalsettings/AsyncChangeRenewalSettingsLRO.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changerenewalsettings/SyncChangeRenewalSettings.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/checkcloudidentityaccountsexist/AsyncCheckCloudIdentityAccountsExist.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/checkcloudidentityaccountsexist/SyncCheckCloudIdentityAccountsExist.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/create/SyncCreateSetEndpoint.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerlink/AsyncCreateChannelPartnerLink.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerlink/SyncCreateChannelPartnerLink.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/AsyncCreateChannelPartnerRepricingConfig.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfig.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigChannelpartnerlinknameChannelpartnerrepricingconfig.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigStringChannelpartnerrepricingconfig.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomer/AsyncCreateCustomer.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomer/SyncCreateCustomer.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/AsyncCreateCustomerRepricingConfig.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfig.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigCustomernameCustomerrepricingconfig.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigStringCustomerrepricingconfig.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createentitlement/AsyncCreateEntitlement.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createentitlement/AsyncCreateEntitlementLRO.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createentitlement/SyncCreateEntitlement.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/AsyncDeleteChannelPartnerRepricingConfig.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfig.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigString.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/AsyncDeleteCustomer.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/SyncDeleteCustomer.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/SyncDeleteCustomerCustomername.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/SyncDeleteCustomerString.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/AsyncDeleteCustomerRepricingConfig.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfig.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigCustomerrepricingconfigname.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigString.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerlink/AsyncGetChannelPartnerLink.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerlink/SyncGetChannelPartnerLink.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/AsyncGetChannelPartnerRepricingConfig.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfig.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigString.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/AsyncGetCustomer.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/SyncGetCustomer.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/SyncGetCustomerCustomername.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/SyncGetCustomerString.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/AsyncGetCustomerRepricingConfig.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/SyncGetCustomerRepricingConfig.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigCustomerrepricingconfigname.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigString.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getentitlement/AsyncGetEntitlement.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getentitlement/SyncGetEntitlement.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/importcustomer/AsyncImportCustomer.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/importcustomer/SyncImportCustomer.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerlinks/AsyncListChannelPartnerLinks.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerlinks/AsyncListChannelPartnerLinksPaged.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerlinks/SyncListChannelPartnerLinks.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigs.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigsPaged.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigs.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsChannelpartnerlinkname.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsString.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigs.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigsPaged.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigs.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsCustomername.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsString.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomers/AsyncListCustomers.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomers/AsyncListCustomersPaged.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomers/SyncListCustomers.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listentitlements/AsyncListEntitlements.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listentitlements/AsyncListEntitlementsPaged.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listentitlements/SyncListEntitlements.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listoffers/AsyncListOffers.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listoffers/AsyncListOffersPaged.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listoffers/SyncListOffers.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listproducts/AsyncListProducts.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listproducts/AsyncListProductsPaged.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listproducts/SyncListProducts.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableoffers/AsyncListPurchasableOffers.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableoffers/AsyncListPurchasableOffersPaged.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableoffers/SyncListPurchasableOffers.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableskus/AsyncListPurchasableSkus.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableskus/AsyncListPurchasableSkusPaged.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableskus/SyncListPurchasableSkus.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listskus/AsyncListSkus.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listskus/AsyncListSkusPaged.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listskus/SyncListSkus.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listsubscribers/AsyncListSubscribers.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listsubscribers/AsyncListSubscribersPaged.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listsubscribers/SyncListSubscribers.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableoffers/AsyncListTransferableOffers.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableoffers/AsyncListTransferableOffersPaged.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableoffers/SyncListTransferableOffers.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableskus/AsyncListTransferableSkus.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableskus/AsyncListTransferableSkusPaged.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableskus/SyncListTransferableSkus.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/lookupoffer/AsyncLookupOffer.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/lookupoffer/SyncLookupOffer.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/provisioncloudidentity/AsyncProvisionCloudIdentity.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/provisioncloudidentity/AsyncProvisionCloudIdentityLRO.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/provisioncloudidentity/SyncProvisionCloudIdentity.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/registersubscriber/AsyncRegisterSubscriber.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/registersubscriber/SyncRegisterSubscriber.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/startpaidservice/AsyncStartPaidService.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/startpaidservice/AsyncStartPaidServiceLRO.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/startpaidservice/SyncStartPaidService.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/suspendentitlement/AsyncSuspendEntitlement.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/suspendentitlement/AsyncSuspendEntitlementLRO.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/suspendentitlement/SyncSuspendEntitlement.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlements/AsyncTransferEntitlements.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlements/AsyncTransferEntitlementsLRO.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlements/SyncTransferEntitlements.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogle.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogleLRO.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlementstogoogle/SyncTransferEntitlementsToGoogle.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/unregistersubscriber/AsyncUnregisterSubscriber.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/unregistersubscriber/SyncUnregisterSubscriber.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerlink/AsyncUpdateChannelPartnerLink.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerlink/SyncUpdateChannelPartnerLink.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerrepricingconfig/AsyncUpdateChannelPartnerRepricingConfig.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfig.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfigChannelpartnerrepricingconfig.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomer/AsyncUpdateCustomer.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomer/SyncUpdateCustomer.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomerrepricingconfig/AsyncUpdateCustomerRepricingConfig.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfig.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfigCustomerrepricingconfig.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservicesettings/getcustomer/SyncGetCustomer.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/stub/cloudchannelreportsservicestubsettings/runreportjob/SyncRunReportJob.java (100%) rename {java-channel => owl-bot-staging/java-channel/v1}/samples/snippets/generated/com/google/cloud/channel/v1/stub/cloudchannelservicestubsettings/getcustomer/SyncGetCustomer.java (100%) diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinksProto.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinksProto.java deleted file mode 100644 index f4d089cf878d..000000000000 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinksProto.java +++ /dev/null @@ -1,108 +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/cloud/channel/v1/channel_partner_links.proto - -package com.google.cloud.channel.v1; - -public final class ChannelPartnerLinksProto { - private ChannelPartnerLinksProto() {} - - 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_cloud_channel_v1_ChannelPartnerLink_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ChannelPartnerLink_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n3google/cloud/channel/v1/channel_partne" - + "r_links.proto\022\027google.cloud.channel.v1\032\037" - + "google/api/field_behavior.proto\032\031google/" - + "api/resource.proto\032$google/cloud/channel" - + "/v1/common.proto\032\037google/protobuf/timest" - + "amp.proto\"\217\004\n\022ChannelPartnerLink\022\021\n\004name" - + "\030\001 \001(\tB\003\340A\003\022\'\n\032reseller_cloud_identity_i" - + "d\030\002 \001(\tB\003\340A\002\022I\n\nlink_state\030\003 \001(\01620.googl" - + "e.cloud.channel.v1.ChannelPartnerLinkSta" - + "teB\003\340A\002\022\034\n\017invite_link_uri\030\004 \001(\tB\003\340A\003\0224\n" - + "\013create_time\030\005 \001(\0132\032.google.protobuf.Tim" - + "estampB\003\340A\003\0224\n\013update_time\030\006 \001(\0132\032.googl" - + "e.protobuf.TimestampB\003\340A\003\022\026\n\tpublic_id\030\007" - + " \001(\tB\003\340A\003\022\\\n#channel_partner_cloud_ident" - + "ity_info\030\010 \001(\0132*.google.cloud.channel.v1" - + ".CloudIdentityInfoB\003\340A\003:r\352Ao\n.cloudchann" - + "el.googleapis.com/ChannelPartnerLink\022=ac" - + "counts/{account}/channelPartnerLinks/{ch" - + "annel_partner_link}*>\n\026ChannelPartnerLin" - + "kView\022\017\n\013UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FUL" - + "L\020\002*z\n\027ChannelPartnerLinkState\022*\n&CHANNE" - + "L_PARTNER_LINK_STATE_UNSPECIFIED\020\000\022\013\n\007IN" - + "VITED\020\001\022\n\n\006ACTIVE\020\002\022\013\n\007REVOKED\020\003\022\r\n\tSUSP" - + "ENDED\020\004By\n\033com.google.cloud.channel.v1B\030" - + "ChannelPartnerLinksProtoP\001Z>google.golan" - + "g.org/genproto/googleapis/cloud/channel/" - + "v1;channelb\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.cloud.channel.v1.CommonProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_channel_v1_ChannelPartnerLink_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_channel_v1_ChannelPartnerLink_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ChannelPartnerLink_descriptor, - new java.lang.String[] { - "Name", - "ResellerCloudIdentityId", - "LinkState", - "InviteLinkUri", - "CreateTime", - "UpdateTime", - "PublicId", - "ChannelPartnerCloudIdentityInfo", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.channel.v1.CommonProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponseOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponseOrBuilder.java deleted file mode 100644 index 61c6a80ecd6e..000000000000 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponseOrBuilder.java +++ /dev/null @@ -1,89 +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/cloud/channel/v1/service.proto - -package com.google.cloud.channel.v1; - -public interface CheckCloudIdentityAccountsExistResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The Cloud Identity accounts associated with the domain.
-   * 
- * - * - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - * - */ - java.util.List - getCloudIdentityAccountsList(); - /** - * - * - *
-   * The Cloud Identity accounts associated with the domain.
-   * 
- * - * - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - * - */ - com.google.cloud.channel.v1.CloudIdentityCustomerAccount getCloudIdentityAccounts(int index); - /** - * - * - *
-   * The Cloud Identity accounts associated with the domain.
-   * 
- * - * - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - * - */ - int getCloudIdentityAccountsCount(); - /** - * - * - *
-   * The Cloud Identity accounts associated with the domain.
-   * 
- * - * - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - * - */ - java.util.List - getCloudIdentityAccountsOrBuilderList(); - /** - * - * - *
-   * The Cloud Identity accounts associated with the domain.
-   * 
- * - * - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - * - */ - com.google.cloud.channel.v1.CloudIdentityCustomerAccountOrBuilder - getCloudIdentityAccountsOrBuilder(int index); -} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommonProto.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommonProto.java deleted file mode 100644 index 587af974ce50..000000000000 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommonProto.java +++ /dev/null @@ -1,145 +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/cloud/channel/v1/common.proto - -package com.google.cloud.channel.v1; - -public final class CommonProto { - private CommonProto() {} - - 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_cloud_channel_v1_EduData_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_EduData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_CloudIdentityInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_CloudIdentityInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_Value_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_Value_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_AdminUser_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_AdminUser_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/cloud/channel/v1/common.proto\022\027" - + "google.cloud.channel.v1\032\037google/api/fiel" - + "d_behavior.proto\032\031google/protobuf/any.pr" - + "oto\"\260\003\n\007EduData\022F\n\016institute_type\030\001 \001(\0162" - + "..google.cloud.channel.v1.EduData.Instit" - + "uteType\022F\n\016institute_size\030\002 \001(\0162..google" - + ".cloud.channel.v1.EduData.InstituteSize\022" - + "\017\n\007website\030\003 \001(\t\"H\n\rInstituteType\022\036\n\032INS" - + "TITUTE_TYPE_UNSPECIFIED\020\000\022\007\n\003K12\020\001\022\016\n\nUN" - + "IVERSITY\020\002\"\271\001\n\rInstituteSize\022\036\n\032INSTITUT" - + "E_SIZE_UNSPECIFIED\020\000\022\016\n\nSIZE_1_100\020\001\022\020\n\014" - + "SIZE_101_500\020\002\022\021\n\rSIZE_501_1000\020\003\022\022\n\016SIZ" - + "E_1001_2000\020\004\022\022\n\016SIZE_2001_5000\020\005\022\023\n\017SIZ" - + "E_5001_10000\020\006\022\026\n\022SIZE_10001_OR_MORE\020\007\"\200" - + "\003\n\021CloudIdentityInfo\022N\n\rcustomer_type\030\001 " - + "\001(\01627.google.cloud.channel.v1.CloudIdent" - + "ityInfo.CustomerType\022\033\n\016primary_domain\030\t" - + " \001(\tB\003\340A\003\022\037\n\022is_domain_verified\030\004 \001(\010B\003\340" - + "A\003\022\027\n\017alternate_email\030\006 \001(\t\022\024\n\014phone_num" - + "ber\030\007 \001(\t\022\025\n\rlanguage_code\030\010 \001(\t\022\036\n\021admi" - + "n_console_uri\030\n \001(\tB\003\340A\003\0222\n\010edu_data\030\026 \001" - + "(\0132 .google.cloud.channel.v1.EduData\"C\n\014" - + "CustomerType\022\035\n\031CUSTOMER_TYPE_UNSPECIFIE" - + "D\020\000\022\n\n\006DOMAIN\020\001\022\010\n\004TEAM\020\002\"\231\001\n\005Value\022\025\n\013i" - + "nt64_value\030\001 \001(\003H\000\022\026\n\014string_value\030\002 \001(\t" - + "H\000\022\026\n\014double_value\030\003 \001(\001H\000\022+\n\013proto_valu" - + "e\030\004 \001(\0132\024.google.protobuf.AnyH\000\022\024\n\nbool_" - + "value\030\005 \001(\010H\000B\006\n\004kind\"C\n\tAdminUser\022\r\n\005em" - + "ail\030\001 \001(\t\022\022\n\ngiven_name\030\002 \001(\t\022\023\n\013family_" - + "name\030\003 \001(\tBl\n\033com.google.cloud.channel.v" - + "1B\013CommonProtoP\001Z>google.golang.org/genp" - + "roto/googleapis/cloud/channel/v1;channel" - + "b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.protobuf.AnyProto.getDescriptor(), - }); - internal_static_google_cloud_channel_v1_EduData_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_channel_v1_EduData_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_EduData_descriptor, - new java.lang.String[] { - "InstituteType", "InstituteSize", "Website", - }); - internal_static_google_cloud_channel_v1_CloudIdentityInfo_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_channel_v1_CloudIdentityInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_CloudIdentityInfo_descriptor, - new java.lang.String[] { - "CustomerType", - "PrimaryDomain", - "IsDomainVerified", - "AlternateEmail", - "PhoneNumber", - "LanguageCode", - "AdminConsoleUri", - "EduData", - }); - internal_static_google_cloud_channel_v1_Value_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_channel_v1_Value_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_Value_descriptor, - new java.lang.String[] { - "Int64Value", "StringValue", "DoubleValue", "ProtoValue", "BoolValue", "Kind", - }); - internal_static_google_cloud_channel_v1_AdminUser_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_channel_v1_AdminUser_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_AdminUser_descriptor, - new java.lang.String[] { - "Email", "GivenName", "FamilyName", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.protobuf.AnyProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequestOrBuilder.java deleted file mode 100644 index f10883ed9e00..000000000000 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequestOrBuilder.java +++ /dev/null @@ -1,100 +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/cloud/channel/v1/service.proto - -package com.google.cloud.channel.v1; - -public interface CreateChannelPartnerRepricingConfigRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the ChannelPartner that will receive the repricing
-   * config. Parent uses the format:
-   * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}
-   * 
- * - * - * 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 ChannelPartner that will receive the repricing
-   * config. Parent uses the format:
-   * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Required. The ChannelPartnerRepricingConfig object to update.
-   * 
- * - * - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the channelPartnerRepricingConfig field is set. - */ - boolean hasChannelPartnerRepricingConfig(); - /** - * - * - *
-   * Required. The ChannelPartnerRepricingConfig object to update.
-   * 
- * - * - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The channelPartnerRepricingConfig. - */ - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getChannelPartnerRepricingConfig(); - /** - * - * - *
-   * Required. The ChannelPartnerRepricingConfig object to update.
-   * 
- * - * - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder - getChannelPartnerRepricingConfigOrBuilder(); -} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequestOrBuilder.java deleted file mode 100644 index 8e06948e7883..000000000000 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequestOrBuilder.java +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/channel/v1/service.proto - -package com.google.cloud.channel.v1; - -public interface CreateCustomerRepricingConfigRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CreateCustomerRepricingConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the customer that will receive this repricing config.
-   * Parent uses the format: accounts/{account_id}/customers/{customer_id}
-   * 
- * - * - * 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 customer that will receive this repricing config.
-   * Parent uses the format: accounts/{account_id}/customers/{customer_id}
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Required. The CustomerRepricingConfig object to update.
-   * 
- * - * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the customerRepricingConfig field is set. - */ - boolean hasCustomerRepricingConfig(); - /** - * - * - *
-   * Required. The CustomerRepricingConfig object to update.
-   * 
- * - * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The customerRepricingConfig. - */ - com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingConfig(); - /** - * - * - *
-   * Required. The CustomerRepricingConfig object to update.
-   * 
- * - * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder - getCustomerRepricingConfigOrBuilder(); -} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomersProto.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomersProto.java deleted file mode 100644 index 737c9507f391..000000000000 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomersProto.java +++ /dev/null @@ -1,126 +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/cloud/channel/v1/customers.proto - -package com.google.cloud.channel.v1; - -public final class CustomersProto { - private CustomersProto() {} - - 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_cloud_channel_v1_Customer_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_Customer_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ContactInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ContactInfo_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/cloud/channel/v1/customers.prot" - + "o\022\027google.cloud.channel.v1\032\037google/api/f" - + "ield_behavior.proto\032\031google/api/resource" - + ".proto\032$google/cloud/channel/v1/common.p" - + "roto\032\037google/protobuf/timestamp.proto\032 g" - + "oogle/type/postal_address.proto\"\321\004\n\010Cust" - + "omer\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\035\n\020org_display_n" - + "ame\030\002 \001(\tB\003\340A\002\022;\n\022org_postal_address\030\003 \001" - + "(\0132\032.google.type.PostalAddressB\003\340A\002\022B\n\024p" - + "rimary_contact_info\030\004 \001(\0132$.google.cloud" - + ".channel.v1.ContactInfo\022\027\n\017alternate_ema" - + "il\030\005 \001(\t\022\023\n\006domain\030\006 \001(\tB\003\340A\002\0224\n\013create_" - + "time\030\007 \001(\0132\032.google.protobuf.TimestampB\003" - + "\340A\003\0224\n\013update_time\030\010 \001(\0132\032.google.protob" - + "uf.TimestampB\003\340A\003\022\036\n\021cloud_identity_id\030\t" - + " \001(\tB\003\340A\003\022\032\n\rlanguage_code\030\n \001(\tB\003\340A\001\022L\n" - + "\023cloud_identity_info\030\014 \001(\0132*.google.clou" - + "d.channel.v1.CloudIdentityInfoB\003\340A\003\022\032\n\022c" - + "hannel_partner_id\030\r \001(\t:R\352AO\n$cloudchann" - + "el.googleapis.com/Customer\022\'accounts/{ac" - + "count}/customers/{customer}\"\201\001\n\013ContactI" - + "nfo\022\022\n\nfirst_name\030\001 \001(\t\022\021\n\tlast_name\030\002 \001" - + "(\t\022\031\n\014display_name\030\004 \001(\tB\003\340A\003\022\r\n\005email\030\005" - + " \001(\t\022\022\n\005title\030\006 \001(\tB\003\340A\001\022\r\n\005phone\030\007 \001(\tB" - + "o\n\033com.google.cloud.channel.v1B\016Customer" - + "sProtoP\001Z>google.golang.org/genproto/goo" - + "gleapis/cloud/channel/v1;channelb\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.cloud.channel.v1.CommonProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.type.PostalAddressProto.getDescriptor(), - }); - internal_static_google_cloud_channel_v1_Customer_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_channel_v1_Customer_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_Customer_descriptor, - new java.lang.String[] { - "Name", - "OrgDisplayName", - "OrgPostalAddress", - "PrimaryContactInfo", - "AlternateEmail", - "Domain", - "CreateTime", - "UpdateTime", - "CloudIdentityId", - "LanguageCode", - "CloudIdentityInfo", - "ChannelPartnerId", - }); - internal_static_google_cloud_channel_v1_ContactInfo_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_channel_v1_ContactInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ContactInfo_descriptor, - new java.lang.String[] { - "FirstName", "LastName", "DisplayName", "Email", "Title", "Phone", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.channel.v1.CommonProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.type.PostalAddressProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequestOrBuilder.java deleted file mode 100644 index ab2928b23a77..000000000000 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequestOrBuilder.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/cloud/channel/v1/service.proto - -package com.google.cloud.channel.v1; - -public interface DeleteChannelPartnerRepricingConfigRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the channel partner repricing config rule to delete.
-   * 
- * - * - * 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 channel partner repricing config rule to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequestOrBuilder.java deleted file mode 100644 index ed2b6d70252c..000000000000 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequestOrBuilder.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/cloud/channel/v1/service.proto - -package com.google.cloud.channel.v1; - -public interface DeleteCustomerRepricingConfigRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the customer repricing config rule to delete.
-   * Format:
-   * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
-   * 
- * - * - * 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 customer repricing config rule to delete.
-   * Format:
-   * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequestOrBuilder.java deleted file mode 100644 index 33c36302f7ce..000000000000 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequestOrBuilder.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/cloud/channel/v1/service.proto - -package com.google.cloud.channel.v1; - -public interface DeleteCustomerRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.DeleteCustomerRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the customer to delete.
-   * 
- * - * - * 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 customer to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java deleted file mode 100644 index a2ac7d427ef8..000000000000 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java +++ /dev/null @@ -1,254 +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/cloud/channel/v1/entitlements.proto - -package com.google.cloud.channel.v1; - -public final class EntitlementsProto { - private EntitlementsProto() {} - - 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_cloud_channel_v1_Entitlement_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_Entitlement_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_Parameter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_Parameter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_AssociationInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_AssociationInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ProvisionedService_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ProvisionedService_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_CommitmentSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_CommitmentSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_RenewalSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_RenewalSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_TrialSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_TrialSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_TransferableSku_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_TransferableSku_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_TransferEligibility_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_TransferEligibility_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/cloud/channel/v1/entitlements.p" - + "roto\022\027google.cloud.channel.v1\032\037google/ap" - + "i/field_behavior.proto\032\031google/api/resou" - + "rce.proto\032$google/cloud/channel/v1/commo" - + "n.proto\032$google/cloud/channel/v1/offers." - + "proto\032&google/cloud/channel/v1/products." - + "proto\032\037google/protobuf/timestamp.proto\"\335" - + "\010\n\013Entitlement\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013cre" - + "ate_time\030\005 \001(\0132\032.google.protobuf.Timesta" - + "mpB\003\340A\003\0224\n\013update_time\030\006 \001(\0132\032.google.pr" - + "otobuf.TimestampB\003\340A\003\0228\n\005offer\030\010 \001(\tB)\340A" - + "\002\372A#\n!cloudchannel.googleapis.com/Offer\022" - + "H\n\023commitment_settings\030\014 \001(\0132+.google.cl" - + "oud.channel.v1.CommitmentSettings\022W\n\022pro" - + "visioning_state\030\r \001(\01626.google.cloud.cha" - + "nnel.v1.Entitlement.ProvisioningStateB\003\340" - + "A\003\022M\n\023provisioned_service\030\020 \001(\0132+.google" - + ".cloud.channel.v1.ProvisionedServiceB\003\340A" - + "\003\022V\n\022suspension_reasons\030\022 \003(\01625.google.c" - + "loud.channel.v1.Entitlement.SuspensionRe" - + "asonB\003\340A\003\022\036\n\021purchase_order_id\030\023 \001(\tB\003\340A" - + "\001\022C\n\016trial_settings\030\025 \001(\0132&.google.cloud" - + ".channel.v1.TrialSettingsB\003\340A\003\022B\n\020associ" - + "ation_info\030\027 \001(\0132(.google.cloud.channel." - + "v1.AssociationInfo\0226\n\nparameters\030\032 \003(\0132\"" - + ".google.cloud.channel.v1.Parameter\"R\n\021Pr" - + "ovisioningState\022\"\n\036PROVISIONING_STATE_UN" - + "SPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\r\n\tSUSPENDED\020\005\"\243" - + "\001\n\020SuspensionReason\022!\n\035SUSPENSION_REASON" - + "_UNSPECIFIED\020\000\022\026\n\022RESELLER_INITIATED\020\001\022\017" - + "\n\013TRIAL_ENDED\020\002\022\034\n\030RENEWAL_WITH_TYPE_CAN" - + "CEL\020\003\022\032\n\026PENDING_TOS_ACCEPTANCE\020\004\022\t\n\005OTH" - + "ER\020d:p\352Am\n\'cloudchannel.googleapis.com/E" - + "ntitlement\022Baccounts/{account}/customers" - + "/{customer}/entitlements/{entitlement}\"_" - + "\n\tParameter\022\014\n\004name\030\001 \001(\t\022-\n\005value\030\002 \001(\013" - + "2\036.google.cloud.channel.v1.Value\022\025\n\010edit" - + "able\030\003 \001(\010B\003\340A\003\"Y\n\017AssociationInfo\022F\n\020ba" - + "se_entitlement\030\001 \001(\tB,\372A)\n\'cloudchannel." - + "googleapis.com/Entitlement\"`\n\022Provisione" - + "dService\022\034\n\017provisioning_id\030\001 \001(\tB\003\340A\003\022\027" - + "\n\nproduct_id\030\002 \001(\tB\003\340A\003\022\023\n\006sku_id\030\003 \001(\tB" - + "\003\340A\003\"\305\001\n\022CommitmentSettings\0223\n\nstart_tim" - + "e\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" - + "\0221\n\010end_time\030\002 \001(\0132\032.google.protobuf.Tim" - + "estampB\003\340A\003\022G\n\020renewal_settings\030\004 \001(\0132(." - + "google.cloud.channel.v1.RenewalSettingsB" - + "\003\340A\001\"\270\001\n\017RenewalSettings\022\026\n\016enable_renew" - + "al\030\001 \001(\010\022\031\n\021resize_unit_count\030\002 \001(\010\022:\n\014p" - + "ayment_plan\030\005 \001(\0162$.google.cloud.channel" - + ".v1.PaymentPlan\0226\n\rpayment_cycle\030\006 \001(\0132\037" - + ".google.cloud.channel.v1.Period\"L\n\rTrial" - + "Settings\022\r\n\005trial\030\001 \001(\010\022,\n\010end_time\030\002 \001(" - + "\0132\032.google.protobuf.Timestamp\"\277\001\n\017Transf" - + "erableSku\022J\n\024transfer_eligibility\030\t \001(\0132" - + ",.google.cloud.channel.v1.TransferEligib" - + "ility\022)\n\003sku\030\013 \001(\0132\034.google.cloud.channe" - + "l.v1.Sku\0225\n\nlegacy_sku\030\014 \001(\0132\034.google.cl" - + "oud.channel.v1.SkuB\003\340A\001\"\371\001\n\023TransferElig" - + "ibility\022\023\n\013is_eligible\030\001 \001(\010\022\023\n\013descript" - + "ion\030\002 \001(\t\022Q\n\024ineligibility_reason\030\003 \001(\0162" - + "3.google.cloud.channel.v1.TransferEligib" - + "ility.Reason\"e\n\006Reason\022\026\n\022REASON_UNSPECI" - + "FIED\020\000\022\032\n\026PENDING_TOS_ACCEPTANCE\020\001\022\024\n\020SK" - + "U_NOT_ELIGIBLE\020\002\022\021\n\rSKU_SUSPENDED\020\003Br\n\033c" - + "om.google.cloud.channel.v1B\021Entitlements" - + "ProtoP\001Z>google.golang.org/genproto/goog" - + "leapis/cloud/channel/v1;channelb\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.cloud.channel.v1.CommonProto.getDescriptor(), - com.google.cloud.channel.v1.OffersProto.getDescriptor(), - com.google.cloud.channel.v1.ProductsProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_channel_v1_Entitlement_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_channel_v1_Entitlement_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_Entitlement_descriptor, - new java.lang.String[] { - "Name", - "CreateTime", - "UpdateTime", - "Offer", - "CommitmentSettings", - "ProvisioningState", - "ProvisionedService", - "SuspensionReasons", - "PurchaseOrderId", - "TrialSettings", - "AssociationInfo", - "Parameters", - }); - internal_static_google_cloud_channel_v1_Parameter_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_channel_v1_Parameter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_Parameter_descriptor, - new java.lang.String[] { - "Name", "Value", "Editable", - }); - internal_static_google_cloud_channel_v1_AssociationInfo_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_channel_v1_AssociationInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_AssociationInfo_descriptor, - new java.lang.String[] { - "BaseEntitlement", - }); - internal_static_google_cloud_channel_v1_ProvisionedService_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_channel_v1_ProvisionedService_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ProvisionedService_descriptor, - new java.lang.String[] { - "ProvisioningId", "ProductId", "SkuId", - }); - internal_static_google_cloud_channel_v1_CommitmentSettings_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_channel_v1_CommitmentSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_CommitmentSettings_descriptor, - new java.lang.String[] { - "StartTime", "EndTime", "RenewalSettings", - }); - internal_static_google_cloud_channel_v1_RenewalSettings_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_channel_v1_RenewalSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_RenewalSettings_descriptor, - new java.lang.String[] { - "EnableRenewal", "ResizeUnitCount", "PaymentPlan", "PaymentCycle", - }); - internal_static_google_cloud_channel_v1_TrialSettings_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_channel_v1_TrialSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_TrialSettings_descriptor, - new java.lang.String[] { - "Trial", "EndTime", - }); - internal_static_google_cloud_channel_v1_TransferableSku_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_channel_v1_TransferableSku_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_TransferableSku_descriptor, - new java.lang.String[] { - "TransferEligibility", "Sku", "LegacySku", - }); - internal_static_google_cloud_channel_v1_TransferEligibility_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_channel_v1_TransferEligibility_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_TransferEligibility_descriptor, - new java.lang.String[] { - "IsEligible", "Description", "IneligibilityReason", - }); - 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.cloud.channel.v1.CommonProto.getDescriptor(); - com.google.cloud.channel.v1.OffersProto.getDescriptor(); - com.google.cloud.channel.v1.ProductsProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsRequestOrBuilder.java deleted file mode 100644 index ac4378746476..000000000000 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsRequestOrBuilder.java +++ /dev/null @@ -1,106 +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/cloud/channel/v1/reports_service.proto - -package com.google.cloud.channel.v1; - -public interface FetchReportResultsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.FetchReportResultsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The report job created by [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
-   * Report_job uses the format:
-   * accounts/{account_id}/reportJobs/{report_job_id}
-   * 
- * - * - * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The reportJob. - */ - java.lang.String getReportJob(); - /** - * - * - *
-   * Required. The report job created by [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
-   * Report_job uses the format:
-   * accounts/{account_id}/reportJobs/{report_job_id}
-   * 
- * - * - * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for reportJob. - */ - com.google.protobuf.ByteString getReportJobBytes(); - - /** - * - * - *
-   * Optional. Requested page size of the report. The server may return fewer results than
-   * requested. If you don't specify a page size, the server uses a sensible
-   * default (may change over time).
-   * The maximum value is 30,000; the server will change larger values to
-   * 30,000.
-   * 
- * - * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The pageSize. - */ - int getPageSize(); - - /** - * - * - *
-   * Optional. A token that specifies a page of results beyond the first page.
-   * Obtained through
-   * [FetchReportResultsResponse.next_page_token][google.cloud.channel.v1.FetchReportResultsResponse.next_page_token] of the previous
-   * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults] call.
-   * 
- * - * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The pageToken. - */ - java.lang.String getPageToken(); - /** - * - * - *
-   * Optional. A token that specifies a page of results beyond the first page.
-   * Obtained through
-   * [FetchReportResultsResponse.next_page_token][google.cloud.channel.v1.FetchReportResultsResponse.next_page_token] of the previous
-   * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults] call.
-   * 
- * - * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for pageToken. - */ - com.google.protobuf.ByteString getPageTokenBytes(); -} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequestOrBuilder.java deleted file mode 100644 index 4bf78069f707..000000000000 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequestOrBuilder.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/cloud/channel/v1/service.proto - -package com.google.cloud.channel.v1; - -public interface GetChannelPartnerRepricingConfigRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the ChannelPartnerRepricingConfig
-   * Format:
-   * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}.
-   * 
- * - * - * 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 ChannelPartnerRepricingConfig
-   * Format:
-   * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequestOrBuilder.java deleted file mode 100644 index 032f9aade9fe..000000000000 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequestOrBuilder.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/cloud/channel/v1/service.proto - -package com.google.cloud.channel.v1; - -public interface GetCustomerRepricingConfigRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.GetCustomerRepricingConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the CustomerRepricingConfig.
-   * Format:
-   * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
-   * 
- * - * - * 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 CustomerRepricingConfig.
-   * Format:
-   * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequestOrBuilder.java deleted file mode 100644 index b153896bc1e0..000000000000 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequestOrBuilder.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/cloud/channel/v1/service.proto - -package com.google.cloud.channel.v1; - -public interface GetCustomerRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.GetCustomerRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the customer to retrieve.
-   * Name uses the format: accounts/{account_id}/customers/{customer_id}
-   * 
- * - * - * 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 customer to retrieve.
-   * Name uses the format: accounts/{account_id}/customers/{customer_id}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequestOrBuilder.java deleted file mode 100644 index 92ac2af0519b..000000000000 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequestOrBuilder.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/cloud/channel/v1/service.proto - -package com.google.cloud.channel.v1; - -public interface GetEntitlementRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.GetEntitlementRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the entitlement to retrieve.
-   * Name uses the format:
-   * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
-   * 
- * - * - * 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 entitlement to retrieve.
-   * Name uses the format:
-   * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponseOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponseOrBuilder.java deleted file mode 100644 index 9e057194d192..000000000000 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponseOrBuilder.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/cloud/channel/v1/service.proto - -package com.google.cloud.channel.v1; - -public interface ListChannelPartnerRepricingConfigsResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The repricing configs for this channel partner.
-   * 
- * - * - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; - * - */ - java.util.List - getChannelPartnerRepricingConfigsList(); - /** - * - * - *
-   * The repricing configs for this channel partner.
-   * 
- * - * - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; - * - */ - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getChannelPartnerRepricingConfigs( - int index); - /** - * - * - *
-   * The repricing configs for this channel partner.
-   * 
- * - * - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; - * - */ - int getChannelPartnerRepricingConfigsCount(); - /** - * - * - *
-   * The repricing configs for this channel partner.
-   * 
- * - * - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; - * - */ - java.util.List - getChannelPartnerRepricingConfigsOrBuilderList(); - /** - * - * - *
-   * The repricing configs for this channel partner.
-   * 
- * - * - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; - * - */ - com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder - getChannelPartnerRepricingConfigsOrBuilder(int index); - - /** - * - * - *
-   * A token to retrieve the next page of results.
-   * Pass to [ListChannelPartnerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.page_token] to obtain
-   * that page.
-   * 
- * - * string next_page_token = 2; - * - * @return The nextPageToken. - */ - java.lang.String getNextPageToken(); - /** - * - * - *
-   * A token to retrieve the next page of results.
-   * Pass to [ListChannelPartnerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.page_token] to obtain
-   * that page.
-   * 
- * - * string next_page_token = 2; - * - * @return The bytes for nextPageToken. - */ - com.google.protobuf.ByteString getNextPageTokenBytes(); -} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequestOrBuilder.java deleted file mode 100644 index b39bed90f753..000000000000 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequestOrBuilder.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/cloud/channel/v1/service.proto - -package com.google.cloud.channel.v1; - -public interface LookupOfferRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.LookupOfferRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the entitlement to retrieve the Offer.
-   * Entitlement uses the format:
-   * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
-   * 
- * - * - * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The entitlement. - */ - java.lang.String getEntitlement(); - /** - * - * - *
-   * Required. The resource name of the entitlement to retrieve the Offer.
-   * Entitlement uses the format:
-   * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
-   * 
- * - * - * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for entitlement. - */ - com.google.protobuf.ByteString getEntitlementBytes(); -} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java deleted file mode 100644 index 89b96c57565c..000000000000 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java +++ /dev/null @@ -1,274 +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/cloud/channel/v1/offers.proto - -package com.google.cloud.channel.v1; - -public final class OffersProto { - private OffersProto() {} - - 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_cloud_channel_v1_Offer_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_Offer_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ParameterDefinition_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ParameterDefinition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_Constraints_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_Constraints_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_CustomerConstraints_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_CustomerConstraints_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_Plan_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_Plan_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_PriceByResource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_PriceByResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_Price_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_Price_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_PricePhase_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_PricePhase_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_PriceTier_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_PriceTier_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_Period_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_Period_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/cloud/channel/v1/offers.proto\022\027" - + "google.cloud.channel.v1\032\037google/api/fiel" - + "d_behavior.proto\032\031google/api/resource.pr" - + "oto\032$google/cloud/channel/v1/common.prot" - + "o\032&google/cloud/channel/v1/products.prot" - + "o\032\037google/protobuf/timestamp.proto\032\027goog" - + "le/type/money.proto\"\274\004\n\005Offer\022\014\n\004name\030\001 " - + "\001(\t\022>\n\016marketing_info\030\002 \001(\0132&.google.clo" - + "ud.channel.v1.MarketingInfo\022)\n\003sku\030\003 \001(\013" - + "2\034.google.cloud.channel.v1.Sku\022+\n\004plan\030\004" - + " \001(\0132\035.google.cloud.channel.v1.Plan\0229\n\013c" - + "onstraints\030\005 \001(\0132$.google.cloud.channel." - + "v1.Constraints\022D\n\022price_by_resources\030\006 \003" - + "(\0132(.google.cloud.channel.v1.PriceByReso" - + "urce\022.\n\nstart_time\030\007 \001(\0132\032.google.protob" - + "uf.Timestamp\0221\n\010end_time\030\010 \001(\0132\032.google." - + "protobuf.TimestampB\003\340A\003\022K\n\025parameter_def" - + "initions\030\t \003(\0132,.google.cloud.channel.v1" - + ".ParameterDefinition\022\021\n\tdeal_code\030\014 \001(\t:" - + "I\352AF\n!cloudchannel.googleapis.com/Offer\022" - + "!accounts/{account}/offers/{offer}\"\373\002\n\023P" - + "arameterDefinition\022\014\n\004name\030\001 \001(\t\022R\n\016para" - + "meter_type\030\002 \001(\0162:.google.cloud.channel." - + "v1.ParameterDefinition.ParameterType\0221\n\t" - + "min_value\030\003 \001(\0132\036.google.cloud.channel.v" - + "1.Value\0221\n\tmax_value\030\004 \001(\0132\036.google.clou" - + "d.channel.v1.Value\0226\n\016allowed_values\030\005 \003" - + "(\0132\036.google.cloud.channel.v1.Value\022\020\n\010op" - + "tional\030\006 \001(\010\"R\n\rParameterType\022\036\n\032PARAMET" - + "ER_TYPE_UNSPECIFIED\020\000\022\t\n\005INT64\020\001\022\n\n\006STRI" - + "NG\020\002\022\n\n\006DOUBLE\020\003\"Y\n\013Constraints\022J\n\024custo" - + "mer_constraints\030\001 \001(\0132,.google.cloud.cha" - + "nnel.v1.CustomerConstraints\"\327\001\n\023Customer" - + "Constraints\022\027\n\017allowed_regions\030\001 \003(\t\022W\n\026" - + "allowed_customer_types\030\002 \003(\01627.google.cl" - + "oud.channel.v1.CloudIdentityInfo.Custome" - + "rType\022N\n\027promotional_order_types\030\003 \003(\0162-" - + ".google.cloud.channel.v1.PromotionalOrde" - + "rType\"\206\002\n\004Plan\022:\n\014payment_plan\030\001 \001(\0162$.g" - + "oogle.cloud.channel.v1.PaymentPlan\022:\n\014pa" - + "yment_type\030\002 \001(\0162$.google.cloud.channel." - + "v1.PaymentType\0226\n\rpayment_cycle\030\003 \001(\0132\037." - + "google.cloud.channel.v1.Period\0225\n\014trial_" - + "period\030\004 \001(\0132\037.google.cloud.channel.v1.P" - + "eriod\022\027\n\017billing_account\030\005 \001(\t\"\271\001\n\017Price" - + "ByResource\022<\n\rresource_type\030\001 \001(\0162%.goog" - + "le.cloud.channel.v1.ResourceType\022-\n\005pric" - + "e\030\002 \001(\0132\036.google.cloud.channel.v1.Price\022" - + "9\n\014price_phases\030\003 \003(\0132#.google.cloud.cha" - + "nnel.v1.PricePhase\"\212\001\n\005Price\022&\n\nbase_pri" - + "ce\030\001 \001(\0132\022.google.type.Money\022\020\n\010discount" - + "\030\002 \001(\001\022+\n\017effective_price\030\003 \001(\0132\022.google" - + ".type.Money\022\032\n\022external_price_uri\030\004 \001(\t\"" - + "\331\001\n\nPricePhase\0228\n\013period_type\030\001 \001(\0162#.go" - + "ogle.cloud.channel.v1.PeriodType\022\024\n\014firs" - + "t_period\030\002 \001(\005\022\023\n\013last_period\030\003 \001(\005\022-\n\005p" - + "rice\030\004 \001(\0132\036.google.cloud.channel.v1.Pri" - + "ce\0227\n\013price_tiers\030\005 \003(\0132\".google.cloud.c" - + "hannel.v1.PriceTier\"i\n\tPriceTier\022\026\n\016firs" - + "t_resource\030\001 \001(\005\022\025\n\rlast_resource\030\002 \001(\005\022" - + "-\n\005price\030\003 \001(\0132\036.google.cloud.channel.v1" - + ".Price\"T\n\006Period\022\020\n\010duration\030\001 \001(\005\0228\n\013pe" - + "riod_type\030\002 \001(\0162#.google.cloud.channel.v" - + "1.PeriodType*m\n\024PromotionalOrderType\022 \n\034" - + "PROMOTIONAL_TYPE_UNSPECIFIED\020\000\022\017\n\013NEW_UP" - + "GRADE\020\001\022\014\n\010TRANSFER\020\002\022\024\n\020PROMOTION_SWITC" - + "H\020\003*k\n\013PaymentPlan\022\034\n\030PAYMENT_PLAN_UNSPE" - + "CIFIED\020\000\022\016\n\nCOMMITMENT\020\001\022\014\n\010FLEXIBLE\020\002\022\010" - + "\n\004FREE\020\003\022\t\n\005TRIAL\020\004\022\013\n\007OFFLINE\020\005*D\n\013Paym" - + "entType\022\034\n\030PAYMENT_TYPE_UNSPECIFIED\020\000\022\n\n" - + "\006PREPAY\020\001\022\013\n\007POSTPAY\020\002*\212\001\n\014ResourceType\022" - + "\035\n\031RESOURCE_TYPE_UNSPECIFIED\020\000\022\010\n\004SEAT\020\001" - + "\022\007\n\003MAU\020\002\022\006\n\002GB\020\003\022\021\n\rLICENSED_USER\020\004\022\013\n\007" - + "MINUTES\020\005\022\016\n\nIAAS_USAGE\020\006\022\020\n\014SUBSCRIPTIO" - + "N\020\007*G\n\nPeriodType\022\033\n\027PERIOD_TYPE_UNSPECI" - + "FIED\020\000\022\007\n\003DAY\020\001\022\t\n\005MONTH\020\002\022\010\n\004YEAR\020\003Bl\n\033" - + "com.google.cloud.channel.v1B\013OffersProto" - + "P\001Z>google.golang.org/genproto/googleapi" - + "s/cloud/channel/v1;channelb\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.cloud.channel.v1.CommonProto.getDescriptor(), - com.google.cloud.channel.v1.ProductsProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.type.MoneyProto.getDescriptor(), - }); - internal_static_google_cloud_channel_v1_Offer_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_channel_v1_Offer_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_Offer_descriptor, - new java.lang.String[] { - "Name", - "MarketingInfo", - "Sku", - "Plan", - "Constraints", - "PriceByResources", - "StartTime", - "EndTime", - "ParameterDefinitions", - "DealCode", - }); - internal_static_google_cloud_channel_v1_ParameterDefinition_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_channel_v1_ParameterDefinition_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ParameterDefinition_descriptor, - new java.lang.String[] { - "Name", "ParameterType", "MinValue", "MaxValue", "AllowedValues", "Optional", - }); - internal_static_google_cloud_channel_v1_Constraints_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_channel_v1_Constraints_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_Constraints_descriptor, - new java.lang.String[] { - "CustomerConstraints", - }); - internal_static_google_cloud_channel_v1_CustomerConstraints_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_channel_v1_CustomerConstraints_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_CustomerConstraints_descriptor, - new java.lang.String[] { - "AllowedRegions", "AllowedCustomerTypes", "PromotionalOrderTypes", - }); - internal_static_google_cloud_channel_v1_Plan_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_channel_v1_Plan_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_Plan_descriptor, - new java.lang.String[] { - "PaymentPlan", "PaymentType", "PaymentCycle", "TrialPeriod", "BillingAccount", - }); - internal_static_google_cloud_channel_v1_PriceByResource_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_channel_v1_PriceByResource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_PriceByResource_descriptor, - new java.lang.String[] { - "ResourceType", "Price", "PricePhases", - }); - internal_static_google_cloud_channel_v1_Price_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_channel_v1_Price_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_Price_descriptor, - new java.lang.String[] { - "BasePrice", "Discount", "EffectivePrice", "ExternalPriceUri", - }); - internal_static_google_cloud_channel_v1_PricePhase_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_channel_v1_PricePhase_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_PricePhase_descriptor, - new java.lang.String[] { - "PeriodType", "FirstPeriod", "LastPeriod", "Price", "PriceTiers", - }); - internal_static_google_cloud_channel_v1_PriceTier_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_channel_v1_PriceTier_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_PriceTier_descriptor, - new java.lang.String[] { - "FirstResource", "LastResource", "Price", - }); - internal_static_google_cloud_channel_v1_Period_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_channel_v1_Period_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_Period_descriptor, - new java.lang.String[] { - "Duration", "PeriodType", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.channel.v1.CommonProto.getDescriptor(); - com.google.cloud.channel.v1.ProductsProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.type.MoneyProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationsProto.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationsProto.java deleted file mode 100644 index 67b76d21db7f..000000000000 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationsProto.java +++ /dev/null @@ -1,74 +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/cloud/channel/v1/operations.proto - -package com.google.cloud.channel.v1; - -public final class OperationsProto { - private OperationsProto() {} - - 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_cloud_channel_v1_OperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_OperationMetadata_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/cloud/channel/v1/operations.pro" - + "to\022\027google.cloud.channel.v1\"\266\003\n\021Operatio" - + "nMetadata\022P\n\016operation_type\030\001 \001(\01628.goog" - + "le.cloud.channel.v1.OperationMetadata.Op" - + "erationType\"\316\002\n\rOperationType\022\036\n\032OPERATI" - + "ON_TYPE_UNSPECIFIED\020\000\022\026\n\022CREATE_ENTITLEM" - + "ENT\020\001\022\033\n\027CHANGE_RENEWAL_SETTINGS\020\003\022\026\n\022ST" - + "ART_PAID_SERVICE\020\005\022\030\n\024ACTIVATE_ENTITLEME" - + "NT\020\007\022\027\n\023SUSPEND_ENTITLEMENT\020\010\022\026\n\022CANCEL_" - + "ENTITLEMENT\020\t\022\031\n\025TRANSFER_ENTITLEMENTS\020\n" - + "\022#\n\037TRANSFER_ENTITLEMENTS_TO_GOOGLE\020\013\022\020\n" - + "\014CHANGE_OFFER\020\016\022\025\n\021CHANGE_PARAMETERS\020\017\022\034" - + "\n\030PROVISION_CLOUD_IDENTITY\020\020Bp\n\033com.goog" - + "le.cloud.channel.v1B\017OperationsProtoP\001Z>" - + "google.golang.org/genproto/googleapis/cl" - + "oud/channel/v1;channelb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_cloud_channel_v1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_channel_v1_OperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_OperationMetadata_descriptor, - new java.lang.String[] { - "OperationType", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductsProto.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductsProto.java deleted file mode 100644 index be281be6668c..000000000000 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductsProto.java +++ /dev/null @@ -1,124 +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/cloud/channel/v1/products.proto - -package com.google.cloud.channel.v1; - -public final class ProductsProto { - private ProductsProto() {} - - 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_cloud_channel_v1_Product_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_Product_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_Sku_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_Sku_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_MarketingInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_MarketingInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_Media_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_Media_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/cloud/channel/v1/products.proto" - + "\022\027google.cloud.channel.v1\032\031google/api/re" - + "source.proto\"\225\001\n\007Product\022\014\n\004name\030\001 \001(\t\022>" - + "\n\016marketing_info\030\002 \001(\0132&.google.cloud.ch" - + "annel.v1.MarketingInfo:<\352A9\n#cloudchanne" - + "l.googleapis.com/Product\022\022products/{prod" - + "uct}\"\313\001\n\003Sku\022\014\n\004name\030\001 \001(\t\022>\n\016marketing_" - + "info\030\002 \001(\0132&.google.cloud.channel.v1.Mar" - + "ketingInfo\0221\n\007product\030\003 \001(\0132 .google.clo" - + "ud.channel.v1.Product:C\352A@\n\037cloudchannel" - + ".googleapis.com/Sku\022\035products/{product}/" - + "skus/{sku}\"p\n\rMarketingInfo\022\024\n\014display_n" - + "ame\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\0224\n\014defaul" - + "t_logo\030\003 \001(\0132\036.google.cloud.channel.v1.M" - + "edia\"Y\n\005Media\022\r\n\005title\030\001 \001(\t\022\017\n\007content\030" - + "\002 \001(\t\0220\n\004type\030\003 \001(\0162\".google.cloud.chann" - + "el.v1.MediaType*=\n\tMediaType\022\032\n\026MEDIA_TY" - + "PE_UNSPECIFIED\020\000\022\024\n\020MEDIA_TYPE_IMAGE\020\001Bn" - + "\n\033com.google.cloud.channel.v1B\rProductsP" - + "rotoP\001Z>google.golang.org/genproto/googl" - + "eapis/cloud/channel/v1;channelb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - }); - internal_static_google_cloud_channel_v1_Product_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_channel_v1_Product_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_Product_descriptor, - new java.lang.String[] { - "Name", "MarketingInfo", - }); - internal_static_google_cloud_channel_v1_Sku_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_channel_v1_Sku_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_Sku_descriptor, - new java.lang.String[] { - "Name", "MarketingInfo", "Product", - }); - internal_static_google_cloud_channel_v1_MarketingInfo_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_channel_v1_MarketingInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_MarketingInfo_descriptor, - new java.lang.String[] { - "DisplayName", "Description", "DefaultLogo", - }); - internal_static_google_cloud_channel_v1_Media_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_channel_v1_Media_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_Media_descriptor, - new java.lang.String[] { - "Title", "Content", "Type", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponseOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponseOrBuilder.java deleted file mode 100644 index e5eb04a2bb54..000000000000 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponseOrBuilder.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/cloud/channel/v1/service.proto - -package com.google.cloud.channel.v1; - -public interface RegisterSubscriberResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.RegisterSubscriberResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Name of the topic the subscriber will listen to.
-   * 
- * - * string topic = 1; - * - * @return The topic. - */ - java.lang.String getTopic(); - /** - * - * - *
-   * Name of the topic the subscriber will listen to.
-   * 
- * - * string topic = 1; - * - * @return The bytes for topic. - */ - com.google.protobuf.ByteString getTopicBytes(); -} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportsServiceProto.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportsServiceProto.java deleted file mode 100644 index f0cdabda07d3..000000000000 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportsServiceProto.java +++ /dev/null @@ -1,346 +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/cloud/channel/v1/reports_service.proto - -package com.google.cloud.channel.v1; - -public final class ReportsServiceProto { - private ReportsServiceProto() {} - - 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_cloud_channel_v1_RunReportJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_RunReportJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_RunReportJobResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_RunReportJobResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_FetchReportResultsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_FetchReportResultsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_FetchReportResultsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_FetchReportResultsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListReportsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListReportsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListReportsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListReportsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ReportJob_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ReportJob_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ReportResultsMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ReportResultsMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_Column_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_Column_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_DateRange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_DateRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_Row_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_Row_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ReportValue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ReportValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ReportStatus_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ReportStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_Report_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_Report_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/cloud/channel/v1/reports_servic" - + "e.proto\022\027google.cloud.channel.v1\032\034google" - + "/api/annotations.proto\032\027google/api/clien" - + "t.proto\032\037google/api/field_behavior.proto" - + "\032\031google/api/resource.proto\032#google/long" - + "running/operations.proto\032\037google/protobu" - + "f/timestamp.proto\032\026google/type/date.prot" - + "o\032\032google/type/datetime.proto\032\031google/ty" - + "pe/decimal.proto\032\027google/type/money.prot" - + "o\"\275\001\n\023RunReportJobRequest\0228\n\004name\030\001 \001(\tB" - + "*\340A\002\372A$\n\"cloudchannel.googleapis.com/Rep" - + "ort\022;\n\ndate_range\030\002 \001(\0132\".google.cloud.c" - + "hannel.v1.DateRangeB\003\340A\001\022\023\n\006filter\030\003 \001(\t" - + "B\003\340A\001\022\032\n\rlanguage_code\030\004 \001(\tB\003\340A\001\"\227\001\n\024Ru" - + "nReportJobResponse\0226\n\nreport_job\030\001 \001(\0132\"" - + ".google.cloud.channel.v1.ReportJob\022G\n\017re" - + "port_metadata\030\002 \001(\0132..google.cloud.chann" - + "el.v1.ReportResultsMetadata\"\217\001\n\031FetchRep" - + "ortResultsRequest\022A\n\nreport_job\030\001 \001(\tB-\340" - + "A\002\372A\'\n%cloudchannel.googleapis.com/Repor" - + "tJob\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_tok" - + "en\030\003 \001(\tB\003\340A\001\"\252\001\n\032FetchReportResultsResp" - + "onse\022G\n\017report_metadata\030\001 \001(\0132..google.c" - + "loud.channel.v1.ReportResultsMetadata\022*\n" - + "\004rows\030\002 \003(\0132\034.google.cloud.channel.v1.Ro" - + "w\022\027\n\017next_page_token\030\003 \001(\t\"v\n\022ListReport" - + "sRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\026\n\tpage_si" - + "ze\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\022\032" - + "\n\rlanguage_code\030\004 \001(\tB\003\340A\001\"`\n\023ListReport" - + "sResponse\0220\n\007reports\030\001 \003(\0132\037.google.clou" - + "d.channel.v1.Report\022\027\n\017next_page_token\030\002" - + " \001(\t\"\264\001\n\tReportJob\022\021\n\004name\030\001 \001(\tB\003\340A\002\022<\n" - + "\rreport_status\030\002 \001(\0132%.google.cloud.chan" - + "nel.v1.ReportStatus:V\352AS\n%cloudchannel.g" - + "oogleapis.com/ReportJob\022*accounts/{accou" - + "nt}/reportJobs/{report_job}\"\325\001\n\025ReportRe" - + "sultsMetadata\022/\n\006report\030\001 \001(\0132\037.google.c" - + "loud.channel.v1.Report\022\021\n\trow_count\030\002 \001(" - + "\003\0226\n\ndate_range\030\003 \001(\0132\".google.cloud.cha" - + "nnel.v1.DateRange\022@\n\024preceding_date_rang" - + "e\030\004 \001(\0132\".google.cloud.channel.v1.DateRa" - + "nge\"\333\001\n\006Column\022\021\n\tcolumn_id\030\001 \001(\t\022\024\n\014dis" - + "play_name\030\002 \001(\t\022;\n\tdata_type\030\003 \001(\0162(.goo" - + "gle.cloud.channel.v1.Column.DataType\"k\n\010" - + "DataType\022\031\n\025DATA_TYPE_UNSPECIFIED\020\000\022\n\n\006S" - + "TRING\020\001\022\007\n\003INT\020\002\022\013\n\007DECIMAL\020\003\022\t\n\005MONEY\020\004" - + "\022\010\n\004DATE\020\005\022\r\n\tDATE_TIME\020\006\"\321\001\n\tDateRange\022" - + "4\n\025usage_start_date_time\030\001 \001(\0132\025.google." - + "type.DateTime\0222\n\023usage_end_date_time\030\002 \001" - + "(\0132\025.google.type.DateTime\022-\n\022invoice_sta" - + "rt_date\030\003 \001(\0132\021.google.type.Date\022+\n\020invo" - + "ice_end_date\030\004 \001(\0132\021.google.type.Date\";\n" - + "\003Row\0224\n\006values\030\001 \003(\0132$.google.cloud.chan" - + "nel.v1.ReportValue\"\370\001\n\013ReportValue\022\026\n\014st" - + "ring_value\030\001 \001(\tH\000\022\023\n\tint_value\030\002 \001(\003H\000\022" - + "-\n\rdecimal_value\030\003 \001(\0132\024.google.type.Dec" - + "imalH\000\022)\n\013money_value\030\004 \001(\0132\022.google.typ" - + "e.MoneyH\000\022\'\n\ndate_value\030\005 \001(\0132\021.google.t" - + "ype.DateH\000\0220\n\017date_time_value\030\006 \001(\0132\025.go" - + "ogle.type.DateTimeH\000B\007\n\005value\"\375\001\n\014Report" - + "Status\022:\n\005state\030\001 \001(\0162+.google.cloud.cha" - + "nnel.v1.ReportStatus.State\022.\n\nstart_time" - + "\030\002 \001(\0132\032.google.protobuf.Timestamp\022,\n\010en" - + "d_time\030\003 \001(\0132\032.google.protobuf.Timestamp" - + "\"S\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007STAR" - + "TED\020\001\022\013\n\007WRITING\020\002\022\r\n\tAVAILABLE\020\003\022\n\n\006FAI" - + "LED\020\004\"\306\001\n\006Report\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\024\n\014d" - + "isplay_name\030\002 \001(\t\0220\n\007columns\030\003 \003(\0132\037.goo" - + "gle.cloud.channel.v1.Column\022\023\n\013descripti" - + "on\030\004 \001(\t:L\352AI\n\"cloudchannel.googleapis.c" - + "om/Report\022#accounts/{account}/reports/{r" - + "eport}2\246\005\n\032CloudChannelReportsService\022\267\001" - + "\n\014RunReportJob\022,.google.cloud.channel.v1" - + ".RunReportJobRequest\032\035.google.longrunnin" - + "g.Operation\"Z\202\323\344\223\002(\"#/v1/{name=accounts/" - + "*/reports/*}:run:\001*\312A)\n\024RunReportJobResp" - + "onse\022\021OperationMetadata\022\322\001\n\022FetchReportR" - + "esults\0222.google.cloud.channel.v1.FetchRe" - + "portResultsRequest\0323.google.cloud.channe" - + "l.v1.FetchReportResultsResponse\"S\202\323\344\223\002@\"" - + ";/v1/{report_job=accounts/*/reportJobs/*" - + "}:fetchReportResults:\001*\332A\nreport_job\022\232\001\n" - + "\013ListReports\022+.google.cloud.channel.v1.L" - + "istReportsRequest\032,.google.cloud.channel" - + ".v1.ListReportsResponse\"0\202\323\344\223\002!\022\037/v1/{pa" - + "rent=accounts/*}/reports\332A\006parent\032\\\312A\033cl" - + "oudchannel.googleapis.com\322A;https://www." - + "googleapis.com/auth/apps.reports.usage.r" - + "eadonlyBt\n\033com.google.cloud.channel.v1B\023" - + "ReportsServiceProtoP\001Z>google.golang.org" - + "/genproto/googleapis/cloud/channel/v1;ch" - + "annelb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.type.DateProto.getDescriptor(), - com.google.type.DateTimeProto.getDescriptor(), - com.google.type.DecimalProto.getDescriptor(), - com.google.type.MoneyProto.getDescriptor(), - }); - internal_static_google_cloud_channel_v1_RunReportJobRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_channel_v1_RunReportJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_RunReportJobRequest_descriptor, - new java.lang.String[] { - "Name", "DateRange", "Filter", "LanguageCode", - }); - internal_static_google_cloud_channel_v1_RunReportJobResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_channel_v1_RunReportJobResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_RunReportJobResponse_descriptor, - new java.lang.String[] { - "ReportJob", "ReportMetadata", - }); - internal_static_google_cloud_channel_v1_FetchReportResultsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_channel_v1_FetchReportResultsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_FetchReportResultsRequest_descriptor, - new java.lang.String[] { - "ReportJob", "PageSize", "PageToken", - }); - internal_static_google_cloud_channel_v1_FetchReportResultsResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_channel_v1_FetchReportResultsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_FetchReportResultsResponse_descriptor, - new java.lang.String[] { - "ReportMetadata", "Rows", "NextPageToken", - }); - internal_static_google_cloud_channel_v1_ListReportsRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_channel_v1_ListReportsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListReportsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "LanguageCode", - }); - internal_static_google_cloud_channel_v1_ListReportsResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_channel_v1_ListReportsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListReportsResponse_descriptor, - new java.lang.String[] { - "Reports", "NextPageToken", - }); - internal_static_google_cloud_channel_v1_ReportJob_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_channel_v1_ReportJob_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ReportJob_descriptor, - new java.lang.String[] { - "Name", "ReportStatus", - }); - internal_static_google_cloud_channel_v1_ReportResultsMetadata_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_channel_v1_ReportResultsMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ReportResultsMetadata_descriptor, - new java.lang.String[] { - "Report", "RowCount", "DateRange", "PrecedingDateRange", - }); - internal_static_google_cloud_channel_v1_Column_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_channel_v1_Column_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_Column_descriptor, - new java.lang.String[] { - "ColumnId", "DisplayName", "DataType", - }); - internal_static_google_cloud_channel_v1_DateRange_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_channel_v1_DateRange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_DateRange_descriptor, - new java.lang.String[] { - "UsageStartDateTime", "UsageEndDateTime", "InvoiceStartDate", "InvoiceEndDate", - }); - internal_static_google_cloud_channel_v1_Row_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_channel_v1_Row_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_Row_descriptor, - new java.lang.String[] { - "Values", - }); - internal_static_google_cloud_channel_v1_ReportValue_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_channel_v1_ReportValue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ReportValue_descriptor, - new java.lang.String[] { - "StringValue", - "IntValue", - "DecimalValue", - "MoneyValue", - "DateValue", - "DateTimeValue", - "Value", - }); - internal_static_google_cloud_channel_v1_ReportStatus_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_channel_v1_ReportStatus_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ReportStatus_descriptor, - new java.lang.String[] { - "State", "StartTime", "EndTime", - }); - internal_static_google_cloud_channel_v1_Report_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_channel_v1_Report_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_Report_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "Columns", "Description", - }); - 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.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.type.DateProto.getDescriptor(); - com.google.type.DateTimeProto.getDescriptor(); - com.google.type.DecimalProto.getDescriptor(); - com.google.type.MoneyProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfigOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfigOrBuilder.java deleted file mode 100644 index 2ce95fd3f67c..000000000000 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfigOrBuilder.java +++ /dev/null @@ -1,231 +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/cloud/channel/v1/repricing.proto - -package com.google.cloud.channel.v1; - -public interface RepricingConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.RepricingConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Applies the repricing configuration at the entitlement level. This is
-   * the only supported value for CustomerRepricingConfig.
-   * 
- * - * - * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; - * - * - * @return Whether the entitlementGranularity field is set. - */ - boolean hasEntitlementGranularity(); - /** - * - * - *
-   * Applies the repricing configuration at the entitlement level. This is
-   * the only supported value for CustomerRepricingConfig.
-   * 
- * - * - * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; - * - * - * @return The entitlementGranularity. - */ - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity getEntitlementGranularity(); - /** - * - * - *
-   * Applies the repricing configuration at the entitlement level. This is
-   * the only supported value for CustomerRepricingConfig.
-   * 
- * - * - * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; - * - */ - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularityOrBuilder - getEntitlementGranularityOrBuilder(); - - /** - * - * - *
-   * Applies the repricing configuration at the channel partner level.
-   * This is the only supported value for ChannelPartnerRepricingConfig.
-   * 
- * - * - * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; - * - * - * @return Whether the channelPartnerGranularity field is set. - */ - boolean hasChannelPartnerGranularity(); - /** - * - * - *
-   * Applies the repricing configuration at the channel partner level.
-   * This is the only supported value for ChannelPartnerRepricingConfig.
-   * 
- * - * - * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; - * - * - * @return The channelPartnerGranularity. - */ - com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity - getChannelPartnerGranularity(); - /** - * - * - *
-   * Applies the repricing configuration at the channel partner level.
-   * This is the only supported value for ChannelPartnerRepricingConfig.
-   * 
- * - * - * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; - * - */ - com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularityOrBuilder - getChannelPartnerGranularityOrBuilder(); - - /** - * - * - *
-   * Required. The YearMonth when these adjustments activate. The Day field needs to be
-   * "0" since we only accept YearMonth repricing boundaries.
-   * 
- * - * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the effectiveInvoiceMonth field is set. - */ - boolean hasEffectiveInvoiceMonth(); - /** - * - * - *
-   * Required. The YearMonth when these adjustments activate. The Day field needs to be
-   * "0" since we only accept YearMonth repricing boundaries.
-   * 
- * - * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The effectiveInvoiceMonth. - */ - com.google.type.Date getEffectiveInvoiceMonth(); - /** - * - * - *
-   * Required. The YearMonth when these adjustments activate. The Day field needs to be
-   * "0" since we only accept YearMonth repricing boundaries.
-   * 
- * - * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.type.DateOrBuilder getEffectiveInvoiceMonthOrBuilder(); - - /** - * - * - *
-   * Required. Information about the adjustment.
-   * 
- * - * - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the adjustment field is set. - */ - boolean hasAdjustment(); - /** - * - * - *
-   * Required. Information about the adjustment.
-   * 
- * - * - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The adjustment. - */ - com.google.cloud.channel.v1.RepricingAdjustment getAdjustment(); - /** - * - * - *
-   * Required. Information about the adjustment.
-   * 
- * - * - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder getAdjustmentOrBuilder(); - - /** - * - * - *
-   * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to use for this bill. Specifies the relative cost
-   * based on repricing costs you will apply.
-   * 
- * - * - * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The enum numeric value on the wire for rebillingBasis. - */ - int getRebillingBasisValue(); - /** - * - * - *
-   * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to use for this bill. Specifies the relative cost
-   * based on repricing costs you will apply.
-   * 
- * - * - * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The rebillingBasis. - */ - com.google.cloud.channel.v1.RebillingBasis getRebillingBasis(); - - public com.google.cloud.channel.v1.RepricingConfig.GranularityCase getGranularityCase(); -} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java deleted file mode 100644 index eacd06dccca4..000000000000 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java +++ /dev/null @@ -1,199 +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/cloud/channel/v1/repricing.proto - -package com.google.cloud.channel.v1; - -public final class RepricingProto { - private RepricingProto() {} - - 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_cloud_channel_v1_CustomerRepricingConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_CustomerRepricingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_RepricingConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_RepricingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_RepricingAdjustment_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_RepricingAdjustment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_PercentageAdjustment_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_PercentageAdjustment_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/cloud/channel/v1/repricing.prot" - + "o\022\027google.cloud.channel.v1\032\037google/api/f" - + "ield_behavior.proto\032\031google/api/resource" - + ".proto\032\037google/protobuf/timestamp.proto\032" - + "\026google/type/date.proto\032\031google/type/dec" - + "imal.proto\"\305\002\n\027CustomerRepricingConfig\022\021" - + "\n\004name\030\001 \001(\tB\003\340A\003\022G\n\020repricing_config\030\002 " - + "\001(\0132(.google.cloud.channel.v1.RepricingC" - + "onfigB\003\340A\002\0224\n\013update_time\030\003 \001(\0132\032.google" - + ".protobuf.TimestampB\003\340A\003:\227\001\352A\223\001\n3cloudch" - + "annel.googleapis.com/CustomerRepricingCo" - + "nfig\022\\accounts/{account}/customers/{cust" - + "omer}/customerRepricingConfigs/{customer" - + "_repricing_config}\"\357\002\n\035ChannelPartnerRep" - + "ricingConfig\022\021\n\004name\030\001 \001(\tB\003\340A\003\022G\n\020repri" - + "cing_config\030\002 \001(\0132(.google.cloud.channel" - + ".v1.RepricingConfigB\003\340A\002\0224\n\013update_time\030" - + "\003 \001(\0132\032.google.protobuf.TimestampB\003\340A\003:\273" - + "\001\352A\267\001\n9cloudchannel.googleapis.com/Chann" - + "elPartnerRepricingConfig\022zaccounts/{acco" - + "unt}/channelPartnerLinks/{channel_partne" - + "r}/channelPartnerRepricingConfigs/{chann" - + "el_partner_repricing_config}\"\260\004\n\017Reprici" - + "ngConfig\022b\n\027entitlement_granularity\030\004 \001(" - + "\0132?.google.cloud.channel.v1.RepricingCon" - + "fig.EntitlementGranularityH\000\022i\n\033channel_" - + "partner_granularity\030\005 \001(\0132B.google.cloud" - + ".channel.v1.RepricingConfig.ChannelPartn" - + "erGranularityH\000\0227\n\027effective_invoice_mon" - + "th\030\001 \001(\0132\021.google.type.DateB\003\340A\002\022E\n\nadju" - + "stment\030\002 \001(\0132,.google.cloud.channel.v1.R" - + "epricingAdjustmentB\003\340A\002\022E\n\017rebilling_bas" - + "is\030\003 \001(\0162\'.google.cloud.channel.v1.Rebil" - + "lingBasisB\003\340A\002\032[\n\026EntitlementGranularity" - + "\022A\n\013entitlement\030\001 \001(\tB,\372A)\n\'cloudchannel" - + ".googleapis.com/Entitlement\032\033\n\031ChannelPa" - + "rtnerGranularityB\r\n\013granularity\"s\n\023Repri" - + "cingAdjustment\022N\n\025percentage_adjustment\030" - + "\002 \001(\0132-.google.cloud.channel.v1.Percenta" - + "geAdjustmentH\000B\014\n\nadjustment\"@\n\024Percenta" - + "geAdjustment\022(\n\npercentage\030\002 \001(\0132\024.googl" - + "e.type.Decimal*]\n\016RebillingBasis\022\037\n\033REBI" - + "LLING_BASIS_UNSPECIFIED\020\000\022\020\n\014COST_AT_LIS" - + "T\020\001\022\030\n\024DIRECT_CUSTOMER_COST\020\002Bo\n\033com.goo" - + "gle.cloud.channel.v1B\016RepricingProtoP\001Z>" - + "google.golang.org/genproto/googleapis/cl" - + "oud/channel/v1;channelb\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.type.DateProto.getDescriptor(), - com.google.type.DecimalProto.getDescriptor(), - }); - internal_static_google_cloud_channel_v1_CustomerRepricingConfig_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_channel_v1_CustomerRepricingConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_CustomerRepricingConfig_descriptor, - new java.lang.String[] { - "Name", "RepricingConfig", "UpdateTime", - }); - internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_descriptor, - new java.lang.String[] { - "Name", "RepricingConfig", "UpdateTime", - }); - internal_static_google_cloud_channel_v1_RepricingConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_channel_v1_RepricingConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_RepricingConfig_descriptor, - new java.lang.String[] { - "EntitlementGranularity", - "ChannelPartnerGranularity", - "EffectiveInvoiceMonth", - "Adjustment", - "RebillingBasis", - "Granularity", - }); - internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_descriptor = - internal_static_google_cloud_channel_v1_RepricingConfig_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_descriptor, - new java.lang.String[] { - "Entitlement", - }); - internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_descriptor = - internal_static_google_cloud_channel_v1_RepricingConfig_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_channel_v1_RepricingAdjustment_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_channel_v1_RepricingAdjustment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_RepricingAdjustment_descriptor, - new java.lang.String[] { - "PercentageAdjustment", "Adjustment", - }); - internal_static_google_cloud_channel_v1_PercentageAdjustment_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_channel_v1_PercentageAdjustment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_PercentageAdjustment_descriptor, - new java.lang.String[] { - "Percentage", - }); - 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.type.DateProto.getDescriptor(); - com.google.type.DecimalProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java deleted file mode 100644 index 316eda36c5ec..000000000000 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java +++ /dev/null @@ -1,1467 +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/cloud/channel/v1/service.proto - -package com.google.cloud.channel.v1; - -public final class ServiceProto { - private ServiceProto() {} - - 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_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListCustomersRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListCustomersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListCustomersResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListCustomersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_GetCustomerRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_GetCustomerRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_CreateCustomerRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_CreateCustomerRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_UpdateCustomerRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_UpdateCustomerRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_DeleteCustomerRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_DeleteCustomerRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ImportCustomerRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ImportCustomerRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListEntitlementsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListEntitlementsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListEntitlementsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListEntitlementsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_TransferableOffer_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_TransferableOffer_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_GetEntitlementRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_GetEntitlementRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_CreateEntitlementRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_CreateEntitlementRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ChangeParametersRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ChangeParametersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ChangeOfferRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ChangeOfferRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_StartPaidServiceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_StartPaidServiceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_CancelEntitlementRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_CancelEntitlementRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_LookupOfferRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_LookupOfferRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListProductsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListProductsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListProductsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListProductsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListSkusRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListSkusRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListSkusResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListSkusResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListOffersRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListOffersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListOffersResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListOffersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_PurchasableSku_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_PurchasableSku_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_PurchasableOffer_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_PurchasableOffer_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListSubscribersRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListSubscribersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListSubscribersResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListSubscribersResponse_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/cloud/channel/v1/service.proto\022" - + "\027google.cloud.channel.v1\032\034google/api/ann" - + "otations.proto\032\027google/api/client.proto\032" - + "\037google/api/field_behavior.proto\032\031google" - + "/api/resource.proto\0323google/cloud/channe" - + "l/v1/channel_partner_links.proto\032$google" - + "/cloud/channel/v1/common.proto\032\'google/c" - + "loud/channel/v1/customers.proto\032*google/" - + "cloud/channel/v1/entitlements.proto\032$goo" - + "gle/cloud/channel/v1/offers.proto\032&googl" - + "e/cloud/channel/v1/products.proto\032\'googl" - + "e/cloud/channel/v1/repricing.proto\032#goog" - + "le/longrunning/operations.proto\032\033google/" - + "protobuf/empty.proto\032 google/protobuf/fi" - + "eld_mask.proto\"R\n&CheckCloudIdentityAcco" - + "untsExistRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\023\n" - + "\006domain\030\002 \001(\tB\003\340A\002\"z\n\034CloudIdentityCusto" - + "merAccount\022\020\n\010existing\030\001 \001(\010\022\r\n\005owned\030\002 " - + "\001(\010\022\025\n\rcustomer_name\030\003 \001(\t\022\"\n\032customer_c" - + "loud_identity_id\030\004 \001(\t\"\201\001\n\'CheckCloudIde" - + "ntityAccountsExistResponse\022V\n\027cloud_iden" - + "tity_accounts\030\001 \003(\01325.google.cloud.chann" - + "el.v1.CloudIdentityCustomerAccount\"q\n\024Li" - + "stCustomersRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022" - + "\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 " - + "\001(\tB\003\340A\001\022\023\n\006filter\030\004 \001(\tB\003\340A\001\"f\n\025ListCus" - + "tomersResponse\0224\n\tcustomers\030\001 \003(\0132!.goog" - + "le.cloud.channel.v1.Customer\022\027\n\017next_pag" - + "e_token\030\002 \001(\t\"P\n\022GetCustomerRequest\022:\n\004n" - + "ame\030\001 \001(\tB,\340A\002\372A&\n$cloudchannel.googleap" - + "is.com/Customer\"f\n\025CreateCustomerRequest" - + "\022\023\n\006parent\030\001 \001(\tB\003\340A\002\0228\n\010customer\030\002 \001(\0132" - + "!.google.cloud.channel.v1.CustomerB\003\340A\002\"" - + "\202\001\n\025UpdateCustomerRequest\0228\n\010customer\030\002 " - + "\001(\0132!.google.cloud.channel.v1.CustomerB\003" - + "\340A\002\022/\n\013update_mask\030\003 \001(\0132\032.google.protob" - + "uf.FieldMask\"S\n\025DeleteCustomerRequest\022:\n" - + "\004name\030\001 \001(\tB,\340A\002\372A&\n$cloudchannel.google" - + "apis.com/Customer\"\226\002\n\025ImportCustomerRequ" - + "est\022\025\n\006domain\030\002 \001(\tB\003\340A\002H\000\022 \n\021cloud_iden" - + "tity_id\030\003 \001(\tB\003\340A\002H\000\022\023\n\006parent\030\001 \001(\tB\003\340A" - + "\002\022\027\n\nauth_token\030\004 \001(\tB\003\340A\001\022 \n\023overwrite_" - + "if_exists\030\005 \001(\010B\003\340A\002\022\037\n\022channel_partner_" - + "id\030\006 \001(\tB\003\340A\001\022>\n\010customer\030\007 \001(\tB,\340A\001\372A&\n" - + "$cloudchannel.googleapis.com/CustomerB\023\n" - + "\021customer_identity\"\361\001\n\035ProvisionCloudIde" - + "ntityRequest\022>\n\010customer\030\001 \001(\tB,\340A\002\372A&\n$" - + "cloudchannel.googleapis.com/Customer\022G\n\023" - + "cloud_identity_info\030\002 \001(\0132*.google.cloud" - + ".channel.v1.CloudIdentityInfo\0220\n\004user\030\003 " - + "\001(\0132\".google.cloud.channel.v1.AdminUser\022" - + "\025\n\rvalidate_only\030\004 \001(\010\"\210\001\n\027ListEntitleme" - + "ntsRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$clou" - + "dchannel.googleapis.com/Customer\022\026\n\tpage" - + "_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A" - + "\001\"o\n\030ListEntitlementsResponse\022:\n\014entitle" - + "ments\030\001 \003(\0132$.google.cloud.channel.v1.En" - + "titlement\022\027\n\017next_page_token\030\002 \001(\t\"\340\001\n\033L" - + "istTransferableSkusRequest\022\033\n\021cloud_iden" - + "tity_id\030\004 \001(\tH\000\022\027\n\rcustomer_name\030\007 \001(\tH\000" - + "\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005" - + "\022\022\n\npage_token\030\003 \001(\t\022\027\n\nauth_token\030\005 \001(\t" - + "B\003\340A\001\022\025\n\rlanguage_code\030\006 \001(\tB\037\n\035transfer" - + "red_customer_identity\"|\n\034ListTransferabl" - + "eSkusResponse\022C\n\021transferable_skus\030\001 \003(\013" - + "2(.google.cloud.channel.v1.TransferableS" - + "ku\022\027\n\017next_page_token\030\002 \001(\t\"\340\001\n\035ListTran" - + "sferableOffersRequest\022\033\n\021cloud_identity_" - + "id\030\004 \001(\tH\000\022\027\n\rcustomer_name\030\005 \001(\tH\000\022\023\n\006p" - + "arent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" - + "age_token\030\003 \001(\t\022\020\n\003sku\030\006 \001(\tB\003\340A\002\022\032\n\rlan" - + "guage_code\030\007 \001(\tB\003\340A\001B\037\n\035transferred_cus" - + "tomer_identity\"\202\001\n\036ListTransferableOffer" - + "sResponse\022G\n\023transferable_offers\030\001 \003(\0132*" - + ".google.cloud.channel.v1.TransferableOff" - + "er\022\027\n\017next_page_token\030\002 \001(\t\"B\n\021Transfera" - + "bleOffer\022-\n\005offer\030\001 \001(\0132\036.google.cloud.c" - + "hannel.v1.Offer\"V\n\025GetEntitlementRequest" - + "\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'cloudchannel.goo" - + "gleapis.com/Entitlement\"\252\001\n\036ListChannelP" - + "artnerLinksRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022" - + "\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 " - + "\001(\tB\003\340A\001\022B\n\004view\030\004 \001(\0162/.google.cloud.ch" - + "annel.v1.ChannelPartnerLinkViewB\003\340A\001\"\206\001\n" - + "\037ListChannelPartnerLinksResponse\022J\n\025chan" - + "nel_partner_links\030\001 \003(\0132+.google.cloud.c" - + "hannel.v1.ChannelPartnerLink\022\027\n\017next_pag" - + "e_token\030\002 \001(\t\"u\n\034GetChannelPartnerLinkRe" - + "quest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022B\n\004view\030\002 \001(\0162/" - + ".google.cloud.channel.v1.ChannelPartnerL" - + "inkViewB\003\340A\001\"\206\001\n\037CreateChannelPartnerLin" - + "kRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022N\n\024channel" - + "_partner_link\030\002 \001(\0132+.google.cloud.chann" - + "el.v1.ChannelPartnerLinkB\003\340A\002\"\272\001\n\037Update" - + "ChannelPartnerLinkRequest\022\021\n\004name\030\001 \001(\tB" - + "\003\340A\002\022N\n\024channel_partner_link\030\002 \001(\0132+.goo" - + "gle.cloud.channel.v1.ChannelPartnerLinkB" - + "\003\340A\002\0224\n\013update_mask\030\003 \001(\0132\032.google.proto" - + "buf.FieldMaskB\003\340A\002\"n\n!GetCustomerReprici" - + "ngConfigRequest\022I\n\004name\030\001 \001(\tB;\340A\002\372A5\n3c" - + "loudchannel.googleapis.com/CustomerRepri" - + "cingConfig\"\251\001\n#ListCustomerRepricingConf" - + "igsRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$clou" - + "dchannel.googleapis.com/Customer\022\026\n\tpage" - + "_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A" - + "\001\022\023\n\006filter\030\004 \001(\tB\003\340A\001\"\225\001\n$ListCustomerR" - + "epricingConfigsResponse\022T\n\032customer_repr" - + "icing_configs\030\001 \003(\01320.google.cloud.chann" - + "el.v1.CustomerRepricingConfig\022\027\n\017next_pa" - + "ge_token\030\002 \001(\t\"\276\001\n$CreateCustomerReprici" - + "ngConfigRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n" - + "$cloudchannel.googleapis.com/Customer\022X\n" - + "\031customer_repricing_config\030\002 \001(\01320.googl" - + "e.cloud.channel.v1.CustomerRepricingConf" - + "igB\003\340A\002\"\200\001\n$UpdateCustomerRepricingConfi" - + "gRequest\022X\n\031customer_repricing_config\030\001 " - + "\001(\01320.google.cloud.channel.v1.CustomerRe" - + "pricingConfigB\003\340A\002\"q\n$DeleteCustomerRepr" - + "icingConfigRequest\022I\n\004name\030\001 \001(\tB;\340A\002\372A5" - + "\n3cloudchannel.googleapis.com/CustomerRe" - + "pricingConfig\"z\n\'GetChannelPartnerRepric" - + "ingConfigRequest\022O\n\004name\030\001 \001(\tBA\340A\002\372A;\n9" - + "cloudchannel.googleapis.com/ChannelPartn" - + "erRepricingConfig\"\271\001\n)ListChannelPartner" - + "RepricingConfigsRequest\022F\n\006parent\030\001 \001(\tB" - + "6\340A\002\372A0\n.cloudchannel.googleapis.com/Cha" - + "nnelPartnerLink\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022" - + "\027\n\npage_token\030\003 \001(\tB\003\340A\001\022\023\n\006filter\030\004 \001(\t" - + "B\003\340A\001\"\250\001\n*ListChannelPartnerRepricingCon" - + "figsResponse\022a\n!channel_partner_repricin" - + "g_configs\030\001 \003(\01326.google.cloud.channel.v" - + "1.ChannelPartnerRepricingConfig\022\027\n\017next_" - + "page_token\030\002 \001(\t\"\333\001\n*CreateChannelPartne" - + "rRepricingConfigRequest\022F\n\006parent\030\001 \001(\tB" - + "6\340A\002\372A0\n.cloudchannel.googleapis.com/Cha" - + "nnelPartnerLink\022e\n channel_partner_repri" - + "cing_config\030\002 \001(\01326.google.cloud.channel" - + ".v1.ChannelPartnerRepricingConfigB\003\340A\002\"\223" - + "\001\n*UpdateChannelPartnerRepricingConfigRe" - + "quest\022e\n channel_partner_repricing_confi" - + "g\030\001 \001(\01326.google.cloud.channel.v1.Channe" - + "lPartnerRepricingConfigB\003\340A\002\"}\n*DeleteCh" - + "annelPartnerRepricingConfigRequest\022O\n\004na" - + "me\030\001 \001(\tBA\340A\002\372A;\n9cloudchannel.googleapi" - + "s.com/ChannelPartnerRepricingConfig\"\261\001\n\030" - + "CreateEntitlementRequest\022<\n\006parent\030\001 \001(\t" - + "B,\340A\002\372A&\n$cloudchannel.googleapis.com/Cu" - + "stomer\022>\n\013entitlement\030\002 \001(\0132$.google.clo" - + "ud.channel.v1.EntitlementB\003\340A\002\022\027\n\nreques" - + "t_id\030\005 \001(\tB\003\340A\001\"\240\001\n\033TransferEntitlements" - + "Request\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022?\n\014entitlem" - + "ents\030\002 \003(\0132$.google.cloud.channel.v1.Ent" - + "itlementB\003\340A\002\022\022\n\nauth_token\030\004 \001(\t\022\027\n\nreq" - + "uest_id\030\006 \001(\tB\003\340A\001\"Z\n\034TransferEntitlemen" - + "tsResponse\022:\n\014entitlements\030\001 \003(\0132$.googl" - + "e.cloud.channel.v1.Entitlement\"\224\001\n#Trans" - + "ferEntitlementsToGoogleRequest\022\023\n\006parent" - + "\030\001 \001(\tB\003\340A\002\022?\n\014entitlements\030\002 \003(\0132$.goog" - + "le.cloud.channel.v1.EntitlementB\003\340A\002\022\027\n\n" - + "request_id\030\003 \001(\tB\003\340A\001\"\242\001\n\027ChangeParamete" - + "rsRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022;\n\nparamete" - + "rs\030\002 \003(\0132\".google.cloud.channel.v1.Param" - + "eterB\003\340A\002\022\027\n\nrequest_id\030\004 \001(\tB\003\340A\001\022\036\n\021pu" - + "rchase_order_id\030\005 \001(\tB\003\340A\001\"\223\001\n\034ChangeRen" - + "ewalSettingsRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022G" - + "\n\020renewal_settings\030\004 \001(\0132(.google.cloud." - + "channel.v1.RenewalSettingsB\003\340A\002\022\027\n\nreque" - + "st_id\030\005 \001(\tB\003\340A\001\"\327\001\n\022ChangeOfferRequest\022" - + "\021\n\004name\030\001 \001(\tB\003\340A\002\0228\n\005offer\030\002 \001(\tB)\340A\002\372A" - + "#\n!cloudchannel.googleapis.com/Offer\022;\n\n" - + "parameters\030\003 \003(\0132\".google.cloud.channel." - + "v1.ParameterB\003\340A\001\022\036\n\021purchase_order_id\030\005" - + " \001(\tB\003\340A\001\022\027\n\nrequest_id\030\006 \001(\tB\003\340A\001\"E\n\027St" - + "artPaidServiceRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002" - + "\022\027\n\nrequest_id\030\003 \001(\tB\003\340A\001\"F\n\030CancelEntit" - + "lementRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\027\n\nrequ" - + "est_id\030\003 \001(\tB\003\340A\001\"G\n\031SuspendEntitlementR" - + "equest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\027\n\nrequest_id\030" - + "\003 \001(\tB\003\340A\001\"H\n\032ActivateEntitlementRequest" - + "\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\027\n\nrequest_id\030\003 \001(\tB" - + "\003\340A\001\"Z\n\022LookupOfferRequest\022D\n\013entitlemen" - + "t\030\001 \001(\tB/\340A\002\372A)\n\'cloudchannel.googleapis" - + ".com/Entitlement\"x\n\023ListProductsRequest\022" - + "\024\n\007account\030\001 \001(\tB\003\340A\002\022\026\n\tpage_size\030\002 \001(\005" - + "B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\022\032\n\rlangua" - + "ge_code\030\004 \001(\tB\003\340A\001\"c\n\024ListProductsRespon" - + "se\0222\n\010products\030\001 \003(\0132 .google.cloud.chan" - + "nel.v1.Product\022\027\n\017next_page_token\030\002 \001(\t\"" - + "\261\001\n\017ListSkusRequest\022;\n\006parent\030\001 \001(\tB+\340A\002" - + "\372A%\n#cloudchannel.googleapis.com/Product" - + "\022\024\n\007account\030\002 \001(\tB\003\340A\002\022\026\n\tpage_size\030\003 \001(" - + "\005B\003\340A\001\022\027\n\npage_token\030\004 \001(\tB\003\340A\001\022\032\n\rlangu" - + "age_code\030\005 \001(\tB\003\340A\001\"W\n\020ListSkusResponse\022" - + "*\n\004skus\030\001 \003(\0132\034.google.cloud.channel.v1." - + "Sku\022\027\n\017next_page_token\030\002 \001(\t\"\212\001\n\021ListOff" - + "ersRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\026\n\tpage_" - + "size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001" - + "\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\032\n\rlanguage_code\030\005" - + " \001(\tB\003\340A\001\"]\n\022ListOffersResponse\022.\n\006offer" - + "s\030\001 \003(\0132\036.google.cloud.channel.v1.Offer\022" - + "\027\n\017next_page_token\030\002 \001(\t\"\266\005\n\032ListPurchas" - + "ableSkusRequest\022t\n\033create_entitlement_pu" - + "rchase\030\002 \001(\0132M.google.cloud.channel.v1.L" - + "istPurchasableSkusRequest.CreateEntitlem" - + "entPurchaseH\000\022h\n\025change_offer_purchase\030\003" - + " \001(\0132G.google.cloud.channel.v1.ListPurch" - + "asableSkusRequest.ChangeOfferPurchaseH\000\022" - + ">\n\010customer\030\001 \001(\tB,\340A\002\372A&\n$cloudchannel." - + "googleapis.com/Customer\022\026\n\tpage_size\030\004 \001" - + "(\005B\003\340A\001\022\027\n\npage_token\030\005 \001(\tB\003\340A\001\022\032\n\rlang" - + "uage_code\030\006 \001(\tB\003\340A\001\0321\n\031CreateEntitlemen" - + "tPurchase\022\024\n\007product\030\001 \001(\tB\003\340A\002\032\344\001\n\023Chan" - + "geOfferPurchase\022\030\n\013entitlement\030\001 \001(\tB\003\340A" - + "\002\022l\n\013change_type\030\002 \001(\0162R.google.cloud.ch" - + "annel.v1.ListPurchasableSkusRequest.Chan" - + "geOfferPurchase.ChangeTypeB\003\340A\002\"E\n\nChang" - + "eType\022\033\n\027CHANGE_TYPE_UNSPECIFIED\020\000\022\013\n\007UP" - + "GRADE\020\001\022\r\n\tDOWNGRADE\020\002B\021\n\017purchase_optio" - + "n\"y\n\033ListPurchasableSkusResponse\022A\n\020purc" - + "hasable_skus\030\001 \003(\0132\'.google.cloud.channe" - + "l.v1.PurchasableSku\022\027\n\017next_page_token\030\002" - + " \001(\t\";\n\016PurchasableSku\022)\n\003sku\030\001 \001(\0132\034.go" - + "ogle.cloud.channel.v1.Sku\"\230\004\n\034ListPurcha" - + "sableOffersRequest\022v\n\033create_entitlement" - + "_purchase\030\002 \001(\0132O.google.cloud.channel.v" - + "1.ListPurchasableOffersRequest.CreateEnt" - + "itlementPurchaseH\000\022j\n\025change_offer_purch" - + "ase\030\003 \001(\0132I.google.cloud.channel.v1.List" - + "PurchasableOffersRequest.ChangeOfferPurc" - + "haseH\000\022>\n\010customer\030\001 \001(\tB,\340A\002\372A&\n$cloudc" - + "hannel.googleapis.com/Customer\022\026\n\tpage_s" - + "ize\030\004 \001(\005B\003\340A\001\022\027\n\npage_token\030\005 \001(\tB\003\340A\001\022" - + "\032\n\rlanguage_code\030\006 \001(\tB\003\340A\001\032-\n\031CreateEnt" - + "itlementPurchase\022\020\n\003sku\030\001 \001(\tB\003\340A\002\032E\n\023Ch" - + "angeOfferPurchase\022\030\n\013entitlement\030\001 \001(\tB\003" - + "\340A\002\022\024\n\007new_sku\030\002 \001(\tB\003\340A\001B\021\n\017purchase_op" - + "tion\"\177\n\035ListPurchasableOffersResponse\022E\n" - + "\022purchasable_offers\030\001 \003(\0132).google.cloud" - + ".channel.v1.PurchasableOffer\022\027\n\017next_pag" - + "e_token\030\002 \001(\t\"A\n\020PurchasableOffer\022-\n\005off" - + "er\030\001 \001(\0132\036.google.cloud.channel.v1.Offer" - + "\"O\n\031RegisterSubscriberRequest\022\024\n\007account" - + "\030\001 \001(\tB\003\340A\002\022\034\n\017service_account\030\002 \001(\tB\003\340A" - + "\002\"+\n\032RegisterSubscriberResponse\022\r\n\005topic" - + "\030\001 \001(\t\"Q\n\033UnregisterSubscriberRequest\022\024\n" - + "\007account\030\001 \001(\tB\003\340A\002\022\034\n\017service_account\030\002" - + " \001(\tB\003\340A\002\"-\n\034UnregisterSubscriberRespons" - + "e\022\r\n\005topic\030\001 \001(\t\"_\n\026ListSubscribersReque" - + "st\022\024\n\007account\030\001 \001(\tB\003\340A\002\022\026\n\tpage_size\030\002 " - + "\001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\"[\n\027Lis" - + "tSubscribersResponse\022\r\n\005topic\030\001 \001(\t\022\030\n\020s" - + "ervice_accounts\030\002 \003(\t\022\027\n\017next_page_token" - + "\030\003 \001(\t2\371K\n\023CloudChannelService\022\324\001\n\rListC" - + "ustomers\022-.google.cloud.channel.v1.ListC" - + "ustomersRequest\032..google.cloud.channel.v" - + "1.ListCustomersResponse\"d\202\323\344\223\002^\022!/v1/{pa" - + "rent=accounts/*}/customersZ9\0227/v1/{paren" - + "t=accounts/*/channelPartnerLinks/*}/cust" - + "omers\022\312\001\n\013GetCustomer\022+.google.cloud.cha" - + "nnel.v1.GetCustomerRequest\032!.google.clou" - + "d.channel.v1.Customer\"k\202\323\344\223\002^\022!/v1/{name" - + "=accounts/*/customers/*}Z9\0227/v1/{name=ac" - + "counts/*/channelPartnerLinks/*/customers" - + "/*}\332A\004name\022\350\001\n\037CheckCloudIdentityAccount" - + "sExist\022?.google.cloud.channel.v1.CheckCl" - + "oudIdentityAccountsExistRequest\032@.google" - + ".cloud.channel.v1.CheckCloudIdentityAcco" - + "untsExistResponse\"B\202\323\344\223\002<\"7/v1/{parent=a" - + "ccounts/*}:checkCloudIdentityAccountsExi" - + "st:\001*\022\335\001\n\016CreateCustomer\022..google.cloud." - + "channel.v1.CreateCustomerRequest\032!.googl" - + "e.cloud.channel.v1.Customer\"x\202\323\344\223\002r\"!/v1" - + "/{parent=accounts/*}/customers:\010customer" - + "ZC\"7/v1/{parent=accounts/*/channelPartne" - + "rLinks/*}/customers:\010customer\022\361\001\n\016Update" - + "Customer\022..google.cloud.channel.v1.Updat" - + "eCustomerRequest\032!.google.cloud.channel." - + "v1.Customer\"\213\001\202\323\344\223\002\204\0012*/v1/{customer.nam" - + "e=accounts/*/customers/*}:\010customerZL2@/" - + "v1/{customer.name=accounts/*/channelPart" - + "nerLinks/*/customers/*}:\010customer\022\305\001\n\016De" - + "leteCustomer\022..google.cloud.channel.v1.D" - + "eleteCustomerRequest\032\026.google.protobuf.E" - + "mpty\"k\202\323\344\223\002^*!/v1/{name=accounts/*/custo" - + "mers/*}Z9*7/v1/{name=accounts/*/channelP" - + "artnerLinks/*/customers/*}\332A\004name\022\335\001\n\016Im" - + "portCustomer\022..google.cloud.channel.v1.I" - + "mportCustomerRequest\032!.google.cloud.chan" - + "nel.v1.Customer\"x\202\323\344\223\002r\"(/v1/{parent=acc" - + "ounts/*}/customers:import:\001*ZC\">/v1/{par" - + "ent=accounts/*/channelPartnerLinks/*}/cu" - + "stomers:import:\001*\022\330\001\n\026ProvisionCloudIden" - + "tity\0226.google.cloud.channel.v1.Provision" - + "CloudIdentityRequest\032\035.google.longrunnin" - + "g.Operation\"g\202\323\344\223\002A\"\"9/v1/{name=accounts/*/custo" - + "mers/*/entitlements/*}:activate:\001*\312A \n\013E" - + "ntitlement\022\021OperationMetadata\022\344\001\n\024Transf" - + "erEntitlements\0224.google.cloud.channel.v1" - + ".TransferEntitlementsRequest\032\035.google.lo" - + "ngrunning.Operation\"w\202\323\344\223\002=\"8/v1/{parent" - + "=accounts/*/customers/*}:transferEntitle" - + "ments:\001*\312A1\n\034TransferEntitlementsRespons" - + "e\022\021OperationMetadata\022\365\001\n\034TransferEntitle" - + "mentsToGoogle\022<.google.cloud.channel.v1." - + "TransferEntitlementsToGoogleRequest\032\035.go" - + "ogle.longrunning.Operation\"x\202\323\344\223\002E\"@/v1/" - + "{parent=accounts/*/customers/*}:transfer" - + "EntitlementsToGoogle:\001*\312A*\n\025google.proto" - + "buf.Empty\022\021OperationMetadata\022\301\001\n\027ListCha" - + "nnelPartnerLinks\0227.google.cloud.channel." - + "v1.ListChannelPartnerLinksRequest\0328.goog" - + "le.cloud.channel.v1.ListChannelPartnerLi" - + "nksResponse\"3\202\323\344\223\002-\022+/v1/{parent=account" - + "s/*}/channelPartnerLinks\022\260\001\n\025GetChannelP" - + "artnerLink\0225.google.cloud.channel.v1.Get" - + "ChannelPartnerLinkRequest\032+.google.cloud" - + ".channel.v1.ChannelPartnerLink\"3\202\323\344\223\002-\022+" - + "/v1/{name=accounts/*/channelPartnerLinks" - + "/*}\022\314\001\n\030CreateChannelPartnerLink\0228.googl" - + "e.cloud.channel.v1.CreateChannelPartnerL" - + "inkRequest\032+.google.cloud.channel.v1.Cha" - + "nnelPartnerLink\"I\202\323\344\223\002C\"+/v1/{parent=acc" - + "ounts/*}/channelPartnerLinks:\024channel_pa" - + "rtner_link\022\271\001\n\030UpdateChannelPartnerLink\022" - + "8.google.cloud.channel.v1.UpdateChannelP" - + "artnerLinkRequest\032+.google.cloud.channel" - + ".v1.ChannelPartnerLink\"6\202\323\344\223\00202+/v1/{nam" - + "e=accounts/*/channelPartnerLinks/*}:\001*\022\327" - + "\001\n\032GetCustomerRepricingConfig\022:.google.c" - + "loud.channel.v1.GetCustomerRepricingConf" - + "igRequest\0320.google.cloud.channel.v1.Cust" - + "omerRepricingConfig\"K\202\323\344\223\002>\022\022*google.golang.org/gen" - + "proto/googleapis/cloud/channel/v1;channe" - + "lb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.channel.v1.ChannelPartnerLinksProto.getDescriptor(), - com.google.cloud.channel.v1.CommonProto.getDescriptor(), - com.google.cloud.channel.v1.CustomersProto.getDescriptor(), - com.google.cloud.channel.v1.EntitlementsProto.getDescriptor(), - com.google.cloud.channel.v1.OffersProto.getDescriptor(), - com.google.cloud.channel.v1.ProductsProto.getDescriptor(), - com.google.cloud.channel.v1.RepricingProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_descriptor, - new java.lang.String[] { - "Parent", "Domain", - }); - internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_descriptor, - new java.lang.String[] { - "Existing", "Owned", "CustomerName", "CustomerCloudIdentityId", - }); - internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_descriptor, - new java.lang.String[] { - "CloudIdentityAccounts", - }); - internal_static_google_cloud_channel_v1_ListCustomersRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_channel_v1_ListCustomersRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListCustomersRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", - }); - internal_static_google_cloud_channel_v1_ListCustomersResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_channel_v1_ListCustomersResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListCustomersResponse_descriptor, - new java.lang.String[] { - "Customers", "NextPageToken", - }); - internal_static_google_cloud_channel_v1_GetCustomerRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_channel_v1_GetCustomerRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_GetCustomerRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_channel_v1_CreateCustomerRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_channel_v1_CreateCustomerRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_CreateCustomerRequest_descriptor, - new java.lang.String[] { - "Parent", "Customer", - }); - internal_static_google_cloud_channel_v1_UpdateCustomerRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_channel_v1_UpdateCustomerRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_UpdateCustomerRequest_descriptor, - new java.lang.String[] { - "Customer", "UpdateMask", - }); - internal_static_google_cloud_channel_v1_DeleteCustomerRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_channel_v1_DeleteCustomerRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_DeleteCustomerRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_channel_v1_ImportCustomerRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_channel_v1_ImportCustomerRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ImportCustomerRequest_descriptor, - new java.lang.String[] { - "Domain", - "CloudIdentityId", - "Parent", - "AuthToken", - "OverwriteIfExists", - "ChannelPartnerId", - "Customer", - "CustomerIdentity", - }); - internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_descriptor, - new java.lang.String[] { - "Customer", "CloudIdentityInfo", "User", "ValidateOnly", - }); - internal_static_google_cloud_channel_v1_ListEntitlementsRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_channel_v1_ListEntitlementsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListEntitlementsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_channel_v1_ListEntitlementsResponse_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_channel_v1_ListEntitlementsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListEntitlementsResponse_descriptor, - new java.lang.String[] { - "Entitlements", "NextPageToken", - }); - internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_descriptor, - new java.lang.String[] { - "CloudIdentityId", - "CustomerName", - "Parent", - "PageSize", - "PageToken", - "AuthToken", - "LanguageCode", - "TransferredCustomerIdentity", - }); - internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_descriptor, - new java.lang.String[] { - "TransferableSkus", "NextPageToken", - }); - internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_descriptor, - new java.lang.String[] { - "CloudIdentityId", - "CustomerName", - "Parent", - "PageSize", - "PageToken", - "Sku", - "LanguageCode", - "TransferredCustomerIdentity", - }); - internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_descriptor, - new java.lang.String[] { - "TransferableOffers", "NextPageToken", - }); - internal_static_google_cloud_channel_v1_TransferableOffer_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_channel_v1_TransferableOffer_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_TransferableOffer_descriptor, - new java.lang.String[] { - "Offer", - }); - internal_static_google_cloud_channel_v1_GetEntitlementRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_channel_v1_GetEntitlementRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_GetEntitlementRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "View", - }); - internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_descriptor, - new java.lang.String[] { - "ChannelPartnerLinks", "NextPageToken", - }); - internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_descriptor, - new java.lang.String[] { - "Name", "View", - }); - internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_descriptor, - new java.lang.String[] { - "Parent", "ChannelPartnerLink", - }); - internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_descriptor, - new java.lang.String[] { - "Name", "ChannelPartnerLink", "UpdateMask", - }); - internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", - }); - internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_descriptor, - new java.lang.String[] { - "CustomerRepricingConfigs", "NextPageToken", - }); - internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_descriptor, - new java.lang.String[] { - "Parent", "CustomerRepricingConfig", - }); - internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_descriptor, - new java.lang.String[] { - "CustomerRepricingConfig", - }); - internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", - }); - internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_descriptor, - new java.lang.String[] { - "ChannelPartnerRepricingConfigs", "NextPageToken", - }); - internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_descriptor, - new java.lang.String[] { - "Parent", "ChannelPartnerRepricingConfig", - }); - internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_descriptor, - new java.lang.String[] { - "ChannelPartnerRepricingConfig", - }); - internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_channel_v1_CreateEntitlementRequest_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_cloud_channel_v1_CreateEntitlementRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_CreateEntitlementRequest_descriptor, - new java.lang.String[] { - "Parent", "Entitlement", "RequestId", - }); - internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_descriptor, - new java.lang.String[] { - "Parent", "Entitlements", "AuthToken", "RequestId", - }); - internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_descriptor, - new java.lang.String[] { - "Entitlements", - }); - internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_descriptor, - new java.lang.String[] { - "Parent", "Entitlements", "RequestId", - }); - internal_static_google_cloud_channel_v1_ChangeParametersRequest_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_cloud_channel_v1_ChangeParametersRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ChangeParametersRequest_descriptor, - new java.lang.String[] { - "Name", "Parameters", "RequestId", "PurchaseOrderId", - }); - internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_descriptor, - new java.lang.String[] { - "Name", "RenewalSettings", "RequestId", - }); - internal_static_google_cloud_channel_v1_ChangeOfferRequest_descriptor = - getDescriptor().getMessageTypes().get(42); - internal_static_google_cloud_channel_v1_ChangeOfferRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ChangeOfferRequest_descriptor, - new java.lang.String[] { - "Name", "Offer", "Parameters", "PurchaseOrderId", "RequestId", - }); - internal_static_google_cloud_channel_v1_StartPaidServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(43); - internal_static_google_cloud_channel_v1_StartPaidServiceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_StartPaidServiceRequest_descriptor, - new java.lang.String[] { - "Name", "RequestId", - }); - internal_static_google_cloud_channel_v1_CancelEntitlementRequest_descriptor = - getDescriptor().getMessageTypes().get(44); - internal_static_google_cloud_channel_v1_CancelEntitlementRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_CancelEntitlementRequest_descriptor, - new java.lang.String[] { - "Name", "RequestId", - }); - internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_descriptor = - getDescriptor().getMessageTypes().get(45); - internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_descriptor, - new java.lang.String[] { - "Name", "RequestId", - }); - internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_descriptor = - getDescriptor().getMessageTypes().get(46); - internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_descriptor, - new java.lang.String[] { - "Name", "RequestId", - }); - internal_static_google_cloud_channel_v1_LookupOfferRequest_descriptor = - getDescriptor().getMessageTypes().get(47); - internal_static_google_cloud_channel_v1_LookupOfferRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_LookupOfferRequest_descriptor, - new java.lang.String[] { - "Entitlement", - }); - internal_static_google_cloud_channel_v1_ListProductsRequest_descriptor = - getDescriptor().getMessageTypes().get(48); - internal_static_google_cloud_channel_v1_ListProductsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListProductsRequest_descriptor, - new java.lang.String[] { - "Account", "PageSize", "PageToken", "LanguageCode", - }); - internal_static_google_cloud_channel_v1_ListProductsResponse_descriptor = - getDescriptor().getMessageTypes().get(49); - internal_static_google_cloud_channel_v1_ListProductsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListProductsResponse_descriptor, - new java.lang.String[] { - "Products", "NextPageToken", - }); - internal_static_google_cloud_channel_v1_ListSkusRequest_descriptor = - getDescriptor().getMessageTypes().get(50); - internal_static_google_cloud_channel_v1_ListSkusRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListSkusRequest_descriptor, - new java.lang.String[] { - "Parent", "Account", "PageSize", "PageToken", "LanguageCode", - }); - internal_static_google_cloud_channel_v1_ListSkusResponse_descriptor = - getDescriptor().getMessageTypes().get(51); - internal_static_google_cloud_channel_v1_ListSkusResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListSkusResponse_descriptor, - new java.lang.String[] { - "Skus", "NextPageToken", - }); - internal_static_google_cloud_channel_v1_ListOffersRequest_descriptor = - getDescriptor().getMessageTypes().get(52); - internal_static_google_cloud_channel_v1_ListOffersRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListOffersRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", "LanguageCode", - }); - internal_static_google_cloud_channel_v1_ListOffersResponse_descriptor = - getDescriptor().getMessageTypes().get(53); - internal_static_google_cloud_channel_v1_ListOffersResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListOffersResponse_descriptor, - new java.lang.String[] { - "Offers", "NextPageToken", - }); - internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_descriptor = - getDescriptor().getMessageTypes().get(54); - internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_descriptor, - new java.lang.String[] { - "CreateEntitlementPurchase", - "ChangeOfferPurchase", - "Customer", - "PageSize", - "PageToken", - "LanguageCode", - "PurchaseOption", - }); - internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_descriptor = - internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_descriptor, - new java.lang.String[] { - "Product", - }); - internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_descriptor = - internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_descriptor, - new java.lang.String[] { - "Entitlement", "ChangeType", - }); - internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_descriptor = - getDescriptor().getMessageTypes().get(55); - internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_descriptor, - new java.lang.String[] { - "PurchasableSkus", "NextPageToken", - }); - internal_static_google_cloud_channel_v1_PurchasableSku_descriptor = - getDescriptor().getMessageTypes().get(56); - internal_static_google_cloud_channel_v1_PurchasableSku_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_PurchasableSku_descriptor, - new java.lang.String[] { - "Sku", - }); - internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_descriptor = - getDescriptor().getMessageTypes().get(57); - internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_descriptor, - new java.lang.String[] { - "CreateEntitlementPurchase", - "ChangeOfferPurchase", - "Customer", - "PageSize", - "PageToken", - "LanguageCode", - "PurchaseOption", - }); - internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_descriptor = - internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_descriptor, - new java.lang.String[] { - "Sku", - }); - internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_descriptor = - internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_descriptor, - new java.lang.String[] { - "Entitlement", "NewSku", - }); - internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_descriptor = - getDescriptor().getMessageTypes().get(58); - internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_descriptor, - new java.lang.String[] { - "PurchasableOffers", "NextPageToken", - }); - internal_static_google_cloud_channel_v1_PurchasableOffer_descriptor = - getDescriptor().getMessageTypes().get(59); - internal_static_google_cloud_channel_v1_PurchasableOffer_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_PurchasableOffer_descriptor, - new java.lang.String[] { - "Offer", - }); - internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_descriptor = - getDescriptor().getMessageTypes().get(60); - internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_descriptor, - new java.lang.String[] { - "Account", "ServiceAccount", - }); - internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_descriptor = - getDescriptor().getMessageTypes().get(61); - internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_descriptor, - new java.lang.String[] { - "Topic", - }); - internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_descriptor = - getDescriptor().getMessageTypes().get(62); - internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_descriptor, - new java.lang.String[] { - "Account", "ServiceAccount", - }); - internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_descriptor = - getDescriptor().getMessageTypes().get(63); - internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_descriptor, - new java.lang.String[] { - "Topic", - }); - internal_static_google_cloud_channel_v1_ListSubscribersRequest_descriptor = - getDescriptor().getMessageTypes().get(64); - internal_static_google_cloud_channel_v1_ListSubscribersRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListSubscribersRequest_descriptor, - new java.lang.String[] { - "Account", "PageSize", "PageToken", - }); - internal_static_google_cloud_channel_v1_ListSubscribersResponse_descriptor = - getDescriptor().getMessageTypes().get(65); - internal_static_google_cloud_channel_v1_ListSubscribersResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListSubscribersResponse_descriptor, - new java.lang.String[] { - "Topic", "ServiceAccounts", "NextPageToken", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.channel.v1.ChannelPartnerLinksProto.getDescriptor(); - com.google.cloud.channel.v1.CommonProto.getDescriptor(); - com.google.cloud.channel.v1.CustomersProto.getDescriptor(); - com.google.cloud.channel.v1.EntitlementsProto.getDescriptor(); - com.google.cloud.channel.v1.OffersProto.getDescriptor(); - com.google.cloud.channel.v1.ProductsProto.getDescriptor(); - com.google.cloud.channel.v1.RepricingProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventProto.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventProto.java deleted file mode 100644 index 814714a5343c..000000000000 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventProto.java +++ /dev/null @@ -1,118 +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/cloud/channel/v1/subscriber_event.proto - -package com.google.cloud.channel.v1; - -public final class SubscriberEventProto { - private SubscriberEventProto() {} - - 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_cloud_channel_v1_CustomerEvent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_CustomerEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_EntitlementEvent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_EntitlementEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_SubscriberEvent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_SubscriberEvent_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/cloud/channel/v1/subscriber_eve" - + "nt.proto\022\027google.cloud.channel.v1\032\031googl" - + "e/api/resource.proto\"\344\001\n\rCustomerEvent\022;" - + "\n\010customer\030\001 \001(\tB)\372A&\n$cloudchannel.goog" - + "leapis.com/Customer\022?\n\nevent_type\030\002 \001(\0162" - + "+.google.cloud.channel.v1.CustomerEvent." - + "Type\"U\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\032\n\026PR" - + "IMARY_DOMAIN_CHANGED\020\001\022\033\n\027PRIMARY_DOMAIN" - + "_VERIFIED\020\002\"\261\003\n\020EntitlementEvent\022A\n\013enti" - + "tlement\030\001 \001(\tB,\372A)\n\'cloudchannel.googlea" - + "pis.com/Entitlement\022B\n\nevent_type\030\002 \001(\0162" - + "..google.cloud.channel.v1.EntitlementEve" - + "nt.Type\"\225\002\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\013" - + "\n\007CREATED\020\001\022\027\n\023PRICE_PLAN_SWITCHED\020\003\022\026\n\022" - + "COMMITMENT_CHANGED\020\004\022\013\n\007RENEWED\020\005\022\r\n\tSUS" - + "PENDED\020\006\022\r\n\tACTIVATED\020\007\022\r\n\tCANCELLED\020\010\022\017" - + "\n\013SKU_CHANGED\020\t\022\033\n\027RENEWAL_SETTING_CHANG" - + "ED\020\n\022\030\n\024PAID_SERVICE_STARTED\020\013\022\036\n\032LICENS" - + "E_ASSIGNMENT_CHANGED\020\014\022\027\n\023LICENSE_CAP_CH" - + "ANGED\020\r\"\244\001\n\017SubscriberEvent\022@\n\016customer_" - + "event\030\001 \001(\0132&.google.cloud.channel.v1.Cu" - + "stomerEventH\000\022F\n\021entitlement_event\030\002 \001(\013" - + "2).google.cloud.channel.v1.EntitlementEv" - + "entH\000B\007\n\005eventBu\n\033com.google.cloud.chann" - + "el.v1B\024SubscriberEventProtoP\001Z>google.go" - + "lang.org/genproto/googleapis/cloud/chann" - + "el/v1;channelb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - }); - internal_static_google_cloud_channel_v1_CustomerEvent_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_channel_v1_CustomerEvent_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_CustomerEvent_descriptor, - new java.lang.String[] { - "Customer", "EventType", - }); - internal_static_google_cloud_channel_v1_EntitlementEvent_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_channel_v1_EntitlementEvent_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_EntitlementEvent_descriptor, - new java.lang.String[] { - "Entitlement", "EventType", - }); - internal_static_google_cloud_channel_v1_SubscriberEvent_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_channel_v1_SubscriberEvent_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_SubscriberEvent_descriptor, - new java.lang.String[] { - "CustomerEvent", "EntitlementEvent", "Event", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponseOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponseOrBuilder.java deleted file mode 100644 index 146aabd22818..000000000000 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponseOrBuilder.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/cloud/channel/v1/service.proto - -package com.google.cloud.channel.v1; - -public interface UnregisterSubscriberResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.UnregisterSubscriberResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Name of the topic the service account subscriber access was removed from.
-   * 
- * - * string topic = 1; - * - * @return The topic. - */ - java.lang.String getTopic(); - /** - * - * - *
-   * Name of the topic the service account subscriber access was removed from.
-   * 
- * - * string topic = 1; - * - * @return The bytes for topic. - */ - com.google.protobuf.ByteString getTopicBytes(); -} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequestOrBuilder.java deleted file mode 100644 index 1dd1b2e4b56f..000000000000 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequestOrBuilder.java +++ /dev/null @@ -1,67 +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/cloud/channel/v1/service.proto - -package com.google.cloud.channel.v1; - -public interface UpdateChannelPartnerRepricingConfigRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The ChannelPartnerRepricingConfig object to update.
-   * 
- * - * - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the channelPartnerRepricingConfig field is set. - */ - boolean hasChannelPartnerRepricingConfig(); - /** - * - * - *
-   * Required. The ChannelPartnerRepricingConfig object to update.
-   * 
- * - * - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The channelPartnerRepricingConfig. - */ - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getChannelPartnerRepricingConfig(); - /** - * - * - *
-   * Required. The ChannelPartnerRepricingConfig object to update.
-   * 
- * - * - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder - getChannelPartnerRepricingConfigOrBuilder(); -} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequestOrBuilder.java deleted file mode 100644 index ba45a91c7f07..000000000000 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequestOrBuilder.java +++ /dev/null @@ -1,67 +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/cloud/channel/v1/service.proto - -package com.google.cloud.channel.v1; - -public interface UpdateCustomerRepricingConfigRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The CustomerRepricingConfig object to update.
-   * 
- * - * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the customerRepricingConfig field is set. - */ - boolean hasCustomerRepricingConfig(); - /** - * - * - *
-   * Required. The CustomerRepricingConfig object to update.
-   * 
- * - * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The customerRepricingConfig. - */ - com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingConfig(); - /** - * - * - *
-   * Required. The CustomerRepricingConfig object to update.
-   * 
- * - * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder - getCustomerRepricingConfigOrBuilder(); -} diff --git a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceClient.java b/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceClient.java similarity index 100% rename from java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceClient.java rename to owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceClient.java diff --git a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceSettings.java b/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceSettings.java similarity index 99% rename from java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceSettings.java rename to owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceSettings.java index 773ab69c053f..0bbe802056b3 100644 --- a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceSettings.java +++ b/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceSettings.java @@ -30,6 +30,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; 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.cloud.channel.v1.stub.CloudChannelReportsServiceStubSettings; diff --git a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java b/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java similarity index 99% rename from java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java rename to owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java index 555cec13328d..dc12700722e1 100644 --- a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java +++ b/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java @@ -48,7 +48,7 @@ * admin access. 3. Resellers and distributors can manage customer entitlements. * *

CloudChannelService exposes the following resources: - - * [Customer][google.cloud.channel.v1.Customer]s: An entity—usually an enterprise—managed by a + * [Customer][google.cloud.channel.v1.Customer]s: An entity-usually an enterprise-managed by a * reseller or distributor. * *

- [Entitlement][google.cloud.channel.v1.Entitlement]s: An entity that provides a customer with diff --git a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceSettings.java b/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceSettings.java similarity index 99% rename from java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceSettings.java rename to owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceSettings.java index 41e878871500..b49d0137a7ac 100644 --- a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceSettings.java +++ b/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceSettings.java @@ -41,6 +41,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; 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.cloud.channel.v1.stub.CloudChannelServiceStubSettings; diff --git a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/gapic_metadata.json b/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/gapic_metadata.json similarity index 100% rename from java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/gapic_metadata.json rename to owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/gapic_metadata.json diff --git a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/package-info.java b/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/package-info.java similarity index 97% rename from java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/package-info.java rename to owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/package-info.java index b646129eff69..ba7b5cf7a7a9 100644 --- a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/package-info.java +++ b/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/package-info.java @@ -57,7 +57,7 @@ * admin access. 3. Resellers and distributors can manage customer entitlements. * *

CloudChannelService exposes the following resources: - - * [Customer][google.cloud.channel.v1.Customer]s: An entity—usually an enterprise—managed by a + * [Customer][google.cloud.channel.v1.Customer]s: An entity-usually an enterprise-managed by a * reseller or distributor. * *

- [Entitlement][google.cloud.channel.v1.Entitlement]s: An entity that provides a customer with diff --git a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelReportsServiceStub.java b/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelReportsServiceStub.java similarity index 100% rename from java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelReportsServiceStub.java rename to owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelReportsServiceStub.java diff --git a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelReportsServiceStubSettings.java b/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelReportsServiceStubSettings.java similarity index 100% rename from java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelReportsServiceStubSettings.java rename to owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelReportsServiceStubSettings.java diff --git a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStub.java b/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStub.java similarity index 100% rename from java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStub.java rename to owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStub.java diff --git a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStubSettings.java b/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStubSettings.java similarity index 100% rename from java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStubSettings.java rename to owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStubSettings.java diff --git a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelReportsServiceCallableFactory.java b/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelReportsServiceCallableFactory.java similarity index 100% rename from java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelReportsServiceCallableFactory.java rename to owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelReportsServiceCallableFactory.java diff --git a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelReportsServiceStub.java b/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelReportsServiceStub.java similarity index 99% rename from java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelReportsServiceStub.java rename to owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelReportsServiceStub.java index 2ae4da0a1ad7..f33d74b772ed 100644 --- a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelReportsServiceStub.java +++ b/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelReportsServiceStub.java @@ -39,6 +39,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceCallableFactory.java b/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceCallableFactory.java similarity index 100% rename from java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceCallableFactory.java rename to owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceCallableFactory.java diff --git a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceStub.java b/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceStub.java similarity index 99% rename from java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceStub.java rename to owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceStub.java index fe5db08df3da..c4e892ab9166 100644 --- a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceStub.java +++ b/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceStub.java @@ -113,6 +113,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelReportsServiceCallableFactory.java b/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelReportsServiceCallableFactory.java similarity index 100% rename from java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelReportsServiceCallableFactory.java rename to owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelReportsServiceCallableFactory.java diff --git a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelReportsServiceStub.java b/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelReportsServiceStub.java similarity index 99% rename from java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelReportsServiceStub.java rename to owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelReportsServiceStub.java index ec9d52ac65db..4e9df35cf0fc 100644 --- a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelReportsServiceStub.java +++ b/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelReportsServiceStub.java @@ -31,6 +31,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceCallableFactory.java b/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceCallableFactory.java similarity index 100% rename from java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceCallableFactory.java rename to owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceCallableFactory.java diff --git a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceStub.java b/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceStub.java similarity index 99% rename from java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceStub.java rename to owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceStub.java index 88bdd7402211..7796f8e6a54e 100644 --- a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceStub.java +++ b/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceStub.java @@ -42,6 +42,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/java-channel/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelReportsServiceClientHttpJsonTest.java b/owl-bot-staging/java-channel/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelReportsServiceClientHttpJsonTest.java similarity index 100% rename from java-channel/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelReportsServiceClientHttpJsonTest.java rename to owl-bot-staging/java-channel/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelReportsServiceClientHttpJsonTest.java diff --git a/java-channel/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelReportsServiceClientTest.java b/owl-bot-staging/java-channel/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelReportsServiceClientTest.java similarity index 100% rename from java-channel/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelReportsServiceClientTest.java rename to owl-bot-staging/java-channel/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelReportsServiceClientTest.java diff --git a/java-channel/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientHttpJsonTest.java b/owl-bot-staging/java-channel/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientHttpJsonTest.java similarity index 100% rename from java-channel/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientHttpJsonTest.java rename to owl-bot-staging/java-channel/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientHttpJsonTest.java diff --git a/java-channel/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientTest.java b/owl-bot-staging/java-channel/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientTest.java similarity index 100% rename from java-channel/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientTest.java rename to owl-bot-staging/java-channel/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientTest.java diff --git a/java-channel/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelReportsService.java b/owl-bot-staging/java-channel/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelReportsService.java similarity index 100% rename from java-channel/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelReportsService.java rename to owl-bot-staging/java-channel/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelReportsService.java diff --git a/java-channel/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelReportsServiceImpl.java b/owl-bot-staging/java-channel/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelReportsServiceImpl.java similarity index 100% rename from java-channel/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelReportsServiceImpl.java rename to owl-bot-staging/java-channel/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelReportsServiceImpl.java diff --git a/java-channel/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelService.java b/owl-bot-staging/java-channel/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelService.java similarity index 100% rename from java-channel/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelService.java rename to owl-bot-staging/java-channel/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelService.java diff --git a/java-channel/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelServiceImpl.java b/owl-bot-staging/java-channel/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelServiceImpl.java similarity index 100% rename from java-channel/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelServiceImpl.java rename to owl-bot-staging/java-channel/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelServiceImpl.java diff --git a/java-channel/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceGrpc.java b/owl-bot-staging/java-channel/v1/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceGrpc.java similarity index 55% rename from java-channel/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceGrpc.java rename to owl-bot-staging/java-channel/v1/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceGrpc.java index cc370bcc1492..2045f370cdf5 100644 --- a/java-channel/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceGrpc.java +++ b/owl-bot-staging/java-channel/v1/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.cloud.channel.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *

  * CloudChannelReportsService lets Google Cloud resellers and
  * distributors retrieve and combine a variety of data in Cloud Channel for
@@ -38,189 +21,144 @@ private CloudChannelReportsServiceGrpc() {}
   public static final String SERVICE_NAME = "google.cloud.channel.v1.CloudChannelReportsService";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.channel.v1.RunReportJobRequest, com.google.longrunning.Operation>
-      getRunReportJobMethod;
+  private static volatile io.grpc.MethodDescriptor getRunReportJobMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RunReportJob",
       requestType = com.google.cloud.channel.v1.RunReportJobRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.channel.v1.RunReportJobRequest, com.google.longrunning.Operation>
-      getRunReportJobMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.channel.v1.RunReportJobRequest, com.google.longrunning.Operation>
-        getRunReportJobMethod;
+  public static io.grpc.MethodDescriptor getRunReportJobMethod() {
+    io.grpc.MethodDescriptor getRunReportJobMethod;
     if ((getRunReportJobMethod = CloudChannelReportsServiceGrpc.getRunReportJobMethod) == null) {
       synchronized (CloudChannelReportsServiceGrpc.class) {
-        if ((getRunReportJobMethod = CloudChannelReportsServiceGrpc.getRunReportJobMethod)
-            == null) {
-          CloudChannelReportsServiceGrpc.getRunReportJobMethod =
-              getRunReportJobMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunReportJob"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.channel.v1.RunReportJobRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new CloudChannelReportsServiceMethodDescriptorSupplier("RunReportJob"))
-                      .build();
+        if ((getRunReportJobMethod = CloudChannelReportsServiceGrpc.getRunReportJobMethod) == null) {
+          CloudChannelReportsServiceGrpc.getRunReportJobMethod = getRunReportJobMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunReportJob"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.channel.v1.RunReportJobRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudChannelReportsServiceMethodDescriptorSupplier("RunReportJob"))
+              .build();
         }
       }
     }
     return getRunReportJobMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.channel.v1.FetchReportResultsRequest,
-          com.google.cloud.channel.v1.FetchReportResultsResponse>
-      getFetchReportResultsMethod;
+  private static volatile io.grpc.MethodDescriptor getFetchReportResultsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "FetchReportResults",
       requestType = com.google.cloud.channel.v1.FetchReportResultsRequest.class,
       responseType = com.google.cloud.channel.v1.FetchReportResultsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.channel.v1.FetchReportResultsRequest,
-          com.google.cloud.channel.v1.FetchReportResultsResponse>
-      getFetchReportResultsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.channel.v1.FetchReportResultsRequest,
-            com.google.cloud.channel.v1.FetchReportResultsResponse>
-        getFetchReportResultsMethod;
-    if ((getFetchReportResultsMethod = CloudChannelReportsServiceGrpc.getFetchReportResultsMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getFetchReportResultsMethod() {
+    io.grpc.MethodDescriptor getFetchReportResultsMethod;
+    if ((getFetchReportResultsMethod = CloudChannelReportsServiceGrpc.getFetchReportResultsMethod) == null) {
       synchronized (CloudChannelReportsServiceGrpc.class) {
-        if ((getFetchReportResultsMethod =
-                CloudChannelReportsServiceGrpc.getFetchReportResultsMethod)
-            == null) {
-          CloudChannelReportsServiceGrpc.getFetchReportResultsMethod =
-              getFetchReportResultsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchReportResults"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.channel.v1.FetchReportResultsRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.channel.v1.FetchReportResultsResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new CloudChannelReportsServiceMethodDescriptorSupplier(
-                              "FetchReportResults"))
-                      .build();
+        if ((getFetchReportResultsMethod = CloudChannelReportsServiceGrpc.getFetchReportResultsMethod) == null) {
+          CloudChannelReportsServiceGrpc.getFetchReportResultsMethod = getFetchReportResultsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchReportResults"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.channel.v1.FetchReportResultsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.channel.v1.FetchReportResultsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudChannelReportsServiceMethodDescriptorSupplier("FetchReportResults"))
+              .build();
         }
       }
     }
     return getFetchReportResultsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.channel.v1.ListReportsRequest,
-          com.google.cloud.channel.v1.ListReportsResponse>
-      getListReportsMethod;
+  private static volatile io.grpc.MethodDescriptor getListReportsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListReports",
       requestType = com.google.cloud.channel.v1.ListReportsRequest.class,
       responseType = com.google.cloud.channel.v1.ListReportsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.channel.v1.ListReportsRequest,
-          com.google.cloud.channel.v1.ListReportsResponse>
-      getListReportsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.channel.v1.ListReportsRequest,
-            com.google.cloud.channel.v1.ListReportsResponse>
-        getListReportsMethod;
+  public static io.grpc.MethodDescriptor getListReportsMethod() {
+    io.grpc.MethodDescriptor getListReportsMethod;
     if ((getListReportsMethod = CloudChannelReportsServiceGrpc.getListReportsMethod) == null) {
       synchronized (CloudChannelReportsServiceGrpc.class) {
         if ((getListReportsMethod = CloudChannelReportsServiceGrpc.getListReportsMethod) == null) {
-          CloudChannelReportsServiceGrpc.getListReportsMethod =
-              getListReportsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListReports"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.channel.v1.ListReportsRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.channel.v1.ListReportsResponse.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new CloudChannelReportsServiceMethodDescriptorSupplier("ListReports"))
-                      .build();
+          CloudChannelReportsServiceGrpc.getListReportsMethod = getListReportsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListReports"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.channel.v1.ListReportsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.channel.v1.ListReportsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudChannelReportsServiceMethodDescriptorSupplier("ListReports"))
+              .build();
         }
       }
     }
     return getListReportsMethod;
   }
 
-  /** Creates a new async stub that supports all call types for the service */
+  /**
+   * Creates a new async stub that supports all call types for the service
+   */
   public static CloudChannelReportsServiceStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudChannelReportsServiceStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudChannelReportsServiceStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudChannelReportsServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudChannelReportsServiceStub(channel, callOptions);
+        }
+      };
     return CloudChannelReportsServiceStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static CloudChannelReportsServiceBlockingStub newBlockingStub(io.grpc.Channel channel) {
+  public static CloudChannelReportsServiceBlockingStub newBlockingStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudChannelReportsServiceBlockingStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudChannelReportsServiceBlockingStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudChannelReportsServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudChannelReportsServiceBlockingStub(channel, callOptions);
+        }
+      };
     return CloudChannelReportsServiceBlockingStub.newStub(factory, channel);
   }
 
-  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
-  public static CloudChannelReportsServiceFutureStub newFutureStub(io.grpc.Channel channel) {
+  /**
+   * Creates a new ListenableFuture-style stub that supports unary calls on the service
+   */
+  public static CloudChannelReportsServiceFutureStub newFutureStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudChannelReportsServiceFutureStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudChannelReportsServiceFutureStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudChannelReportsServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudChannelReportsServiceFutureStub(channel, callOptions);
+        }
+      };
     return CloudChannelReportsServiceFutureStub.newStub(factory, channel);
   }
 
   /**
-   *
-   *
    * 
    * CloudChannelReportsService lets Google Cloud resellers and
    * distributors retrieve and combine a variety of data in Cloud Channel for
@@ -228,12 +166,9 @@ public CloudChannelReportsServiceFutureStub newStub(
    * Google Workspace.)
    * 
*/ - public abstract static class CloudChannelReportsServiceImplBase - implements io.grpc.BindableService { + public static abstract class CloudChannelReportsServiceImplBase implements io.grpc.BindableService { /** - * - * *
      * Begins generation of data for a given report. The report
      * identifier is a UID (for example, `613bf59q`).
@@ -252,78 +187,66 @@ public abstract static class CloudChannelReportsServiceImplBase
      * CloudChannelOperationsService. The Operation metadata contains an
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * To get the results of report generation, call
-     * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults] with the
+     * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults]
+     * with the
      * [RunReportJobResponse.report_job][google.cloud.channel.v1.RunReportJobResponse.report_job].
      * 
*/ - public void runReportJob( - com.google.cloud.channel.v1.RunReportJobRequest request, + public void runReportJob(com.google.cloud.channel.v1.RunReportJobRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRunReportJobMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunReportJobMethod(), responseObserver); } /** - * - * *
-     * Retrieves data generated by [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
+     * Retrieves data generated by
+     * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
      * 
*/ - public void fetchReportResults( - com.google.cloud.channel.v1.FetchReportResultsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getFetchReportResultsMethod(), responseObserver); + public void fetchReportResults(com.google.cloud.channel.v1.FetchReportResultsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFetchReportResultsMethod(), responseObserver); } /** - * - * *
      * Lists the reports that RunReportJob can run. These reports include an ID,
      * a description, and the list of columns that will be in the result.
      * 
*/ - public void listReports( - com.google.cloud.channel.v1.ListReportsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListReportsMethod(), responseObserver); + public void listReports(com.google.cloud.channel.v1.ListReportsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListReportsMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getRunReportJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.RunReportJobRequest, - com.google.longrunning.Operation>(this, METHODID_RUN_REPORT_JOB))) + getRunReportJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.RunReportJobRequest, + com.google.longrunning.Operation>( + this, METHODID_RUN_REPORT_JOB))) .addMethod( - getFetchReportResultsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.FetchReportResultsRequest, - com.google.cloud.channel.v1.FetchReportResultsResponse>( - this, METHODID_FETCH_REPORT_RESULTS))) + getFetchReportResultsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.FetchReportResultsRequest, + com.google.cloud.channel.v1.FetchReportResultsResponse>( + this, METHODID_FETCH_REPORT_RESULTS))) .addMethod( - getListReportsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ListReportsRequest, - com.google.cloud.channel.v1.ListReportsResponse>( - this, METHODID_LIST_REPORTS))) + getListReportsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ListReportsRequest, + com.google.cloud.channel.v1.ListReportsResponse>( + this, METHODID_LIST_REPORTS))) .build(); } } /** - * - * *
    * CloudChannelReportsService lets Google Cloud resellers and
    * distributors retrieve and combine a variety of data in Cloud Channel for
@@ -331,8 +254,7 @@ public final io.grpc.ServerServiceDefinition bindService() {
    * Google Workspace.)
    * 
*/ - public static final class CloudChannelReportsServiceStub - extends io.grpc.stub.AbstractAsyncStub { + public static final class CloudChannelReportsServiceStub extends io.grpc.stub.AbstractAsyncStub { private CloudChannelReportsServiceStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -345,8 +267,6 @@ protected CloudChannelReportsServiceStub build( } /** - * - * *
      * Begins generation of data for a given report. The report
      * identifier is a UID (for example, `613bf59q`).
@@ -365,58 +285,43 @@ protected CloudChannelReportsServiceStub build(
      * CloudChannelOperationsService. The Operation metadata contains an
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * To get the results of report generation, call
-     * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults] with the
+     * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults]
+     * with the
      * [RunReportJobResponse.report_job][google.cloud.channel.v1.RunReportJobResponse.report_job].
      * 
*/ - public void runReportJob( - com.google.cloud.channel.v1.RunReportJobRequest request, + public void runReportJob(com.google.cloud.channel.v1.RunReportJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRunReportJobMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getRunReportJobMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
-     * Retrieves data generated by [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
+     * Retrieves data generated by
+     * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
      * 
*/ - public void fetchReportResults( - com.google.cloud.channel.v1.FetchReportResultsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void fetchReportResults(com.google.cloud.channel.v1.FetchReportResultsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFetchReportResultsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getFetchReportResultsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists the reports that RunReportJob can run. These reports include an ID,
      * a description, and the list of columns that will be in the result.
      * 
*/ - public void listReports( - com.google.cloud.channel.v1.ListReportsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listReports(com.google.cloud.channel.v1.ListReportsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListReportsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListReportsMethod(), getCallOptions()), request, responseObserver); } } /** - * - * *
    * CloudChannelReportsService lets Google Cloud resellers and
    * distributors retrieve and combine a variety of data in Cloud Channel for
@@ -424,8 +329,7 @@ public void listReports(
    * Google Workspace.)
    * 
*/ - public static final class CloudChannelReportsServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { + public static final class CloudChannelReportsServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { private CloudChannelReportsServiceBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -438,8 +342,6 @@ protected CloudChannelReportsServiceBlockingStub build( } /** - * - * *
      * Begins generation of data for a given report. The report
      * identifier is a UID (for example, `613bf59q`).
@@ -458,47 +360,40 @@ protected CloudChannelReportsServiceBlockingStub build(
      * CloudChannelOperationsService. The Operation metadata contains an
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * To get the results of report generation, call
-     * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults] with the
+     * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults]
+     * with the
      * [RunReportJobResponse.report_job][google.cloud.channel.v1.RunReportJobResponse.report_job].
      * 
*/ - public com.google.longrunning.Operation runReportJob( - com.google.cloud.channel.v1.RunReportJobRequest request) { + public com.google.longrunning.Operation runReportJob(com.google.cloud.channel.v1.RunReportJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRunReportJobMethod(), getCallOptions(), request); } /** - * - * *
-     * Retrieves data generated by [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
+     * Retrieves data generated by
+     * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
      * 
*/ - public com.google.cloud.channel.v1.FetchReportResultsResponse fetchReportResults( - com.google.cloud.channel.v1.FetchReportResultsRequest request) { + public com.google.cloud.channel.v1.FetchReportResultsResponse fetchReportResults(com.google.cloud.channel.v1.FetchReportResultsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getFetchReportResultsMethod(), getCallOptions(), request); } /** - * - * *
      * Lists the reports that RunReportJob can run. These reports include an ID,
      * a description, and the list of columns that will be in the result.
      * 
*/ - public com.google.cloud.channel.v1.ListReportsResponse listReports( - com.google.cloud.channel.v1.ListReportsRequest request) { + public com.google.cloud.channel.v1.ListReportsResponse listReports(com.google.cloud.channel.v1.ListReportsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListReportsMethod(), getCallOptions(), request); } } /** - * - * *
    * CloudChannelReportsService lets Google Cloud resellers and
    * distributors retrieve and combine a variety of data in Cloud Channel for
@@ -506,8 +401,7 @@ public com.google.cloud.channel.v1.ListReportsResponse listReports(
    * Google Workspace.)
    * 
*/ - public static final class CloudChannelReportsServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { + public static final class CloudChannelReportsServiceFutureStub extends io.grpc.stub.AbstractFutureStub { private CloudChannelReportsServiceFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -520,8 +414,6 @@ protected CloudChannelReportsServiceFutureStub build( } /** - * - * *
      * Begins generation of data for a given report. The report
      * identifier is a UID (for example, `613bf59q`).
@@ -540,41 +432,37 @@ protected CloudChannelReportsServiceFutureStub build(
      * CloudChannelOperationsService. The Operation metadata contains an
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * To get the results of report generation, call
-     * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults] with the
+     * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults]
+     * with the
      * [RunReportJobResponse.report_job][google.cloud.channel.v1.RunReportJobResponse.report_job].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - runReportJob(com.google.cloud.channel.v1.RunReportJobRequest request) { + public com.google.common.util.concurrent.ListenableFuture runReportJob( + com.google.cloud.channel.v1.RunReportJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getRunReportJobMethod(), getCallOptions()), request); } /** - * - * *
-     * Retrieves data generated by [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
+     * Retrieves data generated by
+     * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.channel.v1.FetchReportResultsResponse> - fetchReportResults(com.google.cloud.channel.v1.FetchReportResultsRequest request) { + public com.google.common.util.concurrent.ListenableFuture fetchReportResults( + com.google.cloud.channel.v1.FetchReportResultsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getFetchReportResultsMethod(), getCallOptions()), request); } /** - * - * *
      * Lists the reports that RunReportJob can run. These reports include an ID,
      * a description, and the list of columns that will be in the result.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.channel.v1.ListReportsResponse> - listReports(com.google.cloud.channel.v1.ListReportsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listReports( + com.google.cloud.channel.v1.ListReportsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListReportsMethod(), getCallOptions()), request); } @@ -584,11 +472,11 @@ protected CloudChannelReportsServiceFutureStub build( private static final int METHODID_FETCH_REPORT_RESULTS = 1; private static final int METHODID_LIST_REPORTS = 2; - 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 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 CloudChannelReportsServiceImplBase serviceImpl; private final int methodId; @@ -602,21 +490,16 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_RUN_REPORT_JOB: - serviceImpl.runReportJob( - (com.google.cloud.channel.v1.RunReportJobRequest) request, + serviceImpl.runReportJob((com.google.cloud.channel.v1.RunReportJobRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_FETCH_REPORT_RESULTS: - serviceImpl.fetchReportResults( - (com.google.cloud.channel.v1.FetchReportResultsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.fetchReportResults((com.google.cloud.channel.v1.FetchReportResultsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_REPORTS: - serviceImpl.listReports( - (com.google.cloud.channel.v1.ListReportsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.listReports((com.google.cloud.channel.v1.ListReportsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -634,9 +517,8 @@ public io.grpc.stub.StreamObserver invoke( } } - private abstract static class CloudChannelReportsServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class CloudChannelReportsServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { CloudChannelReportsServiceBaseDescriptorSupplier() {} @java.lang.Override @@ -678,14 +560,12 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (CloudChannelReportsServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new CloudChannelReportsServiceFileDescriptorSupplier()) - .addMethod(getRunReportJobMethod()) - .addMethod(getFetchReportResultsMethod()) - .addMethod(getListReportsMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new CloudChannelReportsServiceFileDescriptorSupplier()) + .addMethod(getRunReportJobMethod()) + .addMethod(getFetchReportResultsMethod()) + .addMethod(getListReportsMethod()) + .build(); } } } diff --git a/java-channel/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceGrpc.java b/owl-bot-staging/java-channel/v1/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceGrpc.java similarity index 54% rename from java-channel/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceGrpc.java rename to owl-bot-staging/java-channel/v1/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceGrpc.java index d3a2ccb3bbb3..3e2ec5e509f9 100644 --- a/java-channel/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceGrpc.java +++ b/owl-bot-staging/java-channel/v1/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.cloud.channel.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *
  * CloudChannelService lets Google cloud resellers and distributors manage
  * their customers, channel partners, entitlements, and reports.
@@ -29,13 +12,14 @@
  *    provide them with delegated admin access.
  * 3. Resellers and distributors can manage customer entitlements.
  * CloudChannelService exposes the following resources:
- * - [Customer][google.cloud.channel.v1.Customer]s: An entity—usually an enterprise—managed by a reseller or
- * distributor.
- * - [Entitlement][google.cloud.channel.v1.Entitlement]s: An entity that provides a customer with the means to use
- * a service. Entitlements are created or updated as a result of a successful
- * fulfillment.
- * - [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s: An entity that identifies links between
- * distributors and their indirect resellers in a channel.
+ * - [Customer][google.cloud.channel.v1.Customer]s: An entity-usually an
+ * enterprise-managed by a reseller or distributor.
+ * - [Entitlement][google.cloud.channel.v1.Entitlement]s: An entity that
+ * provides a customer with the means to use a service. Entitlements are created
+ * or updated as a result of a successful fulfillment.
+ * - [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s: An
+ * entity that identifies links between distributors and their indirect
+ * resellers in a channel.
  * 
*/ @javax.annotation.Generated( @@ -49,2230 +33,1446 @@ private CloudChannelServiceGrpc() {} public static final String SERVICE_NAME = "google.cloud.channel.v1.CloudChannelService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListCustomersRequest, - com.google.cloud.channel.v1.ListCustomersResponse> - getListCustomersMethod; + private static volatile io.grpc.MethodDescriptor getListCustomersMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListCustomers", requestType = com.google.cloud.channel.v1.ListCustomersRequest.class, responseType = com.google.cloud.channel.v1.ListCustomersResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListCustomersRequest, - com.google.cloud.channel.v1.ListCustomersResponse> - getListCustomersMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListCustomersRequest, - com.google.cloud.channel.v1.ListCustomersResponse> - getListCustomersMethod; + public static io.grpc.MethodDescriptor getListCustomersMethod() { + io.grpc.MethodDescriptor getListCustomersMethod; if ((getListCustomersMethod = CloudChannelServiceGrpc.getListCustomersMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { if ((getListCustomersMethod = CloudChannelServiceGrpc.getListCustomersMethod) == null) { - CloudChannelServiceGrpc.getListCustomersMethod = - getListCustomersMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCustomers")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ListCustomersRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ListCustomersResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier("ListCustomers")) - .build(); + CloudChannelServiceGrpc.getListCustomersMethod = getListCustomersMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCustomers")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ListCustomersRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ListCustomersResponse.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ListCustomers")) + .build(); } } } return getListCustomersMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.GetCustomerRequest, com.google.cloud.channel.v1.Customer> - getGetCustomerMethod; + private static volatile io.grpc.MethodDescriptor getGetCustomerMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetCustomer", requestType = com.google.cloud.channel.v1.GetCustomerRequest.class, responseType = com.google.cloud.channel.v1.Customer.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.GetCustomerRequest, com.google.cloud.channel.v1.Customer> - getGetCustomerMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.GetCustomerRequest, com.google.cloud.channel.v1.Customer> - getGetCustomerMethod; + public static io.grpc.MethodDescriptor getGetCustomerMethod() { + io.grpc.MethodDescriptor getGetCustomerMethod; if ((getGetCustomerMethod = CloudChannelServiceGrpc.getGetCustomerMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { if ((getGetCustomerMethod = CloudChannelServiceGrpc.getGetCustomerMethod) == null) { - CloudChannelServiceGrpc.getGetCustomerMethod = - getGetCustomerMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCustomer")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.GetCustomerRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.Customer.getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier("GetCustomer")) - .build(); + CloudChannelServiceGrpc.getGetCustomerMethod = getGetCustomerMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCustomer")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.GetCustomerRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.Customer.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("GetCustomer")) + .build(); } } } return getGetCustomerMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest, - com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse> - getCheckCloudIdentityAccountsExistMethod; + private static volatile io.grpc.MethodDescriptor getCheckCloudIdentityAccountsExistMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CheckCloudIdentityAccountsExist", requestType = com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest.class, responseType = com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest, - com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse> - getCheckCloudIdentityAccountsExistMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest, - com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse> - getCheckCloudIdentityAccountsExistMethod; - if ((getCheckCloudIdentityAccountsExistMethod = - CloudChannelServiceGrpc.getCheckCloudIdentityAccountsExistMethod) - == null) { + public static io.grpc.MethodDescriptor getCheckCloudIdentityAccountsExistMethod() { + io.grpc.MethodDescriptor getCheckCloudIdentityAccountsExistMethod; + if ((getCheckCloudIdentityAccountsExistMethod = CloudChannelServiceGrpc.getCheckCloudIdentityAccountsExistMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { - if ((getCheckCloudIdentityAccountsExistMethod = - CloudChannelServiceGrpc.getCheckCloudIdentityAccountsExistMethod) - == null) { - CloudChannelServiceGrpc.getCheckCloudIdentityAccountsExistMethod = - getCheckCloudIdentityAccountsExistMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CheckCloudIdentityAccountsExist")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier( - "CheckCloudIdentityAccountsExist")) - .build(); + if ((getCheckCloudIdentityAccountsExistMethod = CloudChannelServiceGrpc.getCheckCloudIdentityAccountsExistMethod) == null) { + CloudChannelServiceGrpc.getCheckCloudIdentityAccountsExistMethod = getCheckCloudIdentityAccountsExistMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CheckCloudIdentityAccountsExist")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("CheckCloudIdentityAccountsExist")) + .build(); } } } return getCheckCloudIdentityAccountsExistMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.CreateCustomerRequest, com.google.cloud.channel.v1.Customer> - getCreateCustomerMethod; + private static volatile io.grpc.MethodDescriptor getCreateCustomerMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateCustomer", requestType = com.google.cloud.channel.v1.CreateCustomerRequest.class, responseType = com.google.cloud.channel.v1.Customer.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.CreateCustomerRequest, com.google.cloud.channel.v1.Customer> - getCreateCustomerMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.CreateCustomerRequest, com.google.cloud.channel.v1.Customer> - getCreateCustomerMethod; + public static io.grpc.MethodDescriptor getCreateCustomerMethod() { + io.grpc.MethodDescriptor getCreateCustomerMethod; if ((getCreateCustomerMethod = CloudChannelServiceGrpc.getCreateCustomerMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { if ((getCreateCustomerMethod = CloudChannelServiceGrpc.getCreateCustomerMethod) == null) { - CloudChannelServiceGrpc.getCreateCustomerMethod = - getCreateCustomerMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCustomer")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.CreateCustomerRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.Customer.getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier("CreateCustomer")) - .build(); + CloudChannelServiceGrpc.getCreateCustomerMethod = getCreateCustomerMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCustomer")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.CreateCustomerRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.Customer.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("CreateCustomer")) + .build(); } } } return getCreateCustomerMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.UpdateCustomerRequest, com.google.cloud.channel.v1.Customer> - getUpdateCustomerMethod; + private static volatile io.grpc.MethodDescriptor getUpdateCustomerMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateCustomer", requestType = com.google.cloud.channel.v1.UpdateCustomerRequest.class, responseType = com.google.cloud.channel.v1.Customer.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.UpdateCustomerRequest, com.google.cloud.channel.v1.Customer> - getUpdateCustomerMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.UpdateCustomerRequest, com.google.cloud.channel.v1.Customer> - getUpdateCustomerMethod; + public static io.grpc.MethodDescriptor getUpdateCustomerMethod() { + io.grpc.MethodDescriptor getUpdateCustomerMethod; if ((getUpdateCustomerMethod = CloudChannelServiceGrpc.getUpdateCustomerMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { if ((getUpdateCustomerMethod = CloudChannelServiceGrpc.getUpdateCustomerMethod) == null) { - CloudChannelServiceGrpc.getUpdateCustomerMethod = - getUpdateCustomerMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCustomer")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.UpdateCustomerRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.Customer.getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier("UpdateCustomer")) - .build(); + CloudChannelServiceGrpc.getUpdateCustomerMethod = getUpdateCustomerMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCustomer")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.UpdateCustomerRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.Customer.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("UpdateCustomer")) + .build(); } } } return getUpdateCustomerMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.DeleteCustomerRequest, com.google.protobuf.Empty> - getDeleteCustomerMethod; + private static volatile io.grpc.MethodDescriptor getDeleteCustomerMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteCustomer", requestType = com.google.cloud.channel.v1.DeleteCustomerRequest.class, responseType = com.google.protobuf.Empty.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.DeleteCustomerRequest, com.google.protobuf.Empty> - getDeleteCustomerMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.DeleteCustomerRequest, com.google.protobuf.Empty> - getDeleteCustomerMethod; + public static io.grpc.MethodDescriptor getDeleteCustomerMethod() { + io.grpc.MethodDescriptor getDeleteCustomerMethod; if ((getDeleteCustomerMethod = CloudChannelServiceGrpc.getDeleteCustomerMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { if ((getDeleteCustomerMethod = CloudChannelServiceGrpc.getDeleteCustomerMethod) == null) { - CloudChannelServiceGrpc.getDeleteCustomerMethod = - getDeleteCustomerMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCustomer")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.DeleteCustomerRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier("DeleteCustomer")) - .build(); + CloudChannelServiceGrpc.getDeleteCustomerMethod = getDeleteCustomerMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCustomer")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.DeleteCustomerRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("DeleteCustomer")) + .build(); } } } return getDeleteCustomerMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ImportCustomerRequest, com.google.cloud.channel.v1.Customer> - getImportCustomerMethod; + private static volatile io.grpc.MethodDescriptor getImportCustomerMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ImportCustomer", requestType = com.google.cloud.channel.v1.ImportCustomerRequest.class, responseType = com.google.cloud.channel.v1.Customer.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ImportCustomerRequest, com.google.cloud.channel.v1.Customer> - getImportCustomerMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ImportCustomerRequest, com.google.cloud.channel.v1.Customer> - getImportCustomerMethod; + public static io.grpc.MethodDescriptor getImportCustomerMethod() { + io.grpc.MethodDescriptor getImportCustomerMethod; if ((getImportCustomerMethod = CloudChannelServiceGrpc.getImportCustomerMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { if ((getImportCustomerMethod = CloudChannelServiceGrpc.getImportCustomerMethod) == null) { - CloudChannelServiceGrpc.getImportCustomerMethod = - getImportCustomerMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportCustomer")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ImportCustomerRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.Customer.getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier("ImportCustomer")) - .build(); + CloudChannelServiceGrpc.getImportCustomerMethod = getImportCustomerMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportCustomer")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ImportCustomerRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.Customer.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ImportCustomer")) + .build(); } } } return getImportCustomerMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ProvisionCloudIdentityRequest, - com.google.longrunning.Operation> - getProvisionCloudIdentityMethod; + private static volatile io.grpc.MethodDescriptor getProvisionCloudIdentityMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ProvisionCloudIdentity", requestType = com.google.cloud.channel.v1.ProvisionCloudIdentityRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ProvisionCloudIdentityRequest, - com.google.longrunning.Operation> - getProvisionCloudIdentityMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ProvisionCloudIdentityRequest, - com.google.longrunning.Operation> - getProvisionCloudIdentityMethod; - if ((getProvisionCloudIdentityMethod = CloudChannelServiceGrpc.getProvisionCloudIdentityMethod) - == null) { + public static io.grpc.MethodDescriptor getProvisionCloudIdentityMethod() { + io.grpc.MethodDescriptor getProvisionCloudIdentityMethod; + if ((getProvisionCloudIdentityMethod = CloudChannelServiceGrpc.getProvisionCloudIdentityMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { - if ((getProvisionCloudIdentityMethod = - CloudChannelServiceGrpc.getProvisionCloudIdentityMethod) - == null) { - CloudChannelServiceGrpc.getProvisionCloudIdentityMethod = - getProvisionCloudIdentityMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ProvisionCloudIdentity")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ProvisionCloudIdentityRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier("ProvisionCloudIdentity")) - .build(); + if ((getProvisionCloudIdentityMethod = CloudChannelServiceGrpc.getProvisionCloudIdentityMethod) == null) { + CloudChannelServiceGrpc.getProvisionCloudIdentityMethod = getProvisionCloudIdentityMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ProvisionCloudIdentity")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ProvisionCloudIdentityRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ProvisionCloudIdentity")) + .build(); } } } return getProvisionCloudIdentityMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListEntitlementsRequest, - com.google.cloud.channel.v1.ListEntitlementsResponse> - getListEntitlementsMethod; + private static volatile io.grpc.MethodDescriptor getListEntitlementsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListEntitlements", requestType = com.google.cloud.channel.v1.ListEntitlementsRequest.class, responseType = com.google.cloud.channel.v1.ListEntitlementsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListEntitlementsRequest, - com.google.cloud.channel.v1.ListEntitlementsResponse> - getListEntitlementsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListEntitlementsRequest, - com.google.cloud.channel.v1.ListEntitlementsResponse> - getListEntitlementsMethod; + public static io.grpc.MethodDescriptor getListEntitlementsMethod() { + io.grpc.MethodDescriptor getListEntitlementsMethod; if ((getListEntitlementsMethod = CloudChannelServiceGrpc.getListEntitlementsMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { - if ((getListEntitlementsMethod = CloudChannelServiceGrpc.getListEntitlementsMethod) - == null) { - CloudChannelServiceGrpc.getListEntitlementsMethod = - getListEntitlementsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEntitlements")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ListEntitlementsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ListEntitlementsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier("ListEntitlements")) - .build(); + if ((getListEntitlementsMethod = CloudChannelServiceGrpc.getListEntitlementsMethod) == null) { + CloudChannelServiceGrpc.getListEntitlementsMethod = getListEntitlementsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEntitlements")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ListEntitlementsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ListEntitlementsResponse.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ListEntitlements")) + .build(); } } } return getListEntitlementsMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListTransferableSkusRequest, - com.google.cloud.channel.v1.ListTransferableSkusResponse> - getListTransferableSkusMethod; + private static volatile io.grpc.MethodDescriptor getListTransferableSkusMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListTransferableSkus", requestType = com.google.cloud.channel.v1.ListTransferableSkusRequest.class, responseType = com.google.cloud.channel.v1.ListTransferableSkusResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListTransferableSkusRequest, - com.google.cloud.channel.v1.ListTransferableSkusResponse> - getListTransferableSkusMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListTransferableSkusRequest, - com.google.cloud.channel.v1.ListTransferableSkusResponse> - getListTransferableSkusMethod; - if ((getListTransferableSkusMethod = CloudChannelServiceGrpc.getListTransferableSkusMethod) - == null) { + public static io.grpc.MethodDescriptor getListTransferableSkusMethod() { + io.grpc.MethodDescriptor getListTransferableSkusMethod; + if ((getListTransferableSkusMethod = CloudChannelServiceGrpc.getListTransferableSkusMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { - if ((getListTransferableSkusMethod = CloudChannelServiceGrpc.getListTransferableSkusMethod) - == null) { - CloudChannelServiceGrpc.getListTransferableSkusMethod = - getListTransferableSkusMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListTransferableSkus")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ListTransferableSkusRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ListTransferableSkusResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier("ListTransferableSkus")) - .build(); + if ((getListTransferableSkusMethod = CloudChannelServiceGrpc.getListTransferableSkusMethod) == null) { + CloudChannelServiceGrpc.getListTransferableSkusMethod = getListTransferableSkusMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTransferableSkus")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ListTransferableSkusRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ListTransferableSkusResponse.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ListTransferableSkus")) + .build(); } } } return getListTransferableSkusMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListTransferableOffersRequest, - com.google.cloud.channel.v1.ListTransferableOffersResponse> - getListTransferableOffersMethod; + private static volatile io.grpc.MethodDescriptor getListTransferableOffersMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListTransferableOffers", requestType = com.google.cloud.channel.v1.ListTransferableOffersRequest.class, responseType = com.google.cloud.channel.v1.ListTransferableOffersResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListTransferableOffersRequest, - com.google.cloud.channel.v1.ListTransferableOffersResponse> - getListTransferableOffersMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListTransferableOffersRequest, - com.google.cloud.channel.v1.ListTransferableOffersResponse> - getListTransferableOffersMethod; - if ((getListTransferableOffersMethod = CloudChannelServiceGrpc.getListTransferableOffersMethod) - == null) { + public static io.grpc.MethodDescriptor getListTransferableOffersMethod() { + io.grpc.MethodDescriptor getListTransferableOffersMethod; + if ((getListTransferableOffersMethod = CloudChannelServiceGrpc.getListTransferableOffersMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { - if ((getListTransferableOffersMethod = - CloudChannelServiceGrpc.getListTransferableOffersMethod) - == null) { - CloudChannelServiceGrpc.getListTransferableOffersMethod = - getListTransferableOffersMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListTransferableOffers")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ListTransferableOffersRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ListTransferableOffersResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier("ListTransferableOffers")) - .build(); + if ((getListTransferableOffersMethod = CloudChannelServiceGrpc.getListTransferableOffersMethod) == null) { + CloudChannelServiceGrpc.getListTransferableOffersMethod = getListTransferableOffersMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTransferableOffers")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ListTransferableOffersRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ListTransferableOffersResponse.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ListTransferableOffers")) + .build(); } } } return getListTransferableOffersMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.GetEntitlementRequest, - com.google.cloud.channel.v1.Entitlement> - getGetEntitlementMethod; + private static volatile io.grpc.MethodDescriptor getGetEntitlementMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetEntitlement", requestType = com.google.cloud.channel.v1.GetEntitlementRequest.class, responseType = com.google.cloud.channel.v1.Entitlement.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.GetEntitlementRequest, - com.google.cloud.channel.v1.Entitlement> - getGetEntitlementMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.GetEntitlementRequest, - com.google.cloud.channel.v1.Entitlement> - getGetEntitlementMethod; + public static io.grpc.MethodDescriptor getGetEntitlementMethod() { + io.grpc.MethodDescriptor getGetEntitlementMethod; if ((getGetEntitlementMethod = CloudChannelServiceGrpc.getGetEntitlementMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { if ((getGetEntitlementMethod = CloudChannelServiceGrpc.getGetEntitlementMethod) == null) { - CloudChannelServiceGrpc.getGetEntitlementMethod = - getGetEntitlementMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEntitlement")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.GetEntitlementRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.Entitlement.getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier("GetEntitlement")) - .build(); + CloudChannelServiceGrpc.getGetEntitlementMethod = getGetEntitlementMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEntitlement")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.GetEntitlementRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.Entitlement.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("GetEntitlement")) + .build(); } } } return getGetEntitlementMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.CreateEntitlementRequest, com.google.longrunning.Operation> - getCreateEntitlementMethod; + private static volatile io.grpc.MethodDescriptor getCreateEntitlementMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateEntitlement", requestType = com.google.cloud.channel.v1.CreateEntitlementRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.CreateEntitlementRequest, com.google.longrunning.Operation> - getCreateEntitlementMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.CreateEntitlementRequest, com.google.longrunning.Operation> - getCreateEntitlementMethod; + public static io.grpc.MethodDescriptor getCreateEntitlementMethod() { + io.grpc.MethodDescriptor getCreateEntitlementMethod; if ((getCreateEntitlementMethod = CloudChannelServiceGrpc.getCreateEntitlementMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { - if ((getCreateEntitlementMethod = CloudChannelServiceGrpc.getCreateEntitlementMethod) - == null) { - CloudChannelServiceGrpc.getCreateEntitlementMethod = - getCreateEntitlementMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEntitlement")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.CreateEntitlementRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier("CreateEntitlement")) - .build(); + if ((getCreateEntitlementMethod = CloudChannelServiceGrpc.getCreateEntitlementMethod) == null) { + CloudChannelServiceGrpc.getCreateEntitlementMethod = getCreateEntitlementMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEntitlement")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.CreateEntitlementRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("CreateEntitlement")) + .build(); } } } return getCreateEntitlementMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ChangeParametersRequest, com.google.longrunning.Operation> - getChangeParametersMethod; + private static volatile io.grpc.MethodDescriptor getChangeParametersMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ChangeParameters", requestType = com.google.cloud.channel.v1.ChangeParametersRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ChangeParametersRequest, com.google.longrunning.Operation> - getChangeParametersMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ChangeParametersRequest, com.google.longrunning.Operation> - getChangeParametersMethod; + public static io.grpc.MethodDescriptor getChangeParametersMethod() { + io.grpc.MethodDescriptor getChangeParametersMethod; if ((getChangeParametersMethod = CloudChannelServiceGrpc.getChangeParametersMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { - if ((getChangeParametersMethod = CloudChannelServiceGrpc.getChangeParametersMethod) - == null) { - CloudChannelServiceGrpc.getChangeParametersMethod = - getChangeParametersMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ChangeParameters")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ChangeParametersRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier("ChangeParameters")) - .build(); + if ((getChangeParametersMethod = CloudChannelServiceGrpc.getChangeParametersMethod) == null) { + CloudChannelServiceGrpc.getChangeParametersMethod = getChangeParametersMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ChangeParameters")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ChangeParametersRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ChangeParameters")) + .build(); } } } return getChangeParametersMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ChangeRenewalSettingsRequest, - com.google.longrunning.Operation> - getChangeRenewalSettingsMethod; + private static volatile io.grpc.MethodDescriptor getChangeRenewalSettingsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ChangeRenewalSettings", requestType = com.google.cloud.channel.v1.ChangeRenewalSettingsRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ChangeRenewalSettingsRequest, - com.google.longrunning.Operation> - getChangeRenewalSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ChangeRenewalSettingsRequest, - com.google.longrunning.Operation> - getChangeRenewalSettingsMethod; - if ((getChangeRenewalSettingsMethod = CloudChannelServiceGrpc.getChangeRenewalSettingsMethod) - == null) { + public static io.grpc.MethodDescriptor getChangeRenewalSettingsMethod() { + io.grpc.MethodDescriptor getChangeRenewalSettingsMethod; + if ((getChangeRenewalSettingsMethod = CloudChannelServiceGrpc.getChangeRenewalSettingsMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { - if ((getChangeRenewalSettingsMethod = - CloudChannelServiceGrpc.getChangeRenewalSettingsMethod) - == null) { - CloudChannelServiceGrpc.getChangeRenewalSettingsMethod = - getChangeRenewalSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ChangeRenewalSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ChangeRenewalSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier("ChangeRenewalSettings")) - .build(); + if ((getChangeRenewalSettingsMethod = CloudChannelServiceGrpc.getChangeRenewalSettingsMethod) == null) { + CloudChannelServiceGrpc.getChangeRenewalSettingsMethod = getChangeRenewalSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ChangeRenewalSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ChangeRenewalSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ChangeRenewalSettings")) + .build(); } } } return getChangeRenewalSettingsMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ChangeOfferRequest, com.google.longrunning.Operation> - getChangeOfferMethod; + private static volatile io.grpc.MethodDescriptor getChangeOfferMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ChangeOffer", requestType = com.google.cloud.channel.v1.ChangeOfferRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ChangeOfferRequest, com.google.longrunning.Operation> - getChangeOfferMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ChangeOfferRequest, com.google.longrunning.Operation> - getChangeOfferMethod; + public static io.grpc.MethodDescriptor getChangeOfferMethod() { + io.grpc.MethodDescriptor getChangeOfferMethod; if ((getChangeOfferMethod = CloudChannelServiceGrpc.getChangeOfferMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { if ((getChangeOfferMethod = CloudChannelServiceGrpc.getChangeOfferMethod) == null) { - CloudChannelServiceGrpc.getChangeOfferMethod = - getChangeOfferMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ChangeOffer")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ChangeOfferRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier("ChangeOffer")) - .build(); + CloudChannelServiceGrpc.getChangeOfferMethod = getChangeOfferMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ChangeOffer")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ChangeOfferRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ChangeOffer")) + .build(); } } } return getChangeOfferMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.StartPaidServiceRequest, com.google.longrunning.Operation> - getStartPaidServiceMethod; + private static volatile io.grpc.MethodDescriptor getStartPaidServiceMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "StartPaidService", requestType = com.google.cloud.channel.v1.StartPaidServiceRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.StartPaidServiceRequest, com.google.longrunning.Operation> - getStartPaidServiceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.StartPaidServiceRequest, com.google.longrunning.Operation> - getStartPaidServiceMethod; + public static io.grpc.MethodDescriptor getStartPaidServiceMethod() { + io.grpc.MethodDescriptor getStartPaidServiceMethod; if ((getStartPaidServiceMethod = CloudChannelServiceGrpc.getStartPaidServiceMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { - if ((getStartPaidServiceMethod = CloudChannelServiceGrpc.getStartPaidServiceMethod) - == null) { - CloudChannelServiceGrpc.getStartPaidServiceMethod = - getStartPaidServiceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartPaidService")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.StartPaidServiceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier("StartPaidService")) - .build(); + if ((getStartPaidServiceMethod = CloudChannelServiceGrpc.getStartPaidServiceMethod) == null) { + CloudChannelServiceGrpc.getStartPaidServiceMethod = getStartPaidServiceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartPaidService")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.StartPaidServiceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("StartPaidService")) + .build(); } } } return getStartPaidServiceMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.SuspendEntitlementRequest, com.google.longrunning.Operation> - getSuspendEntitlementMethod; + private static volatile io.grpc.MethodDescriptor getSuspendEntitlementMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SuspendEntitlement", requestType = com.google.cloud.channel.v1.SuspendEntitlementRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.SuspendEntitlementRequest, com.google.longrunning.Operation> - getSuspendEntitlementMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.SuspendEntitlementRequest, com.google.longrunning.Operation> - getSuspendEntitlementMethod; - if ((getSuspendEntitlementMethod = CloudChannelServiceGrpc.getSuspendEntitlementMethod) - == null) { + public static io.grpc.MethodDescriptor getSuspendEntitlementMethod() { + io.grpc.MethodDescriptor getSuspendEntitlementMethod; + if ((getSuspendEntitlementMethod = CloudChannelServiceGrpc.getSuspendEntitlementMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { - if ((getSuspendEntitlementMethod = CloudChannelServiceGrpc.getSuspendEntitlementMethod) - == null) { - CloudChannelServiceGrpc.getSuspendEntitlementMethod = - getSuspendEntitlementMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SuspendEntitlement")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.SuspendEntitlementRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier("SuspendEntitlement")) - .build(); + if ((getSuspendEntitlementMethod = CloudChannelServiceGrpc.getSuspendEntitlementMethod) == null) { + CloudChannelServiceGrpc.getSuspendEntitlementMethod = getSuspendEntitlementMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SuspendEntitlement")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.SuspendEntitlementRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("SuspendEntitlement")) + .build(); } } } return getSuspendEntitlementMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.CancelEntitlementRequest, com.google.longrunning.Operation> - getCancelEntitlementMethod; + private static volatile io.grpc.MethodDescriptor getCancelEntitlementMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CancelEntitlement", requestType = com.google.cloud.channel.v1.CancelEntitlementRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.CancelEntitlementRequest, com.google.longrunning.Operation> - getCancelEntitlementMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.CancelEntitlementRequest, com.google.longrunning.Operation> - getCancelEntitlementMethod; + public static io.grpc.MethodDescriptor getCancelEntitlementMethod() { + io.grpc.MethodDescriptor getCancelEntitlementMethod; if ((getCancelEntitlementMethod = CloudChannelServiceGrpc.getCancelEntitlementMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { - if ((getCancelEntitlementMethod = CloudChannelServiceGrpc.getCancelEntitlementMethod) - == null) { - CloudChannelServiceGrpc.getCancelEntitlementMethod = - getCancelEntitlementMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelEntitlement")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.CancelEntitlementRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier("CancelEntitlement")) - .build(); + if ((getCancelEntitlementMethod = CloudChannelServiceGrpc.getCancelEntitlementMethod) == null) { + CloudChannelServiceGrpc.getCancelEntitlementMethod = getCancelEntitlementMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelEntitlement")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.CancelEntitlementRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("CancelEntitlement")) + .build(); } } } return getCancelEntitlementMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ActivateEntitlementRequest, com.google.longrunning.Operation> - getActivateEntitlementMethod; + private static volatile io.grpc.MethodDescriptor getActivateEntitlementMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ActivateEntitlement", requestType = com.google.cloud.channel.v1.ActivateEntitlementRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ActivateEntitlementRequest, com.google.longrunning.Operation> - getActivateEntitlementMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ActivateEntitlementRequest, - com.google.longrunning.Operation> - getActivateEntitlementMethod; - if ((getActivateEntitlementMethod = CloudChannelServiceGrpc.getActivateEntitlementMethod) - == null) { + public static io.grpc.MethodDescriptor getActivateEntitlementMethod() { + io.grpc.MethodDescriptor getActivateEntitlementMethod; + if ((getActivateEntitlementMethod = CloudChannelServiceGrpc.getActivateEntitlementMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { - if ((getActivateEntitlementMethod = CloudChannelServiceGrpc.getActivateEntitlementMethod) - == null) { - CloudChannelServiceGrpc.getActivateEntitlementMethod = - getActivateEntitlementMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ActivateEntitlement")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ActivateEntitlementRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier("ActivateEntitlement")) - .build(); + if ((getActivateEntitlementMethod = CloudChannelServiceGrpc.getActivateEntitlementMethod) == null) { + CloudChannelServiceGrpc.getActivateEntitlementMethod = getActivateEntitlementMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ActivateEntitlement")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ActivateEntitlementRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ActivateEntitlement")) + .build(); } } } return getActivateEntitlementMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.TransferEntitlementsRequest, com.google.longrunning.Operation> - getTransferEntitlementsMethod; + private static volatile io.grpc.MethodDescriptor getTransferEntitlementsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "TransferEntitlements", requestType = com.google.cloud.channel.v1.TransferEntitlementsRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.TransferEntitlementsRequest, com.google.longrunning.Operation> - getTransferEntitlementsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.TransferEntitlementsRequest, - com.google.longrunning.Operation> - getTransferEntitlementsMethod; - if ((getTransferEntitlementsMethod = CloudChannelServiceGrpc.getTransferEntitlementsMethod) - == null) { + public static io.grpc.MethodDescriptor getTransferEntitlementsMethod() { + io.grpc.MethodDescriptor getTransferEntitlementsMethod; + if ((getTransferEntitlementsMethod = CloudChannelServiceGrpc.getTransferEntitlementsMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { - if ((getTransferEntitlementsMethod = CloudChannelServiceGrpc.getTransferEntitlementsMethod) - == null) { - CloudChannelServiceGrpc.getTransferEntitlementsMethod = - getTransferEntitlementsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "TransferEntitlements")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.TransferEntitlementsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier("TransferEntitlements")) - .build(); + if ((getTransferEntitlementsMethod = CloudChannelServiceGrpc.getTransferEntitlementsMethod) == null) { + CloudChannelServiceGrpc.getTransferEntitlementsMethod = getTransferEntitlementsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TransferEntitlements")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.TransferEntitlementsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("TransferEntitlements")) + .build(); } } } return getTransferEntitlementsMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest, - com.google.longrunning.Operation> - getTransferEntitlementsToGoogleMethod; + private static volatile io.grpc.MethodDescriptor getTransferEntitlementsToGoogleMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "TransferEntitlementsToGoogle", requestType = com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest, - com.google.longrunning.Operation> - getTransferEntitlementsToGoogleMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest, - com.google.longrunning.Operation> - getTransferEntitlementsToGoogleMethod; - if ((getTransferEntitlementsToGoogleMethod = - CloudChannelServiceGrpc.getTransferEntitlementsToGoogleMethod) - == null) { + public static io.grpc.MethodDescriptor getTransferEntitlementsToGoogleMethod() { + io.grpc.MethodDescriptor getTransferEntitlementsToGoogleMethod; + if ((getTransferEntitlementsToGoogleMethod = CloudChannelServiceGrpc.getTransferEntitlementsToGoogleMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { - if ((getTransferEntitlementsToGoogleMethod = - CloudChannelServiceGrpc.getTransferEntitlementsToGoogleMethod) - == null) { - CloudChannelServiceGrpc.getTransferEntitlementsToGoogleMethod = - getTransferEntitlementsToGoogleMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "TransferEntitlementsToGoogle")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier( - "TransferEntitlementsToGoogle")) - .build(); + if ((getTransferEntitlementsToGoogleMethod = CloudChannelServiceGrpc.getTransferEntitlementsToGoogleMethod) == null) { + CloudChannelServiceGrpc.getTransferEntitlementsToGoogleMethod = getTransferEntitlementsToGoogleMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TransferEntitlementsToGoogle")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("TransferEntitlementsToGoogle")) + .build(); } } } return getTransferEntitlementsToGoogleMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListChannelPartnerLinksRequest, - com.google.cloud.channel.v1.ListChannelPartnerLinksResponse> - getListChannelPartnerLinksMethod; + private static volatile io.grpc.MethodDescriptor getListChannelPartnerLinksMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListChannelPartnerLinks", requestType = com.google.cloud.channel.v1.ListChannelPartnerLinksRequest.class, responseType = com.google.cloud.channel.v1.ListChannelPartnerLinksResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListChannelPartnerLinksRequest, - com.google.cloud.channel.v1.ListChannelPartnerLinksResponse> - getListChannelPartnerLinksMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListChannelPartnerLinksRequest, - com.google.cloud.channel.v1.ListChannelPartnerLinksResponse> - getListChannelPartnerLinksMethod; - if ((getListChannelPartnerLinksMethod = - CloudChannelServiceGrpc.getListChannelPartnerLinksMethod) - == null) { + public static io.grpc.MethodDescriptor getListChannelPartnerLinksMethod() { + io.grpc.MethodDescriptor getListChannelPartnerLinksMethod; + if ((getListChannelPartnerLinksMethod = CloudChannelServiceGrpc.getListChannelPartnerLinksMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { - if ((getListChannelPartnerLinksMethod = - CloudChannelServiceGrpc.getListChannelPartnerLinksMethod) - == null) { - CloudChannelServiceGrpc.getListChannelPartnerLinksMethod = - getListChannelPartnerLinksMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListChannelPartnerLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ListChannelPartnerLinksRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ListChannelPartnerLinksResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier( - "ListChannelPartnerLinks")) - .build(); + if ((getListChannelPartnerLinksMethod = CloudChannelServiceGrpc.getListChannelPartnerLinksMethod) == null) { + CloudChannelServiceGrpc.getListChannelPartnerLinksMethod = getListChannelPartnerLinksMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListChannelPartnerLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ListChannelPartnerLinksRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ListChannelPartnerLinksResponse.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ListChannelPartnerLinks")) + .build(); } } } return getListChannelPartnerLinksMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.GetChannelPartnerLinkRequest, - com.google.cloud.channel.v1.ChannelPartnerLink> - getGetChannelPartnerLinkMethod; + private static volatile io.grpc.MethodDescriptor getGetChannelPartnerLinkMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetChannelPartnerLink", requestType = com.google.cloud.channel.v1.GetChannelPartnerLinkRequest.class, responseType = com.google.cloud.channel.v1.ChannelPartnerLink.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.GetChannelPartnerLinkRequest, - com.google.cloud.channel.v1.ChannelPartnerLink> - getGetChannelPartnerLinkMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.GetChannelPartnerLinkRequest, - com.google.cloud.channel.v1.ChannelPartnerLink> - getGetChannelPartnerLinkMethod; - if ((getGetChannelPartnerLinkMethod = CloudChannelServiceGrpc.getGetChannelPartnerLinkMethod) - == null) { + public static io.grpc.MethodDescriptor getGetChannelPartnerLinkMethod() { + io.grpc.MethodDescriptor getGetChannelPartnerLinkMethod; + if ((getGetChannelPartnerLinkMethod = CloudChannelServiceGrpc.getGetChannelPartnerLinkMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { - if ((getGetChannelPartnerLinkMethod = - CloudChannelServiceGrpc.getGetChannelPartnerLinkMethod) - == null) { - CloudChannelServiceGrpc.getGetChannelPartnerLinkMethod = - getGetChannelPartnerLinkMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetChannelPartnerLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.GetChannelPartnerLinkRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier("GetChannelPartnerLink")) - .build(); + if ((getGetChannelPartnerLinkMethod = CloudChannelServiceGrpc.getGetChannelPartnerLinkMethod) == null) { + CloudChannelServiceGrpc.getGetChannelPartnerLinkMethod = getGetChannelPartnerLinkMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetChannelPartnerLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.GetChannelPartnerLinkRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("GetChannelPartnerLink")) + .build(); } } } return getGetChannelPartnerLinkMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest, - com.google.cloud.channel.v1.ChannelPartnerLink> - getCreateChannelPartnerLinkMethod; + private static volatile io.grpc.MethodDescriptor getCreateChannelPartnerLinkMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateChannelPartnerLink", requestType = com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest.class, responseType = com.google.cloud.channel.v1.ChannelPartnerLink.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest, - com.google.cloud.channel.v1.ChannelPartnerLink> - getCreateChannelPartnerLinkMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest, - com.google.cloud.channel.v1.ChannelPartnerLink> - getCreateChannelPartnerLinkMethod; - if ((getCreateChannelPartnerLinkMethod = - CloudChannelServiceGrpc.getCreateChannelPartnerLinkMethod) - == null) { + public static io.grpc.MethodDescriptor getCreateChannelPartnerLinkMethod() { + io.grpc.MethodDescriptor getCreateChannelPartnerLinkMethod; + if ((getCreateChannelPartnerLinkMethod = CloudChannelServiceGrpc.getCreateChannelPartnerLinkMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { - if ((getCreateChannelPartnerLinkMethod = - CloudChannelServiceGrpc.getCreateChannelPartnerLinkMethod) - == null) { - CloudChannelServiceGrpc.getCreateChannelPartnerLinkMethod = - getCreateChannelPartnerLinkMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateChannelPartnerLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier( - "CreateChannelPartnerLink")) - .build(); + if ((getCreateChannelPartnerLinkMethod = CloudChannelServiceGrpc.getCreateChannelPartnerLinkMethod) == null) { + CloudChannelServiceGrpc.getCreateChannelPartnerLinkMethod = getCreateChannelPartnerLinkMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateChannelPartnerLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("CreateChannelPartnerLink")) + .build(); } } } return getCreateChannelPartnerLinkMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest, - com.google.cloud.channel.v1.ChannelPartnerLink> - getUpdateChannelPartnerLinkMethod; + private static volatile io.grpc.MethodDescriptor getUpdateChannelPartnerLinkMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateChannelPartnerLink", requestType = com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest.class, responseType = com.google.cloud.channel.v1.ChannelPartnerLink.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest, - com.google.cloud.channel.v1.ChannelPartnerLink> - getUpdateChannelPartnerLinkMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest, - com.google.cloud.channel.v1.ChannelPartnerLink> - getUpdateChannelPartnerLinkMethod; - if ((getUpdateChannelPartnerLinkMethod = - CloudChannelServiceGrpc.getUpdateChannelPartnerLinkMethod) - == null) { + public static io.grpc.MethodDescriptor getUpdateChannelPartnerLinkMethod() { + io.grpc.MethodDescriptor getUpdateChannelPartnerLinkMethod; + if ((getUpdateChannelPartnerLinkMethod = CloudChannelServiceGrpc.getUpdateChannelPartnerLinkMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { - if ((getUpdateChannelPartnerLinkMethod = - CloudChannelServiceGrpc.getUpdateChannelPartnerLinkMethod) - == null) { - CloudChannelServiceGrpc.getUpdateChannelPartnerLinkMethod = - getUpdateChannelPartnerLinkMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateChannelPartnerLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier( - "UpdateChannelPartnerLink")) - .build(); + if ((getUpdateChannelPartnerLinkMethod = CloudChannelServiceGrpc.getUpdateChannelPartnerLinkMethod) == null) { + CloudChannelServiceGrpc.getUpdateChannelPartnerLinkMethod = getUpdateChannelPartnerLinkMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateChannelPartnerLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("UpdateChannelPartnerLink")) + .build(); } } } return getUpdateChannelPartnerLinkMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest, - com.google.cloud.channel.v1.CustomerRepricingConfig> - getGetCustomerRepricingConfigMethod; + private static volatile io.grpc.MethodDescriptor getGetCustomerRepricingConfigMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetCustomerRepricingConfig", requestType = com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest.class, responseType = com.google.cloud.channel.v1.CustomerRepricingConfig.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest, - com.google.cloud.channel.v1.CustomerRepricingConfig> - getGetCustomerRepricingConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest, - com.google.cloud.channel.v1.CustomerRepricingConfig> - getGetCustomerRepricingConfigMethod; - if ((getGetCustomerRepricingConfigMethod = - CloudChannelServiceGrpc.getGetCustomerRepricingConfigMethod) - == null) { + public static io.grpc.MethodDescriptor getGetCustomerRepricingConfigMethod() { + io.grpc.MethodDescriptor getGetCustomerRepricingConfigMethod; + if ((getGetCustomerRepricingConfigMethod = CloudChannelServiceGrpc.getGetCustomerRepricingConfigMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { - if ((getGetCustomerRepricingConfigMethod = - CloudChannelServiceGrpc.getGetCustomerRepricingConfigMethod) - == null) { - CloudChannelServiceGrpc.getGetCustomerRepricingConfigMethod = - getGetCustomerRepricingConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetCustomerRepricingConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.CustomerRepricingConfig - .getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier( - "GetCustomerRepricingConfig")) - .build(); + if ((getGetCustomerRepricingConfigMethod = CloudChannelServiceGrpc.getGetCustomerRepricingConfigMethod) == null) { + CloudChannelServiceGrpc.getGetCustomerRepricingConfigMethod = getGetCustomerRepricingConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCustomerRepricingConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("GetCustomerRepricingConfig")) + .build(); } } } return getGetCustomerRepricingConfigMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest, - com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse> - getListCustomerRepricingConfigsMethod; + private static volatile io.grpc.MethodDescriptor getListCustomerRepricingConfigsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListCustomerRepricingConfigs", requestType = com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.class, responseType = com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest, - com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse> - getListCustomerRepricingConfigsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest, - com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse> - getListCustomerRepricingConfigsMethod; - if ((getListCustomerRepricingConfigsMethod = - CloudChannelServiceGrpc.getListCustomerRepricingConfigsMethod) - == null) { + public static io.grpc.MethodDescriptor getListCustomerRepricingConfigsMethod() { + io.grpc.MethodDescriptor getListCustomerRepricingConfigsMethod; + if ((getListCustomerRepricingConfigsMethod = CloudChannelServiceGrpc.getListCustomerRepricingConfigsMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { - if ((getListCustomerRepricingConfigsMethod = - CloudChannelServiceGrpc.getListCustomerRepricingConfigsMethod) - == null) { - CloudChannelServiceGrpc.getListCustomerRepricingConfigsMethod = - getListCustomerRepricingConfigsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListCustomerRepricingConfigs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier( - "ListCustomerRepricingConfigs")) - .build(); + if ((getListCustomerRepricingConfigsMethod = CloudChannelServiceGrpc.getListCustomerRepricingConfigsMethod) == null) { + CloudChannelServiceGrpc.getListCustomerRepricingConfigsMethod = getListCustomerRepricingConfigsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCustomerRepricingConfigs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ListCustomerRepricingConfigs")) + .build(); } } } return getListCustomerRepricingConfigsMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest, - com.google.cloud.channel.v1.CustomerRepricingConfig> - getCreateCustomerRepricingConfigMethod; + private static volatile io.grpc.MethodDescriptor getCreateCustomerRepricingConfigMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateCustomerRepricingConfig", requestType = com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest.class, responseType = com.google.cloud.channel.v1.CustomerRepricingConfig.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest, - com.google.cloud.channel.v1.CustomerRepricingConfig> - getCreateCustomerRepricingConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest, - com.google.cloud.channel.v1.CustomerRepricingConfig> - getCreateCustomerRepricingConfigMethod; - if ((getCreateCustomerRepricingConfigMethod = - CloudChannelServiceGrpc.getCreateCustomerRepricingConfigMethod) - == null) { + public static io.grpc.MethodDescriptor getCreateCustomerRepricingConfigMethod() { + io.grpc.MethodDescriptor getCreateCustomerRepricingConfigMethod; + if ((getCreateCustomerRepricingConfigMethod = CloudChannelServiceGrpc.getCreateCustomerRepricingConfigMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { - if ((getCreateCustomerRepricingConfigMethod = - CloudChannelServiceGrpc.getCreateCustomerRepricingConfigMethod) - == null) { - CloudChannelServiceGrpc.getCreateCustomerRepricingConfigMethod = - getCreateCustomerRepricingConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateCustomerRepricingConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.CustomerRepricingConfig - .getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier( - "CreateCustomerRepricingConfig")) - .build(); + if ((getCreateCustomerRepricingConfigMethod = CloudChannelServiceGrpc.getCreateCustomerRepricingConfigMethod) == null) { + CloudChannelServiceGrpc.getCreateCustomerRepricingConfigMethod = getCreateCustomerRepricingConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCustomerRepricingConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("CreateCustomerRepricingConfig")) + .build(); } } } return getCreateCustomerRepricingConfigMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest, - com.google.cloud.channel.v1.CustomerRepricingConfig> - getUpdateCustomerRepricingConfigMethod; + private static volatile io.grpc.MethodDescriptor getUpdateCustomerRepricingConfigMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateCustomerRepricingConfig", requestType = com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest.class, responseType = com.google.cloud.channel.v1.CustomerRepricingConfig.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest, - com.google.cloud.channel.v1.CustomerRepricingConfig> - getUpdateCustomerRepricingConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest, - com.google.cloud.channel.v1.CustomerRepricingConfig> - getUpdateCustomerRepricingConfigMethod; - if ((getUpdateCustomerRepricingConfigMethod = - CloudChannelServiceGrpc.getUpdateCustomerRepricingConfigMethod) - == null) { + public static io.grpc.MethodDescriptor getUpdateCustomerRepricingConfigMethod() { + io.grpc.MethodDescriptor getUpdateCustomerRepricingConfigMethod; + if ((getUpdateCustomerRepricingConfigMethod = CloudChannelServiceGrpc.getUpdateCustomerRepricingConfigMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { - if ((getUpdateCustomerRepricingConfigMethod = - CloudChannelServiceGrpc.getUpdateCustomerRepricingConfigMethod) - == null) { - CloudChannelServiceGrpc.getUpdateCustomerRepricingConfigMethod = - getUpdateCustomerRepricingConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateCustomerRepricingConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.CustomerRepricingConfig - .getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier( - "UpdateCustomerRepricingConfig")) - .build(); + if ((getUpdateCustomerRepricingConfigMethod = CloudChannelServiceGrpc.getUpdateCustomerRepricingConfigMethod) == null) { + CloudChannelServiceGrpc.getUpdateCustomerRepricingConfigMethod = getUpdateCustomerRepricingConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCustomerRepricingConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("UpdateCustomerRepricingConfig")) + .build(); } } } return getUpdateCustomerRepricingConfigMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest, - com.google.protobuf.Empty> - getDeleteCustomerRepricingConfigMethod; + private static volatile io.grpc.MethodDescriptor getDeleteCustomerRepricingConfigMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteCustomerRepricingConfig", requestType = com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest.class, responseType = com.google.protobuf.Empty.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest, - com.google.protobuf.Empty> - getDeleteCustomerRepricingConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest, - com.google.protobuf.Empty> - getDeleteCustomerRepricingConfigMethod; - if ((getDeleteCustomerRepricingConfigMethod = - CloudChannelServiceGrpc.getDeleteCustomerRepricingConfigMethod) - == null) { + public static io.grpc.MethodDescriptor getDeleteCustomerRepricingConfigMethod() { + io.grpc.MethodDescriptor getDeleteCustomerRepricingConfigMethod; + if ((getDeleteCustomerRepricingConfigMethod = CloudChannelServiceGrpc.getDeleteCustomerRepricingConfigMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { - if ((getDeleteCustomerRepricingConfigMethod = - CloudChannelServiceGrpc.getDeleteCustomerRepricingConfigMethod) - == null) { - CloudChannelServiceGrpc.getDeleteCustomerRepricingConfigMethod = - getDeleteCustomerRepricingConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteCustomerRepricingConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier( - "DeleteCustomerRepricingConfig")) - .build(); + if ((getDeleteCustomerRepricingConfigMethod = CloudChannelServiceGrpc.getDeleteCustomerRepricingConfigMethod) == null) { + CloudChannelServiceGrpc.getDeleteCustomerRepricingConfigMethod = getDeleteCustomerRepricingConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCustomerRepricingConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("DeleteCustomerRepricingConfig")) + .build(); } } } return getDeleteCustomerRepricingConfigMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest, - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig> - getGetChannelPartnerRepricingConfigMethod; + private static volatile io.grpc.MethodDescriptor getGetChannelPartnerRepricingConfigMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetChannelPartnerRepricingConfig", requestType = com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest.class, responseType = com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest, - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig> - getGetChannelPartnerRepricingConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest, - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig> - getGetChannelPartnerRepricingConfigMethod; - if ((getGetChannelPartnerRepricingConfigMethod = - CloudChannelServiceGrpc.getGetChannelPartnerRepricingConfigMethod) - == null) { + public static io.grpc.MethodDescriptor getGetChannelPartnerRepricingConfigMethod() { + io.grpc.MethodDescriptor getGetChannelPartnerRepricingConfigMethod; + if ((getGetChannelPartnerRepricingConfigMethod = CloudChannelServiceGrpc.getGetChannelPartnerRepricingConfigMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { - if ((getGetChannelPartnerRepricingConfigMethod = - CloudChannelServiceGrpc.getGetChannelPartnerRepricingConfigMethod) - == null) { - CloudChannelServiceGrpc.getGetChannelPartnerRepricingConfigMethod = - getGetChannelPartnerRepricingConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetChannelPartnerRepricingConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig - .getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier( - "GetChannelPartnerRepricingConfig")) - .build(); + if ((getGetChannelPartnerRepricingConfigMethod = CloudChannelServiceGrpc.getGetChannelPartnerRepricingConfigMethod) == null) { + CloudChannelServiceGrpc.getGetChannelPartnerRepricingConfigMethod = getGetChannelPartnerRepricingConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetChannelPartnerRepricingConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("GetChannelPartnerRepricingConfig")) + .build(); } } } return getGetChannelPartnerRepricingConfigMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest, - com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse> - getListChannelPartnerRepricingConfigsMethod; + private static volatile io.grpc.MethodDescriptor getListChannelPartnerRepricingConfigsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListChannelPartnerRepricingConfigs", requestType = com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.class, responseType = com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest, - com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse> - getListChannelPartnerRepricingConfigsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest, - com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse> - getListChannelPartnerRepricingConfigsMethod; - if ((getListChannelPartnerRepricingConfigsMethod = - CloudChannelServiceGrpc.getListChannelPartnerRepricingConfigsMethod) - == null) { + public static io.grpc.MethodDescriptor getListChannelPartnerRepricingConfigsMethod() { + io.grpc.MethodDescriptor getListChannelPartnerRepricingConfigsMethod; + if ((getListChannelPartnerRepricingConfigsMethod = CloudChannelServiceGrpc.getListChannelPartnerRepricingConfigsMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { - if ((getListChannelPartnerRepricingConfigsMethod = - CloudChannelServiceGrpc.getListChannelPartnerRepricingConfigsMethod) - == null) { - CloudChannelServiceGrpc.getListChannelPartnerRepricingConfigsMethod = - getListChannelPartnerRepricingConfigsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - SERVICE_NAME, "ListChannelPartnerRepricingConfigs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier( - "ListChannelPartnerRepricingConfigs")) - .build(); + if ((getListChannelPartnerRepricingConfigsMethod = CloudChannelServiceGrpc.getListChannelPartnerRepricingConfigsMethod) == null) { + CloudChannelServiceGrpc.getListChannelPartnerRepricingConfigsMethod = getListChannelPartnerRepricingConfigsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListChannelPartnerRepricingConfigs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ListChannelPartnerRepricingConfigs")) + .build(); } } } return getListChannelPartnerRepricingConfigsMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest, - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig> - getCreateChannelPartnerRepricingConfigMethod; + private static volatile io.grpc.MethodDescriptor getCreateChannelPartnerRepricingConfigMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateChannelPartnerRepricingConfig", requestType = com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest.class, responseType = com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest, - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig> - getCreateChannelPartnerRepricingConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest, - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig> - getCreateChannelPartnerRepricingConfigMethod; - if ((getCreateChannelPartnerRepricingConfigMethod = - CloudChannelServiceGrpc.getCreateChannelPartnerRepricingConfigMethod) - == null) { + public static io.grpc.MethodDescriptor getCreateChannelPartnerRepricingConfigMethod() { + io.grpc.MethodDescriptor getCreateChannelPartnerRepricingConfigMethod; + if ((getCreateChannelPartnerRepricingConfigMethod = CloudChannelServiceGrpc.getCreateChannelPartnerRepricingConfigMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { - if ((getCreateChannelPartnerRepricingConfigMethod = - CloudChannelServiceGrpc.getCreateChannelPartnerRepricingConfigMethod) - == null) { - CloudChannelServiceGrpc.getCreateChannelPartnerRepricingConfigMethod = - getCreateChannelPartnerRepricingConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - SERVICE_NAME, "CreateChannelPartnerRepricingConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig - .getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier( - "CreateChannelPartnerRepricingConfig")) - .build(); + if ((getCreateChannelPartnerRepricingConfigMethod = CloudChannelServiceGrpc.getCreateChannelPartnerRepricingConfigMethod) == null) { + CloudChannelServiceGrpc.getCreateChannelPartnerRepricingConfigMethod = getCreateChannelPartnerRepricingConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateChannelPartnerRepricingConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("CreateChannelPartnerRepricingConfig")) + .build(); } } } return getCreateChannelPartnerRepricingConfigMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest, - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig> - getUpdateChannelPartnerRepricingConfigMethod; + private static volatile io.grpc.MethodDescriptor getUpdateChannelPartnerRepricingConfigMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateChannelPartnerRepricingConfig", requestType = com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest.class, responseType = com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest, - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig> - getUpdateChannelPartnerRepricingConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest, - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig> - getUpdateChannelPartnerRepricingConfigMethod; - if ((getUpdateChannelPartnerRepricingConfigMethod = - CloudChannelServiceGrpc.getUpdateChannelPartnerRepricingConfigMethod) - == null) { + public static io.grpc.MethodDescriptor getUpdateChannelPartnerRepricingConfigMethod() { + io.grpc.MethodDescriptor getUpdateChannelPartnerRepricingConfigMethod; + if ((getUpdateChannelPartnerRepricingConfigMethod = CloudChannelServiceGrpc.getUpdateChannelPartnerRepricingConfigMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { - if ((getUpdateChannelPartnerRepricingConfigMethod = - CloudChannelServiceGrpc.getUpdateChannelPartnerRepricingConfigMethod) - == null) { - CloudChannelServiceGrpc.getUpdateChannelPartnerRepricingConfigMethod = - getUpdateChannelPartnerRepricingConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - SERVICE_NAME, "UpdateChannelPartnerRepricingConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig - .getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier( - "UpdateChannelPartnerRepricingConfig")) - .build(); + if ((getUpdateChannelPartnerRepricingConfigMethod = CloudChannelServiceGrpc.getUpdateChannelPartnerRepricingConfigMethod) == null) { + CloudChannelServiceGrpc.getUpdateChannelPartnerRepricingConfigMethod = getUpdateChannelPartnerRepricingConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateChannelPartnerRepricingConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("UpdateChannelPartnerRepricingConfig")) + .build(); } } } return getUpdateChannelPartnerRepricingConfigMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest, - com.google.protobuf.Empty> - getDeleteChannelPartnerRepricingConfigMethod; + private static volatile io.grpc.MethodDescriptor getDeleteChannelPartnerRepricingConfigMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteChannelPartnerRepricingConfig", requestType = com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest.class, responseType = com.google.protobuf.Empty.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest, - com.google.protobuf.Empty> - getDeleteChannelPartnerRepricingConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest, - com.google.protobuf.Empty> - getDeleteChannelPartnerRepricingConfigMethod; - if ((getDeleteChannelPartnerRepricingConfigMethod = - CloudChannelServiceGrpc.getDeleteChannelPartnerRepricingConfigMethod) - == null) { + public static io.grpc.MethodDescriptor getDeleteChannelPartnerRepricingConfigMethod() { + io.grpc.MethodDescriptor getDeleteChannelPartnerRepricingConfigMethod; + if ((getDeleteChannelPartnerRepricingConfigMethod = CloudChannelServiceGrpc.getDeleteChannelPartnerRepricingConfigMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { - if ((getDeleteChannelPartnerRepricingConfigMethod = - CloudChannelServiceGrpc.getDeleteChannelPartnerRepricingConfigMethod) - == null) { - CloudChannelServiceGrpc.getDeleteChannelPartnerRepricingConfigMethod = - getDeleteChannelPartnerRepricingConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - SERVICE_NAME, "DeleteChannelPartnerRepricingConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier( - "DeleteChannelPartnerRepricingConfig")) - .build(); + if ((getDeleteChannelPartnerRepricingConfigMethod = CloudChannelServiceGrpc.getDeleteChannelPartnerRepricingConfigMethod) == null) { + CloudChannelServiceGrpc.getDeleteChannelPartnerRepricingConfigMethod = getDeleteChannelPartnerRepricingConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteChannelPartnerRepricingConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("DeleteChannelPartnerRepricingConfig")) + .build(); } } } return getDeleteChannelPartnerRepricingConfigMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.LookupOfferRequest, com.google.cloud.channel.v1.Offer> - getLookupOfferMethod; + private static volatile io.grpc.MethodDescriptor getLookupOfferMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "LookupOffer", requestType = com.google.cloud.channel.v1.LookupOfferRequest.class, responseType = com.google.cloud.channel.v1.Offer.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.LookupOfferRequest, com.google.cloud.channel.v1.Offer> - getLookupOfferMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.LookupOfferRequest, com.google.cloud.channel.v1.Offer> - getLookupOfferMethod; + public static io.grpc.MethodDescriptor getLookupOfferMethod() { + io.grpc.MethodDescriptor getLookupOfferMethod; if ((getLookupOfferMethod = CloudChannelServiceGrpc.getLookupOfferMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { if ((getLookupOfferMethod = CloudChannelServiceGrpc.getLookupOfferMethod) == null) { - CloudChannelServiceGrpc.getLookupOfferMethod = - getLookupOfferMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LookupOffer")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.LookupOfferRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.Offer.getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier("LookupOffer")) - .build(); + CloudChannelServiceGrpc.getLookupOfferMethod = getLookupOfferMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LookupOffer")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.LookupOfferRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.Offer.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("LookupOffer")) + .build(); } } } return getLookupOfferMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListProductsRequest, - com.google.cloud.channel.v1.ListProductsResponse> - getListProductsMethod; + private static volatile io.grpc.MethodDescriptor getListProductsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListProducts", requestType = com.google.cloud.channel.v1.ListProductsRequest.class, responseType = com.google.cloud.channel.v1.ListProductsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListProductsRequest, - com.google.cloud.channel.v1.ListProductsResponse> - getListProductsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListProductsRequest, - com.google.cloud.channel.v1.ListProductsResponse> - getListProductsMethod; + public static io.grpc.MethodDescriptor getListProductsMethod() { + io.grpc.MethodDescriptor getListProductsMethod; if ((getListProductsMethod = CloudChannelServiceGrpc.getListProductsMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { if ((getListProductsMethod = CloudChannelServiceGrpc.getListProductsMethod) == null) { - CloudChannelServiceGrpc.getListProductsMethod = - getListProductsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListProducts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ListProductsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ListProductsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier("ListProducts")) - .build(); + CloudChannelServiceGrpc.getListProductsMethod = getListProductsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListProducts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ListProductsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ListProductsResponse.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ListProducts")) + .build(); } } } return getListProductsMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListSkusRequest, com.google.cloud.channel.v1.ListSkusResponse> - getListSkusMethod; + private static volatile io.grpc.MethodDescriptor getListSkusMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListSkus", requestType = com.google.cloud.channel.v1.ListSkusRequest.class, responseType = com.google.cloud.channel.v1.ListSkusResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListSkusRequest, com.google.cloud.channel.v1.ListSkusResponse> - getListSkusMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListSkusRequest, - com.google.cloud.channel.v1.ListSkusResponse> - getListSkusMethod; + public static io.grpc.MethodDescriptor getListSkusMethod() { + io.grpc.MethodDescriptor getListSkusMethod; if ((getListSkusMethod = CloudChannelServiceGrpc.getListSkusMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { if ((getListSkusMethod = CloudChannelServiceGrpc.getListSkusMethod) == null) { - CloudChannelServiceGrpc.getListSkusMethod = - getListSkusMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSkus")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ListSkusRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ListSkusResponse.getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier("ListSkus")) - .build(); + CloudChannelServiceGrpc.getListSkusMethod = getListSkusMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSkus")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ListSkusRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ListSkusResponse.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ListSkus")) + .build(); } } } return getListSkusMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListOffersRequest, - com.google.cloud.channel.v1.ListOffersResponse> - getListOffersMethod; + private static volatile io.grpc.MethodDescriptor getListOffersMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListOffers", requestType = com.google.cloud.channel.v1.ListOffersRequest.class, responseType = com.google.cloud.channel.v1.ListOffersResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListOffersRequest, - com.google.cloud.channel.v1.ListOffersResponse> - getListOffersMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListOffersRequest, - com.google.cloud.channel.v1.ListOffersResponse> - getListOffersMethod; + public static io.grpc.MethodDescriptor getListOffersMethod() { + io.grpc.MethodDescriptor getListOffersMethod; if ((getListOffersMethod = CloudChannelServiceGrpc.getListOffersMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { if ((getListOffersMethod = CloudChannelServiceGrpc.getListOffersMethod) == null) { - CloudChannelServiceGrpc.getListOffersMethod = - getListOffersMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListOffers")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ListOffersRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ListOffersResponse.getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier("ListOffers")) - .build(); + CloudChannelServiceGrpc.getListOffersMethod = getListOffersMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListOffers")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ListOffersRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ListOffersResponse.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ListOffers")) + .build(); } } } return getListOffersMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListPurchasableSkusRequest, - com.google.cloud.channel.v1.ListPurchasableSkusResponse> - getListPurchasableSkusMethod; + private static volatile io.grpc.MethodDescriptor getListPurchasableSkusMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListPurchasableSkus", requestType = com.google.cloud.channel.v1.ListPurchasableSkusRequest.class, responseType = com.google.cloud.channel.v1.ListPurchasableSkusResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListPurchasableSkusRequest, - com.google.cloud.channel.v1.ListPurchasableSkusResponse> - getListPurchasableSkusMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListPurchasableSkusRequest, - com.google.cloud.channel.v1.ListPurchasableSkusResponse> - getListPurchasableSkusMethod; - if ((getListPurchasableSkusMethod = CloudChannelServiceGrpc.getListPurchasableSkusMethod) - == null) { + public static io.grpc.MethodDescriptor getListPurchasableSkusMethod() { + io.grpc.MethodDescriptor getListPurchasableSkusMethod; + if ((getListPurchasableSkusMethod = CloudChannelServiceGrpc.getListPurchasableSkusMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { - if ((getListPurchasableSkusMethod = CloudChannelServiceGrpc.getListPurchasableSkusMethod) - == null) { - CloudChannelServiceGrpc.getListPurchasableSkusMethod = - getListPurchasableSkusMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListPurchasableSkus")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ListPurchasableSkusRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ListPurchasableSkusResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier("ListPurchasableSkus")) - .build(); + if ((getListPurchasableSkusMethod = CloudChannelServiceGrpc.getListPurchasableSkusMethod) == null) { + CloudChannelServiceGrpc.getListPurchasableSkusMethod = getListPurchasableSkusMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPurchasableSkus")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ListPurchasableSkusRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ListPurchasableSkusResponse.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ListPurchasableSkus")) + .build(); } } } return getListPurchasableSkusMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListPurchasableOffersRequest, - com.google.cloud.channel.v1.ListPurchasableOffersResponse> - getListPurchasableOffersMethod; + private static volatile io.grpc.MethodDescriptor getListPurchasableOffersMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListPurchasableOffers", requestType = com.google.cloud.channel.v1.ListPurchasableOffersRequest.class, responseType = com.google.cloud.channel.v1.ListPurchasableOffersResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListPurchasableOffersRequest, - com.google.cloud.channel.v1.ListPurchasableOffersResponse> - getListPurchasableOffersMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListPurchasableOffersRequest, - com.google.cloud.channel.v1.ListPurchasableOffersResponse> - getListPurchasableOffersMethod; - if ((getListPurchasableOffersMethod = CloudChannelServiceGrpc.getListPurchasableOffersMethod) - == null) { + public static io.grpc.MethodDescriptor getListPurchasableOffersMethod() { + io.grpc.MethodDescriptor getListPurchasableOffersMethod; + if ((getListPurchasableOffersMethod = CloudChannelServiceGrpc.getListPurchasableOffersMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { - if ((getListPurchasableOffersMethod = - CloudChannelServiceGrpc.getListPurchasableOffersMethod) - == null) { - CloudChannelServiceGrpc.getListPurchasableOffersMethod = - getListPurchasableOffersMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListPurchasableOffers")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ListPurchasableOffersRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ListPurchasableOffersResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier("ListPurchasableOffers")) - .build(); + if ((getListPurchasableOffersMethod = CloudChannelServiceGrpc.getListPurchasableOffersMethod) == null) { + CloudChannelServiceGrpc.getListPurchasableOffersMethod = getListPurchasableOffersMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPurchasableOffers")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ListPurchasableOffersRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ListPurchasableOffersResponse.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ListPurchasableOffers")) + .build(); } } } return getListPurchasableOffersMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.RegisterSubscriberRequest, - com.google.cloud.channel.v1.RegisterSubscriberResponse> - getRegisterSubscriberMethod; + private static volatile io.grpc.MethodDescriptor getRegisterSubscriberMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "RegisterSubscriber", requestType = com.google.cloud.channel.v1.RegisterSubscriberRequest.class, responseType = com.google.cloud.channel.v1.RegisterSubscriberResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.RegisterSubscriberRequest, - com.google.cloud.channel.v1.RegisterSubscriberResponse> - getRegisterSubscriberMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.RegisterSubscriberRequest, - com.google.cloud.channel.v1.RegisterSubscriberResponse> - getRegisterSubscriberMethod; - if ((getRegisterSubscriberMethod = CloudChannelServiceGrpc.getRegisterSubscriberMethod) - == null) { + public static io.grpc.MethodDescriptor getRegisterSubscriberMethod() { + io.grpc.MethodDescriptor getRegisterSubscriberMethod; + if ((getRegisterSubscriberMethod = CloudChannelServiceGrpc.getRegisterSubscriberMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { - if ((getRegisterSubscriberMethod = CloudChannelServiceGrpc.getRegisterSubscriberMethod) - == null) { - CloudChannelServiceGrpc.getRegisterSubscriberMethod = - getRegisterSubscriberMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RegisterSubscriber")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.RegisterSubscriberRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.RegisterSubscriberResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier("RegisterSubscriber")) - .build(); + if ((getRegisterSubscriberMethod = CloudChannelServiceGrpc.getRegisterSubscriberMethod) == null) { + CloudChannelServiceGrpc.getRegisterSubscriberMethod = getRegisterSubscriberMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RegisterSubscriber")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.RegisterSubscriberRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.RegisterSubscriberResponse.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("RegisterSubscriber")) + .build(); } } } return getRegisterSubscriberMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.UnregisterSubscriberRequest, - com.google.cloud.channel.v1.UnregisterSubscriberResponse> - getUnregisterSubscriberMethod; + private static volatile io.grpc.MethodDescriptor getUnregisterSubscriberMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UnregisterSubscriber", requestType = com.google.cloud.channel.v1.UnregisterSubscriberRequest.class, responseType = com.google.cloud.channel.v1.UnregisterSubscriberResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.UnregisterSubscriberRequest, - com.google.cloud.channel.v1.UnregisterSubscriberResponse> - getUnregisterSubscriberMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.UnregisterSubscriberRequest, - com.google.cloud.channel.v1.UnregisterSubscriberResponse> - getUnregisterSubscriberMethod; - if ((getUnregisterSubscriberMethod = CloudChannelServiceGrpc.getUnregisterSubscriberMethod) - == null) { + public static io.grpc.MethodDescriptor getUnregisterSubscriberMethod() { + io.grpc.MethodDescriptor getUnregisterSubscriberMethod; + if ((getUnregisterSubscriberMethod = CloudChannelServiceGrpc.getUnregisterSubscriberMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { - if ((getUnregisterSubscriberMethod = CloudChannelServiceGrpc.getUnregisterSubscriberMethod) - == null) { - CloudChannelServiceGrpc.getUnregisterSubscriberMethod = - getUnregisterSubscriberMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UnregisterSubscriber")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.UnregisterSubscriberRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.UnregisterSubscriberResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier("UnregisterSubscriber")) - .build(); + if ((getUnregisterSubscriberMethod = CloudChannelServiceGrpc.getUnregisterSubscriberMethod) == null) { + CloudChannelServiceGrpc.getUnregisterSubscriberMethod = getUnregisterSubscriberMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UnregisterSubscriber")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.UnregisterSubscriberRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.UnregisterSubscriberResponse.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("UnregisterSubscriber")) + .build(); } } } return getUnregisterSubscriberMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListSubscribersRequest, - com.google.cloud.channel.v1.ListSubscribersResponse> - getListSubscribersMethod; + private static volatile io.grpc.MethodDescriptor getListSubscribersMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListSubscribers", requestType = com.google.cloud.channel.v1.ListSubscribersRequest.class, responseType = com.google.cloud.channel.v1.ListSubscribersResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListSubscribersRequest, - com.google.cloud.channel.v1.ListSubscribersResponse> - getListSubscribersMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.channel.v1.ListSubscribersRequest, - com.google.cloud.channel.v1.ListSubscribersResponse> - getListSubscribersMethod; + public static io.grpc.MethodDescriptor getListSubscribersMethod() { + io.grpc.MethodDescriptor getListSubscribersMethod; if ((getListSubscribersMethod = CloudChannelServiceGrpc.getListSubscribersMethod) == null) { synchronized (CloudChannelServiceGrpc.class) { if ((getListSubscribersMethod = CloudChannelServiceGrpc.getListSubscribersMethod) == null) { - CloudChannelServiceGrpc.getListSubscribersMethod = - getListSubscribersMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSubscribers")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ListSubscribersRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.channel.v1.ListSubscribersResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new CloudChannelServiceMethodDescriptorSupplier("ListSubscribers")) - .build(); + CloudChannelServiceGrpc.getListSubscribersMethod = getListSubscribersMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSubscribers")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ListSubscribersRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.channel.v1.ListSubscribersResponse.getDefaultInstance())) + .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ListSubscribers")) + .build(); } } } return getListSubscribersMethod; } - /** Creates a new async stub that supports all call types for the service */ + /** + * Creates a new async stub that supports all call types for the service + */ public static CloudChannelServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CloudChannelServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CloudChannelServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CloudChannelServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CloudChannelServiceStub(channel, callOptions); + } + }; return CloudChannelServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static CloudChannelServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + public static CloudChannelServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CloudChannelServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CloudChannelServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CloudChannelServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CloudChannelServiceBlockingStub(channel, callOptions); + } + }; return CloudChannelServiceBlockingStub.newStub(factory, channel); } - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static CloudChannelServiceFutureStub newFutureStub(io.grpc.Channel channel) { + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static CloudChannelServiceFutureStub newFutureStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CloudChannelServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CloudChannelServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CloudChannelServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CloudChannelServiceFutureStub(channel, callOptions); + } + }; return CloudChannelServiceFutureStub.newStub(factory, channel); } /** - * - * *
    * CloudChannelService lets Google cloud resellers and distributors manage
    * their customers, channel partners, entitlements, and reports.
@@ -2282,20 +1482,19 @@ public CloudChannelServiceFutureStub newStub(
    *    provide them with delegated admin access.
    * 3. Resellers and distributors can manage customer entitlements.
    * CloudChannelService exposes the following resources:
-   * - [Customer][google.cloud.channel.v1.Customer]s: An entity—usually an enterprise—managed by a reseller or
-   * distributor.
-   * - [Entitlement][google.cloud.channel.v1.Entitlement]s: An entity that provides a customer with the means to use
-   * a service. Entitlements are created or updated as a result of a successful
-   * fulfillment.
-   * - [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s: An entity that identifies links between
-   * distributors and their indirect resellers in a channel.
+   * - [Customer][google.cloud.channel.v1.Customer]s: An entity-usually an
+   * enterprise-managed by a reseller or distributor.
+   * - [Entitlement][google.cloud.channel.v1.Entitlement]s: An entity that
+   * provides a customer with the means to use a service. Entitlements are created
+   * or updated as a result of a successful fulfillment.
+   * - [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s: An
+   * entity that identifies links between distributors and their indirect
+   * resellers in a channel.
    * 
*/ - public abstract static class CloudChannelServiceImplBase implements io.grpc.BindableService { + public static abstract class CloudChannelServiceImplBase implements io.grpc.BindableService { /** - * - * *
      * List [Customer][google.cloud.channel.v1.Customer]s.
      * Possible error codes:
@@ -2303,22 +1502,19 @@ public abstract static class CloudChannelServiceImplBase implements io.grpc.Bind
      * from the reseller account in the API request.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * Return value:
-     * List of [Customer][google.cloud.channel.v1.Customer]s, or an empty list if there are no customers.
+     * List of [Customer][google.cloud.channel.v1.Customer]s, or an empty list if
+     * there are no customers.
      * 
*/ - public void listCustomers( - com.google.cloud.channel.v1.ListCustomersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListCustomersMethod(), responseObserver); + public void listCustomers(com.google.cloud.channel.v1.ListCustomersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCustomersMethod(), responseObserver); } /** - * - * *
-     * Returns the requested [Customer][google.cloud.channel.v1.Customer] resource.
+     * Returns the requested [Customer][google.cloud.channel.v1.Customer]
+     * resource.
      * Possible error codes:
      * * PERMISSION_DENIED: The reseller account making the request is different
      * from the reseller account in the API request.
@@ -2329,16 +1525,12 @@ public void listCustomers(
      * The [Customer][google.cloud.channel.v1.Customer] resource.
      * 
*/ - public void getCustomer( - com.google.cloud.channel.v1.GetCustomerRequest request, + public void getCustomer(com.google.cloud.channel.v1.GetCustomerRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetCustomerMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCustomerMethod(), responseObserver); } /** - * - * *
      * Confirms the existence of Cloud Identity accounts based on the domain and
      * if the Cloud Identity accounts are owned by the reseller.
@@ -2348,27 +1540,24 @@ public void getCustomer(
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * * INVALID_VALUE: Invalid domain value in the request.
      * Return value:
-     * A list of [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources for the domain (may be
-     * empty)
+     * A list of
+     * [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount]
+     * resources for the domain (may be empty)
      * Note: in the v1alpha1 version of the API, a NOT_FOUND error returns if
-     * no [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources match the domain.
+     * no
+     * [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount]
+     * resources match the domain.
      * 
*/ - public void checkCloudIdentityAccountsExist( - com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCheckCloudIdentityAccountsExistMethod(), responseObserver); + public void checkCloudIdentityAccountsExist(com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCheckCloudIdentityAccountsExistMethod(), responseObserver); } /** - * - * *
-     * Creates a new [Customer][google.cloud.channel.v1.Customer] resource under the reseller or distributor
-     * account.
+     * Creates a new [Customer][google.cloud.channel.v1.Customer] resource under
+     * the reseller or distributor account.
      * Possible error codes:
      * * PERMISSION_DENIED: The reseller account making the request is different
      * from the reseller account in the API request.
@@ -2379,38 +1568,31 @@ public void checkCloudIdentityAccountsExist(
      * The newly created [Customer][google.cloud.channel.v1.Customer] resource.
      * 
*/ - public void createCustomer( - com.google.cloud.channel.v1.CreateCustomerRequest request, + public void createCustomer(com.google.cloud.channel.v1.CreateCustomerRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateCustomerMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCustomerMethod(), responseObserver); } /** - * - * *
-     * Updates an existing [Customer][google.cloud.channel.v1.Customer] resource for the reseller or
-     * distributor.
+     * Updates an existing [Customer][google.cloud.channel.v1.Customer] resource
+     * for the reseller or distributor.
      * Possible error codes:
      * * PERMISSION_DENIED: The reseller account making the request is different
      * from the reseller account in the API request.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
-     * * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found for the name in the request.
+     * * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found
+     * for the name in the request.
      * Return value:
      * The updated [Customer][google.cloud.channel.v1.Customer] resource.
      * 
*/ - public void updateCustomer( - com.google.cloud.channel.v1.UpdateCustomerRequest request, + public void updateCustomer(com.google.cloud.channel.v1.UpdateCustomerRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateCustomerMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateCustomerMethod(), responseObserver); } /** - * - * *
      * Deletes the given [Customer][google.cloud.channel.v1.Customer] permanently.
      * Possible error codes:
@@ -2418,24 +1600,21 @@ public void updateCustomer(
      * this customer.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * * FAILED_PRECONDITION: The customer has existing entitlements.
-     * * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found for the name in the request.
+     * * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found
+     * for the name in the request.
      * 
*/ - public void deleteCustomer( - com.google.cloud.channel.v1.DeleteCustomerRequest request, + public void deleteCustomer(com.google.cloud.channel.v1.DeleteCustomerRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteCustomerMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteCustomerMethod(), responseObserver); } /** - * - * *
-     * Imports a [Customer][google.cloud.channel.v1.Customer] from the Cloud Identity associated with the provided
-     * Cloud Identity ID or domain before a TransferEntitlements call. If a
-     * linked Customer already exists and overwrite_if_exists is true, it will
-     * update that Customer's data.
+     * Imports a [Customer][google.cloud.channel.v1.Customer] from the Cloud
+     * Identity associated with the provided Cloud Identity ID or domain before a
+     * TransferEntitlements call. If a linked Customer already exists and
+     * overwrite_if_exists is true, it will update that Customer's data.
      * Possible error codes:
      * * PERMISSION_DENIED: The reseller account making the request is different
      * from the reseller account in the API request.
@@ -2448,16 +1627,12 @@ public void deleteCustomer(
      * The [Customer][google.cloud.channel.v1.Customer].
      * 
*/ - public void importCustomer( - com.google.cloud.channel.v1.ImportCustomerRequest request, + public void importCustomer(com.google.cloud.channel.v1.ImportCustomerRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getImportCustomerMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportCustomerMethod(), responseObserver); } /** - * - * *
      * Creates a Cloud Identity for the given customer using the customer's
      * information, or the information provided here.
@@ -2478,39 +1653,32 @@ public void importCustomer(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void provisionCloudIdentity( - com.google.cloud.channel.v1.ProvisionCloudIdentityRequest request, + public void provisionCloudIdentity(com.google.cloud.channel.v1.ProvisionCloudIdentityRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getProvisionCloudIdentityMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getProvisionCloudIdentityMethod(), responseObserver); } /** - * - * *
-     * Lists [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to a customer.
+     * Lists [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to a
+     * customer.
      * Possible error codes:
      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * Return value:
-     * A list of the customer's [Entitlement][google.cloud.channel.v1.Entitlement]s.
+     * A list of the customer's
+     * [Entitlement][google.cloud.channel.v1.Entitlement]s.
      * 
*/ - public void listEntitlements( - com.google.cloud.channel.v1.ListEntitlementsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListEntitlementsMethod(), responseObserver); + public void listEntitlements(com.google.cloud.channel.v1.ListEntitlementsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListEntitlementsMethod(), responseObserver); } /** - * - * *
-     * List [TransferableSku][google.cloud.channel.v1.TransferableSku]s of a customer based on the Cloud Identity ID or
-     * Customer Name in the request.
+     * List [TransferableSku][google.cloud.channel.v1.TransferableSku]s of a
+     * customer based on the Cloud Identity ID or Customer Name in the request.
      * Use this method to list the entitlements information of an
      * unowned customer. You should provide the customer's
      * Cloud Identity ID or Customer Name.
@@ -2522,23 +1690,19 @@ public void listEntitlements(
      *     from the reseller account in the query.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * Return value:
-     * A list of the customer's [TransferableSku][google.cloud.channel.v1.TransferableSku].
+     * A list of the customer's
+     * [TransferableSku][google.cloud.channel.v1.TransferableSku].
      * 
*/ - public void listTransferableSkus( - com.google.cloud.channel.v1.ListTransferableSkusRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListTransferableSkusMethod(), responseObserver); + public void listTransferableSkus(com.google.cloud.channel.v1.ListTransferableSkusRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTransferableSkusMethod(), responseObserver); } /** - * - * *
-     * List [TransferableOffer][google.cloud.channel.v1.TransferableOffer]s of a customer based on Cloud Identity ID or
-     * Customer Name in the request.
+     * List [TransferableOffer][google.cloud.channel.v1.TransferableOffer]s of a
+     * customer based on Cloud Identity ID or Customer Name in the request.
      * Use this method when a reseller gets the entitlement information of an
      * unowned customer. The reseller should provide the customer's
      * Cloud Identity ID or Customer Name.
@@ -2551,22 +1715,19 @@ public void listTransferableSkus(
      *     from the reseller account in the query.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * Return value:
-     * List of [TransferableOffer][google.cloud.channel.v1.TransferableOffer] for the given customer and SKU.
+     * List of [TransferableOffer][google.cloud.channel.v1.TransferableOffer] for
+     * the given customer and SKU.
      * 
*/ - public void listTransferableOffers( - com.google.cloud.channel.v1.ListTransferableOffersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListTransferableOffersMethod(), responseObserver); + public void listTransferableOffers(com.google.cloud.channel.v1.ListTransferableOffersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTransferableOffersMethod(), responseObserver); } /** - * - * *
-     * Returns the requested [Entitlement][google.cloud.channel.v1.Entitlement] resource.
+     * Returns the requested [Entitlement][google.cloud.channel.v1.Entitlement]
+     * resource.
      * Possible error codes:
      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
@@ -2575,16 +1736,12 @@ public void listTransferableOffers(
      * The requested [Entitlement][google.cloud.channel.v1.Entitlement] resource.
      * 
*/ - public void getEntitlement( - com.google.cloud.channel.v1.GetEntitlementRequest request, + public void getEntitlement(com.google.cloud.channel.v1.GetEntitlementRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetEntitlementMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEntitlementMethod(), responseObserver); } /** - * - * *
      * Creates an entitlement for a customer.
      * Possible error codes:
@@ -2620,16 +1777,12 @@ public void getEntitlement(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void createEntitlement( - com.google.cloud.channel.v1.CreateEntitlementRequest request, + public void createEntitlement(com.google.cloud.channel.v1.CreateEntitlementRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateEntitlementMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateEntitlementMethod(), responseObserver); } /** - * - * *
      * Change parameters of the entitlement.
      * An entitlement update is a long-running operation and it updates the
@@ -2651,16 +1804,12 @@ public void createEntitlement(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void changeParameters( - com.google.cloud.channel.v1.ChangeParametersRequest request, + public void changeParameters(com.google.cloud.channel.v1.ChangeParametersRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getChangeParametersMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getChangeParametersMethod(), responseObserver); } /** - * - * *
      * Updates the renewal settings for an existing customer entitlement.
      * An entitlement update is a long-running operation and it updates the
@@ -2682,16 +1831,12 @@ public void changeParameters(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void changeRenewalSettings( - com.google.cloud.channel.v1.ChangeRenewalSettingsRequest request, + public void changeRenewalSettings(com.google.cloud.channel.v1.ChangeRenewalSettingsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getChangeRenewalSettingsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getChangeRenewalSettingsMethod(), responseObserver); } /** - * - * *
      * Updates the Offer for an existing customer entitlement.
      * An entitlement update is a long-running operation and it updates the
@@ -2711,16 +1856,12 @@ public void changeRenewalSettings(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void changeOffer( - com.google.cloud.channel.v1.ChangeOfferRequest request, + public void changeOffer(com.google.cloud.channel.v1.ChangeOfferRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getChangeOfferMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getChangeOfferMethod(), responseObserver); } /** - * - * *
      * Starts paid service for a trial entitlement.
      * Starts paid service for a trial entitlement immediately. This method is
@@ -2743,16 +1884,12 @@ public void changeOffer(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void startPaidService( - com.google.cloud.channel.v1.StartPaidServiceRequest request, + public void startPaidService(com.google.cloud.channel.v1.StartPaidServiceRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getStartPaidServiceMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStartPaidServiceMethod(), responseObserver); } /** - * - * *
      * Suspends a previously fulfilled entitlement.
      * An entitlement suspension is a long-running operation.
@@ -2772,16 +1909,12 @@ public void startPaidService(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void suspendEntitlement( - com.google.cloud.channel.v1.SuspendEntitlementRequest request, + public void suspendEntitlement(com.google.cloud.channel.v1.SuspendEntitlementRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSuspendEntitlementMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSuspendEntitlementMethod(), responseObserver); } /** - * - * *
      * Cancels a previously fulfilled entitlement.
      * An entitlement cancellation is a long-running operation.
@@ -2806,16 +1939,12 @@ public void suspendEntitlement(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void cancelEntitlement( - com.google.cloud.channel.v1.CancelEntitlementRequest request, + public void cancelEntitlement(com.google.cloud.channel.v1.CancelEntitlementRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCancelEntitlementMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelEntitlementMethod(), responseObserver); } /** - * - * *
      * Activates a previously suspended entitlement. Entitlements suspended for
      * pending ToS acceptance can't be activated using this method.
@@ -2841,16 +1970,12 @@ public void cancelEntitlement(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void activateEntitlement( - com.google.cloud.channel.v1.ActivateEntitlementRequest request, + public void activateEntitlement(com.google.cloud.channel.v1.ActivateEntitlementRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getActivateEntitlementMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getActivateEntitlementMethod(), responseObserver); } /** - * - * *
      * Transfers customer entitlements to new reseller.
      * Possible error codes:
@@ -2879,16 +2004,12 @@ public void activateEntitlement(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void transferEntitlements( - com.google.cloud.channel.v1.TransferEntitlementsRequest request, + public void transferEntitlements(com.google.cloud.channel.v1.TransferEntitlementsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTransferEntitlementsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTransferEntitlementsMethod(), responseObserver); } /** - * - * *
      * Transfers customer entitlements from their current reseller to Google.
      * Possible error codes:
@@ -2917,40 +2038,33 @@ public void transferEntitlements(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void transferEntitlementsToGoogle( - com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest request, + public void transferEntitlementsToGoogle(com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTransferEntitlementsToGoogleMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTransferEntitlementsToGoogleMethod(), responseObserver); } /** - * - * *
-     * List [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s belonging to a distributor.
-     * You must be a distributor to call this method.
+     * List [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s
+     * belonging to a distributor. You must be a distributor to call this method.
      * Possible error codes:
      * * PERMISSION_DENIED: The reseller account making the request is different
      * from the reseller account in the API request.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * Return value:
-     * The list of the distributor account's [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources.
+     * The list of the distributor account's
+     * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources.
      * 
*/ - public void listChannelPartnerLinks( - com.google.cloud.channel.v1.ListChannelPartnerLinksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListChannelPartnerLinksMethod(), responseObserver); + public void listChannelPartnerLinks(com.google.cloud.channel.v1.ListChannelPartnerLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListChannelPartnerLinksMethod(), responseObserver); } /** - * - * *
-     * Returns the requested [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
+     * Returns the requested
+     * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
      * You must be a distributor to call this method.
      * Possible error codes:
      * * PERMISSION_DENIED: The reseller account making the request is different
@@ -2959,20 +2073,16 @@ public void listChannelPartnerLinks(
      * * NOT_FOUND: ChannelPartnerLink resource not found because of an
      * invalid channel partner link name.
      * Return value:
-     * The [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
+     * The [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]
+     * resource.
      * 
*/ - public void getChannelPartnerLink( - com.google.cloud.channel.v1.GetChannelPartnerLinkRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetChannelPartnerLinkMethod(), responseObserver); + public void getChannelPartnerLink(com.google.cloud.channel.v1.GetChannelPartnerLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetChannelPartnerLinkMethod(), responseObserver); } /** - * - * *
      * Initiates a channel partner link between a distributor and a reseller, or
      * between resellers in an n-tier reseller channel.
@@ -2992,20 +2102,16 @@ public void getChannelPartnerLink(
      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
      * Contact Cloud Channel support.
      * Return value:
-     * The new [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
+     * The new [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]
+     * resource.
      * 
*/ - public void createChannelPartnerLink( - com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateChannelPartnerLinkMethod(), responseObserver); + public void createChannelPartnerLink(com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateChannelPartnerLinkMethod(), responseObserver); } /** - * - * *
      * Updates a channel partner link. Distributors call this method to change a
      * link's status. For example, to suspend a partner link.
@@ -3024,58 +2130,55 @@ public void createChannelPartnerLink(
      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
      * Contact Cloud Channel support.
      * Return value:
-     * The updated [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
+     * The updated
+     * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
      * 
*/ - public void updateChannelPartnerLink( - com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateChannelPartnerLinkMethod(), responseObserver); + public void updateChannelPartnerLink(com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateChannelPartnerLinkMethod(), responseObserver); } /** - * - * *
      * Gets information about how a Reseller modifies their bill before sending
      * it to a Customer.
      * Possible Error Codes:
      * * PERMISSION_DENIED: If the account making the request and the account
      * being queried are different.
-     * * NOT_FOUND: The [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] was not found.
+     * * NOT_FOUND: The
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * was not found.
      * * INTERNAL: Any non-user error related to technical issues in the
      * backend. In this case, contact Cloud Channel support.
      * Return Value:
-     * If successful, the [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] resource, otherwise returns
-     * an error.
+     * If successful, the
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * resource, otherwise returns an error.
      * 
*/ - public void getCustomerRepricingConfig( - com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetCustomerRepricingConfigMethod(), responseObserver); + public void getCustomerRepricingConfig(com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCustomerRepricingConfigMethod(), responseObserver); } /** - * - * *
      * Lists information about how a Reseller modifies their bill before sending
      * it to a Customer.
      * Possible Error Codes:
      * * PERMISSION_DENIED: If the account making the request and the account
      * being queried are different.
-     * * NOT_FOUND: The [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] specified does not exist or is
-     * not associated with the given account.
+     * * NOT_FOUND: The
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * specified does not exist or is not associated with the given account.
      * * INTERNAL: Any non-user error related to technical issues in the
      * backend. In this case, contact Cloud Channel support.
      * Return Value:
-     * If successful, the [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] resources. The
-     * data for each resource is displayed in the ascending order of:
+     * If successful, the
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * resources. The data for each resource is displayed in the ascending order
+     * of:
      * * customer ID
      * * [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]
      * * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
@@ -3083,24 +2186,18 @@ public void getCustomerRepricingConfig(
      * If unsuccessful, returns an error.
      * 
*/ - public void listCustomerRepricingConfigs( - com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListCustomerRepricingConfigsMethod(), responseObserver); + public void listCustomerRepricingConfigs(com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCustomerRepricingConfigsMethod(), responseObserver); } /** - * - * *
      * Creates a CustomerRepricingConfig. Call this method to set modifications
      * for a specific customer's bill. You can only create configs if the
-     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is a
-     * future month. If needed, you can create a config for the current month,
-     * with some restrictions.
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * is a future month. If needed, you can create a config for the current
+     * month, with some restrictions.
      * When creating a config for a future month, make sure there are no existing
      * configs for that
      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
@@ -3111,9 +2208,11 @@ public void listCustomerRepricingConfigs(
      * Changes to the config may be immediate, but may take up to 24 hours.
      * * There is a limit of ten configs for any
      * [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]
-     * or [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
-     * * The contained [CustomerRepricingConfig.repricing_config][google.cloud.channel.v1.CustomerRepricingConfig.repricing_config] vaule must be
-     * different from the value used in the current config for a
+     * or
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
+     * * The contained
+     * [CustomerRepricingConfig.repricing_config][google.cloud.channel.v1.CustomerRepricingConfig.repricing_config]
+     * vaule must be different from the value used in the current config for a
      * [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement].
      * Possible Error Codes:
      * * PERMISSION_DENIED: If the account making the request and the account
@@ -3121,35 +2220,33 @@ public void listCustomerRepricingConfigs(
      * * INVALID_ARGUMENT: Missing or invalid required parameters in the
      * request. Also displays if the updated config is for the current month or
      * past months.
-     * * NOT_FOUND: The [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] specified does not exist or is
-     * not associated with the given account.
+     * * NOT_FOUND: The
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * specified does not exist or is not associated with the given account.
      * * INTERNAL: Any non-user error related to technical issues in the
      * backend. In this case, contact Cloud Channel support.
      * Return Value:
-     * If successful, the updated [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] resource, otherwise
-     * returns an error.
+     * If successful, the updated
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * resource, otherwise returns an error.
      * 
*/ - public void createCustomerRepricingConfig( - com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateCustomerRepricingConfigMethod(), responseObserver); + public void createCustomerRepricingConfig(com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCustomerRepricingConfigMethod(), responseObserver); } /** - * - * *
      * Updates a CustomerRepricingConfig. Call this method to set modifications
      * for a specific customer's bill. This method overwrites the existing
      * CustomerRepricingConfig.
      * You can only update configs if the
-     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is a
-     * future month. To make changes to configs for the current month, use
-     * [CreateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig], taking note of its restrictions. You
-     * cannot update the [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * is a future month. To make changes to configs for the current month, use
+     * [CreateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig],
+     * taking note of its restrictions. You cannot update the
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
      * When updating a config in the future:
      * * This config must already exist.
      * Possible Error Codes:
@@ -3158,112 +2255,105 @@ public void createCustomerRepricingConfig(
      * * INVALID_ARGUMENT: Missing or invalid required parameters in the
      * request. Also displays if the updated config is for the current month or
      * past months.
-     * * NOT_FOUND: The [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] specified does not exist or is
-     * not associated with the given account.
+     * * NOT_FOUND: The
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * specified does not exist or is not associated with the given account.
      * * INTERNAL: Any non-user error related to technical issues in the
      * backend. In this case, contact Cloud Channel support.
      * Return Value:
-     * If successful, the updated [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] resource, otherwise
-     * returns an error.
+     * If successful, the updated
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * resource, otherwise returns an error.
      * 
*/ - public void updateCustomerRepricingConfig( - com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateCustomerRepricingConfigMethod(), responseObserver); + public void updateCustomerRepricingConfig(com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateCustomerRepricingConfigMethod(), responseObserver); } /** - * - * *
-     * Deletes the given [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] permanently. You can only
-     * delete configs if their [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is set
-     * to a date after the current month.
+     * Deletes the given
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * permanently. You can only delete configs if their
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * is set to a date after the current month.
      * Possible error codes:
      * * PERMISSION_DENIED: The account making the request does not own
      * this customer.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
-     * * FAILED_PRECONDITION: The [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] is active or in the
-     * past.
-     * * NOT_FOUND: No [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] found for the name in the
-     * request.
+     * * FAILED_PRECONDITION: The
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * is active or in the past.
+     * * NOT_FOUND: No
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * found for the name in the request.
      * 
*/ - public void deleteCustomerRepricingConfig( - com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest request, + public void deleteCustomerRepricingConfig(com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteCustomerRepricingConfigMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteCustomerRepricingConfigMethod(), responseObserver); } /** - * - * *
      * Gets information about how a Distributor modifies their bill before sending
      * it to a ChannelPartner.
      * Possible Error Codes:
      * * PERMISSION_DENIED: If the account making the request and the account
      * being queried are different.
-     * * NOT_FOUND: The [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] was not found.
+     * * NOT_FOUND: The
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * was not found.
      * * INTERNAL: Any non-user error related to technical issues in the
      * backend. In this case, contact Cloud Channel support.
      * Return Value:
-     * If successful, the [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] resource, otherwise
-     * returns an error.
+     * If successful, the
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * resource, otherwise returns an error.
      * 
*/ - public void getChannelPartnerRepricingConfig( - com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetChannelPartnerRepricingConfigMethod(), responseObserver); + public void getChannelPartnerRepricingConfig(com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetChannelPartnerRepricingConfigMethod(), responseObserver); } /** - * - * *
      * Lists information about how a Reseller modifies their bill before sending
      * it to a ChannelPartner.
      * Possible Error Codes:
      * * PERMISSION_DENIED: If the account making the request and the account
      * being queried are different.
-     * * NOT_FOUND: The [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] specified does not exist
-     * or is not associated with the given account.
+     * * NOT_FOUND: The
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * specified does not exist or is not associated with the given account.
      * * INTERNAL: Any non-user error related to technical issues in the
      * backend. In this case, contact Cloud Channel support.
      * Return Value:
-     * If successful, the [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] resources.
-     * The data for each resource is displayed in the ascending order of:
+     * If successful, the
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * resources. The data for each resource is displayed in the ascending order
+     * of:
      * * channel partner ID
      * * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
      * * [ChannelPartnerRepricingConfig.update_time][google.cloud.channel.v1.ChannelPartnerRepricingConfig.update_time]
      * If unsuccessful, returns an error.
      * 
*/ - public void listChannelPartnerRepricingConfigs( - com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListChannelPartnerRepricingConfigsMethod(), responseObserver); + public void listChannelPartnerRepricingConfigs(com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListChannelPartnerRepricingConfigsMethod(), responseObserver); } /** - * - * *
      * Creates a ChannelPartnerRepricingConfig. Call this method to set
      * modifications for a specific ChannelPartner's bill. You can only create
-     * configs if the [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is a future
-     * month. If needed, you can create a config for the current month, with some
-     * restrictions.
+     * configs if the
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * is a future month. If needed, you can create a config for the current
+     * month, with some restrictions.
      * When creating a config for a future month, make sure there are no existing
      * configs for that
      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
@@ -3274,8 +2364,9 @@ public void listChannelPartnerRepricingConfigs(
      * Changes to the config may be immediate, but may take up to 24 hours.
      * * There is a limit of ten configs for any ChannelPartner or
      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
-     * * The contained [ChannelPartnerRepricingConfig.repricing_config][google.cloud.channel.v1.ChannelPartnerRepricingConfig.repricing_config] vaule
-     * must be different from the value used in the current config for a
+     * * The contained
+     * [ChannelPartnerRepricingConfig.repricing_config][google.cloud.channel.v1.ChannelPartnerRepricingConfig.repricing_config]
+     * vaule must be different from the value used in the current config for a
      * ChannelPartner.
      * Possible Error Codes:
      * * PERMISSION_DENIED: If the account making the request and the account
@@ -3283,35 +2374,33 @@ public void listChannelPartnerRepricingConfigs(
      * * INVALID_ARGUMENT: Missing or invalid required parameters in the
      * request. Also displays if the updated config is for the current month or
      * past months.
-     * * NOT_FOUND: The [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] specified does not exist
-     * or is not associated with the given account.
+     * * NOT_FOUND: The
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * specified does not exist or is not associated with the given account.
      * * INTERNAL: Any non-user error related to technical issues in the
      * backend. In this case, contact Cloud Channel support.
      * Return Value:
-     * If successful, the updated [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] resource,
-     * otherwise returns an error.
+     * If successful, the updated
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * resource, otherwise returns an error.
      * 
*/ - public void createChannelPartnerRepricingConfig( - com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateChannelPartnerRepricingConfigMethod(), responseObserver); + public void createChannelPartnerRepricingConfig(com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateChannelPartnerRepricingConfigMethod(), responseObserver); } /** - * - * *
      * Updates a ChannelPartnerRepricingConfig. Call this method to set
      * modifications for a specific ChannelPartner's bill. This method overwrites
      * the existing CustomerRepricingConfig.
      * You can only update configs if the
-     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is a
-     * future month. To make changes to configs for the current month, use
-     * [CreateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerRepricingConfig], taking note of its restrictions.
-     * You cannot update the [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * is a future month. To make changes to configs for the current month, use
+     * [CreateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerRepricingConfig],
+     * taking note of its restrictions. You cannot update the
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
      * When updating a config in the future:
      * * This config must already exist.
      * Possible Error Codes:
@@ -3320,50 +2409,47 @@ public void createChannelPartnerRepricingConfig(
      * * INVALID_ARGUMENT: Missing or invalid required parameters in the
      * request. Also displays if the updated config is for the current month or
      * past months.
-     * * NOT_FOUND: The [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] specified does not exist
-     * or is not associated with the given account.
+     * * NOT_FOUND: The
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * specified does not exist or is not associated with the given account.
      * * INTERNAL: Any non-user error related to technical issues in the
      * backend. In this case, contact Cloud Channel support.
      * Return Value:
-     * If successful, the updated [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] resource,
-     * otherwise returns an error.
+     * If successful, the updated
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * resource, otherwise returns an error.
      * 
*/ - public void updateChannelPartnerRepricingConfig( - com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateChannelPartnerRepricingConfigMethod(), responseObserver); + public void updateChannelPartnerRepricingConfig(com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateChannelPartnerRepricingConfigMethod(), responseObserver); } /** - * - * *
-     * Deletes the given [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] permanently. You can
-     * only delete configs if their [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is
-     * set to a date after the current month.
+     * Deletes the given
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * permanently. You can only delete configs if their
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * is set to a date after the current month.
      * Possible error codes:
      * * PERMISSION_DENIED: The account making the request does not own
      * this customer.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
-     * * FAILED_PRECONDITION: The [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] is active or
-     * in the past.
-     * * NOT_FOUND: No [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] found for the name in the
-     * request.
+     * * FAILED_PRECONDITION: The
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * is active or in the past.
+     * * NOT_FOUND: No
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * found for the name in the request.
      * 
*/ - public void deleteChannelPartnerRepricingConfig( - com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest request, + public void deleteChannelPartnerRepricingConfig(com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteChannelPartnerRepricingConfigMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteChannelPartnerRepricingConfigMethod(), responseObserver); } /** - * - * *
      * Returns the requested [Offer][google.cloud.channel.v1.Offer] resource.
      * Possible error codes:
@@ -3374,65 +2460,48 @@ public void deleteChannelPartnerRepricingConfig(
      * The [Offer][google.cloud.channel.v1.Offer] resource.
      * 
*/ - public void lookupOffer( - com.google.cloud.channel.v1.LookupOfferRequest request, + public void lookupOffer(com.google.cloud.channel.v1.LookupOfferRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getLookupOfferMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getLookupOfferMethod(), responseObserver); } /** - * - * *
      * Lists the Products the reseller is authorized to sell.
      * Possible error codes:
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public void listProducts( - com.google.cloud.channel.v1.ListProductsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListProductsMethod(), responseObserver); + public void listProducts(com.google.cloud.channel.v1.ListProductsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListProductsMethod(), responseObserver); } /** - * - * *
      * Lists the SKUs for a product the reseller is authorized to sell.
      * Possible error codes:
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public void listSkus( - com.google.cloud.channel.v1.ListSkusRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listSkus(com.google.cloud.channel.v1.ListSkusRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListSkusMethod(), responseObserver); } /** - * - * *
      * Lists the Offers the reseller can sell.
      * Possible error codes:
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public void listOffers( - com.google.cloud.channel.v1.ListOffersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listOffers(com.google.cloud.channel.v1.ListOffersRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListOffersMethod(), responseObserver); } /** - * - * *
      * Lists the following:
      * * SKUs that you can purchase for a customer
@@ -3442,17 +2511,12 @@ public void listOffers(
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public void listPurchasableSkus( - com.google.cloud.channel.v1.ListPurchasableSkusRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListPurchasableSkusMethod(), responseObserver); + public void listPurchasableSkus(com.google.cloud.channel.v1.ListPurchasableSkusRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPurchasableSkusMethod(), responseObserver); } /** - * - * *
      * Lists the following:
      * * Offers that you can purchase for a customer.
@@ -3462,21 +2526,17 @@ public void listPurchasableSkus(
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public void listPurchasableOffers( - com.google.cloud.channel.v1.ListPurchasableOffersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListPurchasableOffersMethod(), responseObserver); + public void listPurchasableOffers(com.google.cloud.channel.v1.ListPurchasableOffersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPurchasableOffersMethod(), responseObserver); } /** - * - * *
      * Registers a service account with subscriber privileges on the Cloud Pub/Sub
      * topic for this Channel Services account. After you create a
-     * subscriber, you get the events through [SubscriberEvent][google.cloud.channel.v1.SubscriberEvent]
+     * subscriber, you get the events through
+     * [SubscriberEvent][google.cloud.channel.v1.SubscriberEvent]
      * Possible error codes:
      * * PERMISSION_DENIED: The reseller account making the request and the
      * provided reseller account are different, or the impersonated user
@@ -3490,17 +2550,12 @@ public void listPurchasableOffers(
      * The topic name with the registered service email address.
      * 
*/ - public void registerSubscriber( - com.google.cloud.channel.v1.RegisterSubscriberRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRegisterSubscriberMethod(), responseObserver); + public void registerSubscriber(com.google.cloud.channel.v1.RegisterSubscriberRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRegisterSubscriberMethod(), responseObserver); } /** - * - * *
      * Unregisters a service account with subscriber privileges on the Cloud
      * Pub/Sub topic created for this Channel Services account. If there are no
@@ -3522,17 +2577,12 @@ public void registerSubscriber(
      * with the topic.
      * 
*/ - public void unregisterSubscriber( - com.google.cloud.channel.v1.UnregisterSubscriberRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUnregisterSubscriberMethod(), responseObserver); + public void unregisterSubscriber(com.google.cloud.channel.v1.UnregisterSubscriberRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUnregisterSubscriberMethod(), responseObserver); } /** - * - * *
      * Lists service accounts with subscriber privileges on the Cloud Pub/Sub
      * topic created for this Channel Services account.
@@ -3550,319 +2600,333 @@ public void unregisterSubscriber(
      * A list of service email addresses.
      * 
*/ - public void listSubscribers( - com.google.cloud.channel.v1.ListSubscribersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListSubscribersMethod(), responseObserver); + public void listSubscribers(com.google.cloud.channel.v1.ListSubscribersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListSubscribersMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListCustomersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ListCustomersRequest, - com.google.cloud.channel.v1.ListCustomersResponse>( - this, METHODID_LIST_CUSTOMERS))) + getListCustomersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ListCustomersRequest, + com.google.cloud.channel.v1.ListCustomersResponse>( + this, METHODID_LIST_CUSTOMERS))) .addMethod( - getGetCustomerMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.GetCustomerRequest, - com.google.cloud.channel.v1.Customer>(this, METHODID_GET_CUSTOMER))) + getGetCustomerMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.GetCustomerRequest, + com.google.cloud.channel.v1.Customer>( + this, METHODID_GET_CUSTOMER))) .addMethod( - getCheckCloudIdentityAccountsExistMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest, - com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse>( - this, METHODID_CHECK_CLOUD_IDENTITY_ACCOUNTS_EXIST))) + getCheckCloudIdentityAccountsExistMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest, + com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse>( + this, METHODID_CHECK_CLOUD_IDENTITY_ACCOUNTS_EXIST))) .addMethod( - getCreateCustomerMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.CreateCustomerRequest, - com.google.cloud.channel.v1.Customer>(this, METHODID_CREATE_CUSTOMER))) + getCreateCustomerMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.CreateCustomerRequest, + com.google.cloud.channel.v1.Customer>( + this, METHODID_CREATE_CUSTOMER))) .addMethod( - getUpdateCustomerMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.UpdateCustomerRequest, - com.google.cloud.channel.v1.Customer>(this, METHODID_UPDATE_CUSTOMER))) + getUpdateCustomerMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.UpdateCustomerRequest, + com.google.cloud.channel.v1.Customer>( + this, METHODID_UPDATE_CUSTOMER))) .addMethod( - getDeleteCustomerMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.DeleteCustomerRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_CUSTOMER))) + getDeleteCustomerMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.DeleteCustomerRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_CUSTOMER))) .addMethod( - getImportCustomerMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ImportCustomerRequest, - com.google.cloud.channel.v1.Customer>(this, METHODID_IMPORT_CUSTOMER))) + getImportCustomerMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ImportCustomerRequest, + com.google.cloud.channel.v1.Customer>( + this, METHODID_IMPORT_CUSTOMER))) .addMethod( - getProvisionCloudIdentityMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ProvisionCloudIdentityRequest, - com.google.longrunning.Operation>(this, METHODID_PROVISION_CLOUD_IDENTITY))) + getProvisionCloudIdentityMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ProvisionCloudIdentityRequest, + com.google.longrunning.Operation>( + this, METHODID_PROVISION_CLOUD_IDENTITY))) .addMethod( - getListEntitlementsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ListEntitlementsRequest, - com.google.cloud.channel.v1.ListEntitlementsResponse>( - this, METHODID_LIST_ENTITLEMENTS))) + getListEntitlementsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ListEntitlementsRequest, + com.google.cloud.channel.v1.ListEntitlementsResponse>( + this, METHODID_LIST_ENTITLEMENTS))) .addMethod( - getListTransferableSkusMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ListTransferableSkusRequest, - com.google.cloud.channel.v1.ListTransferableSkusResponse>( - this, METHODID_LIST_TRANSFERABLE_SKUS))) + getListTransferableSkusMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ListTransferableSkusRequest, + com.google.cloud.channel.v1.ListTransferableSkusResponse>( + this, METHODID_LIST_TRANSFERABLE_SKUS))) .addMethod( - getListTransferableOffersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ListTransferableOffersRequest, - com.google.cloud.channel.v1.ListTransferableOffersResponse>( - this, METHODID_LIST_TRANSFERABLE_OFFERS))) + getListTransferableOffersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ListTransferableOffersRequest, + com.google.cloud.channel.v1.ListTransferableOffersResponse>( + this, METHODID_LIST_TRANSFERABLE_OFFERS))) .addMethod( - getGetEntitlementMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.GetEntitlementRequest, - com.google.cloud.channel.v1.Entitlement>(this, METHODID_GET_ENTITLEMENT))) + getGetEntitlementMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.GetEntitlementRequest, + com.google.cloud.channel.v1.Entitlement>( + this, METHODID_GET_ENTITLEMENT))) .addMethod( - getCreateEntitlementMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.CreateEntitlementRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_ENTITLEMENT))) + getCreateEntitlementMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.CreateEntitlementRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_ENTITLEMENT))) .addMethod( - getChangeParametersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ChangeParametersRequest, - com.google.longrunning.Operation>(this, METHODID_CHANGE_PARAMETERS))) + getChangeParametersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ChangeParametersRequest, + com.google.longrunning.Operation>( + this, METHODID_CHANGE_PARAMETERS))) .addMethod( - getChangeRenewalSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ChangeRenewalSettingsRequest, - com.google.longrunning.Operation>(this, METHODID_CHANGE_RENEWAL_SETTINGS))) + getChangeRenewalSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ChangeRenewalSettingsRequest, + com.google.longrunning.Operation>( + this, METHODID_CHANGE_RENEWAL_SETTINGS))) .addMethod( - getChangeOfferMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ChangeOfferRequest, - com.google.longrunning.Operation>(this, METHODID_CHANGE_OFFER))) + getChangeOfferMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ChangeOfferRequest, + com.google.longrunning.Operation>( + this, METHODID_CHANGE_OFFER))) .addMethod( - getStartPaidServiceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.StartPaidServiceRequest, - com.google.longrunning.Operation>(this, METHODID_START_PAID_SERVICE))) + getStartPaidServiceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.StartPaidServiceRequest, + com.google.longrunning.Operation>( + this, METHODID_START_PAID_SERVICE))) .addMethod( - getSuspendEntitlementMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.SuspendEntitlementRequest, - com.google.longrunning.Operation>(this, METHODID_SUSPEND_ENTITLEMENT))) + getSuspendEntitlementMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.SuspendEntitlementRequest, + com.google.longrunning.Operation>( + this, METHODID_SUSPEND_ENTITLEMENT))) .addMethod( - getCancelEntitlementMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.CancelEntitlementRequest, - com.google.longrunning.Operation>(this, METHODID_CANCEL_ENTITLEMENT))) + getCancelEntitlementMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.CancelEntitlementRequest, + com.google.longrunning.Operation>( + this, METHODID_CANCEL_ENTITLEMENT))) .addMethod( - getActivateEntitlementMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ActivateEntitlementRequest, - com.google.longrunning.Operation>(this, METHODID_ACTIVATE_ENTITLEMENT))) + getActivateEntitlementMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ActivateEntitlementRequest, + com.google.longrunning.Operation>( + this, METHODID_ACTIVATE_ENTITLEMENT))) .addMethod( - getTransferEntitlementsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.TransferEntitlementsRequest, - com.google.longrunning.Operation>(this, METHODID_TRANSFER_ENTITLEMENTS))) + getTransferEntitlementsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.TransferEntitlementsRequest, + com.google.longrunning.Operation>( + this, METHODID_TRANSFER_ENTITLEMENTS))) .addMethod( - getTransferEntitlementsToGoogleMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest, - com.google.longrunning.Operation>( - this, METHODID_TRANSFER_ENTITLEMENTS_TO_GOOGLE))) + getTransferEntitlementsToGoogleMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest, + com.google.longrunning.Operation>( + this, METHODID_TRANSFER_ENTITLEMENTS_TO_GOOGLE))) .addMethod( - getListChannelPartnerLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ListChannelPartnerLinksRequest, - com.google.cloud.channel.v1.ListChannelPartnerLinksResponse>( - this, METHODID_LIST_CHANNEL_PARTNER_LINKS))) + getListChannelPartnerLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ListChannelPartnerLinksRequest, + com.google.cloud.channel.v1.ListChannelPartnerLinksResponse>( + this, METHODID_LIST_CHANNEL_PARTNER_LINKS))) .addMethod( - getGetChannelPartnerLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.GetChannelPartnerLinkRequest, - com.google.cloud.channel.v1.ChannelPartnerLink>( - this, METHODID_GET_CHANNEL_PARTNER_LINK))) + getGetChannelPartnerLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.GetChannelPartnerLinkRequest, + com.google.cloud.channel.v1.ChannelPartnerLink>( + this, METHODID_GET_CHANNEL_PARTNER_LINK))) .addMethod( - getCreateChannelPartnerLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest, - com.google.cloud.channel.v1.ChannelPartnerLink>( - this, METHODID_CREATE_CHANNEL_PARTNER_LINK))) + getCreateChannelPartnerLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest, + com.google.cloud.channel.v1.ChannelPartnerLink>( + this, METHODID_CREATE_CHANNEL_PARTNER_LINK))) .addMethod( - getUpdateChannelPartnerLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest, - com.google.cloud.channel.v1.ChannelPartnerLink>( - this, METHODID_UPDATE_CHANNEL_PARTNER_LINK))) + getUpdateChannelPartnerLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest, + com.google.cloud.channel.v1.ChannelPartnerLink>( + this, METHODID_UPDATE_CHANNEL_PARTNER_LINK))) .addMethod( - getGetCustomerRepricingConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest, - com.google.cloud.channel.v1.CustomerRepricingConfig>( - this, METHODID_GET_CUSTOMER_REPRICING_CONFIG))) + getGetCustomerRepricingConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest, + com.google.cloud.channel.v1.CustomerRepricingConfig>( + this, METHODID_GET_CUSTOMER_REPRICING_CONFIG))) .addMethod( - getListCustomerRepricingConfigsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest, - com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse>( - this, METHODID_LIST_CUSTOMER_REPRICING_CONFIGS))) + getListCustomerRepricingConfigsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest, + com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse>( + this, METHODID_LIST_CUSTOMER_REPRICING_CONFIGS))) .addMethod( - getCreateCustomerRepricingConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest, - com.google.cloud.channel.v1.CustomerRepricingConfig>( - this, METHODID_CREATE_CUSTOMER_REPRICING_CONFIG))) + getCreateCustomerRepricingConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest, + com.google.cloud.channel.v1.CustomerRepricingConfig>( + this, METHODID_CREATE_CUSTOMER_REPRICING_CONFIG))) .addMethod( - getUpdateCustomerRepricingConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest, - com.google.cloud.channel.v1.CustomerRepricingConfig>( - this, METHODID_UPDATE_CUSTOMER_REPRICING_CONFIG))) + getUpdateCustomerRepricingConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest, + com.google.cloud.channel.v1.CustomerRepricingConfig>( + this, METHODID_UPDATE_CUSTOMER_REPRICING_CONFIG))) .addMethod( - getDeleteCustomerRepricingConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_CUSTOMER_REPRICING_CONFIG))) + getDeleteCustomerRepricingConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_CUSTOMER_REPRICING_CONFIG))) .addMethod( - getGetChannelPartnerRepricingConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest, - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>( - this, METHODID_GET_CHANNEL_PARTNER_REPRICING_CONFIG))) + getGetChannelPartnerRepricingConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest, + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>( + this, METHODID_GET_CHANNEL_PARTNER_REPRICING_CONFIG))) .addMethod( - getListChannelPartnerRepricingConfigsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest, - com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse>( - this, METHODID_LIST_CHANNEL_PARTNER_REPRICING_CONFIGS))) + getListChannelPartnerRepricingConfigsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest, + com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse>( + this, METHODID_LIST_CHANNEL_PARTNER_REPRICING_CONFIGS))) .addMethod( - getCreateChannelPartnerRepricingConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest, - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>( - this, METHODID_CREATE_CHANNEL_PARTNER_REPRICING_CONFIG))) + getCreateChannelPartnerRepricingConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest, + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>( + this, METHODID_CREATE_CHANNEL_PARTNER_REPRICING_CONFIG))) .addMethod( - getUpdateChannelPartnerRepricingConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest, - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>( - this, METHODID_UPDATE_CHANNEL_PARTNER_REPRICING_CONFIG))) + getUpdateChannelPartnerRepricingConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest, + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>( + this, METHODID_UPDATE_CHANNEL_PARTNER_REPRICING_CONFIG))) .addMethod( - getDeleteChannelPartnerRepricingConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_CHANNEL_PARTNER_REPRICING_CONFIG))) + getDeleteChannelPartnerRepricingConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_CHANNEL_PARTNER_REPRICING_CONFIG))) .addMethod( - getLookupOfferMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.LookupOfferRequest, - com.google.cloud.channel.v1.Offer>(this, METHODID_LOOKUP_OFFER))) + getLookupOfferMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.LookupOfferRequest, + com.google.cloud.channel.v1.Offer>( + this, METHODID_LOOKUP_OFFER))) .addMethod( - getListProductsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ListProductsRequest, - com.google.cloud.channel.v1.ListProductsResponse>( - this, METHODID_LIST_PRODUCTS))) + getListProductsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ListProductsRequest, + com.google.cloud.channel.v1.ListProductsResponse>( + this, METHODID_LIST_PRODUCTS))) .addMethod( - getListSkusMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ListSkusRequest, - com.google.cloud.channel.v1.ListSkusResponse>(this, METHODID_LIST_SKUS))) + getListSkusMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ListSkusRequest, + com.google.cloud.channel.v1.ListSkusResponse>( + this, METHODID_LIST_SKUS))) .addMethod( - getListOffersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ListOffersRequest, - com.google.cloud.channel.v1.ListOffersResponse>(this, METHODID_LIST_OFFERS))) + getListOffersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ListOffersRequest, + com.google.cloud.channel.v1.ListOffersResponse>( + this, METHODID_LIST_OFFERS))) .addMethod( - getListPurchasableSkusMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ListPurchasableSkusRequest, - com.google.cloud.channel.v1.ListPurchasableSkusResponse>( - this, METHODID_LIST_PURCHASABLE_SKUS))) + getListPurchasableSkusMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ListPurchasableSkusRequest, + com.google.cloud.channel.v1.ListPurchasableSkusResponse>( + this, METHODID_LIST_PURCHASABLE_SKUS))) .addMethod( - getListPurchasableOffersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ListPurchasableOffersRequest, - com.google.cloud.channel.v1.ListPurchasableOffersResponse>( - this, METHODID_LIST_PURCHASABLE_OFFERS))) + getListPurchasableOffersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ListPurchasableOffersRequest, + com.google.cloud.channel.v1.ListPurchasableOffersResponse>( + this, METHODID_LIST_PURCHASABLE_OFFERS))) .addMethod( - getRegisterSubscriberMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.RegisterSubscriberRequest, - com.google.cloud.channel.v1.RegisterSubscriberResponse>( - this, METHODID_REGISTER_SUBSCRIBER))) + getRegisterSubscriberMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.RegisterSubscriberRequest, + com.google.cloud.channel.v1.RegisterSubscriberResponse>( + this, METHODID_REGISTER_SUBSCRIBER))) .addMethod( - getUnregisterSubscriberMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.UnregisterSubscriberRequest, - com.google.cloud.channel.v1.UnregisterSubscriberResponse>( - this, METHODID_UNREGISTER_SUBSCRIBER))) + getUnregisterSubscriberMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.UnregisterSubscriberRequest, + com.google.cloud.channel.v1.UnregisterSubscriberResponse>( + this, METHODID_UNREGISTER_SUBSCRIBER))) .addMethod( - getListSubscribersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ListSubscribersRequest, - com.google.cloud.channel.v1.ListSubscribersResponse>( - this, METHODID_LIST_SUBSCRIBERS))) + getListSubscribersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ListSubscribersRequest, + com.google.cloud.channel.v1.ListSubscribersResponse>( + this, METHODID_LIST_SUBSCRIBERS))) .build(); } } /** - * - * *
    * CloudChannelService lets Google cloud resellers and distributors manage
    * their customers, channel partners, entitlements, and reports.
@@ -3872,18 +2936,19 @@ public final io.grpc.ServerServiceDefinition bindService() {
    *    provide them with delegated admin access.
    * 3. Resellers and distributors can manage customer entitlements.
    * CloudChannelService exposes the following resources:
-   * - [Customer][google.cloud.channel.v1.Customer]s: An entity—usually an enterprise—managed by a reseller or
-   * distributor.
-   * - [Entitlement][google.cloud.channel.v1.Entitlement]s: An entity that provides a customer with the means to use
-   * a service. Entitlements are created or updated as a result of a successful
-   * fulfillment.
-   * - [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s: An entity that identifies links between
-   * distributors and their indirect resellers in a channel.
+   * - [Customer][google.cloud.channel.v1.Customer]s: An entity-usually an
+   * enterprise-managed by a reseller or distributor.
+   * - [Entitlement][google.cloud.channel.v1.Entitlement]s: An entity that
+   * provides a customer with the means to use a service. Entitlements are created
+   * or updated as a result of a successful fulfillment.
+   * - [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s: An
+   * entity that identifies links between distributors and their indirect
+   * resellers in a channel.
    * 
*/ - public static final class CloudChannelServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private CloudChannelServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudChannelServiceStub extends io.grpc.stub.AbstractAsyncStub { + private CloudChannelServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -3894,8 +2959,6 @@ protected CloudChannelServiceStub build( } /** - * - * *
      * List [Customer][google.cloud.channel.v1.Customer]s.
      * Possible error codes:
@@ -3903,24 +2966,20 @@ protected CloudChannelServiceStub build(
      * from the reseller account in the API request.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * Return value:
-     * List of [Customer][google.cloud.channel.v1.Customer]s, or an empty list if there are no customers.
+     * List of [Customer][google.cloud.channel.v1.Customer]s, or an empty list if
+     * there are no customers.
      * 
*/ - public void listCustomers( - com.google.cloud.channel.v1.ListCustomersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listCustomers(com.google.cloud.channel.v1.ListCustomersRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCustomersMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListCustomersMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
-     * Returns the requested [Customer][google.cloud.channel.v1.Customer] resource.
+     * Returns the requested [Customer][google.cloud.channel.v1.Customer]
+     * resource.
      * Possible error codes:
      * * PERMISSION_DENIED: The reseller account making the request is different
      * from the reseller account in the API request.
@@ -3931,18 +2990,13 @@ public void listCustomers(
      * The [Customer][google.cloud.channel.v1.Customer] resource.
      * 
*/ - public void getCustomer( - com.google.cloud.channel.v1.GetCustomerRequest request, + public void getCustomer(com.google.cloud.channel.v1.GetCustomerRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCustomerMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetCustomerMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Confirms the existence of Cloud Identity accounts based on the domain and
      * if the Cloud Identity accounts are owned by the reseller.
@@ -3952,29 +3006,25 @@ public void getCustomer(
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * * INVALID_VALUE: Invalid domain value in the request.
      * Return value:
-     * A list of [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources for the domain (may be
-     * empty)
+     * A list of
+     * [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount]
+     * resources for the domain (may be empty)
      * Note: in the v1alpha1 version of the API, a NOT_FOUND error returns if
-     * no [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources match the domain.
+     * no
+     * [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount]
+     * resources match the domain.
      * 
*/ - public void checkCloudIdentityAccountsExist( - com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse> - responseObserver) { + public void checkCloudIdentityAccountsExist(com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCheckCloudIdentityAccountsExistMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCheckCloudIdentityAccountsExistMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
-     * Creates a new [Customer][google.cloud.channel.v1.Customer] resource under the reseller or distributor
-     * account.
+     * Creates a new [Customer][google.cloud.channel.v1.Customer] resource under
+     * the reseller or distributor account.
      * Possible error codes:
      * * PERMISSION_DENIED: The reseller account making the request is different
      * from the reseller account in the API request.
@@ -3985,42 +3035,33 @@ public void checkCloudIdentityAccountsExist(
      * The newly created [Customer][google.cloud.channel.v1.Customer] resource.
      * 
*/ - public void createCustomer( - com.google.cloud.channel.v1.CreateCustomerRequest request, + public void createCustomer(com.google.cloud.channel.v1.CreateCustomerRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCustomerMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateCustomerMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
-     * Updates an existing [Customer][google.cloud.channel.v1.Customer] resource for the reseller or
-     * distributor.
+     * Updates an existing [Customer][google.cloud.channel.v1.Customer] resource
+     * for the reseller or distributor.
      * Possible error codes:
      * * PERMISSION_DENIED: The reseller account making the request is different
      * from the reseller account in the API request.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
-     * * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found for the name in the request.
+     * * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found
+     * for the name in the request.
      * Return value:
      * The updated [Customer][google.cloud.channel.v1.Customer] resource.
      * 
*/ - public void updateCustomer( - com.google.cloud.channel.v1.UpdateCustomerRequest request, + public void updateCustomer(com.google.cloud.channel.v1.UpdateCustomerRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateCustomerMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateCustomerMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes the given [Customer][google.cloud.channel.v1.Customer] permanently.
      * Possible error codes:
@@ -4028,26 +3069,22 @@ public void updateCustomer(
      * this customer.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * * FAILED_PRECONDITION: The customer has existing entitlements.
-     * * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found for the name in the request.
+     * * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found
+     * for the name in the request.
      * 
*/ - public void deleteCustomer( - com.google.cloud.channel.v1.DeleteCustomerRequest request, + public void deleteCustomer(com.google.cloud.channel.v1.DeleteCustomerRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteCustomerMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteCustomerMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
-     * Imports a [Customer][google.cloud.channel.v1.Customer] from the Cloud Identity associated with the provided
-     * Cloud Identity ID or domain before a TransferEntitlements call. If a
-     * linked Customer already exists and overwrite_if_exists is true, it will
-     * update that Customer's data.
+     * Imports a [Customer][google.cloud.channel.v1.Customer] from the Cloud
+     * Identity associated with the provided Cloud Identity ID or domain before a
+     * TransferEntitlements call. If a linked Customer already exists and
+     * overwrite_if_exists is true, it will update that Customer's data.
      * Possible error codes:
      * * PERMISSION_DENIED: The reseller account making the request is different
      * from the reseller account in the API request.
@@ -4060,18 +3097,13 @@ public void deleteCustomer(
      * The [Customer][google.cloud.channel.v1.Customer].
      * 
*/ - public void importCustomer( - com.google.cloud.channel.v1.ImportCustomerRequest request, + public void importCustomer(com.google.cloud.channel.v1.ImportCustomerRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportCustomerMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getImportCustomerMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a Cloud Identity for the given customer using the customer's
      * information, or the information provided here.
@@ -4092,43 +3124,34 @@ public void importCustomer(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void provisionCloudIdentity( - com.google.cloud.channel.v1.ProvisionCloudIdentityRequest request, + public void provisionCloudIdentity(com.google.cloud.channel.v1.ProvisionCloudIdentityRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getProvisionCloudIdentityMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getProvisionCloudIdentityMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
-     * Lists [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to a customer.
+     * Lists [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to a
+     * customer.
      * Possible error codes:
      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * Return value:
-     * A list of the customer's [Entitlement][google.cloud.channel.v1.Entitlement]s.
+     * A list of the customer's
+     * [Entitlement][google.cloud.channel.v1.Entitlement]s.
      * 
*/ - public void listEntitlements( - com.google.cloud.channel.v1.ListEntitlementsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listEntitlements(com.google.cloud.channel.v1.ListEntitlementsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListEntitlementsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListEntitlementsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
-     * List [TransferableSku][google.cloud.channel.v1.TransferableSku]s of a customer based on the Cloud Identity ID or
-     * Customer Name in the request.
+     * List [TransferableSku][google.cloud.channel.v1.TransferableSku]s of a
+     * customer based on the Cloud Identity ID or Customer Name in the request.
      * Use this method to list the entitlements information of an
      * unowned customer. You should provide the customer's
      * Cloud Identity ID or Customer Name.
@@ -4140,25 +3163,20 @@ public void listEntitlements(
      *     from the reseller account in the query.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * Return value:
-     * A list of the customer's [TransferableSku][google.cloud.channel.v1.TransferableSku].
+     * A list of the customer's
+     * [TransferableSku][google.cloud.channel.v1.TransferableSku].
      * 
*/ - public void listTransferableSkus( - com.google.cloud.channel.v1.ListTransferableSkusRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listTransferableSkus(com.google.cloud.channel.v1.ListTransferableSkusRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTransferableSkusMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListTransferableSkusMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
-     * List [TransferableOffer][google.cloud.channel.v1.TransferableOffer]s of a customer based on Cloud Identity ID or
-     * Customer Name in the request.
+     * List [TransferableOffer][google.cloud.channel.v1.TransferableOffer]s of a
+     * customer based on Cloud Identity ID or Customer Name in the request.
      * Use this method when a reseller gets the entitlement information of an
      * unowned customer. The reseller should provide the customer's
      * Cloud Identity ID or Customer Name.
@@ -4171,24 +3189,20 @@ public void listTransferableSkus(
      *     from the reseller account in the query.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * Return value:
-     * List of [TransferableOffer][google.cloud.channel.v1.TransferableOffer] for the given customer and SKU.
+     * List of [TransferableOffer][google.cloud.channel.v1.TransferableOffer] for
+     * the given customer and SKU.
      * 
*/ - public void listTransferableOffers( - com.google.cloud.channel.v1.ListTransferableOffersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listTransferableOffers(com.google.cloud.channel.v1.ListTransferableOffersRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTransferableOffersMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListTransferableOffersMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
-     * Returns the requested [Entitlement][google.cloud.channel.v1.Entitlement] resource.
+     * Returns the requested [Entitlement][google.cloud.channel.v1.Entitlement]
+     * resource.
      * Possible error codes:
      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
@@ -4197,18 +3211,13 @@ public void listTransferableOffers(
      * The requested [Entitlement][google.cloud.channel.v1.Entitlement] resource.
      * 
*/ - public void getEntitlement( - com.google.cloud.channel.v1.GetEntitlementRequest request, + public void getEntitlement(com.google.cloud.channel.v1.GetEntitlementRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetEntitlementMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetEntitlementMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates an entitlement for a customer.
      * Possible error codes:
@@ -4244,18 +3253,13 @@ public void getEntitlement(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void createEntitlement( - com.google.cloud.channel.v1.CreateEntitlementRequest request, + public void createEntitlement(com.google.cloud.channel.v1.CreateEntitlementRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateEntitlementMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateEntitlementMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Change parameters of the entitlement.
      * An entitlement update is a long-running operation and it updates the
@@ -4277,18 +3281,13 @@ public void createEntitlement(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void changeParameters( - com.google.cloud.channel.v1.ChangeParametersRequest request, + public void changeParameters(com.google.cloud.channel.v1.ChangeParametersRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getChangeParametersMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getChangeParametersMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates the renewal settings for an existing customer entitlement.
      * An entitlement update is a long-running operation and it updates the
@@ -4310,18 +3309,13 @@ public void changeParameters(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void changeRenewalSettings( - com.google.cloud.channel.v1.ChangeRenewalSettingsRequest request, + public void changeRenewalSettings(com.google.cloud.channel.v1.ChangeRenewalSettingsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getChangeRenewalSettingsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getChangeRenewalSettingsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates the Offer for an existing customer entitlement.
      * An entitlement update is a long-running operation and it updates the
@@ -4341,18 +3335,13 @@ public void changeRenewalSettings(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void changeOffer( - com.google.cloud.channel.v1.ChangeOfferRequest request, + public void changeOffer(com.google.cloud.channel.v1.ChangeOfferRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getChangeOfferMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getChangeOfferMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Starts paid service for a trial entitlement.
      * Starts paid service for a trial entitlement immediately. This method is
@@ -4375,18 +3364,13 @@ public void changeOffer(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void startPaidService( - com.google.cloud.channel.v1.StartPaidServiceRequest request, + public void startPaidService(com.google.cloud.channel.v1.StartPaidServiceRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getStartPaidServiceMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getStartPaidServiceMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Suspends a previously fulfilled entitlement.
      * An entitlement suspension is a long-running operation.
@@ -4406,18 +3390,13 @@ public void startPaidService(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void suspendEntitlement( - com.google.cloud.channel.v1.SuspendEntitlementRequest request, + public void suspendEntitlement(com.google.cloud.channel.v1.SuspendEntitlementRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSuspendEntitlementMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getSuspendEntitlementMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Cancels a previously fulfilled entitlement.
      * An entitlement cancellation is a long-running operation.
@@ -4442,18 +3421,13 @@ public void suspendEntitlement(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void cancelEntitlement( - com.google.cloud.channel.v1.CancelEntitlementRequest request, + public void cancelEntitlement(com.google.cloud.channel.v1.CancelEntitlementRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelEntitlementMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCancelEntitlementMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Activates a previously suspended entitlement. Entitlements suspended for
      * pending ToS acceptance can't be activated using this method.
@@ -4479,18 +3453,13 @@ public void cancelEntitlement(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void activateEntitlement( - com.google.cloud.channel.v1.ActivateEntitlementRequest request, + public void activateEntitlement(com.google.cloud.channel.v1.ActivateEntitlementRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getActivateEntitlementMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getActivateEntitlementMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Transfers customer entitlements to new reseller.
      * Possible error codes:
@@ -4519,18 +3488,13 @@ public void activateEntitlement(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void transferEntitlements( - com.google.cloud.channel.v1.TransferEntitlementsRequest request, + public void transferEntitlements(com.google.cloud.channel.v1.TransferEntitlementsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTransferEntitlementsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getTransferEntitlementsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Transfers customer entitlements from their current reseller to Google.
      * Possible error codes:
@@ -4559,44 +3523,35 @@ public void transferEntitlements(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void transferEntitlementsToGoogle( - com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest request, + public void transferEntitlementsToGoogle(com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTransferEntitlementsToGoogleMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getTransferEntitlementsToGoogleMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
-     * List [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s belonging to a distributor.
-     * You must be a distributor to call this method.
+     * List [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s
+     * belonging to a distributor. You must be a distributor to call this method.
      * Possible error codes:
      * * PERMISSION_DENIED: The reseller account making the request is different
      * from the reseller account in the API request.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * Return value:
-     * The list of the distributor account's [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources.
+     * The list of the distributor account's
+     * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources.
      * 
*/ - public void listChannelPartnerLinks( - com.google.cloud.channel.v1.ListChannelPartnerLinksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listChannelPartnerLinks(com.google.cloud.channel.v1.ListChannelPartnerLinksRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListChannelPartnerLinksMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListChannelPartnerLinksMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
-     * Returns the requested [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
+     * Returns the requested
+     * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
      * You must be a distributor to call this method.
      * Possible error codes:
      * * PERMISSION_DENIED: The reseller account making the request is different
@@ -4605,22 +3560,17 @@ public void listChannelPartnerLinks(
      * * NOT_FOUND: ChannelPartnerLink resource not found because of an
      * invalid channel partner link name.
      * Return value:
-     * The [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
+     * The [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]
+     * resource.
      * 
*/ - public void getChannelPartnerLink( - com.google.cloud.channel.v1.GetChannelPartnerLinkRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void getChannelPartnerLink(com.google.cloud.channel.v1.GetChannelPartnerLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetChannelPartnerLinkMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetChannelPartnerLinkMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Initiates a channel partner link between a distributor and a reseller, or
      * between resellers in an n-tier reseller channel.
@@ -4640,22 +3590,17 @@ public void getChannelPartnerLink(
      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
      * Contact Cloud Channel support.
      * Return value:
-     * The new [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
+     * The new [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]
+     * resource.
      * 
*/ - public void createChannelPartnerLink( - com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void createChannelPartnerLink(com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateChannelPartnerLinkMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateChannelPartnerLinkMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates a channel partner link. Distributors call this method to change a
      * link's status. For example, to suspend a partner link.
@@ -4674,62 +3619,57 @@ public void createChannelPartnerLink(
      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
      * Contact Cloud Channel support.
      * Return value:
-     * The updated [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
+     * The updated
+     * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
      * 
*/ - public void updateChannelPartnerLink( - com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void updateChannelPartnerLink(com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateChannelPartnerLinkMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateChannelPartnerLinkMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets information about how a Reseller modifies their bill before sending
      * it to a Customer.
      * Possible Error Codes:
      * * PERMISSION_DENIED: If the account making the request and the account
      * being queried are different.
-     * * NOT_FOUND: The [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] was not found.
+     * * NOT_FOUND: The
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * was not found.
      * * INTERNAL: Any non-user error related to technical issues in the
      * backend. In this case, contact Cloud Channel support.
      * Return Value:
-     * If successful, the [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] resource, otherwise returns
-     * an error.
+     * If successful, the
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * resource, otherwise returns an error.
      * 
*/ - public void getCustomerRepricingConfig( - com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void getCustomerRepricingConfig(com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCustomerRepricingConfigMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetCustomerRepricingConfigMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists information about how a Reseller modifies their bill before sending
      * it to a Customer.
      * Possible Error Codes:
      * * PERMISSION_DENIED: If the account making the request and the account
      * being queried are different.
-     * * NOT_FOUND: The [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] specified does not exist or is
-     * not associated with the given account.
+     * * NOT_FOUND: The
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * specified does not exist or is not associated with the given account.
      * * INTERNAL: Any non-user error related to technical issues in the
      * backend. In this case, contact Cloud Channel support.
      * Return Value:
-     * If successful, the [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] resources. The
-     * data for each resource is displayed in the ascending order of:
+     * If successful, the
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * resources. The data for each resource is displayed in the ascending order
+     * of:
      * * customer ID
      * * [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]
      * * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
@@ -4737,26 +3677,19 @@ public void getCustomerRepricingConfig(
      * If unsuccessful, returns an error.
      * 
*/ - public void listCustomerRepricingConfigs( - com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse> - responseObserver) { + public void listCustomerRepricingConfigs(com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCustomerRepricingConfigsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListCustomerRepricingConfigsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a CustomerRepricingConfig. Call this method to set modifications
      * for a specific customer's bill. You can only create configs if the
-     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is a
-     * future month. If needed, you can create a config for the current month,
-     * with some restrictions.
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * is a future month. If needed, you can create a config for the current
+     * month, with some restrictions.
      * When creating a config for a future month, make sure there are no existing
      * configs for that
      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
@@ -4767,9 +3700,11 @@ public void listCustomerRepricingConfigs(
      * Changes to the config may be immediate, but may take up to 24 hours.
      * * There is a limit of ten configs for any
      * [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]
-     * or [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
-     * * The contained [CustomerRepricingConfig.repricing_config][google.cloud.channel.v1.CustomerRepricingConfig.repricing_config] vaule must be
-     * different from the value used in the current config for a
+     * or
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
+     * * The contained
+     * [CustomerRepricingConfig.repricing_config][google.cloud.channel.v1.CustomerRepricingConfig.repricing_config]
+     * vaule must be different from the value used in the current config for a
      * [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement].
      * Possible Error Codes:
      * * PERMISSION_DENIED: If the account making the request and the account
@@ -4777,37 +3712,34 @@ public void listCustomerRepricingConfigs(
      * * INVALID_ARGUMENT: Missing or invalid required parameters in the
      * request. Also displays if the updated config is for the current month or
      * past months.
-     * * NOT_FOUND: The [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] specified does not exist or is
-     * not associated with the given account.
+     * * NOT_FOUND: The
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * specified does not exist or is not associated with the given account.
      * * INTERNAL: Any non-user error related to technical issues in the
      * backend. In this case, contact Cloud Channel support.
      * Return Value:
-     * If successful, the updated [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] resource, otherwise
-     * returns an error.
+     * If successful, the updated
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * resource, otherwise returns an error.
      * 
*/ - public void createCustomerRepricingConfig( - com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void createCustomerRepricingConfig(com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCustomerRepricingConfigMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateCustomerRepricingConfigMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates a CustomerRepricingConfig. Call this method to set modifications
      * for a specific customer's bill. This method overwrites the existing
      * CustomerRepricingConfig.
      * You can only update configs if the
-     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is a
-     * future month. To make changes to configs for the current month, use
-     * [CreateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig], taking note of its restrictions. You
-     * cannot update the [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * is a future month. To make changes to configs for the current month, use
+     * [CreateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig],
+     * taking note of its restrictions. You cannot update the
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
      * When updating a config in the future:
      * * This config must already exist.
      * Possible Error Codes:
@@ -4816,120 +3748,109 @@ public void createCustomerRepricingConfig(
      * * INVALID_ARGUMENT: Missing or invalid required parameters in the
      * request. Also displays if the updated config is for the current month or
      * past months.
-     * * NOT_FOUND: The [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] specified does not exist or is
-     * not associated with the given account.
+     * * NOT_FOUND: The
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * specified does not exist or is not associated with the given account.
      * * INTERNAL: Any non-user error related to technical issues in the
      * backend. In this case, contact Cloud Channel support.
      * Return Value:
-     * If successful, the updated [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] resource, otherwise
-     * returns an error.
+     * If successful, the updated
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * resource, otherwise returns an error.
      * 
*/ - public void updateCustomerRepricingConfig( - com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void updateCustomerRepricingConfig(com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateCustomerRepricingConfigMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateCustomerRepricingConfigMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
-     * Deletes the given [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] permanently. You can only
-     * delete configs if their [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is set
-     * to a date after the current month.
+     * Deletes the given
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * permanently. You can only delete configs if their
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * is set to a date after the current month.
      * Possible error codes:
      * * PERMISSION_DENIED: The account making the request does not own
      * this customer.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
-     * * FAILED_PRECONDITION: The [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] is active or in the
-     * past.
-     * * NOT_FOUND: No [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] found for the name in the
-     * request.
+     * * FAILED_PRECONDITION: The
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * is active or in the past.
+     * * NOT_FOUND: No
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * found for the name in the request.
      * 
*/ - public void deleteCustomerRepricingConfig( - com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest request, + public void deleteCustomerRepricingConfig(com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteCustomerRepricingConfigMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteCustomerRepricingConfigMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets information about how a Distributor modifies their bill before sending
      * it to a ChannelPartner.
      * Possible Error Codes:
      * * PERMISSION_DENIED: If the account making the request and the account
      * being queried are different.
-     * * NOT_FOUND: The [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] was not found.
+     * * NOT_FOUND: The
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * was not found.
      * * INTERNAL: Any non-user error related to technical issues in the
      * backend. In this case, contact Cloud Channel support.
      * Return Value:
-     * If successful, the [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] resource, otherwise
-     * returns an error.
+     * If successful, the
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * resource, otherwise returns an error.
      * 
*/ - public void getChannelPartnerRepricingConfig( - com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void getChannelPartnerRepricingConfig(com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetChannelPartnerRepricingConfigMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetChannelPartnerRepricingConfigMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists information about how a Reseller modifies their bill before sending
      * it to a ChannelPartner.
      * Possible Error Codes:
      * * PERMISSION_DENIED: If the account making the request and the account
      * being queried are different.
-     * * NOT_FOUND: The [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] specified does not exist
-     * or is not associated with the given account.
+     * * NOT_FOUND: The
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * specified does not exist or is not associated with the given account.
      * * INTERNAL: Any non-user error related to technical issues in the
      * backend. In this case, contact Cloud Channel support.
      * Return Value:
-     * If successful, the [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] resources.
-     * The data for each resource is displayed in the ascending order of:
+     * If successful, the
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * resources. The data for each resource is displayed in the ascending order
+     * of:
      * * channel partner ID
      * * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
      * * [ChannelPartnerRepricingConfig.update_time][google.cloud.channel.v1.ChannelPartnerRepricingConfig.update_time]
      * If unsuccessful, returns an error.
      * 
*/ - public void listChannelPartnerRepricingConfigs( - com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse> - responseObserver) { + public void listChannelPartnerRepricingConfigs(com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListChannelPartnerRepricingConfigsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListChannelPartnerRepricingConfigsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a ChannelPartnerRepricingConfig. Call this method to set
      * modifications for a specific ChannelPartner's bill. You can only create
-     * configs if the [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is a future
-     * month. If needed, you can create a config for the current month, with some
-     * restrictions.
+     * configs if the
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * is a future month. If needed, you can create a config for the current
+     * month, with some restrictions.
      * When creating a config for a future month, make sure there are no existing
      * configs for that
      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
@@ -4940,8 +3861,9 @@ public void listChannelPartnerRepricingConfigs(
      * Changes to the config may be immediate, but may take up to 24 hours.
      * * There is a limit of ten configs for any ChannelPartner or
      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
-     * * The contained [ChannelPartnerRepricingConfig.repricing_config][google.cloud.channel.v1.ChannelPartnerRepricingConfig.repricing_config] vaule
-     * must be different from the value used in the current config for a
+     * * The contained
+     * [ChannelPartnerRepricingConfig.repricing_config][google.cloud.channel.v1.ChannelPartnerRepricingConfig.repricing_config]
+     * vaule must be different from the value used in the current config for a
      * ChannelPartner.
      * Possible Error Codes:
      * * PERMISSION_DENIED: If the account making the request and the account
@@ -4949,37 +3871,34 @@ public void listChannelPartnerRepricingConfigs(
      * * INVALID_ARGUMENT: Missing or invalid required parameters in the
      * request. Also displays if the updated config is for the current month or
      * past months.
-     * * NOT_FOUND: The [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] specified does not exist
-     * or is not associated with the given account.
+     * * NOT_FOUND: The
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * specified does not exist or is not associated with the given account.
      * * INTERNAL: Any non-user error related to technical issues in the
      * backend. In this case, contact Cloud Channel support.
      * Return Value:
-     * If successful, the updated [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] resource,
-     * otherwise returns an error.
+     * If successful, the updated
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * resource, otherwise returns an error.
      * 
*/ - public void createChannelPartnerRepricingConfig( - com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void createChannelPartnerRepricingConfig(com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateChannelPartnerRepricingConfigMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateChannelPartnerRepricingConfigMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates a ChannelPartnerRepricingConfig. Call this method to set
      * modifications for a specific ChannelPartner's bill. This method overwrites
      * the existing CustomerRepricingConfig.
      * You can only update configs if the
-     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is a
-     * future month. To make changes to configs for the current month, use
-     * [CreateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerRepricingConfig], taking note of its restrictions.
-     * You cannot update the [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * is a future month. To make changes to configs for the current month, use
+     * [CreateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerRepricingConfig],
+     * taking note of its restrictions. You cannot update the
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
      * When updating a config in the future:
      * * This config must already exist.
      * Possible Error Codes:
@@ -4988,54 +3907,49 @@ public void createChannelPartnerRepricingConfig(
      * * INVALID_ARGUMENT: Missing or invalid required parameters in the
      * request. Also displays if the updated config is for the current month or
      * past months.
-     * * NOT_FOUND: The [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] specified does not exist
-     * or is not associated with the given account.
+     * * NOT_FOUND: The
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * specified does not exist or is not associated with the given account.
      * * INTERNAL: Any non-user error related to technical issues in the
      * backend. In this case, contact Cloud Channel support.
      * Return Value:
-     * If successful, the updated [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] resource,
-     * otherwise returns an error.
+     * If successful, the updated
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * resource, otherwise returns an error.
      * 
*/ - public void updateChannelPartnerRepricingConfig( - com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void updateChannelPartnerRepricingConfig(com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateChannelPartnerRepricingConfigMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateChannelPartnerRepricingConfigMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
-     * Deletes the given [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] permanently. You can
-     * only delete configs if their [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is
-     * set to a date after the current month.
+     * Deletes the given
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * permanently. You can only delete configs if their
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * is set to a date after the current month.
      * Possible error codes:
      * * PERMISSION_DENIED: The account making the request does not own
      * this customer.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
-     * * FAILED_PRECONDITION: The [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] is active or
-     * in the past.
-     * * NOT_FOUND: No [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] found for the name in the
-     * request.
+     * * FAILED_PRECONDITION: The
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * is active or in the past.
+     * * NOT_FOUND: No
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * found for the name in the request.
      * 
*/ - public void deleteChannelPartnerRepricingConfig( - com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest request, + public void deleteChannelPartnerRepricingConfig(com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteChannelPartnerRepricingConfigMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteChannelPartnerRepricingConfigMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Returns the requested [Offer][google.cloud.channel.v1.Offer] resource.
      * Possible error codes:
@@ -5046,71 +3960,52 @@ public void deleteChannelPartnerRepricingConfig(
      * The [Offer][google.cloud.channel.v1.Offer] resource.
      * 
*/ - public void lookupOffer( - com.google.cloud.channel.v1.LookupOfferRequest request, + public void lookupOffer(com.google.cloud.channel.v1.LookupOfferRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getLookupOfferMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getLookupOfferMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists the Products the reseller is authorized to sell.
      * Possible error codes:
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public void listProducts( - com.google.cloud.channel.v1.ListProductsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listProducts(com.google.cloud.channel.v1.ListProductsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListProductsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListProductsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists the SKUs for a product the reseller is authorized to sell.
      * Possible error codes:
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public void listSkus( - com.google.cloud.channel.v1.ListSkusRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listSkus(com.google.cloud.channel.v1.ListSkusRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListSkusMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists the Offers the reseller can sell.
      * Possible error codes:
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public void listOffers( - com.google.cloud.channel.v1.ListOffersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listOffers(com.google.cloud.channel.v1.ListOffersRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListOffersMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists the following:
      * * SKUs that you can purchase for a customer
@@ -5120,19 +4015,13 @@ public void listOffers(
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public void listPurchasableSkus( - com.google.cloud.channel.v1.ListPurchasableSkusRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listPurchasableSkus(com.google.cloud.channel.v1.ListPurchasableSkusRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPurchasableSkusMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListPurchasableSkusMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists the following:
      * * Offers that you can purchase for a customer.
@@ -5142,23 +4031,18 @@ public void listPurchasableSkus(
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public void listPurchasableOffers( - com.google.cloud.channel.v1.ListPurchasableOffersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listPurchasableOffers(com.google.cloud.channel.v1.ListPurchasableOffersRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPurchasableOffersMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListPurchasableOffersMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Registers a service account with subscriber privileges on the Cloud Pub/Sub
      * topic for this Channel Services account. After you create a
-     * subscriber, you get the events through [SubscriberEvent][google.cloud.channel.v1.SubscriberEvent]
+     * subscriber, you get the events through
+     * [SubscriberEvent][google.cloud.channel.v1.SubscriberEvent]
      * Possible error codes:
      * * PERMISSION_DENIED: The reseller account making the request and the
      * provided reseller account are different, or the impersonated user
@@ -5172,19 +4056,13 @@ public void listPurchasableOffers(
      * The topic name with the registered service email address.
      * 
*/ - public void registerSubscriber( - com.google.cloud.channel.v1.RegisterSubscriberRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void registerSubscriber(com.google.cloud.channel.v1.RegisterSubscriberRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRegisterSubscriberMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getRegisterSubscriberMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Unregisters a service account with subscriber privileges on the Cloud
      * Pub/Sub topic created for this Channel Services account. If there are no
@@ -5206,19 +4084,13 @@ public void registerSubscriber(
      * with the topic.
      * 
*/ - public void unregisterSubscriber( - com.google.cloud.channel.v1.UnregisterSubscriberRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void unregisterSubscriber(com.google.cloud.channel.v1.UnregisterSubscriberRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUnregisterSubscriberMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUnregisterSubscriberMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists service accounts with subscriber privileges on the Cloud Pub/Sub
      * topic created for this Channel Services account.
@@ -5236,20 +4108,14 @@ public void unregisterSubscriber(
      * A list of service email addresses.
      * 
*/ - public void listSubscribers( - com.google.cloud.channel.v1.ListSubscribersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listSubscribers(com.google.cloud.channel.v1.ListSubscribersRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListSubscribersMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListSubscribersMethod(), getCallOptions()), request, responseObserver); } } /** - * - * *
    * CloudChannelService lets Google cloud resellers and distributors manage
    * their customers, channel partners, entitlements, and reports.
@@ -5259,17 +4125,17 @@ public void listSubscribers(
    *    provide them with delegated admin access.
    * 3. Resellers and distributors can manage customer entitlements.
    * CloudChannelService exposes the following resources:
-   * - [Customer][google.cloud.channel.v1.Customer]s: An entity—usually an enterprise—managed by a reseller or
-   * distributor.
-   * - [Entitlement][google.cloud.channel.v1.Entitlement]s: An entity that provides a customer with the means to use
-   * a service. Entitlements are created or updated as a result of a successful
-   * fulfillment.
-   * - [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s: An entity that identifies links between
-   * distributors and their indirect resellers in a channel.
+   * - [Customer][google.cloud.channel.v1.Customer]s: An entity-usually an
+   * enterprise-managed by a reseller or distributor.
+   * - [Entitlement][google.cloud.channel.v1.Entitlement]s: An entity that
+   * provides a customer with the means to use a service. Entitlements are created
+   * or updated as a result of a successful fulfillment.
+   * - [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s: An
+   * entity that identifies links between distributors and their indirect
+   * resellers in a channel.
    * 
*/ - public static final class CloudChannelServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { + public static final class CloudChannelServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { private CloudChannelServiceBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -5282,8 +4148,6 @@ protected CloudChannelServiceBlockingStub build( } /** - * - * *
      * List [Customer][google.cloud.channel.v1.Customer]s.
      * Possible error codes:
@@ -5291,20 +4155,19 @@ protected CloudChannelServiceBlockingStub build(
      * from the reseller account in the API request.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * Return value:
-     * List of [Customer][google.cloud.channel.v1.Customer]s, or an empty list if there are no customers.
+     * List of [Customer][google.cloud.channel.v1.Customer]s, or an empty list if
+     * there are no customers.
      * 
*/ - public com.google.cloud.channel.v1.ListCustomersResponse listCustomers( - com.google.cloud.channel.v1.ListCustomersRequest request) { + public com.google.cloud.channel.v1.ListCustomersResponse listCustomers(com.google.cloud.channel.v1.ListCustomersRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListCustomersMethod(), getCallOptions(), request); } /** - * - * *
-     * Returns the requested [Customer][google.cloud.channel.v1.Customer] resource.
+     * Returns the requested [Customer][google.cloud.channel.v1.Customer]
+     * resource.
      * Possible error codes:
      * * PERMISSION_DENIED: The reseller account making the request is different
      * from the reseller account in the API request.
@@ -5315,15 +4178,12 @@ public com.google.cloud.channel.v1.ListCustomersResponse listCustomers(
      * The [Customer][google.cloud.channel.v1.Customer] resource.
      * 
*/ - public com.google.cloud.channel.v1.Customer getCustomer( - com.google.cloud.channel.v1.GetCustomerRequest request) { + public com.google.cloud.channel.v1.Customer getCustomer(com.google.cloud.channel.v1.GetCustomerRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetCustomerMethod(), getCallOptions(), request); } /** - * - * *
      * Confirms the existence of Cloud Identity accounts based on the domain and
      * if the Cloud Identity accounts are owned by the reseller.
@@ -5333,25 +4193,24 @@ public com.google.cloud.channel.v1.Customer getCustomer(
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * * INVALID_VALUE: Invalid domain value in the request.
      * Return value:
-     * A list of [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources for the domain (may be
-     * empty)
+     * A list of
+     * [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount]
+     * resources for the domain (may be empty)
      * Note: in the v1alpha1 version of the API, a NOT_FOUND error returns if
-     * no [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources match the domain.
+     * no
+     * [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount]
+     * resources match the domain.
      * 
*/ - public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse - checkCloudIdentityAccountsExist( - com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest request) { + public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse checkCloudIdentityAccountsExist(com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCheckCloudIdentityAccountsExistMethod(), getCallOptions(), request); } /** - * - * *
-     * Creates a new [Customer][google.cloud.channel.v1.Customer] resource under the reseller or distributor
-     * account.
+     * Creates a new [Customer][google.cloud.channel.v1.Customer] resource under
+     * the reseller or distributor account.
      * Possible error codes:
      * * PERMISSION_DENIED: The reseller account making the request is different
      * from the reseller account in the API request.
@@ -5362,36 +4221,31 @@ public com.google.cloud.channel.v1.Customer getCustomer(
      * The newly created [Customer][google.cloud.channel.v1.Customer] resource.
      * 
*/ - public com.google.cloud.channel.v1.Customer createCustomer( - com.google.cloud.channel.v1.CreateCustomerRequest request) { + public com.google.cloud.channel.v1.Customer createCustomer(com.google.cloud.channel.v1.CreateCustomerRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateCustomerMethod(), getCallOptions(), request); } /** - * - * *
-     * Updates an existing [Customer][google.cloud.channel.v1.Customer] resource for the reseller or
-     * distributor.
+     * Updates an existing [Customer][google.cloud.channel.v1.Customer] resource
+     * for the reseller or distributor.
      * Possible error codes:
      * * PERMISSION_DENIED: The reseller account making the request is different
      * from the reseller account in the API request.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
-     * * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found for the name in the request.
+     * * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found
+     * for the name in the request.
      * Return value:
      * The updated [Customer][google.cloud.channel.v1.Customer] resource.
      * 
*/ - public com.google.cloud.channel.v1.Customer updateCustomer( - com.google.cloud.channel.v1.UpdateCustomerRequest request) { + public com.google.cloud.channel.v1.Customer updateCustomer(com.google.cloud.channel.v1.UpdateCustomerRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateCustomerMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes the given [Customer][google.cloud.channel.v1.Customer] permanently.
      * Possible error codes:
@@ -5399,23 +4253,21 @@ public com.google.cloud.channel.v1.Customer updateCustomer(
      * this customer.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * * FAILED_PRECONDITION: The customer has existing entitlements.
-     * * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found for the name in the request.
+     * * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found
+     * for the name in the request.
      * 
*/ - public com.google.protobuf.Empty deleteCustomer( - com.google.cloud.channel.v1.DeleteCustomerRequest request) { + public com.google.protobuf.Empty deleteCustomer(com.google.cloud.channel.v1.DeleteCustomerRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteCustomerMethod(), getCallOptions(), request); } /** - * - * *
-     * Imports a [Customer][google.cloud.channel.v1.Customer] from the Cloud Identity associated with the provided
-     * Cloud Identity ID or domain before a TransferEntitlements call. If a
-     * linked Customer already exists and overwrite_if_exists is true, it will
-     * update that Customer's data.
+     * Imports a [Customer][google.cloud.channel.v1.Customer] from the Cloud
+     * Identity associated with the provided Cloud Identity ID or domain before a
+     * TransferEntitlements call. If a linked Customer already exists and
+     * overwrite_if_exists is true, it will update that Customer's data.
      * Possible error codes:
      * * PERMISSION_DENIED: The reseller account making the request is different
      * from the reseller account in the API request.
@@ -5428,15 +4280,12 @@ public com.google.protobuf.Empty deleteCustomer(
      * The [Customer][google.cloud.channel.v1.Customer].
      * 
*/ - public com.google.cloud.channel.v1.Customer importCustomer( - com.google.cloud.channel.v1.ImportCustomerRequest request) { + public com.google.cloud.channel.v1.Customer importCustomer(com.google.cloud.channel.v1.ImportCustomerRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getImportCustomerMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a Cloud Identity for the given customer using the customer's
      * information, or the information provided here.
@@ -5457,36 +4306,32 @@ public com.google.cloud.channel.v1.Customer importCustomer(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public com.google.longrunning.Operation provisionCloudIdentity( - com.google.cloud.channel.v1.ProvisionCloudIdentityRequest request) { + public com.google.longrunning.Operation provisionCloudIdentity(com.google.cloud.channel.v1.ProvisionCloudIdentityRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getProvisionCloudIdentityMethod(), getCallOptions(), request); } /** - * - * *
-     * Lists [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to a customer.
+     * Lists [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to a
+     * customer.
      * Possible error codes:
      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * Return value:
-     * A list of the customer's [Entitlement][google.cloud.channel.v1.Entitlement]s.
+     * A list of the customer's
+     * [Entitlement][google.cloud.channel.v1.Entitlement]s.
      * 
*/ - public com.google.cloud.channel.v1.ListEntitlementsResponse listEntitlements( - com.google.cloud.channel.v1.ListEntitlementsRequest request) { + public com.google.cloud.channel.v1.ListEntitlementsResponse listEntitlements(com.google.cloud.channel.v1.ListEntitlementsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListEntitlementsMethod(), getCallOptions(), request); } /** - * - * *
-     * List [TransferableSku][google.cloud.channel.v1.TransferableSku]s of a customer based on the Cloud Identity ID or
-     * Customer Name in the request.
+     * List [TransferableSku][google.cloud.channel.v1.TransferableSku]s of a
+     * customer based on the Cloud Identity ID or Customer Name in the request.
      * Use this method to list the entitlements information of an
      * unowned customer. You should provide the customer's
      * Cloud Identity ID or Customer Name.
@@ -5498,21 +4343,19 @@ public com.google.cloud.channel.v1.ListEntitlementsResponse listEntitlements(
      *     from the reseller account in the query.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * Return value:
-     * A list of the customer's [TransferableSku][google.cloud.channel.v1.TransferableSku].
+     * A list of the customer's
+     * [TransferableSku][google.cloud.channel.v1.TransferableSku].
      * 
*/ - public com.google.cloud.channel.v1.ListTransferableSkusResponse listTransferableSkus( - com.google.cloud.channel.v1.ListTransferableSkusRequest request) { + public com.google.cloud.channel.v1.ListTransferableSkusResponse listTransferableSkus(com.google.cloud.channel.v1.ListTransferableSkusRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListTransferableSkusMethod(), getCallOptions(), request); } /** - * - * *
-     * List [TransferableOffer][google.cloud.channel.v1.TransferableOffer]s of a customer based on Cloud Identity ID or
-     * Customer Name in the request.
+     * List [TransferableOffer][google.cloud.channel.v1.TransferableOffer]s of a
+     * customer based on Cloud Identity ID or Customer Name in the request.
      * Use this method when a reseller gets the entitlement information of an
      * unowned customer. The reseller should provide the customer's
      * Cloud Identity ID or Customer Name.
@@ -5525,20 +4368,19 @@ public com.google.cloud.channel.v1.ListTransferableSkusResponse listTransferable
      *     from the reseller account in the query.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * Return value:
-     * List of [TransferableOffer][google.cloud.channel.v1.TransferableOffer] for the given customer and SKU.
+     * List of [TransferableOffer][google.cloud.channel.v1.TransferableOffer] for
+     * the given customer and SKU.
      * 
*/ - public com.google.cloud.channel.v1.ListTransferableOffersResponse listTransferableOffers( - com.google.cloud.channel.v1.ListTransferableOffersRequest request) { + public com.google.cloud.channel.v1.ListTransferableOffersResponse listTransferableOffers(com.google.cloud.channel.v1.ListTransferableOffersRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListTransferableOffersMethod(), getCallOptions(), request); } /** - * - * *
-     * Returns the requested [Entitlement][google.cloud.channel.v1.Entitlement] resource.
+     * Returns the requested [Entitlement][google.cloud.channel.v1.Entitlement]
+     * resource.
      * Possible error codes:
      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
@@ -5547,15 +4389,12 @@ public com.google.cloud.channel.v1.ListTransferableOffersResponse listTransferab
      * The requested [Entitlement][google.cloud.channel.v1.Entitlement] resource.
      * 
*/ - public com.google.cloud.channel.v1.Entitlement getEntitlement( - com.google.cloud.channel.v1.GetEntitlementRequest request) { + public com.google.cloud.channel.v1.Entitlement getEntitlement(com.google.cloud.channel.v1.GetEntitlementRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetEntitlementMethod(), getCallOptions(), request); } /** - * - * *
      * Creates an entitlement for a customer.
      * Possible error codes:
@@ -5591,15 +4430,12 @@ public com.google.cloud.channel.v1.Entitlement getEntitlement(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public com.google.longrunning.Operation createEntitlement( - com.google.cloud.channel.v1.CreateEntitlementRequest request) { + public com.google.longrunning.Operation createEntitlement(com.google.cloud.channel.v1.CreateEntitlementRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateEntitlementMethod(), getCallOptions(), request); } /** - * - * *
      * Change parameters of the entitlement.
      * An entitlement update is a long-running operation and it updates the
@@ -5621,15 +4457,12 @@ public com.google.longrunning.Operation createEntitlement(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public com.google.longrunning.Operation changeParameters( - com.google.cloud.channel.v1.ChangeParametersRequest request) { + public com.google.longrunning.Operation changeParameters(com.google.cloud.channel.v1.ChangeParametersRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getChangeParametersMethod(), getCallOptions(), request); } /** - * - * *
      * Updates the renewal settings for an existing customer entitlement.
      * An entitlement update is a long-running operation and it updates the
@@ -5651,15 +4484,12 @@ public com.google.longrunning.Operation changeParameters(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public com.google.longrunning.Operation changeRenewalSettings( - com.google.cloud.channel.v1.ChangeRenewalSettingsRequest request) { + public com.google.longrunning.Operation changeRenewalSettings(com.google.cloud.channel.v1.ChangeRenewalSettingsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getChangeRenewalSettingsMethod(), getCallOptions(), request); } /** - * - * *
      * Updates the Offer for an existing customer entitlement.
      * An entitlement update is a long-running operation and it updates the
@@ -5679,15 +4509,12 @@ public com.google.longrunning.Operation changeRenewalSettings(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public com.google.longrunning.Operation changeOffer( - com.google.cloud.channel.v1.ChangeOfferRequest request) { + public com.google.longrunning.Operation changeOffer(com.google.cloud.channel.v1.ChangeOfferRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getChangeOfferMethod(), getCallOptions(), request); } /** - * - * *
      * Starts paid service for a trial entitlement.
      * Starts paid service for a trial entitlement immediately. This method is
@@ -5710,15 +4537,12 @@ public com.google.longrunning.Operation changeOffer(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public com.google.longrunning.Operation startPaidService( - com.google.cloud.channel.v1.StartPaidServiceRequest request) { + public com.google.longrunning.Operation startPaidService(com.google.cloud.channel.v1.StartPaidServiceRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getStartPaidServiceMethod(), getCallOptions(), request); } /** - * - * *
      * Suspends a previously fulfilled entitlement.
      * An entitlement suspension is a long-running operation.
@@ -5738,15 +4562,12 @@ public com.google.longrunning.Operation startPaidService(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public com.google.longrunning.Operation suspendEntitlement( - com.google.cloud.channel.v1.SuspendEntitlementRequest request) { + public com.google.longrunning.Operation suspendEntitlement(com.google.cloud.channel.v1.SuspendEntitlementRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSuspendEntitlementMethod(), getCallOptions(), request); } /** - * - * *
      * Cancels a previously fulfilled entitlement.
      * An entitlement cancellation is a long-running operation.
@@ -5771,15 +4592,12 @@ public com.google.longrunning.Operation suspendEntitlement(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public com.google.longrunning.Operation cancelEntitlement( - com.google.cloud.channel.v1.CancelEntitlementRequest request) { + public com.google.longrunning.Operation cancelEntitlement(com.google.cloud.channel.v1.CancelEntitlementRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCancelEntitlementMethod(), getCallOptions(), request); } /** - * - * *
      * Activates a previously suspended entitlement. Entitlements suspended for
      * pending ToS acceptance can't be activated using this method.
@@ -5805,15 +4623,12 @@ public com.google.longrunning.Operation cancelEntitlement(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public com.google.longrunning.Operation activateEntitlement( - com.google.cloud.channel.v1.ActivateEntitlementRequest request) { + public com.google.longrunning.Operation activateEntitlement(com.google.cloud.channel.v1.ActivateEntitlementRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getActivateEntitlementMethod(), getCallOptions(), request); } /** - * - * *
      * Transfers customer entitlements to new reseller.
      * Possible error codes:
@@ -5842,15 +4657,12 @@ public com.google.longrunning.Operation activateEntitlement(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public com.google.longrunning.Operation transferEntitlements( - com.google.cloud.channel.v1.TransferEntitlementsRequest request) { + public com.google.longrunning.Operation transferEntitlements(com.google.cloud.channel.v1.TransferEntitlementsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTransferEntitlementsMethod(), getCallOptions(), request); } /** - * - * *
      * Transfers customer entitlements from their current reseller to Google.
      * Possible error codes:
@@ -5879,37 +4691,33 @@ public com.google.longrunning.Operation transferEntitlements(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public com.google.longrunning.Operation transferEntitlementsToGoogle( - com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest request) { + public com.google.longrunning.Operation transferEntitlementsToGoogle(com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTransferEntitlementsToGoogleMethod(), getCallOptions(), request); } /** - * - * *
-     * List [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s belonging to a distributor.
-     * You must be a distributor to call this method.
+     * List [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s
+     * belonging to a distributor. You must be a distributor to call this method.
      * Possible error codes:
      * * PERMISSION_DENIED: The reseller account making the request is different
      * from the reseller account in the API request.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * Return value:
-     * The list of the distributor account's [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources.
+     * The list of the distributor account's
+     * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources.
      * 
*/ - public com.google.cloud.channel.v1.ListChannelPartnerLinksResponse listChannelPartnerLinks( - com.google.cloud.channel.v1.ListChannelPartnerLinksRequest request) { + public com.google.cloud.channel.v1.ListChannelPartnerLinksResponse listChannelPartnerLinks(com.google.cloud.channel.v1.ListChannelPartnerLinksRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListChannelPartnerLinksMethod(), getCallOptions(), request); } /** - * - * *
-     * Returns the requested [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
+     * Returns the requested
+     * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
      * You must be a distributor to call this method.
      * Possible error codes:
      * * PERMISSION_DENIED: The reseller account making the request is different
@@ -5918,18 +4726,16 @@ public com.google.cloud.channel.v1.ListChannelPartnerLinksResponse listChannelPa
      * * NOT_FOUND: ChannelPartnerLink resource not found because of an
      * invalid channel partner link name.
      * Return value:
-     * The [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
+     * The [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]
+     * resource.
      * 
*/ - public com.google.cloud.channel.v1.ChannelPartnerLink getChannelPartnerLink( - com.google.cloud.channel.v1.GetChannelPartnerLinkRequest request) { + public com.google.cloud.channel.v1.ChannelPartnerLink getChannelPartnerLink(com.google.cloud.channel.v1.GetChannelPartnerLinkRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetChannelPartnerLinkMethod(), getCallOptions(), request); } /** - * - * *
      * Initiates a channel partner link between a distributor and a reseller, or
      * between resellers in an n-tier reseller channel.
@@ -5949,18 +4755,16 @@ public com.google.cloud.channel.v1.ChannelPartnerLink getChannelPartnerLink(
      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
      * Contact Cloud Channel support.
      * Return value:
-     * The new [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
+     * The new [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]
+     * resource.
      * 
*/ - public com.google.cloud.channel.v1.ChannelPartnerLink createChannelPartnerLink( - com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest request) { + public com.google.cloud.channel.v1.ChannelPartnerLink createChannelPartnerLink(com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateChannelPartnerLinkMethod(), getCallOptions(), request); } /** - * - * *
      * Updates a channel partner link. Distributors call this method to change a
      * link's status. For example, to suspend a partner link.
@@ -5979,54 +4783,55 @@ public com.google.cloud.channel.v1.ChannelPartnerLink createChannelPartnerLink(
      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
      * Contact Cloud Channel support.
      * Return value:
-     * The updated [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
+     * The updated
+     * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
      * 
*/ - public com.google.cloud.channel.v1.ChannelPartnerLink updateChannelPartnerLink( - com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest request) { + public com.google.cloud.channel.v1.ChannelPartnerLink updateChannelPartnerLink(com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateChannelPartnerLinkMethod(), getCallOptions(), request); } /** - * - * *
      * Gets information about how a Reseller modifies their bill before sending
      * it to a Customer.
      * Possible Error Codes:
      * * PERMISSION_DENIED: If the account making the request and the account
      * being queried are different.
-     * * NOT_FOUND: The [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] was not found.
+     * * NOT_FOUND: The
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * was not found.
      * * INTERNAL: Any non-user error related to technical issues in the
      * backend. In this case, contact Cloud Channel support.
      * Return Value:
-     * If successful, the [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] resource, otherwise returns
-     * an error.
+     * If successful, the
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * resource, otherwise returns an error.
      * 
*/ - public com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingConfig( - com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest request) { + public com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingConfig(com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetCustomerRepricingConfigMethod(), getCallOptions(), request); } /** - * - * *
      * Lists information about how a Reseller modifies their bill before sending
      * it to a Customer.
      * Possible Error Codes:
      * * PERMISSION_DENIED: If the account making the request and the account
      * being queried are different.
-     * * NOT_FOUND: The [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] specified does not exist or is
-     * not associated with the given account.
+     * * NOT_FOUND: The
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * specified does not exist or is not associated with the given account.
      * * INTERNAL: Any non-user error related to technical issues in the
      * backend. In this case, contact Cloud Channel support.
      * Return Value:
-     * If successful, the [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] resources. The
-     * data for each resource is displayed in the ascending order of:
+     * If successful, the
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * resources. The data for each resource is displayed in the ascending order
+     * of:
      * * customer ID
      * * [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]
      * * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
@@ -6034,22 +4839,18 @@ public com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingC
      * If unsuccessful, returns an error.
      * 
*/ - public com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse - listCustomerRepricingConfigs( - com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest request) { + public com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse listCustomerRepricingConfigs(com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListCustomerRepricingConfigsMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a CustomerRepricingConfig. Call this method to set modifications
      * for a specific customer's bill. You can only create configs if the
-     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is a
-     * future month. If needed, you can create a config for the current month,
-     * with some restrictions.
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * is a future month. If needed, you can create a config for the current
+     * month, with some restrictions.
      * When creating a config for a future month, make sure there are no existing
      * configs for that
      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
@@ -6060,9 +4861,11 @@ public com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingC
      * Changes to the config may be immediate, but may take up to 24 hours.
      * * There is a limit of ten configs for any
      * [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]
-     * or [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
-     * * The contained [CustomerRepricingConfig.repricing_config][google.cloud.channel.v1.CustomerRepricingConfig.repricing_config] vaule must be
-     * different from the value used in the current config for a
+     * or
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
+     * * The contained
+     * [CustomerRepricingConfig.repricing_config][google.cloud.channel.v1.CustomerRepricingConfig.repricing_config]
+     * vaule must be different from the value used in the current config for a
      * [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement].
      * Possible Error Codes:
      * * PERMISSION_DENIED: If the account making the request and the account
@@ -6070,33 +4873,33 @@ public com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingC
      * * INVALID_ARGUMENT: Missing or invalid required parameters in the
      * request. Also displays if the updated config is for the current month or
      * past months.
-     * * NOT_FOUND: The [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] specified does not exist or is
-     * not associated with the given account.
+     * * NOT_FOUND: The
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * specified does not exist or is not associated with the given account.
      * * INTERNAL: Any non-user error related to technical issues in the
      * backend. In this case, contact Cloud Channel support.
      * Return Value:
-     * If successful, the updated [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] resource, otherwise
-     * returns an error.
+     * If successful, the updated
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * resource, otherwise returns an error.
      * 
*/ - public com.google.cloud.channel.v1.CustomerRepricingConfig createCustomerRepricingConfig( - com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest request) { + public com.google.cloud.channel.v1.CustomerRepricingConfig createCustomerRepricingConfig(com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateCustomerRepricingConfigMethod(), getCallOptions(), request); } /** - * - * *
      * Updates a CustomerRepricingConfig. Call this method to set modifications
      * for a specific customer's bill. This method overwrites the existing
      * CustomerRepricingConfig.
      * You can only update configs if the
-     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is a
-     * future month. To make changes to configs for the current month, use
-     * [CreateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig], taking note of its restrictions. You
-     * cannot update the [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * is a future month. To make changes to configs for the current month, use
+     * [CreateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig],
+     * taking note of its restrictions. You cannot update the
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
      * When updating a config in the future:
      * * This config must already exist.
      * Possible Error Codes:
@@ -6105,106 +4908,105 @@ public com.google.cloud.channel.v1.CustomerRepricingConfig createCustomerReprici
      * * INVALID_ARGUMENT: Missing or invalid required parameters in the
      * request. Also displays if the updated config is for the current month or
      * past months.
-     * * NOT_FOUND: The [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] specified does not exist or is
-     * not associated with the given account.
+     * * NOT_FOUND: The
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * specified does not exist or is not associated with the given account.
      * * INTERNAL: Any non-user error related to technical issues in the
      * backend. In this case, contact Cloud Channel support.
      * Return Value:
-     * If successful, the updated [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] resource, otherwise
-     * returns an error.
+     * If successful, the updated
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * resource, otherwise returns an error.
      * 
*/ - public com.google.cloud.channel.v1.CustomerRepricingConfig updateCustomerRepricingConfig( - com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest request) { + public com.google.cloud.channel.v1.CustomerRepricingConfig updateCustomerRepricingConfig(com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateCustomerRepricingConfigMethod(), getCallOptions(), request); } /** - * - * *
-     * Deletes the given [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] permanently. You can only
-     * delete configs if their [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is set
-     * to a date after the current month.
+     * Deletes the given
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * permanently. You can only delete configs if their
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * is set to a date after the current month.
      * Possible error codes:
      * * PERMISSION_DENIED: The account making the request does not own
      * this customer.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
-     * * FAILED_PRECONDITION: The [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] is active or in the
-     * past.
-     * * NOT_FOUND: No [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] found for the name in the
-     * request.
+     * * FAILED_PRECONDITION: The
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * is active or in the past.
+     * * NOT_FOUND: No
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * found for the name in the request.
      * 
*/ - public com.google.protobuf.Empty deleteCustomerRepricingConfig( - com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest request) { + public com.google.protobuf.Empty deleteCustomerRepricingConfig(com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteCustomerRepricingConfigMethod(), getCallOptions(), request); } /** - * - * *
      * Gets information about how a Distributor modifies their bill before sending
      * it to a ChannelPartner.
      * Possible Error Codes:
      * * PERMISSION_DENIED: If the account making the request and the account
      * being queried are different.
-     * * NOT_FOUND: The [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] was not found.
+     * * NOT_FOUND: The
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * was not found.
      * * INTERNAL: Any non-user error related to technical issues in the
      * backend. In this case, contact Cloud Channel support.
      * Return Value:
-     * If successful, the [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] resource, otherwise
-     * returns an error.
+     * If successful, the
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * resource, otherwise returns an error.
      * 
*/ - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig - getChannelPartnerRepricingConfig( - com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest request) { + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getChannelPartnerRepricingConfig(com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetChannelPartnerRepricingConfigMethod(), getCallOptions(), request); } /** - * - * *
      * Lists information about how a Reseller modifies their bill before sending
      * it to a ChannelPartner.
      * Possible Error Codes:
      * * PERMISSION_DENIED: If the account making the request and the account
      * being queried are different.
-     * * NOT_FOUND: The [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] specified does not exist
-     * or is not associated with the given account.
+     * * NOT_FOUND: The
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * specified does not exist or is not associated with the given account.
      * * INTERNAL: Any non-user error related to technical issues in the
      * backend. In this case, contact Cloud Channel support.
      * Return Value:
-     * If successful, the [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] resources.
-     * The data for each resource is displayed in the ascending order of:
+     * If successful, the
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * resources. The data for each resource is displayed in the ascending order
+     * of:
      * * channel partner ID
      * * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
      * * [ChannelPartnerRepricingConfig.update_time][google.cloud.channel.v1.ChannelPartnerRepricingConfig.update_time]
      * If unsuccessful, returns an error.
      * 
*/ - public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse - listChannelPartnerRepricingConfigs( - com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest request) { + public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse listChannelPartnerRepricingConfigs(com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListChannelPartnerRepricingConfigsMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a ChannelPartnerRepricingConfig. Call this method to set
      * modifications for a specific ChannelPartner's bill. You can only create
-     * configs if the [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is a future
-     * month. If needed, you can create a config for the current month, with some
-     * restrictions.
+     * configs if the
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * is a future month. If needed, you can create a config for the current
+     * month, with some restrictions.
      * When creating a config for a future month, make sure there are no existing
      * configs for that
      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
@@ -6215,8 +5017,9 @@ public com.google.protobuf.Empty deleteCustomerRepricingConfig(
      * Changes to the config may be immediate, but may take up to 24 hours.
      * * There is a limit of ten configs for any ChannelPartner or
      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
-     * * The contained [ChannelPartnerRepricingConfig.repricing_config][google.cloud.channel.v1.ChannelPartnerRepricingConfig.repricing_config] vaule
-     * must be different from the value used in the current config for a
+     * * The contained
+     * [ChannelPartnerRepricingConfig.repricing_config][google.cloud.channel.v1.ChannelPartnerRepricingConfig.repricing_config]
+     * vaule must be different from the value used in the current config for a
      * ChannelPartner.
      * Possible Error Codes:
      * * PERMISSION_DENIED: If the account making the request and the account
@@ -6224,34 +5027,33 @@ public com.google.protobuf.Empty deleteCustomerRepricingConfig(
      * * INVALID_ARGUMENT: Missing or invalid required parameters in the
      * request. Also displays if the updated config is for the current month or
      * past months.
-     * * NOT_FOUND: The [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] specified does not exist
-     * or is not associated with the given account.
+     * * NOT_FOUND: The
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * specified does not exist or is not associated with the given account.
      * * INTERNAL: Any non-user error related to technical issues in the
      * backend. In this case, contact Cloud Channel support.
      * Return Value:
-     * If successful, the updated [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] resource,
-     * otherwise returns an error.
+     * If successful, the updated
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * resource, otherwise returns an error.
      * 
*/ - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig - createChannelPartnerRepricingConfig( - com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest request) { + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig createChannelPartnerRepricingConfig(com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateChannelPartnerRepricingConfigMethod(), getCallOptions(), request); } /** - * - * *
      * Updates a ChannelPartnerRepricingConfig. Call this method to set
      * modifications for a specific ChannelPartner's bill. This method overwrites
      * the existing CustomerRepricingConfig.
      * You can only update configs if the
-     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is a
-     * future month. To make changes to configs for the current month, use
-     * [CreateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerRepricingConfig], taking note of its restrictions.
-     * You cannot update the [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * is a future month. To make changes to configs for the current month, use
+     * [CreateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerRepricingConfig],
+     * taking note of its restrictions. You cannot update the
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
      * When updating a config in the future:
      * * This config must already exist.
      * Possible Error Codes:
@@ -6260,48 +5062,47 @@ public com.google.protobuf.Empty deleteCustomerRepricingConfig(
      * * INVALID_ARGUMENT: Missing or invalid required parameters in the
      * request. Also displays if the updated config is for the current month or
      * past months.
-     * * NOT_FOUND: The [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] specified does not exist
-     * or is not associated with the given account.
+     * * NOT_FOUND: The
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * specified does not exist or is not associated with the given account.
      * * INTERNAL: Any non-user error related to technical issues in the
      * backend. In this case, contact Cloud Channel support.
      * Return Value:
-     * If successful, the updated [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] resource,
-     * otherwise returns an error.
+     * If successful, the updated
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * resource, otherwise returns an error.
      * 
*/ - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig - updateChannelPartnerRepricingConfig( - com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest request) { + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig updateChannelPartnerRepricingConfig(com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateChannelPartnerRepricingConfigMethod(), getCallOptions(), request); } /** - * - * *
-     * Deletes the given [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] permanently. You can
-     * only delete configs if their [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is
-     * set to a date after the current month.
+     * Deletes the given
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * permanently. You can only delete configs if their
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * is set to a date after the current month.
      * Possible error codes:
      * * PERMISSION_DENIED: The account making the request does not own
      * this customer.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
-     * * FAILED_PRECONDITION: The [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] is active or
-     * in the past.
-     * * NOT_FOUND: No [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] found for the name in the
-     * request.
+     * * FAILED_PRECONDITION: The
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * is active or in the past.
+     * * NOT_FOUND: No
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * found for the name in the request.
      * 
*/ - public com.google.protobuf.Empty deleteChannelPartnerRepricingConfig( - com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest request) { + public com.google.protobuf.Empty deleteChannelPartnerRepricingConfig(com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteChannelPartnerRepricingConfigMethod(), getCallOptions(), request); } /** - * - * *
      * Returns the requested [Offer][google.cloud.channel.v1.Offer] resource.
      * Possible error codes:
@@ -6312,60 +5113,48 @@ public com.google.protobuf.Empty deleteChannelPartnerRepricingConfig(
      * The [Offer][google.cloud.channel.v1.Offer] resource.
      * 
*/ - public com.google.cloud.channel.v1.Offer lookupOffer( - com.google.cloud.channel.v1.LookupOfferRequest request) { + public com.google.cloud.channel.v1.Offer lookupOffer(com.google.cloud.channel.v1.LookupOfferRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getLookupOfferMethod(), getCallOptions(), request); } /** - * - * *
      * Lists the Products the reseller is authorized to sell.
      * Possible error codes:
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public com.google.cloud.channel.v1.ListProductsResponse listProducts( - com.google.cloud.channel.v1.ListProductsRequest request) { + public com.google.cloud.channel.v1.ListProductsResponse listProducts(com.google.cloud.channel.v1.ListProductsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListProductsMethod(), getCallOptions(), request); } /** - * - * *
      * Lists the SKUs for a product the reseller is authorized to sell.
      * Possible error codes:
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public com.google.cloud.channel.v1.ListSkusResponse listSkus( - com.google.cloud.channel.v1.ListSkusRequest request) { + public com.google.cloud.channel.v1.ListSkusResponse listSkus(com.google.cloud.channel.v1.ListSkusRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListSkusMethod(), getCallOptions(), request); } /** - * - * *
      * Lists the Offers the reseller can sell.
      * Possible error codes:
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public com.google.cloud.channel.v1.ListOffersResponse listOffers( - com.google.cloud.channel.v1.ListOffersRequest request) { + public com.google.cloud.channel.v1.ListOffersResponse listOffers(com.google.cloud.channel.v1.ListOffersRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListOffersMethod(), getCallOptions(), request); } /** - * - * *
      * Lists the following:
      * * SKUs that you can purchase for a customer
@@ -6375,15 +5164,12 @@ public com.google.cloud.channel.v1.ListOffersResponse listOffers(
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public com.google.cloud.channel.v1.ListPurchasableSkusResponse listPurchasableSkus( - com.google.cloud.channel.v1.ListPurchasableSkusRequest request) { + public com.google.cloud.channel.v1.ListPurchasableSkusResponse listPurchasableSkus(com.google.cloud.channel.v1.ListPurchasableSkusRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListPurchasableSkusMethod(), getCallOptions(), request); } /** - * - * *
      * Lists the following:
      * * Offers that you can purchase for a customer.
@@ -6393,19 +5179,17 @@ public com.google.cloud.channel.v1.ListPurchasableSkusResponse listPurchasableSk
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public com.google.cloud.channel.v1.ListPurchasableOffersResponse listPurchasableOffers( - com.google.cloud.channel.v1.ListPurchasableOffersRequest request) { + public com.google.cloud.channel.v1.ListPurchasableOffersResponse listPurchasableOffers(com.google.cloud.channel.v1.ListPurchasableOffersRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListPurchasableOffersMethod(), getCallOptions(), request); } /** - * - * *
      * Registers a service account with subscriber privileges on the Cloud Pub/Sub
      * topic for this Channel Services account. After you create a
-     * subscriber, you get the events through [SubscriberEvent][google.cloud.channel.v1.SubscriberEvent]
+     * subscriber, you get the events through
+     * [SubscriberEvent][google.cloud.channel.v1.SubscriberEvent]
      * Possible error codes:
      * * PERMISSION_DENIED: The reseller account making the request and the
      * provided reseller account are different, or the impersonated user
@@ -6419,15 +5203,12 @@ public com.google.cloud.channel.v1.ListPurchasableOffersResponse listPurchasable
      * The topic name with the registered service email address.
      * 
*/ - public com.google.cloud.channel.v1.RegisterSubscriberResponse registerSubscriber( - com.google.cloud.channel.v1.RegisterSubscriberRequest request) { + public com.google.cloud.channel.v1.RegisterSubscriberResponse registerSubscriber(com.google.cloud.channel.v1.RegisterSubscriberRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRegisterSubscriberMethod(), getCallOptions(), request); } /** - * - * *
      * Unregisters a service account with subscriber privileges on the Cloud
      * Pub/Sub topic created for this Channel Services account. If there are no
@@ -6449,15 +5230,12 @@ public com.google.cloud.channel.v1.RegisterSubscriberResponse registerSubscriber
      * with the topic.
      * 
*/ - public com.google.cloud.channel.v1.UnregisterSubscriberResponse unregisterSubscriber( - com.google.cloud.channel.v1.UnregisterSubscriberRequest request) { + public com.google.cloud.channel.v1.UnregisterSubscriberResponse unregisterSubscriber(com.google.cloud.channel.v1.UnregisterSubscriberRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUnregisterSubscriberMethod(), getCallOptions(), request); } /** - * - * *
      * Lists service accounts with subscriber privileges on the Cloud Pub/Sub
      * topic created for this Channel Services account.
@@ -6475,16 +5253,13 @@ public com.google.cloud.channel.v1.UnregisterSubscriberResponse unregisterSubscr
      * A list of service email addresses.
      * 
*/ - public com.google.cloud.channel.v1.ListSubscribersResponse listSubscribers( - com.google.cloud.channel.v1.ListSubscribersRequest request) { + public com.google.cloud.channel.v1.ListSubscribersResponse listSubscribers(com.google.cloud.channel.v1.ListSubscribersRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListSubscribersMethod(), getCallOptions(), request); } } /** - * - * *
    * CloudChannelService lets Google cloud resellers and distributors manage
    * their customers, channel partners, entitlements, and reports.
@@ -6494,17 +5269,17 @@ public com.google.cloud.channel.v1.ListSubscribersResponse listSubscribers(
    *    provide them with delegated admin access.
    * 3. Resellers and distributors can manage customer entitlements.
    * CloudChannelService exposes the following resources:
-   * - [Customer][google.cloud.channel.v1.Customer]s: An entity—usually an enterprise—managed by a reseller or
-   * distributor.
-   * - [Entitlement][google.cloud.channel.v1.Entitlement]s: An entity that provides a customer with the means to use
-   * a service. Entitlements are created or updated as a result of a successful
-   * fulfillment.
-   * - [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s: An entity that identifies links between
-   * distributors and their indirect resellers in a channel.
+   * - [Customer][google.cloud.channel.v1.Customer]s: An entity-usually an
+   * enterprise-managed by a reseller or distributor.
+   * - [Entitlement][google.cloud.channel.v1.Entitlement]s: An entity that
+   * provides a customer with the means to use a service. Entitlements are created
+   * or updated as a result of a successful fulfillment.
+   * - [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s: An
+   * entity that identifies links between distributors and their indirect
+   * resellers in a channel.
    * 
*/ - public static final class CloudChannelServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { + public static final class CloudChannelServiceFutureStub extends io.grpc.stub.AbstractFutureStub { private CloudChannelServiceFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -6517,8 +5292,6 @@ protected CloudChannelServiceFutureStub build( } /** - * - * *
      * List [Customer][google.cloud.channel.v1.Customer]s.
      * Possible error codes:
@@ -6526,21 +5299,20 @@ protected CloudChannelServiceFutureStub build(
      * from the reseller account in the API request.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * Return value:
-     * List of [Customer][google.cloud.channel.v1.Customer]s, or an empty list if there are no customers.
+     * List of [Customer][google.cloud.channel.v1.Customer]s, or an empty list if
+     * there are no customers.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.channel.v1.ListCustomersResponse> - listCustomers(com.google.cloud.channel.v1.ListCustomersRequest request) { + public com.google.common.util.concurrent.ListenableFuture listCustomers( + com.google.cloud.channel.v1.ListCustomersRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListCustomersMethod(), getCallOptions()), request); } /** - * - * *
-     * Returns the requested [Customer][google.cloud.channel.v1.Customer] resource.
+     * Returns the requested [Customer][google.cloud.channel.v1.Customer]
+     * resource.
      * Possible error codes:
      * * PERMISSION_DENIED: The reseller account making the request is different
      * from the reseller account in the API request.
@@ -6551,15 +5323,13 @@ protected CloudChannelServiceFutureStub build(
      * The [Customer][google.cloud.channel.v1.Customer] resource.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getCustomer(com.google.cloud.channel.v1.GetCustomerRequest request) { + public com.google.common.util.concurrent.ListenableFuture getCustomer( + com.google.cloud.channel.v1.GetCustomerRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetCustomerMethod(), getCallOptions()), request); } /** - * - * *
      * Confirms the existence of Cloud Identity accounts based on the domain and
      * if the Cloud Identity accounts are owned by the reseller.
@@ -6569,27 +5339,25 @@ protected CloudChannelServiceFutureStub build(
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * * INVALID_VALUE: Invalid domain value in the request.
      * Return value:
-     * A list of [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources for the domain (may be
-     * empty)
+     * A list of
+     * [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount]
+     * resources for the domain (may be empty)
      * Note: in the v1alpha1 version of the API, a NOT_FOUND error returns if
-     * no [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources match the domain.
+     * no
+     * [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount]
+     * resources match the domain.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse> - checkCloudIdentityAccountsExist( - com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest request) { + public com.google.common.util.concurrent.ListenableFuture checkCloudIdentityAccountsExist( + com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCheckCloudIdentityAccountsExistMethod(), getCallOptions()), - request); + getChannel().newCall(getCheckCloudIdentityAccountsExistMethod(), getCallOptions()), request); } /** - * - * *
-     * Creates a new [Customer][google.cloud.channel.v1.Customer] resource under the reseller or distributor
-     * account.
+     * Creates a new [Customer][google.cloud.channel.v1.Customer] resource under
+     * the reseller or distributor account.
      * Possible error codes:
      * * PERMISSION_DENIED: The reseller account making the request is different
      * from the reseller account in the API request.
@@ -6600,36 +5368,33 @@ protected CloudChannelServiceFutureStub build(
      * The newly created [Customer][google.cloud.channel.v1.Customer] resource.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createCustomer(com.google.cloud.channel.v1.CreateCustomerRequest request) { + public com.google.common.util.concurrent.ListenableFuture createCustomer( + com.google.cloud.channel.v1.CreateCustomerRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateCustomerMethod(), getCallOptions()), request); } /** - * - * *
-     * Updates an existing [Customer][google.cloud.channel.v1.Customer] resource for the reseller or
-     * distributor.
+     * Updates an existing [Customer][google.cloud.channel.v1.Customer] resource
+     * for the reseller or distributor.
      * Possible error codes:
      * * PERMISSION_DENIED: The reseller account making the request is different
      * from the reseller account in the API request.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
-     * * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found for the name in the request.
+     * * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found
+     * for the name in the request.
      * Return value:
      * The updated [Customer][google.cloud.channel.v1.Customer] resource.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateCustomer(com.google.cloud.channel.v1.UpdateCustomerRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateCustomer( + com.google.cloud.channel.v1.UpdateCustomerRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateCustomerMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes the given [Customer][google.cloud.channel.v1.Customer] permanently.
      * Possible error codes:
@@ -6637,23 +5402,22 @@ protected CloudChannelServiceFutureStub build(
      * this customer.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * * FAILED_PRECONDITION: The customer has existing entitlements.
-     * * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found for the name in the request.
+     * * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found
+     * for the name in the request.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteCustomer(com.google.cloud.channel.v1.DeleteCustomerRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteCustomer( + com.google.cloud.channel.v1.DeleteCustomerRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteCustomerMethod(), getCallOptions()), request); } /** - * - * *
-     * Imports a [Customer][google.cloud.channel.v1.Customer] from the Cloud Identity associated with the provided
-     * Cloud Identity ID or domain before a TransferEntitlements call. If a
-     * linked Customer already exists and overwrite_if_exists is true, it will
-     * update that Customer's data.
+     * Imports a [Customer][google.cloud.channel.v1.Customer] from the Cloud
+     * Identity associated with the provided Cloud Identity ID or domain before a
+     * TransferEntitlements call. If a linked Customer already exists and
+     * overwrite_if_exists is true, it will update that Customer's data.
      * Possible error codes:
      * * PERMISSION_DENIED: The reseller account making the request is different
      * from the reseller account in the API request.
@@ -6666,15 +5430,13 @@ protected CloudChannelServiceFutureStub build(
      * The [Customer][google.cloud.channel.v1.Customer].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - importCustomer(com.google.cloud.channel.v1.ImportCustomerRequest request) { + public com.google.common.util.concurrent.ListenableFuture importCustomer( + com.google.cloud.channel.v1.ImportCustomerRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getImportCustomerMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a Cloud Identity for the given customer using the customer's
      * information, or the information provided here.
@@ -6695,37 +5457,34 @@ protected CloudChannelServiceFutureStub build(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - provisionCloudIdentity(com.google.cloud.channel.v1.ProvisionCloudIdentityRequest request) { + public com.google.common.util.concurrent.ListenableFuture provisionCloudIdentity( + com.google.cloud.channel.v1.ProvisionCloudIdentityRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getProvisionCloudIdentityMethod(), getCallOptions()), request); } /** - * - * *
-     * Lists [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to a customer.
+     * Lists [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to a
+     * customer.
      * Possible error codes:
      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * Return value:
-     * A list of the customer's [Entitlement][google.cloud.channel.v1.Entitlement]s.
+     * A list of the customer's
+     * [Entitlement][google.cloud.channel.v1.Entitlement]s.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.channel.v1.ListEntitlementsResponse> - listEntitlements(com.google.cloud.channel.v1.ListEntitlementsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listEntitlements( + com.google.cloud.channel.v1.ListEntitlementsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListEntitlementsMethod(), getCallOptions()), request); } /** - * - * *
-     * List [TransferableSku][google.cloud.channel.v1.TransferableSku]s of a customer based on the Cloud Identity ID or
-     * Customer Name in the request.
+     * List [TransferableSku][google.cloud.channel.v1.TransferableSku]s of a
+     * customer based on the Cloud Identity ID or Customer Name in the request.
      * Use this method to list the entitlements information of an
      * unowned customer. You should provide the customer's
      * Cloud Identity ID or Customer Name.
@@ -6737,22 +5496,20 @@ protected CloudChannelServiceFutureStub build(
      *     from the reseller account in the query.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * Return value:
-     * A list of the customer's [TransferableSku][google.cloud.channel.v1.TransferableSku].
+     * A list of the customer's
+     * [TransferableSku][google.cloud.channel.v1.TransferableSku].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.channel.v1.ListTransferableSkusResponse> - listTransferableSkus(com.google.cloud.channel.v1.ListTransferableSkusRequest request) { + public com.google.common.util.concurrent.ListenableFuture listTransferableSkus( + com.google.cloud.channel.v1.ListTransferableSkusRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListTransferableSkusMethod(), getCallOptions()), request); } /** - * - * *
-     * List [TransferableOffer][google.cloud.channel.v1.TransferableOffer]s of a customer based on Cloud Identity ID or
-     * Customer Name in the request.
+     * List [TransferableOffer][google.cloud.channel.v1.TransferableOffer]s of a
+     * customer based on Cloud Identity ID or Customer Name in the request.
      * Use this method when a reseller gets the entitlement information of an
      * unowned customer. The reseller should provide the customer's
      * Cloud Identity ID or Customer Name.
@@ -6765,21 +5522,20 @@ protected CloudChannelServiceFutureStub build(
      *     from the reseller account in the query.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * Return value:
-     * List of [TransferableOffer][google.cloud.channel.v1.TransferableOffer] for the given customer and SKU.
+     * List of [TransferableOffer][google.cloud.channel.v1.TransferableOffer] for
+     * the given customer and SKU.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.channel.v1.ListTransferableOffersResponse> - listTransferableOffers(com.google.cloud.channel.v1.ListTransferableOffersRequest request) { + public com.google.common.util.concurrent.ListenableFuture listTransferableOffers( + com.google.cloud.channel.v1.ListTransferableOffersRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListTransferableOffersMethod(), getCallOptions()), request); } /** - * - * *
-     * Returns the requested [Entitlement][google.cloud.channel.v1.Entitlement] resource.
+     * Returns the requested [Entitlement][google.cloud.channel.v1.Entitlement]
+     * resource.
      * Possible error codes:
      * * PERMISSION_DENIED: The customer doesn't belong to the reseller.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
@@ -6788,16 +5544,13 @@ protected CloudChannelServiceFutureStub build(
      * The requested [Entitlement][google.cloud.channel.v1.Entitlement] resource.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.channel.v1.Entitlement> - getEntitlement(com.google.cloud.channel.v1.GetEntitlementRequest request) { + public com.google.common.util.concurrent.ListenableFuture getEntitlement( + com.google.cloud.channel.v1.GetEntitlementRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetEntitlementMethod(), getCallOptions()), request); } /** - * - * *
      * Creates an entitlement for a customer.
      * Possible error codes:
@@ -6833,15 +5586,13 @@ protected CloudChannelServiceFutureStub build(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createEntitlement(com.google.cloud.channel.v1.CreateEntitlementRequest request) { + public com.google.common.util.concurrent.ListenableFuture createEntitlement( + com.google.cloud.channel.v1.CreateEntitlementRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateEntitlementMethod(), getCallOptions()), request); } /** - * - * *
      * Change parameters of the entitlement.
      * An entitlement update is a long-running operation and it updates the
@@ -6863,15 +5614,13 @@ protected CloudChannelServiceFutureStub build(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - changeParameters(com.google.cloud.channel.v1.ChangeParametersRequest request) { + public com.google.common.util.concurrent.ListenableFuture changeParameters( + com.google.cloud.channel.v1.ChangeParametersRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getChangeParametersMethod(), getCallOptions()), request); } /** - * - * *
      * Updates the renewal settings for an existing customer entitlement.
      * An entitlement update is a long-running operation and it updates the
@@ -6893,15 +5642,13 @@ protected CloudChannelServiceFutureStub build(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - changeRenewalSettings(com.google.cloud.channel.v1.ChangeRenewalSettingsRequest request) { + public com.google.common.util.concurrent.ListenableFuture changeRenewalSettings( + com.google.cloud.channel.v1.ChangeRenewalSettingsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getChangeRenewalSettingsMethod(), getCallOptions()), request); } /** - * - * *
      * Updates the Offer for an existing customer entitlement.
      * An entitlement update is a long-running operation and it updates the
@@ -6921,15 +5668,13 @@ protected CloudChannelServiceFutureStub build(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - changeOffer(com.google.cloud.channel.v1.ChangeOfferRequest request) { + public com.google.common.util.concurrent.ListenableFuture changeOffer( + com.google.cloud.channel.v1.ChangeOfferRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getChangeOfferMethod(), getCallOptions()), request); } /** - * - * *
      * Starts paid service for a trial entitlement.
      * Starts paid service for a trial entitlement immediately. This method is
@@ -6952,15 +5697,13 @@ protected CloudChannelServiceFutureStub build(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - startPaidService(com.google.cloud.channel.v1.StartPaidServiceRequest request) { + public com.google.common.util.concurrent.ListenableFuture startPaidService( + com.google.cloud.channel.v1.StartPaidServiceRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getStartPaidServiceMethod(), getCallOptions()), request); } /** - * - * *
      * Suspends a previously fulfilled entitlement.
      * An entitlement suspension is a long-running operation.
@@ -6980,15 +5723,13 @@ protected CloudChannelServiceFutureStub build(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - suspendEntitlement(com.google.cloud.channel.v1.SuspendEntitlementRequest request) { + public com.google.common.util.concurrent.ListenableFuture suspendEntitlement( + com.google.cloud.channel.v1.SuspendEntitlementRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSuspendEntitlementMethod(), getCallOptions()), request); } /** - * - * *
      * Cancels a previously fulfilled entitlement.
      * An entitlement cancellation is a long-running operation.
@@ -7013,15 +5754,13 @@ protected CloudChannelServiceFutureStub build(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - cancelEntitlement(com.google.cloud.channel.v1.CancelEntitlementRequest request) { + public com.google.common.util.concurrent.ListenableFuture cancelEntitlement( + com.google.cloud.channel.v1.CancelEntitlementRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCancelEntitlementMethod(), getCallOptions()), request); } /** - * - * *
      * Activates a previously suspended entitlement. Entitlements suspended for
      * pending ToS acceptance can't be activated using this method.
@@ -7047,15 +5786,13 @@ protected CloudChannelServiceFutureStub build(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - activateEntitlement(com.google.cloud.channel.v1.ActivateEntitlementRequest request) { + public com.google.common.util.concurrent.ListenableFuture activateEntitlement( + com.google.cloud.channel.v1.ActivateEntitlementRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getActivateEntitlementMethod(), getCallOptions()), request); } /** - * - * *
      * Transfers customer entitlements to new reseller.
      * Possible error codes:
@@ -7084,15 +5821,13 @@ protected CloudChannelServiceFutureStub build(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - transferEntitlements(com.google.cloud.channel.v1.TransferEntitlementsRequest request) { + public com.google.common.util.concurrent.ListenableFuture transferEntitlements( + com.google.cloud.channel.v1.TransferEntitlementsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getTransferEntitlementsMethod(), getCallOptions()), request); } /** - * - * *
      * Transfers customer entitlements from their current reseller to Google.
      * Possible error codes:
@@ -7121,40 +5856,35 @@ protected CloudChannelServiceFutureStub build(
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - transferEntitlementsToGoogle( - com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest request) { + public com.google.common.util.concurrent.ListenableFuture transferEntitlementsToGoogle( + com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getTransferEntitlementsToGoogleMethod(), getCallOptions()), request); } /** - * - * *
-     * List [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s belonging to a distributor.
-     * You must be a distributor to call this method.
+     * List [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s
+     * belonging to a distributor. You must be a distributor to call this method.
      * Possible error codes:
      * * PERMISSION_DENIED: The reseller account making the request is different
      * from the reseller account in the API request.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * Return value:
-     * The list of the distributor account's [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources.
+     * The list of the distributor account's
+     * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.channel.v1.ListChannelPartnerLinksResponse> - listChannelPartnerLinks( - com.google.cloud.channel.v1.ListChannelPartnerLinksRequest request) { + public com.google.common.util.concurrent.ListenableFuture listChannelPartnerLinks( + com.google.cloud.channel.v1.ListChannelPartnerLinksRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListChannelPartnerLinksMethod(), getCallOptions()), request); } /** - * - * *
-     * Returns the requested [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
+     * Returns the requested
+     * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
      * You must be a distributor to call this method.
      * Possible error codes:
      * * PERMISSION_DENIED: The reseller account making the request is different
@@ -7163,19 +5893,17 @@ protected CloudChannelServiceFutureStub build(
      * * NOT_FOUND: ChannelPartnerLink resource not found because of an
      * invalid channel partner link name.
      * Return value:
-     * The [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
+     * The [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]
+     * resource.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.channel.v1.ChannelPartnerLink> - getChannelPartnerLink(com.google.cloud.channel.v1.GetChannelPartnerLinkRequest request) { + public com.google.common.util.concurrent.ListenableFuture getChannelPartnerLink( + com.google.cloud.channel.v1.GetChannelPartnerLinkRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetChannelPartnerLinkMethod(), getCallOptions()), request); } /** - * - * *
      * Initiates a channel partner link between a distributor and a reseller, or
      * between resellers in an n-tier reseller channel.
@@ -7195,20 +5923,17 @@ protected CloudChannelServiceFutureStub build(
      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
      * Contact Cloud Channel support.
      * Return value:
-     * The new [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
+     * The new [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]
+     * resource.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.channel.v1.ChannelPartnerLink> - createChannelPartnerLink( - com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest request) { + public com.google.common.util.concurrent.ListenableFuture createChannelPartnerLink( + com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateChannelPartnerLinkMethod(), getCallOptions()), request); } /** - * - * *
      * Updates a channel partner link. Distributors call this method to change a
      * link's status. For example, to suspend a partner link.
@@ -7227,58 +5952,57 @@ protected CloudChannelServiceFutureStub build(
      * * UNKNOWN: Any non-user error related to a technical issue in the backend.
      * Contact Cloud Channel support.
      * Return value:
-     * The updated [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
+     * The updated
+     * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.channel.v1.ChannelPartnerLink> - updateChannelPartnerLink( - com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateChannelPartnerLink( + com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateChannelPartnerLinkMethod(), getCallOptions()), request); } /** - * - * *
      * Gets information about how a Reseller modifies their bill before sending
      * it to a Customer.
      * Possible Error Codes:
      * * PERMISSION_DENIED: If the account making the request and the account
      * being queried are different.
-     * * NOT_FOUND: The [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] was not found.
+     * * NOT_FOUND: The
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * was not found.
      * * INTERNAL: Any non-user error related to technical issues in the
      * backend. In this case, contact Cloud Channel support.
      * Return Value:
-     * If successful, the [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] resource, otherwise returns
-     * an error.
+     * If successful, the
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * resource, otherwise returns an error.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.channel.v1.CustomerRepricingConfig> - getCustomerRepricingConfig( - com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest request) { + public com.google.common.util.concurrent.ListenableFuture getCustomerRepricingConfig( + com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetCustomerRepricingConfigMethod(), getCallOptions()), request); } /** - * - * *
      * Lists information about how a Reseller modifies their bill before sending
      * it to a Customer.
      * Possible Error Codes:
      * * PERMISSION_DENIED: If the account making the request and the account
      * being queried are different.
-     * * NOT_FOUND: The [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] specified does not exist or is
-     * not associated with the given account.
+     * * NOT_FOUND: The
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * specified does not exist or is not associated with the given account.
      * * INTERNAL: Any non-user error related to technical issues in the
      * backend. In this case, contact Cloud Channel support.
      * Return Value:
-     * If successful, the [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] resources. The
-     * data for each resource is displayed in the ascending order of:
+     * If successful, the
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * resources. The data for each resource is displayed in the ascending order
+     * of:
      * * customer ID
      * * [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]
      * * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
@@ -7286,23 +6010,19 @@ protected CloudChannelServiceFutureStub build(
      * If unsuccessful, returns an error.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse> - listCustomerRepricingConfigs( - com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listCustomerRepricingConfigs( + com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListCustomerRepricingConfigsMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a CustomerRepricingConfig. Call this method to set modifications
      * for a specific customer's bill. You can only create configs if the
-     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is a
-     * future month. If needed, you can create a config for the current month,
-     * with some restrictions.
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * is a future month. If needed, you can create a config for the current
+     * month, with some restrictions.
      * When creating a config for a future month, make sure there are no existing
      * configs for that
      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
@@ -7313,9 +6033,11 @@ protected CloudChannelServiceFutureStub build(
      * Changes to the config may be immediate, but may take up to 24 hours.
      * * There is a limit of ten configs for any
      * [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]
-     * or [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
-     * * The contained [CustomerRepricingConfig.repricing_config][google.cloud.channel.v1.CustomerRepricingConfig.repricing_config] vaule must be
-     * different from the value used in the current config for a
+     * or
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
+     * * The contained
+     * [CustomerRepricingConfig.repricing_config][google.cloud.channel.v1.CustomerRepricingConfig.repricing_config]
+     * vaule must be different from the value used in the current config for a
      * [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement].
      * Possible Error Codes:
      * * PERMISSION_DENIED: If the account making the request and the account
@@ -7323,36 +6045,34 @@ protected CloudChannelServiceFutureStub build(
      * * INVALID_ARGUMENT: Missing or invalid required parameters in the
      * request. Also displays if the updated config is for the current month or
      * past months.
-     * * NOT_FOUND: The [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] specified does not exist or is
-     * not associated with the given account.
+     * * NOT_FOUND: The
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * specified does not exist or is not associated with the given account.
      * * INTERNAL: Any non-user error related to technical issues in the
      * backend. In this case, contact Cloud Channel support.
      * Return Value:
-     * If successful, the updated [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] resource, otherwise
-     * returns an error.
+     * If successful, the updated
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * resource, otherwise returns an error.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.channel.v1.CustomerRepricingConfig> - createCustomerRepricingConfig( - com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest request) { + public com.google.common.util.concurrent.ListenableFuture createCustomerRepricingConfig( + com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateCustomerRepricingConfigMethod(), getCallOptions()), - request); + getChannel().newCall(getCreateCustomerRepricingConfigMethod(), getCallOptions()), request); } /** - * - * *
      * Updates a CustomerRepricingConfig. Call this method to set modifications
      * for a specific customer's bill. This method overwrites the existing
      * CustomerRepricingConfig.
      * You can only update configs if the
-     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is a
-     * future month. To make changes to configs for the current month, use
-     * [CreateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig], taking note of its restrictions. You
-     * cannot update the [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * is a future month. To make changes to configs for the current month, use
+     * [CreateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig],
+     * taking note of its restrictions. You cannot update the
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
      * When updating a config in the future:
      * * This config must already exist.
      * Possible Error Codes:
@@ -7361,115 +6081,109 @@ protected CloudChannelServiceFutureStub build(
      * * INVALID_ARGUMENT: Missing or invalid required parameters in the
      * request. Also displays if the updated config is for the current month or
      * past months.
-     * * NOT_FOUND: The [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] specified does not exist or is
-     * not associated with the given account.
+     * * NOT_FOUND: The
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * specified does not exist or is not associated with the given account.
      * * INTERNAL: Any non-user error related to technical issues in the
      * backend. In this case, contact Cloud Channel support.
      * Return Value:
-     * If successful, the updated [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] resource, otherwise
-     * returns an error.
+     * If successful, the updated
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * resource, otherwise returns an error.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.channel.v1.CustomerRepricingConfig> - updateCustomerRepricingConfig( - com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateCustomerRepricingConfig( + com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateCustomerRepricingConfigMethod(), getCallOptions()), - request); + getChannel().newCall(getUpdateCustomerRepricingConfigMethod(), getCallOptions()), request); } /** - * - * *
-     * Deletes the given [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] permanently. You can only
-     * delete configs if their [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is set
-     * to a date after the current month.
+     * Deletes the given
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * permanently. You can only delete configs if their
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * is set to a date after the current month.
      * Possible error codes:
      * * PERMISSION_DENIED: The account making the request does not own
      * this customer.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
-     * * FAILED_PRECONDITION: The [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] is active or in the
-     * past.
-     * * NOT_FOUND: No [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] found for the name in the
-     * request.
+     * * FAILED_PRECONDITION: The
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * is active or in the past.
+     * * NOT_FOUND: No
+     * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
+     * found for the name in the request.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteCustomerRepricingConfig( - com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteCustomerRepricingConfig( + com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteCustomerRepricingConfigMethod(), getCallOptions()), - request); + getChannel().newCall(getDeleteCustomerRepricingConfigMethod(), getCallOptions()), request); } /** - * - * *
      * Gets information about how a Distributor modifies their bill before sending
      * it to a ChannelPartner.
      * Possible Error Codes:
      * * PERMISSION_DENIED: If the account making the request and the account
      * being queried are different.
-     * * NOT_FOUND: The [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] was not found.
+     * * NOT_FOUND: The
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * was not found.
      * * INTERNAL: Any non-user error related to technical issues in the
      * backend. In this case, contact Cloud Channel support.
      * Return Value:
-     * If successful, the [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] resource, otherwise
-     * returns an error.
+     * If successful, the
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * resource, otherwise returns an error.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig> - getChannelPartnerRepricingConfig( - com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest request) { + public com.google.common.util.concurrent.ListenableFuture getChannelPartnerRepricingConfig( + com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetChannelPartnerRepricingConfigMethod(), getCallOptions()), - request); + getChannel().newCall(getGetChannelPartnerRepricingConfigMethod(), getCallOptions()), request); } /** - * - * *
      * Lists information about how a Reseller modifies their bill before sending
      * it to a ChannelPartner.
      * Possible Error Codes:
      * * PERMISSION_DENIED: If the account making the request and the account
      * being queried are different.
-     * * NOT_FOUND: The [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] specified does not exist
-     * or is not associated with the given account.
+     * * NOT_FOUND: The
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * specified does not exist or is not associated with the given account.
      * * INTERNAL: Any non-user error related to technical issues in the
      * backend. In this case, contact Cloud Channel support.
      * Return Value:
-     * If successful, the [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] resources.
-     * The data for each resource is displayed in the ascending order of:
+     * If successful, the
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * resources. The data for each resource is displayed in the ascending order
+     * of:
      * * channel partner ID
      * * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
      * * [ChannelPartnerRepricingConfig.update_time][google.cloud.channel.v1.ChannelPartnerRepricingConfig.update_time]
      * If unsuccessful, returns an error.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse> - listChannelPartnerRepricingConfigs( - com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listChannelPartnerRepricingConfigs( + com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListChannelPartnerRepricingConfigsMethod(), getCallOptions()), - request); + getChannel().newCall(getListChannelPartnerRepricingConfigsMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a ChannelPartnerRepricingConfig. Call this method to set
      * modifications for a specific ChannelPartner's bill. You can only create
-     * configs if the [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is a future
-     * month. If needed, you can create a config for the current month, with some
-     * restrictions.
+     * configs if the
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * is a future month. If needed, you can create a config for the current
+     * month, with some restrictions.
      * When creating a config for a future month, make sure there are no existing
      * configs for that
      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
@@ -7480,8 +6194,9 @@ protected CloudChannelServiceFutureStub build(
      * Changes to the config may be immediate, but may take up to 24 hours.
      * * There is a limit of ten configs for any ChannelPartner or
      * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
-     * * The contained [ChannelPartnerRepricingConfig.repricing_config][google.cloud.channel.v1.ChannelPartnerRepricingConfig.repricing_config] vaule
-     * must be different from the value used in the current config for a
+     * * The contained
+     * [ChannelPartnerRepricingConfig.repricing_config][google.cloud.channel.v1.ChannelPartnerRepricingConfig.repricing_config]
+     * vaule must be different from the value used in the current config for a
      * ChannelPartner.
      * Possible Error Codes:
      * * PERMISSION_DENIED: If the account making the request and the account
@@ -7489,36 +6204,34 @@ protected CloudChannelServiceFutureStub build(
      * * INVALID_ARGUMENT: Missing or invalid required parameters in the
      * request. Also displays if the updated config is for the current month or
      * past months.
-     * * NOT_FOUND: The [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] specified does not exist
-     * or is not associated with the given account.
+     * * NOT_FOUND: The
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * specified does not exist or is not associated with the given account.
      * * INTERNAL: Any non-user error related to technical issues in the
      * backend. In this case, contact Cloud Channel support.
      * Return Value:
-     * If successful, the updated [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] resource,
-     * otherwise returns an error.
+     * If successful, the updated
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * resource, otherwise returns an error.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig> - createChannelPartnerRepricingConfig( - com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest request) { + public com.google.common.util.concurrent.ListenableFuture createChannelPartnerRepricingConfig( + com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateChannelPartnerRepricingConfigMethod(), getCallOptions()), - request); + getChannel().newCall(getCreateChannelPartnerRepricingConfigMethod(), getCallOptions()), request); } /** - * - * *
      * Updates a ChannelPartnerRepricingConfig. Call this method to set
      * modifications for a specific ChannelPartner's bill. This method overwrites
      * the existing CustomerRepricingConfig.
      * You can only update configs if the
-     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is a
-     * future month. To make changes to configs for the current month, use
-     * [CreateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerRepricingConfig], taking note of its restrictions.
-     * You cannot update the [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * is a future month. To make changes to configs for the current month, use
+     * [CreateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerRepricingConfig],
+     * taking note of its restrictions. You cannot update the
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
      * When updating a config in the future:
      * * This config must already exist.
      * Possible Error Codes:
@@ -7527,52 +6240,49 @@ protected CloudChannelServiceFutureStub build(
      * * INVALID_ARGUMENT: Missing or invalid required parameters in the
      * request. Also displays if the updated config is for the current month or
      * past months.
-     * * NOT_FOUND: The [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] specified does not exist
-     * or is not associated with the given account.
+     * * NOT_FOUND: The
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * specified does not exist or is not associated with the given account.
      * * INTERNAL: Any non-user error related to technical issues in the
      * backend. In this case, contact Cloud Channel support.
      * Return Value:
-     * If successful, the updated [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] resource,
-     * otherwise returns an error.
+     * If successful, the updated
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * resource, otherwise returns an error.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig> - updateChannelPartnerRepricingConfig( - com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateChannelPartnerRepricingConfig( + com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateChannelPartnerRepricingConfigMethod(), getCallOptions()), - request); + getChannel().newCall(getUpdateChannelPartnerRepricingConfigMethod(), getCallOptions()), request); } /** - * - * *
-     * Deletes the given [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] permanently. You can
-     * only delete configs if their [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is
-     * set to a date after the current month.
+     * Deletes the given
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * permanently. You can only delete configs if their
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * is set to a date after the current month.
      * Possible error codes:
      * * PERMISSION_DENIED: The account making the request does not own
      * this customer.
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
-     * * FAILED_PRECONDITION: The [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] is active or
-     * in the past.
-     * * NOT_FOUND: No [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] found for the name in the
-     * request.
+     * * FAILED_PRECONDITION: The
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * is active or in the past.
+     * * NOT_FOUND: No
+     * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
+     * found for the name in the request.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteChannelPartnerRepricingConfig( - com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteChannelPartnerRepricingConfig( + com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteChannelPartnerRepricingConfigMethod(), getCallOptions()), - request); + getChannel().newCall(getDeleteChannelPartnerRepricingConfigMethod(), getCallOptions()), request); } /** - * - * *
      * Returns the requested [Offer][google.cloud.channel.v1.Offer] resource.
      * Possible error codes:
@@ -7583,63 +6293,52 @@ protected CloudChannelServiceFutureStub build(
      * The [Offer][google.cloud.channel.v1.Offer] resource.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - lookupOffer(com.google.cloud.channel.v1.LookupOfferRequest request) { + public com.google.common.util.concurrent.ListenableFuture lookupOffer( + com.google.cloud.channel.v1.LookupOfferRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getLookupOfferMethod(), getCallOptions()), request); } /** - * - * *
      * Lists the Products the reseller is authorized to sell.
      * Possible error codes:
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.channel.v1.ListProductsResponse> - listProducts(com.google.cloud.channel.v1.ListProductsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listProducts( + com.google.cloud.channel.v1.ListProductsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListProductsMethod(), getCallOptions()), request); } /** - * - * *
      * Lists the SKUs for a product the reseller is authorized to sell.
      * Possible error codes:
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.channel.v1.ListSkusResponse> - listSkus(com.google.cloud.channel.v1.ListSkusRequest request) { + public com.google.common.util.concurrent.ListenableFuture listSkus( + com.google.cloud.channel.v1.ListSkusRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListSkusMethod(), getCallOptions()), request); } /** - * - * *
      * Lists the Offers the reseller can sell.
      * Possible error codes:
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.channel.v1.ListOffersResponse> - listOffers(com.google.cloud.channel.v1.ListOffersRequest request) { + public com.google.common.util.concurrent.ListenableFuture listOffers( + com.google.cloud.channel.v1.ListOffersRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListOffersMethod(), getCallOptions()), request); } /** - * - * *
      * Lists the following:
      * * SKUs that you can purchase for a customer
@@ -7649,16 +6348,13 @@ protected CloudChannelServiceFutureStub build(
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.channel.v1.ListPurchasableSkusResponse> - listPurchasableSkus(com.google.cloud.channel.v1.ListPurchasableSkusRequest request) { + public com.google.common.util.concurrent.ListenableFuture listPurchasableSkus( + com.google.cloud.channel.v1.ListPurchasableSkusRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListPurchasableSkusMethod(), getCallOptions()), request); } /** - * - * *
      * Lists the following:
      * * Offers that you can purchase for a customer.
@@ -7668,20 +6364,18 @@ protected CloudChannelServiceFutureStub build(
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.channel.v1.ListPurchasableOffersResponse> - listPurchasableOffers(com.google.cloud.channel.v1.ListPurchasableOffersRequest request) { + public com.google.common.util.concurrent.ListenableFuture listPurchasableOffers( + com.google.cloud.channel.v1.ListPurchasableOffersRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListPurchasableOffersMethod(), getCallOptions()), request); } /** - * - * *
      * Registers a service account with subscriber privileges on the Cloud Pub/Sub
      * topic for this Channel Services account. After you create a
-     * subscriber, you get the events through [SubscriberEvent][google.cloud.channel.v1.SubscriberEvent]
+     * subscriber, you get the events through
+     * [SubscriberEvent][google.cloud.channel.v1.SubscriberEvent]
      * Possible error codes:
      * * PERMISSION_DENIED: The reseller account making the request and the
      * provided reseller account are different, or the impersonated user
@@ -7695,16 +6389,13 @@ protected CloudChannelServiceFutureStub build(
      * The topic name with the registered service email address.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.channel.v1.RegisterSubscriberResponse> - registerSubscriber(com.google.cloud.channel.v1.RegisterSubscriberRequest request) { + public com.google.common.util.concurrent.ListenableFuture registerSubscriber( + com.google.cloud.channel.v1.RegisterSubscriberRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getRegisterSubscriberMethod(), getCallOptions()), request); } /** - * - * *
      * Unregisters a service account with subscriber privileges on the Cloud
      * Pub/Sub topic created for this Channel Services account. If there are no
@@ -7726,16 +6417,13 @@ protected CloudChannelServiceFutureStub build(
      * with the topic.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.channel.v1.UnregisterSubscriberResponse> - unregisterSubscriber(com.google.cloud.channel.v1.UnregisterSubscriberRequest request) { + public com.google.common.util.concurrent.ListenableFuture unregisterSubscriber( + com.google.cloud.channel.v1.UnregisterSubscriberRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUnregisterSubscriberMethod(), getCallOptions()), request); } /** - * - * *
      * Lists service accounts with subscriber privileges on the Cloud Pub/Sub
      * topic created for this Channel Services account.
@@ -7753,9 +6441,8 @@ protected CloudChannelServiceFutureStub build(
      * A list of service email addresses.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.channel.v1.ListSubscribersResponse> - listSubscribers(com.google.cloud.channel.v1.ListSubscribersRequest request) { + public com.google.common.util.concurrent.ListenableFuture listSubscribers( + com.google.cloud.channel.v1.ListSubscribersRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListSubscribersMethod(), getCallOptions()), request); } @@ -7807,11 +6494,11 @@ protected CloudChannelServiceFutureStub build( private static final int METHODID_UNREGISTER_SUBSCRIBER = 43; private static final int METHODID_LIST_SUBSCRIBERS = 44; - 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 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 CloudChannelServiceImplBase serviceImpl; private final int methodId; @@ -7825,266 +6512,184 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_LIST_CUSTOMERS: - serviceImpl.listCustomers( - (com.google.cloud.channel.v1.ListCustomersRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.listCustomers((com.google.cloud.channel.v1.ListCustomersRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_CUSTOMER: - serviceImpl.getCustomer( - (com.google.cloud.channel.v1.GetCustomerRequest) request, + serviceImpl.getCustomer((com.google.cloud.channel.v1.GetCustomerRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CHECK_CLOUD_IDENTITY_ACCOUNTS_EXIST: - serviceImpl.checkCloudIdentityAccountsExist( - (com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse>) - responseObserver); + serviceImpl.checkCloudIdentityAccountsExist((com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_CUSTOMER: - serviceImpl.createCustomer( - (com.google.cloud.channel.v1.CreateCustomerRequest) request, + serviceImpl.createCustomer((com.google.cloud.channel.v1.CreateCustomerRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_CUSTOMER: - serviceImpl.updateCustomer( - (com.google.cloud.channel.v1.UpdateCustomerRequest) request, + serviceImpl.updateCustomer((com.google.cloud.channel.v1.UpdateCustomerRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_CUSTOMER: - serviceImpl.deleteCustomer( - (com.google.cloud.channel.v1.DeleteCustomerRequest) request, + serviceImpl.deleteCustomer((com.google.cloud.channel.v1.DeleteCustomerRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_IMPORT_CUSTOMER: - serviceImpl.importCustomer( - (com.google.cloud.channel.v1.ImportCustomerRequest) request, + serviceImpl.importCustomer((com.google.cloud.channel.v1.ImportCustomerRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_PROVISION_CLOUD_IDENTITY: - serviceImpl.provisionCloudIdentity( - (com.google.cloud.channel.v1.ProvisionCloudIdentityRequest) request, + serviceImpl.provisionCloudIdentity((com.google.cloud.channel.v1.ProvisionCloudIdentityRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_ENTITLEMENTS: - serviceImpl.listEntitlements( - (com.google.cloud.channel.v1.ListEntitlementsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.listEntitlements((com.google.cloud.channel.v1.ListEntitlementsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_TRANSFERABLE_SKUS: - serviceImpl.listTransferableSkus( - (com.google.cloud.channel.v1.ListTransferableSkusRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.channel.v1.ListTransferableSkusResponse>) - responseObserver); + serviceImpl.listTransferableSkus((com.google.cloud.channel.v1.ListTransferableSkusRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_TRANSFERABLE_OFFERS: - serviceImpl.listTransferableOffers( - (com.google.cloud.channel.v1.ListTransferableOffersRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.channel.v1.ListTransferableOffersResponse>) - responseObserver); + serviceImpl.listTransferableOffers((com.google.cloud.channel.v1.ListTransferableOffersRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_ENTITLEMENT: - serviceImpl.getEntitlement( - (com.google.cloud.channel.v1.GetEntitlementRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.getEntitlement((com.google.cloud.channel.v1.GetEntitlementRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_ENTITLEMENT: - serviceImpl.createEntitlement( - (com.google.cloud.channel.v1.CreateEntitlementRequest) request, + serviceImpl.createEntitlement((com.google.cloud.channel.v1.CreateEntitlementRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CHANGE_PARAMETERS: - serviceImpl.changeParameters( - (com.google.cloud.channel.v1.ChangeParametersRequest) request, + serviceImpl.changeParameters((com.google.cloud.channel.v1.ChangeParametersRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CHANGE_RENEWAL_SETTINGS: - serviceImpl.changeRenewalSettings( - (com.google.cloud.channel.v1.ChangeRenewalSettingsRequest) request, + serviceImpl.changeRenewalSettings((com.google.cloud.channel.v1.ChangeRenewalSettingsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CHANGE_OFFER: - serviceImpl.changeOffer( - (com.google.cloud.channel.v1.ChangeOfferRequest) request, + serviceImpl.changeOffer((com.google.cloud.channel.v1.ChangeOfferRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_START_PAID_SERVICE: - serviceImpl.startPaidService( - (com.google.cloud.channel.v1.StartPaidServiceRequest) request, + serviceImpl.startPaidService((com.google.cloud.channel.v1.StartPaidServiceRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SUSPEND_ENTITLEMENT: - serviceImpl.suspendEntitlement( - (com.google.cloud.channel.v1.SuspendEntitlementRequest) request, + serviceImpl.suspendEntitlement((com.google.cloud.channel.v1.SuspendEntitlementRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CANCEL_ENTITLEMENT: - serviceImpl.cancelEntitlement( - (com.google.cloud.channel.v1.CancelEntitlementRequest) request, + serviceImpl.cancelEntitlement((com.google.cloud.channel.v1.CancelEntitlementRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_ACTIVATE_ENTITLEMENT: - serviceImpl.activateEntitlement( - (com.google.cloud.channel.v1.ActivateEntitlementRequest) request, + serviceImpl.activateEntitlement((com.google.cloud.channel.v1.ActivateEntitlementRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_TRANSFER_ENTITLEMENTS: - serviceImpl.transferEntitlements( - (com.google.cloud.channel.v1.TransferEntitlementsRequest) request, + serviceImpl.transferEntitlements((com.google.cloud.channel.v1.TransferEntitlementsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_TRANSFER_ENTITLEMENTS_TO_GOOGLE: - serviceImpl.transferEntitlementsToGoogle( - (com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest) request, + serviceImpl.transferEntitlementsToGoogle((com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_CHANNEL_PARTNER_LINKS: - serviceImpl.listChannelPartnerLinks( - (com.google.cloud.channel.v1.ListChannelPartnerLinksRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.channel.v1.ListChannelPartnerLinksResponse>) - responseObserver); + serviceImpl.listChannelPartnerLinks((com.google.cloud.channel.v1.ListChannelPartnerLinksRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_CHANNEL_PARTNER_LINK: - serviceImpl.getChannelPartnerLink( - (com.google.cloud.channel.v1.GetChannelPartnerLinkRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.getChannelPartnerLink((com.google.cloud.channel.v1.GetChannelPartnerLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_CHANNEL_PARTNER_LINK: - serviceImpl.createChannelPartnerLink( - (com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.createChannelPartnerLink((com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_CHANNEL_PARTNER_LINK: - serviceImpl.updateChannelPartnerLink( - (com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.updateChannelPartnerLink((com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_CUSTOMER_REPRICING_CONFIG: - serviceImpl.getCustomerRepricingConfig( - (com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.getCustomerRepricingConfig((com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_CUSTOMER_REPRICING_CONFIGS: - serviceImpl.listCustomerRepricingConfigs( - (com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse>) - responseObserver); + serviceImpl.listCustomerRepricingConfigs((com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_CUSTOMER_REPRICING_CONFIG: - serviceImpl.createCustomerRepricingConfig( - (com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.createCustomerRepricingConfig((com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_CUSTOMER_REPRICING_CONFIG: - serviceImpl.updateCustomerRepricingConfig( - (com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.updateCustomerRepricingConfig((com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_CUSTOMER_REPRICING_CONFIG: - serviceImpl.deleteCustomerRepricingConfig( - (com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest) request, + serviceImpl.deleteCustomerRepricingConfig((com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_CHANNEL_PARTNER_REPRICING_CONFIG: - serviceImpl.getChannelPartnerRepricingConfig( - (com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>) - responseObserver); + serviceImpl.getChannelPartnerRepricingConfig((com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_CHANNEL_PARTNER_REPRICING_CONFIGS: - serviceImpl.listChannelPartnerRepricingConfigs( - (com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse>) - responseObserver); + serviceImpl.listChannelPartnerRepricingConfigs((com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_CHANNEL_PARTNER_REPRICING_CONFIG: - serviceImpl.createChannelPartnerRepricingConfig( - (com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>) - responseObserver); + serviceImpl.createChannelPartnerRepricingConfig((com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_CHANNEL_PARTNER_REPRICING_CONFIG: - serviceImpl.updateChannelPartnerRepricingConfig( - (com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>) - responseObserver); + serviceImpl.updateChannelPartnerRepricingConfig((com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_CHANNEL_PARTNER_REPRICING_CONFIG: - serviceImpl.deleteChannelPartnerRepricingConfig( - (com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest) request, + serviceImpl.deleteChannelPartnerRepricingConfig((com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LOOKUP_OFFER: - serviceImpl.lookupOffer( - (com.google.cloud.channel.v1.LookupOfferRequest) request, + serviceImpl.lookupOffer((com.google.cloud.channel.v1.LookupOfferRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_PRODUCTS: - serviceImpl.listProducts( - (com.google.cloud.channel.v1.ListProductsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.listProducts((com.google.cloud.channel.v1.ListProductsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_SKUS: - serviceImpl.listSkus( - (com.google.cloud.channel.v1.ListSkusRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.listSkus((com.google.cloud.channel.v1.ListSkusRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_OFFERS: - serviceImpl.listOffers( - (com.google.cloud.channel.v1.ListOffersRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.listOffers((com.google.cloud.channel.v1.ListOffersRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_PURCHASABLE_SKUS: - serviceImpl.listPurchasableSkus( - (com.google.cloud.channel.v1.ListPurchasableSkusRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.listPurchasableSkus((com.google.cloud.channel.v1.ListPurchasableSkusRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_PURCHASABLE_OFFERS: - serviceImpl.listPurchasableOffers( - (com.google.cloud.channel.v1.ListPurchasableOffersRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.channel.v1.ListPurchasableOffersResponse>) - responseObserver); + serviceImpl.listPurchasableOffers((com.google.cloud.channel.v1.ListPurchasableOffersRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_REGISTER_SUBSCRIBER: - serviceImpl.registerSubscriber( - (com.google.cloud.channel.v1.RegisterSubscriberRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.registerSubscriber((com.google.cloud.channel.v1.RegisterSubscriberRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UNREGISTER_SUBSCRIBER: - serviceImpl.unregisterSubscriber( - (com.google.cloud.channel.v1.UnregisterSubscriberRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.channel.v1.UnregisterSubscriberResponse>) - responseObserver); + serviceImpl.unregisterSubscriber((com.google.cloud.channel.v1.UnregisterSubscriberRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_SUBSCRIBERS: - serviceImpl.listSubscribers( - (com.google.cloud.channel.v1.ListSubscribersRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.listSubscribers((com.google.cloud.channel.v1.ListSubscribersRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -8102,9 +6707,8 @@ public io.grpc.stub.StreamObserver invoke( } } - private abstract static class CloudChannelServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class CloudChannelServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { CloudChannelServiceBaseDescriptorSupplier() {} @java.lang.Override @@ -8146,56 +6750,54 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (CloudChannelServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new CloudChannelServiceFileDescriptorSupplier()) - .addMethod(getListCustomersMethod()) - .addMethod(getGetCustomerMethod()) - .addMethod(getCheckCloudIdentityAccountsExistMethod()) - .addMethod(getCreateCustomerMethod()) - .addMethod(getUpdateCustomerMethod()) - .addMethod(getDeleteCustomerMethod()) - .addMethod(getImportCustomerMethod()) - .addMethod(getProvisionCloudIdentityMethod()) - .addMethod(getListEntitlementsMethod()) - .addMethod(getListTransferableSkusMethod()) - .addMethod(getListTransferableOffersMethod()) - .addMethod(getGetEntitlementMethod()) - .addMethod(getCreateEntitlementMethod()) - .addMethod(getChangeParametersMethod()) - .addMethod(getChangeRenewalSettingsMethod()) - .addMethod(getChangeOfferMethod()) - .addMethod(getStartPaidServiceMethod()) - .addMethod(getSuspendEntitlementMethod()) - .addMethod(getCancelEntitlementMethod()) - .addMethod(getActivateEntitlementMethod()) - .addMethod(getTransferEntitlementsMethod()) - .addMethod(getTransferEntitlementsToGoogleMethod()) - .addMethod(getListChannelPartnerLinksMethod()) - .addMethod(getGetChannelPartnerLinkMethod()) - .addMethod(getCreateChannelPartnerLinkMethod()) - .addMethod(getUpdateChannelPartnerLinkMethod()) - .addMethod(getGetCustomerRepricingConfigMethod()) - .addMethod(getListCustomerRepricingConfigsMethod()) - .addMethod(getCreateCustomerRepricingConfigMethod()) - .addMethod(getUpdateCustomerRepricingConfigMethod()) - .addMethod(getDeleteCustomerRepricingConfigMethod()) - .addMethod(getGetChannelPartnerRepricingConfigMethod()) - .addMethod(getListChannelPartnerRepricingConfigsMethod()) - .addMethod(getCreateChannelPartnerRepricingConfigMethod()) - .addMethod(getUpdateChannelPartnerRepricingConfigMethod()) - .addMethod(getDeleteChannelPartnerRepricingConfigMethod()) - .addMethod(getLookupOfferMethod()) - .addMethod(getListProductsMethod()) - .addMethod(getListSkusMethod()) - .addMethod(getListOffersMethod()) - .addMethod(getListPurchasableSkusMethod()) - .addMethod(getListPurchasableOffersMethod()) - .addMethod(getRegisterSubscriberMethod()) - .addMethod(getUnregisterSubscriberMethod()) - .addMethod(getListSubscribersMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new CloudChannelServiceFileDescriptorSupplier()) + .addMethod(getListCustomersMethod()) + .addMethod(getGetCustomerMethod()) + .addMethod(getCheckCloudIdentityAccountsExistMethod()) + .addMethod(getCreateCustomerMethod()) + .addMethod(getUpdateCustomerMethod()) + .addMethod(getDeleteCustomerMethod()) + .addMethod(getImportCustomerMethod()) + .addMethod(getProvisionCloudIdentityMethod()) + .addMethod(getListEntitlementsMethod()) + .addMethod(getListTransferableSkusMethod()) + .addMethod(getListTransferableOffersMethod()) + .addMethod(getGetEntitlementMethod()) + .addMethod(getCreateEntitlementMethod()) + .addMethod(getChangeParametersMethod()) + .addMethod(getChangeRenewalSettingsMethod()) + .addMethod(getChangeOfferMethod()) + .addMethod(getStartPaidServiceMethod()) + .addMethod(getSuspendEntitlementMethod()) + .addMethod(getCancelEntitlementMethod()) + .addMethod(getActivateEntitlementMethod()) + .addMethod(getTransferEntitlementsMethod()) + .addMethod(getTransferEntitlementsToGoogleMethod()) + .addMethod(getListChannelPartnerLinksMethod()) + .addMethod(getGetChannelPartnerLinkMethod()) + .addMethod(getCreateChannelPartnerLinkMethod()) + .addMethod(getUpdateChannelPartnerLinkMethod()) + .addMethod(getGetCustomerRepricingConfigMethod()) + .addMethod(getListCustomerRepricingConfigsMethod()) + .addMethod(getCreateCustomerRepricingConfigMethod()) + .addMethod(getUpdateCustomerRepricingConfigMethod()) + .addMethod(getDeleteCustomerRepricingConfigMethod()) + .addMethod(getGetChannelPartnerRepricingConfigMethod()) + .addMethod(getListChannelPartnerRepricingConfigsMethod()) + .addMethod(getCreateChannelPartnerRepricingConfigMethod()) + .addMethod(getUpdateChannelPartnerRepricingConfigMethod()) + .addMethod(getDeleteChannelPartnerRepricingConfigMethod()) + .addMethod(getLookupOfferMethod()) + .addMethod(getListProductsMethod()) + .addMethod(getListSkusMethod()) + .addMethod(getListOffersMethod()) + .addMethod(getListPurchasableSkusMethod()) + .addMethod(getListPurchasableOffersMethod()) + .addMethod(getRegisterSubscriberMethod()) + .addMethod(getUnregisterSubscriberMethod()) + .addMethod(getListSubscribersMethod()) + .build(); } } } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequest.java similarity index 69% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequest.java index adc08717be5a..aa9c41b27088 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequest.java @@ -1,42 +1,25 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Request message for [CloudChannelService.ActivateEntitlement][google.cloud.channel.v1.CloudChannelService.ActivateEntitlement].
+ * Request message for
+ * [CloudChannelService.ActivateEntitlement][google.cloud.channel.v1.CloudChannelService.ActivateEntitlement].
  * 
* * Protobuf type {@code google.cloud.channel.v1.ActivateEntitlementRequest} */ -public final class ActivateEntitlementRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ActivateEntitlementRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ActivateEntitlementRequest) ActivateEntitlementRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ActivateEntitlementRequest.newBuilder() to construct. private ActivateEntitlementRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ActivateEntitlementRequest() { name_ = ""; requestId_ = ""; @@ -44,35 +27,32 @@ private ActivateEntitlementRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ActivateEntitlementRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ActivateEntitlementRequest.class, - com.google.cloud.channel.v1.ActivateEntitlementRequest.Builder.class); + com.google.cloud.channel.v1.ActivateEntitlementRequest.class, com.google.cloud.channel.v1.ActivateEntitlementRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the entitlement to activate.
    * Name uses the format:
@@ -80,7 +60,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -89,15 +68,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the entitlement to activate.
    * Name uses the format:
@@ -105,15 +83,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -124,11 +103,10 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REQUEST_ID_FIELD_NUMBER = 3; private volatile java.lang.Object requestId_; /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -139,7 +117,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -148,18 +125,18 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -170,15 +147,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -187,7 +165,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,7 +176,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -229,16 +207,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.ActivateEntitlementRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ActivateEntitlementRequest other = - (com.google.cloud.channel.v1.ActivateEntitlementRequest) obj; + com.google.cloud.channel.v1.ActivateEntitlementRequest other = (com.google.cloud.channel.v1.ActivateEntitlementRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -260,136 +239,130 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ActivateEntitlementRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ActivateEntitlementRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ActivateEntitlementRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ActivateEntitlementRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ActivateEntitlementRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ActivateEntitlementRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ActivateEntitlementRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ActivateEntitlementRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ActivateEntitlementRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ActivateEntitlementRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ActivateEntitlementRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ActivateEntitlementRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ActivateEntitlementRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ActivateEntitlementRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.ActivateEntitlementRequest prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.ActivateEntitlementRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Request message for [CloudChannelService.ActivateEntitlement][google.cloud.channel.v1.CloudChannelService.ActivateEntitlement].
+   * Request message for
+   * [CloudChannelService.ActivateEntitlement][google.cloud.channel.v1.CloudChannelService.ActivateEntitlement].
    * 
* * Protobuf type {@code google.cloud.channel.v1.ActivateEntitlementRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ActivateEntitlementRequest) com.google.cloud.channel.v1.ActivateEntitlementRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ActivateEntitlementRequest.class, - com.google.cloud.channel.v1.ActivateEntitlementRequest.Builder.class); + com.google.cloud.channel.v1.ActivateEntitlementRequest.class, com.google.cloud.channel.v1.ActivateEntitlementRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.ActivateEntitlementRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -401,9 +374,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_descriptor; } @java.lang.Override @@ -422,8 +395,7 @@ public com.google.cloud.channel.v1.ActivateEntitlementRequest build() { @java.lang.Override public com.google.cloud.channel.v1.ActivateEntitlementRequest buildPartial() { - com.google.cloud.channel.v1.ActivateEntitlementRequest result = - new com.google.cloud.channel.v1.ActivateEntitlementRequest(this); + com.google.cloud.channel.v1.ActivateEntitlementRequest result = new com.google.cloud.channel.v1.ActivateEntitlementRequest(this); result.name_ = name_; result.requestId_ = requestId_; onBuilt(); @@ -434,39 +406,38 @@ public com.google.cloud.channel.v1.ActivateEntitlementRequest 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.cloud.channel.v1.ActivateEntitlementRequest) { - return mergeFrom((com.google.cloud.channel.v1.ActivateEntitlementRequest) other); + return mergeFrom((com.google.cloud.channel.v1.ActivateEntitlementRequest)other); } else { super.mergeFrom(other); return this; @@ -474,8 +445,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ActivateEntitlementRequest other) { - if (other == com.google.cloud.channel.v1.ActivateEntitlementRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.ActivateEntitlementRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -510,25 +480,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 26: - { - requestId_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 26: { + requestId_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -541,8 +508,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the entitlement to activate.
      * Name uses the format:
@@ -550,13 +515,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -565,8 +530,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the entitlement to activate.
      * Name uses the format:
@@ -574,14 +537,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -589,8 +553,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the entitlement to activate.
      * Name uses the format:
@@ -598,22 +560,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 entitlement to activate.
      * Name uses the format:
@@ -621,18 +581,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the entitlement to activate.
      * Name uses the format:
@@ -640,16 +597,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -657,11 +614,10 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -672,13 +628,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -687,11 +643,10 @@ public java.lang.String getRequestId() { } } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -702,14 +657,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -717,11 +673,10 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -732,25 +687,24 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -761,21 +715,19 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -786,23 +738,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -812,12 +764,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ActivateEntitlementRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ActivateEntitlementRequest) private static final com.google.cloud.channel.v1.ActivateEntitlementRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ActivateEntitlementRequest(); } @@ -826,27 +778,27 @@ public static com.google.cloud.channel.v1.ActivateEntitlementRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ActivateEntitlementRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ActivateEntitlementRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -861,4 +813,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.channel.v1.ActivateEntitlementRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequestOrBuilder.java similarity index 69% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequestOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequestOrBuilder.java index e8d2133a4d74..a72e958c19f0 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequestOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequestOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ActivateEntitlementRequestOrBuilder - extends +public interface ActivateEntitlementRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ActivateEntitlementRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the entitlement to activate.
    * Name uses the format:
@@ -33,13 +15,10 @@ public interface ActivateEntitlementRequestOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the entitlement to activate.
    * Name uses the format:
@@ -47,17 +26,16 @@ public interface ActivateEntitlementRequestOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -68,16 +46,14 @@ public interface ActivateEntitlementRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -88,8 +64,8 @@ public interface ActivateEntitlementRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUser.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUser.java similarity index 67% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUser.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUser.java index 8f1d9d796cbc..e9cabe3f2795 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUser.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUser.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/cloud/channel/v1/common.proto package com.google.cloud.channel.v1; /** - * - * *
  * Information needed to create an Admin User for Google Workspace.
  * 
* * Protobuf type {@code google.cloud.channel.v1.AdminUser} */ -public final class AdminUser extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AdminUser extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.AdminUser) AdminUserOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AdminUser.newBuilder() to construct. private AdminUser(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AdminUser() { email_ = ""; givenName_ = ""; @@ -45,41 +27,37 @@ private AdminUser() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AdminUser(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.CommonProto - .internal_static_google_cloud_channel_v1_AdminUser_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_AdminUser_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.CommonProto - .internal_static_google_cloud_channel_v1_AdminUser_fieldAccessorTable + return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_AdminUser_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.AdminUser.class, - com.google.cloud.channel.v1.AdminUser.Builder.class); + com.google.cloud.channel.v1.AdminUser.class, com.google.cloud.channel.v1.AdminUser.Builder.class); } public static final int EMAIL_FIELD_NUMBER = 1; private volatile java.lang.Object email_; /** - * - * *
    * Primary email of the admin user.
    * 
* * string email = 1; - * * @return The email. */ @java.lang.Override @@ -88,29 +66,29 @@ public java.lang.String getEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); email_ = s; return s; } } /** - * - * *
    * Primary email of the admin user.
    * 
* * string email = 1; - * * @return The bytes for email. */ @java.lang.Override - public com.google.protobuf.ByteString getEmailBytes() { + public com.google.protobuf.ByteString + getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); email_ = b; return b; } else { @@ -121,14 +99,11 @@ public com.google.protobuf.ByteString getEmailBytes() { public static final int GIVEN_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object givenName_; /** - * - * *
    * Given name of the admin user.
    * 
* * string given_name = 2; - * * @return The givenName. */ @java.lang.Override @@ -137,29 +112,29 @@ public java.lang.String getGivenName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); givenName_ = s; return s; } } /** - * - * *
    * Given name of the admin user.
    * 
* * string given_name = 2; - * * @return The bytes for givenName. */ @java.lang.Override - public com.google.protobuf.ByteString getGivenNameBytes() { + public com.google.protobuf.ByteString + getGivenNameBytes() { java.lang.Object ref = givenName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); givenName_ = b; return b; } else { @@ -170,14 +145,11 @@ public com.google.protobuf.ByteString getGivenNameBytes() { public static final int FAMILY_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object familyName_; /** - * - * *
    * Family name of the admin user.
    * 
* * string family_name = 3; - * * @return The familyName. */ @java.lang.Override @@ -186,29 +158,29 @@ public java.lang.String getFamilyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; } } /** - * - * *
    * Family name of the admin user.
    * 
* * string family_name = 3; - * * @return The bytes for familyName. */ @java.lang.Override - public com.google.protobuf.ByteString getFamilyNameBytes() { + public com.google.protobuf.ByteString + getFamilyNameBytes() { java.lang.Object ref = familyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); familyName_ = b; return b; } else { @@ -217,7 +189,6 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -229,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(email_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, email_); } @@ -265,16 +237,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.cloud.channel.v1.AdminUser)) { return super.equals(obj); } com.google.cloud.channel.v1.AdminUser other = (com.google.cloud.channel.v1.AdminUser) obj; - if (!getEmail().equals(other.getEmail())) return false; - if (!getGivenName().equals(other.getGivenName())) return false; - if (!getFamilyName().equals(other.getFamilyName())) return false; + if (!getEmail() + .equals(other.getEmail())) return false; + if (!getGivenName() + .equals(other.getGivenName())) return false; + if (!getFamilyName() + .equals(other.getFamilyName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -297,135 +272,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.AdminUser parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.AdminUser parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.AdminUser parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.AdminUser parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.channel.v1.AdminUser parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.AdminUser parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.AdminUser parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.AdminUser parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.AdminUser 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.cloud.channel.v1.AdminUser parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.AdminUser parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.AdminUser parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.AdminUser parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.AdminUser parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.AdminUser prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Information needed to create an Admin User for Google Workspace.
    * 
* * Protobuf type {@code google.cloud.channel.v1.AdminUser} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.AdminUser) com.google.cloud.channel.v1.AdminUserOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.CommonProto - .internal_static_google_cloud_channel_v1_AdminUser_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_AdminUser_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.CommonProto - .internal_static_google_cloud_channel_v1_AdminUser_fieldAccessorTable + return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_AdminUser_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.AdminUser.class, - com.google.cloud.channel.v1.AdminUser.Builder.class); + com.google.cloud.channel.v1.AdminUser.class, com.google.cloud.channel.v1.AdminUser.Builder.class); } // Construct using com.google.cloud.channel.v1.AdminUser.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -439,9 +409,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.CommonProto - .internal_static_google_cloud_channel_v1_AdminUser_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_AdminUser_descriptor; } @java.lang.Override @@ -460,8 +430,7 @@ public com.google.cloud.channel.v1.AdminUser build() { @java.lang.Override public com.google.cloud.channel.v1.AdminUser buildPartial() { - com.google.cloud.channel.v1.AdminUser result = - new com.google.cloud.channel.v1.AdminUser(this); + com.google.cloud.channel.v1.AdminUser result = new com.google.cloud.channel.v1.AdminUser(this); result.email_ = email_; result.givenName_ = givenName_; result.familyName_ = familyName_; @@ -473,39 +442,38 @@ public com.google.cloud.channel.v1.AdminUser 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.cloud.channel.v1.AdminUser) { - return mergeFrom((com.google.cloud.channel.v1.AdminUser) other); + return mergeFrom((com.google.cloud.channel.v1.AdminUser)other); } else { super.mergeFrom(other); return this; @@ -552,31 +520,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - email_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - givenName_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - familyName_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + email_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + givenName_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + familyName_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -589,20 +553,18 @@ public Builder mergeFrom( private java.lang.Object email_ = ""; /** - * - * *
      * Primary email of the admin user.
      * 
* * string email = 1; - * * @return The email. */ public java.lang.String getEmail() { java.lang.Object ref = email_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); email_ = s; return s; @@ -611,21 +573,20 @@ public java.lang.String getEmail() { } } /** - * - * *
      * Primary email of the admin user.
      * 
* * string email = 1; - * * @return The bytes for email. */ - public com.google.protobuf.ByteString getEmailBytes() { + public com.google.protobuf.ByteString + getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); email_ = b; return b; } else { @@ -633,61 +594,54 @@ public com.google.protobuf.ByteString getEmailBytes() { } } /** - * - * *
      * Primary email of the admin user.
      * 
* * string email = 1; - * * @param value The email to set. * @return This builder for chaining. */ - public Builder setEmail(java.lang.String value) { + public Builder setEmail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + email_ = value; onChanged(); return this; } /** - * - * *
      * Primary email of the admin user.
      * 
* * string email = 1; - * * @return This builder for chaining. */ public Builder clearEmail() { - + email_ = getDefaultInstance().getEmail(); onChanged(); return this; } /** - * - * *
      * Primary email of the admin user.
      * 
* * string email = 1; - * * @param value The bytes for email to set. * @return This builder for chaining. */ - public Builder setEmailBytes(com.google.protobuf.ByteString value) { + public Builder setEmailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + email_ = value; onChanged(); return this; @@ -695,20 +649,18 @@ public Builder setEmailBytes(com.google.protobuf.ByteString value) { private java.lang.Object givenName_ = ""; /** - * - * *
      * Given name of the admin user.
      * 
* * string given_name = 2; - * * @return The givenName. */ public java.lang.String getGivenName() { java.lang.Object ref = givenName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); givenName_ = s; return s; @@ -717,21 +669,20 @@ public java.lang.String getGivenName() { } } /** - * - * *
      * Given name of the admin user.
      * 
* * string given_name = 2; - * * @return The bytes for givenName. */ - public com.google.protobuf.ByteString getGivenNameBytes() { + public com.google.protobuf.ByteString + getGivenNameBytes() { java.lang.Object ref = givenName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); givenName_ = b; return b; } else { @@ -739,61 +690,54 @@ public com.google.protobuf.ByteString getGivenNameBytes() { } } /** - * - * *
      * Given name of the admin user.
      * 
* * string given_name = 2; - * * @param value The givenName to set. * @return This builder for chaining. */ - public Builder setGivenName(java.lang.String value) { + public Builder setGivenName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + givenName_ = value; onChanged(); return this; } /** - * - * *
      * Given name of the admin user.
      * 
* * string given_name = 2; - * * @return This builder for chaining. */ public Builder clearGivenName() { - + givenName_ = getDefaultInstance().getGivenName(); onChanged(); return this; } /** - * - * *
      * Given name of the admin user.
      * 
* * string given_name = 2; - * * @param value The bytes for givenName to set. * @return This builder for chaining. */ - public Builder setGivenNameBytes(com.google.protobuf.ByteString value) { + public Builder setGivenNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + givenName_ = value; onChanged(); return this; @@ -801,20 +745,18 @@ public Builder setGivenNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object familyName_ = ""; /** - * - * *
      * Family name of the admin user.
      * 
* * string family_name = 3; - * * @return The familyName. */ public java.lang.String getFamilyName() { java.lang.Object ref = familyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; @@ -823,21 +765,20 @@ public java.lang.String getFamilyName() { } } /** - * - * *
      * Family name of the admin user.
      * 
* * string family_name = 3; - * * @return The bytes for familyName. */ - public com.google.protobuf.ByteString getFamilyNameBytes() { + public com.google.protobuf.ByteString + getFamilyNameBytes() { java.lang.Object ref = familyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); familyName_ = b; return b; } else { @@ -845,68 +786,61 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { } } /** - * - * *
      * Family name of the admin user.
      * 
* * string family_name = 3; - * * @param value The familyName to set. * @return This builder for chaining. */ - public Builder setFamilyName(java.lang.String value) { + public Builder setFamilyName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + familyName_ = value; onChanged(); return this; } /** - * - * *
      * Family name of the admin user.
      * 
* * string family_name = 3; - * * @return This builder for chaining. */ public Builder clearFamilyName() { - + familyName_ = getDefaultInstance().getFamilyName(); onChanged(); return this; } /** - * - * *
      * Family name of the admin user.
      * 
* * string family_name = 3; - * * @param value The bytes for familyName to set. * @return This builder for chaining. */ - public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { + public Builder setFamilyNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + familyName_ = 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); } @@ -916,12 +850,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.AdminUser) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.AdminUser) private static final com.google.cloud.channel.v1.AdminUser DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.AdminUser(); } @@ -930,27 +864,27 @@ public static com.google.cloud.channel.v1.AdminUser getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AdminUser parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AdminUser parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -965,4 +899,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.AdminUser getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUserOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUserOrBuilder.java similarity index 58% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUserOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUserOrBuilder.java index 21dbdf6937a3..3ab38301b88f 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUserOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUserOrBuilder.java @@ -1,100 +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/cloud/channel/v1/common.proto package com.google.cloud.channel.v1; -public interface AdminUserOrBuilder - extends +public interface AdminUserOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.AdminUser) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Primary email of the admin user.
    * 
* * string email = 1; - * * @return The email. */ java.lang.String getEmail(); /** - * - * *
    * Primary email of the admin user.
    * 
* * string email = 1; - * * @return The bytes for email. */ - com.google.protobuf.ByteString getEmailBytes(); + com.google.protobuf.ByteString + getEmailBytes(); /** - * - * *
    * Given name of the admin user.
    * 
* * string given_name = 2; - * * @return The givenName. */ java.lang.String getGivenName(); /** - * - * *
    * Given name of the admin user.
    * 
* * string given_name = 2; - * * @return The bytes for givenName. */ - com.google.protobuf.ByteString getGivenNameBytes(); + com.google.protobuf.ByteString + getGivenNameBytes(); /** - * - * *
    * Family name of the admin user.
    * 
* * string family_name = 3; - * * @return The familyName. */ java.lang.String getFamilyName(); /** - * - * *
    * Family name of the admin user.
    * 
* * string family_name = 3; - * * @return The bytes for familyName. */ - com.google.protobuf.ByteString getFamilyNameBytes(); + com.google.protobuf.ByteString + getFamilyNameBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfo.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfo.java similarity index 66% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfo.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfo.java index 967a8a3bdd8a..c6a6693f368d 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfo.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfo.java @@ -1,83 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/entitlements.proto package com.google.cloud.channel.v1; /** - * - * *
  * Association links that an entitlement has to other entitlements.
  * 
* * Protobuf type {@code google.cloud.channel.v1.AssociationInfo} */ -public final class AssociationInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AssociationInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.AssociationInfo) AssociationInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AssociationInfo.newBuilder() to construct. private AssociationInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AssociationInfo() { baseEntitlement_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AssociationInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_AssociationInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_AssociationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_AssociationInfo_fieldAccessorTable + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_AssociationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.AssociationInfo.class, - com.google.cloud.channel.v1.AssociationInfo.Builder.class); + com.google.cloud.channel.v1.AssociationInfo.class, com.google.cloud.channel.v1.AssociationInfo.Builder.class); } public static final int BASE_ENTITLEMENT_FIELD_NUMBER = 1; private volatile java.lang.Object baseEntitlement_; /** - * - * *
    * The name of the base entitlement, for which this entitlement is an add-on.
    * 
* * string base_entitlement = 1 [(.google.api.resource_reference) = { ... } - * * @return The baseEntitlement. */ @java.lang.Override @@ -86,29 +64,29 @@ public java.lang.String getBaseEntitlement() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseEntitlement_ = s; return s; } } /** - * - * *
    * The name of the base entitlement, for which this entitlement is an add-on.
    * 
* * string base_entitlement = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for baseEntitlement. */ @java.lang.Override - public com.google.protobuf.ByteString getBaseEntitlementBytes() { + public com.google.protobuf.ByteString + getBaseEntitlementBytes() { java.lang.Object ref = baseEntitlement_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); baseEntitlement_ = b; return b; } else { @@ -117,7 +95,6 @@ public com.google.protobuf.ByteString getBaseEntitlementBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -129,7 +106,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(baseEntitlement_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, baseEntitlement_); } @@ -153,15 +131,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.AssociationInfo)) { return super.equals(obj); } - com.google.cloud.channel.v1.AssociationInfo other = - (com.google.cloud.channel.v1.AssociationInfo) obj; + com.google.cloud.channel.v1.AssociationInfo other = (com.google.cloud.channel.v1.AssociationInfo) obj; - if (!getBaseEntitlement().equals(other.getBaseEntitlement())) return false; + if (!getBaseEntitlement() + .equals(other.getBaseEntitlement())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -180,136 +158,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.AssociationInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.AssociationInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.AssociationInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.AssociationInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.AssociationInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.AssociationInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.AssociationInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.AssociationInfo 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.cloud.channel.v1.AssociationInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.AssociationInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.AssociationInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.AssociationInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.AssociationInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.AssociationInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.AssociationInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Association links that an entitlement has to other entitlements.
    * 
* * Protobuf type {@code google.cloud.channel.v1.AssociationInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.AssociationInfo) com.google.cloud.channel.v1.AssociationInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_AssociationInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_AssociationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_AssociationInfo_fieldAccessorTable + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_AssociationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.AssociationInfo.class, - com.google.cloud.channel.v1.AssociationInfo.Builder.class); + com.google.cloud.channel.v1.AssociationInfo.class, com.google.cloud.channel.v1.AssociationInfo.Builder.class); } // Construct using com.google.cloud.channel.v1.AssociationInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -319,9 +291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_AssociationInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_AssociationInfo_descriptor; } @java.lang.Override @@ -340,8 +312,7 @@ public com.google.cloud.channel.v1.AssociationInfo build() { @java.lang.Override public com.google.cloud.channel.v1.AssociationInfo buildPartial() { - com.google.cloud.channel.v1.AssociationInfo result = - new com.google.cloud.channel.v1.AssociationInfo(this); + com.google.cloud.channel.v1.AssociationInfo result = new com.google.cloud.channel.v1.AssociationInfo(this); result.baseEntitlement_ = baseEntitlement_; onBuilt(); return result; @@ -351,39 +322,38 @@ public com.google.cloud.channel.v1.AssociationInfo 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.cloud.channel.v1.AssociationInfo) { - return mergeFrom((com.google.cloud.channel.v1.AssociationInfo) other); + return mergeFrom((com.google.cloud.channel.v1.AssociationInfo)other); } else { super.mergeFrom(other); return this; @@ -422,19 +392,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - baseEntitlement_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + baseEntitlement_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -447,20 +415,18 @@ public Builder mergeFrom( private java.lang.Object baseEntitlement_ = ""; /** - * - * *
      * The name of the base entitlement, for which this entitlement is an add-on.
      * 
* * string base_entitlement = 1 [(.google.api.resource_reference) = { ... } - * * @return The baseEntitlement. */ public java.lang.String getBaseEntitlement() { java.lang.Object ref = baseEntitlement_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseEntitlement_ = s; return s; @@ -469,21 +435,20 @@ public java.lang.String getBaseEntitlement() { } } /** - * - * *
      * The name of the base entitlement, for which this entitlement is an add-on.
      * 
* * string base_entitlement = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for baseEntitlement. */ - public com.google.protobuf.ByteString getBaseEntitlementBytes() { + public com.google.protobuf.ByteString + getBaseEntitlementBytes() { java.lang.Object ref = baseEntitlement_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); baseEntitlement_ = b; return b; } else { @@ -491,68 +456,61 @@ public com.google.protobuf.ByteString getBaseEntitlementBytes() { } } /** - * - * *
      * The name of the base entitlement, for which this entitlement is an add-on.
      * 
* * string base_entitlement = 1 [(.google.api.resource_reference) = { ... } - * * @param value The baseEntitlement to set. * @return This builder for chaining. */ - public Builder setBaseEntitlement(java.lang.String value) { + public Builder setBaseEntitlement( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + baseEntitlement_ = value; onChanged(); return this; } /** - * - * *
      * The name of the base entitlement, for which this entitlement is an add-on.
      * 
* * string base_entitlement = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearBaseEntitlement() { - + baseEntitlement_ = getDefaultInstance().getBaseEntitlement(); onChanged(); return this; } /** - * - * *
      * The name of the base entitlement, for which this entitlement is an add-on.
      * 
* * string base_entitlement = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for baseEntitlement to set. * @return This builder for chaining. */ - public Builder setBaseEntitlementBytes(com.google.protobuf.ByteString value) { + public Builder setBaseEntitlementBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + baseEntitlement_ = 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); } @@ -562,12 +520,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.AssociationInfo) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.AssociationInfo) private static final com.google.cloud.channel.v1.AssociationInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.AssociationInfo(); } @@ -576,27 +534,27 @@ public static com.google.cloud.channel.v1.AssociationInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AssociationInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AssociationInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -611,4 +569,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.AssociationInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfoOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfoOrBuilder.java similarity index 52% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfoOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfoOrBuilder.java index ca35368d1f9c..4d864eb1eb6d 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfoOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfoOrBuilder.java @@ -1,50 +1,29 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/entitlements.proto package com.google.cloud.channel.v1; -public interface AssociationInfoOrBuilder - extends +public interface AssociationInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.AssociationInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the base entitlement, for which this entitlement is an add-on.
    * 
* * string base_entitlement = 1 [(.google.api.resource_reference) = { ... } - * * @return The baseEntitlement. */ java.lang.String getBaseEntitlement(); /** - * - * *
    * The name of the base entitlement, for which this entitlement is an add-on.
    * 
* * string base_entitlement = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for baseEntitlement. */ - com.google.protobuf.ByteString getBaseEntitlementBytes(); + com.google.protobuf.ByteString + getBaseEntitlementBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequest.java similarity index 69% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequest.java index a80445716517..78f477aa003d 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequest.java @@ -1,42 +1,25 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Request message for [CloudChannelService.CancelEntitlement][google.cloud.channel.v1.CloudChannelService.CancelEntitlement].
+ * Request message for
+ * [CloudChannelService.CancelEntitlement][google.cloud.channel.v1.CloudChannelService.CancelEntitlement].
  * 
* * Protobuf type {@code google.cloud.channel.v1.CancelEntitlementRequest} */ -public final class CancelEntitlementRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CancelEntitlementRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.CancelEntitlementRequest) CancelEntitlementRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CancelEntitlementRequest.newBuilder() to construct. private CancelEntitlementRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CancelEntitlementRequest() { name_ = ""; requestId_ = ""; @@ -44,35 +27,32 @@ private CancelEntitlementRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CancelEntitlementRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_CancelEntitlementRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CancelEntitlementRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_CancelEntitlementRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CancelEntitlementRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.CancelEntitlementRequest.class, - com.google.cloud.channel.v1.CancelEntitlementRequest.Builder.class); + com.google.cloud.channel.v1.CancelEntitlementRequest.class, com.google.cloud.channel.v1.CancelEntitlementRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the entitlement to cancel.
    * Name uses the format:
@@ -80,7 +60,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -89,15 +68,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the entitlement to cancel.
    * Name uses the format:
@@ -105,15 +83,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -124,11 +103,10 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REQUEST_ID_FIELD_NUMBER = 3; private volatile java.lang.Object requestId_; /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -139,7 +117,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -148,18 +125,18 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -170,15 +147,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -187,7 +165,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,7 +176,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -229,16 +207,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.CancelEntitlementRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.CancelEntitlementRequest other = - (com.google.cloud.channel.v1.CancelEntitlementRequest) obj; + com.google.cloud.channel.v1.CancelEntitlementRequest other = (com.google.cloud.channel.v1.CancelEntitlementRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -260,135 +239,130 @@ public int hashCode() { } public static com.google.cloud.channel.v1.CancelEntitlementRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CancelEntitlementRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CancelEntitlementRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CancelEntitlementRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CancelEntitlementRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CancelEntitlementRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.CancelEntitlementRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.CancelEntitlementRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CancelEntitlementRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.CancelEntitlementRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.CancelEntitlementRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CancelEntitlementRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.CancelEntitlementRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CancelEntitlementRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.CancelEntitlementRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Request message for [CloudChannelService.CancelEntitlement][google.cloud.channel.v1.CloudChannelService.CancelEntitlement].
+   * Request message for
+   * [CloudChannelService.CancelEntitlement][google.cloud.channel.v1.CloudChannelService.CancelEntitlement].
    * 
* * Protobuf type {@code google.cloud.channel.v1.CancelEntitlementRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.CancelEntitlementRequest) com.google.cloud.channel.v1.CancelEntitlementRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_CancelEntitlementRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CancelEntitlementRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_CancelEntitlementRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CancelEntitlementRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.CancelEntitlementRequest.class, - com.google.cloud.channel.v1.CancelEntitlementRequest.Builder.class); + com.google.cloud.channel.v1.CancelEntitlementRequest.class, com.google.cloud.channel.v1.CancelEntitlementRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.CancelEntitlementRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -400,9 +374,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_CancelEntitlementRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CancelEntitlementRequest_descriptor; } @java.lang.Override @@ -421,8 +395,7 @@ public com.google.cloud.channel.v1.CancelEntitlementRequest build() { @java.lang.Override public com.google.cloud.channel.v1.CancelEntitlementRequest buildPartial() { - com.google.cloud.channel.v1.CancelEntitlementRequest result = - new com.google.cloud.channel.v1.CancelEntitlementRequest(this); + com.google.cloud.channel.v1.CancelEntitlementRequest result = new com.google.cloud.channel.v1.CancelEntitlementRequest(this); result.name_ = name_; result.requestId_ = requestId_; onBuilt(); @@ -433,39 +406,38 @@ public com.google.cloud.channel.v1.CancelEntitlementRequest 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.cloud.channel.v1.CancelEntitlementRequest) { - return mergeFrom((com.google.cloud.channel.v1.CancelEntitlementRequest) other); + return mergeFrom((com.google.cloud.channel.v1.CancelEntitlementRequest)other); } else { super.mergeFrom(other); return this; @@ -473,8 +445,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.CancelEntitlementRequest other) { - if (other == com.google.cloud.channel.v1.CancelEntitlementRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.CancelEntitlementRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -509,25 +480,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 26: - { - requestId_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 26: { + requestId_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -540,8 +508,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the entitlement to cancel.
      * Name uses the format:
@@ -549,13 +515,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -564,8 +530,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the entitlement to cancel.
      * Name uses the format:
@@ -573,14 +537,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.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,8 +553,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the entitlement to cancel.
      * Name uses the format:
@@ -597,22 +560,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 entitlement to cancel.
      * Name uses the format:
@@ -620,18 +581,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the entitlement to cancel.
      * Name uses the format:
@@ -639,16 +597,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -656,11 +614,10 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -671,13 +628,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -686,11 +643,10 @@ public java.lang.String getRequestId() { } } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -701,14 +657,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -716,11 +673,10 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -731,25 +687,24 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -760,21 +715,19 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -785,23 +738,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -811,12 +764,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.CancelEntitlementRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.CancelEntitlementRequest) private static final com.google.cloud.channel.v1.CancelEntitlementRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.CancelEntitlementRequest(); } @@ -825,27 +778,27 @@ public static com.google.cloud.channel.v1.CancelEntitlementRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelEntitlementRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelEntitlementRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -860,4 +813,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.CancelEntitlementRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequestOrBuilder.java similarity index 69% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequestOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequestOrBuilder.java index ae34aa4a8efa..d0980f131dfc 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequestOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequestOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface CancelEntitlementRequestOrBuilder - extends +public interface CancelEntitlementRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CancelEntitlementRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the entitlement to cancel.
    * Name uses the format:
@@ -33,13 +15,10 @@ public interface CancelEntitlementRequestOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the entitlement to cancel.
    * Name uses the format:
@@ -47,17 +26,16 @@ public interface CancelEntitlementRequestOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -68,16 +46,14 @@ public interface CancelEntitlementRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -88,8 +64,8 @@ public interface CancelEntitlementRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequest.java similarity index 63% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequest.java index 539e9d9d19cb..b918cde85110 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequest.java @@ -1,42 +1,25 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Request message for [CloudChannelService.ChangeOffer][google.cloud.channel.v1.CloudChannelService.ChangeOffer].
+ * Request message for
+ * [CloudChannelService.ChangeOffer][google.cloud.channel.v1.CloudChannelService.ChangeOffer].
  * 
* * Protobuf type {@code google.cloud.channel.v1.ChangeOfferRequest} */ -public final class ChangeOfferRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ChangeOfferRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ChangeOfferRequest) ChangeOfferRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ChangeOfferRequest.newBuilder() to construct. private ChangeOfferRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ChangeOfferRequest() { name_ = ""; offer_ = ""; @@ -47,35 +30,32 @@ private ChangeOfferRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ChangeOfferRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ChangeOfferRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ChangeOfferRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ChangeOfferRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ChangeOfferRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ChangeOfferRequest.class, - com.google.cloud.channel.v1.ChangeOfferRequest.Builder.class); + com.google.cloud.channel.v1.ChangeOfferRequest.class, com.google.cloud.channel.v1.ChangeOfferRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the entitlement to update.
    * Name uses the format:
@@ -83,7 +63,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -92,15 +71,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the entitlement to update.
    * Name uses the format:
@@ -108,15 +86,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,17 +106,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int OFFER_FIELD_NUMBER = 2; private volatile java.lang.Object offer_; /** - * - * *
    * Required. New Offer.
    * Format: accounts/{account_id}/offers/{offer_id}.
    * 
* - * - * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The offer. */ @java.lang.Override @@ -146,32 +120,30 @@ public java.lang.String getOffer() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); offer_ = s; return s; } } /** - * - * *
    * Required. New Offer.
    * Format: accounts/{account_id}/offers/{offer_id}.
    * 
* - * - * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for offer. */ @java.lang.Override - public com.google.protobuf.ByteString getOfferBytes() { + public com.google.protobuf.ByteString + getOfferBytes() { java.lang.Object ref = offer_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); offer_ = b; return b; } else { @@ -182,98 +154,86 @@ public com.google.protobuf.ByteString getOfferBytes() { public static final int PARAMETERS_FIELD_NUMBER = 3; private java.util.List parameters_; /** - * - * *
-   * Optional. Parameters needed to purchase the Offer. To view the available Parameters
-   * refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+   * Optional. Parameters needed to purchase the Offer. To view the available
+   * Parameters refer to the
+   * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+   * from the desired offer.
    * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.util.List getParametersList() { return parameters_; } /** - * - * *
-   * Optional. Parameters needed to purchase the Offer. To view the available Parameters
-   * refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+   * Optional. Parameters needed to purchase the Offer. To view the available
+   * Parameters refer to the
+   * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+   * from the desired offer.
    * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List + public java.util.List getParametersOrBuilderList() { return parameters_; } /** - * - * *
-   * Optional. Parameters needed to purchase the Offer. To view the available Parameters
-   * refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+   * Optional. Parameters needed to purchase the Offer. To view the available
+   * Parameters refer to the
+   * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+   * from the desired offer.
    * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public int getParametersCount() { return parameters_.size(); } /** - * - * *
-   * Optional. Parameters needed to purchase the Offer. To view the available Parameters
-   * refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+   * Optional. Parameters needed to purchase the Offer. To view the available
+   * Parameters refer to the
+   * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+   * from the desired offer.
    * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.channel.v1.Parameter getParameters(int index) { return parameters_.get(index); } /** - * - * *
-   * Optional. Parameters needed to purchase the Offer. To view the available Parameters
-   * refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+   * Optional. Parameters needed to purchase the Offer. To view the available
+   * Parameters refer to the
+   * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+   * from the desired offer.
    * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(int index) { + public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder( + int index) { return parameters_.get(index); } public static final int PURCHASE_ORDER_ID_FIELD_NUMBER = 5; private volatile java.lang.Object purchaseOrderId_; /** - * - * *
    * Optional. Purchase order id provided by the reseller.
    * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The purchaseOrderId. */ @java.lang.Override @@ -282,29 +242,29 @@ public java.lang.String getPurchaseOrderId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); purchaseOrderId_ = s; return s; } } /** - * - * *
    * Optional. Purchase order id provided by the reseller.
    * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for purchaseOrderId. */ @java.lang.Override - public com.google.protobuf.ByteString getPurchaseOrderIdBytes() { + public com.google.protobuf.ByteString + getPurchaseOrderIdBytes() { java.lang.Object ref = purchaseOrderId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); purchaseOrderId_ = b; return b; } else { @@ -315,11 +275,10 @@ public com.google.protobuf.ByteString getPurchaseOrderIdBytes() { public static final int REQUEST_ID_FIELD_NUMBER = 6; private volatile java.lang.Object requestId_; /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -330,7 +289,6 @@ public com.google.protobuf.ByteString getPurchaseOrderIdBytes() {
    * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -339,18 +297,18 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -361,15 +319,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -378,7 +337,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -390,7 +348,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -422,7 +381,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, offer_); } for (int i = 0; i < parameters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, parameters_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, parameters_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(purchaseOrderId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, purchaseOrderId_); @@ -438,19 +398,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.cloud.channel.v1.ChangeOfferRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ChangeOfferRequest other = - (com.google.cloud.channel.v1.ChangeOfferRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (!getOffer().equals(other.getOffer())) return false; - if (!getParametersList().equals(other.getParametersList())) return false; - if (!getPurchaseOrderId().equals(other.getPurchaseOrderId())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; + com.google.cloud.channel.v1.ChangeOfferRequest other = (com.google.cloud.channel.v1.ChangeOfferRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getOffer() + .equals(other.getOffer())) return false; + if (!getParametersList() + .equals(other.getParametersList())) return false; + if (!getPurchaseOrderId() + .equals(other.getPurchaseOrderId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -479,136 +443,131 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ChangeOfferRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.ChangeOfferRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ChangeOfferRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ChangeOfferRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ChangeOfferRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ChangeOfferRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ChangeOfferRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ChangeOfferRequest 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.cloud.channel.v1.ChangeOfferRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ChangeOfferRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ChangeOfferRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ChangeOfferRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ChangeOfferRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ChangeOfferRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ChangeOfferRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Request message for [CloudChannelService.ChangeOffer][google.cloud.channel.v1.CloudChannelService.ChangeOffer].
+   * Request message for
+   * [CloudChannelService.ChangeOffer][google.cloud.channel.v1.CloudChannelService.ChangeOffer].
    * 
* * Protobuf type {@code google.cloud.channel.v1.ChangeOfferRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ChangeOfferRequest) com.google.cloud.channel.v1.ChangeOfferRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ChangeOfferRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ChangeOfferRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ChangeOfferRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ChangeOfferRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ChangeOfferRequest.class, - com.google.cloud.channel.v1.ChangeOfferRequest.Builder.class); + com.google.cloud.channel.v1.ChangeOfferRequest.class, com.google.cloud.channel.v1.ChangeOfferRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.ChangeOfferRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -631,9 +590,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ChangeOfferRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ChangeOfferRequest_descriptor; } @java.lang.Override @@ -652,8 +611,7 @@ public com.google.cloud.channel.v1.ChangeOfferRequest build() { @java.lang.Override public com.google.cloud.channel.v1.ChangeOfferRequest buildPartial() { - com.google.cloud.channel.v1.ChangeOfferRequest result = - new com.google.cloud.channel.v1.ChangeOfferRequest(this); + com.google.cloud.channel.v1.ChangeOfferRequest result = new com.google.cloud.channel.v1.ChangeOfferRequest(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.offer_ = offer_; @@ -676,39 +634,38 @@ public com.google.cloud.channel.v1.ChangeOfferRequest 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.cloud.channel.v1.ChangeOfferRequest) { - return mergeFrom((com.google.cloud.channel.v1.ChangeOfferRequest) other); + return mergeFrom((com.google.cloud.channel.v1.ChangeOfferRequest)other); } else { super.mergeFrom(other); return this; @@ -743,10 +700,9 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ChangeOfferRequest other) { parametersBuilder_ = null; parameters_ = other.parameters_; bitField0_ = (bitField0_ & ~0x00000001); - parametersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getParametersFieldBuilder() - : null; + parametersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getParametersFieldBuilder() : null; } else { parametersBuilder_.addAllMessages(other.parameters_); } @@ -786,50 +742,45 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); + case 10: { + name_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - offer_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + offer_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - com.google.cloud.channel.v1.Parameter m = - input.readMessage( - com.google.cloud.channel.v1.Parameter.parser(), extensionRegistry); - if (parametersBuilder_ == null) { - ensureParametersIsMutable(); - parameters_.add(m); - } else { - parametersBuilder_.addMessage(m); - } - break; - } // case 26 - case 42: - { - purchaseOrderId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + com.google.cloud.channel.v1.Parameter m = + input.readMessage( + com.google.cloud.channel.v1.Parameter.parser(), + extensionRegistry); + if (parametersBuilder_ == null) { + ensureParametersIsMutable(); + parameters_.add(m); + } else { + parametersBuilder_.addMessage(m); + } + break; + } // case 26 + case 42: { + purchaseOrderId_ = input.readStringRequireUtf8(); - break; - } // case 42 - case 50: - { - requestId_ = input.readStringRequireUtf8(); + break; + } // case 42 + case 50: { + requestId_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -839,13 +790,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the entitlement to update.
      * Name uses the format:
@@ -853,13 +801,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -868,8 +816,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the entitlement to update.
      * Name uses the format:
@@ -877,14 +823,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -892,8 +839,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the entitlement to update.
      * Name uses the format:
@@ -901,22 +846,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 entitlement to update.
      * Name uses the format:
@@ -924,18 +867,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the entitlement to update.
      * Name uses the format:
@@ -943,16 +883,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -960,23 +900,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object offer_ = ""; /** - * - * *
      * Required. New Offer.
      * Format: accounts/{account_id}/offers/{offer_id}.
      * 
* - * - * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The offer. */ public java.lang.String getOffer() { java.lang.Object ref = offer_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); offer_ = s; return s; @@ -985,24 +921,21 @@ public java.lang.String getOffer() { } } /** - * - * *
      * Required. New Offer.
      * Format: accounts/{account_id}/offers/{offer_id}.
      * 
* - * - * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for offer. */ - public com.google.protobuf.ByteString getOfferBytes() { + public com.google.protobuf.ByteString + getOfferBytes() { java.lang.Object ref = offer_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); offer_ = b; return b; } else { @@ -1010,102 +943,83 @@ public com.google.protobuf.ByteString getOfferBytes() { } } /** - * - * *
      * Required. New Offer.
      * Format: accounts/{account_id}/offers/{offer_id}.
      * 
* - * - * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The offer to set. * @return This builder for chaining. */ - public Builder setOffer(java.lang.String value) { + public Builder setOffer( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + offer_ = value; onChanged(); return this; } /** - * - * *
      * Required. New Offer.
      * Format: accounts/{account_id}/offers/{offer_id}.
      * 
* - * - * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearOffer() { - + offer_ = getDefaultInstance().getOffer(); onChanged(); return this; } /** - * - * *
      * Required. New Offer.
      * Format: accounts/{account_id}/offers/{offer_id}.
      * 
* - * - * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for offer to set. * @return This builder for chaining. */ - public Builder setOfferBytes(com.google.protobuf.ByteString value) { + public Builder setOfferBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + offer_ = value; onChanged(); return this; } private java.util.List parameters_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureParametersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { parameters_ = new java.util.ArrayList(parameters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Parameter, - com.google.cloud.channel.v1.Parameter.Builder, - com.google.cloud.channel.v1.ParameterOrBuilder> - parametersBuilder_; + com.google.cloud.channel.v1.Parameter, com.google.cloud.channel.v1.Parameter.Builder, com.google.cloud.channel.v1.ParameterOrBuilder> parametersBuilder_; /** - * - * *
-     * Optional. Parameters needed to purchase the Offer. To view the available Parameters
-     * refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * Optional. Parameters needed to purchase the Offer. To view the available
+     * Parameters refer to the
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public java.util.List getParametersList() { if (parametersBuilder_ == null) { @@ -1115,16 +1029,14 @@ public java.util.List getParametersList() } } /** - * - * *
-     * Optional. Parameters needed to purchase the Offer. To view the available Parameters
-     * refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * Optional. Parameters needed to purchase the Offer. To view the available
+     * Parameters refer to the
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public int getParametersCount() { if (parametersBuilder_ == null) { @@ -1134,16 +1046,14 @@ public int getParametersCount() { } } /** - * - * *
-     * Optional. Parameters needed to purchase the Offer. To view the available Parameters
-     * refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * Optional. Parameters needed to purchase the Offer. To view the available
+     * Parameters refer to the
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.channel.v1.Parameter getParameters(int index) { if (parametersBuilder_ == null) { @@ -1153,18 +1063,17 @@ public com.google.cloud.channel.v1.Parameter getParameters(int index) { } } /** - * - * *
-     * Optional. Parameters needed to purchase the Offer. To view the available Parameters
-     * refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * Optional. Parameters needed to purchase the Offer. To view the available
+     * Parameters refer to the
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setParameters(int index, com.google.cloud.channel.v1.Parameter value) { + public Builder setParameters( + int index, com.google.cloud.channel.v1.Parameter value) { if (parametersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1178,16 +1087,14 @@ public Builder setParameters(int index, com.google.cloud.channel.v1.Parameter va return this; } /** - * - * *
-     * Optional. Parameters needed to purchase the Offer. To view the available Parameters
-     * refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * Optional. Parameters needed to purchase the Offer. To view the available
+     * Parameters refer to the
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setParameters( int index, com.google.cloud.channel.v1.Parameter.Builder builderForValue) { @@ -1201,16 +1108,14 @@ public Builder setParameters( return this; } /** - * - * *
-     * Optional. Parameters needed to purchase the Offer. To view the available Parameters
-     * refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * Optional. Parameters needed to purchase the Offer. To view the available
+     * Parameters refer to the
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addParameters(com.google.cloud.channel.v1.Parameter value) { if (parametersBuilder_ == null) { @@ -1226,18 +1131,17 @@ public Builder addParameters(com.google.cloud.channel.v1.Parameter value) { return this; } /** - * - * *
-     * Optional. Parameters needed to purchase the Offer. To view the available Parameters
-     * refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * Optional. Parameters needed to purchase the Offer. To view the available
+     * Parameters refer to the
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder addParameters(int index, com.google.cloud.channel.v1.Parameter value) { + public Builder addParameters( + int index, com.google.cloud.channel.v1.Parameter value) { if (parametersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1251,18 +1155,17 @@ public Builder addParameters(int index, com.google.cloud.channel.v1.Parameter va return this; } /** - * - * *
-     * Optional. Parameters needed to purchase the Offer. To view the available Parameters
-     * refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * Optional. Parameters needed to purchase the Offer. To view the available
+     * Parameters refer to the
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder addParameters(com.google.cloud.channel.v1.Parameter.Builder builderForValue) { + public Builder addParameters( + com.google.cloud.channel.v1.Parameter.Builder builderForValue) { if (parametersBuilder_ == null) { ensureParametersIsMutable(); parameters_.add(builderForValue.build()); @@ -1273,16 +1176,14 @@ public Builder addParameters(com.google.cloud.channel.v1.Parameter.Builder build return this; } /** - * - * *
-     * Optional. Parameters needed to purchase the Offer. To view the available Parameters
-     * refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * Optional. Parameters needed to purchase the Offer. To view the available
+     * Parameters refer to the
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addParameters( int index, com.google.cloud.channel.v1.Parameter.Builder builderForValue) { @@ -1296,22 +1197,21 @@ public Builder addParameters( return this; } /** - * - * *
-     * Optional. Parameters needed to purchase the Offer. To view the available Parameters
-     * refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * Optional. Parameters needed to purchase the Offer. To view the available
+     * Parameters refer to the
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAllParameters( java.lang.Iterable values) { if (parametersBuilder_ == null) { ensureParametersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, parameters_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, parameters_); onChanged(); } else { parametersBuilder_.addAllMessages(values); @@ -1319,16 +1219,14 @@ public Builder addAllParameters( return this; } /** - * - * *
-     * Optional. Parameters needed to purchase the Offer. To view the available Parameters
-     * refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * Optional. Parameters needed to purchase the Offer. To view the available
+     * Parameters refer to the
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearParameters() { if (parametersBuilder_ == null) { @@ -1341,16 +1239,14 @@ public Builder clearParameters() { return this; } /** - * - * *
-     * Optional. Parameters needed to purchase the Offer. To view the available Parameters
-     * refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * Optional. Parameters needed to purchase the Offer. To view the available
+     * Parameters refer to the
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder removeParameters(int index) { if (parametersBuilder_ == null) { @@ -1363,53 +1259,48 @@ public Builder removeParameters(int index) { return this; } /** - * - * *
-     * Optional. Parameters needed to purchase the Offer. To view the available Parameters
-     * refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * Optional. Parameters needed to purchase the Offer. To view the available
+     * Parameters refer to the
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.channel.v1.Parameter.Builder getParametersBuilder(int index) { + public com.google.cloud.channel.v1.Parameter.Builder getParametersBuilder( + int index) { return getParametersFieldBuilder().getBuilder(index); } /** - * - * *
-     * Optional. Parameters needed to purchase the Offer. To view the available Parameters
-     * refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * Optional. Parameters needed to purchase the Offer. To view the available
+     * Parameters refer to the
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(int index) { + public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder( + int index) { if (parametersBuilder_ == null) { - return parameters_.get(index); - } else { + return parameters_.get(index); } else { return parametersBuilder_.getMessageOrBuilder(index); } } /** - * - * *
-     * Optional. Parameters needed to purchase the Offer. To view the available Parameters
-     * refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * Optional. Parameters needed to purchase the Offer. To view the available
+     * Parameters refer to the
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getParametersOrBuilderList() { + public java.util.List + getParametersOrBuilderList() { if (parametersBuilder_ != null) { return parametersBuilder_.getMessageOrBuilderList(); } else { @@ -1417,66 +1308,58 @@ public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(int } } /** - * - * *
-     * Optional. Parameters needed to purchase the Offer. To view the available Parameters
-     * refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * Optional. Parameters needed to purchase the Offer. To view the available
+     * Parameters refer to the
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.channel.v1.Parameter.Builder addParametersBuilder() { - return getParametersFieldBuilder() - .addBuilder(com.google.cloud.channel.v1.Parameter.getDefaultInstance()); + return getParametersFieldBuilder().addBuilder( + com.google.cloud.channel.v1.Parameter.getDefaultInstance()); } /** - * - * *
-     * Optional. Parameters needed to purchase the Offer. To view the available Parameters
-     * refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * Optional. Parameters needed to purchase the Offer. To view the available
+     * Parameters refer to the
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.channel.v1.Parameter.Builder addParametersBuilder(int index) { - return getParametersFieldBuilder() - .addBuilder(index, com.google.cloud.channel.v1.Parameter.getDefaultInstance()); + public com.google.cloud.channel.v1.Parameter.Builder addParametersBuilder( + int index) { + return getParametersFieldBuilder().addBuilder( + index, com.google.cloud.channel.v1.Parameter.getDefaultInstance()); } /** - * - * *
-     * Optional. Parameters needed to purchase the Offer. To view the available Parameters
-     * refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * Optional. Parameters needed to purchase the Offer. To view the available
+     * Parameters refer to the
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getParametersBuilderList() { + public java.util.List + getParametersBuilderList() { return getParametersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Parameter, - com.google.cloud.channel.v1.Parameter.Builder, - com.google.cloud.channel.v1.ParameterOrBuilder> + com.google.cloud.channel.v1.Parameter, com.google.cloud.channel.v1.Parameter.Builder, com.google.cloud.channel.v1.ParameterOrBuilder> getParametersFieldBuilder() { if (parametersBuilder_ == null) { - parametersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Parameter, - com.google.cloud.channel.v1.Parameter.Builder, - com.google.cloud.channel.v1.ParameterOrBuilder>( - parameters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + parametersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.Parameter, com.google.cloud.channel.v1.Parameter.Builder, com.google.cloud.channel.v1.ParameterOrBuilder>( + parameters_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); parameters_ = null; } return parametersBuilder_; @@ -1484,20 +1367,18 @@ public com.google.cloud.channel.v1.Parameter.Builder addParametersBuilder(int in private java.lang.Object purchaseOrderId_ = ""; /** - * - * *
      * Optional. Purchase order id provided by the reseller.
      * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The purchaseOrderId. */ public java.lang.String getPurchaseOrderId() { java.lang.Object ref = purchaseOrderId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); purchaseOrderId_ = s; return s; @@ -1506,21 +1387,20 @@ public java.lang.String getPurchaseOrderId() { } } /** - * - * *
      * Optional. Purchase order id provided by the reseller.
      * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for purchaseOrderId. */ - public com.google.protobuf.ByteString getPurchaseOrderIdBytes() { + public com.google.protobuf.ByteString + getPurchaseOrderIdBytes() { java.lang.Object ref = purchaseOrderId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); purchaseOrderId_ = b; return b; } else { @@ -1528,61 +1408,54 @@ public com.google.protobuf.ByteString getPurchaseOrderIdBytes() { } } /** - * - * *
      * Optional. Purchase order id provided by the reseller.
      * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The purchaseOrderId to set. * @return This builder for chaining. */ - public Builder setPurchaseOrderId(java.lang.String value) { + public Builder setPurchaseOrderId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + purchaseOrderId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Purchase order id provided by the reseller.
      * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPurchaseOrderId() { - + purchaseOrderId_ = getDefaultInstance().getPurchaseOrderId(); onChanged(); return this; } /** - * - * *
      * Optional. Purchase order id provided by the reseller.
      * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for purchaseOrderId to set. * @return This builder for chaining. */ - public Builder setPurchaseOrderIdBytes(com.google.protobuf.ByteString value) { + public Builder setPurchaseOrderIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + purchaseOrderId_ = value; onChanged(); return this; @@ -1590,11 +1463,10 @@ public Builder setPurchaseOrderIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -1605,13 +1477,13 @@ public Builder setPurchaseOrderIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1620,11 +1492,10 @@ public java.lang.String getRequestId() { } } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -1635,14 +1506,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1650,11 +1522,10 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -1665,25 +1536,24 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -1694,21 +1564,19 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -1719,23 +1587,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1745,12 +1613,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ChangeOfferRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ChangeOfferRequest) private static final com.google.cloud.channel.v1.ChangeOfferRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ChangeOfferRequest(); } @@ -1759,27 +1627,27 @@ public static com.google.cloud.channel.v1.ChangeOfferRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChangeOfferRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChangeOfferRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1794,4 +1662,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ChangeOfferRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequestOrBuilder.java similarity index 56% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequestOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequestOrBuilder.java index 912a6577427b..8e49e022cb84 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequestOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequestOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ChangeOfferRequestOrBuilder - extends +public interface ChangeOfferRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ChangeOfferRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the entitlement to update.
    * Name uses the format:
@@ -33,13 +15,10 @@ public interface ChangeOfferRequestOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the entitlement to update.
    * Name uses the format:
@@ -47,140 +26,117 @@ public interface ChangeOfferRequestOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. New Offer.
    * Format: accounts/{account_id}/offers/{offer_id}.
    * 
* - * - * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The offer. */ java.lang.String getOffer(); /** - * - * *
    * Required. New Offer.
    * Format: accounts/{account_id}/offers/{offer_id}.
    * 
* - * - * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for offer. */ - com.google.protobuf.ByteString getOfferBytes(); + com.google.protobuf.ByteString + getOfferBytes(); /** - * - * *
-   * Optional. Parameters needed to purchase the Offer. To view the available Parameters
-   * refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+   * Optional. Parameters needed to purchase the Offer. To view the available
+   * Parameters refer to the
+   * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+   * from the desired offer.
    * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List getParametersList(); + java.util.List + getParametersList(); /** - * - * *
-   * Optional. Parameters needed to purchase the Offer. To view the available Parameters
-   * refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+   * Optional. Parameters needed to purchase the Offer. To view the available
+   * Parameters refer to the
+   * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+   * from the desired offer.
    * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.channel.v1.Parameter getParameters(int index); /** - * - * *
-   * Optional. Parameters needed to purchase the Offer. To view the available Parameters
-   * refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+   * Optional. Parameters needed to purchase the Offer. To view the available
+   * Parameters refer to the
+   * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+   * from the desired offer.
    * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; */ int getParametersCount(); /** - * - * *
-   * Optional. Parameters needed to purchase the Offer. To view the available Parameters
-   * refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+   * Optional. Parameters needed to purchase the Offer. To view the available
+   * Parameters refer to the
+   * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+   * from the desired offer.
    * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List + java.util.List getParametersOrBuilderList(); /** - * - * *
-   * Optional. Parameters needed to purchase the Offer. To view the available Parameters
-   * refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+   * Optional. Parameters needed to purchase the Offer. To view the available
+   * Parameters refer to the
+   * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+   * from the desired offer.
    * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(int index); + com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder( + int index); /** - * - * *
    * Optional. Purchase order id provided by the reseller.
    * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The purchaseOrderId. */ java.lang.String getPurchaseOrderId(); /** - * - * *
    * Optional. Purchase order id provided by the reseller.
    * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for purchaseOrderId. */ - com.google.protobuf.ByteString getPurchaseOrderIdBytes(); + com.google.protobuf.ByteString + getPurchaseOrderIdBytes(); /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -191,16 +147,14 @@ public interface ChangeOfferRequestOrBuilder
    * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -211,8 +165,8 @@ public interface ChangeOfferRequestOrBuilder
    * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequest.java similarity index 68% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequest.java index 2deba674ca92..230bf9f7e5ea 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
  * Request message for [CloudChannelService.ChangeParametersRequest][].
  * 
* * Protobuf type {@code google.cloud.channel.v1.ChangeParametersRequest} */ -public final class ChangeParametersRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ChangeParametersRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ChangeParametersRequest) ChangeParametersRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ChangeParametersRequest.newBuilder() to construct. private ChangeParametersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ChangeParametersRequest() { name_ = ""; parameters_ = java.util.Collections.emptyList(); @@ -46,35 +28,32 @@ private ChangeParametersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ChangeParametersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ChangeParametersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ChangeParametersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ChangeParametersRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ChangeParametersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ChangeParametersRequest.class, - com.google.cloud.channel.v1.ChangeParametersRequest.Builder.class); + com.google.cloud.channel.v1.ChangeParametersRequest.class, com.google.cloud.channel.v1.ChangeParametersRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the entitlement to update.
    * Name uses the format:
@@ -82,7 +61,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -91,15 +69,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the entitlement to update.
    * Name uses the format:
@@ -107,15 +84,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -126,100 +104,90 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PARAMETERS_FIELD_NUMBER = 2; private java.util.List parameters_; /** - * - * *
-   * Required. Entitlement parameters to update. You can only change editable parameters.
+   * Required. Entitlement parameters to update. You can only change editable
+   * parameters.
    * To view the available Parameters for a request, refer to the
-   * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+   * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+   * from the desired offer.
    * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getParametersList() { return parameters_; } /** - * - * *
-   * Required. Entitlement parameters to update. You can only change editable parameters.
+   * Required. Entitlement parameters to update. You can only change editable
+   * parameters.
    * To view the available Parameters for a request, refer to the
-   * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+   * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+   * from the desired offer.
    * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getParametersOrBuilderList() { return parameters_; } /** - * - * *
-   * Required. Entitlement parameters to update. You can only change editable parameters.
+   * Required. Entitlement parameters to update. You can only change editable
+   * parameters.
    * To view the available Parameters for a request, refer to the
-   * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+   * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+   * from the desired offer.
    * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getParametersCount() { return parameters_.size(); } /** - * - * *
-   * Required. Entitlement parameters to update. You can only change editable parameters.
+   * Required. Entitlement parameters to update. You can only change editable
+   * parameters.
    * To view the available Parameters for a request, refer to the
-   * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+   * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+   * from the desired offer.
    * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.channel.v1.Parameter getParameters(int index) { return parameters_.get(index); } /** - * - * *
-   * Required. Entitlement parameters to update. You can only change editable parameters.
+   * Required. Entitlement parameters to update. You can only change editable
+   * parameters.
    * To view the available Parameters for a request, refer to the
-   * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+   * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+   * from the desired offer.
    * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(int index) { + public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder( + int index) { return parameters_.get(index); } public static final int REQUEST_ID_FIELD_NUMBER = 4; private volatile java.lang.Object requestId_; /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -230,7 +198,6 @@ public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(int
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -239,18 +206,18 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -261,15 +228,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -280,14 +248,11 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int PURCHASE_ORDER_ID_FIELD_NUMBER = 5; private volatile java.lang.Object purchaseOrderId_; /** - * - * *
    * Optional. Purchase order ID provided by the reseller.
    * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The purchaseOrderId. */ @java.lang.Override @@ -296,29 +261,29 @@ public java.lang.String getPurchaseOrderId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); purchaseOrderId_ = s; return s; } } /** - * - * *
    * Optional. Purchase order ID provided by the reseller.
    * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for purchaseOrderId. */ @java.lang.Override - public com.google.protobuf.ByteString getPurchaseOrderIdBytes() { + public com.google.protobuf.ByteString + getPurchaseOrderIdBytes() { java.lang.Object ref = purchaseOrderId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); purchaseOrderId_ = b; return b; } else { @@ -327,7 +292,6 @@ public com.google.protobuf.ByteString getPurchaseOrderIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -339,7 +303,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -365,7 +330,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < parameters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, parameters_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, parameters_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); @@ -381,18 +347,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.cloud.channel.v1.ChangeParametersRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ChangeParametersRequest other = - (com.google.cloud.channel.v1.ChangeParametersRequest) obj; + com.google.cloud.channel.v1.ChangeParametersRequest other = (com.google.cloud.channel.v1.ChangeParametersRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getParametersList().equals(other.getParametersList())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; - if (!getPurchaseOrderId().equals(other.getPurchaseOrderId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getParametersList() + .equals(other.getParametersList())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (!getPurchaseOrderId() + .equals(other.getPurchaseOrderId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -420,135 +389,129 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ChangeParametersRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ChangeParametersRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ChangeParametersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ChangeParametersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ChangeParametersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ChangeParametersRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ChangeParametersRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ChangeParametersRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ChangeParametersRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ChangeParametersRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ChangeParametersRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ChangeParametersRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ChangeParametersRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ChangeParametersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ChangeParametersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for [CloudChannelService.ChangeParametersRequest][].
    * 
* * Protobuf type {@code google.cloud.channel.v1.ChangeParametersRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ChangeParametersRequest) com.google.cloud.channel.v1.ChangeParametersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ChangeParametersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ChangeParametersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ChangeParametersRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ChangeParametersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ChangeParametersRequest.class, - com.google.cloud.channel.v1.ChangeParametersRequest.Builder.class); + com.google.cloud.channel.v1.ChangeParametersRequest.class, com.google.cloud.channel.v1.ChangeParametersRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.ChangeParametersRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -569,9 +532,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ChangeParametersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ChangeParametersRequest_descriptor; } @java.lang.Override @@ -590,8 +553,7 @@ public com.google.cloud.channel.v1.ChangeParametersRequest build() { @java.lang.Override public com.google.cloud.channel.v1.ChangeParametersRequest buildPartial() { - com.google.cloud.channel.v1.ChangeParametersRequest result = - new com.google.cloud.channel.v1.ChangeParametersRequest(this); + com.google.cloud.channel.v1.ChangeParametersRequest result = new com.google.cloud.channel.v1.ChangeParametersRequest(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (parametersBuilder_ == null) { @@ -613,39 +575,38 @@ public com.google.cloud.channel.v1.ChangeParametersRequest 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.cloud.channel.v1.ChangeParametersRequest) { - return mergeFrom((com.google.cloud.channel.v1.ChangeParametersRequest) other); + return mergeFrom((com.google.cloud.channel.v1.ChangeParametersRequest)other); } else { super.mergeFrom(other); return this; @@ -653,8 +614,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ChangeParametersRequest other) { - if (other == com.google.cloud.channel.v1.ChangeParametersRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.ChangeParametersRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -677,10 +637,9 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ChangeParametersRequest oth parametersBuilder_ = null; parameters_ = other.parameters_; bitField0_ = (bitField0_ & ~0x00000001); - parametersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getParametersFieldBuilder() - : null; + parametersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getParametersFieldBuilder() : null; } else { parametersBuilder_.addAllMessages(other.parameters_); } @@ -720,44 +679,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); + case 10: { + name_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - com.google.cloud.channel.v1.Parameter m = - input.readMessage( - com.google.cloud.channel.v1.Parameter.parser(), extensionRegistry); - if (parametersBuilder_ == null) { - ensureParametersIsMutable(); - parameters_.add(m); - } else { - parametersBuilder_.addMessage(m); - } - break; - } // case 18 - case 34: - { - requestId_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + com.google.cloud.channel.v1.Parameter m = + input.readMessage( + com.google.cloud.channel.v1.Parameter.parser(), + extensionRegistry); + if (parametersBuilder_ == null) { + ensureParametersIsMutable(); + parameters_.add(m); + } else { + parametersBuilder_.addMessage(m); + } + break; + } // case 18 + case 34: { + requestId_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 42: - { - purchaseOrderId_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 42: { + purchaseOrderId_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -767,13 +722,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the entitlement to update.
      * Name uses the format:
@@ -781,13 +733,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -796,8 +748,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the entitlement to update.
      * Name uses the format:
@@ -805,14 +755,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -820,8 +771,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the entitlement to update.
      * Name uses the format:
@@ -829,22 +778,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 entitlement to update.
      * Name uses the format:
@@ -852,18 +799,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the entitlement to update.
      * Name uses the format:
@@ -871,49 +815,43 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 java.util.List parameters_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureParametersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { parameters_ = new java.util.ArrayList(parameters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Parameter, - com.google.cloud.channel.v1.Parameter.Builder, - com.google.cloud.channel.v1.ParameterOrBuilder> - parametersBuilder_; + com.google.cloud.channel.v1.Parameter, com.google.cloud.channel.v1.Parameter.Builder, com.google.cloud.channel.v1.ParameterOrBuilder> parametersBuilder_; /** - * - * *
-     * Required. Entitlement parameters to update. You can only change editable parameters.
+     * Required. Entitlement parameters to update. You can only change editable
+     * parameters.
      * To view the available Parameters for a request, refer to the
-     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getParametersList() { if (parametersBuilder_ == null) { @@ -923,17 +861,15 @@ public java.util.List getParametersList() } } /** - * - * *
-     * Required. Entitlement parameters to update. You can only change editable parameters.
+     * Required. Entitlement parameters to update. You can only change editable
+     * parameters.
      * To view the available Parameters for a request, refer to the
-     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; */ public int getParametersCount() { if (parametersBuilder_ == null) { @@ -943,17 +879,15 @@ public int getParametersCount() { } } /** - * - * *
-     * Required. Entitlement parameters to update. You can only change editable parameters.
+     * Required. Entitlement parameters to update. You can only change editable
+     * parameters.
      * To view the available Parameters for a request, refer to the
-     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.channel.v1.Parameter getParameters(int index) { if (parametersBuilder_ == null) { @@ -963,19 +897,18 @@ public com.google.cloud.channel.v1.Parameter getParameters(int index) { } } /** - * - * *
-     * Required. Entitlement parameters to update. You can only change editable parameters.
+     * Required. Entitlement parameters to update. You can only change editable
+     * parameters.
      * To view the available Parameters for a request, refer to the
-     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setParameters(int index, com.google.cloud.channel.v1.Parameter value) { + public Builder setParameters( + int index, com.google.cloud.channel.v1.Parameter value) { if (parametersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -989,17 +922,15 @@ public Builder setParameters(int index, com.google.cloud.channel.v1.Parameter va return this; } /** - * - * *
-     * Required. Entitlement parameters to update. You can only change editable parameters.
+     * Required. Entitlement parameters to update. You can only change editable
+     * parameters.
      * To view the available Parameters for a request, refer to the
-     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setParameters( int index, com.google.cloud.channel.v1.Parameter.Builder builderForValue) { @@ -1013,17 +944,15 @@ public Builder setParameters( return this; } /** - * - * *
-     * Required. Entitlement parameters to update. You can only change editable parameters.
+     * Required. Entitlement parameters to update. You can only change editable
+     * parameters.
      * To view the available Parameters for a request, refer to the
-     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addParameters(com.google.cloud.channel.v1.Parameter value) { if (parametersBuilder_ == null) { @@ -1039,19 +968,18 @@ public Builder addParameters(com.google.cloud.channel.v1.Parameter value) { return this; } /** - * - * *
-     * Required. Entitlement parameters to update. You can only change editable parameters.
+     * Required. Entitlement parameters to update. You can only change editable
+     * parameters.
      * To view the available Parameters for a request, refer to the
-     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addParameters(int index, com.google.cloud.channel.v1.Parameter value) { + public Builder addParameters( + int index, com.google.cloud.channel.v1.Parameter value) { if (parametersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1065,19 +993,18 @@ public Builder addParameters(int index, com.google.cloud.channel.v1.Parameter va return this; } /** - * - * *
-     * Required. Entitlement parameters to update. You can only change editable parameters.
+     * Required. Entitlement parameters to update. You can only change editable
+     * parameters.
      * To view the available Parameters for a request, refer to the
-     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addParameters(com.google.cloud.channel.v1.Parameter.Builder builderForValue) { + public Builder addParameters( + com.google.cloud.channel.v1.Parameter.Builder builderForValue) { if (parametersBuilder_ == null) { ensureParametersIsMutable(); parameters_.add(builderForValue.build()); @@ -1088,17 +1015,15 @@ public Builder addParameters(com.google.cloud.channel.v1.Parameter.Builder build return this; } /** - * - * *
-     * Required. Entitlement parameters to update. You can only change editable parameters.
+     * Required. Entitlement parameters to update. You can only change editable
+     * parameters.
      * To view the available Parameters for a request, refer to the
-     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addParameters( int index, com.google.cloud.channel.v1.Parameter.Builder builderForValue) { @@ -1112,23 +1037,22 @@ public Builder addParameters( return this; } /** - * - * *
-     * Required. Entitlement parameters to update. You can only change editable parameters.
+     * Required. Entitlement parameters to update. You can only change editable
+     * parameters.
      * To view the available Parameters for a request, refer to the
-     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllParameters( java.lang.Iterable values) { if (parametersBuilder_ == null) { ensureParametersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, parameters_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, parameters_); onChanged(); } else { parametersBuilder_.addAllMessages(values); @@ -1136,17 +1060,15 @@ public Builder addAllParameters( return this; } /** - * - * *
-     * Required. Entitlement parameters to update. You can only change editable parameters.
+     * Required. Entitlement parameters to update. You can only change editable
+     * parameters.
      * To view the available Parameters for a request, refer to the
-     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearParameters() { if (parametersBuilder_ == null) { @@ -1159,17 +1081,15 @@ public Builder clearParameters() { return this; } /** - * - * *
-     * Required. Entitlement parameters to update. You can only change editable parameters.
+     * Required. Entitlement parameters to update. You can only change editable
+     * parameters.
      * To view the available Parameters for a request, refer to the
-     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeParameters(int index) { if (parametersBuilder_ == null) { @@ -1182,56 +1102,51 @@ public Builder removeParameters(int index) { return this; } /** - * - * *
-     * Required. Entitlement parameters to update. You can only change editable parameters.
+     * Required. Entitlement parameters to update. You can only change editable
+     * parameters.
      * To view the available Parameters for a request, refer to the
-     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.channel.v1.Parameter.Builder getParametersBuilder(int index) { + public com.google.cloud.channel.v1.Parameter.Builder getParametersBuilder( + int index) { return getParametersFieldBuilder().getBuilder(index); } /** - * - * *
-     * Required. Entitlement parameters to update. You can only change editable parameters.
+     * Required. Entitlement parameters to update. You can only change editable
+     * parameters.
      * To view the available Parameters for a request, refer to the
-     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(int index) { + public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder( + int index) { if (parametersBuilder_ == null) { - return parameters_.get(index); - } else { + return parameters_.get(index); } else { return parametersBuilder_.getMessageOrBuilder(index); } } /** - * - * *
-     * Required. Entitlement parameters to update. You can only change editable parameters.
+     * Required. Entitlement parameters to update. You can only change editable
+     * parameters.
      * To view the available Parameters for a request, refer to the
-     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getParametersOrBuilderList() { + public java.util.List + getParametersOrBuilderList() { if (parametersBuilder_ != null) { return parametersBuilder_.getMessageOrBuilderList(); } else { @@ -1239,69 +1154,61 @@ public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(int } } /** - * - * *
-     * Required. Entitlement parameters to update. You can only change editable parameters.
+     * Required. Entitlement parameters to update. You can only change editable
+     * parameters.
      * To view the available Parameters for a request, refer to the
-     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.channel.v1.Parameter.Builder addParametersBuilder() { - return getParametersFieldBuilder() - .addBuilder(com.google.cloud.channel.v1.Parameter.getDefaultInstance()); + return getParametersFieldBuilder().addBuilder( + com.google.cloud.channel.v1.Parameter.getDefaultInstance()); } /** - * - * *
-     * Required. Entitlement parameters to update. You can only change editable parameters.
+     * Required. Entitlement parameters to update. You can only change editable
+     * parameters.
      * To view the available Parameters for a request, refer to the
-     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.channel.v1.Parameter.Builder addParametersBuilder(int index) { - return getParametersFieldBuilder() - .addBuilder(index, com.google.cloud.channel.v1.Parameter.getDefaultInstance()); + public com.google.cloud.channel.v1.Parameter.Builder addParametersBuilder( + int index) { + return getParametersFieldBuilder().addBuilder( + index, com.google.cloud.channel.v1.Parameter.getDefaultInstance()); } /** - * - * *
-     * Required. Entitlement parameters to update. You can only change editable parameters.
+     * Required. Entitlement parameters to update. You can only change editable
+     * parameters.
      * To view the available Parameters for a request, refer to the
-     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+     * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+     * from the desired offer.
      * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getParametersBuilderList() { + public java.util.List + getParametersBuilderList() { return getParametersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Parameter, - com.google.cloud.channel.v1.Parameter.Builder, - com.google.cloud.channel.v1.ParameterOrBuilder> + com.google.cloud.channel.v1.Parameter, com.google.cloud.channel.v1.Parameter.Builder, com.google.cloud.channel.v1.ParameterOrBuilder> getParametersFieldBuilder() { if (parametersBuilder_ == null) { - parametersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Parameter, - com.google.cloud.channel.v1.Parameter.Builder, - com.google.cloud.channel.v1.ParameterOrBuilder>( - parameters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + parametersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.Parameter, com.google.cloud.channel.v1.Parameter.Builder, com.google.cloud.channel.v1.ParameterOrBuilder>( + parameters_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); parameters_ = null; } return parametersBuilder_; @@ -1309,11 +1216,10 @@ public com.google.cloud.channel.v1.Parameter.Builder addParametersBuilder(int in private java.lang.Object requestId_ = ""; /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -1324,13 +1230,13 @@ public com.google.cloud.channel.v1.Parameter.Builder addParametersBuilder(int in
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1339,11 +1245,10 @@ public java.lang.String getRequestId() { } } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -1354,14 +1259,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1369,11 +1275,10 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -1384,25 +1289,24 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -1413,21 +1317,19 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -1438,16 +1340,16 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); return this; @@ -1455,20 +1357,18 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object purchaseOrderId_ = ""; /** - * - * *
      * Optional. Purchase order ID provided by the reseller.
      * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The purchaseOrderId. */ public java.lang.String getPurchaseOrderId() { java.lang.Object ref = purchaseOrderId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); purchaseOrderId_ = s; return s; @@ -1477,21 +1377,20 @@ public java.lang.String getPurchaseOrderId() { } } /** - * - * *
      * Optional. Purchase order ID provided by the reseller.
      * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for purchaseOrderId. */ - public com.google.protobuf.ByteString getPurchaseOrderIdBytes() { + public com.google.protobuf.ByteString + getPurchaseOrderIdBytes() { java.lang.Object ref = purchaseOrderId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); purchaseOrderId_ = b; return b; } else { @@ -1499,68 +1398,61 @@ public com.google.protobuf.ByteString getPurchaseOrderIdBytes() { } } /** - * - * *
      * Optional. Purchase order ID provided by the reseller.
      * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The purchaseOrderId to set. * @return This builder for chaining. */ - public Builder setPurchaseOrderId(java.lang.String value) { + public Builder setPurchaseOrderId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + purchaseOrderId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Purchase order ID provided by the reseller.
      * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPurchaseOrderId() { - + purchaseOrderId_ = getDefaultInstance().getPurchaseOrderId(); onChanged(); return this; } /** - * - * *
      * Optional. Purchase order ID provided by the reseller.
      * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for purchaseOrderId to set. * @return This builder for chaining. */ - public Builder setPurchaseOrderIdBytes(com.google.protobuf.ByteString value) { + public Builder setPurchaseOrderIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + purchaseOrderId_ = 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); } @@ -1570,12 +1462,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ChangeParametersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ChangeParametersRequest) private static final com.google.cloud.channel.v1.ChangeParametersRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ChangeParametersRequest(); } @@ -1584,27 +1476,27 @@ public static com.google.cloud.channel.v1.ChangeParametersRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChangeParametersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChangeParametersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1619,4 +1511,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ChangeParametersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequestOrBuilder.java similarity index 64% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequestOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequestOrBuilder.java index 13c07a9337e0..98dac9ba34cf 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequestOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequestOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ChangeParametersRequestOrBuilder - extends +public interface ChangeParametersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ChangeParametersRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the entitlement to update.
    * Name uses the format:
@@ -33,13 +15,10 @@ public interface ChangeParametersRequestOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the entitlement to update.
    * Name uses the format:
@@ -47,89 +26,80 @@ public interface ChangeParametersRequestOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
-   * Required. Entitlement parameters to update. You can only change editable parameters.
+   * Required. Entitlement parameters to update. You can only change editable
+   * parameters.
    * To view the available Parameters for a request, refer to the
-   * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+   * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+   * from the desired offer.
    * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getParametersList(); + java.util.List + getParametersList(); /** - * - * *
-   * Required. Entitlement parameters to update. You can only change editable parameters.
+   * Required. Entitlement parameters to update. You can only change editable
+   * parameters.
    * To view the available Parameters for a request, refer to the
-   * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+   * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+   * from the desired offer.
    * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.channel.v1.Parameter getParameters(int index); /** - * - * *
-   * Required. Entitlement parameters to update. You can only change editable parameters.
+   * Required. Entitlement parameters to update. You can only change editable
+   * parameters.
    * To view the available Parameters for a request, refer to the
-   * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+   * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+   * from the desired offer.
    * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; */ int getParametersCount(); /** - * - * *
-   * Required. Entitlement parameters to update. You can only change editable parameters.
+   * Required. Entitlement parameters to update. You can only change editable
+   * parameters.
    * To view the available Parameters for a request, refer to the
-   * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+   * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+   * from the desired offer.
    * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getParametersOrBuilderList(); /** - * - * *
-   * Required. Entitlement parameters to update. You can only change editable parameters.
+   * Required. Entitlement parameters to update. You can only change editable
+   * parameters.
    * To view the available Parameters for a request, refer to the
-   * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
+   * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
+   * from the desired offer.
    * 
* - * - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(int index); + com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder( + int index); /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -140,16 +110,14 @@ public interface ChangeParametersRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -160,33 +128,28 @@ public interface ChangeParametersRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. Purchase order ID provided by the reseller.
    * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The purchaseOrderId. */ java.lang.String getPurchaseOrderId(); /** - * - * *
    * Optional. Purchase order ID provided by the reseller.
    * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for purchaseOrderId. */ - com.google.protobuf.ByteString getPurchaseOrderIdBytes(); + com.google.protobuf.ByteString + getPurchaseOrderIdBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequest.java similarity index 67% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequest.java index efc3f78aeee3..2246256cf804 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequest.java @@ -1,42 +1,25 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Request message for [CloudChannelService.ChangeRenewalSettings][google.cloud.channel.v1.CloudChannelService.ChangeRenewalSettings].
+ * Request message for
+ * [CloudChannelService.ChangeRenewalSettings][google.cloud.channel.v1.CloudChannelService.ChangeRenewalSettings].
  * 
* * Protobuf type {@code google.cloud.channel.v1.ChangeRenewalSettingsRequest} */ -public final class ChangeRenewalSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ChangeRenewalSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ChangeRenewalSettingsRequest) ChangeRenewalSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ChangeRenewalSettingsRequest.newBuilder() to construct. private ChangeRenewalSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ChangeRenewalSettingsRequest() { name_ = ""; requestId_ = ""; @@ -44,35 +27,32 @@ private ChangeRenewalSettingsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ChangeRenewalSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ChangeRenewalSettingsRequest.class, - com.google.cloud.channel.v1.ChangeRenewalSettingsRequest.Builder.class); + com.google.cloud.channel.v1.ChangeRenewalSettingsRequest.class, com.google.cloud.channel.v1.ChangeRenewalSettingsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the entitlement to update.
    * Name uses the format:
@@ -80,7 +60,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -89,15 +68,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the entitlement to update.
    * Name uses the format:
@@ -105,15 +83,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -124,16 +103,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int RENEWAL_SETTINGS_FIELD_NUMBER = 4; private com.google.cloud.channel.v1.RenewalSettings renewalSettings_; /** - * - * *
    * Required. New renewal settings.
    * 
* - * - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the renewalSettings field is set. */ @java.lang.Override @@ -141,34 +115,23 @@ public boolean hasRenewalSettings() { return renewalSettings_ != null; } /** - * - * *
    * Required. New renewal settings.
    * 
* - * - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The renewalSettings. */ @java.lang.Override public com.google.cloud.channel.v1.RenewalSettings getRenewalSettings() { - return renewalSettings_ == null - ? com.google.cloud.channel.v1.RenewalSettings.getDefaultInstance() - : renewalSettings_; + return renewalSettings_ == null ? com.google.cloud.channel.v1.RenewalSettings.getDefaultInstance() : renewalSettings_; } /** - * - * *
    * Required. New renewal settings.
    * 
* - * - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.channel.v1.RenewalSettingsOrBuilder getRenewalSettingsOrBuilder() { @@ -178,11 +141,10 @@ public com.google.cloud.channel.v1.RenewalSettingsOrBuilder getRenewalSettingsOr public static final int REQUEST_ID_FIELD_NUMBER = 5; private volatile java.lang.Object requestId_; /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -193,7 +155,6 @@ public com.google.cloud.channel.v1.RenewalSettingsOrBuilder getRenewalSettingsOr
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -202,18 +163,18 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -224,15 +185,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -241,7 +203,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -253,7 +214,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -276,7 +238,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (renewalSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRenewalSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getRenewalSettings()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, requestId_); @@ -289,20 +252,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.cloud.channel.v1.ChangeRenewalSettingsRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ChangeRenewalSettingsRequest other = - (com.google.cloud.channel.v1.ChangeRenewalSettingsRequest) obj; + com.google.cloud.channel.v1.ChangeRenewalSettingsRequest other = (com.google.cloud.channel.v1.ChangeRenewalSettingsRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasRenewalSettings() != other.hasRenewalSettings()) return false; if (hasRenewalSettings()) { - if (!getRenewalSettings().equals(other.getRenewalSettings())) return false; + if (!getRenewalSettings() + .equals(other.getRenewalSettings())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -328,136 +293,130 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ChangeRenewalSettingsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ChangeRenewalSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ChangeRenewalSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ChangeRenewalSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ChangeRenewalSettingsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ChangeRenewalSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ChangeRenewalSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ChangeRenewalSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ChangeRenewalSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ChangeRenewalSettingsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ChangeRenewalSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ChangeRenewalSettingsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ChangeRenewalSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ChangeRenewalSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.ChangeRenewalSettingsRequest prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.ChangeRenewalSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Request message for [CloudChannelService.ChangeRenewalSettings][google.cloud.channel.v1.CloudChannelService.ChangeRenewalSettings].
+   * Request message for
+   * [CloudChannelService.ChangeRenewalSettings][google.cloud.channel.v1.CloudChannelService.ChangeRenewalSettings].
    * 
* * Protobuf type {@code google.cloud.channel.v1.ChangeRenewalSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ChangeRenewalSettingsRequest) com.google.cloud.channel.v1.ChangeRenewalSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ChangeRenewalSettingsRequest.class, - com.google.cloud.channel.v1.ChangeRenewalSettingsRequest.Builder.class); + com.google.cloud.channel.v1.ChangeRenewalSettingsRequest.class, com.google.cloud.channel.v1.ChangeRenewalSettingsRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.ChangeRenewalSettingsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -475,9 +434,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_descriptor; } @java.lang.Override @@ -496,8 +455,7 @@ public com.google.cloud.channel.v1.ChangeRenewalSettingsRequest build() { @java.lang.Override public com.google.cloud.channel.v1.ChangeRenewalSettingsRequest buildPartial() { - com.google.cloud.channel.v1.ChangeRenewalSettingsRequest result = - new com.google.cloud.channel.v1.ChangeRenewalSettingsRequest(this); + com.google.cloud.channel.v1.ChangeRenewalSettingsRequest result = new com.google.cloud.channel.v1.ChangeRenewalSettingsRequest(this); result.name_ = name_; if (renewalSettingsBuilder_ == null) { result.renewalSettings_ = renewalSettings_; @@ -513,39 +471,38 @@ public com.google.cloud.channel.v1.ChangeRenewalSettingsRequest 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.cloud.channel.v1.ChangeRenewalSettingsRequest) { - return mergeFrom((com.google.cloud.channel.v1.ChangeRenewalSettingsRequest) other); + return mergeFrom((com.google.cloud.channel.v1.ChangeRenewalSettingsRequest)other); } else { super.mergeFrom(other); return this; @@ -553,8 +510,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ChangeRenewalSettingsRequest other) { - if (other == com.google.cloud.channel.v1.ChangeRenewalSettingsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.ChangeRenewalSettingsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -592,31 +548,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); + case 10: { + name_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 34: - { - input.readMessage(getRenewalSettingsFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 34: { + input.readMessage( + getRenewalSettingsFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 34 - case 42: - { - requestId_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 42: { + requestId_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -629,8 +583,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the entitlement to update.
      * Name uses the format:
@@ -638,13 +590,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -653,8 +605,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the entitlement to update.
      * Name uses the format:
@@ -662,14 +612,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.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 +628,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the entitlement to update.
      * Name uses the format:
@@ -686,22 +635,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 entitlement to update.
      * Name uses the format:
@@ -709,18 +656,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the entitlement to update.
      * Name uses the format:
@@ -728,16 +672,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -745,58 +689,39 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.channel.v1.RenewalSettings renewalSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RenewalSettings, - com.google.cloud.channel.v1.RenewalSettings.Builder, - com.google.cloud.channel.v1.RenewalSettingsOrBuilder> - renewalSettingsBuilder_; + com.google.cloud.channel.v1.RenewalSettings, com.google.cloud.channel.v1.RenewalSettings.Builder, com.google.cloud.channel.v1.RenewalSettingsOrBuilder> renewalSettingsBuilder_; /** - * - * *
      * Required. New renewal settings.
      * 
* - * - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the renewalSettings field is set. */ public boolean hasRenewalSettings() { return renewalSettingsBuilder_ != null || renewalSettings_ != null; } /** - * - * *
      * Required. New renewal settings.
      * 
* - * - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The renewalSettings. */ public com.google.cloud.channel.v1.RenewalSettings getRenewalSettings() { if (renewalSettingsBuilder_ == null) { - return renewalSettings_ == null - ? com.google.cloud.channel.v1.RenewalSettings.getDefaultInstance() - : renewalSettings_; + return renewalSettings_ == null ? com.google.cloud.channel.v1.RenewalSettings.getDefaultInstance() : renewalSettings_; } else { return renewalSettingsBuilder_.getMessage(); } } /** - * - * *
      * Required. New renewal settings.
      * 
* - * - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRenewalSettings(com.google.cloud.channel.v1.RenewalSettings value) { if (renewalSettingsBuilder_ == null) { @@ -812,15 +737,11 @@ public Builder setRenewalSettings(com.google.cloud.channel.v1.RenewalSettings va return this; } /** - * - * *
      * Required. New renewal settings.
      * 
* - * - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRenewalSettings( com.google.cloud.channel.v1.RenewalSettings.Builder builderForValue) { @@ -834,23 +755,17 @@ public Builder setRenewalSettings( return this; } /** - * - * *
      * Required. New renewal settings.
      * 
* - * - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeRenewalSettings(com.google.cloud.channel.v1.RenewalSettings value) { if (renewalSettingsBuilder_ == null) { if (renewalSettings_ != null) { renewalSettings_ = - com.google.cloud.channel.v1.RenewalSettings.newBuilder(renewalSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.RenewalSettings.newBuilder(renewalSettings_).mergeFrom(value).buildPartial(); } else { renewalSettings_ = value; } @@ -862,15 +777,11 @@ public Builder mergeRenewalSettings(com.google.cloud.channel.v1.RenewalSettings return this; } /** - * - * *
      * Required. New renewal settings.
      * 
* - * - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRenewalSettings() { if (renewalSettingsBuilder_ == null) { @@ -884,64 +795,48 @@ public Builder clearRenewalSettings() { return this; } /** - * - * *
      * Required. New renewal settings.
      * 
* - * - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.channel.v1.RenewalSettings.Builder getRenewalSettingsBuilder() { - + onChanged(); return getRenewalSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * Required. New renewal settings.
      * 
* - * - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.channel.v1.RenewalSettingsOrBuilder getRenewalSettingsOrBuilder() { if (renewalSettingsBuilder_ != null) { return renewalSettingsBuilder_.getMessageOrBuilder(); } else { - return renewalSettings_ == null - ? com.google.cloud.channel.v1.RenewalSettings.getDefaultInstance() - : renewalSettings_; + return renewalSettings_ == null ? + com.google.cloud.channel.v1.RenewalSettings.getDefaultInstance() : renewalSettings_; } } /** - * - * *
      * Required. New renewal settings.
      * 
* - * - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RenewalSettings, - com.google.cloud.channel.v1.RenewalSettings.Builder, - com.google.cloud.channel.v1.RenewalSettingsOrBuilder> + com.google.cloud.channel.v1.RenewalSettings, com.google.cloud.channel.v1.RenewalSettings.Builder, com.google.cloud.channel.v1.RenewalSettingsOrBuilder> getRenewalSettingsFieldBuilder() { if (renewalSettingsBuilder_ == null) { - renewalSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RenewalSettings, - com.google.cloud.channel.v1.RenewalSettings.Builder, - com.google.cloud.channel.v1.RenewalSettingsOrBuilder>( - getRenewalSettings(), getParentForChildren(), isClean()); + renewalSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.RenewalSettings, com.google.cloud.channel.v1.RenewalSettings.Builder, com.google.cloud.channel.v1.RenewalSettingsOrBuilder>( + getRenewalSettings(), + getParentForChildren(), + isClean()); renewalSettings_ = null; } return renewalSettingsBuilder_; @@ -949,11 +844,10 @@ public com.google.cloud.channel.v1.RenewalSettingsOrBuilder getRenewalSettingsOr private java.lang.Object requestId_ = ""; /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -964,13 +858,13 @@ public com.google.cloud.channel.v1.RenewalSettingsOrBuilder getRenewalSettingsOr
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -979,11 +873,10 @@ public java.lang.String getRequestId() { } } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -994,14 +887,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1009,11 +903,10 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -1024,25 +917,24 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -1053,21 +945,19 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -1078,23 +968,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1104,12 +994,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ChangeRenewalSettingsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ChangeRenewalSettingsRequest) private static final com.google.cloud.channel.v1.ChangeRenewalSettingsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ChangeRenewalSettingsRequest(); } @@ -1118,27 +1008,27 @@ public static com.google.cloud.channel.v1.ChangeRenewalSettingsRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChangeRenewalSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChangeRenewalSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1153,4 +1043,6 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.channel.v1.ChangeRenewalSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequestOrBuilder.java similarity index 65% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequestOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequestOrBuilder.java index 4432570cbc4d..af63ac13e18f 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequestOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequestOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ChangeRenewalSettingsRequestOrBuilder - extends +public interface ChangeRenewalSettingsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ChangeRenewalSettingsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the entitlement to update.
    * Name uses the format:
@@ -33,13 +15,10 @@ public interface ChangeRenewalSettingsRequestOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the entitlement to update.
    * Name uses the format:
@@ -47,58 +26,43 @@ public interface ChangeRenewalSettingsRequestOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. New renewal settings.
    * 
* - * - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the renewalSettings field is set. */ boolean hasRenewalSettings(); /** - * - * *
    * Required. New renewal settings.
    * 
* - * - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The renewalSettings. */ com.google.cloud.channel.v1.RenewalSettings getRenewalSettings(); /** - * - * *
    * Required. New renewal settings.
    * 
* - * - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.channel.v1.RenewalSettingsOrBuilder getRenewalSettingsOrBuilder(); /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -109,16 +73,14 @@ public interface ChangeRenewalSettingsRequestOrBuilder
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -129,8 +91,8 @@ public interface ChangeRenewalSettingsRequestOrBuilder
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLink.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLink.java similarity index 65% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLink.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLink.java index 7eb5cf1c9ee9..620ed988f070 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLink.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLink.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/cloud/channel/v1/channel_partner_links.proto package com.google.cloud.channel.v1; /** - * - * *
  * Entity representing a link between distributors and their indirect
  * resellers in an n-tier resale channel.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.ChannelPartnerLink}
  */
-public final class ChannelPartnerLink extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ChannelPartnerLink extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ChannelPartnerLink)
     ChannelPartnerLinkOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ChannelPartnerLink.newBuilder() to construct.
   private ChannelPartnerLink(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ChannelPartnerLink() {
     name_ = "";
     resellerCloudIdentityId_ = "";
@@ -48,42 +30,38 @@ private ChannelPartnerLink() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ChannelPartnerLink();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.channel.v1.ChannelPartnerLinksProto
-        .internal_static_google_cloud_channel_v1_ChannelPartnerLink_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.channel.v1.ChannelPartnerLinksProto.internal_static_google_cloud_channel_v1_ChannelPartnerLink_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ChannelPartnerLinksProto
-        .internal_static_google_cloud_channel_v1_ChannelPartnerLink_fieldAccessorTable
+    return com.google.cloud.channel.v1.ChannelPartnerLinksProto.internal_static_google_cloud_channel_v1_ChannelPartnerLink_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.ChannelPartnerLink.class,
-            com.google.cloud.channel.v1.ChannelPartnerLink.Builder.class);
+            com.google.cloud.channel.v1.ChannelPartnerLink.class, com.google.cloud.channel.v1.ChannelPartnerLink.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Output only. Resource name for the channel partner link, in the format
    * accounts/{account_id}/channelPartnerLinks/{id}.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -92,30 +70,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 the channel partner link, in the format
    * accounts/{account_id}/channelPartnerLinks/{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 { @@ -126,14 +104,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int RESELLER_CLOUD_IDENTITY_ID_FIELD_NUMBER = 2; private volatile java.lang.Object resellerCloudIdentityId_; /** - * - * *
    * Required. Cloud Identity ID of the linked reseller.
    * 
* * string reseller_cloud_identity_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The resellerCloudIdentityId. */ @java.lang.Override @@ -142,29 +117,29 @@ public java.lang.String getResellerCloudIdentityId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resellerCloudIdentityId_ = s; return s; } } /** - * - * *
    * Required. Cloud Identity ID of the linked reseller.
    * 
* * string reseller_cloud_identity_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for resellerCloudIdentityId. */ @java.lang.Override - public com.google.protobuf.ByteString getResellerCloudIdentityIdBytes() { + public com.google.protobuf.ByteString + getResellerCloudIdentityIdBytes() { java.lang.Object ref = resellerCloudIdentityId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resellerCloudIdentityId_ = b; return b; } else { @@ -175,56 +150,38 @@ public com.google.protobuf.ByteString getResellerCloudIdentityIdBytes() { public static final int LINK_STATE_FIELD_NUMBER = 3; private int linkState_; /** - * - * *
    * Required. State of the channel partner link.
    * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for linkState. */ - @java.lang.Override - public int getLinkStateValue() { + @java.lang.Override public int getLinkStateValue() { return linkState_; } /** - * - * *
    * Required. State of the channel partner link.
    * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The linkState. */ - @java.lang.Override - public com.google.cloud.channel.v1.ChannelPartnerLinkState getLinkState() { + @java.lang.Override public com.google.cloud.channel.v1.ChannelPartnerLinkState getLinkState() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.ChannelPartnerLinkState result = - com.google.cloud.channel.v1.ChannelPartnerLinkState.valueOf(linkState_); - return result == null - ? com.google.cloud.channel.v1.ChannelPartnerLinkState.UNRECOGNIZED - : result; + com.google.cloud.channel.v1.ChannelPartnerLinkState result = com.google.cloud.channel.v1.ChannelPartnerLinkState.valueOf(linkState_); + return result == null ? com.google.cloud.channel.v1.ChannelPartnerLinkState.UNRECOGNIZED : result; } public static final int INVITE_LINK_URI_FIELD_NUMBER = 4; private volatile java.lang.Object inviteLinkUri_; /** - * - * *
    * Output only. URI of the web page where partner accepts the link invitation.
    * 
* * string invite_link_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The inviteLinkUri. */ @java.lang.Override @@ -233,29 +190,29 @@ public java.lang.String getInviteLinkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inviteLinkUri_ = s; return s; } } /** - * - * *
    * Output only. URI of the web page where partner accepts the link invitation.
    * 
* * string invite_link_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for inviteLinkUri. */ @java.lang.Override - public com.google.protobuf.ByteString getInviteLinkUriBytes() { + public com.google.protobuf.ByteString + getInviteLinkUriBytes() { java.lang.Object ref = inviteLinkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inviteLinkUri_ = b; return b; } else { @@ -266,15 +223,11 @@ public com.google.protobuf.ByteString getInviteLinkUriBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. Timestamp of when the channel partner link is created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -282,15 +235,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. Timestamp of when the channel partner link is created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -298,14 +247,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. Timestamp of when the channel partner link is created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -315,15 +261,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. Timestamp of when the channel partner link is updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -331,15 +273,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. Timestamp of when the channel partner link is updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -347,14 +285,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. Timestamp of when the channel partner link is updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -364,15 +299,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int PUBLIC_ID_FIELD_NUMBER = 7; private volatile java.lang.Object publicId_; /** - * - * *
-   * Output only. Public identifier that a customer must use to generate a transfer token
-   * to move to this distributor-reseller combination.
+   * Output only. Public identifier that a customer must use to generate a
+   * transfer token to move to this distributor-reseller combination.
    * 
* * string public_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The publicId. */ @java.lang.Override @@ -381,30 +313,30 @@ public java.lang.String getPublicId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicId_ = s; return s; } } /** - * - * *
-   * Output only. Public identifier that a customer must use to generate a transfer token
-   * to move to this distributor-reseller combination.
+   * Output only. Public identifier that a customer must use to generate a
+   * transfer token to move to this distributor-reseller combination.
    * 
* * string public_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for publicId. */ @java.lang.Override - public com.google.protobuf.ByteString getPublicIdBytes() { + public com.google.protobuf.ByteString + getPublicIdBytes() { java.lang.Object ref = publicId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); publicId_ = b; return b; } else { @@ -415,16 +347,11 @@ public com.google.protobuf.ByteString getPublicIdBytes() { public static final int CHANNEL_PARTNER_CLOUD_IDENTITY_INFO_FIELD_NUMBER = 8; private com.google.cloud.channel.v1.CloudIdentityInfo channelPartnerCloudIdentityInfo_; /** - * - * *
    * Output only. Cloud Identity info of the channel partner (IR).
    * 
* - * - * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the channelPartnerCloudIdentityInfo field is set. */ @java.lang.Override @@ -432,43 +359,30 @@ public boolean hasChannelPartnerCloudIdentityInfo() { return channelPartnerCloudIdentityInfo_ != null; } /** - * - * *
    * Output only. Cloud Identity info of the channel partner (IR).
    * 
* - * - * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The channelPartnerCloudIdentityInfo. */ @java.lang.Override public com.google.cloud.channel.v1.CloudIdentityInfo getChannelPartnerCloudIdentityInfo() { - return channelPartnerCloudIdentityInfo_ == null - ? com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() - : channelPartnerCloudIdentityInfo_; + return channelPartnerCloudIdentityInfo_ == null ? com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() : channelPartnerCloudIdentityInfo_; } /** - * - * *
    * Output only. Cloud Identity info of the channel partner (IR).
    * 
* - * - * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder - getChannelPartnerCloudIdentityInfoOrBuilder() { + public com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder getChannelPartnerCloudIdentityInfoOrBuilder() { return getChannelPartnerCloudIdentityInfo(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -480,17 +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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resellerCloudIdentityId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, resellerCloudIdentityId_); } - if (linkState_ - != com.google.cloud.channel.v1.ChannelPartnerLinkState - .CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED - .getNumber()) { + if (linkState_ != com.google.cloud.channel.v1.ChannelPartnerLinkState.CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(3, linkState_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inviteLinkUri_)) { @@ -523,28 +435,27 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resellerCloudIdentityId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resellerCloudIdentityId_); } - if (linkState_ - != com.google.cloud.channel.v1.ChannelPartnerLinkState - .CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, linkState_); + if (linkState_ != com.google.cloud.channel.v1.ChannelPartnerLinkState.CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, linkState_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inviteLinkUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, inviteLinkUri_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(publicId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, publicId_); } if (channelPartnerCloudIdentityInfo_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, getChannelPartnerCloudIdentityInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getChannelPartnerCloudIdentityInfo()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -554,32 +465,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.cloud.channel.v1.ChannelPartnerLink)) { return super.equals(obj); } - com.google.cloud.channel.v1.ChannelPartnerLink other = - (com.google.cloud.channel.v1.ChannelPartnerLink) obj; + com.google.cloud.channel.v1.ChannelPartnerLink other = (com.google.cloud.channel.v1.ChannelPartnerLink) obj; - if (!getName().equals(other.getName())) return false; - if (!getResellerCloudIdentityId().equals(other.getResellerCloudIdentityId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getResellerCloudIdentityId() + .equals(other.getResellerCloudIdentityId())) return false; if (linkState_ != other.linkState_) return false; - if (!getInviteLinkUri().equals(other.getInviteLinkUri())) return false; + if (!getInviteLinkUri() + .equals(other.getInviteLinkUri())) 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 (!getPublicId().equals(other.getPublicId())) return false; - if (hasChannelPartnerCloudIdentityInfo() != other.hasChannelPartnerCloudIdentityInfo()) - return false; + if (!getPublicId() + .equals(other.getPublicId())) return false; + if (hasChannelPartnerCloudIdentityInfo() != other.hasChannelPartnerCloudIdentityInfo()) return false; if (hasChannelPartnerCloudIdentityInfo()) { - if (!getChannelPartnerCloudIdentityInfo().equals(other.getChannelPartnerCloudIdentityInfo())) - return false; + if (!getChannelPartnerCloudIdentityInfo() + .equals(other.getChannelPartnerCloudIdentityInfo())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -619,104 +534,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ChannelPartnerLink parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.ChannelPartnerLink parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ChannelPartnerLink parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ChannelPartnerLink parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ChannelPartnerLink parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ChannelPartnerLink parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ChannelPartnerLink parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ChannelPartnerLink 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.cloud.channel.v1.ChannelPartnerLink parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ChannelPartnerLink parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ChannelPartnerLink parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ChannelPartnerLink parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ChannelPartnerLink parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ChannelPartnerLink parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ChannelPartnerLink prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Entity representing a link between distributors and their indirect
    * resellers in an n-tier resale channel.
@@ -724,32 +632,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.channel.v1.ChannelPartnerLink}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ChannelPartnerLink)
       com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.channel.v1.ChannelPartnerLinksProto
-          .internal_static_google_cloud_channel_v1_ChannelPartnerLink_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.channel.v1.ChannelPartnerLinksProto.internal_static_google_cloud_channel_v1_ChannelPartnerLink_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ChannelPartnerLinksProto
-          .internal_static_google_cloud_channel_v1_ChannelPartnerLink_fieldAccessorTable
+      return com.google.cloud.channel.v1.ChannelPartnerLinksProto.internal_static_google_cloud_channel_v1_ChannelPartnerLink_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.ChannelPartnerLink.class,
-              com.google.cloud.channel.v1.ChannelPartnerLink.Builder.class);
+              com.google.cloud.channel.v1.ChannelPartnerLink.class, com.google.cloud.channel.v1.ChannelPartnerLink.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.ChannelPartnerLink.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -785,9 +694,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.channel.v1.ChannelPartnerLinksProto
-          .internal_static_google_cloud_channel_v1_ChannelPartnerLink_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.channel.v1.ChannelPartnerLinksProto.internal_static_google_cloud_channel_v1_ChannelPartnerLink_descriptor;
     }
 
     @java.lang.Override
@@ -806,8 +715,7 @@ public com.google.cloud.channel.v1.ChannelPartnerLink build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.ChannelPartnerLink buildPartial() {
-      com.google.cloud.channel.v1.ChannelPartnerLink result =
-          new com.google.cloud.channel.v1.ChannelPartnerLink(this);
+      com.google.cloud.channel.v1.ChannelPartnerLink result = new com.google.cloud.channel.v1.ChannelPartnerLink(this);
       result.name_ = name_;
       result.resellerCloudIdentityId_ = resellerCloudIdentityId_;
       result.linkState_ = linkState_;
@@ -836,39 +744,38 @@ public com.google.cloud.channel.v1.ChannelPartnerLink 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.cloud.channel.v1.ChannelPartnerLink) {
-        return mergeFrom((com.google.cloud.channel.v1.ChannelPartnerLink) other);
+        return mergeFrom((com.google.cloud.channel.v1.ChannelPartnerLink)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -931,63 +838,58 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                resellerCloudIdentityId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 24:
-              {
-                linkState_ = input.readEnum();
-
-                break;
-              } // case 24
-            case 34:
-              {
-                inviteLinkUri_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 50
-            case 58:
-              {
-                publicId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(
-                    getChannelPartnerCloudIdentityInfoFieldBuilder().getBuilder(),
-                    extensionRegistry);
-
-                break;
-              } // case 66
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              resellerCloudIdentityId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 24: {
+              linkState_ = input.readEnum();
+
+              break;
+            } // case 24
+            case 34: {
+              inviteLinkUri_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 50
+            case 58: {
+              publicId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getChannelPartnerCloudIdentityInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 66
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1000,21 +902,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. Resource name for the channel partner link, in the format
      * accounts/{account_id}/channelPartnerLinks/{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; @@ -1023,22 +923,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name for the channel partner link, in the format
      * accounts/{account_id}/channelPartnerLinks/{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 { @@ -1046,64 +945,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name for the channel partner link, in the format
      * accounts/{account_id}/channelPartnerLinks/{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. Resource name for the channel partner link, in the format
      * accounts/{account_id}/channelPartnerLinks/{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. Resource name for the channel partner link, in the format
      * accounts/{account_id}/channelPartnerLinks/{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; @@ -1111,20 +1003,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object resellerCloudIdentityId_ = ""; /** - * - * *
      * Required. Cloud Identity ID of the linked reseller.
      * 
* * string reseller_cloud_identity_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The resellerCloudIdentityId. */ public java.lang.String getResellerCloudIdentityId() { java.lang.Object ref = resellerCloudIdentityId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resellerCloudIdentityId_ = s; return s; @@ -1133,21 +1023,20 @@ public java.lang.String getResellerCloudIdentityId() { } } /** - * - * *
      * Required. Cloud Identity ID of the linked reseller.
      * 
* * string reseller_cloud_identity_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for resellerCloudIdentityId. */ - public com.google.protobuf.ByteString getResellerCloudIdentityIdBytes() { + public com.google.protobuf.ByteString + getResellerCloudIdentityIdBytes() { java.lang.Object ref = resellerCloudIdentityId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resellerCloudIdentityId_ = b; return b; } else { @@ -1155,61 +1044,54 @@ public com.google.protobuf.ByteString getResellerCloudIdentityIdBytes() { } } /** - * - * *
      * Required. Cloud Identity ID of the linked reseller.
      * 
* * string reseller_cloud_identity_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The resellerCloudIdentityId to set. * @return This builder for chaining. */ - public Builder setResellerCloudIdentityId(java.lang.String value) { + public Builder setResellerCloudIdentityId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resellerCloudIdentityId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Cloud Identity ID of the linked reseller.
      * 
* * string reseller_cloud_identity_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearResellerCloudIdentityId() { - + resellerCloudIdentityId_ = getDefaultInstance().getResellerCloudIdentityId(); onChanged(); return this; } /** - * - * *
      * Required. Cloud Identity ID of the linked reseller.
      * 
* * string reseller_cloud_identity_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for resellerCloudIdentityId to set. * @return This builder for chaining. */ - public Builder setResellerCloudIdentityIdBytes(com.google.protobuf.ByteString value) { + public Builder setResellerCloudIdentityIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resellerCloudIdentityId_ = value; onChanged(); return this; @@ -1217,75 +1099,51 @@ public Builder setResellerCloudIdentityIdBytes(com.google.protobuf.ByteString va private int linkState_ = 0; /** - * - * *
      * Required. State of the channel partner link.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for linkState. */ - @java.lang.Override - public int getLinkStateValue() { + @java.lang.Override public int getLinkStateValue() { return linkState_; } /** - * - * *
      * Required. State of the channel partner link.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for linkState to set. * @return This builder for chaining. */ public Builder setLinkStateValue(int value) { - + linkState_ = value; onChanged(); return this; } /** - * - * *
      * Required. State of the channel partner link.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The linkState. */ @java.lang.Override public com.google.cloud.channel.v1.ChannelPartnerLinkState getLinkState() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.ChannelPartnerLinkState result = - com.google.cloud.channel.v1.ChannelPartnerLinkState.valueOf(linkState_); - return result == null - ? com.google.cloud.channel.v1.ChannelPartnerLinkState.UNRECOGNIZED - : result; + com.google.cloud.channel.v1.ChannelPartnerLinkState result = com.google.cloud.channel.v1.ChannelPartnerLinkState.valueOf(linkState_); + return result == null ? com.google.cloud.channel.v1.ChannelPartnerLinkState.UNRECOGNIZED : result; } /** - * - * *
      * Required. State of the channel partner link.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The linkState to set. * @return This builder for chaining. */ @@ -1293,26 +1151,21 @@ public Builder setLinkState(com.google.cloud.channel.v1.ChannelPartnerLinkState if (value == null) { throw new NullPointerException(); } - + linkState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Required. State of the channel partner link.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearLinkState() { - + linkState_ = 0; onChanged(); return this; @@ -1320,20 +1173,18 @@ public Builder clearLinkState() { private java.lang.Object inviteLinkUri_ = ""; /** - * - * *
      * Output only. URI of the web page where partner accepts the link invitation.
      * 
* * string invite_link_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The inviteLinkUri. */ public java.lang.String getInviteLinkUri() { java.lang.Object ref = inviteLinkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inviteLinkUri_ = s; return s; @@ -1342,21 +1193,20 @@ public java.lang.String getInviteLinkUri() { } } /** - * - * *
      * Output only. URI of the web page where partner accepts the link invitation.
      * 
* * string invite_link_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for inviteLinkUri. */ - public com.google.protobuf.ByteString getInviteLinkUriBytes() { + public com.google.protobuf.ByteString + getInviteLinkUriBytes() { java.lang.Object ref = inviteLinkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inviteLinkUri_ = b; return b; } else { @@ -1364,61 +1214,54 @@ public com.google.protobuf.ByteString getInviteLinkUriBytes() { } } /** - * - * *
      * Output only. URI of the web page where partner accepts the link invitation.
      * 
* * string invite_link_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The inviteLinkUri to set. * @return This builder for chaining. */ - public Builder setInviteLinkUri(java.lang.String value) { + public Builder setInviteLinkUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inviteLinkUri_ = value; onChanged(); return this; } /** - * - * *
      * Output only. URI of the web page where partner accepts the link invitation.
      * 
* * string invite_link_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearInviteLinkUri() { - + inviteLinkUri_ = getDefaultInstance().getInviteLinkUri(); onChanged(); return this; } /** - * - * *
      * Output only. URI of the web page where partner accepts the link invitation.
      * 
* * string invite_link_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for inviteLinkUri to set. * @return This builder for chaining. */ - public Builder setInviteLinkUriBytes(com.google.protobuf.ByteString value) { + public Builder setInviteLinkUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + inviteLinkUri_ = value; onChanged(); return this; @@ -1426,58 +1269,39 @@ public Builder setInviteLinkUriBytes(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. Timestamp of when the channel partner link is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. Timestamp of when the channel partner link is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.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. Timestamp of when the channel partner link is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1493,17 +1317,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Timestamp of when the channel partner link is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.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(); @@ -1514,21 +1335,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Timestamp of when the channel partner link is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.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; } @@ -1540,15 +1357,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Timestamp of when the channel partner link is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1562,64 +1375,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. Timestamp of when the channel partner link is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Timestamp of when the channel partner link is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.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. Timestamp of when the channel partner link is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_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> 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_; @@ -1627,58 +1424,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. Timestamp of when the channel partner link is updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. Timestamp of when the channel partner link is updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.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. Timestamp of when the channel partner link is updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1694,17 +1472,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Timestamp of when the channel partner link is updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.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(); @@ -1715,21 +1490,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Timestamp of when the channel partner link is updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.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; } @@ -1741,15 +1512,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Timestamp of when the channel partner link is updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1763,64 +1530,48 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. Timestamp of when the channel partner link is updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Timestamp of when the channel partner link is updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.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. Timestamp of when the channel partner link is updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.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_; @@ -1828,21 +1579,19 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object publicId_ = ""; /** - * - * *
-     * Output only. Public identifier that a customer must use to generate a transfer token
-     * to move to this distributor-reseller combination.
+     * Output only. Public identifier that a customer must use to generate a
+     * transfer token to move to this distributor-reseller combination.
      * 
* * string public_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The publicId. */ public java.lang.String getPublicId() { java.lang.Object ref = publicId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicId_ = s; return s; @@ -1851,22 +1600,21 @@ public java.lang.String getPublicId() { } } /** - * - * *
-     * Output only. Public identifier that a customer must use to generate a transfer token
-     * to move to this distributor-reseller combination.
+     * Output only. Public identifier that a customer must use to generate a
+     * transfer token to move to this distributor-reseller combination.
      * 
* * string public_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for publicId. */ - public com.google.protobuf.ByteString getPublicIdBytes() { + public com.google.protobuf.ByteString + getPublicIdBytes() { java.lang.Object ref = publicId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); publicId_ = b; return b; } else { @@ -1874,64 +1622,57 @@ public com.google.protobuf.ByteString getPublicIdBytes() { } } /** - * - * *
-     * Output only. Public identifier that a customer must use to generate a transfer token
-     * to move to this distributor-reseller combination.
+     * Output only. Public identifier that a customer must use to generate a
+     * transfer token to move to this distributor-reseller combination.
      * 
* * string public_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The publicId to set. * @return This builder for chaining. */ - public Builder setPublicId(java.lang.String value) { + public Builder setPublicId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + publicId_ = value; onChanged(); return this; } /** - * - * *
-     * Output only. Public identifier that a customer must use to generate a transfer token
-     * to move to this distributor-reseller combination.
+     * Output only. Public identifier that a customer must use to generate a
+     * transfer token to move to this distributor-reseller combination.
      * 
* * string public_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearPublicId() { - + publicId_ = getDefaultInstance().getPublicId(); onChanged(); return this; } /** - * - * *
-     * Output only. Public identifier that a customer must use to generate a transfer token
-     * to move to this distributor-reseller combination.
+     * Output only. Public identifier that a customer must use to generate a
+     * transfer token to move to this distributor-reseller combination.
      * 
* * string public_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for publicId to set. * @return This builder for chaining. */ - public Builder setPublicIdBytes(com.google.protobuf.ByteString value) { + public Builder setPublicIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + publicId_ = value; onChanged(); return this; @@ -1939,62 +1680,41 @@ public Builder setPublicIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.channel.v1.CloudIdentityInfo channelPartnerCloudIdentityInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CloudIdentityInfo, - com.google.cloud.channel.v1.CloudIdentityInfo.Builder, - com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder> - channelPartnerCloudIdentityInfoBuilder_; + com.google.cloud.channel.v1.CloudIdentityInfo, com.google.cloud.channel.v1.CloudIdentityInfo.Builder, com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder> channelPartnerCloudIdentityInfoBuilder_; /** - * - * *
      * Output only. Cloud Identity info of the channel partner (IR).
      * 
* - * - * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the channelPartnerCloudIdentityInfo field is set. */ public boolean hasChannelPartnerCloudIdentityInfo() { - return channelPartnerCloudIdentityInfoBuilder_ != null - || channelPartnerCloudIdentityInfo_ != null; + return channelPartnerCloudIdentityInfoBuilder_ != null || channelPartnerCloudIdentityInfo_ != null; } /** - * - * *
      * Output only. Cloud Identity info of the channel partner (IR).
      * 
* - * - * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The channelPartnerCloudIdentityInfo. */ public com.google.cloud.channel.v1.CloudIdentityInfo getChannelPartnerCloudIdentityInfo() { if (channelPartnerCloudIdentityInfoBuilder_ == null) { - return channelPartnerCloudIdentityInfo_ == null - ? com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() - : channelPartnerCloudIdentityInfo_; + return channelPartnerCloudIdentityInfo_ == null ? com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() : channelPartnerCloudIdentityInfo_; } else { return channelPartnerCloudIdentityInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. Cloud Identity info of the channel partner (IR).
      * 
* - * - * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setChannelPartnerCloudIdentityInfo( - com.google.cloud.channel.v1.CloudIdentityInfo value) { + public Builder setChannelPartnerCloudIdentityInfo(com.google.cloud.channel.v1.CloudIdentityInfo value) { if (channelPartnerCloudIdentityInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2008,15 +1728,11 @@ public Builder setChannelPartnerCloudIdentityInfo( return this; } /** - * - * *
      * Output only. Cloud Identity info of the channel partner (IR).
      * 
* - * - * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setChannelPartnerCloudIdentityInfo( com.google.cloud.channel.v1.CloudIdentityInfo.Builder builderForValue) { @@ -2030,25 +1746,17 @@ public Builder setChannelPartnerCloudIdentityInfo( return this; } /** - * - * *
      * Output only. Cloud Identity info of the channel partner (IR).
      * 
* - * - * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeChannelPartnerCloudIdentityInfo( - com.google.cloud.channel.v1.CloudIdentityInfo value) { + public Builder mergeChannelPartnerCloudIdentityInfo(com.google.cloud.channel.v1.CloudIdentityInfo value) { if (channelPartnerCloudIdentityInfoBuilder_ == null) { if (channelPartnerCloudIdentityInfo_ != null) { channelPartnerCloudIdentityInfo_ = - com.google.cloud.channel.v1.CloudIdentityInfo.newBuilder( - channelPartnerCloudIdentityInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.CloudIdentityInfo.newBuilder(channelPartnerCloudIdentityInfo_).mergeFrom(value).buildPartial(); } else { channelPartnerCloudIdentityInfo_ = value; } @@ -2060,15 +1768,11 @@ public Builder mergeChannelPartnerCloudIdentityInfo( return this; } /** - * - * *
      * Output only. Cloud Identity info of the channel partner (IR).
      * 
* - * - * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearChannelPartnerCloudIdentityInfo() { if (channelPartnerCloudIdentityInfoBuilder_ == null) { @@ -2082,73 +1786,55 @@ public Builder clearChannelPartnerCloudIdentityInfo() { return this; } /** - * - * *
      * Output only. Cloud Identity info of the channel partner (IR).
      * 
* - * - * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.channel.v1.CloudIdentityInfo.Builder - getChannelPartnerCloudIdentityInfoBuilder() { - + public com.google.cloud.channel.v1.CloudIdentityInfo.Builder getChannelPartnerCloudIdentityInfoBuilder() { + onChanged(); return getChannelPartnerCloudIdentityInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Cloud Identity info of the channel partner (IR).
      * 
* - * - * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder - getChannelPartnerCloudIdentityInfoOrBuilder() { + public com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder getChannelPartnerCloudIdentityInfoOrBuilder() { if (channelPartnerCloudIdentityInfoBuilder_ != null) { return channelPartnerCloudIdentityInfoBuilder_.getMessageOrBuilder(); } else { - return channelPartnerCloudIdentityInfo_ == null - ? com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() - : channelPartnerCloudIdentityInfo_; + return channelPartnerCloudIdentityInfo_ == null ? + com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() : channelPartnerCloudIdentityInfo_; } } /** - * - * *
      * Output only. Cloud Identity info of the channel partner (IR).
      * 
* - * - * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CloudIdentityInfo, - com.google.cloud.channel.v1.CloudIdentityInfo.Builder, - com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder> + com.google.cloud.channel.v1.CloudIdentityInfo, com.google.cloud.channel.v1.CloudIdentityInfo.Builder, com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder> getChannelPartnerCloudIdentityInfoFieldBuilder() { if (channelPartnerCloudIdentityInfoBuilder_ == null) { - channelPartnerCloudIdentityInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CloudIdentityInfo, - com.google.cloud.channel.v1.CloudIdentityInfo.Builder, - com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder>( - getChannelPartnerCloudIdentityInfo(), getParentForChildren(), isClean()); + channelPartnerCloudIdentityInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.CloudIdentityInfo, com.google.cloud.channel.v1.CloudIdentityInfo.Builder, com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder>( + getChannelPartnerCloudIdentityInfo(), + getParentForChildren(), + isClean()); channelPartnerCloudIdentityInfo_ = null; } return channelPartnerCloudIdentityInfoBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2158,12 +1844,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ChannelPartnerLink) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ChannelPartnerLink) private static final com.google.cloud.channel.v1.ChannelPartnerLink DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ChannelPartnerLink(); } @@ -2172,27 +1858,27 @@ public static com.google.cloud.channel.v1.ChannelPartnerLink getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChannelPartnerLink parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChannelPartnerLink parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2207,4 +1893,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ChannelPartnerLink getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkName.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkName.java similarity index 100% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkName.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkName.java diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkOrBuilder.java similarity index 66% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkOrBuilder.java index 3636c645f786..5ee527ed9adb 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkOrBuilder.java @@ -1,276 +1,193 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/channel_partner_links.proto package com.google.cloud.channel.v1; -public interface ChannelPartnerLinkOrBuilder - extends +public interface ChannelPartnerLinkOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ChannelPartnerLink) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name for the channel partner link, in the format
    * accounts/{account_id}/channelPartnerLinks/{id}.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name for the channel partner link, in the format
    * accounts/{account_id}/channelPartnerLinks/{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(); /** - * - * *
    * Required. Cloud Identity ID of the linked reseller.
    * 
* * string reseller_cloud_identity_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The resellerCloudIdentityId. */ java.lang.String getResellerCloudIdentityId(); /** - * - * *
    * Required. Cloud Identity ID of the linked reseller.
    * 
* * string reseller_cloud_identity_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for resellerCloudIdentityId. */ - com.google.protobuf.ByteString getResellerCloudIdentityIdBytes(); + com.google.protobuf.ByteString + getResellerCloudIdentityIdBytes(); /** - * - * *
    * Required. State of the channel partner link.
    * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for linkState. */ int getLinkStateValue(); /** - * - * *
    * Required. State of the channel partner link.
    * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The linkState. */ com.google.cloud.channel.v1.ChannelPartnerLinkState getLinkState(); /** - * - * *
    * Output only. URI of the web page where partner accepts the link invitation.
    * 
* * string invite_link_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The inviteLinkUri. */ java.lang.String getInviteLinkUri(); /** - * - * *
    * Output only. URI of the web page where partner accepts the link invitation.
    * 
* * string invite_link_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for inviteLinkUri. */ - com.google.protobuf.ByteString getInviteLinkUriBytes(); + com.google.protobuf.ByteString + getInviteLinkUriBytes(); /** - * - * *
    * Output only. Timestamp of when the channel partner link is created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. Timestamp of when the channel partner link is created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. Timestamp of when the channel partner link is created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. Timestamp of when the channel partner link is updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. Timestamp of when the channel partner link is updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. Timestamp of when the channel partner link is updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
-   * Output only. Public identifier that a customer must use to generate a transfer token
-   * to move to this distributor-reseller combination.
+   * Output only. Public identifier that a customer must use to generate a
+   * transfer token to move to this distributor-reseller combination.
    * 
* * string public_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The publicId. */ java.lang.String getPublicId(); /** - * - * *
-   * Output only. Public identifier that a customer must use to generate a transfer token
-   * to move to this distributor-reseller combination.
+   * Output only. Public identifier that a customer must use to generate a
+   * transfer token to move to this distributor-reseller combination.
    * 
* * string public_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for publicId. */ - com.google.protobuf.ByteString getPublicIdBytes(); + com.google.protobuf.ByteString + getPublicIdBytes(); /** - * - * *
    * Output only. Cloud Identity info of the channel partner (IR).
    * 
* - * - * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the channelPartnerCloudIdentityInfo field is set. */ boolean hasChannelPartnerCloudIdentityInfo(); /** - * - * *
    * Output only. Cloud Identity info of the channel partner (IR).
    * 
* - * - * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The channelPartnerCloudIdentityInfo. */ com.google.cloud.channel.v1.CloudIdentityInfo getChannelPartnerCloudIdentityInfo(); /** - * - * *
    * Output only. Cloud Identity info of the channel partner (IR).
    * 
* - * - * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder - getChannelPartnerCloudIdentityInfoOrBuilder(); + com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder getChannelPartnerCloudIdentityInfoOrBuilder(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkState.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkState.java similarity index 71% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkState.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkState.java index 28d798d3a7e5..86f86bab6a33 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkState.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkState.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/cloud/channel/v1/channel_partner_links.proto package com.google.cloud.channel.v1; /** - * - * *
  * ChannelPartnerLinkState represents state of a channel partner link.
  * 
* * Protobuf enum {@code google.cloud.channel.v1.ChannelPartnerLinkState} */ -public enum ChannelPartnerLinkState implements com.google.protobuf.ProtocolMessageEnum { +public enum ChannelPartnerLinkState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Not used.
    * 
@@ -39,8 +21,6 @@ public enum ChannelPartnerLinkState implements com.google.protobuf.ProtocolMessa */ CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED(0), /** - * - * *
    * An invitation has been sent to the reseller to create a channel partner
    * link.
@@ -50,8 +30,6 @@ public enum ChannelPartnerLinkState implements com.google.protobuf.ProtocolMessa
    */
   INVITED(1),
   /**
-   *
-   *
    * 
    * Status when the reseller is active.
    * 
@@ -60,8 +38,6 @@ public enum ChannelPartnerLinkState implements com.google.protobuf.ProtocolMessa */ ACTIVE(2), /** - * - * *
    * Status when the reseller has been revoked by the distributor.
    * 
@@ -70,8 +46,6 @@ public enum ChannelPartnerLinkState implements com.google.protobuf.ProtocolMessa */ REVOKED(3), /** - * - * *
    * Status when the reseller is suspended by Google or distributor.
    * 
@@ -83,8 +57,6 @@ public enum ChannelPartnerLinkState implements com.google.protobuf.ProtocolMessa ; /** - * - * *
    * Not used.
    * 
@@ -93,8 +65,6 @@ public enum ChannelPartnerLinkState implements com.google.protobuf.ProtocolMessa */ public static final int CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * An invitation has been sent to the reseller to create a channel partner
    * link.
@@ -104,8 +74,6 @@ public enum ChannelPartnerLinkState implements com.google.protobuf.ProtocolMessa
    */
   public static final int INVITED_VALUE = 1;
   /**
-   *
-   *
    * 
    * Status when the reseller is active.
    * 
@@ -114,8 +82,6 @@ public enum ChannelPartnerLinkState implements com.google.protobuf.ProtocolMessa */ public static final int ACTIVE_VALUE = 2; /** - * - * *
    * Status when the reseller has been revoked by the distributor.
    * 
@@ -124,8 +90,6 @@ public enum ChannelPartnerLinkState implements com.google.protobuf.ProtocolMessa */ public static final int REVOKED_VALUE = 3; /** - * - * *
    * Status when the reseller is suspended by Google or distributor.
    * 
@@ -134,6 +98,7 @@ public enum ChannelPartnerLinkState implements com.google.protobuf.ProtocolMessa */ public static final int SUSPENDED_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -158,18 +123,12 @@ public static ChannelPartnerLinkState valueOf(int value) { */ public static ChannelPartnerLinkState forNumber(int value) { switch (value) { - case 0: - return CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED; - case 1: - return INVITED; - case 2: - return ACTIVE; - case 3: - return REVOKED; - case 4: - return SUSPENDED; - default: - return null; + case 0: return CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED; + case 1: return INVITED; + case 2: return ACTIVE; + case 3: return REVOKED; + case 4: return SUSPENDED; + default: return null; } } @@ -177,31 +136,29 @@ public static ChannelPartnerLinkState forNumber(int value) { internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ChannelPartnerLinkState findValueByNumber(int number) { - return ChannelPartnerLinkState.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + ChannelPartnerLinkState> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ChannelPartnerLinkState findValueByNumber(int number) { + return ChannelPartnerLinkState.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.cloud.channel.v1.ChannelPartnerLinksProto.getDescriptor() - .getEnumTypes() - .get(1); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.channel.v1.ChannelPartnerLinksProto.getDescriptor().getEnumTypes().get(1); } private static final ChannelPartnerLinkState[] VALUES = values(); @@ -209,7 +166,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static ChannelPartnerLinkState 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; @@ -225,3 +183,4 @@ private ChannelPartnerLinkState(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.channel.v1.ChannelPartnerLinkState) } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkView.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkView.java similarity index 68% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkView.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkView.java index b4bbcbc18908..de82a69f261c 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkView.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkView.java @@ -1,36 +1,20 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/channel_partner_links.proto package com.google.cloud.channel.v1; /** - * - * *
- * The level of granularity the [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] will display.
+ * The level of granularity the
+ * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] will
+ * display.
  * 
* * Protobuf enum {@code google.cloud.channel.v1.ChannelPartnerLinkView} */ -public enum ChannelPartnerLinkView implements com.google.protobuf.ProtocolMessageEnum { +public enum ChannelPartnerLinkView + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -40,8 +24,6 @@ public enum ChannelPartnerLinkView implements com.google.protobuf.ProtocolMessag
    */
   UNSPECIFIED(0),
   /**
-   *
-   *
    * 
    * Includes all fields except the
    * [ChannelPartnerLink.channel_partner_cloud_identity_info][google.cloud.channel.v1.ChannelPartnerLink.channel_partner_cloud_identity_info].
@@ -51,8 +33,6 @@ public enum ChannelPartnerLinkView implements com.google.protobuf.ProtocolMessag
    */
   BASIC(1),
   /**
-   *
-   *
    * 
    * Includes all fields.
    * 
@@ -64,8 +44,6 @@ public enum ChannelPartnerLinkView implements com.google.protobuf.ProtocolMessag ; /** - * - * *
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -75,8 +53,6 @@ public enum ChannelPartnerLinkView implements com.google.protobuf.ProtocolMessag
    */
   public static final int UNSPECIFIED_VALUE = 0;
   /**
-   *
-   *
    * 
    * Includes all fields except the
    * [ChannelPartnerLink.channel_partner_cloud_identity_info][google.cloud.channel.v1.ChannelPartnerLink.channel_partner_cloud_identity_info].
@@ -86,8 +62,6 @@ public enum ChannelPartnerLinkView implements com.google.protobuf.ProtocolMessag
    */
   public static final int BASIC_VALUE = 1;
   /**
-   *
-   *
    * 
    * Includes all fields.
    * 
@@ -96,6 +70,7 @@ public enum ChannelPartnerLinkView implements com.google.protobuf.ProtocolMessag */ public static final int FULL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -120,14 +95,10 @@ public static ChannelPartnerLinkView valueOf(int value) { */ public static ChannelPartnerLinkView forNumber(int value) { switch (value) { - case 0: - return UNSPECIFIED; - case 1: - return BASIC; - case 2: - return FULL; - default: - return null; + case 0: return UNSPECIFIED; + case 1: return BASIC; + case 2: return FULL; + default: return null; } } @@ -135,31 +106,29 @@ public static ChannelPartnerLinkView forNumber(int value) { internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ChannelPartnerLinkView findValueByNumber(int number) { - return ChannelPartnerLinkView.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + ChannelPartnerLinkView> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ChannelPartnerLinkView findValueByNumber(int number) { + return ChannelPartnerLinkView.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.cloud.channel.v1.ChannelPartnerLinksProto.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.channel.v1.ChannelPartnerLinksProto.getDescriptor().getEnumTypes().get(0); } private static final ChannelPartnerLinkView[] VALUES = values(); @@ -167,7 +136,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static ChannelPartnerLinkView 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; @@ -183,3 +153,4 @@ private ChannelPartnerLinkView(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.channel.v1.ChannelPartnerLinkView) } + diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinksProto.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinksProto.java new file mode 100644 index 000000000000..9f20fa884724 --- /dev/null +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinksProto.java @@ -0,0 +1,86 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/channel_partner_links.proto + +package com.google.cloud.channel.v1; + +public final class ChannelPartnerLinksProto { + private ChannelPartnerLinksProto() {} + 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_cloud_channel_v1_ChannelPartnerLink_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_ChannelPartnerLink_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n3google/cloud/channel/v1/channel_partne" + + "r_links.proto\022\027google.cloud.channel.v1\032\037" + + "google/api/field_behavior.proto\032\031google/" + + "api/resource.proto\032$google/cloud/channel" + + "/v1/common.proto\032\037google/protobuf/timest" + + "amp.proto\"\217\004\n\022ChannelPartnerLink\022\021\n\004name" + + "\030\001 \001(\tB\003\340A\003\022\'\n\032reseller_cloud_identity_i" + + "d\030\002 \001(\tB\003\340A\002\022I\n\nlink_state\030\003 \001(\01620.googl" + + "e.cloud.channel.v1.ChannelPartnerLinkSta" + + "teB\003\340A\002\022\034\n\017invite_link_uri\030\004 \001(\tB\003\340A\003\0224\n" + + "\013create_time\030\005 \001(\0132\032.google.protobuf.Tim" + + "estampB\003\340A\003\0224\n\013update_time\030\006 \001(\0132\032.googl" + + "e.protobuf.TimestampB\003\340A\003\022\026\n\tpublic_id\030\007" + + " \001(\tB\003\340A\003\022\\\n#channel_partner_cloud_ident" + + "ity_info\030\010 \001(\0132*.google.cloud.channel.v1" + + ".CloudIdentityInfoB\003\340A\003:r\352Ao\n.cloudchann" + + "el.googleapis.com/ChannelPartnerLink\022=ac" + + "counts/{account}/channelPartnerLinks/{ch" + + "annel_partner_link}*>\n\026ChannelPartnerLin" + + "kView\022\017\n\013UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FUL" + + "L\020\002*z\n\027ChannelPartnerLinkState\022*\n&CHANNE" + + "L_PARTNER_LINK_STATE_UNSPECIFIED\020\000\022\013\n\007IN" + + "VITED\020\001\022\n\n\006ACTIVE\020\002\022\013\n\007REVOKED\020\003\022\r\n\tSUSP" + + "ENDED\020\004By\n\033com.google.cloud.channel.v1B\030" + + "ChannelPartnerLinksProtoP\001Z>google.golan" + + "g.org/genproto/googleapis/cloud/channel/" + + "v1;channelb\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.cloud.channel.v1.CommonProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_channel_v1_ChannelPartnerLink_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_channel_v1_ChannelPartnerLink_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_ChannelPartnerLink_descriptor, + new java.lang.String[] { "Name", "ResellerCloudIdentityId", "LinkState", "InviteLinkUri", "CreateTime", "UpdateTime", "PublicId", "ChannelPartnerCloudIdentityInfo", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.channel.v1.CommonProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfig.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfig.java similarity index 61% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfig.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfig.java index f4f7d6c6a716..1c805c39aa51 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfig.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfig.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/cloud/channel/v1/repricing.proto package com.google.cloud.channel.v1; /** - * - * *
  * Configuration for how a distributor will rebill a channel partner
  * (also known as a distributor-authorized reseller).
@@ -28,51 +11,47 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.ChannelPartnerRepricingConfig}
  */
-public final class ChannelPartnerRepricingConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ChannelPartnerRepricingConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ChannelPartnerRepricingConfig)
     ChannelPartnerRepricingConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ChannelPartnerRepricingConfig.newBuilder() to construct.
   private ChannelPartnerRepricingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ChannelPartnerRepricingConfig() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ChannelPartnerRepricingConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.channel.v1.RepricingProto
-        .internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.RepricingProto
-        .internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_fieldAccessorTable
+    return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.class,
-            com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder.class);
+            com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.class, com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Output only. Resource name of the ChannelPartnerRepricingConfig.
    * Format:
@@ -80,7 +59,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 @@ -89,15 +67,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 the ChannelPartnerRepricingConfig.
    * Format:
@@ -105,15 +82,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 { @@ -124,17 +102,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REPRICING_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.RepricingConfig repricingConfig_; /** - * - * *
-   * Required. The configuration for bill modifications made by a reseller before
-   * sending it to ChannelPartner.
+   * Required. The configuration for bill modifications made by a reseller
+   * before sending it to ChannelPartner.
    * 
* - * - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the repricingConfig field is set. */ @java.lang.Override @@ -142,36 +115,25 @@ public boolean hasRepricingConfig() { return repricingConfig_ != null; } /** - * - * *
-   * Required. The configuration for bill modifications made by a reseller before
-   * sending it to ChannelPartner.
+   * Required. The configuration for bill modifications made by a reseller
+   * before sending it to ChannelPartner.
    * 
* - * - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The repricingConfig. */ @java.lang.Override public com.google.cloud.channel.v1.RepricingConfig getRepricingConfig() { - return repricingConfig_ == null - ? com.google.cloud.channel.v1.RepricingConfig.getDefaultInstance() - : repricingConfig_; + return repricingConfig_ == null ? com.google.cloud.channel.v1.RepricingConfig.getDefaultInstance() : repricingConfig_; } /** - * - * *
-   * Required. The configuration for bill modifications made by a reseller before
-   * sending it to ChannelPartner.
+   * Required. The configuration for bill modifications made by a reseller
+   * before sending it to ChannelPartner.
    * 
* - * - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.channel.v1.RepricingConfigOrBuilder getRepricingConfigOrBuilder() { @@ -181,17 +143,14 @@ public com.google.cloud.channel.v1.RepricingConfigOrBuilder getRepricingConfigOr public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
-   * Output only. Timestamp of an update to the repricing rule. If `update_time` is after
-   * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] then it indicates this was set
-   * mid-month.
+   * Output only. Timestamp of an update to the repricing rule. If `update_time`
+   * is after
+   * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+   * then it indicates this was set mid-month.
    * 
* - * .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 @@ -199,17 +158,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
-   * Output only. Timestamp of an update to the repricing rule. If `update_time` is after
-   * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] then it indicates this was set
-   * mid-month.
+   * Output only. Timestamp of an update to the repricing rule. If `update_time`
+   * is after
+   * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+   * then it indicates this was set mid-month.
    * 
* - * .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 @@ -217,16 +173,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
-   * Output only. Timestamp of an update to the repricing rule. If `update_time` is after
-   * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] then it indicates this was set
-   * mid-month.
+   * Output only. Timestamp of an update to the repricing rule. If `update_time`
+   * is after
+   * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+   * then it indicates this was set mid-month.
    * 
* - * .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() { @@ -234,7 +188,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -246,7 +199,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -269,10 +223,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (repricingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRepricingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRepricingConfig()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -282,22 +238,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.cloud.channel.v1.ChannelPartnerRepricingConfig)) { return super.equals(obj); } - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig other = - (com.google.cloud.channel.v1.ChannelPartnerRepricingConfig) obj; + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig other = (com.google.cloud.channel.v1.ChannelPartnerRepricingConfig) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasRepricingConfig() != other.hasRepricingConfig()) return false; if (hasRepricingConfig()) { - if (!getRepricingConfig().equals(other.getRepricingConfig())) return false; + if (!getRepricingConfig() + .equals(other.getRepricingConfig())) 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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -326,104 +284,96 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ChannelPartnerRepricingConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ChannelPartnerRepricingConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ChannelPartnerRepricingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ChannelPartnerRepricingConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ChannelPartnerRepricingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ChannelPartnerRepricingConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ChannelPartnerRepricingConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ChannelPartnerRepricingConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ChannelPartnerRepricingConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ChannelPartnerRepricingConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ChannelPartnerRepricingConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ChannelPartnerRepricingConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ChannelPartnerRepricingConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ChannelPartnerRepricingConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.ChannelPartnerRepricingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for how a distributor will rebill a channel partner
    * (also known as a distributor-authorized reseller).
@@ -431,32 +381,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.channel.v1.ChannelPartnerRepricingConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ChannelPartnerRepricingConfig)
       com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.channel.v1.RepricingProto
-          .internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.RepricingProto
-          .internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_fieldAccessorTable
+      return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.class,
-              com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder.class);
+              com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.class, com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -478,9 +429,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.channel.v1.RepricingProto
-          .internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_descriptor;
     }
 
     @java.lang.Override
@@ -499,8 +450,7 @@ public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig buildPartial() {
-      com.google.cloud.channel.v1.ChannelPartnerRepricingConfig result =
-          new com.google.cloud.channel.v1.ChannelPartnerRepricingConfig(this);
+      com.google.cloud.channel.v1.ChannelPartnerRepricingConfig result = new com.google.cloud.channel.v1.ChannelPartnerRepricingConfig(this);
       result.name_ = name_;
       if (repricingConfigBuilder_ == null) {
         result.repricingConfig_ = repricingConfig_;
@@ -520,39 +470,38 @@ public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig 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.cloud.channel.v1.ChannelPartnerRepricingConfig) {
-        return mergeFrom((com.google.cloud.channel.v1.ChannelPartnerRepricingConfig) other);
+        return mergeFrom((com.google.cloud.channel.v1.ChannelPartnerRepricingConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -560,8 +509,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.ChannelPartnerRepricingConfig other) {
-      if (other == com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -598,31 +546,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getRepricingConfigFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getRepricingConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -635,8 +583,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. Resource name of the ChannelPartnerRepricingConfig.
      * Format:
@@ -644,13 +590,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; @@ -659,8 +605,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name of the ChannelPartnerRepricingConfig.
      * Format:
@@ -668,14 +612,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 { @@ -683,8 +628,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name of the ChannelPartnerRepricingConfig.
      * Format:
@@ -692,22 +635,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 the ChannelPartnerRepricingConfig.
      * Format:
@@ -715,18 +656,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 the ChannelPartnerRepricingConfig.
      * Format:
@@ -734,16 +672,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; @@ -751,61 +689,42 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.channel.v1.RepricingConfig repricingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingConfig, - com.google.cloud.channel.v1.RepricingConfig.Builder, - com.google.cloud.channel.v1.RepricingConfigOrBuilder> - repricingConfigBuilder_; + com.google.cloud.channel.v1.RepricingConfig, com.google.cloud.channel.v1.RepricingConfig.Builder, com.google.cloud.channel.v1.RepricingConfigOrBuilder> repricingConfigBuilder_; /** - * - * *
-     * Required. The configuration for bill modifications made by a reseller before
-     * sending it to ChannelPartner.
+     * Required. The configuration for bill modifications made by a reseller
+     * before sending it to ChannelPartner.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the repricingConfig field is set. */ public boolean hasRepricingConfig() { return repricingConfigBuilder_ != null || repricingConfig_ != null; } /** - * - * *
-     * Required. The configuration for bill modifications made by a reseller before
-     * sending it to ChannelPartner.
+     * Required. The configuration for bill modifications made by a reseller
+     * before sending it to ChannelPartner.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The repricingConfig. */ public com.google.cloud.channel.v1.RepricingConfig getRepricingConfig() { if (repricingConfigBuilder_ == null) { - return repricingConfig_ == null - ? com.google.cloud.channel.v1.RepricingConfig.getDefaultInstance() - : repricingConfig_; + return repricingConfig_ == null ? com.google.cloud.channel.v1.RepricingConfig.getDefaultInstance() : repricingConfig_; } else { return repricingConfigBuilder_.getMessage(); } } /** - * - * *
-     * Required. The configuration for bill modifications made by a reseller before
-     * sending it to ChannelPartner.
+     * Required. The configuration for bill modifications made by a reseller
+     * before sending it to ChannelPartner.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRepricingConfig(com.google.cloud.channel.v1.RepricingConfig value) { if (repricingConfigBuilder_ == null) { @@ -821,16 +740,12 @@ public Builder setRepricingConfig(com.google.cloud.channel.v1.RepricingConfig va return this; } /** - * - * *
-     * Required. The configuration for bill modifications made by a reseller before
-     * sending it to ChannelPartner.
+     * Required. The configuration for bill modifications made by a reseller
+     * before sending it to ChannelPartner.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRepricingConfig( com.google.cloud.channel.v1.RepricingConfig.Builder builderForValue) { @@ -844,24 +759,18 @@ public Builder setRepricingConfig( return this; } /** - * - * *
-     * Required. The configuration for bill modifications made by a reseller before
-     * sending it to ChannelPartner.
+     * Required. The configuration for bill modifications made by a reseller
+     * before sending it to ChannelPartner.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeRepricingConfig(com.google.cloud.channel.v1.RepricingConfig value) { if (repricingConfigBuilder_ == null) { if (repricingConfig_ != null) { repricingConfig_ = - com.google.cloud.channel.v1.RepricingConfig.newBuilder(repricingConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.RepricingConfig.newBuilder(repricingConfig_).mergeFrom(value).buildPartial(); } else { repricingConfig_ = value; } @@ -873,16 +782,12 @@ public Builder mergeRepricingConfig(com.google.cloud.channel.v1.RepricingConfig return this; } /** - * - * *
-     * Required. The configuration for bill modifications made by a reseller before
-     * sending it to ChannelPartner.
+     * Required. The configuration for bill modifications made by a reseller
+     * before sending it to ChannelPartner.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRepricingConfig() { if (repricingConfigBuilder_ == null) { @@ -896,67 +801,51 @@ public Builder clearRepricingConfig() { return this; } /** - * - * *
-     * Required. The configuration for bill modifications made by a reseller before
-     * sending it to ChannelPartner.
+     * Required. The configuration for bill modifications made by a reseller
+     * before sending it to ChannelPartner.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.channel.v1.RepricingConfig.Builder getRepricingConfigBuilder() { - + onChanged(); return getRepricingConfigFieldBuilder().getBuilder(); } /** - * - * *
-     * Required. The configuration for bill modifications made by a reseller before
-     * sending it to ChannelPartner.
+     * Required. The configuration for bill modifications made by a reseller
+     * before sending it to ChannelPartner.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.channel.v1.RepricingConfigOrBuilder getRepricingConfigOrBuilder() { if (repricingConfigBuilder_ != null) { return repricingConfigBuilder_.getMessageOrBuilder(); } else { - return repricingConfig_ == null - ? com.google.cloud.channel.v1.RepricingConfig.getDefaultInstance() - : repricingConfig_; + return repricingConfig_ == null ? + com.google.cloud.channel.v1.RepricingConfig.getDefaultInstance() : repricingConfig_; } } /** - * - * *
-     * Required. The configuration for bill modifications made by a reseller before
-     * sending it to ChannelPartner.
+     * Required. The configuration for bill modifications made by a reseller
+     * before sending it to ChannelPartner.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingConfig, - com.google.cloud.channel.v1.RepricingConfig.Builder, - com.google.cloud.channel.v1.RepricingConfigOrBuilder> + com.google.cloud.channel.v1.RepricingConfig, com.google.cloud.channel.v1.RepricingConfig.Builder, com.google.cloud.channel.v1.RepricingConfigOrBuilder> getRepricingConfigFieldBuilder() { if (repricingConfigBuilder_ == null) { - repricingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingConfig, - com.google.cloud.channel.v1.RepricingConfig.Builder, - com.google.cloud.channel.v1.RepricingConfigOrBuilder>( - getRepricingConfig(), getParentForChildren(), isClean()); + repricingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.RepricingConfig, com.google.cloud.channel.v1.RepricingConfig.Builder, com.google.cloud.channel.v1.RepricingConfigOrBuilder>( + getRepricingConfig(), + getParentForChildren(), + isClean()); repricingConfig_ = null; } return repricingConfigBuilder_; @@ -964,64 +853,48 @@ public com.google.cloud.channel.v1.RepricingConfigOrBuilder getRepricingConfigOr 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. Timestamp of an update to the repricing rule. If `update_time` is after
-     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] then it indicates this was set
-     * mid-month.
+     * Output only. Timestamp of an update to the repricing rule. If `update_time`
+     * is after
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * then it indicates this was set mid-month.
      * 
* - * - * .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. Timestamp of an update to the repricing rule. If `update_time` is after
-     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] then it indicates this was set
-     * mid-month.
+     * Output only. Timestamp of an update to the repricing rule. If `update_time`
+     * is after
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * then it indicates this was set mid-month.
      * 
* - * - * .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. Timestamp of an update to the repricing rule. If `update_time` is after
-     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] then it indicates this was set
-     * mid-month.
+     * Output only. Timestamp of an update to the repricing rule. If `update_time`
+     * is after
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * then it indicates this was set mid-month.
      * 
* - * - * .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) { @@ -1037,19 +910,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * Output only. Timestamp of an update to the repricing rule. If `update_time` is after
-     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] then it indicates this was set
-     * mid-month.
+     * Output only. Timestamp of an update to the repricing rule. If `update_time`
+     * is after
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * then it indicates this was set mid-month.
      * 
* - * - * .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(); @@ -1060,23 +931,20 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
-     * Output only. Timestamp of an update to the repricing rule. If `update_time` is after
-     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] then it indicates this was set
-     * mid-month.
+     * Output only. Timestamp of an update to the repricing rule. If `update_time`
+     * is after
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * then it indicates this was set mid-month.
      * 
* - * - * .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; } @@ -1088,17 +956,14 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * Output only. Timestamp of an update to the repricing rule. If `update_time` is after
-     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] then it indicates this was set
-     * mid-month.
+     * Output only. Timestamp of an update to the repricing rule. If `update_time`
+     * is after
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * then it indicates this was set mid-month.
      * 
* - * - * .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) { @@ -1112,77 +977,64 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
-     * Output only. Timestamp of an update to the repricing rule. If `update_time` is after
-     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] then it indicates this was set
-     * mid-month.
+     * Output only. Timestamp of an update to the repricing rule. If `update_time`
+     * is after
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * then it indicates this was set mid-month.
      * 
* - * - * .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. Timestamp of an update to the repricing rule. If `update_time` is after
-     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] then it indicates this was set
-     * mid-month.
+     * Output only. Timestamp of an update to the repricing rule. If `update_time`
+     * is after
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * then it indicates this was set mid-month.
      * 
* - * - * .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. Timestamp of an update to the repricing rule. If `update_time` is after
-     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] then it indicates this was set
-     * mid-month.
+     * Output only. Timestamp of an update to the repricing rule. If `update_time`
+     * is after
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * then it indicates this was set mid-month.
      * 
* - * - * .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_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1192,12 +1044,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ChannelPartnerRepricingConfig) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ChannelPartnerRepricingConfig) private static final com.google.cloud.channel.v1.ChannelPartnerRepricingConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ChannelPartnerRepricingConfig(); } @@ -1206,27 +1058,27 @@ public static com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChannelPartnerRepricingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChannelPartnerRepricingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1241,4 +1093,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigName.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigName.java similarity index 100% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigName.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigName.java diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigOrBuilder.java similarity index 56% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigOrBuilder.java index 758747aec15a..f094bed3773e 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigOrBuilder.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/cloud/channel/v1/repricing.proto package com.google.cloud.channel.v1; -public interface ChannelPartnerRepricingConfigOrBuilder - extends +public interface ChannelPartnerRepricingConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ChannelPartnerRepricingConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name of the ChannelPartnerRepricingConfig.
    * Format:
@@ -33,13 +15,10 @@ public interface ChannelPartnerRepricingConfigOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name of the ChannelPartnerRepricingConfig.
    * Format:
@@ -47,96 +26,74 @@ public interface ChannelPartnerRepricingConfigOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
-   * Required. The configuration for bill modifications made by a reseller before
-   * sending it to ChannelPartner.
+   * Required. The configuration for bill modifications made by a reseller
+   * before sending it to ChannelPartner.
    * 
* - * - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the repricingConfig field is set. */ boolean hasRepricingConfig(); /** - * - * *
-   * Required. The configuration for bill modifications made by a reseller before
-   * sending it to ChannelPartner.
+   * Required. The configuration for bill modifications made by a reseller
+   * before sending it to ChannelPartner.
    * 
* - * - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The repricingConfig. */ com.google.cloud.channel.v1.RepricingConfig getRepricingConfig(); /** - * - * *
-   * Required. The configuration for bill modifications made by a reseller before
-   * sending it to ChannelPartner.
+   * Required. The configuration for bill modifications made by a reseller
+   * before sending it to ChannelPartner.
    * 
* - * - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.channel.v1.RepricingConfigOrBuilder getRepricingConfigOrBuilder(); /** - * - * *
-   * Output only. Timestamp of an update to the repricing rule. If `update_time` is after
-   * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] then it indicates this was set
-   * mid-month.
+   * Output only. Timestamp of an update to the repricing rule. If `update_time`
+   * is after
+   * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+   * then it indicates this was set mid-month.
    * 
* - * .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. Timestamp of an update to the repricing rule. If `update_time` is after
-   * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] then it indicates this was set
-   * mid-month.
+   * Output only. Timestamp of an update to the repricing rule. If `update_time`
+   * is after
+   * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+   * then it indicates this was set mid-month.
    * 
* - * .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. Timestamp of an update to the repricing rule. If `update_time` is after
-   * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] then it indicates this was set
-   * mid-month.
+   * Output only. Timestamp of an update to the repricing rule. If `update_time`
+   * is after
+   * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+   * then it indicates this was set mid-month.
    * 
* - * .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(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequest.java similarity index 63% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequest.java index 3971c350fd12..7f106aca5348 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequest.java @@ -1,44 +1,25 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Request message for [CloudChannelService.CheckCloudIdentityAccountsExist][google.cloud.channel.v1.CloudChannelService.CheckCloudIdentityAccountsExist].
+ * Request message for
+ * [CloudChannelService.CheckCloudIdentityAccountsExist][google.cloud.channel.v1.CloudChannelService.CheckCloudIdentityAccountsExist].
  * 
* * Protobuf type {@code google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest} */ -public final class CheckCloudIdentityAccountsExistRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CheckCloudIdentityAccountsExistRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest) CheckCloudIdentityAccountsExistRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CheckCloudIdentityAccountsExistRequest.newBuilder() to construct. - private CheckCloudIdentityAccountsExistRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CheckCloudIdentityAccountsExistRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CheckCloudIdentityAccountsExistRequest() { parent_ = ""; domain_ = ""; @@ -46,42 +27,38 @@ private CheckCloudIdentityAccountsExistRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CheckCloudIdentityAccountsExistRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest.class, - com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest.Builder.class); + com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest.class, com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The reseller account's resource name.
    * Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -90,30 +67,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The reseller account's resource name.
    * Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -124,14 +101,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int DOMAIN_FIELD_NUMBER = 2; private volatile java.lang.Object domain_; /** - * - * *
    * Required. Domain to fetch for Cloud Identity account customer.
    * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The domain. */ @java.lang.Override @@ -140,29 +114,29 @@ public java.lang.String getDomain() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domain_ = s; return s; } } /** - * - * *
    * Required. Domain to fetch for Cloud Identity account customer.
    * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for domain. */ @java.lang.Override - public com.google.protobuf.ByteString getDomainBytes() { + public com.google.protobuf.ByteString + getDomainBytes() { java.lang.Object ref = domain_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domain_ = b; return b; } else { @@ -171,7 +145,6 @@ public com.google.protobuf.ByteString getDomainBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +156,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -213,16 +187,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.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest other = - (com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest) obj; + com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest other = (com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getDomain().equals(other.getDomain())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getDomain() + .equals(other.getDomain())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -244,138 +219,130 @@ public int hashCode() { } public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Request message for [CloudChannelService.CheckCloudIdentityAccountsExist][google.cloud.channel.v1.CloudChannelService.CheckCloudIdentityAccountsExist].
+   * Request message for
+   * [CloudChannelService.CheckCloudIdentityAccountsExist][google.cloud.channel.v1.CloudChannelService.CheckCloudIdentityAccountsExist].
    * 
* * Protobuf type {@code google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest) com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest.class, - com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest.Builder.class); + com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest.class, com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest.Builder.class); } - // Construct using - // com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -387,16 +354,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_descriptor; } @java.lang.Override - public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest - getDefaultInstanceForType() { - return com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest - .getDefaultInstance(); + public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest getDefaultInstanceForType() { + return com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest.getDefaultInstance(); } @java.lang.Override @@ -410,8 +375,7 @@ public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest build( @java.lang.Override public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest buildPartial() { - com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest result = - new com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest(this); + com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest result = new com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest(this); result.parent_ = parent_; result.domain_ = domain_; onBuilt(); @@ -422,51 +386,46 @@ public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest 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.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest) { - return mergeFrom( - (com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest) other); + return mergeFrom((com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest other) { - if (other - == com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest other) { + if (other == com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -501,25 +460,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - domain_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + domain_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -532,21 +488,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The reseller account's resource name.
      * Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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,22 +509,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The reseller account's resource name.
      * Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -578,64 +531,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The reseller account's resource name.
      * Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 reseller account's resource name.
      * Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The reseller account's resource name.
      * Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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,20 +589,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object domain_ = ""; /** - * - * *
      * Required. Domain to fetch for Cloud Identity account customer.
      * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The domain. */ public java.lang.String getDomain() { java.lang.Object ref = domain_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domain_ = s; return s; @@ -665,21 +609,20 @@ public java.lang.String getDomain() { } } /** - * - * *
      * Required. Domain to fetch for Cloud Identity account customer.
      * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for domain. */ - public com.google.protobuf.ByteString getDomainBytes() { + public com.google.protobuf.ByteString + getDomainBytes() { java.lang.Object ref = domain_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domain_ = b; return b; } else { @@ -687,68 +630,61 @@ public com.google.protobuf.ByteString getDomainBytes() { } } /** - * - * *
      * Required. Domain to fetch for Cloud Identity account customer.
      * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The domain to set. * @return This builder for chaining. */ - public Builder setDomain(java.lang.String value) { + public Builder setDomain( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domain_ = value; onChanged(); return this; } /** - * - * *
      * Required. Domain to fetch for Cloud Identity account customer.
      * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDomain() { - + domain_ = getDefaultInstance().getDomain(); onChanged(); return this; } /** - * - * *
      * Required. Domain to fetch for Cloud Identity account customer.
      * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for domain to set. * @return This builder for chaining. */ - public Builder setDomainBytes(com.google.protobuf.ByteString value) { + public Builder setDomainBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domain_ = 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,43 +694,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest) - private static final com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest(); } - public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest - getDefaultInstance() { + public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CheckCloudIdentityAccountsExistRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CheckCloudIdentityAccountsExistRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -806,8 +740,9 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest - getDefaultInstanceForType() { + public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequestOrBuilder.java similarity index 64% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequestOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequestOrBuilder.java index 1d92410b46d5..79dcab185a5c 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequestOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequestOrBuilder.java @@ -1,77 +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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface CheckCloudIdentityAccountsExistRequestOrBuilder - extends +public interface CheckCloudIdentityAccountsExistRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The reseller account's resource name.
    * Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The reseller account's resource name.
    * Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. Domain to fetch for Cloud Identity account customer.
    * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The domain. */ java.lang.String getDomain(); /** - * - * *
    * Required. Domain to fetch for Cloud Identity account customer.
    * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for domain. */ - com.google.protobuf.ByteString getDomainBytes(); + com.google.protobuf.ByteString + getDomainBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponse.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponse.java similarity index 60% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponse.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponse.java index 1353daab62d4..06df6d9c697b 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponse.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponse.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
  * Response message for
  * [CloudChannelService.CheckCloudIdentityAccountsExist][google.cloud.channel.v1.CloudChannelService.CheckCloudIdentityAccountsExist].
@@ -28,133 +11,105 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse}
  */
-public final class CheckCloudIdentityAccountsExistResponse
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CheckCloudIdentityAccountsExistResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse)
     CheckCloudIdentityAccountsExistResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CheckCloudIdentityAccountsExistResponse.newBuilder() to construct.
-  private CheckCloudIdentityAccountsExistResponse(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private CheckCloudIdentityAccountsExistResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CheckCloudIdentityAccountsExistResponse() {
     cloudIdentityAccounts_ = 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 CheckCloudIdentityAccountsExistResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto
-        .internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto
-        .internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse.class,
-            com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse.Builder.class);
+            com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse.class, com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse.Builder.class);
   }
 
   public static final int CLOUD_IDENTITY_ACCOUNTS_FIELD_NUMBER = 1;
-  private java.util.List
-      cloudIdentityAccounts_;
+  private java.util.List cloudIdentityAccounts_;
   /**
-   *
-   *
    * 
    * The Cloud Identity accounts associated with the domain.
    * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; */ @java.lang.Override - public java.util.List - getCloudIdentityAccountsList() { + public java.util.List getCloudIdentityAccountsList() { return cloudIdentityAccounts_; } /** - * - * *
    * The Cloud Identity accounts associated with the domain.
    * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getCloudIdentityAccountsOrBuilderList() { return cloudIdentityAccounts_; } /** - * - * *
    * The Cloud Identity accounts associated with the domain.
    * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; */ @java.lang.Override public int getCloudIdentityAccountsCount() { return cloudIdentityAccounts_.size(); } /** - * - * *
    * The Cloud Identity accounts associated with the domain.
    * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; */ @java.lang.Override - public com.google.cloud.channel.v1.CloudIdentityCustomerAccount getCloudIdentityAccounts( - int index) { + public com.google.cloud.channel.v1.CloudIdentityCustomerAccount getCloudIdentityAccounts(int index) { return cloudIdentityAccounts_.get(index); } /** - * - * *
    * The Cloud Identity accounts associated with the domain.
    * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; */ @java.lang.Override - public com.google.cloud.channel.v1.CloudIdentityCustomerAccountOrBuilder - getCloudIdentityAccountsOrBuilder(int index) { + public com.google.cloud.channel.v1.CloudIdentityCustomerAccountOrBuilder getCloudIdentityAccountsOrBuilder( + int index) { return cloudIdentityAccounts_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,7 +121,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < cloudIdentityAccounts_.size(); i++) { output.writeMessage(1, cloudIdentityAccounts_.get(i)); } @@ -180,9 +136,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < cloudIdentityAccounts_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, cloudIdentityAccounts_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, cloudIdentityAccounts_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -192,15 +147,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse other = - (com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse) obj; + com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse other = (com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse) obj; - if (!getCloudIdentityAccountsList().equals(other.getCloudIdentityAccountsList())) return false; + if (!getCloudIdentityAccountsList() + .equals(other.getCloudIdentityAccountsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -222,105 +177,96 @@ public int hashCode() { } public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [CloudChannelService.CheckCloudIdentityAccountsExist][google.cloud.channel.v1.CloudChannelService.CheckCloudIdentityAccountsExist].
@@ -328,33 +274,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse)
       com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto
-          .internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto
-          .internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse.class,
-              com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse.Builder.class);
+              com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse.class, com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse.newBuilder()
-    private Builder() {}
+    // Construct using com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -369,16 +315,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto
-          .internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse
-        getDefaultInstanceForType() {
-      return com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse
-          .getDefaultInstance();
+    public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse getDefaultInstanceForType() {
+      return com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -392,8 +336,7 @@ public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse build
 
     @java.lang.Override
     public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse buildPartial() {
-      com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse result =
-          new com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse(this);
+      com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse result = new com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse(this);
       int from_bitField0_ = bitField0_;
       if (cloudIdentityAccountsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -412,51 +355,46 @@ public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse 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.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse) {
-        return mergeFrom(
-            (com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse) other);
+        return mergeFrom((com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse other) {
-      if (other
-          == com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse other) {
+      if (other == com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse.getDefaultInstance()) return this;
       if (cloudIdentityAccountsBuilder_ == null) {
         if (!other.cloudIdentityAccounts_.isEmpty()) {
           if (cloudIdentityAccounts_.isEmpty()) {
@@ -475,10 +413,9 @@ public Builder mergeFrom(
             cloudIdentityAccountsBuilder_ = null;
             cloudIdentityAccounts_ = other.cloudIdentityAccounts_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            cloudIdentityAccountsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getCloudIdentityAccountsFieldBuilder()
-                    : null;
+            cloudIdentityAccountsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getCloudIdentityAccountsFieldBuilder() : null;
           } else {
             cloudIdentityAccountsBuilder_.addAllMessages(other.cloudIdentityAccounts_);
           }
@@ -510,27 +447,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.channel.v1.CloudIdentityCustomerAccount m =
-                    input.readMessage(
-                        com.google.cloud.channel.v1.CloudIdentityCustomerAccount.parser(),
-                        extensionRegistry);
-                if (cloudIdentityAccountsBuilder_ == null) {
-                  ensureCloudIdentityAccountsIsMutable();
-                  cloudIdentityAccounts_.add(m);
-                } else {
-                  cloudIdentityAccountsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.cloud.channel.v1.CloudIdentityCustomerAccount m =
+                  input.readMessage(
+                      com.google.cloud.channel.v1.CloudIdentityCustomerAccount.parser(),
+                      extensionRegistry);
+              if (cloudIdentityAccountsBuilder_ == null) {
+                ensureCloudIdentityAccountsIsMutable();
+                cloudIdentityAccounts_.add(m);
+              } else {
+                cloudIdentityAccountsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -540,40 +475,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List
-        cloudIdentityAccounts_ = java.util.Collections.emptyList();
-
+    private java.util.List cloudIdentityAccounts_ =
+      java.util.Collections.emptyList();
     private void ensureCloudIdentityAccountsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        cloudIdentityAccounts_ =
-            new java.util.ArrayList(
-                cloudIdentityAccounts_);
+        cloudIdentityAccounts_ = new java.util.ArrayList(cloudIdentityAccounts_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.channel.v1.CloudIdentityCustomerAccount,
-            com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder,
-            com.google.cloud.channel.v1.CloudIdentityCustomerAccountOrBuilder>
-        cloudIdentityAccountsBuilder_;
+        com.google.cloud.channel.v1.CloudIdentityCustomerAccount, com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder, com.google.cloud.channel.v1.CloudIdentityCustomerAccountOrBuilder> cloudIdentityAccountsBuilder_;
 
     /**
-     *
-     *
      * 
      * The Cloud Identity accounts associated with the domain.
      * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; */ - public java.util.List - getCloudIdentityAccountsList() { + public java.util.List getCloudIdentityAccountsList() { if (cloudIdentityAccountsBuilder_ == null) { return java.util.Collections.unmodifiableList(cloudIdentityAccounts_); } else { @@ -581,15 +504,11 @@ private void ensureCloudIdentityAccountsIsMutable() { } } /** - * - * *
      * The Cloud Identity accounts associated with the domain.
      * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; */ public int getCloudIdentityAccountsCount() { if (cloudIdentityAccountsBuilder_ == null) { @@ -599,18 +518,13 @@ public int getCloudIdentityAccountsCount() { } } /** - * - * *
      * The Cloud Identity accounts associated with the domain.
      * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; */ - public com.google.cloud.channel.v1.CloudIdentityCustomerAccount getCloudIdentityAccounts( - int index) { + public com.google.cloud.channel.v1.CloudIdentityCustomerAccount getCloudIdentityAccounts(int index) { if (cloudIdentityAccountsBuilder_ == null) { return cloudIdentityAccounts_.get(index); } else { @@ -618,15 +532,11 @@ public com.google.cloud.channel.v1.CloudIdentityCustomerAccount getCloudIdentity } } /** - * - * *
      * The Cloud Identity accounts associated with the domain.
      * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; */ public Builder setCloudIdentityAccounts( int index, com.google.cloud.channel.v1.CloudIdentityCustomerAccount value) { @@ -643,19 +553,14 @@ public Builder setCloudIdentityAccounts( return this; } /** - * - * *
      * The Cloud Identity accounts associated with the domain.
      * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; */ public Builder setCloudIdentityAccounts( - int index, - com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder builderForValue) { + int index, com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder builderForValue) { if (cloudIdentityAccountsBuilder_ == null) { ensureCloudIdentityAccountsIsMutable(); cloudIdentityAccounts_.set(index, builderForValue.build()); @@ -666,18 +571,13 @@ public Builder setCloudIdentityAccounts( return this; } /** - * - * *
      * The Cloud Identity accounts associated with the domain.
      * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; */ - public Builder addCloudIdentityAccounts( - com.google.cloud.channel.v1.CloudIdentityCustomerAccount value) { + public Builder addCloudIdentityAccounts(com.google.cloud.channel.v1.CloudIdentityCustomerAccount value) { if (cloudIdentityAccountsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -691,15 +591,11 @@ public Builder addCloudIdentityAccounts( return this; } /** - * - * *
      * The Cloud Identity accounts associated with the domain.
      * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; */ public Builder addCloudIdentityAccounts( int index, com.google.cloud.channel.v1.CloudIdentityCustomerAccount value) { @@ -716,15 +612,11 @@ public Builder addCloudIdentityAccounts( return this; } /** - * - * *
      * The Cloud Identity accounts associated with the domain.
      * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; */ public Builder addCloudIdentityAccounts( com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder builderForValue) { @@ -738,19 +630,14 @@ public Builder addCloudIdentityAccounts( return this; } /** - * - * *
      * The Cloud Identity accounts associated with the domain.
      * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; */ public Builder addCloudIdentityAccounts( - int index, - com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder builderForValue) { + int index, com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder builderForValue) { if (cloudIdentityAccountsBuilder_ == null) { ensureCloudIdentityAccountsIsMutable(); cloudIdentityAccounts_.add(index, builderForValue.build()); @@ -761,22 +648,18 @@ public Builder addCloudIdentityAccounts( return this; } /** - * - * *
      * The Cloud Identity accounts associated with the domain.
      * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; */ public Builder addAllCloudIdentityAccounts( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (cloudIdentityAccountsBuilder_ == null) { ensureCloudIdentityAccountsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, cloudIdentityAccounts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, cloudIdentityAccounts_); onChanged(); } else { cloudIdentityAccountsBuilder_.addAllMessages(values); @@ -784,15 +667,11 @@ public Builder addAllCloudIdentityAccounts( return this; } /** - * - * *
      * The Cloud Identity accounts associated with the domain.
      * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; */ public Builder clearCloudIdentityAccounts() { if (cloudIdentityAccountsBuilder_ == null) { @@ -805,15 +684,11 @@ public Builder clearCloudIdentityAccounts() { return this; } /** - * - * *
      * The Cloud Identity accounts associated with the domain.
      * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; */ public Builder removeCloudIdentityAccounts(int index) { if (cloudIdentityAccountsBuilder_ == null) { @@ -826,53 +701,39 @@ public Builder removeCloudIdentityAccounts(int index) { return this; } /** - * - * *
      * The Cloud Identity accounts associated with the domain.
      * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; */ - public com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder - getCloudIdentityAccountsBuilder(int index) { + public com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder getCloudIdentityAccountsBuilder( + int index) { return getCloudIdentityAccountsFieldBuilder().getBuilder(index); } /** - * - * *
      * The Cloud Identity accounts associated with the domain.
      * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; */ - public com.google.cloud.channel.v1.CloudIdentityCustomerAccountOrBuilder - getCloudIdentityAccountsOrBuilder(int index) { + public com.google.cloud.channel.v1.CloudIdentityCustomerAccountOrBuilder getCloudIdentityAccountsOrBuilder( + int index) { if (cloudIdentityAccountsBuilder_ == null) { - return cloudIdentityAccounts_.get(index); - } else { + return cloudIdentityAccounts_.get(index); } else { return cloudIdentityAccountsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The Cloud Identity accounts associated with the domain.
      * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; */ - public java.util.List< - ? extends com.google.cloud.channel.v1.CloudIdentityCustomerAccountOrBuilder> - getCloudIdentityAccountsOrBuilderList() { + public java.util.List + getCloudIdentityAccountsOrBuilderList() { if (cloudIdentityAccountsBuilder_ != null) { return cloudIdentityAccountsBuilder_.getMessageOrBuilderList(); } else { @@ -880,66 +741,45 @@ public Builder removeCloudIdentityAccounts(int index) { } } /** - * - * *
      * The Cloud Identity accounts associated with the domain.
      * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; */ - public com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder - addCloudIdentityAccountsBuilder() { - return getCloudIdentityAccountsFieldBuilder() - .addBuilder( - com.google.cloud.channel.v1.CloudIdentityCustomerAccount.getDefaultInstance()); + public com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder addCloudIdentityAccountsBuilder() { + return getCloudIdentityAccountsFieldBuilder().addBuilder( + com.google.cloud.channel.v1.CloudIdentityCustomerAccount.getDefaultInstance()); } /** - * - * *
      * The Cloud Identity accounts associated with the domain.
      * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; */ - public com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder - addCloudIdentityAccountsBuilder(int index) { - return getCloudIdentityAccountsFieldBuilder() - .addBuilder( - index, com.google.cloud.channel.v1.CloudIdentityCustomerAccount.getDefaultInstance()); + public com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder addCloudIdentityAccountsBuilder( + int index) { + return getCloudIdentityAccountsFieldBuilder().addBuilder( + index, com.google.cloud.channel.v1.CloudIdentityCustomerAccount.getDefaultInstance()); } /** - * - * *
      * The Cloud Identity accounts associated with the domain.
      * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; */ - public java.util.List - getCloudIdentityAccountsBuilderList() { + public java.util.List + getCloudIdentityAccountsBuilderList() { return getCloudIdentityAccountsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.CloudIdentityCustomerAccount, - com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder, - com.google.cloud.channel.v1.CloudIdentityCustomerAccountOrBuilder> + com.google.cloud.channel.v1.CloudIdentityCustomerAccount, com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder, com.google.cloud.channel.v1.CloudIdentityCustomerAccountOrBuilder> getCloudIdentityAccountsFieldBuilder() { if (cloudIdentityAccountsBuilder_ == null) { - cloudIdentityAccountsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.CloudIdentityCustomerAccount, - com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder, - com.google.cloud.channel.v1.CloudIdentityCustomerAccountOrBuilder>( + cloudIdentityAccountsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.CloudIdentityCustomerAccount, com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder, com.google.cloud.channel.v1.CloudIdentityCustomerAccountOrBuilder>( cloudIdentityAccounts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -948,9 +788,9 @@ public Builder removeCloudIdentityAccounts(int index) { } return cloudIdentityAccountsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -960,43 +800,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse) - private static final com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse(); } - public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse - getDefaultInstance() { + public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CheckCloudIdentityAccountsExistResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CheckCloudIdentityAccountsExistResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1008,8 +846,9 @@ public com.google.protobuf.Parser getPa } @java.lang.Override - public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse - getDefaultInstanceForType() { + public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponseOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponseOrBuilder.java new file mode 100644 index 000000000000..0c40efe86a0c --- /dev/null +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponseOrBuilder.java @@ -0,0 +1,53 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/service.proto + +package com.google.cloud.channel.v1; + +public interface CheckCloudIdentityAccountsExistResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The Cloud Identity accounts associated with the domain.
+   * 
+ * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + */ + java.util.List + getCloudIdentityAccountsList(); + /** + *
+   * The Cloud Identity accounts associated with the domain.
+   * 
+ * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + */ + com.google.cloud.channel.v1.CloudIdentityCustomerAccount getCloudIdentityAccounts(int index); + /** + *
+   * The Cloud Identity accounts associated with the domain.
+   * 
+ * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + */ + int getCloudIdentityAccountsCount(); + /** + *
+   * The Cloud Identity accounts associated with the domain.
+   * 
+ * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + */ + java.util.List + getCloudIdentityAccountsOrBuilderList(); + /** + *
+   * The Cloud Identity accounts associated with the domain.
+   * 
+ * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + */ + com.google.cloud.channel.v1.CloudIdentityCustomerAccountOrBuilder getCloudIdentityAccountsOrBuilder( + int index); +} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccount.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccount.java similarity index 70% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccount.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccount.java index eaa6eaa63102..77d75c40ae07 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccount.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccount.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
  * Entity representing a Cloud Identity account that may be
  * associated with a Channel Services API partner.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.CloudIdentityCustomerAccount}
  */
-public final class CloudIdentityCustomerAccount extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CloudIdentityCustomerAccount extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.CloudIdentityCustomerAccount)
     CloudIdentityCustomerAccountOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CloudIdentityCustomerAccount.newBuilder() to construct.
   private CloudIdentityCustomerAccount(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CloudIdentityCustomerAccount() {
     customerName_ = "";
     customerCloudIdentityId_ = "";
@@ -45,41 +27,37 @@ private CloudIdentityCustomerAccount() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CloudIdentityCustomerAccount();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto
-        .internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto
-        .internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.CloudIdentityCustomerAccount.class,
-            com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder.class);
+            com.google.cloud.channel.v1.CloudIdentityCustomerAccount.class, com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder.class);
   }
 
   public static final int EXISTING_FIELD_NUMBER = 1;
   private boolean existing_;
   /**
-   *
-   *
    * 
    * Returns true if a Cloud Identity account exists for a specific domain.
    * 
* * bool existing = 1; - * * @return The existing. */ @java.lang.Override @@ -90,15 +68,12 @@ public boolean getExisting() { public static final int OWNED_FIELD_NUMBER = 2; private boolean owned_; /** - * - * *
    * Returns true if the Cloud Identity account is associated with a customer
    * of the Channel Services partner.
    * 
* * bool owned = 2; - * * @return The owned. */ @java.lang.Override @@ -109,8 +84,6 @@ public boolean getOwned() { public static final int CUSTOMER_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object customerName_; /** - * - * *
    * If owned = true, the name of the customer that owns the Cloud Identity
    * account.
@@ -119,7 +92,6 @@ public boolean getOwned() {
    * 
* * string customer_name = 3; - * * @return The customerName. */ @java.lang.Override @@ -128,15 +100,14 @@ public java.lang.String getCustomerName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customerName_ = s; return s; } } /** - * - * *
    * If owned = true, the name of the customer that owns the Cloud Identity
    * account.
@@ -145,15 +116,16 @@ public java.lang.String getCustomerName() {
    * 
* * string customer_name = 3; - * * @return The bytes for customerName. */ @java.lang.Override - public com.google.protobuf.ByteString getCustomerNameBytes() { + public com.google.protobuf.ByteString + getCustomerNameBytes() { java.lang.Object ref = customerName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); customerName_ = b; return b; } else { @@ -164,14 +136,11 @@ public com.google.protobuf.ByteString getCustomerNameBytes() { public static final int CUSTOMER_CLOUD_IDENTITY_ID_FIELD_NUMBER = 4; private volatile java.lang.Object customerCloudIdentityId_; /** - * - * *
    * If existing = true, the Cloud Identity ID of the customer.
    * 
* * string customer_cloud_identity_id = 4; - * * @return The customerCloudIdentityId. */ @java.lang.Override @@ -180,29 +149,29 @@ public java.lang.String getCustomerCloudIdentityId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customerCloudIdentityId_ = s; return s; } } /** - * - * *
    * If existing = true, the Cloud Identity ID of the customer.
    * 
* * string customer_cloud_identity_id = 4; - * * @return The bytes for customerCloudIdentityId. */ @java.lang.Override - public com.google.protobuf.ByteString getCustomerCloudIdentityIdBytes() { + public com.google.protobuf.ByteString + getCustomerCloudIdentityIdBytes() { java.lang.Object ref = customerCloudIdentityId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); customerCloudIdentityId_ = b; return b; } else { @@ -211,7 +180,6 @@ public com.google.protobuf.ByteString getCustomerCloudIdentityIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,7 +191,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (existing_ != false) { output.writeBool(1, existing_); } @@ -246,10 +215,12 @@ public int getSerializedSize() { size = 0; if (existing_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, existing_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, existing_); } if (owned_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, owned_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, owned_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(customerName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, customerName_); @@ -265,18 +236,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.cloud.channel.v1.CloudIdentityCustomerAccount)) { return super.equals(obj); } - com.google.cloud.channel.v1.CloudIdentityCustomerAccount other = - (com.google.cloud.channel.v1.CloudIdentityCustomerAccount) obj; + com.google.cloud.channel.v1.CloudIdentityCustomerAccount other = (com.google.cloud.channel.v1.CloudIdentityCustomerAccount) obj; - if (getExisting() != other.getExisting()) return false; - if (getOwned() != other.getOwned()) return false; - if (!getCustomerName().equals(other.getCustomerName())) return false; - if (!getCustomerCloudIdentityId().equals(other.getCustomerCloudIdentityId())) return false; + if (getExisting() + != other.getExisting()) return false; + if (getOwned() + != other.getOwned()) return false; + if (!getCustomerName() + .equals(other.getCustomerName())) return false; + if (!getCustomerCloudIdentityId() + .equals(other.getCustomerCloudIdentityId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -289,9 +263,11 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + EXISTING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExisting()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getExisting()); hash = (37 * hash) + OWNED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getOwned()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getOwned()); hash = (37 * hash) + CUSTOMER_NAME_FIELD_NUMBER; hash = (53 * hash) + getCustomerName().hashCode(); hash = (37 * hash) + CUSTOMER_CLOUD_IDENTITY_ID_FIELD_NUMBER; @@ -302,104 +278,96 @@ public int hashCode() { } public static com.google.cloud.channel.v1.CloudIdentityCustomerAccount parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CloudIdentityCustomerAccount parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CloudIdentityCustomerAccount parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CloudIdentityCustomerAccount parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CloudIdentityCustomerAccount parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CloudIdentityCustomerAccount parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.CloudIdentityCustomerAccount parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.CloudIdentityCustomerAccount parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CloudIdentityCustomerAccount parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.CloudIdentityCustomerAccount parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.CloudIdentityCustomerAccount parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CloudIdentityCustomerAccount parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.CloudIdentityCustomerAccount parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CloudIdentityCustomerAccount parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.CloudIdentityCustomerAccount prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.CloudIdentityCustomerAccount prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Entity representing a Cloud Identity account that may be
    * associated with a Channel Services API partner.
@@ -407,32 +375,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.channel.v1.CloudIdentityCustomerAccount}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.CloudIdentityCustomerAccount)
       com.google.cloud.channel.v1.CloudIdentityCustomerAccountOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto
-          .internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto
-          .internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.CloudIdentityCustomerAccount.class,
-              com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder.class);
+              com.google.cloud.channel.v1.CloudIdentityCustomerAccount.class, com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.CloudIdentityCustomerAccount.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -448,9 +417,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto
-          .internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_descriptor;
     }
 
     @java.lang.Override
@@ -469,8 +438,7 @@ public com.google.cloud.channel.v1.CloudIdentityCustomerAccount build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.CloudIdentityCustomerAccount buildPartial() {
-      com.google.cloud.channel.v1.CloudIdentityCustomerAccount result =
-          new com.google.cloud.channel.v1.CloudIdentityCustomerAccount(this);
+      com.google.cloud.channel.v1.CloudIdentityCustomerAccount result = new com.google.cloud.channel.v1.CloudIdentityCustomerAccount(this);
       result.existing_ = existing_;
       result.owned_ = owned_;
       result.customerName_ = customerName_;
@@ -483,39 +451,38 @@ public com.google.cloud.channel.v1.CloudIdentityCustomerAccount 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.cloud.channel.v1.CloudIdentityCustomerAccount) {
-        return mergeFrom((com.google.cloud.channel.v1.CloudIdentityCustomerAccount) other);
+        return mergeFrom((com.google.cloud.channel.v1.CloudIdentityCustomerAccount)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -523,8 +490,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.CloudIdentityCustomerAccount other) {
-      if (other == com.google.cloud.channel.v1.CloudIdentityCustomerAccount.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.channel.v1.CloudIdentityCustomerAccount.getDefaultInstance()) return this;
       if (other.getExisting() != false) {
         setExisting(other.getExisting());
       }
@@ -565,37 +531,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                existing_ = input.readBool();
-
-                break;
-              } // case 8
-            case 16:
-              {
-                owned_ = input.readBool();
-
-                break;
-              } // case 16
-            case 26:
-              {
-                customerName_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 26
-            case 34:
-              {
-                customerCloudIdentityId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              existing_ = input.readBool();
+
+              break;
+            } // case 8
+            case 16: {
+              owned_ = input.readBool();
+
+              break;
+            } // case 16
+            case 26: {
+              customerName_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 26
+            case 34: {
+              customerCloudIdentityId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -606,16 +567,13 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean existing_;
+    private boolean existing_ ;
     /**
-     *
-     *
      * 
      * Returns true if a Cloud Identity account exists for a specific domain.
      * 
* * bool existing = 1; - * * @return The existing. */ @java.lang.Override @@ -623,52 +581,43 @@ public boolean getExisting() { return existing_; } /** - * - * *
      * Returns true if a Cloud Identity account exists for a specific domain.
      * 
* * bool existing = 1; - * * @param value The existing to set. * @return This builder for chaining. */ public Builder setExisting(boolean value) { - + existing_ = value; onChanged(); return this; } /** - * - * *
      * Returns true if a Cloud Identity account exists for a specific domain.
      * 
* * bool existing = 1; - * * @return This builder for chaining. */ public Builder clearExisting() { - + existing_ = false; onChanged(); return this; } - private boolean owned_; + private boolean owned_ ; /** - * - * *
      * Returns true if the Cloud Identity account is associated with a customer
      * of the Channel Services partner.
      * 
* * bool owned = 2; - * * @return The owned. */ @java.lang.Override @@ -676,38 +625,32 @@ public boolean getOwned() { return owned_; } /** - * - * *
      * Returns true if the Cloud Identity account is associated with a customer
      * of the Channel Services partner.
      * 
* * bool owned = 2; - * * @param value The owned to set. * @return This builder for chaining. */ public Builder setOwned(boolean value) { - + owned_ = value; onChanged(); return this; } /** - * - * *
      * Returns true if the Cloud Identity account is associated with a customer
      * of the Channel Services partner.
      * 
* * bool owned = 2; - * * @return This builder for chaining. */ public Builder clearOwned() { - + owned_ = false; onChanged(); return this; @@ -715,8 +658,6 @@ public Builder clearOwned() { private java.lang.Object customerName_ = ""; /** - * - * *
      * If owned = true, the name of the customer that owns the Cloud Identity
      * account.
@@ -725,13 +666,13 @@ public Builder clearOwned() {
      * 
* * string customer_name = 3; - * * @return The customerName. */ public java.lang.String getCustomerName() { java.lang.Object ref = customerName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customerName_ = s; return s; @@ -740,8 +681,6 @@ public java.lang.String getCustomerName() { } } /** - * - * *
      * If owned = true, the name of the customer that owns the Cloud Identity
      * account.
@@ -750,14 +689,15 @@ public java.lang.String getCustomerName() {
      * 
* * string customer_name = 3; - * * @return The bytes for customerName. */ - public com.google.protobuf.ByteString getCustomerNameBytes() { + public com.google.protobuf.ByteString + getCustomerNameBytes() { java.lang.Object ref = customerName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); customerName_ = b; return b; } else { @@ -765,8 +705,6 @@ public com.google.protobuf.ByteString getCustomerNameBytes() { } } /** - * - * *
      * If owned = true, the name of the customer that owns the Cloud Identity
      * account.
@@ -775,22 +713,20 @@ public com.google.protobuf.ByteString getCustomerNameBytes() {
      * 
* * string customer_name = 3; - * * @param value The customerName to set. * @return This builder for chaining. */ - public Builder setCustomerName(java.lang.String value) { + public Builder setCustomerName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + customerName_ = value; onChanged(); return this; } /** - * - * *
      * If owned = true, the name of the customer that owns the Cloud Identity
      * account.
@@ -799,18 +735,15 @@ public Builder setCustomerName(java.lang.String value) {
      * 
* * string customer_name = 3; - * * @return This builder for chaining. */ public Builder clearCustomerName() { - + customerName_ = getDefaultInstance().getCustomerName(); onChanged(); return this; } /** - * - * *
      * If owned = true, the name of the customer that owns the Cloud Identity
      * account.
@@ -819,16 +752,16 @@ public Builder clearCustomerName() {
      * 
* * string customer_name = 3; - * * @param value The bytes for customerName to set. * @return This builder for chaining. */ - public Builder setCustomerNameBytes(com.google.protobuf.ByteString value) { + public Builder setCustomerNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + customerName_ = value; onChanged(); return this; @@ -836,20 +769,18 @@ public Builder setCustomerNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object customerCloudIdentityId_ = ""; /** - * - * *
      * If existing = true, the Cloud Identity ID of the customer.
      * 
* * string customer_cloud_identity_id = 4; - * * @return The customerCloudIdentityId. */ public java.lang.String getCustomerCloudIdentityId() { java.lang.Object ref = customerCloudIdentityId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customerCloudIdentityId_ = s; return s; @@ -858,21 +789,20 @@ public java.lang.String getCustomerCloudIdentityId() { } } /** - * - * *
      * If existing = true, the Cloud Identity ID of the customer.
      * 
* * string customer_cloud_identity_id = 4; - * * @return The bytes for customerCloudIdentityId. */ - public com.google.protobuf.ByteString getCustomerCloudIdentityIdBytes() { + public com.google.protobuf.ByteString + getCustomerCloudIdentityIdBytes() { java.lang.Object ref = customerCloudIdentityId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); customerCloudIdentityId_ = b; return b; } else { @@ -880,68 +810,61 @@ public com.google.protobuf.ByteString getCustomerCloudIdentityIdBytes() { } } /** - * - * *
      * If existing = true, the Cloud Identity ID of the customer.
      * 
* * string customer_cloud_identity_id = 4; - * * @param value The customerCloudIdentityId to set. * @return This builder for chaining. */ - public Builder setCustomerCloudIdentityId(java.lang.String value) { + public Builder setCustomerCloudIdentityId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + customerCloudIdentityId_ = value; onChanged(); return this; } /** - * - * *
      * If existing = true, the Cloud Identity ID of the customer.
      * 
* * string customer_cloud_identity_id = 4; - * * @return This builder for chaining. */ public Builder clearCustomerCloudIdentityId() { - + customerCloudIdentityId_ = getDefaultInstance().getCustomerCloudIdentityId(); onChanged(); return this; } /** - * - * *
      * If existing = true, the Cloud Identity ID of the customer.
      * 
* * string customer_cloud_identity_id = 4; - * * @param value The bytes for customerCloudIdentityId to set. * @return This builder for chaining. */ - public Builder setCustomerCloudIdentityIdBytes(com.google.protobuf.ByteString value) { + public Builder setCustomerCloudIdentityIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + customerCloudIdentityId_ = 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); } @@ -951,12 +874,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.CloudIdentityCustomerAccount) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.CloudIdentityCustomerAccount) private static final com.google.cloud.channel.v1.CloudIdentityCustomerAccount DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.CloudIdentityCustomerAccount(); } @@ -965,27 +888,27 @@ public static com.google.cloud.channel.v1.CloudIdentityCustomerAccount getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudIdentityCustomerAccount parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudIdentityCustomerAccount parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1000,4 +923,6 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.channel.v1.CloudIdentityCustomerAccount getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccountOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccountOrBuilder.java similarity index 67% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccountOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccountOrBuilder.java index 0aa5be0adeb4..f8864423266b 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccountOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccountOrBuilder.java @@ -1,58 +1,34 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface CloudIdentityCustomerAccountOrBuilder - extends +public interface CloudIdentityCustomerAccountOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CloudIdentityCustomerAccount) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Returns true if a Cloud Identity account exists for a specific domain.
    * 
* * bool existing = 1; - * * @return The existing. */ boolean getExisting(); /** - * - * *
    * Returns true if the Cloud Identity account is associated with a customer
    * of the Channel Services partner.
    * 
* * bool owned = 2; - * * @return The owned. */ boolean getOwned(); /** - * - * *
    * If owned = true, the name of the customer that owns the Cloud Identity
    * account.
@@ -61,13 +37,10 @@ public interface CloudIdentityCustomerAccountOrBuilder
    * 
* * string customer_name = 3; - * * @return The customerName. */ java.lang.String getCustomerName(); /** - * - * *
    * If owned = true, the name of the customer that owns the Cloud Identity
    * account.
@@ -76,33 +49,28 @@ public interface CloudIdentityCustomerAccountOrBuilder
    * 
* * string customer_name = 3; - * * @return The bytes for customerName. */ - com.google.protobuf.ByteString getCustomerNameBytes(); + com.google.protobuf.ByteString + getCustomerNameBytes(); /** - * - * *
    * If existing = true, the Cloud Identity ID of the customer.
    * 
* * string customer_cloud_identity_id = 4; - * * @return The customerCloudIdentityId. */ java.lang.String getCustomerCloudIdentityId(); /** - * - * *
    * If existing = true, the Cloud Identity ID of the customer.
    * 
* * string customer_cloud_identity_id = 4; - * * @return The bytes for customerCloudIdentityId. */ - com.google.protobuf.ByteString getCustomerCloudIdentityIdBytes(); + com.google.protobuf.ByteString + getCustomerCloudIdentityIdBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfo.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfo.java similarity index 72% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfo.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfo.java index b8552a7fd627..90b8ee4db7b6 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfo.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfo.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/cloud/channel/v1/common.proto package com.google.cloud.channel.v1; /** - * - * *
  * Cloud Identity information for the Cloud Channel Customer.
  * 
* * Protobuf type {@code google.cloud.channel.v1.CloudIdentityInfo} */ -public final class CloudIdentityInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CloudIdentityInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.CloudIdentityInfo) CloudIdentityInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CloudIdentityInfo.newBuilder() to construct. private CloudIdentityInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CloudIdentityInfo() { customerType_ = 0; primaryDomain_ = ""; @@ -48,43 +30,39 @@ private CloudIdentityInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CloudIdentityInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.CommonProto - .internal_static_google_cloud_channel_v1_CloudIdentityInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_CloudIdentityInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.CommonProto - .internal_static_google_cloud_channel_v1_CloudIdentityInfo_fieldAccessorTable + return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_CloudIdentityInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.CloudIdentityInfo.class, - com.google.cloud.channel.v1.CloudIdentityInfo.Builder.class); + com.google.cloud.channel.v1.CloudIdentityInfo.class, com.google.cloud.channel.v1.CloudIdentityInfo.Builder.class); } /** - * - * *
    * CustomerType of the customer
    * 
* * Protobuf enum {@code google.cloud.channel.v1.CloudIdentityInfo.CustomerType} */ - public enum CustomerType implements com.google.protobuf.ProtocolMessageEnum { + public enum CustomerType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not used.
      * 
@@ -93,8 +71,6 @@ public enum CustomerType implements com.google.protobuf.ProtocolMessageEnum { */ CUSTOMER_TYPE_UNSPECIFIED(0), /** - * - * *
      * Domain-owning customer which needs domain verification to use services.
      * 
@@ -103,8 +79,6 @@ public enum CustomerType implements com.google.protobuf.ProtocolMessageEnum { */ DOMAIN(1), /** - * - * *
      * Team customer which needs email verification to use services.
      * 
@@ -116,8 +90,6 @@ public enum CustomerType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Not used.
      * 
@@ -126,8 +98,6 @@ public enum CustomerType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CUSTOMER_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Domain-owning customer which needs domain verification to use services.
      * 
@@ -136,8 +106,6 @@ public enum CustomerType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DOMAIN_VALUE = 1; /** - * - * *
      * Team customer which needs email verification to use services.
      * 
@@ -146,6 +114,7 @@ public enum CustomerType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TEAM_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -170,49 +139,49 @@ public static CustomerType valueOf(int value) { */ public static CustomerType forNumber(int value) { switch (value) { - case 0: - return CUSTOMER_TYPE_UNSPECIFIED; - case 1: - return DOMAIN; - case 2: - return TEAM; - default: - return null; + case 0: return CUSTOMER_TYPE_UNSPECIFIED; + case 1: return DOMAIN; + case 2: return TEAM; + 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< + CustomerType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CustomerType findValueByNumber(int number) { + return CustomerType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CustomerType findValueByNumber(int number) { - return CustomerType.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.cloud.channel.v1.CloudIdentityInfo.getDescriptor().getEnumTypes().get(0); } private static final CustomerType[] VALUES = values(); - public static CustomerType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static CustomerType 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; @@ -232,52 +201,38 @@ private CustomerType(int value) { public static final int CUSTOMER_TYPE_FIELD_NUMBER = 1; private int customerType_; /** - * - * *
    * CustomerType indicates verification type needed for using services.
    * 
* * .google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 1; - * * @return The enum numeric value on the wire for customerType. */ - @java.lang.Override - public int getCustomerTypeValue() { + @java.lang.Override public int getCustomerTypeValue() { return customerType_; } /** - * - * *
    * CustomerType indicates verification type needed for using services.
    * 
* * .google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 1; - * * @return The customerType. */ - @java.lang.Override - public com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType getCustomerType() { + @java.lang.Override public com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType getCustomerType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType result = - com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType.valueOf(customerType_); - return result == null - ? com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType.UNRECOGNIZED - : result; + com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType result = com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType.valueOf(customerType_); + return result == null ? com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType.UNRECOGNIZED : result; } public static final int PRIMARY_DOMAIN_FIELD_NUMBER = 9; private volatile java.lang.Object primaryDomain_; /** - * - * *
    * Output only. The primary domain name.
    * 
* * string primary_domain = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The primaryDomain. */ @java.lang.Override @@ -286,29 +241,29 @@ public java.lang.String getPrimaryDomain() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); primaryDomain_ = s; return s; } } /** - * - * *
    * Output only. The primary domain name.
    * 
* * string primary_domain = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for primaryDomain. */ @java.lang.Override - public com.google.protobuf.ByteString getPrimaryDomainBytes() { + public com.google.protobuf.ByteString + getPrimaryDomainBytes() { java.lang.Object ref = primaryDomain_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); primaryDomain_ = b; return b; } else { @@ -319,8 +274,6 @@ public com.google.protobuf.ByteString getPrimaryDomainBytes() { public static final int IS_DOMAIN_VERIFIED_FIELD_NUMBER = 4; private boolean isDomainVerified_; /** - * - * *
    * Output only. Whether the domain is verified.
    * This field is not returned for a Customer's cloud_identity_info resource.
@@ -330,7 +283,6 @@ public com.google.protobuf.ByteString getPrimaryDomainBytes() {
    * 
* * bool is_domain_verified = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The isDomainVerified. */ @java.lang.Override @@ -341,14 +293,11 @@ public boolean getIsDomainVerified() { public static final int ALTERNATE_EMAIL_FIELD_NUMBER = 6; private volatile java.lang.Object alternateEmail_; /** - * - * *
    * The alternate email.
    * 
* * string alternate_email = 6; - * * @return The alternateEmail. */ @java.lang.Override @@ -357,29 +306,29 @@ public java.lang.String getAlternateEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); alternateEmail_ = s; return s; } } /** - * - * *
    * The alternate email.
    * 
* * string alternate_email = 6; - * * @return The bytes for alternateEmail. */ @java.lang.Override - public com.google.protobuf.ByteString getAlternateEmailBytes() { + public com.google.protobuf.ByteString + getAlternateEmailBytes() { java.lang.Object ref = alternateEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); alternateEmail_ = b; return b; } else { @@ -390,14 +339,11 @@ public com.google.protobuf.ByteString getAlternateEmailBytes() { public static final int PHONE_NUMBER_FIELD_NUMBER = 7; private volatile java.lang.Object phoneNumber_; /** - * - * *
    * Phone number associated with the Cloud Identity.
    * 
* * string phone_number = 7; - * * @return The phoneNumber. */ @java.lang.Override @@ -406,29 +352,29 @@ public java.lang.String getPhoneNumber() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); phoneNumber_ = s; return s; } } /** - * - * *
    * Phone number associated with the Cloud Identity.
    * 
* * string phone_number = 7; - * * @return The bytes for phoneNumber. */ @java.lang.Override - public com.google.protobuf.ByteString getPhoneNumberBytes() { + public com.google.protobuf.ByteString + getPhoneNumberBytes() { java.lang.Object ref = phoneNumber_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); phoneNumber_ = b; return b; } else { @@ -439,14 +385,11 @@ public com.google.protobuf.ByteString getPhoneNumberBytes() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 8; private volatile java.lang.Object languageCode_; /** - * - * *
    * Language code.
    * 
* * string language_code = 8; - * * @return The languageCode. */ @java.lang.Override @@ -455,29 +398,29 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** - * - * *
    * Language code.
    * 
* * string language_code = 8; - * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -488,14 +431,11 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { public static final int ADMIN_CONSOLE_URI_FIELD_NUMBER = 10; private volatile java.lang.Object adminConsoleUri_; /** - * - * *
    * Output only. URI of Customer's Admin console dashboard.
    * 
* * string admin_console_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The adminConsoleUri. */ @java.lang.Override @@ -504,29 +444,29 @@ public java.lang.String getAdminConsoleUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); adminConsoleUri_ = s; return s; } } /** - * - * *
    * Output only. URI of Customer's Admin console dashboard.
    * 
* * string admin_console_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for adminConsoleUri. */ @java.lang.Override - public com.google.protobuf.ByteString getAdminConsoleUriBytes() { + public com.google.protobuf.ByteString + getAdminConsoleUriBytes() { java.lang.Object ref = adminConsoleUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); adminConsoleUri_ = b; return b; } else { @@ -537,14 +477,11 @@ public com.google.protobuf.ByteString getAdminConsoleUriBytes() { public static final int EDU_DATA_FIELD_NUMBER = 22; private com.google.cloud.channel.v1.EduData eduData_; /** - * - * *
    * Edu information about the customer.
    * 
* * .google.cloud.channel.v1.EduData edu_data = 22; - * * @return Whether the eduData field is set. */ @java.lang.Override @@ -552,14 +489,11 @@ public boolean hasEduData() { return eduData_ != null; } /** - * - * *
    * Edu information about the customer.
    * 
* * .google.cloud.channel.v1.EduData edu_data = 22; - * * @return The eduData. */ @java.lang.Override @@ -567,8 +501,6 @@ public com.google.cloud.channel.v1.EduData getEduData() { return eduData_ == null ? com.google.cloud.channel.v1.EduData.getDefaultInstance() : eduData_; } /** - * - * *
    * Edu information about the customer.
    * 
@@ -581,7 +513,6 @@ public com.google.cloud.channel.v1.EduDataOrBuilder getEduDataOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -593,10 +524,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (customerType_ - != com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType.CUSTOMER_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (customerType_ != com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType.CUSTOMER_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, customerType_); } if (isDomainVerified_ != false) { @@ -629,13 +559,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (customerType_ - != com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType.CUSTOMER_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, customerType_); + if (customerType_ != com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType.CUSTOMER_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, customerType_); } if (isDomainVerified_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, isDomainVerified_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, isDomainVerified_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(alternateEmail_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, alternateEmail_); @@ -653,7 +583,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, adminConsoleUri_); } if (eduData_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getEduData()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, getEduData()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -663,24 +594,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.cloud.channel.v1.CloudIdentityInfo)) { return super.equals(obj); } - com.google.cloud.channel.v1.CloudIdentityInfo other = - (com.google.cloud.channel.v1.CloudIdentityInfo) obj; + com.google.cloud.channel.v1.CloudIdentityInfo other = (com.google.cloud.channel.v1.CloudIdentityInfo) obj; if (customerType_ != other.customerType_) return false; - if (!getPrimaryDomain().equals(other.getPrimaryDomain())) return false; - if (getIsDomainVerified() != other.getIsDomainVerified()) return false; - if (!getAlternateEmail().equals(other.getAlternateEmail())) return false; - if (!getPhoneNumber().equals(other.getPhoneNumber())) return false; - if (!getLanguageCode().equals(other.getLanguageCode())) return false; - if (!getAdminConsoleUri().equals(other.getAdminConsoleUri())) return false; + if (!getPrimaryDomain() + .equals(other.getPrimaryDomain())) return false; + if (getIsDomainVerified() + != other.getIsDomainVerified()) return false; + if (!getAlternateEmail() + .equals(other.getAlternateEmail())) return false; + if (!getPhoneNumber() + .equals(other.getPhoneNumber())) return false; + if (!getLanguageCode() + .equals(other.getLanguageCode())) return false; + if (!getAdminConsoleUri() + .equals(other.getAdminConsoleUri())) return false; if (hasEduData() != other.hasEduData()) return false; if (hasEduData()) { - if (!getEduData().equals(other.getEduData())) return false; + if (!getEduData() + .equals(other.getEduData())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -698,7 +635,8 @@ public int hashCode() { hash = (37 * hash) + PRIMARY_DOMAIN_FIELD_NUMBER; hash = (53 * hash) + getPrimaryDomain().hashCode(); hash = (37 * hash) + IS_DOMAIN_VERIFIED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsDomainVerified()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsDomainVerified()); hash = (37 * hash) + ALTERNATE_EMAIL_FIELD_NUMBER; hash = (53 * hash) + getAlternateEmail().hashCode(); hash = (37 * hash) + PHONE_NUMBER_FIELD_NUMBER; @@ -716,136 +654,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.CloudIdentityInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.CloudIdentityInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CloudIdentityInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CloudIdentityInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CloudIdentityInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CloudIdentityInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CloudIdentityInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CloudIdentityInfo 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.cloud.channel.v1.CloudIdentityInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.CloudIdentityInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.CloudIdentityInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CloudIdentityInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.CloudIdentityInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CloudIdentityInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.CloudIdentityInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Cloud Identity information for the Cloud Channel Customer.
    * 
* * Protobuf type {@code google.cloud.channel.v1.CloudIdentityInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.CloudIdentityInfo) com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.CommonProto - .internal_static_google_cloud_channel_v1_CloudIdentityInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_CloudIdentityInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.CommonProto - .internal_static_google_cloud_channel_v1_CloudIdentityInfo_fieldAccessorTable + return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_CloudIdentityInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.CloudIdentityInfo.class, - com.google.cloud.channel.v1.CloudIdentityInfo.Builder.class); + com.google.cloud.channel.v1.CloudIdentityInfo.class, com.google.cloud.channel.v1.CloudIdentityInfo.Builder.class); } // Construct using com.google.cloud.channel.v1.CloudIdentityInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -873,9 +805,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.CommonProto - .internal_static_google_cloud_channel_v1_CloudIdentityInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_CloudIdentityInfo_descriptor; } @java.lang.Override @@ -894,8 +826,7 @@ public com.google.cloud.channel.v1.CloudIdentityInfo build() { @java.lang.Override public com.google.cloud.channel.v1.CloudIdentityInfo buildPartial() { - com.google.cloud.channel.v1.CloudIdentityInfo result = - new com.google.cloud.channel.v1.CloudIdentityInfo(this); + com.google.cloud.channel.v1.CloudIdentityInfo result = new com.google.cloud.channel.v1.CloudIdentityInfo(this); result.customerType_ = customerType_; result.primaryDomain_ = primaryDomain_; result.isDomainVerified_ = isDomainVerified_; @@ -916,39 +847,38 @@ public com.google.cloud.channel.v1.CloudIdentityInfo 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.cloud.channel.v1.CloudIdentityInfo) { - return mergeFrom((com.google.cloud.channel.v1.CloudIdentityInfo) other); + return mergeFrom((com.google.cloud.channel.v1.CloudIdentityInfo)other); } else { super.mergeFrom(other); return this; @@ -1012,61 +942,54 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - customerType_ = input.readEnum(); - - break; - } // case 8 - case 32: - { - isDomainVerified_ = input.readBool(); - - break; - } // case 32 - case 50: - { - alternateEmail_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 58: - { - phoneNumber_ = input.readStringRequireUtf8(); - - break; - } // case 58 - case 66: - { - languageCode_ = input.readStringRequireUtf8(); - - break; - } // case 66 - case 74: - { - primaryDomain_ = input.readStringRequireUtf8(); - - break; - } // case 74 - case 82: - { - adminConsoleUri_ = input.readStringRequireUtf8(); - - break; - } // case 82 - case 178: - { - input.readMessage(getEduDataFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 178 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + customerType_ = input.readEnum(); + + break; + } // case 8 + case 32: { + isDomainVerified_ = input.readBool(); + + break; + } // case 32 + case 50: { + alternateEmail_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 58: { + phoneNumber_ = input.readStringRequireUtf8(); + + break; + } // case 58 + case 66: { + languageCode_ = input.readStringRequireUtf8(); + + break; + } // case 66 + case 74: { + primaryDomain_ = input.readStringRequireUtf8(); + + break; + } // case 74 + case 82: { + adminConsoleUri_ = input.readStringRequireUtf8(); + + break; + } // case 82 + case 178: { + input.readMessage( + getEduDataFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 178 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1079,93 +1002,73 @@ public Builder mergeFrom( private int customerType_ = 0; /** - * - * *
      * CustomerType indicates verification type needed for using services.
      * 
* * .google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 1; - * * @return The enum numeric value on the wire for customerType. */ - @java.lang.Override - public int getCustomerTypeValue() { + @java.lang.Override public int getCustomerTypeValue() { return customerType_; } /** - * - * *
      * CustomerType indicates verification type needed for using services.
      * 
* * .google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 1; - * * @param value The enum numeric value on the wire for customerType to set. * @return This builder for chaining. */ public Builder setCustomerTypeValue(int value) { - + customerType_ = value; onChanged(); return this; } /** - * - * *
      * CustomerType indicates verification type needed for using services.
      * 
* * .google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 1; - * * @return The customerType. */ @java.lang.Override public com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType getCustomerType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType result = - com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType.valueOf(customerType_); - return result == null - ? com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType.UNRECOGNIZED - : result; + com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType result = com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType.valueOf(customerType_); + return result == null ? com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType.UNRECOGNIZED : result; } /** - * - * *
      * CustomerType indicates verification type needed for using services.
      * 
* * .google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 1; - * * @param value The customerType to set. * @return This builder for chaining. */ - public Builder setCustomerType( - com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType value) { + public Builder setCustomerType(com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType value) { if (value == null) { throw new NullPointerException(); } - + customerType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * CustomerType indicates verification type needed for using services.
      * 
* * .google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 1; - * * @return This builder for chaining. */ public Builder clearCustomerType() { - + customerType_ = 0; onChanged(); return this; @@ -1173,20 +1076,18 @@ public Builder clearCustomerType() { private java.lang.Object primaryDomain_ = ""; /** - * - * *
      * Output only. The primary domain name.
      * 
* * string primary_domain = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The primaryDomain. */ public java.lang.String getPrimaryDomain() { java.lang.Object ref = primaryDomain_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); primaryDomain_ = s; return s; @@ -1195,21 +1096,20 @@ public java.lang.String getPrimaryDomain() { } } /** - * - * *
      * Output only. The primary domain name.
      * 
* * string primary_domain = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for primaryDomain. */ - public com.google.protobuf.ByteString getPrimaryDomainBytes() { + public com.google.protobuf.ByteString + getPrimaryDomainBytes() { java.lang.Object ref = primaryDomain_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); primaryDomain_ = b; return b; } else { @@ -1217,70 +1117,61 @@ public com.google.protobuf.ByteString getPrimaryDomainBytes() { } } /** - * - * *
      * Output only. The primary domain name.
      * 
* * string primary_domain = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The primaryDomain to set. * @return This builder for chaining. */ - public Builder setPrimaryDomain(java.lang.String value) { + public Builder setPrimaryDomain( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + primaryDomain_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The primary domain name.
      * 
* * string primary_domain = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearPrimaryDomain() { - + primaryDomain_ = getDefaultInstance().getPrimaryDomain(); onChanged(); return this; } /** - * - * *
      * Output only. The primary domain name.
      * 
* * string primary_domain = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for primaryDomain to set. * @return This builder for chaining. */ - public Builder setPrimaryDomainBytes(com.google.protobuf.ByteString value) { + public Builder setPrimaryDomainBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + primaryDomain_ = value; onChanged(); return this; } - private boolean isDomainVerified_; + private boolean isDomainVerified_ ; /** - * - * *
      * Output only. Whether the domain is verified.
      * This field is not returned for a Customer's cloud_identity_info resource.
@@ -1290,7 +1181,6 @@ public Builder setPrimaryDomainBytes(com.google.protobuf.ByteString value) {
      * 
* * bool is_domain_verified = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The isDomainVerified. */ @java.lang.Override @@ -1298,8 +1188,6 @@ public boolean getIsDomainVerified() { return isDomainVerified_; } /** - * - * *
      * Output only. Whether the domain is verified.
      * This field is not returned for a Customer's cloud_identity_info resource.
@@ -1309,19 +1197,16 @@ public boolean getIsDomainVerified() {
      * 
* * bool is_domain_verified = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The isDomainVerified to set. * @return This builder for chaining. */ public Builder setIsDomainVerified(boolean value) { - + isDomainVerified_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Whether the domain is verified.
      * This field is not returned for a Customer's cloud_identity_info resource.
@@ -1331,11 +1216,10 @@ public Builder setIsDomainVerified(boolean value) {
      * 
* * bool is_domain_verified = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearIsDomainVerified() { - + isDomainVerified_ = false; onChanged(); return this; @@ -1343,20 +1227,18 @@ public Builder clearIsDomainVerified() { private java.lang.Object alternateEmail_ = ""; /** - * - * *
      * The alternate email.
      * 
* * string alternate_email = 6; - * * @return The alternateEmail. */ public java.lang.String getAlternateEmail() { java.lang.Object ref = alternateEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); alternateEmail_ = s; return s; @@ -1365,21 +1247,20 @@ public java.lang.String getAlternateEmail() { } } /** - * - * *
      * The alternate email.
      * 
* * string alternate_email = 6; - * * @return The bytes for alternateEmail. */ - public com.google.protobuf.ByteString getAlternateEmailBytes() { + public com.google.protobuf.ByteString + getAlternateEmailBytes() { java.lang.Object ref = alternateEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); alternateEmail_ = b; return b; } else { @@ -1387,61 +1268,54 @@ public com.google.protobuf.ByteString getAlternateEmailBytes() { } } /** - * - * *
      * The alternate email.
      * 
* * string alternate_email = 6; - * * @param value The alternateEmail to set. * @return This builder for chaining. */ - public Builder setAlternateEmail(java.lang.String value) { + public Builder setAlternateEmail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + alternateEmail_ = value; onChanged(); return this; } /** - * - * *
      * The alternate email.
      * 
* * string alternate_email = 6; - * * @return This builder for chaining. */ public Builder clearAlternateEmail() { - + alternateEmail_ = getDefaultInstance().getAlternateEmail(); onChanged(); return this; } /** - * - * *
      * The alternate email.
      * 
* * string alternate_email = 6; - * * @param value The bytes for alternateEmail to set. * @return This builder for chaining. */ - public Builder setAlternateEmailBytes(com.google.protobuf.ByteString value) { + public Builder setAlternateEmailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + alternateEmail_ = value; onChanged(); return this; @@ -1449,20 +1323,18 @@ public Builder setAlternateEmailBytes(com.google.protobuf.ByteString value) { private java.lang.Object phoneNumber_ = ""; /** - * - * *
      * Phone number associated with the Cloud Identity.
      * 
* * string phone_number = 7; - * * @return The phoneNumber. */ public java.lang.String getPhoneNumber() { java.lang.Object ref = phoneNumber_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); phoneNumber_ = s; return s; @@ -1471,21 +1343,20 @@ public java.lang.String getPhoneNumber() { } } /** - * - * *
      * Phone number associated with the Cloud Identity.
      * 
* * string phone_number = 7; - * * @return The bytes for phoneNumber. */ - public com.google.protobuf.ByteString getPhoneNumberBytes() { + public com.google.protobuf.ByteString + getPhoneNumberBytes() { java.lang.Object ref = phoneNumber_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); phoneNumber_ = b; return b; } else { @@ -1493,61 +1364,54 @@ public com.google.protobuf.ByteString getPhoneNumberBytes() { } } /** - * - * *
      * Phone number associated with the Cloud Identity.
      * 
* * string phone_number = 7; - * * @param value The phoneNumber to set. * @return This builder for chaining. */ - public Builder setPhoneNumber(java.lang.String value) { + public Builder setPhoneNumber( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + phoneNumber_ = value; onChanged(); return this; } /** - * - * *
      * Phone number associated with the Cloud Identity.
      * 
* * string phone_number = 7; - * * @return This builder for chaining. */ public Builder clearPhoneNumber() { - + phoneNumber_ = getDefaultInstance().getPhoneNumber(); onChanged(); return this; } /** - * - * *
      * Phone number associated with the Cloud Identity.
      * 
* * string phone_number = 7; - * * @param value The bytes for phoneNumber to set. * @return This builder for chaining. */ - public Builder setPhoneNumberBytes(com.google.protobuf.ByteString value) { + public Builder setPhoneNumberBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + phoneNumber_ = value; onChanged(); return this; @@ -1555,20 +1419,18 @@ public Builder setPhoneNumberBytes(com.google.protobuf.ByteString value) { private java.lang.Object languageCode_ = ""; /** - * - * *
      * Language code.
      * 
* * string language_code = 8; - * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -1577,21 +1439,20 @@ public java.lang.String getLanguageCode() { } } /** - * - * *
      * Language code.
      * 
* * string language_code = 8; - * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -1599,61 +1460,54 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } } /** - * - * *
      * Language code.
      * 
* * string language_code = 8; - * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode(java.lang.String value) { + public Builder setLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** - * - * *
      * Language code.
      * 
* * string language_code = 8; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** - * - * *
      * Language code.
      * 
* * string language_code = 8; - * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; onChanged(); return this; @@ -1661,20 +1515,18 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { private java.lang.Object adminConsoleUri_ = ""; /** - * - * *
      * Output only. URI of Customer's Admin console dashboard.
      * 
* * string admin_console_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The adminConsoleUri. */ public java.lang.String getAdminConsoleUri() { java.lang.Object ref = adminConsoleUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); adminConsoleUri_ = s; return s; @@ -1683,21 +1535,20 @@ public java.lang.String getAdminConsoleUri() { } } /** - * - * *
      * Output only. URI of Customer's Admin console dashboard.
      * 
* * string admin_console_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for adminConsoleUri. */ - public com.google.protobuf.ByteString getAdminConsoleUriBytes() { + public com.google.protobuf.ByteString + getAdminConsoleUriBytes() { java.lang.Object ref = adminConsoleUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); adminConsoleUri_ = b; return b; } else { @@ -1705,61 +1556,54 @@ public com.google.protobuf.ByteString getAdminConsoleUriBytes() { } } /** - * - * *
      * Output only. URI of Customer's Admin console dashboard.
      * 
* * string admin_console_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The adminConsoleUri to set. * @return This builder for chaining. */ - public Builder setAdminConsoleUri(java.lang.String value) { + public Builder setAdminConsoleUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + adminConsoleUri_ = value; onChanged(); return this; } /** - * - * *
      * Output only. URI of Customer's Admin console dashboard.
      * 
* * string admin_console_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearAdminConsoleUri() { - + adminConsoleUri_ = getDefaultInstance().getAdminConsoleUri(); onChanged(); return this; } /** - * - * *
      * Output only. URI of Customer's Admin console dashboard.
      * 
* * string admin_console_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for adminConsoleUri to set. * @return This builder for chaining. */ - public Builder setAdminConsoleUriBytes(com.google.protobuf.ByteString value) { + public Builder setAdminConsoleUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + adminConsoleUri_ = value; onChanged(); return this; @@ -1767,47 +1611,34 @@ public Builder setAdminConsoleUriBytes(com.google.protobuf.ByteString value) { private com.google.cloud.channel.v1.EduData eduData_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.EduData, - com.google.cloud.channel.v1.EduData.Builder, - com.google.cloud.channel.v1.EduDataOrBuilder> - eduDataBuilder_; + com.google.cloud.channel.v1.EduData, com.google.cloud.channel.v1.EduData.Builder, com.google.cloud.channel.v1.EduDataOrBuilder> eduDataBuilder_; /** - * - * *
      * Edu information about the customer.
      * 
* * .google.cloud.channel.v1.EduData edu_data = 22; - * * @return Whether the eduData field is set. */ public boolean hasEduData() { return eduDataBuilder_ != null || eduData_ != null; } /** - * - * *
      * Edu information about the customer.
      * 
* * .google.cloud.channel.v1.EduData edu_data = 22; - * * @return The eduData. */ public com.google.cloud.channel.v1.EduData getEduData() { if (eduDataBuilder_ == null) { - return eduData_ == null - ? com.google.cloud.channel.v1.EduData.getDefaultInstance() - : eduData_; + return eduData_ == null ? com.google.cloud.channel.v1.EduData.getDefaultInstance() : eduData_; } else { return eduDataBuilder_.getMessage(); } } /** - * - * *
      * Edu information about the customer.
      * 
@@ -1828,15 +1659,14 @@ public Builder setEduData(com.google.cloud.channel.v1.EduData value) { return this; } /** - * - * *
      * Edu information about the customer.
      * 
* * .google.cloud.channel.v1.EduData edu_data = 22; */ - public Builder setEduData(com.google.cloud.channel.v1.EduData.Builder builderForValue) { + public Builder setEduData( + com.google.cloud.channel.v1.EduData.Builder builderForValue) { if (eduDataBuilder_ == null) { eduData_ = builderForValue.build(); onChanged(); @@ -1847,8 +1677,6 @@ public Builder setEduData(com.google.cloud.channel.v1.EduData.Builder builderFor return this; } /** - * - * *
      * Edu information about the customer.
      * 
@@ -1859,9 +1687,7 @@ public Builder mergeEduData(com.google.cloud.channel.v1.EduData value) { if (eduDataBuilder_ == null) { if (eduData_ != null) { eduData_ = - com.google.cloud.channel.v1.EduData.newBuilder(eduData_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.EduData.newBuilder(eduData_).mergeFrom(value).buildPartial(); } else { eduData_ = value; } @@ -1873,8 +1699,6 @@ public Builder mergeEduData(com.google.cloud.channel.v1.EduData value) { return this; } /** - * - * *
      * Edu information about the customer.
      * 
@@ -1893,8 +1717,6 @@ public Builder clearEduData() { return this; } /** - * - * *
      * Edu information about the customer.
      * 
@@ -1902,13 +1724,11 @@ public Builder clearEduData() { * .google.cloud.channel.v1.EduData edu_data = 22; */ public com.google.cloud.channel.v1.EduData.Builder getEduDataBuilder() { - + onChanged(); return getEduDataFieldBuilder().getBuilder(); } /** - * - * *
      * Edu information about the customer.
      * 
@@ -1919,14 +1739,11 @@ public com.google.cloud.channel.v1.EduDataOrBuilder getEduDataOrBuilder() { if (eduDataBuilder_ != null) { return eduDataBuilder_.getMessageOrBuilder(); } else { - return eduData_ == null - ? com.google.cloud.channel.v1.EduData.getDefaultInstance() - : eduData_; + return eduData_ == null ? + com.google.cloud.channel.v1.EduData.getDefaultInstance() : eduData_; } } /** - * - * *
      * Edu information about the customer.
      * 
@@ -1934,24 +1751,21 @@ public com.google.cloud.channel.v1.EduDataOrBuilder getEduDataOrBuilder() { * .google.cloud.channel.v1.EduData edu_data = 22; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.EduData, - com.google.cloud.channel.v1.EduData.Builder, - com.google.cloud.channel.v1.EduDataOrBuilder> + com.google.cloud.channel.v1.EduData, com.google.cloud.channel.v1.EduData.Builder, com.google.cloud.channel.v1.EduDataOrBuilder> getEduDataFieldBuilder() { if (eduDataBuilder_ == null) { - eduDataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.EduData, - com.google.cloud.channel.v1.EduData.Builder, - com.google.cloud.channel.v1.EduDataOrBuilder>( - getEduData(), getParentForChildren(), isClean()); + eduDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.EduData, com.google.cloud.channel.v1.EduData.Builder, com.google.cloud.channel.v1.EduDataOrBuilder>( + getEduData(), + getParentForChildren(), + isClean()); eduData_ = null; } return eduDataBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1961,12 +1775,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.CloudIdentityInfo) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.CloudIdentityInfo) private static final com.google.cloud.channel.v1.CloudIdentityInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.CloudIdentityInfo(); } @@ -1975,27 +1789,27 @@ public static com.google.cloud.channel.v1.CloudIdentityInfo getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudIdentityInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudIdentityInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2010,4 +1824,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.CloudIdentityInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfoOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfoOrBuilder.java similarity index 77% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfoOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfoOrBuilder.java index 16e283f8e380..edf9e82c92f8 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfoOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfoOrBuilder.java @@ -1,81 +1,52 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/common.proto package com.google.cloud.channel.v1; -public interface CloudIdentityInfoOrBuilder - extends +public interface CloudIdentityInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CloudIdentityInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * CustomerType indicates verification type needed for using services.
    * 
* * .google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 1; - * * @return The enum numeric value on the wire for customerType. */ int getCustomerTypeValue(); /** - * - * *
    * CustomerType indicates verification type needed for using services.
    * 
* * .google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 1; - * * @return The customerType. */ com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType getCustomerType(); /** - * - * *
    * Output only. The primary domain name.
    * 
* * string primary_domain = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The primaryDomain. */ java.lang.String getPrimaryDomain(); /** - * - * *
    * Output only. The primary domain name.
    * 
* * string primary_domain = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for primaryDomain. */ - com.google.protobuf.ByteString getPrimaryDomainBytes(); + com.google.protobuf.ByteString + getPrimaryDomainBytes(); /** - * - * *
    * Output only. Whether the domain is verified.
    * This field is not returned for a Customer's cloud_identity_info resource.
@@ -85,138 +56,109 @@ public interface CloudIdentityInfoOrBuilder
    * 
* * bool is_domain_verified = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The isDomainVerified. */ boolean getIsDomainVerified(); /** - * - * *
    * The alternate email.
    * 
* * string alternate_email = 6; - * * @return The alternateEmail. */ java.lang.String getAlternateEmail(); /** - * - * *
    * The alternate email.
    * 
* * string alternate_email = 6; - * * @return The bytes for alternateEmail. */ - com.google.protobuf.ByteString getAlternateEmailBytes(); + com.google.protobuf.ByteString + getAlternateEmailBytes(); /** - * - * *
    * Phone number associated with the Cloud Identity.
    * 
* * string phone_number = 7; - * * @return The phoneNumber. */ java.lang.String getPhoneNumber(); /** - * - * *
    * Phone number associated with the Cloud Identity.
    * 
* * string phone_number = 7; - * * @return The bytes for phoneNumber. */ - com.google.protobuf.ByteString getPhoneNumberBytes(); + com.google.protobuf.ByteString + getPhoneNumberBytes(); /** - * - * *
    * Language code.
    * 
* * string language_code = 8; - * * @return The languageCode. */ java.lang.String getLanguageCode(); /** - * - * *
    * Language code.
    * 
* * string language_code = 8; - * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString getLanguageCodeBytes(); + com.google.protobuf.ByteString + getLanguageCodeBytes(); /** - * - * *
    * Output only. URI of Customer's Admin console dashboard.
    * 
* * string admin_console_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The adminConsoleUri. */ java.lang.String getAdminConsoleUri(); /** - * - * *
    * Output only. URI of Customer's Admin console dashboard.
    * 
* * string admin_console_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for adminConsoleUri. */ - com.google.protobuf.ByteString getAdminConsoleUriBytes(); + com.google.protobuf.ByteString + getAdminConsoleUriBytes(); /** - * - * *
    * Edu information about the customer.
    * 
* * .google.cloud.channel.v1.EduData edu_data = 22; - * * @return Whether the eduData field is set. */ boolean hasEduData(); /** - * - * *
    * Edu information about the customer.
    * 
* * .google.cloud.channel.v1.EduData edu_data = 22; - * * @return The eduData. */ com.google.cloud.channel.v1.EduData getEduData(); /** - * - * *
    * Edu information about the customer.
    * 
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Column.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Column.java similarity index 71% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Column.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Column.java index 55b50a5a3606..1a75d2562003 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Column.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Column.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/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; /** - * - * *
  * The definition of a report column. Specifies the data properties
  * in the corresponding position of the report rows.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.Column}
  */
-public final class Column extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Column extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.Column)
     ColumnOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Column.newBuilder() to construct.
   private Column(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Column() {
     columnId_ = "";
     displayName_ = "";
@@ -46,33 +28,30 @@ private Column() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Column();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.channel.v1.ReportsServiceProto
-        .internal_static_google_cloud_channel_v1_Column_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_Column_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ReportsServiceProto
-        .internal_static_google_cloud_channel_v1_Column_fieldAccessorTable
+    return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_Column_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.Column.class,
-            com.google.cloud.channel.v1.Column.Builder.class);
+            com.google.cloud.channel.v1.Column.class, com.google.cloud.channel.v1.Column.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Available data types for columns. Corresponds to the fields in the
    * ReportValue `oneof` field.
@@ -80,10 +59,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.channel.v1.Column.DataType}
    */
-  public enum DataType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum DataType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Not used.
      * 
@@ -92,8 +70,6 @@ public enum DataType implements com.google.protobuf.ProtocolMessageEnum { */ DATA_TYPE_UNSPECIFIED(0), /** - * - * *
      * ReportValues for this column will use string_value.
      * 
@@ -102,8 +78,6 @@ public enum DataType implements com.google.protobuf.ProtocolMessageEnum { */ STRING(1), /** - * - * *
      * ReportValues for this column will use int_value.
      * 
@@ -112,8 +86,6 @@ public enum DataType implements com.google.protobuf.ProtocolMessageEnum { */ INT(2), /** - * - * *
      * ReportValues for this column will use decimal_value.
      * 
@@ -122,8 +94,6 @@ public enum DataType implements com.google.protobuf.ProtocolMessageEnum { */ DECIMAL(3), /** - * - * *
      * ReportValues for this column will use money_value.
      * 
@@ -132,8 +102,6 @@ public enum DataType implements com.google.protobuf.ProtocolMessageEnum { */ MONEY(4), /** - * - * *
      * ReportValues for this column will use date_value.
      * 
@@ -142,8 +110,6 @@ public enum DataType implements com.google.protobuf.ProtocolMessageEnum { */ DATE(5), /** - * - * *
      * ReportValues for this column will use date_time_value.
      * 
@@ -155,8 +121,6 @@ public enum DataType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Not used.
      * 
@@ -165,8 +129,6 @@ public enum DataType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATA_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * ReportValues for this column will use string_value.
      * 
@@ -175,8 +137,6 @@ public enum DataType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STRING_VALUE = 1; /** - * - * *
      * ReportValues for this column will use int_value.
      * 
@@ -185,8 +145,6 @@ public enum DataType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INT_VALUE = 2; /** - * - * *
      * ReportValues for this column will use decimal_value.
      * 
@@ -195,8 +153,6 @@ public enum DataType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DECIMAL_VALUE = 3; /** - * - * *
      * ReportValues for this column will use money_value.
      * 
@@ -205,8 +161,6 @@ public enum DataType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MONEY_VALUE = 4; /** - * - * *
      * ReportValues for this column will use date_value.
      * 
@@ -215,8 +169,6 @@ public enum DataType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATE_VALUE = 5; /** - * - * *
      * ReportValues for this column will use date_time_value.
      * 
@@ -225,6 +177,7 @@ public enum DataType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATE_TIME_VALUE = 6; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -249,57 +202,53 @@ public static DataType valueOf(int value) { */ public static DataType forNumber(int value) { switch (value) { - case 0: - return DATA_TYPE_UNSPECIFIED; - case 1: - return STRING; - case 2: - return INT; - case 3: - return DECIMAL; - case 4: - return MONEY; - case 5: - return DATE; - case 6: - return DATE_TIME; - default: - return null; + case 0: return DATA_TYPE_UNSPECIFIED; + case 1: return STRING; + case 2: return INT; + case 3: return DECIMAL; + case 4: return MONEY; + case 5: return DATE; + case 6: return DATE_TIME; + 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 DataType findValueByNumber(int number) { - return DataType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + DataType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DataType findValueByNumber(int number) { + return DataType.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.cloud.channel.v1.Column.getDescriptor().getEnumTypes().get(0); } private static final DataType[] VALUES = values(); - public static DataType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DataType 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; @@ -319,8 +268,6 @@ private DataType(int value) { public static final int COLUMN_ID_FIELD_NUMBER = 1; private volatile java.lang.Object columnId_; /** - * - * *
    * The unique name of the column (for example, customer_domain,
    * channel_partner, customer_cost). You can use column IDs in
@@ -330,7 +277,6 @@ private DataType(int value) {
    * 
* * string column_id = 1; - * * @return The columnId. */ @java.lang.Override @@ -339,15 +285,14 @@ public java.lang.String getColumnId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); columnId_ = s; return s; } } /** - * - * *
    * The unique name of the column (for example, customer_domain,
    * channel_partner, customer_cost). You can use column IDs in
@@ -357,15 +302,16 @@ public java.lang.String getColumnId() {
    * 
* * string column_id = 1; - * * @return The bytes for columnId. */ @java.lang.Override - public com.google.protobuf.ByteString getColumnIdBytes() { + public com.google.protobuf.ByteString + getColumnIdBytes() { java.lang.Object ref = columnId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); columnId_ = b; return b; } else { @@ -376,14 +322,11 @@ public com.google.protobuf.ByteString getColumnIdBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * The column's display name.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -392,29 +335,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; } } /** - * - * *
    * The column's display name.
    * 
* * 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 { @@ -425,41 +368,31 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DATA_TYPE_FIELD_NUMBER = 3; private int dataType_; /** - * - * *
    * The type of the values for this column.
    * 
* * .google.cloud.channel.v1.Column.DataType data_type = 3; - * * @return The enum numeric value on the wire for dataType. */ - @java.lang.Override - public int getDataTypeValue() { + @java.lang.Override public int getDataTypeValue() { return dataType_; } /** - * - * *
    * The type of the values for this column.
    * 
* * .google.cloud.channel.v1.Column.DataType data_type = 3; - * * @return The dataType. */ - @java.lang.Override - public com.google.cloud.channel.v1.Column.DataType getDataType() { + @java.lang.Override public com.google.cloud.channel.v1.Column.DataType getDataType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.Column.DataType result = - com.google.cloud.channel.v1.Column.DataType.valueOf(dataType_); + com.google.cloud.channel.v1.Column.DataType result = com.google.cloud.channel.v1.Column.DataType.valueOf(dataType_); return result == null ? com.google.cloud.channel.v1.Column.DataType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -471,15 +404,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(columnId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, columnId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, displayName_); } - if (dataType_ - != com.google.cloud.channel.v1.Column.DataType.DATA_TYPE_UNSPECIFIED.getNumber()) { + if (dataType_ != com.google.cloud.channel.v1.Column.DataType.DATA_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, dataType_); } getUnknownFields().writeTo(output); @@ -497,9 +430,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); } - if (dataType_ - != com.google.cloud.channel.v1.Column.DataType.DATA_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, dataType_); + if (dataType_ != com.google.cloud.channel.v1.Column.DataType.DATA_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, dataType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -509,15 +442,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.cloud.channel.v1.Column)) { return super.equals(obj); } com.google.cloud.channel.v1.Column other = (com.google.cloud.channel.v1.Column) obj; - if (!getColumnId().equals(other.getColumnId())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getColumnId() + .equals(other.getColumnId())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (dataType_ != other.dataType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -541,103 +476,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.Column parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.Column parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Column parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.Column parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.channel.v1.Column parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Column parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Column parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Column parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Column 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.cloud.channel.v1.Column parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.Column parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.Column parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.Column parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.Column parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.Column prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The definition of a report column. Specifies the data properties
    * in the corresponding position of the report rows.
@@ -645,32 +574,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.channel.v1.Column}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.Column)
       com.google.cloud.channel.v1.ColumnOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.channel.v1.ReportsServiceProto
-          .internal_static_google_cloud_channel_v1_Column_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_Column_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ReportsServiceProto
-          .internal_static_google_cloud_channel_v1_Column_fieldAccessorTable
+      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_Column_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.Column.class,
-              com.google.cloud.channel.v1.Column.Builder.class);
+              com.google.cloud.channel.v1.Column.class, com.google.cloud.channel.v1.Column.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.Column.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -684,9 +614,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.channel.v1.ReportsServiceProto
-          .internal_static_google_cloud_channel_v1_Column_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_Column_descriptor;
     }
 
     @java.lang.Override
@@ -717,39 +647,38 @@ public com.google.cloud.channel.v1.Column 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.cloud.channel.v1.Column) {
-        return mergeFrom((com.google.cloud.channel.v1.Column) other);
+        return mergeFrom((com.google.cloud.channel.v1.Column)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -795,31 +724,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                columnId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 24:
-              {
-                dataType_ = input.readEnum();
-
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              columnId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 24: {
+              dataType_ = input.readEnum();
+
+              break;
+            } // case 24
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -832,8 +757,6 @@ public Builder mergeFrom(
 
     private java.lang.Object columnId_ = "";
     /**
-     *
-     *
      * 
      * The unique name of the column (for example, customer_domain,
      * channel_partner, customer_cost). You can use column IDs in
@@ -843,13 +766,13 @@ public Builder mergeFrom(
      * 
* * string column_id = 1; - * * @return The columnId. */ public java.lang.String getColumnId() { java.lang.Object ref = columnId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); columnId_ = s; return s; @@ -858,8 +781,6 @@ public java.lang.String getColumnId() { } } /** - * - * *
      * The unique name of the column (for example, customer_domain,
      * channel_partner, customer_cost). You can use column IDs in
@@ -869,14 +790,15 @@ public java.lang.String getColumnId() {
      * 
* * string column_id = 1; - * * @return The bytes for columnId. */ - public com.google.protobuf.ByteString getColumnIdBytes() { + public com.google.protobuf.ByteString + getColumnIdBytes() { java.lang.Object ref = columnId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); columnId_ = b; return b; } else { @@ -884,8 +806,6 @@ public com.google.protobuf.ByteString getColumnIdBytes() { } } /** - * - * *
      * The unique name of the column (for example, customer_domain,
      * channel_partner, customer_cost). You can use column IDs in
@@ -895,22 +815,20 @@ public com.google.protobuf.ByteString getColumnIdBytes() {
      * 
* * string column_id = 1; - * * @param value The columnId to set. * @return This builder for chaining. */ - public Builder setColumnId(java.lang.String value) { + public Builder setColumnId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + columnId_ = value; onChanged(); return this; } /** - * - * *
      * The unique name of the column (for example, customer_domain,
      * channel_partner, customer_cost). You can use column IDs in
@@ -920,18 +838,15 @@ public Builder setColumnId(java.lang.String value) {
      * 
* * string column_id = 1; - * * @return This builder for chaining. */ public Builder clearColumnId() { - + columnId_ = getDefaultInstance().getColumnId(); onChanged(); return this; } /** - * - * *
      * The unique name of the column (for example, customer_domain,
      * channel_partner, customer_cost). You can use column IDs in
@@ -941,16 +856,16 @@ public Builder clearColumnId() {
      * 
* * string column_id = 1; - * * @param value The bytes for columnId to set. * @return This builder for chaining. */ - public Builder setColumnIdBytes(com.google.protobuf.ByteString value) { + public Builder setColumnIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + columnId_ = value; onChanged(); return this; @@ -958,20 +873,18 @@ public Builder setColumnIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * The column's display name.
      * 
* * 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; @@ -980,21 +893,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The column's display name.
      * 
* * 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 { @@ -1002,61 +914,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The column's display name.
      * 
* * 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; } /** - * - * *
      * The column's display name.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * The column's display name.
      * 
* * 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; @@ -1064,65 +969,51 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private int dataType_ = 0; /** - * - * *
      * The type of the values for this column.
      * 
* * .google.cloud.channel.v1.Column.DataType data_type = 3; - * * @return The enum numeric value on the wire for dataType. */ - @java.lang.Override - public int getDataTypeValue() { + @java.lang.Override public int getDataTypeValue() { return dataType_; } /** - * - * *
      * The type of the values for this column.
      * 
* * .google.cloud.channel.v1.Column.DataType data_type = 3; - * * @param value The enum numeric value on the wire for dataType to set. * @return This builder for chaining. */ public Builder setDataTypeValue(int value) { - + dataType_ = value; onChanged(); return this; } /** - * - * *
      * The type of the values for this column.
      * 
* * .google.cloud.channel.v1.Column.DataType data_type = 3; - * * @return The dataType. */ @java.lang.Override public com.google.cloud.channel.v1.Column.DataType getDataType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.Column.DataType result = - com.google.cloud.channel.v1.Column.DataType.valueOf(dataType_); + com.google.cloud.channel.v1.Column.DataType result = com.google.cloud.channel.v1.Column.DataType.valueOf(dataType_); return result == null ? com.google.cloud.channel.v1.Column.DataType.UNRECOGNIZED : result; } /** - * - * *
      * The type of the values for this column.
      * 
* * .google.cloud.channel.v1.Column.DataType data_type = 3; - * * @param value The dataType to set. * @return This builder for chaining. */ @@ -1130,31 +1021,28 @@ public Builder setDataType(com.google.cloud.channel.v1.Column.DataType value) { if (value == null) { throw new NullPointerException(); } - + dataType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The type of the values for this column.
      * 
* * .google.cloud.channel.v1.Column.DataType data_type = 3; - * * @return This builder for chaining. */ public Builder clearDataType() { - + dataType_ = 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); } @@ -1164,12 +1052,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.Column) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.Column) private static final com.google.cloud.channel.v1.Column DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.Column(); } @@ -1178,27 +1066,27 @@ public static com.google.cloud.channel.v1.Column getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Column parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Column parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1213,4 +1101,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Column getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ColumnOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ColumnOrBuilder.java similarity index 71% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ColumnOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ColumnOrBuilder.java index c6ae01ac8e4d..c78500285dff 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ColumnOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ColumnOrBuilder.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/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; -public interface ColumnOrBuilder - extends +public interface ColumnOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Column) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The unique name of the column (for example, customer_domain,
    * channel_partner, customer_cost). You can use column IDs in
@@ -35,13 +17,10 @@ public interface ColumnOrBuilder
    * 
* * string column_id = 1; - * * @return The columnId. */ java.lang.String getColumnId(); /** - * - * *
    * The unique name of the column (for example, customer_domain,
    * channel_partner, customer_cost). You can use column IDs in
@@ -51,57 +30,46 @@ public interface ColumnOrBuilder
    * 
* * string column_id = 1; - * * @return The bytes for columnId. */ - com.google.protobuf.ByteString getColumnIdBytes(); + com.google.protobuf.ByteString + getColumnIdBytes(); /** - * - * *
    * The column's display name.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The column's display name.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * The type of the values for this column.
    * 
* * .google.cloud.channel.v1.Column.DataType data_type = 3; - * * @return The enum numeric value on the wire for dataType. */ int getDataTypeValue(); /** - * - * *
    * The type of the values for this column.
    * 
* * .google.cloud.channel.v1.Column.DataType data_type = 3; - * * @return The dataType. */ com.google.cloud.channel.v1.Column.DataType getDataType(); diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettings.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettings.java similarity index 65% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettings.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettings.java index 95c1f04ada74..513d38c5f03b 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettings.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettings.java @@ -1,82 +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/cloud/channel/v1/entitlements.proto package com.google.cloud.channel.v1; /** - * - * *
  * Commitment settings for commitment-based offers.
  * 
* * Protobuf type {@code google.cloud.channel.v1.CommitmentSettings} */ -public final class CommitmentSettings extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CommitmentSettings extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.CommitmentSettings) CommitmentSettingsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CommitmentSettings.newBuilder() to construct. private CommitmentSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CommitmentSettings() {} + private CommitmentSettings() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CommitmentSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_CommitmentSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_CommitmentSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_CommitmentSettings_fieldAccessorTable + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_CommitmentSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.CommitmentSettings.class, - com.google.cloud.channel.v1.CommitmentSettings.Builder.class); + com.google.cloud.channel.v1.CommitmentSettings.class, com.google.cloud.channel.v1.CommitmentSettings.Builder.class); } public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Output only. Commitment start timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ @java.lang.Override @@ -84,15 +62,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Output only. Commitment start timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ @java.lang.Override @@ -100,14 +74,11 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Output only. Commitment start timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -117,15 +88,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Output only. Commitment end timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -133,15 +100,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Output only. Commitment end timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ @java.lang.Override @@ -149,14 +112,11 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Output only. Commitment end timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -166,16 +126,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int RENEWAL_SETTINGS_FIELD_NUMBER = 4; private com.google.cloud.channel.v1.RenewalSettings renewalSettings_; /** - * - * *
    * Optional. Renewal settings applicable for a commitment-based Offer.
    * 
* - * - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the renewalSettings field is set. */ @java.lang.Override @@ -183,34 +138,23 @@ public boolean hasRenewalSettings() { return renewalSettings_ != null; } /** - * - * *
    * Optional. Renewal settings applicable for a commitment-based Offer.
    * 
* - * - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The renewalSettings. */ @java.lang.Override public com.google.cloud.channel.v1.RenewalSettings getRenewalSettings() { - return renewalSettings_ == null - ? com.google.cloud.channel.v1.RenewalSettings.getDefaultInstance() - : renewalSettings_; + return renewalSettings_ == null ? com.google.cloud.channel.v1.RenewalSettings.getDefaultInstance() : renewalSettings_; } /** - * - * *
    * Optional. Renewal settings applicable for a commitment-based Offer.
    * 
* - * - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.channel.v1.RenewalSettingsOrBuilder getRenewalSettingsOrBuilder() { @@ -218,7 +162,6 @@ public com.google.cloud.channel.v1.RenewalSettingsOrBuilder getRenewalSettingsOr } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -230,7 +173,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (startTime_ != null) { output.writeMessage(1, getStartTime()); } @@ -250,13 +194,16 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } if (renewalSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRenewalSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getRenewalSettings()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -266,25 +213,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.cloud.channel.v1.CommitmentSettings)) { return super.equals(obj); } - com.google.cloud.channel.v1.CommitmentSettings other = - (com.google.cloud.channel.v1.CommitmentSettings) obj; + com.google.cloud.channel.v1.CommitmentSettings other = (com.google.cloud.channel.v1.CommitmentSettings) obj; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (hasRenewalSettings() != other.hasRenewalSettings()) return false; if (hasRenewalSettings()) { - if (!getRenewalSettings().equals(other.getRenewalSettings())) return false; + if (!getRenewalSettings() + .equals(other.getRenewalSettings())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -314,136 +263,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.CommitmentSettings parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.CommitmentSettings parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CommitmentSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CommitmentSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CommitmentSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CommitmentSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CommitmentSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CommitmentSettings 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.cloud.channel.v1.CommitmentSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.CommitmentSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.CommitmentSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CommitmentSettings parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.CommitmentSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CommitmentSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.CommitmentSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Commitment settings for commitment-based offers.
    * 
* * Protobuf type {@code google.cloud.channel.v1.CommitmentSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.CommitmentSettings) com.google.cloud.channel.v1.CommitmentSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_CommitmentSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_CommitmentSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_CommitmentSettings_fieldAccessorTable + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_CommitmentSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.CommitmentSettings.class, - com.google.cloud.channel.v1.CommitmentSettings.Builder.class); + com.google.cloud.channel.v1.CommitmentSettings.class, com.google.cloud.channel.v1.CommitmentSettings.Builder.class); } // Construct using com.google.cloud.channel.v1.CommitmentSettings.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -469,9 +412,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_CommitmentSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_CommitmentSettings_descriptor; } @java.lang.Override @@ -490,8 +433,7 @@ public com.google.cloud.channel.v1.CommitmentSettings build() { @java.lang.Override public com.google.cloud.channel.v1.CommitmentSettings buildPartial() { - com.google.cloud.channel.v1.CommitmentSettings result = - new com.google.cloud.channel.v1.CommitmentSettings(this); + com.google.cloud.channel.v1.CommitmentSettings result = new com.google.cloud.channel.v1.CommitmentSettings(this); if (startTimeBuilder_ == null) { result.startTime_ = startTime_; } else { @@ -515,39 +457,38 @@ public com.google.cloud.channel.v1.CommitmentSettings 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.cloud.channel.v1.CommitmentSettings) { - return mergeFrom((com.google.cloud.channel.v1.CommitmentSettings) other); + return mergeFrom((com.google.cloud.channel.v1.CommitmentSettings)other); } else { super.mergeFrom(other); return this; @@ -591,31 +532,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - case 18: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 34: - { - input.readMessage(getRenewalSettingsFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 34: { + input.readMessage( + getRenewalSettingsFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -628,35 +571,24 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Output only. Commitment start timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * Output only. Commitment start timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -667,14 +599,11 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Output only. Commitment start timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -690,16 +619,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Commitment start timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -710,20 +637,17 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Output only. Commitment start timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -735,14 +659,11 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Commitment start timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearStartTime() { if (startTimeBuilder_ == null) { @@ -756,59 +677,48 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Output only. Commitment start timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Commitment start timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * Output only. Commitment start timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 1 [(.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> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -816,35 +726,24 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * Output only. Commitment end timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * Output only. Commitment end timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -855,14 +754,11 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Output only. Commitment end timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -878,16 +774,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Commitment end timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -898,20 +792,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. Commitment end timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -923,14 +814,11 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Commitment end timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { if (endTimeBuilder_ == null) { @@ -944,59 +832,48 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. Commitment end timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Commitment end timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Output only. Commitment end timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_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> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1004,58 +881,39 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private com.google.cloud.channel.v1.RenewalSettings renewalSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RenewalSettings, - com.google.cloud.channel.v1.RenewalSettings.Builder, - com.google.cloud.channel.v1.RenewalSettingsOrBuilder> - renewalSettingsBuilder_; + com.google.cloud.channel.v1.RenewalSettings, com.google.cloud.channel.v1.RenewalSettings.Builder, com.google.cloud.channel.v1.RenewalSettingsOrBuilder> renewalSettingsBuilder_; /** - * - * *
      * Optional. Renewal settings applicable for a commitment-based Offer.
      * 
* - * - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the renewalSettings field is set. */ public boolean hasRenewalSettings() { return renewalSettingsBuilder_ != null || renewalSettings_ != null; } /** - * - * *
      * Optional. Renewal settings applicable for a commitment-based Offer.
      * 
* - * - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The renewalSettings. */ public com.google.cloud.channel.v1.RenewalSettings getRenewalSettings() { if (renewalSettingsBuilder_ == null) { - return renewalSettings_ == null - ? com.google.cloud.channel.v1.RenewalSettings.getDefaultInstance() - : renewalSettings_; + return renewalSettings_ == null ? com.google.cloud.channel.v1.RenewalSettings.getDefaultInstance() : renewalSettings_; } else { return renewalSettingsBuilder_.getMessage(); } } /** - * - * *
      * Optional. Renewal settings applicable for a commitment-based Offer.
      * 
* - * - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setRenewalSettings(com.google.cloud.channel.v1.RenewalSettings value) { if (renewalSettingsBuilder_ == null) { @@ -1071,15 +929,11 @@ public Builder setRenewalSettings(com.google.cloud.channel.v1.RenewalSettings va return this; } /** - * - * *
      * Optional. Renewal settings applicable for a commitment-based Offer.
      * 
* - * - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setRenewalSettings( com.google.cloud.channel.v1.RenewalSettings.Builder builderForValue) { @@ -1093,23 +947,17 @@ public Builder setRenewalSettings( return this; } /** - * - * *
      * Optional. Renewal settings applicable for a commitment-based Offer.
      * 
* - * - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeRenewalSettings(com.google.cloud.channel.v1.RenewalSettings value) { if (renewalSettingsBuilder_ == null) { if (renewalSettings_ != null) { renewalSettings_ = - com.google.cloud.channel.v1.RenewalSettings.newBuilder(renewalSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.RenewalSettings.newBuilder(renewalSettings_).mergeFrom(value).buildPartial(); } else { renewalSettings_ = value; } @@ -1121,15 +969,11 @@ public Builder mergeRenewalSettings(com.google.cloud.channel.v1.RenewalSettings return this; } /** - * - * *
      * Optional. Renewal settings applicable for a commitment-based Offer.
      * 
* - * - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearRenewalSettings() { if (renewalSettingsBuilder_ == null) { @@ -1143,71 +987,55 @@ public Builder clearRenewalSettings() { return this; } /** - * - * *
      * Optional. Renewal settings applicable for a commitment-based Offer.
      * 
* - * - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.channel.v1.RenewalSettings.Builder getRenewalSettingsBuilder() { - + onChanged(); return getRenewalSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Renewal settings applicable for a commitment-based Offer.
      * 
* - * - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.channel.v1.RenewalSettingsOrBuilder getRenewalSettingsOrBuilder() { if (renewalSettingsBuilder_ != null) { return renewalSettingsBuilder_.getMessageOrBuilder(); } else { - return renewalSettings_ == null - ? com.google.cloud.channel.v1.RenewalSettings.getDefaultInstance() - : renewalSettings_; + return renewalSettings_ == null ? + com.google.cloud.channel.v1.RenewalSettings.getDefaultInstance() : renewalSettings_; } } /** - * - * *
      * Optional. Renewal settings applicable for a commitment-based Offer.
      * 
* - * - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RenewalSettings, - com.google.cloud.channel.v1.RenewalSettings.Builder, - com.google.cloud.channel.v1.RenewalSettingsOrBuilder> + com.google.cloud.channel.v1.RenewalSettings, com.google.cloud.channel.v1.RenewalSettings.Builder, com.google.cloud.channel.v1.RenewalSettingsOrBuilder> getRenewalSettingsFieldBuilder() { if (renewalSettingsBuilder_ == null) { - renewalSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RenewalSettings, - com.google.cloud.channel.v1.RenewalSettings.Builder, - com.google.cloud.channel.v1.RenewalSettingsOrBuilder>( - getRenewalSettings(), getParentForChildren(), isClean()); + renewalSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.RenewalSettings, com.google.cloud.channel.v1.RenewalSettings.Builder, com.google.cloud.channel.v1.RenewalSettingsOrBuilder>( + getRenewalSettings(), + getParentForChildren(), + isClean()); renewalSettings_ = null; } return renewalSettingsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1217,12 +1045,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.CommitmentSettings) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.CommitmentSettings) private static final com.google.cloud.channel.v1.CommitmentSettings DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.CommitmentSettings(); } @@ -1231,27 +1059,27 @@ public static com.google.cloud.channel.v1.CommitmentSettings getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CommitmentSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CommitmentSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1266,4 +1094,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.CommitmentSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettingsOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettingsOrBuilder.java similarity index 60% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettingsOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettingsOrBuilder.java index 5c2ed7dffb24..15f94c1aeabc 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettingsOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettingsOrBuilder.java @@ -1,142 +1,90 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/entitlements.proto package com.google.cloud.channel.v1; -public interface CommitmentSettingsOrBuilder - extends +public interface CommitmentSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CommitmentSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Commitment start timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Output only. Commitment start timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Output only. Commitment start timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * Output only. Commitment end timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Output only. Commitment end timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Output only. Commitment end timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Optional. Renewal settings applicable for a commitment-based Offer.
    * 
* - * - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the renewalSettings field is set. */ boolean hasRenewalSettings(); /** - * - * *
    * Optional. Renewal settings applicable for a commitment-based Offer.
    * 
* - * - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The renewalSettings. */ com.google.cloud.channel.v1.RenewalSettings getRenewalSettings(); /** - * - * *
    * Optional. Renewal settings applicable for a commitment-based Offer.
    * 
* - * - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.channel.v1.RenewalSettingsOrBuilder getRenewalSettingsOrBuilder(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommonProto.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommonProto.java new file mode 100644 index 000000000000..d32b91cba1a5 --- /dev/null +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommonProto.java @@ -0,0 +1,120 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/common.proto + +package com.google.cloud.channel.v1; + +public final class CommonProto { + private CommonProto() {} + 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_cloud_channel_v1_EduData_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_EduData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_CloudIdentityInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_CloudIdentityInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_Value_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_Value_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_AdminUser_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_AdminUser_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/cloud/channel/v1/common.proto\022\027" + + "google.cloud.channel.v1\032\037google/api/fiel" + + "d_behavior.proto\032\031google/protobuf/any.pr" + + "oto\"\260\003\n\007EduData\022F\n\016institute_type\030\001 \001(\0162" + + "..google.cloud.channel.v1.EduData.Instit" + + "uteType\022F\n\016institute_size\030\002 \001(\0162..google" + + ".cloud.channel.v1.EduData.InstituteSize\022" + + "\017\n\007website\030\003 \001(\t\"H\n\rInstituteType\022\036\n\032INS" + + "TITUTE_TYPE_UNSPECIFIED\020\000\022\007\n\003K12\020\001\022\016\n\nUN" + + "IVERSITY\020\002\"\271\001\n\rInstituteSize\022\036\n\032INSTITUT" + + "E_SIZE_UNSPECIFIED\020\000\022\016\n\nSIZE_1_100\020\001\022\020\n\014" + + "SIZE_101_500\020\002\022\021\n\rSIZE_501_1000\020\003\022\022\n\016SIZ" + + "E_1001_2000\020\004\022\022\n\016SIZE_2001_5000\020\005\022\023\n\017SIZ" + + "E_5001_10000\020\006\022\026\n\022SIZE_10001_OR_MORE\020\007\"\200" + + "\003\n\021CloudIdentityInfo\022N\n\rcustomer_type\030\001 " + + "\001(\01627.google.cloud.channel.v1.CloudIdent" + + "ityInfo.CustomerType\022\033\n\016primary_domain\030\t" + + " \001(\tB\003\340A\003\022\037\n\022is_domain_verified\030\004 \001(\010B\003\340" + + "A\003\022\027\n\017alternate_email\030\006 \001(\t\022\024\n\014phone_num" + + "ber\030\007 \001(\t\022\025\n\rlanguage_code\030\010 \001(\t\022\036\n\021admi" + + "n_console_uri\030\n \001(\tB\003\340A\003\0222\n\010edu_data\030\026 \001" + + "(\0132 .google.cloud.channel.v1.EduData\"C\n\014" + + "CustomerType\022\035\n\031CUSTOMER_TYPE_UNSPECIFIE" + + "D\020\000\022\n\n\006DOMAIN\020\001\022\010\n\004TEAM\020\002\"\231\001\n\005Value\022\025\n\013i" + + "nt64_value\030\001 \001(\003H\000\022\026\n\014string_value\030\002 \001(\t" + + "H\000\022\026\n\014double_value\030\003 \001(\001H\000\022+\n\013proto_valu" + + "e\030\004 \001(\0132\024.google.protobuf.AnyH\000\022\024\n\nbool_" + + "value\030\005 \001(\010H\000B\006\n\004kind\"C\n\tAdminUser\022\r\n\005em" + + "ail\030\001 \001(\t\022\022\n\ngiven_name\030\002 \001(\t\022\023\n\013family_" + + "name\030\003 \001(\tBl\n\033com.google.cloud.channel.v" + + "1B\013CommonProtoP\001Z>google.golang.org/genp" + + "roto/googleapis/cloud/channel/v1;channel" + + "b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.protobuf.AnyProto.getDescriptor(), + }); + internal_static_google_cloud_channel_v1_EduData_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_channel_v1_EduData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_EduData_descriptor, + new java.lang.String[] { "InstituteType", "InstituteSize", "Website", }); + internal_static_google_cloud_channel_v1_CloudIdentityInfo_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_channel_v1_CloudIdentityInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_CloudIdentityInfo_descriptor, + new java.lang.String[] { "CustomerType", "PrimaryDomain", "IsDomainVerified", "AlternateEmail", "PhoneNumber", "LanguageCode", "AdminConsoleUri", "EduData", }); + internal_static_google_cloud_channel_v1_Value_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_channel_v1_Value_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_Value_descriptor, + new java.lang.String[] { "Int64Value", "StringValue", "DoubleValue", "ProtoValue", "BoolValue", "Kind", }); + internal_static_google_cloud_channel_v1_AdminUser_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_channel_v1_AdminUser_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_AdminUser_descriptor, + new java.lang.String[] { "Email", "GivenName", "FamilyName", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.protobuf.AnyProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConditionalOverride.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConditionalOverride.java new file mode 100644 index 000000000000..8937819c547d --- /dev/null +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConditionalOverride.java @@ -0,0 +1,1006 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/repricing.proto + +package com.google.cloud.channel.v1; + +/** + *
+ * Specifies the override to conditionally apply.
+ * 
+ * + * Protobuf type {@code google.cloud.channel.v1.ConditionalOverride} + */ +public final class ConditionalOverride extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ConditionalOverride) + ConditionalOverrideOrBuilder { +private static final long serialVersionUID = 0L; + // Use ConditionalOverride.newBuilder() to construct. + private ConditionalOverride(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ConditionalOverride() { + rebillingBasis_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ConditionalOverride(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_ConditionalOverride_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_ConditionalOverride_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.channel.v1.ConditionalOverride.class, com.google.cloud.channel.v1.ConditionalOverride.Builder.class); + } + + public static final int ADJUSTMENT_FIELD_NUMBER = 1; + private com.google.cloud.channel.v1.RepricingAdjustment adjustment_; + /** + *
+   * Required. Information about the applied override's adjustment.
+   * 
+ * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the adjustment field is set. + */ + @java.lang.Override + public boolean hasAdjustment() { + return adjustment_ != null; + } + /** + *
+   * Required. Information about the applied override's adjustment.
+   * 
+ * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The adjustment. + */ + @java.lang.Override + public com.google.cloud.channel.v1.RepricingAdjustment getAdjustment() { + return adjustment_ == null ? com.google.cloud.channel.v1.RepricingAdjustment.getDefaultInstance() : adjustment_; + } + /** + *
+   * Required. Information about the applied override's adjustment.
+   * 
+ * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + @java.lang.Override + public com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder getAdjustmentOrBuilder() { + return getAdjustment(); + } + + public static final int REBILLING_BASIS_FIELD_NUMBER = 2; + private int rebillingBasis_; + /** + *
+   * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
+   * use for the applied override. Shows the relative cost based on your
+   * repricing costs.
+   * 
+ * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The enum numeric value on the wire for rebillingBasis. + */ + @java.lang.Override public int getRebillingBasisValue() { + return rebillingBasis_; + } + /** + *
+   * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
+   * use for the applied override. Shows the relative cost based on your
+   * repricing costs.
+   * 
+ * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The rebillingBasis. + */ + @java.lang.Override public com.google.cloud.channel.v1.RebillingBasis getRebillingBasis() { + @SuppressWarnings("deprecation") + com.google.cloud.channel.v1.RebillingBasis result = com.google.cloud.channel.v1.RebillingBasis.valueOf(rebillingBasis_); + return result == null ? com.google.cloud.channel.v1.RebillingBasis.UNRECOGNIZED : result; + } + + public static final int REPRICING_CONDITION_FIELD_NUMBER = 3; + private com.google.cloud.channel.v1.RepricingCondition repricingCondition_; + /** + *
+   * Required. Specifies the condition which, if met, will apply the override.
+   * 
+ * + * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the repricingCondition field is set. + */ + @java.lang.Override + public boolean hasRepricingCondition() { + return repricingCondition_ != null; + } + /** + *
+   * Required. Specifies the condition which, if met, will apply the override.
+   * 
+ * + * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The repricingCondition. + */ + @java.lang.Override + public com.google.cloud.channel.v1.RepricingCondition getRepricingCondition() { + return repricingCondition_ == null ? com.google.cloud.channel.v1.RepricingCondition.getDefaultInstance() : repricingCondition_; + } + /** + *
+   * Required. Specifies the condition which, if met, will apply the override.
+   * 
+ * + * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + @java.lang.Override + public com.google.cloud.channel.v1.RepricingConditionOrBuilder getRepricingConditionOrBuilder() { + return getRepricingCondition(); + } + + 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 (adjustment_ != null) { + output.writeMessage(1, getAdjustment()); + } + if (rebillingBasis_ != com.google.cloud.channel.v1.RebillingBasis.REBILLING_BASIS_UNSPECIFIED.getNumber()) { + output.writeEnum(2, rebillingBasis_); + } + if (repricingCondition_ != null) { + output.writeMessage(3, getRepricingCondition()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (adjustment_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAdjustment()); + } + if (rebillingBasis_ != com.google.cloud.channel.v1.RebillingBasis.REBILLING_BASIS_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, rebillingBasis_); + } + if (repricingCondition_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getRepricingCondition()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.channel.v1.ConditionalOverride)) { + return super.equals(obj); + } + com.google.cloud.channel.v1.ConditionalOverride other = (com.google.cloud.channel.v1.ConditionalOverride) obj; + + if (hasAdjustment() != other.hasAdjustment()) return false; + if (hasAdjustment()) { + if (!getAdjustment() + .equals(other.getAdjustment())) return false; + } + if (rebillingBasis_ != other.rebillingBasis_) return false; + if (hasRepricingCondition() != other.hasRepricingCondition()) return false; + if (hasRepricingCondition()) { + if (!getRepricingCondition() + .equals(other.getRepricingCondition())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasAdjustment()) { + hash = (37 * hash) + ADJUSTMENT_FIELD_NUMBER; + hash = (53 * hash) + getAdjustment().hashCode(); + } + hash = (37 * hash) + REBILLING_BASIS_FIELD_NUMBER; + hash = (53 * hash) + rebillingBasis_; + if (hasRepricingCondition()) { + hash = (37 * hash) + REPRICING_CONDITION_FIELD_NUMBER; + hash = (53 * hash) + getRepricingCondition().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.channel.v1.ConditionalOverride parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.channel.v1.ConditionalOverride parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.channel.v1.ConditionalOverride parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.channel.v1.ConditionalOverride parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.channel.v1.ConditionalOverride parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.channel.v1.ConditionalOverride parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.channel.v1.ConditionalOverride parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.channel.v1.ConditionalOverride parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.channel.v1.ConditionalOverride parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.channel.v1.ConditionalOverride parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.channel.v1.ConditionalOverride parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.channel.v1.ConditionalOverride 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.cloud.channel.v1.ConditionalOverride 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; + } + /** + *
+   * Specifies the override to conditionally apply.
+   * 
+ * + * Protobuf type {@code google.cloud.channel.v1.ConditionalOverride} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ConditionalOverride) + com.google.cloud.channel.v1.ConditionalOverrideOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_ConditionalOverride_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_ConditionalOverride_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.channel.v1.ConditionalOverride.class, com.google.cloud.channel.v1.ConditionalOverride.Builder.class); + } + + // Construct using com.google.cloud.channel.v1.ConditionalOverride.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (adjustmentBuilder_ == null) { + adjustment_ = null; + } else { + adjustment_ = null; + adjustmentBuilder_ = null; + } + rebillingBasis_ = 0; + + if (repricingConditionBuilder_ == null) { + repricingCondition_ = null; + } else { + repricingCondition_ = null; + repricingConditionBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_ConditionalOverride_descriptor; + } + + @java.lang.Override + public com.google.cloud.channel.v1.ConditionalOverride getDefaultInstanceForType() { + return com.google.cloud.channel.v1.ConditionalOverride.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.channel.v1.ConditionalOverride build() { + com.google.cloud.channel.v1.ConditionalOverride result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.channel.v1.ConditionalOverride buildPartial() { + com.google.cloud.channel.v1.ConditionalOverride result = new com.google.cloud.channel.v1.ConditionalOverride(this); + if (adjustmentBuilder_ == null) { + result.adjustment_ = adjustment_; + } else { + result.adjustment_ = adjustmentBuilder_.build(); + } + result.rebillingBasis_ = rebillingBasis_; + if (repricingConditionBuilder_ == null) { + result.repricingCondition_ = repricingCondition_; + } else { + result.repricingCondition_ = repricingConditionBuilder_.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.cloud.channel.v1.ConditionalOverride) { + return mergeFrom((com.google.cloud.channel.v1.ConditionalOverride)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.channel.v1.ConditionalOverride other) { + if (other == com.google.cloud.channel.v1.ConditionalOverride.getDefaultInstance()) return this; + if (other.hasAdjustment()) { + mergeAdjustment(other.getAdjustment()); + } + if (other.rebillingBasis_ != 0) { + setRebillingBasisValue(other.getRebillingBasisValue()); + } + if (other.hasRepricingCondition()) { + mergeRepricingCondition(other.getRepricingCondition()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getAdjustmentFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 16: { + rebillingBasis_ = input.readEnum(); + + break; + } // case 16 + case 26: { + input.readMessage( + getRepricingConditionFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private com.google.cloud.channel.v1.RepricingAdjustment adjustment_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.RepricingAdjustment, com.google.cloud.channel.v1.RepricingAdjustment.Builder, com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder> adjustmentBuilder_; + /** + *
+     * Required. Information about the applied override's adjustment.
+     * 
+ * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the adjustment field is set. + */ + public boolean hasAdjustment() { + return adjustmentBuilder_ != null || adjustment_ != null; + } + /** + *
+     * Required. Information about the applied override's adjustment.
+     * 
+ * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The adjustment. + */ + public com.google.cloud.channel.v1.RepricingAdjustment getAdjustment() { + if (adjustmentBuilder_ == null) { + return adjustment_ == null ? com.google.cloud.channel.v1.RepricingAdjustment.getDefaultInstance() : adjustment_; + } else { + return adjustmentBuilder_.getMessage(); + } + } + /** + *
+     * Required. Information about the applied override's adjustment.
+     * 
+ * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder setAdjustment(com.google.cloud.channel.v1.RepricingAdjustment value) { + if (adjustmentBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + adjustment_ = value; + onChanged(); + } else { + adjustmentBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Required. Information about the applied override's adjustment.
+     * 
+ * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder setAdjustment( + com.google.cloud.channel.v1.RepricingAdjustment.Builder builderForValue) { + if (adjustmentBuilder_ == null) { + adjustment_ = builderForValue.build(); + onChanged(); + } else { + adjustmentBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Required. Information about the applied override's adjustment.
+     * 
+ * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder mergeAdjustment(com.google.cloud.channel.v1.RepricingAdjustment value) { + if (adjustmentBuilder_ == null) { + if (adjustment_ != null) { + adjustment_ = + com.google.cloud.channel.v1.RepricingAdjustment.newBuilder(adjustment_).mergeFrom(value).buildPartial(); + } else { + adjustment_ = value; + } + onChanged(); + } else { + adjustmentBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Required. Information about the applied override's adjustment.
+     * 
+ * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder clearAdjustment() { + if (adjustmentBuilder_ == null) { + adjustment_ = null; + onChanged(); + } else { + adjustment_ = null; + adjustmentBuilder_ = null; + } + + return this; + } + /** + *
+     * Required. Information about the applied override's adjustment.
+     * 
+ * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.cloud.channel.v1.RepricingAdjustment.Builder getAdjustmentBuilder() { + + onChanged(); + return getAdjustmentFieldBuilder().getBuilder(); + } + /** + *
+     * Required. Information about the applied override's adjustment.
+     * 
+ * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder getAdjustmentOrBuilder() { + if (adjustmentBuilder_ != null) { + return adjustmentBuilder_.getMessageOrBuilder(); + } else { + return adjustment_ == null ? + com.google.cloud.channel.v1.RepricingAdjustment.getDefaultInstance() : adjustment_; + } + } + /** + *
+     * Required. Information about the applied override's adjustment.
+     * 
+ * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.RepricingAdjustment, com.google.cloud.channel.v1.RepricingAdjustment.Builder, com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder> + getAdjustmentFieldBuilder() { + if (adjustmentBuilder_ == null) { + adjustmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.RepricingAdjustment, com.google.cloud.channel.v1.RepricingAdjustment.Builder, com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder>( + getAdjustment(), + getParentForChildren(), + isClean()); + adjustment_ = null; + } + return adjustmentBuilder_; + } + + private int rebillingBasis_ = 0; + /** + *
+     * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
+     * use for the applied override. Shows the relative cost based on your
+     * repricing costs.
+     * 
+ * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The enum numeric value on the wire for rebillingBasis. + */ + @java.lang.Override public int getRebillingBasisValue() { + return rebillingBasis_; + } + /** + *
+     * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
+     * use for the applied override. Shows the relative cost based on your
+     * repricing costs.
+     * 
+ * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The enum numeric value on the wire for rebillingBasis to set. + * @return This builder for chaining. + */ + public Builder setRebillingBasisValue(int value) { + + rebillingBasis_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
+     * use for the applied override. Shows the relative cost based on your
+     * repricing costs.
+     * 
+ * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The rebillingBasis. + */ + @java.lang.Override + public com.google.cloud.channel.v1.RebillingBasis getRebillingBasis() { + @SuppressWarnings("deprecation") + com.google.cloud.channel.v1.RebillingBasis result = com.google.cloud.channel.v1.RebillingBasis.valueOf(rebillingBasis_); + return result == null ? com.google.cloud.channel.v1.RebillingBasis.UNRECOGNIZED : result; + } + /** + *
+     * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
+     * use for the applied override. Shows the relative cost based on your
+     * repricing costs.
+     * 
+ * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The rebillingBasis to set. + * @return This builder for chaining. + */ + public Builder setRebillingBasis(com.google.cloud.channel.v1.RebillingBasis value) { + if (value == null) { + throw new NullPointerException(); + } + + rebillingBasis_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+     * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
+     * use for the applied override. Shows the relative cost based on your
+     * repricing costs.
+     * 
+ * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearRebillingBasis() { + + rebillingBasis_ = 0; + onChanged(); + return this; + } + + private com.google.cloud.channel.v1.RepricingCondition repricingCondition_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.RepricingCondition, com.google.cloud.channel.v1.RepricingCondition.Builder, com.google.cloud.channel.v1.RepricingConditionOrBuilder> repricingConditionBuilder_; + /** + *
+     * Required. Specifies the condition which, if met, will apply the override.
+     * 
+ * + * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the repricingCondition field is set. + */ + public boolean hasRepricingCondition() { + return repricingConditionBuilder_ != null || repricingCondition_ != null; + } + /** + *
+     * Required. Specifies the condition which, if met, will apply the override.
+     * 
+ * + * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The repricingCondition. + */ + public com.google.cloud.channel.v1.RepricingCondition getRepricingCondition() { + if (repricingConditionBuilder_ == null) { + return repricingCondition_ == null ? com.google.cloud.channel.v1.RepricingCondition.getDefaultInstance() : repricingCondition_; + } else { + return repricingConditionBuilder_.getMessage(); + } + } + /** + *
+     * Required. Specifies the condition which, if met, will apply the override.
+     * 
+ * + * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder setRepricingCondition(com.google.cloud.channel.v1.RepricingCondition value) { + if (repricingConditionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + repricingCondition_ = value; + onChanged(); + } else { + repricingConditionBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Required. Specifies the condition which, if met, will apply the override.
+     * 
+ * + * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder setRepricingCondition( + com.google.cloud.channel.v1.RepricingCondition.Builder builderForValue) { + if (repricingConditionBuilder_ == null) { + repricingCondition_ = builderForValue.build(); + onChanged(); + } else { + repricingConditionBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Required. Specifies the condition which, if met, will apply the override.
+     * 
+ * + * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder mergeRepricingCondition(com.google.cloud.channel.v1.RepricingCondition value) { + if (repricingConditionBuilder_ == null) { + if (repricingCondition_ != null) { + repricingCondition_ = + com.google.cloud.channel.v1.RepricingCondition.newBuilder(repricingCondition_).mergeFrom(value).buildPartial(); + } else { + repricingCondition_ = value; + } + onChanged(); + } else { + repricingConditionBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Required. Specifies the condition which, if met, will apply the override.
+     * 
+ * + * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder clearRepricingCondition() { + if (repricingConditionBuilder_ == null) { + repricingCondition_ = null; + onChanged(); + } else { + repricingCondition_ = null; + repricingConditionBuilder_ = null; + } + + return this; + } + /** + *
+     * Required. Specifies the condition which, if met, will apply the override.
+     * 
+ * + * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.cloud.channel.v1.RepricingCondition.Builder getRepricingConditionBuilder() { + + onChanged(); + return getRepricingConditionFieldBuilder().getBuilder(); + } + /** + *
+     * Required. Specifies the condition which, if met, will apply the override.
+     * 
+ * + * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.cloud.channel.v1.RepricingConditionOrBuilder getRepricingConditionOrBuilder() { + if (repricingConditionBuilder_ != null) { + return repricingConditionBuilder_.getMessageOrBuilder(); + } else { + return repricingCondition_ == null ? + com.google.cloud.channel.v1.RepricingCondition.getDefaultInstance() : repricingCondition_; + } + } + /** + *
+     * Required. Specifies the condition which, if met, will apply the override.
+     * 
+ * + * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.RepricingCondition, com.google.cloud.channel.v1.RepricingCondition.Builder, com.google.cloud.channel.v1.RepricingConditionOrBuilder> + getRepricingConditionFieldBuilder() { + if (repricingConditionBuilder_ == null) { + repricingConditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.RepricingCondition, com.google.cloud.channel.v1.RepricingCondition.Builder, com.google.cloud.channel.v1.RepricingConditionOrBuilder>( + getRepricingCondition(), + getParentForChildren(), + isClean()); + repricingCondition_ = null; + } + return repricingConditionBuilder_; + } + @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.cloud.channel.v1.ConditionalOverride) + } + + // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ConditionalOverride) + private static final com.google.cloud.channel.v1.ConditionalOverride DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ConditionalOverride(); + } + + public static com.google.cloud.channel.v1.ConditionalOverride getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConditionalOverride parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.channel.v1.ConditionalOverride getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConditionalOverrideOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConditionalOverrideOrBuilder.java new file mode 100644 index 000000000000..7d5e4b2a7a50 --- /dev/null +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConditionalOverrideOrBuilder.java @@ -0,0 +1,86 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/repricing.proto + +package com.google.cloud.channel.v1; + +public interface ConditionalOverrideOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ConditionalOverride) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Information about the applied override's adjustment.
+   * 
+ * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the adjustment field is set. + */ + boolean hasAdjustment(); + /** + *
+   * Required. Information about the applied override's adjustment.
+   * 
+ * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The adjustment. + */ + com.google.cloud.channel.v1.RepricingAdjustment getAdjustment(); + /** + *
+   * Required. Information about the applied override's adjustment.
+   * 
+ * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder getAdjustmentOrBuilder(); + + /** + *
+   * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
+   * use for the applied override. Shows the relative cost based on your
+   * repricing costs.
+   * 
+ * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The enum numeric value on the wire for rebillingBasis. + */ + int getRebillingBasisValue(); + /** + *
+   * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
+   * use for the applied override. Shows the relative cost based on your
+   * repricing costs.
+   * 
+ * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The rebillingBasis. + */ + com.google.cloud.channel.v1.RebillingBasis getRebillingBasis(); + + /** + *
+   * Required. Specifies the condition which, if met, will apply the override.
+   * 
+ * + * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the repricingCondition field is set. + */ + boolean hasRepricingCondition(); + /** + *
+   * Required. Specifies the condition which, if met, will apply the override.
+   * 
+ * + * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The repricingCondition. + */ + com.google.cloud.channel.v1.RepricingCondition getRepricingCondition(); + /** + *
+   * Required. Specifies the condition which, if met, will apply the override.
+   * 
+ * + * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.channel.v1.RepricingConditionOrBuilder getRepricingConditionOrBuilder(); +} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Constraints.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Constraints.java similarity index 67% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Constraints.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Constraints.java index 91b336876197..b78f69385008 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Constraints.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Constraints.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; /** - * - * *
  * Represents the constraints for buying the Offer.
  * 
* * Protobuf type {@code google.cloud.channel.v1.Constraints} */ -public final class Constraints extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Constraints extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.Constraints) ConstraintsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Constraints.newBuilder() to construct. private Constraints(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Constraints() {} + private Constraints() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Constraints(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_Constraints_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Constraints_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_Constraints_fieldAccessorTable + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Constraints_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Constraints.class, - com.google.cloud.channel.v1.Constraints.Builder.class); + com.google.cloud.channel.v1.Constraints.class, com.google.cloud.channel.v1.Constraints.Builder.class); } public static final int CUSTOMER_CONSTRAINTS_FIELD_NUMBER = 1; private com.google.cloud.channel.v1.CustomerConstraints customerConstraints_; /** - * - * *
    * Represents constraints required to purchase the Offer for a customer.
    * 
* * .google.cloud.channel.v1.CustomerConstraints customer_constraints = 1; - * * @return Whether the customerConstraints field is set. */ @java.lang.Override @@ -83,25 +62,18 @@ public boolean hasCustomerConstraints() { return customerConstraints_ != null; } /** - * - * *
    * Represents constraints required to purchase the Offer for a customer.
    * 
* * .google.cloud.channel.v1.CustomerConstraints customer_constraints = 1; - * * @return The customerConstraints. */ @java.lang.Override public com.google.cloud.channel.v1.CustomerConstraints getCustomerConstraints() { - return customerConstraints_ == null - ? com.google.cloud.channel.v1.CustomerConstraints.getDefaultInstance() - : customerConstraints_; + return customerConstraints_ == null ? com.google.cloud.channel.v1.CustomerConstraints.getDefaultInstance() : customerConstraints_; } /** - * - * *
    * Represents constraints required to purchase the Offer for a customer.
    * 
@@ -109,13 +81,11 @@ public com.google.cloud.channel.v1.CustomerConstraints getCustomerConstraints() * .google.cloud.channel.v1.CustomerConstraints customer_constraints = 1; */ @java.lang.Override - public com.google.cloud.channel.v1.CustomerConstraintsOrBuilder - getCustomerConstraintsOrBuilder() { + public com.google.cloud.channel.v1.CustomerConstraintsOrBuilder getCustomerConstraintsOrBuilder() { return getCustomerConstraints(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -127,7 +97,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (customerConstraints_ != null) { output.writeMessage(1, getCustomerConstraints()); } @@ -141,7 +112,8 @@ public int getSerializedSize() { size = 0; if (customerConstraints_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCustomerConstraints()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCustomerConstraints()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -151,7 +123,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.Constraints)) { return super.equals(obj); @@ -160,7 +132,8 @@ public boolean equals(final java.lang.Object obj) { if (hasCustomerConstraints() != other.hasCustomerConstraints()) return false; if (hasCustomerConstraints()) { - if (!getCustomerConstraints().equals(other.getCustomerConstraints())) return false; + if (!getCustomerConstraints() + .equals(other.getCustomerConstraints())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -182,136 +155,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.Constraints parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.Constraints parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Constraints parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Constraints parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Constraints parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Constraints parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Constraints parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Constraints 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.cloud.channel.v1.Constraints parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.Constraints parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.Constraints parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.Constraints parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.Constraints parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.Constraints parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.Constraints prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents the constraints for buying the Offer.
    * 
* * Protobuf type {@code google.cloud.channel.v1.Constraints} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.Constraints) com.google.cloud.channel.v1.ConstraintsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_Constraints_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Constraints_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_Constraints_fieldAccessorTable + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Constraints_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Constraints.class, - com.google.cloud.channel.v1.Constraints.Builder.class); + com.google.cloud.channel.v1.Constraints.class, com.google.cloud.channel.v1.Constraints.Builder.class); } // Construct using com.google.cloud.channel.v1.Constraints.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -325,9 +292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_Constraints_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Constraints_descriptor; } @java.lang.Override @@ -346,8 +313,7 @@ public com.google.cloud.channel.v1.Constraints build() { @java.lang.Override public com.google.cloud.channel.v1.Constraints buildPartial() { - com.google.cloud.channel.v1.Constraints result = - new com.google.cloud.channel.v1.Constraints(this); + com.google.cloud.channel.v1.Constraints result = new com.google.cloud.channel.v1.Constraints(this); if (customerConstraintsBuilder_ == null) { result.customerConstraints_ = customerConstraints_; } else { @@ -361,39 +327,38 @@ public com.google.cloud.channel.v1.Constraints 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.cloud.channel.v1.Constraints) { - return mergeFrom((com.google.cloud.channel.v1.Constraints) other); + return mergeFrom((com.google.cloud.channel.v1.Constraints)other); } else { super.mergeFrom(other); return this; @@ -431,20 +396,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getCustomerConstraintsFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getCustomerConstraintsFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -457,47 +421,34 @@ public Builder mergeFrom( private com.google.cloud.channel.v1.CustomerConstraints customerConstraints_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CustomerConstraints, - com.google.cloud.channel.v1.CustomerConstraints.Builder, - com.google.cloud.channel.v1.CustomerConstraintsOrBuilder> - customerConstraintsBuilder_; + com.google.cloud.channel.v1.CustomerConstraints, com.google.cloud.channel.v1.CustomerConstraints.Builder, com.google.cloud.channel.v1.CustomerConstraintsOrBuilder> customerConstraintsBuilder_; /** - * - * *
      * Represents constraints required to purchase the Offer for a customer.
      * 
* * .google.cloud.channel.v1.CustomerConstraints customer_constraints = 1; - * * @return Whether the customerConstraints field is set. */ public boolean hasCustomerConstraints() { return customerConstraintsBuilder_ != null || customerConstraints_ != null; } /** - * - * *
      * Represents constraints required to purchase the Offer for a customer.
      * 
* * .google.cloud.channel.v1.CustomerConstraints customer_constraints = 1; - * * @return The customerConstraints. */ public com.google.cloud.channel.v1.CustomerConstraints getCustomerConstraints() { if (customerConstraintsBuilder_ == null) { - return customerConstraints_ == null - ? com.google.cloud.channel.v1.CustomerConstraints.getDefaultInstance() - : customerConstraints_; + return customerConstraints_ == null ? com.google.cloud.channel.v1.CustomerConstraints.getDefaultInstance() : customerConstraints_; } else { return customerConstraintsBuilder_.getMessage(); } } /** - * - * *
      * Represents constraints required to purchase the Offer for a customer.
      * 
@@ -518,8 +469,6 @@ public Builder setCustomerConstraints(com.google.cloud.channel.v1.CustomerConstr return this; } /** - * - * *
      * Represents constraints required to purchase the Offer for a customer.
      * 
@@ -538,8 +487,6 @@ public Builder setCustomerConstraints( return this; } /** - * - * *
      * Represents constraints required to purchase the Offer for a customer.
      * 
@@ -550,9 +497,7 @@ public Builder mergeCustomerConstraints(com.google.cloud.channel.v1.CustomerCons if (customerConstraintsBuilder_ == null) { if (customerConstraints_ != null) { customerConstraints_ = - com.google.cloud.channel.v1.CustomerConstraints.newBuilder(customerConstraints_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.CustomerConstraints.newBuilder(customerConstraints_).mergeFrom(value).buildPartial(); } else { customerConstraints_ = value; } @@ -564,8 +509,6 @@ public Builder mergeCustomerConstraints(com.google.cloud.channel.v1.CustomerCons return this; } /** - * - * *
      * Represents constraints required to purchase the Offer for a customer.
      * 
@@ -584,8 +527,6 @@ public Builder clearCustomerConstraints() { return this; } /** - * - * *
      * Represents constraints required to purchase the Offer for a customer.
      * 
@@ -593,32 +534,26 @@ public Builder clearCustomerConstraints() { * .google.cloud.channel.v1.CustomerConstraints customer_constraints = 1; */ public com.google.cloud.channel.v1.CustomerConstraints.Builder getCustomerConstraintsBuilder() { - + onChanged(); return getCustomerConstraintsFieldBuilder().getBuilder(); } /** - * - * *
      * Represents constraints required to purchase the Offer for a customer.
      * 
* * .google.cloud.channel.v1.CustomerConstraints customer_constraints = 1; */ - public com.google.cloud.channel.v1.CustomerConstraintsOrBuilder - getCustomerConstraintsOrBuilder() { + public com.google.cloud.channel.v1.CustomerConstraintsOrBuilder getCustomerConstraintsOrBuilder() { if (customerConstraintsBuilder_ != null) { return customerConstraintsBuilder_.getMessageOrBuilder(); } else { - return customerConstraints_ == null - ? com.google.cloud.channel.v1.CustomerConstraints.getDefaultInstance() - : customerConstraints_; + return customerConstraints_ == null ? + com.google.cloud.channel.v1.CustomerConstraints.getDefaultInstance() : customerConstraints_; } } /** - * - * *
      * Represents constraints required to purchase the Offer for a customer.
      * 
@@ -626,24 +561,21 @@ public com.google.cloud.channel.v1.CustomerConstraints.Builder getCustomerConstr * .google.cloud.channel.v1.CustomerConstraints customer_constraints = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CustomerConstraints, - com.google.cloud.channel.v1.CustomerConstraints.Builder, - com.google.cloud.channel.v1.CustomerConstraintsOrBuilder> + com.google.cloud.channel.v1.CustomerConstraints, com.google.cloud.channel.v1.CustomerConstraints.Builder, com.google.cloud.channel.v1.CustomerConstraintsOrBuilder> getCustomerConstraintsFieldBuilder() { if (customerConstraintsBuilder_ == null) { - customerConstraintsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CustomerConstraints, - com.google.cloud.channel.v1.CustomerConstraints.Builder, - com.google.cloud.channel.v1.CustomerConstraintsOrBuilder>( - getCustomerConstraints(), getParentForChildren(), isClean()); + customerConstraintsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.CustomerConstraints, com.google.cloud.channel.v1.CustomerConstraints.Builder, com.google.cloud.channel.v1.CustomerConstraintsOrBuilder>( + getCustomerConstraints(), + getParentForChildren(), + isClean()); customerConstraints_ = null; } return customerConstraintsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -653,12 +585,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.Constraints) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.Constraints) private static final com.google.cloud.channel.v1.Constraints DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.Constraints(); } @@ -667,27 +599,27 @@ public static com.google.cloud.channel.v1.Constraints getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Constraints parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Constraints parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -702,4 +634,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Constraints getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConstraintsOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConstraintsOrBuilder.java similarity index 63% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConstraintsOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConstraintsOrBuilder.java index 6f8b79bb1c61..94bf826d83c3 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConstraintsOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConstraintsOrBuilder.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/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; -public interface ConstraintsOrBuilder - extends +public interface ConstraintsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Constraints) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Represents constraints required to purchase the Offer for a customer.
    * 
* * .google.cloud.channel.v1.CustomerConstraints customer_constraints = 1; - * * @return Whether the customerConstraints field is set. */ boolean hasCustomerConstraints(); /** - * - * *
    * Represents constraints required to purchase the Offer for a customer.
    * 
* * .google.cloud.channel.v1.CustomerConstraints customer_constraints = 1; - * * @return The customerConstraints. */ com.google.cloud.channel.v1.CustomerConstraints getCustomerConstraints(); /** - * - * *
    * Represents constraints required to purchase the Offer for a customer.
    * 
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfo.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfo.java similarity index 72% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfo.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfo.java index 096d230b6496..0b3aa1b197e1 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfo.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfo.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/cloud/channel/v1/customers.proto package com.google.cloud.channel.v1; /** - * - * *
  * Contact information for a customer account.
  * 
* * Protobuf type {@code google.cloud.channel.v1.ContactInfo} */ -public final class ContactInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ContactInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ContactInfo) ContactInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ContactInfo.newBuilder() to construct. private ContactInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ContactInfo() { firstName_ = ""; lastName_ = ""; @@ -48,41 +30,37 @@ private ContactInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ContactInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.CustomersProto - .internal_static_google_cloud_channel_v1_ContactInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.CustomersProto.internal_static_google_cloud_channel_v1_ContactInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.CustomersProto - .internal_static_google_cloud_channel_v1_ContactInfo_fieldAccessorTable + return com.google.cloud.channel.v1.CustomersProto.internal_static_google_cloud_channel_v1_ContactInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ContactInfo.class, - com.google.cloud.channel.v1.ContactInfo.Builder.class); + com.google.cloud.channel.v1.ContactInfo.class, com.google.cloud.channel.v1.ContactInfo.Builder.class); } public static final int FIRST_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object firstName_; /** - * - * *
    * The customer account contact's first name. Optional for Team customers.
    * 
* * string first_name = 1; - * * @return The firstName. */ @java.lang.Override @@ -91,29 +69,29 @@ public java.lang.String getFirstName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firstName_ = s; return s; } } /** - * - * *
    * The customer account contact's first name. Optional for Team customers.
    * 
* * string first_name = 1; - * * @return The bytes for firstName. */ @java.lang.Override - public com.google.protobuf.ByteString getFirstNameBytes() { + public com.google.protobuf.ByteString + getFirstNameBytes() { java.lang.Object ref = firstName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); firstName_ = b; return b; } else { @@ -124,14 +102,11 @@ public com.google.protobuf.ByteString getFirstNameBytes() { public static final int LAST_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object lastName_; /** - * - * *
    * The customer account contact's last name. Optional for Team customers.
    * 
* * string last_name = 2; - * * @return The lastName. */ @java.lang.Override @@ -140,29 +115,29 @@ public java.lang.String getLastName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lastName_ = s; return s; } } /** - * - * *
    * The customer account contact's last name. Optional for Team customers.
    * 
* * string last_name = 2; - * * @return The bytes for lastName. */ @java.lang.Override - public com.google.protobuf.ByteString getLastNameBytes() { + public com.google.protobuf.ByteString + getLastNameBytes() { java.lang.Object ref = lastName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); lastName_ = b; return b; } else { @@ -173,15 +148,12 @@ public com.google.protobuf.ByteString getLastNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 4; private volatile java.lang.Object displayName_; /** - * - * *
    * Output only. The customer account contact's display name, formatted as a
    * combination of the customer's first and last name.
    * 
* * string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The displayName. */ @java.lang.Override @@ -190,30 +162,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; } } /** - * - * *
    * Output only. The customer account contact's display name, formatted as a
    * combination of the customer's first and last name.
    * 
* * string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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 { @@ -224,8 +196,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int EMAIL_FIELD_NUMBER = 5; private volatile java.lang.Object email_; /** - * - * *
    * The customer account's contact email. Required for entitlements that create
    * admin.google.com accounts, and serves as the customer's username for those
@@ -233,7 +203,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string email = 5; - * * @return The email. */ @java.lang.Override @@ -242,15 +211,14 @@ public java.lang.String getEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); email_ = s; return s; } } /** - * - * *
    * The customer account's contact email. Required for entitlements that create
    * admin.google.com accounts, and serves as the customer's username for those
@@ -258,15 +226,16 @@ public java.lang.String getEmail() {
    * 
* * string email = 5; - * * @return The bytes for email. */ @java.lang.Override - public com.google.protobuf.ByteString getEmailBytes() { + public com.google.protobuf.ByteString + getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); email_ = b; return b; } else { @@ -277,14 +246,11 @@ public com.google.protobuf.ByteString getEmailBytes() { public static final int TITLE_FIELD_NUMBER = 6; private volatile java.lang.Object title_; /** - * - * *
    * Optional. The customer account contact's job title.
    * 
* * string title = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The title. */ @java.lang.Override @@ -293,29 +259,29 @@ public java.lang.String getTitle() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; } } /** - * - * *
    * Optional. The customer account contact's job title.
    * 
* * string title = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for title. */ @java.lang.Override - public com.google.protobuf.ByteString getTitleBytes() { + public com.google.protobuf.ByteString + getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); title_ = b; return b; } else { @@ -326,14 +292,11 @@ public com.google.protobuf.ByteString getTitleBytes() { public static final int PHONE_FIELD_NUMBER = 7; private volatile java.lang.Object phone_; /** - * - * *
    * The customer account's contact phone number.
    * 
* * string phone = 7; - * * @return The phone. */ @java.lang.Override @@ -342,29 +305,29 @@ public java.lang.String getPhone() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); phone_ = s; return s; } } /** - * - * *
    * The customer account's contact phone number.
    * 
* * string phone = 7; - * * @return The bytes for phone. */ @java.lang.Override - public com.google.protobuf.ByteString getPhoneBytes() { + public com.google.protobuf.ByteString + getPhoneBytes() { java.lang.Object ref = phone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); phone_ = b; return b; } else { @@ -373,7 +336,6 @@ public com.google.protobuf.ByteString getPhoneBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -385,7 +347,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firstName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, firstName_); } @@ -439,19 +402,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.cloud.channel.v1.ContactInfo)) { return super.equals(obj); } com.google.cloud.channel.v1.ContactInfo other = (com.google.cloud.channel.v1.ContactInfo) obj; - if (!getFirstName().equals(other.getFirstName())) return false; - if (!getLastName().equals(other.getLastName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getEmail().equals(other.getEmail())) return false; - if (!getTitle().equals(other.getTitle())) return false; - if (!getPhone().equals(other.getPhone())) return false; + if (!getFirstName() + .equals(other.getFirstName())) return false; + if (!getLastName() + .equals(other.getLastName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getEmail() + .equals(other.getEmail())) return false; + if (!getTitle() + .equals(other.getTitle())) return false; + if (!getPhone() + .equals(other.getPhone())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -480,136 +449,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ContactInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.ContactInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ContactInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ContactInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ContactInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ContactInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ContactInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ContactInfo 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.cloud.channel.v1.ContactInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ContactInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ContactInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ContactInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ContactInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ContactInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ContactInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Contact information for a customer account.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ContactInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ContactInfo) com.google.cloud.channel.v1.ContactInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.CustomersProto - .internal_static_google_cloud_channel_v1_ContactInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.CustomersProto.internal_static_google_cloud_channel_v1_ContactInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.CustomersProto - .internal_static_google_cloud_channel_v1_ContactInfo_fieldAccessorTable + return com.google.cloud.channel.v1.CustomersProto.internal_static_google_cloud_channel_v1_ContactInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ContactInfo.class, - com.google.cloud.channel.v1.ContactInfo.Builder.class); + com.google.cloud.channel.v1.ContactInfo.class, com.google.cloud.channel.v1.ContactInfo.Builder.class); } // Construct using com.google.cloud.channel.v1.ContactInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -629,9 +592,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.CustomersProto - .internal_static_google_cloud_channel_v1_ContactInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.CustomersProto.internal_static_google_cloud_channel_v1_ContactInfo_descriptor; } @java.lang.Override @@ -650,8 +613,7 @@ public com.google.cloud.channel.v1.ContactInfo build() { @java.lang.Override public com.google.cloud.channel.v1.ContactInfo buildPartial() { - com.google.cloud.channel.v1.ContactInfo result = - new com.google.cloud.channel.v1.ContactInfo(this); + com.google.cloud.channel.v1.ContactInfo result = new com.google.cloud.channel.v1.ContactInfo(this); result.firstName_ = firstName_; result.lastName_ = lastName_; result.displayName_ = displayName_; @@ -666,39 +628,38 @@ public com.google.cloud.channel.v1.ContactInfo 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.cloud.channel.v1.ContactInfo) { - return mergeFrom((com.google.cloud.channel.v1.ContactInfo) other); + return mergeFrom((com.google.cloud.channel.v1.ContactInfo)other); } else { super.mergeFrom(other); return this; @@ -757,49 +718,42 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - firstName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - lastName_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 34: - { - displayName_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: - { - email_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 50: - { - title_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 58: - { - phone_ = input.readStringRequireUtf8(); - - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + firstName_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + lastName_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 34: { + displayName_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: { + email_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 50: { + title_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 58: { + phone_ = input.readStringRequireUtf8(); + + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -812,20 +766,18 @@ public Builder mergeFrom( private java.lang.Object firstName_ = ""; /** - * - * *
      * The customer account contact's first name. Optional for Team customers.
      * 
* * string first_name = 1; - * * @return The firstName. */ public java.lang.String getFirstName() { java.lang.Object ref = firstName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firstName_ = s; return s; @@ -834,21 +786,20 @@ public java.lang.String getFirstName() { } } /** - * - * *
      * The customer account contact's first name. Optional for Team customers.
      * 
* * string first_name = 1; - * * @return The bytes for firstName. */ - public com.google.protobuf.ByteString getFirstNameBytes() { + public com.google.protobuf.ByteString + getFirstNameBytes() { java.lang.Object ref = firstName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); firstName_ = b; return b; } else { @@ -856,61 +807,54 @@ public com.google.protobuf.ByteString getFirstNameBytes() { } } /** - * - * *
      * The customer account contact's first name. Optional for Team customers.
      * 
* * string first_name = 1; - * * @param value The firstName to set. * @return This builder for chaining. */ - public Builder setFirstName(java.lang.String value) { + public Builder setFirstName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + firstName_ = value; onChanged(); return this; } /** - * - * *
      * The customer account contact's first name. Optional for Team customers.
      * 
* * string first_name = 1; - * * @return This builder for chaining. */ public Builder clearFirstName() { - + firstName_ = getDefaultInstance().getFirstName(); onChanged(); return this; } /** - * - * *
      * The customer account contact's first name. Optional for Team customers.
      * 
* * string first_name = 1; - * * @param value The bytes for firstName to set. * @return This builder for chaining. */ - public Builder setFirstNameBytes(com.google.protobuf.ByteString value) { + public Builder setFirstNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + firstName_ = value; onChanged(); return this; @@ -918,20 +862,18 @@ public Builder setFirstNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object lastName_ = ""; /** - * - * *
      * The customer account contact's last name. Optional for Team customers.
      * 
* * string last_name = 2; - * * @return The lastName. */ public java.lang.String getLastName() { java.lang.Object ref = lastName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lastName_ = s; return s; @@ -940,21 +882,20 @@ public java.lang.String getLastName() { } } /** - * - * *
      * The customer account contact's last name. Optional for Team customers.
      * 
* * string last_name = 2; - * * @return The bytes for lastName. */ - public com.google.protobuf.ByteString getLastNameBytes() { + public com.google.protobuf.ByteString + getLastNameBytes() { java.lang.Object ref = lastName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); lastName_ = b; return b; } else { @@ -962,61 +903,54 @@ public com.google.protobuf.ByteString getLastNameBytes() { } } /** - * - * *
      * The customer account contact's last name. Optional for Team customers.
      * 
* * string last_name = 2; - * * @param value The lastName to set. * @return This builder for chaining. */ - public Builder setLastName(java.lang.String value) { + public Builder setLastName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + lastName_ = value; onChanged(); return this; } /** - * - * *
      * The customer account contact's last name. Optional for Team customers.
      * 
* * string last_name = 2; - * * @return This builder for chaining. */ public Builder clearLastName() { - + lastName_ = getDefaultInstance().getLastName(); onChanged(); return this; } /** - * - * *
      * The customer account contact's last name. Optional for Team customers.
      * 
* * string last_name = 2; - * * @param value The bytes for lastName to set. * @return This builder for chaining. */ - public Builder setLastNameBytes(com.google.protobuf.ByteString value) { + public Builder setLastNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + lastName_ = value; onChanged(); return this; @@ -1024,21 +958,19 @@ public Builder setLastNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Output only. The customer account contact's display name, formatted as a
      * combination of the customer's first and last name.
      * 
* * string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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; @@ -1047,22 +979,21 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Output only. The customer account contact's display name, formatted as a
      * combination of the customer's first and last name.
      * 
* * string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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 { @@ -1070,64 +1001,57 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Output only. The customer account contact's display name, formatted as a
      * combination of the customer's first and last name.
      * 
* * string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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; } /** - * - * *
      * Output only. The customer account contact's display name, formatted as a
      * combination of the customer's first and last name.
      * 
* * string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Output only. The customer account contact's display name, formatted as a
      * combination of the customer's first and last name.
      * 
* * string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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; @@ -1135,8 +1059,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object email_ = ""; /** - * - * *
      * The customer account's contact email. Required for entitlements that create
      * admin.google.com accounts, and serves as the customer's username for those
@@ -1144,13 +1066,13 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string email = 5; - * * @return The email. */ public java.lang.String getEmail() { java.lang.Object ref = email_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); email_ = s; return s; @@ -1159,8 +1081,6 @@ public java.lang.String getEmail() { } } /** - * - * *
      * The customer account's contact email. Required for entitlements that create
      * admin.google.com accounts, and serves as the customer's username for those
@@ -1168,14 +1088,15 @@ public java.lang.String getEmail() {
      * 
* * string email = 5; - * * @return The bytes for email. */ - public com.google.protobuf.ByteString getEmailBytes() { + public com.google.protobuf.ByteString + getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); email_ = b; return b; } else { @@ -1183,8 +1104,6 @@ public com.google.protobuf.ByteString getEmailBytes() { } } /** - * - * *
      * The customer account's contact email. Required for entitlements that create
      * admin.google.com accounts, and serves as the customer's username for those
@@ -1192,22 +1111,20 @@ public com.google.protobuf.ByteString getEmailBytes() {
      * 
* * string email = 5; - * * @param value The email to set. * @return This builder for chaining. */ - public Builder setEmail(java.lang.String value) { + public Builder setEmail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + email_ = value; onChanged(); return this; } /** - * - * *
      * The customer account's contact email. Required for entitlements that create
      * admin.google.com accounts, and serves as the customer's username for those
@@ -1215,18 +1132,15 @@ public Builder setEmail(java.lang.String value) {
      * 
* * string email = 5; - * * @return This builder for chaining. */ public Builder clearEmail() { - + email_ = getDefaultInstance().getEmail(); onChanged(); return this; } /** - * - * *
      * The customer account's contact email. Required for entitlements that create
      * admin.google.com accounts, and serves as the customer's username for those
@@ -1234,16 +1148,16 @@ public Builder clearEmail() {
      * 
* * string email = 5; - * * @param value The bytes for email to set. * @return This builder for chaining. */ - public Builder setEmailBytes(com.google.protobuf.ByteString value) { + public Builder setEmailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + email_ = value; onChanged(); return this; @@ -1251,20 +1165,18 @@ public Builder setEmailBytes(com.google.protobuf.ByteString value) { private java.lang.Object title_ = ""; /** - * - * *
      * Optional. The customer account contact's job title.
      * 
* * string title = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The title. */ public java.lang.String getTitle() { java.lang.Object ref = title_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; @@ -1273,21 +1185,20 @@ public java.lang.String getTitle() { } } /** - * - * *
      * Optional. The customer account contact's job title.
      * 
* * string title = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for title. */ - public com.google.protobuf.ByteString getTitleBytes() { + public com.google.protobuf.ByteString + getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); title_ = b; return b; } else { @@ -1295,61 +1206,54 @@ public com.google.protobuf.ByteString getTitleBytes() { } } /** - * - * *
      * Optional. The customer account contact's job title.
      * 
* * string title = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The title to set. * @return This builder for chaining. */ - public Builder setTitle(java.lang.String value) { + public Builder setTitle( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + title_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The customer account contact's job title.
      * 
* * string title = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearTitle() { - + title_ = getDefaultInstance().getTitle(); onChanged(); return this; } /** - * - * *
      * Optional. The customer account contact's job title.
      * 
* * string title = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for title to set. * @return This builder for chaining. */ - public Builder setTitleBytes(com.google.protobuf.ByteString value) { + public Builder setTitleBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + title_ = value; onChanged(); return this; @@ -1357,20 +1261,18 @@ public Builder setTitleBytes(com.google.protobuf.ByteString value) { private java.lang.Object phone_ = ""; /** - * - * *
      * The customer account's contact phone number.
      * 
* * string phone = 7; - * * @return The phone. */ public java.lang.String getPhone() { java.lang.Object ref = phone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); phone_ = s; return s; @@ -1379,21 +1281,20 @@ public java.lang.String getPhone() { } } /** - * - * *
      * The customer account's contact phone number.
      * 
* * string phone = 7; - * * @return The bytes for phone. */ - public com.google.protobuf.ByteString getPhoneBytes() { + public com.google.protobuf.ByteString + getPhoneBytes() { java.lang.Object ref = phone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); phone_ = b; return b; } else { @@ -1401,68 +1302,61 @@ public com.google.protobuf.ByteString getPhoneBytes() { } } /** - * - * *
      * The customer account's contact phone number.
      * 
* * string phone = 7; - * * @param value The phone to set. * @return This builder for chaining. */ - public Builder setPhone(java.lang.String value) { + public Builder setPhone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + phone_ = value; onChanged(); return this; } /** - * - * *
      * The customer account's contact phone number.
      * 
* * string phone = 7; - * * @return This builder for chaining. */ public Builder clearPhone() { - + phone_ = getDefaultInstance().getPhone(); onChanged(); return this; } /** - * - * *
      * The customer account's contact phone number.
      * 
* * string phone = 7; - * * @param value The bytes for phone to set. * @return This builder for chaining. */ - public Builder setPhoneBytes(com.google.protobuf.ByteString value) { + public Builder setPhoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + phone_ = 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); } @@ -1472,12 +1366,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ContactInfo) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ContactInfo) private static final com.google.cloud.channel.v1.ContactInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ContactInfo(); } @@ -1486,27 +1380,27 @@ public static com.google.cloud.channel.v1.ContactInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContactInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContactInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1521,4 +1415,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ContactInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfoOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfoOrBuilder.java similarity index 73% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfoOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfoOrBuilder.java index 37e369400b62..4d6d1732646e 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfoOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfoOrBuilder.java @@ -1,108 +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/cloud/channel/v1/customers.proto package com.google.cloud.channel.v1; -public interface ContactInfoOrBuilder - extends +public interface ContactInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ContactInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The customer account contact's first name. Optional for Team customers.
    * 
* * string first_name = 1; - * * @return The firstName. */ java.lang.String getFirstName(); /** - * - * *
    * The customer account contact's first name. Optional for Team customers.
    * 
* * string first_name = 1; - * * @return The bytes for firstName. */ - com.google.protobuf.ByteString getFirstNameBytes(); + com.google.protobuf.ByteString + getFirstNameBytes(); /** - * - * *
    * The customer account contact's last name. Optional for Team customers.
    * 
* * string last_name = 2; - * * @return The lastName. */ java.lang.String getLastName(); /** - * - * *
    * The customer account contact's last name. Optional for Team customers.
    * 
* * string last_name = 2; - * * @return The bytes for lastName. */ - com.google.protobuf.ByteString getLastNameBytes(); + com.google.protobuf.ByteString + getLastNameBytes(); /** - * - * *
    * Output only. The customer account contact's display name, formatted as a
    * combination of the customer's first and last name.
    * 
* * string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Output only. The customer account contact's display name, formatted as a
    * combination of the customer's first and last name.
    * 
* * string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * The customer account's contact email. Required for entitlements that create
    * admin.google.com accounts, and serves as the customer's username for those
@@ -110,13 +77,10 @@ public interface ContactInfoOrBuilder
    * 
* * string email = 5; - * * @return The email. */ java.lang.String getEmail(); /** - * - * *
    * The customer account's contact email. Required for entitlements that create
    * admin.google.com accounts, and serves as the customer's username for those
@@ -124,58 +88,48 @@ public interface ContactInfoOrBuilder
    * 
* * string email = 5; - * * @return The bytes for email. */ - com.google.protobuf.ByteString getEmailBytes(); + com.google.protobuf.ByteString + getEmailBytes(); /** - * - * *
    * Optional. The customer account contact's job title.
    * 
* * string title = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The title. */ java.lang.String getTitle(); /** - * - * *
    * Optional. The customer account contact's job title.
    * 
* * string title = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for title. */ - com.google.protobuf.ByteString getTitleBytes(); + com.google.protobuf.ByteString + getTitleBytes(); /** - * - * *
    * The customer account's contact phone number.
    * 
* * string phone = 7; - * * @return The phone. */ java.lang.String getPhone(); /** - * - * *
    * The customer account's contact phone number.
    * 
* * string phone = 7; - * * @return The bytes for phone. */ - com.google.protobuf.ByteString getPhoneBytes(); + com.google.protobuf.ByteString + getPhoneBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest.java similarity index 64% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest.java index 434b45aa8b73..f02f55150347 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest.java @@ -1,78 +1,57 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Request message for [CloudChannelService.CreateChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerLink]
+ * Request message for
+ * [CloudChannelService.CreateChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerLink]
  * 
* * Protobuf type {@code google.cloud.channel.v1.CreateChannelPartnerLinkRequest} */ -public final class CreateChannelPartnerLinkRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateChannelPartnerLinkRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.CreateChannelPartnerLinkRequest) CreateChannelPartnerLinkRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateChannelPartnerLinkRequest.newBuilder() to construct. - private CreateChannelPartnerLinkRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateChannelPartnerLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateChannelPartnerLinkRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateChannelPartnerLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest.class, - com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest.Builder.class); + com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest.class, com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Create a channel partner link for the provided reseller account's
    * resource name.
@@ -80,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -89,15 +67,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. Create a channel partner link for the provided reseller account's
    * resource name.
@@ -105,15 +82,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -124,18 +102,13 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int CHANNEL_PARTNER_LINK_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.ChannelPartnerLink channelPartnerLink_; /** - * - * *
    * Required. The channel partner link to create.
    * Either channel_partner_link.reseller_cloud_identity_id or domain can be
    * used to create a link.
    * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the channelPartnerLink field is set. */ @java.lang.Override @@ -143,38 +116,27 @@ public boolean hasChannelPartnerLink() { return channelPartnerLink_ != null; } /** - * - * *
    * Required. The channel partner link to create.
    * Either channel_partner_link.reseller_cloud_identity_id or domain can be
    * used to create a link.
    * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The channelPartnerLink. */ @java.lang.Override public com.google.cloud.channel.v1.ChannelPartnerLink getChannelPartnerLink() { - return channelPartnerLink_ == null - ? com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance() - : channelPartnerLink_; + return channelPartnerLink_ == null ? com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance() : channelPartnerLink_; } /** - * - * *
    * Required. The channel partner link to create.
    * Either channel_partner_link.reseller_cloud_identity_id or domain can be
    * used to create a link.
    * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartnerLinkOrBuilder() { @@ -182,7 +144,6 @@ public com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartner } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -194,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -214,7 +176,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (channelPartnerLink_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getChannelPartnerLink()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getChannelPartnerLink()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -224,18 +187,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest other = - (com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest) obj; + com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest other = (com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasChannelPartnerLink() != other.hasChannelPartnerLink()) return false; if (hasChannelPartnerLink()) { - if (!getChannelPartnerLink().equals(other.getChannelPartnerLink())) return false; + if (!getChannelPartnerLink() + .equals(other.getChannelPartnerLink())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -260,136 +224,130 @@ public int hashCode() { } public static com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Request message for [CloudChannelService.CreateChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerLink]
+   * Request message for
+   * [CloudChannelService.CreateChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerLink]
    * 
* * Protobuf type {@code google.cloud.channel.v1.CreateChannelPartnerLinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.CreateChannelPartnerLinkRequest) com.google.cloud.channel.v1.CreateChannelPartnerLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest.class, - com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest.Builder.class); + com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest.class, com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -405,9 +363,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_descriptor; } @java.lang.Override @@ -426,8 +384,7 @@ public com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest build() { @java.lang.Override public com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest buildPartial() { - com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest result = - new com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest(this); + com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest result = new com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest(this); result.parent_ = parent_; if (channelPartnerLinkBuilder_ == null) { result.channelPartnerLink_ = channelPartnerLink_; @@ -442,39 +399,38 @@ public com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest 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.cloud.channel.v1.CreateChannelPartnerLinkRequest) { - return mergeFrom((com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest) other); + return mergeFrom((com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest)other); } else { super.mergeFrom(other); return this; @@ -482,8 +438,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest other) { - if (other == com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -517,26 +472,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage( - getChannelPartnerLinkFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getChannelPartnerLinkFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -549,8 +502,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Create a channel partner link for the provided reseller account's
      * resource name.
@@ -558,13 +509,13 @@ public Builder mergeFrom(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -573,8 +524,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Create a channel partner link for the provided reseller account's
      * resource name.
@@ -582,14 +531,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -597,8 +547,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Create a channel partner link for the provided reseller account's
      * resource name.
@@ -606,22 +554,20 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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. Create a channel partner link for the provided reseller account's
      * resource name.
@@ -629,18 +575,15 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Create a channel partner link for the provided reseller account's
      * resource name.
@@ -648,16 +591,16 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -665,64 +608,45 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.channel.v1.ChannelPartnerLink channelPartnerLink_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ChannelPartnerLink, - com.google.cloud.channel.v1.ChannelPartnerLink.Builder, - com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder> - channelPartnerLinkBuilder_; + com.google.cloud.channel.v1.ChannelPartnerLink, com.google.cloud.channel.v1.ChannelPartnerLink.Builder, com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder> channelPartnerLinkBuilder_; /** - * - * *
      * Required. The channel partner link to create.
      * Either channel_partner_link.reseller_cloud_identity_id or domain can be
      * used to create a link.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the channelPartnerLink field is set. */ public boolean hasChannelPartnerLink() { return channelPartnerLinkBuilder_ != null || channelPartnerLink_ != null; } /** - * - * *
      * Required. The channel partner link to create.
      * Either channel_partner_link.reseller_cloud_identity_id or domain can be
      * used to create a link.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The channelPartnerLink. */ public com.google.cloud.channel.v1.ChannelPartnerLink getChannelPartnerLink() { if (channelPartnerLinkBuilder_ == null) { - return channelPartnerLink_ == null - ? com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance() - : channelPartnerLink_; + return channelPartnerLink_ == null ? com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance() : channelPartnerLink_; } else { return channelPartnerLinkBuilder_.getMessage(); } } /** - * - * *
      * Required. The channel partner link to create.
      * Either channel_partner_link.reseller_cloud_identity_id or domain can be
      * used to create a link.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setChannelPartnerLink(com.google.cloud.channel.v1.ChannelPartnerLink value) { if (channelPartnerLinkBuilder_ == null) { @@ -738,17 +662,13 @@ public Builder setChannelPartnerLink(com.google.cloud.channel.v1.ChannelPartnerL return this; } /** - * - * *
      * Required. The channel partner link to create.
      * Either channel_partner_link.reseller_cloud_identity_id or domain can be
      * used to create a link.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setChannelPartnerLink( com.google.cloud.channel.v1.ChannelPartnerLink.Builder builderForValue) { @@ -762,25 +682,19 @@ public Builder setChannelPartnerLink( return this; } /** - * - * *
      * Required. The channel partner link to create.
      * Either channel_partner_link.reseller_cloud_identity_id or domain can be
      * used to create a link.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeChannelPartnerLink(com.google.cloud.channel.v1.ChannelPartnerLink value) { if (channelPartnerLinkBuilder_ == null) { if (channelPartnerLink_ != null) { channelPartnerLink_ = - com.google.cloud.channel.v1.ChannelPartnerLink.newBuilder(channelPartnerLink_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.ChannelPartnerLink.newBuilder(channelPartnerLink_).mergeFrom(value).buildPartial(); } else { channelPartnerLink_ = value; } @@ -792,17 +706,13 @@ public Builder mergeChannelPartnerLink(com.google.cloud.channel.v1.ChannelPartne return this; } /** - * - * *
      * Required. The channel partner link to create.
      * Either channel_partner_link.reseller_cloud_identity_id or domain can be
      * used to create a link.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearChannelPartnerLink() { if (channelPartnerLinkBuilder_ == null) { @@ -816,78 +726,61 @@ public Builder clearChannelPartnerLink() { return this; } /** - * - * *
      * Required. The channel partner link to create.
      * Either channel_partner_link.reseller_cloud_identity_id or domain can be
      * used to create a link.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.channel.v1.ChannelPartnerLink.Builder getChannelPartnerLinkBuilder() { - + onChanged(); return getChannelPartnerLinkFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The channel partner link to create.
      * Either channel_partner_link.reseller_cloud_identity_id or domain can be
      * used to create a link.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder - getChannelPartnerLinkOrBuilder() { + public com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartnerLinkOrBuilder() { if (channelPartnerLinkBuilder_ != null) { return channelPartnerLinkBuilder_.getMessageOrBuilder(); } else { - return channelPartnerLink_ == null - ? com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance() - : channelPartnerLink_; + return channelPartnerLink_ == null ? + com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance() : channelPartnerLink_; } } /** - * - * *
      * Required. The channel partner link to create.
      * Either channel_partner_link.reseller_cloud_identity_id or domain can be
      * used to create a link.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ChannelPartnerLink, - com.google.cloud.channel.v1.ChannelPartnerLink.Builder, - com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder> + com.google.cloud.channel.v1.ChannelPartnerLink, com.google.cloud.channel.v1.ChannelPartnerLink.Builder, com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder> getChannelPartnerLinkFieldBuilder() { if (channelPartnerLinkBuilder_ == null) { - channelPartnerLinkBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ChannelPartnerLink, - com.google.cloud.channel.v1.ChannelPartnerLink.Builder, - com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder>( - getChannelPartnerLink(), getParentForChildren(), isClean()); + channelPartnerLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.ChannelPartnerLink, com.google.cloud.channel.v1.ChannelPartnerLink.Builder, com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder>( + getChannelPartnerLink(), + getParentForChildren(), + isClean()); channelPartnerLink_ = null; } return channelPartnerLinkBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -897,12 +790,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.CreateChannelPartnerLinkRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.CreateChannelPartnerLinkRequest) private static final com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest(); } @@ -911,27 +804,27 @@ public static com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateChannelPartnerLinkRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateChannelPartnerLinkRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -946,4 +839,6 @@ public com.google.protobuf.Parser getParserForT public com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequestOrBuilder.java similarity index 60% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequestOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequestOrBuilder.java index a41b0d463cdf..6772bdae5651 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequestOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequestOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface CreateChannelPartnerLinkRequestOrBuilder - extends +public interface CreateChannelPartnerLinkRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CreateChannelPartnerLinkRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Create a channel partner link for the provided reseller account's
    * resource name.
@@ -33,13 +15,10 @@ public interface CreateChannelPartnerLinkRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Create a channel partner link for the provided reseller account's
    * resource name.
@@ -47,55 +26,41 @@ public interface CreateChannelPartnerLinkRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The channel partner link to create.
    * Either channel_partner_link.reseller_cloud_identity_id or domain can be
    * used to create a link.
    * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the channelPartnerLink field is set. */ boolean hasChannelPartnerLink(); /** - * - * *
    * Required. The channel partner link to create.
    * Either channel_partner_link.reseller_cloud_identity_id or domain can be
    * used to create a link.
    * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The channelPartnerLink. */ com.google.cloud.channel.v1.ChannelPartnerLink getChannelPartnerLink(); /** - * - * *
    * Required. The channel partner link to create.
    * Either channel_partner_link.reseller_cloud_identity_id or domain can be
    * used to create a link.
    * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartnerLinkOrBuilder(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequest.java similarity index 56% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequest.java index 69a6fcc249dc..97f9b51b5659 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
  * Request message for
  * [CloudChannelService.CreateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerRepricingConfig].
@@ -28,63 +11,54 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest}
  */
-public final class CreateChannelPartnerRepricingConfigRequest
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateChannelPartnerRepricingConfigRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest)
     CreateChannelPartnerRepricingConfigRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateChannelPartnerRepricingConfigRequest.newBuilder() to construct.
-  private CreateChannelPartnerRepricingConfigRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private CreateChannelPartnerRepricingConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateChannelPartnerRepricingConfigRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateChannelPartnerRepricingConfigRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto
-        .internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto
-        .internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest.class,
-            com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest.Builder.class);
+            com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest.class, com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
-   *
-   *
    * 
-   * Required. The resource name of the ChannelPartner that will receive the repricing
-   * config. Parent uses the format:
+   * Required. The resource name of the ChannelPartner that will receive the
+   * repricing config. Parent uses the format:
    * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -93,33 +67,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
-   * Required. The resource name of the ChannelPartner that will receive the repricing
-   * config. Parent uses the format:
+   * Required. The resource name of the ChannelPartner that will receive the
+   * repricing config. Parent uses the format:
    * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -130,16 +102,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int CHANNEL_PARTNER_REPRICING_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.ChannelPartnerRepricingConfig channelPartnerRepricingConfig_; /** - * - * *
    * Required. The ChannelPartnerRepricingConfig object to update.
    * 
* - * - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the channelPartnerRepricingConfig field is set. */ @java.lang.Override @@ -147,44 +114,30 @@ public boolean hasChannelPartnerRepricingConfig() { return channelPartnerRepricingConfig_ != null; } /** - * - * *
    * Required. The ChannelPartnerRepricingConfig object to update.
    * 
* - * - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The channelPartnerRepricingConfig. */ @java.lang.Override - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig - getChannelPartnerRepricingConfig() { - return channelPartnerRepricingConfig_ == null - ? com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance() - : channelPartnerRepricingConfig_; + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getChannelPartnerRepricingConfig() { + return channelPartnerRepricingConfig_ == null ? com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance() : channelPartnerRepricingConfig_; } /** - * - * *
    * Required. The ChannelPartnerRepricingConfig object to update.
    * 
* - * - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder - getChannelPartnerRepricingConfigOrBuilder() { + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder getChannelPartnerRepricingConfigOrBuilder() { return getChannelPartnerRepricingConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -196,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -216,9 +170,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (channelPartnerRepricingConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, getChannelPartnerRepricingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getChannelPartnerRepricingConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -228,20 +181,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.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest other = - (com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest) obj; + com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest other = (com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (hasChannelPartnerRepricingConfig() != other.hasChannelPartnerRepricingConfig()) - return false; + if (!getParent() + .equals(other.getParent())) return false; + if (hasChannelPartnerRepricingConfig() != other.hasChannelPartnerRepricingConfig()) return false; if (hasChannelPartnerRepricingConfig()) { - if (!getChannelPartnerRepricingConfig().equals(other.getChannelPartnerRepricingConfig())) - return false; + if (!getChannelPartnerRepricingConfig() + .equals(other.getChannelPartnerRepricingConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -266,105 +218,96 @@ public int hashCode() { } public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [CloudChannelService.CreateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerRepricingConfig].
@@ -372,33 +315,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest)
       com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto
-          .internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto
-          .internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest.class,
-              com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest.Builder.class);
+              com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest.class, com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest.newBuilder()
-    private Builder() {}
+    // Construct using com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -414,22 +357,19 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto
-          .internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest
-        getDefaultInstanceForType() {
-      return com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest
-          .getDefaultInstance();
+    public com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest getDefaultInstanceForType() {
+      return com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest.getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest build() {
-      com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest result =
-          buildPartial();
+      com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest result = buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -438,8 +378,7 @@ public com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest bu
 
     @java.lang.Override
     public com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest buildPartial() {
-      com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest result =
-          new com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest(this);
+      com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest result = new com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest(this);
       result.parent_ = parent_;
       if (channelPartnerRepricingConfigBuilder_ == null) {
         result.channelPartnerRepricingConfig_ = channelPartnerRepricingConfig_;
@@ -454,51 +393,46 @@ public com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest 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.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest) {
-        return mergeFrom(
-            (com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest) other);
+        return mergeFrom((com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest other) {
-      if (other
-          == com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest other) {
+      if (other == com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -532,26 +466,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(
-                    getChannelPartnerRepricingConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getChannelPartnerRepricingConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -564,24 +496,20 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
-     * Required. The resource name of the ChannelPartner that will receive the repricing
-     * config. Parent uses the format:
+     * Required. The resource name of the ChannelPartner that will receive the
+     * repricing config. Parent uses the format:
      * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}
      * 
* - * - * string parent = 1 [(.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; @@ -590,25 +518,22 @@ public java.lang.String getParent() { } } /** - * - * *
-     * Required. The resource name of the ChannelPartner that will receive the repricing
-     * config. Parent uses the format:
+     * Required. The resource name of the ChannelPartner that will receive the
+     * repricing config. Parent uses the format:
      * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -616,138 +541,102 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
-     * Required. The resource name of the ChannelPartner that will receive the repricing
-     * config. Parent uses the format:
+     * Required. The resource name of the ChannelPartner that will receive the
+     * repricing config. Parent uses the format:
      * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}
      * 
* - * - * string parent = 1 [(.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 ChannelPartner that will receive the repricing
-     * config. Parent uses the format:
+     * Required. The resource name of the ChannelPartner that will receive the
+     * repricing config. Parent uses the format:
      * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}
      * 
* - * - * string 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 ChannelPartner that will receive the repricing
-     * config. Parent uses the format:
+     * Required. The resource name of the ChannelPartner that will receive the
+     * repricing config. Parent uses the format:
      * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}
      * 
* - * - * string parent = 1 [(.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.cloud.channel.v1.ChannelPartnerRepricingConfig - channelPartnerRepricingConfig_; + private com.google.cloud.channel.v1.ChannelPartnerRepricingConfig channelPartnerRepricingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig, - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder, - com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder> - channelPartnerRepricingConfigBuilder_; + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig, com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder, com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder> channelPartnerRepricingConfigBuilder_; /** - * - * *
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the channelPartnerRepricingConfig field is set. */ public boolean hasChannelPartnerRepricingConfig() { - return channelPartnerRepricingConfigBuilder_ != null - || channelPartnerRepricingConfig_ != null; + return channelPartnerRepricingConfigBuilder_ != null || channelPartnerRepricingConfig_ != null; } /** - * - * *
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The channelPartnerRepricingConfig. */ - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig - getChannelPartnerRepricingConfig() { + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getChannelPartnerRepricingConfig() { if (channelPartnerRepricingConfigBuilder_ == null) { - return channelPartnerRepricingConfig_ == null - ? com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance() - : channelPartnerRepricingConfig_; + return channelPartnerRepricingConfig_ == null ? com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance() : channelPartnerRepricingConfig_; } else { return channelPartnerRepricingConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setChannelPartnerRepricingConfig( - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig value) { + public Builder setChannelPartnerRepricingConfig(com.google.cloud.channel.v1.ChannelPartnerRepricingConfig value) { if (channelPartnerRepricingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -761,15 +650,11 @@ public Builder setChannelPartnerRepricingConfig( return this; } /** - * - * *
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setChannelPartnerRepricingConfig( com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder builderForValue) { @@ -783,25 +668,17 @@ public Builder setChannelPartnerRepricingConfig( return this; } /** - * - * *
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeChannelPartnerRepricingConfig( - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig value) { + public Builder mergeChannelPartnerRepricingConfig(com.google.cloud.channel.v1.ChannelPartnerRepricingConfig value) { if (channelPartnerRepricingConfigBuilder_ == null) { if (channelPartnerRepricingConfig_ != null) { channelPartnerRepricingConfig_ = - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.newBuilder( - channelPartnerRepricingConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.newBuilder(channelPartnerRepricingConfig_).mergeFrom(value).buildPartial(); } else { channelPartnerRepricingConfig_ = value; } @@ -813,15 +690,11 @@ public Builder mergeChannelPartnerRepricingConfig( return this; } /** - * - * *
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearChannelPartnerRepricingConfig() { if (channelPartnerRepricingConfigBuilder_ == null) { @@ -835,73 +708,55 @@ public Builder clearChannelPartnerRepricingConfig() { return this; } /** - * - * *
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder - getChannelPartnerRepricingConfigBuilder() { - + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder getChannelPartnerRepricingConfigBuilder() { + onChanged(); return getChannelPartnerRepricingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder - getChannelPartnerRepricingConfigOrBuilder() { + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder getChannelPartnerRepricingConfigOrBuilder() { if (channelPartnerRepricingConfigBuilder_ != null) { return channelPartnerRepricingConfigBuilder_.getMessageOrBuilder(); } else { - return channelPartnerRepricingConfig_ == null - ? com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance() - : channelPartnerRepricingConfig_; + return channelPartnerRepricingConfig_ == null ? + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance() : channelPartnerRepricingConfig_; } } /** - * - * *
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig, - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder, - com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder> + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig, com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder, com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder> getChannelPartnerRepricingConfigFieldBuilder() { if (channelPartnerRepricingConfigBuilder_ == null) { - channelPartnerRepricingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig, - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder, - com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder>( - getChannelPartnerRepricingConfig(), getParentForChildren(), isClean()); + channelPartnerRepricingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig, com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder, com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder>( + getChannelPartnerRepricingConfig(), + getParentForChildren(), + isClean()); channelPartnerRepricingConfig_ = null; } return channelPartnerRepricingConfigBuilder_; } - @java.lang.Override - 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,45 +766,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest) - private static final com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest(); } - public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest - getDefaultInstance() { + public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateChannelPartnerRepricingConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateChannelPartnerRepricingConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -961,8 +812,9 @@ public com.google.protobuf.Parser ge } @java.lang.Override - public com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest - getDefaultInstanceForType() { + public com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequestOrBuilder.java new file mode 100644 index 000000000000..3f7beb736a1a --- /dev/null +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequestOrBuilder.java @@ -0,0 +1,60 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/service.proto + +package com.google.cloud.channel.v1; + +public interface CreateChannelPartnerRepricingConfigRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the ChannelPartner that will receive the
+   * repricing config. Parent uses the format:
+   * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}
+   * 
+ * + * 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 ChannelPartner that will receive the
+   * repricing config. Parent uses the format:
+   * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Required. The ChannelPartnerRepricingConfig object to update.
+   * 
+ * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the channelPartnerRepricingConfig field is set. + */ + boolean hasChannelPartnerRepricingConfig(); + /** + *
+   * Required. The ChannelPartnerRepricingConfig object to update.
+   * 
+ * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The channelPartnerRepricingConfig. + */ + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getChannelPartnerRepricingConfig(); + /** + *
+   * Required. The ChannelPartnerRepricingConfig object to update.
+   * 
+ * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder getChannelPartnerRepricingConfigOrBuilder(); +} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequest.java similarity index 56% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequest.java index ac80a2e213d4..c43a094e6a42 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequest.java @@ -1,88 +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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Request message for [CloudChannelService.CreateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig].
+ * Request message for
+ * [CloudChannelService.CreateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig].
  * 
* * Protobuf type {@code google.cloud.channel.v1.CreateCustomerRepricingConfigRequest} */ -public final class CreateCustomerRepricingConfigRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateCustomerRepricingConfigRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.CreateCustomerRepricingConfigRequest) CreateCustomerRepricingConfigRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateCustomerRepricingConfigRequest.newBuilder() to construct. - private CreateCustomerRepricingConfigRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateCustomerRepricingConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateCustomerRepricingConfigRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateCustomerRepricingConfigRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest.class, - com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest.Builder.class); + com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest.class, com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
-   * Required. The resource name of the customer that will receive this repricing config.
-   * Parent uses the format: accounts/{account_id}/customers/{customer_id}
+   * Required. The resource name of the customer that will receive this
+   * repricing config. Parent uses the format:
+   * accounts/{account_id}/customers/{customer_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,32 +67,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
-   * Required. The resource name of the customer that will receive this repricing config.
-   * Parent uses the format: accounts/{account_id}/customers/{customer_id}
+   * Required. The resource name of the customer that will receive this
+   * repricing config. Parent uses the format:
+   * accounts/{account_id}/customers/{customer_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -127,16 +102,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int CUSTOMER_REPRICING_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.CustomerRepricingConfig customerRepricingConfig_; /** - * - * *
    * Required. The CustomerRepricingConfig object to update.
    * 
* - * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the customerRepricingConfig field is set. */ @java.lang.Override @@ -144,43 +114,30 @@ public boolean hasCustomerRepricingConfig() { return customerRepricingConfig_ != null; } /** - * - * *
    * Required. The CustomerRepricingConfig object to update.
    * 
* - * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The customerRepricingConfig. */ @java.lang.Override public com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingConfig() { - return customerRepricingConfig_ == null - ? com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance() - : customerRepricingConfig_; + return customerRepricingConfig_ == null ? com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance() : customerRepricingConfig_; } /** - * - * *
    * Required. The CustomerRepricingConfig object to update.
    * 
* - * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder - getCustomerRepricingConfigOrBuilder() { + public com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder getCustomerRepricingConfigOrBuilder() { return getCustomerRepricingConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -192,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -212,8 +170,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (customerRepricingConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCustomerRepricingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCustomerRepricingConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -223,18 +181,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.cloud.channel.v1.CreateCustomerRepricingConfigRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest other = - (com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest) obj; + com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest other = (com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasCustomerRepricingConfig() != other.hasCustomerRepricingConfig()) return false; if (hasCustomerRepricingConfig()) { - if (!getCustomerRepricingConfig().equals(other.getCustomerRepricingConfig())) return false; + if (!getCustomerRepricingConfig() + .equals(other.getCustomerRepricingConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -259,136 +218,130 @@ public int hashCode() { } public static com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Request message for [CloudChannelService.CreateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig].
+   * Request message for
+   * [CloudChannelService.CreateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig].
    * 
* * Protobuf type {@code google.cloud.channel.v1.CreateCustomerRepricingConfigRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.CreateCustomerRepricingConfigRequest) com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest.class, - com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest.Builder.class); + com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest.class, com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -404,14 +357,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_descriptor; } @java.lang.Override - public com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest - getDefaultInstanceForType() { + public com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest getDefaultInstanceForType() { return com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest.getDefaultInstance(); } @@ -426,8 +378,7 @@ public com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest build() @java.lang.Override public com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest buildPartial() { - com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest result = - new com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest(this); + com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest result = new com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest(this); result.parent_ = parent_; if (customerRepricingConfigBuilder_ == null) { result.customerRepricingConfig_ = customerRepricingConfig_; @@ -442,50 +393,46 @@ public com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest 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.cloud.channel.v1.CreateCustomerRepricingConfigRequest) { - return mergeFrom((com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest) other); + return mergeFrom((com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest other) { - if (other - == com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest other) { + if (other == com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -519,26 +466,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage( - getCustomerRepricingConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getCustomerRepricingConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -551,23 +496,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
-     * Required. The resource name of the customer that will receive this repricing config.
-     * Parent uses the format: accounts/{account_id}/customers/{customer_id}
+     * Required. The resource name of the customer that will receive this
+     * repricing config. Parent uses the format:
+     * accounts/{account_id}/customers/{customer_id}
      * 
* - * - * string parent = 1 [(.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; @@ -576,24 +518,22 @@ public java.lang.String getParent() { } } /** - * - * *
-     * Required. The resource name of the customer that will receive this repricing config.
-     * Parent uses the format: accounts/{account_id}/customers/{customer_id}
+     * Required. The resource name of the customer that will receive this
+     * repricing config. Parent uses the format:
+     * accounts/{account_id}/customers/{customer_id}
      * 
* - * - * string parent = 1 [(.google.api.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,70 +541,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
-     * Required. The resource name of the customer that will receive this repricing config.
-     * Parent uses the format: accounts/{account_id}/customers/{customer_id}
+     * Required. The resource name of the customer that will receive this
+     * repricing config. Parent uses the format:
+     * accounts/{account_id}/customers/{customer_id}
      * 
* - * - * string parent = 1 [(.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 customer that will receive this repricing config.
-     * Parent uses the format: accounts/{account_id}/customers/{customer_id}
+     * Required. The resource name of the customer that will receive this
+     * repricing config. Parent uses the format:
+     * accounts/{account_id}/customers/{customer_id}
      * 
* - * - * string 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 customer that will receive this repricing config.
-     * Parent uses the format: accounts/{account_id}/customers/{customer_id}
+     * Required. The resource name of the customer that will receive this
+     * repricing config. Parent uses the format:
+     * accounts/{account_id}/customers/{customer_id}
      * 
* - * - * string parent = 1 [(.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; @@ -672,61 +602,41 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.channel.v1.CustomerRepricingConfig customerRepricingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CustomerRepricingConfig, - com.google.cloud.channel.v1.CustomerRepricingConfig.Builder, - com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder> - customerRepricingConfigBuilder_; + com.google.cloud.channel.v1.CustomerRepricingConfig, com.google.cloud.channel.v1.CustomerRepricingConfig.Builder, com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder> customerRepricingConfigBuilder_; /** - * - * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the customerRepricingConfig field is set. */ public boolean hasCustomerRepricingConfig() { return customerRepricingConfigBuilder_ != null || customerRepricingConfig_ != null; } /** - * - * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The customerRepricingConfig. */ public com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingConfig() { if (customerRepricingConfigBuilder_ == null) { - return customerRepricingConfig_ == null - ? com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance() - : customerRepricingConfig_; + return customerRepricingConfig_ == null ? com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance() : customerRepricingConfig_; } else { return customerRepricingConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCustomerRepricingConfig( - com.google.cloud.channel.v1.CustomerRepricingConfig value) { + public Builder setCustomerRepricingConfig(com.google.cloud.channel.v1.CustomerRepricingConfig value) { if (customerRepricingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -740,15 +650,11 @@ public Builder setCustomerRepricingConfig( return this; } /** - * - * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCustomerRepricingConfig( com.google.cloud.channel.v1.CustomerRepricingConfig.Builder builderForValue) { @@ -762,25 +668,17 @@ public Builder setCustomerRepricingConfig( return this; } /** - * - * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeCustomerRepricingConfig( - com.google.cloud.channel.v1.CustomerRepricingConfig value) { + public Builder mergeCustomerRepricingConfig(com.google.cloud.channel.v1.CustomerRepricingConfig value) { if (customerRepricingConfigBuilder_ == null) { if (customerRepricingConfig_ != null) { customerRepricingConfig_ = - com.google.cloud.channel.v1.CustomerRepricingConfig.newBuilder( - customerRepricingConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.CustomerRepricingConfig.newBuilder(customerRepricingConfig_).mergeFrom(value).buildPartial(); } else { customerRepricingConfig_ = value; } @@ -792,15 +690,11 @@ public Builder mergeCustomerRepricingConfig( return this; } /** - * - * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCustomerRepricingConfig() { if (customerRepricingConfigBuilder_ == null) { @@ -814,73 +708,55 @@ public Builder clearCustomerRepricingConfig() { return this; } /** - * - * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.channel.v1.CustomerRepricingConfig.Builder - getCustomerRepricingConfigBuilder() { - + public com.google.cloud.channel.v1.CustomerRepricingConfig.Builder getCustomerRepricingConfigBuilder() { + onChanged(); return getCustomerRepricingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder - getCustomerRepricingConfigOrBuilder() { + public com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder getCustomerRepricingConfigOrBuilder() { if (customerRepricingConfigBuilder_ != null) { return customerRepricingConfigBuilder_.getMessageOrBuilder(); } else { - return customerRepricingConfig_ == null - ? com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance() - : customerRepricingConfig_; + return customerRepricingConfig_ == null ? + com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance() : customerRepricingConfig_; } } /** - * - * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CustomerRepricingConfig, - com.google.cloud.channel.v1.CustomerRepricingConfig.Builder, - com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder> + com.google.cloud.channel.v1.CustomerRepricingConfig, com.google.cloud.channel.v1.CustomerRepricingConfig.Builder, com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder> getCustomerRepricingConfigFieldBuilder() { if (customerRepricingConfigBuilder_ == null) { - customerRepricingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CustomerRepricingConfig, - com.google.cloud.channel.v1.CustomerRepricingConfig.Builder, - com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder>( - getCustomerRepricingConfig(), getParentForChildren(), isClean()); + customerRepricingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.CustomerRepricingConfig, com.google.cloud.channel.v1.CustomerRepricingConfig.Builder, com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder>( + getCustomerRepricingConfig(), + getParentForChildren(), + isClean()); customerRepricingConfig_ = null; } return customerRepricingConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -890,43 +766,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.CreateCustomerRepricingConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.CreateCustomerRepricingConfigRequest) - private static final com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest(); } - public static com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest - getDefaultInstance() { + public static com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateCustomerRepricingConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCustomerRepricingConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -938,8 +812,9 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest - getDefaultInstanceForType() { + public com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequestOrBuilder.java new file mode 100644 index 000000000000..af9038f93bef --- /dev/null +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequestOrBuilder.java @@ -0,0 +1,60 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/service.proto + +package com.google.cloud.channel.v1; + +public interface CreateCustomerRepricingConfigRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CreateCustomerRepricingConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the customer that will receive this
+   * repricing config. Parent uses the format:
+   * accounts/{account_id}/customers/{customer_id}
+   * 
+ * + * 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 customer that will receive this
+   * repricing config. Parent uses the format:
+   * accounts/{account_id}/customers/{customer_id}
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Required. The CustomerRepricingConfig object to update.
+   * 
+ * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the customerRepricingConfig field is set. + */ + boolean hasCustomerRepricingConfig(); + /** + *
+   * Required. The CustomerRepricingConfig object to update.
+   * 
+ * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The customerRepricingConfig. + */ + com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingConfig(); + /** + *
+   * Required. The CustomerRepricingConfig object to update.
+   * 
+ * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder getCustomerRepricingConfigOrBuilder(); +} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequest.java similarity index 62% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequest.java index e45559c07731..5314091b2b38 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequest.java @@ -1,84 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Request message for [CloudChannelService.CreateCustomer][google.cloud.channel.v1.CloudChannelService.CreateCustomer]
+ * Request message for
+ * [CloudChannelService.CreateCustomer][google.cloud.channel.v1.CloudChannelService.CreateCustomer]
  * 
* * Protobuf type {@code google.cloud.channel.v1.CreateCustomerRequest} */ -public final class CreateCustomerRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateCustomerRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.CreateCustomerRequest) CreateCustomerRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateCustomerRequest.newBuilder() to construct. private CreateCustomerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateCustomerRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateCustomerRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_CreateCustomerRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateCustomerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_CreateCustomerRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateCustomerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.CreateCustomerRequest.class, - com.google.cloud.channel.v1.CreateCustomerRequest.Builder.class); + com.google.cloud.channel.v1.CreateCustomerRequest.class, com.google.cloud.channel.v1.CreateCustomerRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
-   * Required. The resource name of reseller account in which to create the customer.
-   * Parent uses the format: accounts/{account_id}
+   * Required. The resource name of reseller account in which to create the
+   * customer. Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -87,30 +66,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
-   * Required. The resource name of reseller account in which to create the customer.
-   * Parent uses the format: accounts/{account_id}
+   * Required. The resource name of reseller account in which to create the
+   * customer. Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -121,15 +100,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int CUSTOMER_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.Customer customer_; /** - * - * *
    * Required. The customer to create.
    * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the customer field is set. */ @java.lang.Override @@ -137,32 +112,23 @@ public boolean hasCustomer() { return customer_ != null; } /** - * - * *
    * Required. The customer to create.
    * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The customer. */ @java.lang.Override public com.google.cloud.channel.v1.Customer getCustomer() { - return customer_ == null - ? com.google.cloud.channel.v1.Customer.getDefaultInstance() - : customer_; + return customer_ == null ? com.google.cloud.channel.v1.Customer.getDefaultInstance() : customer_; } /** - * - * *
    * Required. The customer to create.
    * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.channel.v1.CustomerOrBuilder getCustomerOrBuilder() { @@ -170,7 +136,6 @@ public com.google.cloud.channel.v1.CustomerOrBuilder getCustomerOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +147,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -202,7 +168,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (customer_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCustomer()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCustomer()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -212,18 +179,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.CreateCustomerRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.CreateCustomerRequest other = - (com.google.cloud.channel.v1.CreateCustomerRequest) obj; + com.google.cloud.channel.v1.CreateCustomerRequest other = (com.google.cloud.channel.v1.CreateCustomerRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasCustomer() != other.hasCustomer()) return false; if (hasCustomer()) { - if (!getCustomer().equals(other.getCustomer())) return false; + if (!getCustomer() + .equals(other.getCustomer())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -248,135 +216,130 @@ public int hashCode() { } public static com.google.cloud.channel.v1.CreateCustomerRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CreateCustomerRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CreateCustomerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CreateCustomerRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CreateCustomerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CreateCustomerRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.CreateCustomerRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.CreateCustomerRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CreateCustomerRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.CreateCustomerRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.CreateCustomerRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CreateCustomerRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.CreateCustomerRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CreateCustomerRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.CreateCustomerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Request message for [CloudChannelService.CreateCustomer][google.cloud.channel.v1.CloudChannelService.CreateCustomer]
+   * Request message for
+   * [CloudChannelService.CreateCustomer][google.cloud.channel.v1.CloudChannelService.CreateCustomer]
    * 
* * Protobuf type {@code google.cloud.channel.v1.CreateCustomerRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.CreateCustomerRequest) com.google.cloud.channel.v1.CreateCustomerRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_CreateCustomerRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateCustomerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_CreateCustomerRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateCustomerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.CreateCustomerRequest.class, - com.google.cloud.channel.v1.CreateCustomerRequest.Builder.class); + com.google.cloud.channel.v1.CreateCustomerRequest.class, com.google.cloud.channel.v1.CreateCustomerRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.CreateCustomerRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -392,9 +355,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_CreateCustomerRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateCustomerRequest_descriptor; } @java.lang.Override @@ -413,8 +376,7 @@ public com.google.cloud.channel.v1.CreateCustomerRequest build() { @java.lang.Override public com.google.cloud.channel.v1.CreateCustomerRequest buildPartial() { - com.google.cloud.channel.v1.CreateCustomerRequest result = - new com.google.cloud.channel.v1.CreateCustomerRequest(this); + com.google.cloud.channel.v1.CreateCustomerRequest result = new com.google.cloud.channel.v1.CreateCustomerRequest(this); result.parent_ = parent_; if (customerBuilder_ == null) { result.customer_ = customer_; @@ -429,39 +391,38 @@ public com.google.cloud.channel.v1.CreateCustomerRequest 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.cloud.channel.v1.CreateCustomerRequest) { - return mergeFrom((com.google.cloud.channel.v1.CreateCustomerRequest) other); + return mergeFrom((com.google.cloud.channel.v1.CreateCustomerRequest)other); } else { super.mergeFrom(other); return this; @@ -469,8 +430,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.CreateCustomerRequest other) { - if (other == com.google.cloud.channel.v1.CreateCustomerRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.CreateCustomerRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -504,25 +464,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getCustomerFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getCustomerFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -535,21 +494,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
-     * Required. The resource name of reseller account in which to create the customer.
-     * Parent uses the format: accounts/{account_id}
+     * Required. The resource name of reseller account in which to create the
+     * customer. Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -558,22 +515,21 @@ public java.lang.String getParent() { } } /** - * - * *
-     * Required. The resource name of reseller account in which to create the customer.
-     * Parent uses the format: accounts/{account_id}
+     * Required. The resource name of reseller account in which to create the
+     * customer. Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -581,64 +537,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
-     * Required. The resource name of reseller account in which to create the customer.
-     * Parent uses the format: accounts/{account_id}
+     * Required. The resource name of reseller account in which to create the
+     * customer. Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 reseller account in which to create the customer.
-     * Parent uses the format: accounts/{account_id}
+     * Required. The resource name of reseller account in which to create the
+     * customer. Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
-     * Required. The resource name of reseller account in which to create the customer.
-     * Parent uses the format: accounts/{account_id}
+     * Required. The resource name of reseller account in which to create the
+     * customer. Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -646,58 +595,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.channel.v1.Customer customer_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Customer, - com.google.cloud.channel.v1.Customer.Builder, - com.google.cloud.channel.v1.CustomerOrBuilder> - customerBuilder_; + com.google.cloud.channel.v1.Customer, com.google.cloud.channel.v1.Customer.Builder, com.google.cloud.channel.v1.CustomerOrBuilder> customerBuilder_; /** - * - * *
      * Required. The customer to create.
      * 
* - * - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the customer field is set. */ public boolean hasCustomer() { return customerBuilder_ != null || customer_ != null; } /** - * - * *
      * Required. The customer to create.
      * 
* - * - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The customer. */ public com.google.cloud.channel.v1.Customer getCustomer() { if (customerBuilder_ == null) { - return customer_ == null - ? com.google.cloud.channel.v1.Customer.getDefaultInstance() - : customer_; + return customer_ == null ? com.google.cloud.channel.v1.Customer.getDefaultInstance() : customer_; } else { return customerBuilder_.getMessage(); } } /** - * - * *
      * Required. The customer to create.
      * 
* - * - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCustomer(com.google.cloud.channel.v1.Customer value) { if (customerBuilder_ == null) { @@ -713,17 +643,14 @@ public Builder setCustomer(com.google.cloud.channel.v1.Customer value) { return this; } /** - * - * *
      * Required. The customer to create.
      * 
* - * - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCustomer(com.google.cloud.channel.v1.Customer.Builder builderForValue) { + public Builder setCustomer( + com.google.cloud.channel.v1.Customer.Builder builderForValue) { if (customerBuilder_ == null) { customer_ = builderForValue.build(); onChanged(); @@ -734,23 +661,17 @@ public Builder setCustomer(com.google.cloud.channel.v1.Customer.Builder builderF return this; } /** - * - * *
      * Required. The customer to create.
      * 
* - * - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCustomer(com.google.cloud.channel.v1.Customer value) { if (customerBuilder_ == null) { if (customer_ != null) { customer_ = - com.google.cloud.channel.v1.Customer.newBuilder(customer_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.Customer.newBuilder(customer_).mergeFrom(value).buildPartial(); } else { customer_ = value; } @@ -762,15 +683,11 @@ public Builder mergeCustomer(com.google.cloud.channel.v1.Customer value) { return this; } /** - * - * *
      * Required. The customer to create.
      * 
* - * - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCustomer() { if (customerBuilder_ == null) { @@ -784,71 +701,55 @@ public Builder clearCustomer() { return this; } /** - * - * *
      * Required. The customer to create.
      * 
* - * - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.channel.v1.Customer.Builder getCustomerBuilder() { - + onChanged(); return getCustomerFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The customer to create.
      * 
* - * - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.channel.v1.CustomerOrBuilder getCustomerOrBuilder() { if (customerBuilder_ != null) { return customerBuilder_.getMessageOrBuilder(); } else { - return customer_ == null - ? com.google.cloud.channel.v1.Customer.getDefaultInstance() - : customer_; + return customer_ == null ? + com.google.cloud.channel.v1.Customer.getDefaultInstance() : customer_; } } /** - * - * *
      * Required. The customer to create.
      * 
* - * - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Customer, - com.google.cloud.channel.v1.Customer.Builder, - com.google.cloud.channel.v1.CustomerOrBuilder> + com.google.cloud.channel.v1.Customer, com.google.cloud.channel.v1.Customer.Builder, com.google.cloud.channel.v1.CustomerOrBuilder> getCustomerFieldBuilder() { if (customerBuilder_ == null) { - customerBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Customer, - com.google.cloud.channel.v1.Customer.Builder, - com.google.cloud.channel.v1.CustomerOrBuilder>( - getCustomer(), getParentForChildren(), isClean()); + customerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Customer, com.google.cloud.channel.v1.Customer.Builder, com.google.cloud.channel.v1.CustomerOrBuilder>( + getCustomer(), + getParentForChildren(), + isClean()); customer_ = null; } return customerBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -858,12 +759,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.CreateCustomerRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.CreateCustomerRequest) private static final com.google.cloud.channel.v1.CreateCustomerRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.CreateCustomerRequest(); } @@ -872,27 +773,27 @@ public static com.google.cloud.channel.v1.CreateCustomerRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateCustomerRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCustomerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -907,4 +808,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.CreateCustomerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequestOrBuilder.java similarity index 56% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequestOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequestOrBuilder.java index 4a6f510226cf..0a6e42864bb3 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequestOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequestOrBuilder.java @@ -1,90 +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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface CreateCustomerRequestOrBuilder - extends +public interface CreateCustomerRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CreateCustomerRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
-   * Required. The resource name of reseller account in which to create the customer.
-   * Parent uses the format: accounts/{account_id}
+   * Required. The resource name of reseller account in which to create the
+   * customer. Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
-   * Required. The resource name of reseller account in which to create the customer.
-   * Parent uses the format: accounts/{account_id}
+   * Required. The resource name of reseller account in which to create the
+   * customer. Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The customer to create.
    * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the customer field is set. */ boolean hasCustomer(); /** - * - * *
    * Required. The customer to create.
    * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The customer. */ com.google.cloud.channel.v1.Customer getCustomer(); /** - * - * *
    * Required. The customer to create.
    * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.channel.v1.CustomerOrBuilder getCustomerOrBuilder(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequest.java similarity index 62% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequest.java index 7422ba722faf..1d94d4a6c5d2 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequest.java @@ -1,42 +1,25 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Request message for [CloudChannelService.CreateEntitlement][google.cloud.channel.v1.CloudChannelService.CreateEntitlement]
+ * Request message for
+ * [CloudChannelService.CreateEntitlement][google.cloud.channel.v1.CloudChannelService.CreateEntitlement]
  * 
* * Protobuf type {@code google.cloud.channel.v1.CreateEntitlementRequest} */ -public final class CreateEntitlementRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateEntitlementRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.CreateEntitlementRequest) CreateEntitlementRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateEntitlementRequest.newBuilder() to construct. private CreateEntitlementRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateEntitlementRequest() { parent_ = ""; requestId_ = ""; @@ -44,45 +27,39 @@ private CreateEntitlementRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateEntitlementRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_CreateEntitlementRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateEntitlementRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_CreateEntitlementRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateEntitlementRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.CreateEntitlementRequest.class, - com.google.cloud.channel.v1.CreateEntitlementRequest.Builder.class); + com.google.cloud.channel.v1.CreateEntitlementRequest.class, com.google.cloud.channel.v1.CreateEntitlementRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
-   * Required. The resource name of the reseller's customer account in which to create the
-   * entitlement.
-   * Parent uses the format: accounts/{account_id}/customers/{customer_id}
+   * Required. The resource name of the reseller's customer account in which to
+   * create the entitlement. Parent uses the format:
+   * accounts/{account_id}/customers/{customer_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,33 +68,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
-   * Required. The resource name of the reseller's customer account in which to create the
-   * entitlement.
-   * Parent uses the format: accounts/{account_id}/customers/{customer_id}
+   * Required. The resource name of the reseller's customer account in which to
+   * create the entitlement. Parent uses the format:
+   * accounts/{account_id}/customers/{customer_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -128,16 +103,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int ENTITLEMENT_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.Entitlement entitlement_; /** - * - * *
    * Required. The entitlement to create.
    * 
* - * - * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the entitlement field is set. */ @java.lang.Override @@ -145,34 +115,23 @@ public boolean hasEntitlement() { return entitlement_ != null; } /** - * - * *
    * Required. The entitlement to create.
    * 
* - * - * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The entitlement. */ @java.lang.Override public com.google.cloud.channel.v1.Entitlement getEntitlement() { - return entitlement_ == null - ? com.google.cloud.channel.v1.Entitlement.getDefaultInstance() - : entitlement_; + return entitlement_ == null ? com.google.cloud.channel.v1.Entitlement.getDefaultInstance() : entitlement_; } /** - * - * *
    * Required. The entitlement to create.
    * 
* - * - * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementOrBuilder() { @@ -182,11 +141,10 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementOrBuilder( public static final int REQUEST_ID_FIELD_NUMBER = 5; private volatile java.lang.Object requestId_; /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -197,7 +155,6 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementOrBuilder(
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -206,18 +163,18 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -228,15 +185,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -245,7 +203,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,7 +214,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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,7 +238,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (entitlement_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEntitlement()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEntitlement()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, requestId_); @@ -293,20 +252,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.cloud.channel.v1.CreateEntitlementRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.CreateEntitlementRequest other = - (com.google.cloud.channel.v1.CreateEntitlementRequest) obj; + com.google.cloud.channel.v1.CreateEntitlementRequest other = (com.google.cloud.channel.v1.CreateEntitlementRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasEntitlement() != other.hasEntitlement()) return false; if (hasEntitlement()) { - if (!getEntitlement().equals(other.getEntitlement())) return false; + if (!getEntitlement() + .equals(other.getEntitlement())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -332,135 +293,130 @@ public int hashCode() { } public static com.google.cloud.channel.v1.CreateEntitlementRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CreateEntitlementRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CreateEntitlementRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CreateEntitlementRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CreateEntitlementRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CreateEntitlementRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.CreateEntitlementRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.CreateEntitlementRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CreateEntitlementRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.CreateEntitlementRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.CreateEntitlementRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CreateEntitlementRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.CreateEntitlementRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CreateEntitlementRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.CreateEntitlementRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Request message for [CloudChannelService.CreateEntitlement][google.cloud.channel.v1.CloudChannelService.CreateEntitlement]
+   * Request message for
+   * [CloudChannelService.CreateEntitlement][google.cloud.channel.v1.CloudChannelService.CreateEntitlement]
    * 
* * Protobuf type {@code google.cloud.channel.v1.CreateEntitlementRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.CreateEntitlementRequest) com.google.cloud.channel.v1.CreateEntitlementRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_CreateEntitlementRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateEntitlementRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_CreateEntitlementRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateEntitlementRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.CreateEntitlementRequest.class, - com.google.cloud.channel.v1.CreateEntitlementRequest.Builder.class); + com.google.cloud.channel.v1.CreateEntitlementRequest.class, com.google.cloud.channel.v1.CreateEntitlementRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.CreateEntitlementRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -478,9 +434,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_CreateEntitlementRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateEntitlementRequest_descriptor; } @java.lang.Override @@ -499,8 +455,7 @@ public com.google.cloud.channel.v1.CreateEntitlementRequest build() { @java.lang.Override public com.google.cloud.channel.v1.CreateEntitlementRequest buildPartial() { - com.google.cloud.channel.v1.CreateEntitlementRequest result = - new com.google.cloud.channel.v1.CreateEntitlementRequest(this); + com.google.cloud.channel.v1.CreateEntitlementRequest result = new com.google.cloud.channel.v1.CreateEntitlementRequest(this); result.parent_ = parent_; if (entitlementBuilder_ == null) { result.entitlement_ = entitlement_; @@ -516,39 +471,38 @@ public com.google.cloud.channel.v1.CreateEntitlementRequest 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.cloud.channel.v1.CreateEntitlementRequest) { - return mergeFrom((com.google.cloud.channel.v1.CreateEntitlementRequest) other); + return mergeFrom((com.google.cloud.channel.v1.CreateEntitlementRequest)other); } else { super.mergeFrom(other); return this; @@ -556,8 +510,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.CreateEntitlementRequest other) { - if (other == com.google.cloud.channel.v1.CreateEntitlementRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.CreateEntitlementRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -595,31 +548,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - input.readMessage(getEntitlementFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getEntitlementFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 42: - { - requestId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 42: { + requestId_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -632,24 +583,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
-     * Required. The resource name of the reseller's customer account in which to create the
-     * entitlement.
-     * Parent uses the format: accounts/{account_id}/customers/{customer_id}
+     * Required. The resource name of the reseller's customer account in which to
+     * create the entitlement. Parent uses the format:
+     * accounts/{account_id}/customers/{customer_id}
      * 
* - * - * string parent = 1 [(.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,25 +605,22 @@ public java.lang.String getParent() { } } /** - * - * *
-     * Required. The resource name of the reseller's customer account in which to create the
-     * entitlement.
-     * Parent uses the format: accounts/{account_id}/customers/{customer_id}
+     * Required. The resource name of the reseller's customer account in which to
+     * create the entitlement. Parent uses the format:
+     * accounts/{account_id}/customers/{customer_id}
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -684,73 +628,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
-     * Required. The resource name of the reseller's customer account in which to create the
-     * entitlement.
-     * Parent uses the format: accounts/{account_id}/customers/{customer_id}
+     * Required. The resource name of the reseller's customer account in which to
+     * create the entitlement. Parent uses the format:
+     * accounts/{account_id}/customers/{customer_id}
      * 
* - * - * string parent = 1 [(.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 reseller's customer account in which to create the
-     * entitlement.
-     * Parent uses the format: accounts/{account_id}/customers/{customer_id}
+     * Required. The resource name of the reseller's customer account in which to
+     * create the entitlement. Parent uses the format:
+     * accounts/{account_id}/customers/{customer_id}
      * 
* - * - * string 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 reseller's customer account in which to create the
-     * entitlement.
-     * Parent uses the format: accounts/{account_id}/customers/{customer_id}
+     * Required. The resource name of the reseller's customer account in which to
+     * create the entitlement. Parent uses the format:
+     * accounts/{account_id}/customers/{customer_id}
      * 
* - * - * string parent = 1 [(.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; @@ -758,58 +689,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.channel.v1.Entitlement entitlement_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Entitlement, - com.google.cloud.channel.v1.Entitlement.Builder, - com.google.cloud.channel.v1.EntitlementOrBuilder> - entitlementBuilder_; + com.google.cloud.channel.v1.Entitlement, com.google.cloud.channel.v1.Entitlement.Builder, com.google.cloud.channel.v1.EntitlementOrBuilder> entitlementBuilder_; /** - * - * *
      * Required. The entitlement to create.
      * 
* - * - * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the entitlement field is set. */ public boolean hasEntitlement() { return entitlementBuilder_ != null || entitlement_ != null; } /** - * - * *
      * Required. The entitlement to create.
      * 
* - * - * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The entitlement. */ public com.google.cloud.channel.v1.Entitlement getEntitlement() { if (entitlementBuilder_ == null) { - return entitlement_ == null - ? com.google.cloud.channel.v1.Entitlement.getDefaultInstance() - : entitlement_; + return entitlement_ == null ? com.google.cloud.channel.v1.Entitlement.getDefaultInstance() : entitlement_; } else { return entitlementBuilder_.getMessage(); } } /** - * - * *
      * Required. The entitlement to create.
      * 
* - * - * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setEntitlement(com.google.cloud.channel.v1.Entitlement value) { if (entitlementBuilder_ == null) { @@ -825,17 +737,14 @@ public Builder setEntitlement(com.google.cloud.channel.v1.Entitlement value) { return this; } /** - * - * *
      * Required. The entitlement to create.
      * 
* - * - * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setEntitlement(com.google.cloud.channel.v1.Entitlement.Builder builderForValue) { + public Builder setEntitlement( + com.google.cloud.channel.v1.Entitlement.Builder builderForValue) { if (entitlementBuilder_ == null) { entitlement_ = builderForValue.build(); onChanged(); @@ -846,23 +755,17 @@ public Builder setEntitlement(com.google.cloud.channel.v1.Entitlement.Builder bu return this; } /** - * - * *
      * Required. The entitlement to create.
      * 
* - * - * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeEntitlement(com.google.cloud.channel.v1.Entitlement value) { if (entitlementBuilder_ == null) { if (entitlement_ != null) { entitlement_ = - com.google.cloud.channel.v1.Entitlement.newBuilder(entitlement_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.Entitlement.newBuilder(entitlement_).mergeFrom(value).buildPartial(); } else { entitlement_ = value; } @@ -874,15 +777,11 @@ public Builder mergeEntitlement(com.google.cloud.channel.v1.Entitlement value) { return this; } /** - * - * *
      * Required. The entitlement to create.
      * 
* - * - * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearEntitlement() { if (entitlementBuilder_ == null) { @@ -896,64 +795,48 @@ public Builder clearEntitlement() { return this; } /** - * - * *
      * Required. The entitlement to create.
      * 
* - * - * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.channel.v1.Entitlement.Builder getEntitlementBuilder() { - + onChanged(); return getEntitlementFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The entitlement to create.
      * 
* - * - * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementOrBuilder() { if (entitlementBuilder_ != null) { return entitlementBuilder_.getMessageOrBuilder(); } else { - return entitlement_ == null - ? com.google.cloud.channel.v1.Entitlement.getDefaultInstance() - : entitlement_; + return entitlement_ == null ? + com.google.cloud.channel.v1.Entitlement.getDefaultInstance() : entitlement_; } } /** - * - * *
      * Required. The entitlement to create.
      * 
* - * - * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Entitlement, - com.google.cloud.channel.v1.Entitlement.Builder, - com.google.cloud.channel.v1.EntitlementOrBuilder> + com.google.cloud.channel.v1.Entitlement, com.google.cloud.channel.v1.Entitlement.Builder, com.google.cloud.channel.v1.EntitlementOrBuilder> getEntitlementFieldBuilder() { if (entitlementBuilder_ == null) { - entitlementBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Entitlement, - com.google.cloud.channel.v1.Entitlement.Builder, - com.google.cloud.channel.v1.EntitlementOrBuilder>( - getEntitlement(), getParentForChildren(), isClean()); + entitlementBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Entitlement, com.google.cloud.channel.v1.Entitlement.Builder, com.google.cloud.channel.v1.EntitlementOrBuilder>( + getEntitlement(), + getParentForChildren(), + isClean()); entitlement_ = null; } return entitlementBuilder_; @@ -961,11 +844,10 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementOrBuilder( private java.lang.Object requestId_ = ""; /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -976,13 +858,13 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementOrBuilder(
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -991,11 +873,10 @@ public java.lang.String getRequestId() { } } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -1006,14 +887,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1021,11 +903,10 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -1036,25 +917,24 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -1065,21 +945,19 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -1090,23 +968,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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,12 +994,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.CreateEntitlementRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.CreateEntitlementRequest) private static final com.google.cloud.channel.v1.CreateEntitlementRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.CreateEntitlementRequest(); } @@ -1130,27 +1008,27 @@ public static com.google.cloud.channel.v1.CreateEntitlementRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateEntitlementRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateEntitlementRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1165,4 +1043,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.CreateEntitlementRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequestOrBuilder.java similarity index 55% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequestOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequestOrBuilder.java index 75ba5ddfdd78..b91668ddcb0d 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequestOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequestOrBuilder.java @@ -1,108 +1,68 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface CreateEntitlementRequestOrBuilder - extends +public interface CreateEntitlementRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CreateEntitlementRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
-   * Required. The resource name of the reseller's customer account in which to create the
-   * entitlement.
-   * Parent uses the format: accounts/{account_id}/customers/{customer_id}
+   * Required. The resource name of the reseller's customer account in which to
+   * create the entitlement. Parent uses the format:
+   * accounts/{account_id}/customers/{customer_id}
    * 
* - * - * string parent = 1 [(.google.api.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 reseller's customer account in which to create the
-   * entitlement.
-   * Parent uses the format: accounts/{account_id}/customers/{customer_id}
+   * Required. The resource name of the reseller's customer account in which to
+   * create the entitlement. Parent uses the format:
+   * accounts/{account_id}/customers/{customer_id}
    * 
* - * - * string parent = 1 [(.google.api.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 entitlement to create.
    * 
* - * - * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the entitlement field is set. */ boolean hasEntitlement(); /** - * - * *
    * Required. The entitlement to create.
    * 
* - * - * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The entitlement. */ com.google.cloud.channel.v1.Entitlement getEntitlement(); /** - * - * *
    * Required. The entitlement to create.
    * 
* - * - * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementOrBuilder(); /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -113,16 +73,14 @@ public interface CreateEntitlementRequestOrBuilder
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -133,8 +91,8 @@ public interface CreateEntitlementRequestOrBuilder
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Customer.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Customer.java similarity index 71% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Customer.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Customer.java index c4a07fe2527d..afdf691782b4 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Customer.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Customer.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/cloud/channel/v1/customers.proto package com.google.cloud.channel.v1; /** - * - * *
  * Entity representing a customer of a reseller or distributor.
  * 
* * Protobuf type {@code google.cloud.channel.v1.Customer} */ -public final class Customer extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Customer extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.Customer) CustomerOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Customer.newBuilder() to construct. private Customer(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Customer() { name_ = ""; orgDisplayName_ = ""; @@ -49,42 +31,38 @@ private Customer() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Customer(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.CustomersProto - .internal_static_google_cloud_channel_v1_Customer_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.CustomersProto.internal_static_google_cloud_channel_v1_Customer_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.CustomersProto - .internal_static_google_cloud_channel_v1_Customer_fieldAccessorTable + return com.google.cloud.channel.v1.CustomersProto.internal_static_google_cloud_channel_v1_Customer_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Customer.class, - com.google.cloud.channel.v1.Customer.Builder.class); + com.google.cloud.channel.v1.Customer.class, com.google.cloud.channel.v1.Customer.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. Resource name of the customer.
    * Format: accounts/{account_id}/customers/{customer_id}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -93,30 +71,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 the customer.
    * Format: accounts/{account_id}/customers/{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 { @@ -127,14 +105,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ORG_DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object orgDisplayName_; /** - * - * *
    * Required. Name of the organization that the customer entity represents.
    * 
* * string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The orgDisplayName. */ @java.lang.Override @@ -143,29 +118,29 @@ public java.lang.String getOrgDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orgDisplayName_ = s; return s; } } /** - * - * *
    * Required. Name of the organization that the customer entity represents.
    * 
* * string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for orgDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString getOrgDisplayNameBytes() { + public com.google.protobuf.ByteString + getOrgDisplayNameBytes() { java.lang.Object ref = orgDisplayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orgDisplayName_ = b; return b; } else { @@ -176,8 +151,6 @@ public com.google.protobuf.ByteString getOrgDisplayNameBytes() { public static final int ORG_POSTAL_ADDRESS_FIELD_NUMBER = 3; private com.google.type.PostalAddress orgPostalAddress_; /** - * - * *
    * Required. The organization address for the customer. To enforce US laws and
    * embargoes, we require a region and zip code. You must provide valid
@@ -185,10 +158,7 @@ public com.google.protobuf.ByteString getOrgDisplayNameBytes() {
    * Customer-level language code.
    * 
* - * - * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the orgPostalAddress field is set. */ @java.lang.Override @@ -196,8 +166,6 @@ public boolean hasOrgPostalAddress() { return orgPostalAddress_ != null; } /** - * - * *
    * Required. The organization address for the customer. To enforce US laws and
    * embargoes, we require a region and zip code. You must provide valid
@@ -205,21 +173,14 @@ public boolean hasOrgPostalAddress() {
    * Customer-level language code.
    * 
* - * - * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The orgPostalAddress. */ @java.lang.Override public com.google.type.PostalAddress getOrgPostalAddress() { - return orgPostalAddress_ == null - ? com.google.type.PostalAddress.getDefaultInstance() - : orgPostalAddress_; + return orgPostalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : orgPostalAddress_; } /** - * - * *
    * Required. The organization address for the customer. To enforce US laws and
    * embargoes, we require a region and zip code. You must provide valid
@@ -227,9 +188,7 @@ public com.google.type.PostalAddress getOrgPostalAddress() {
    * Customer-level language code.
    * 
* - * - * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.type.PostalAddressOrBuilder getOrgPostalAddressOrBuilder() { @@ -239,14 +198,11 @@ public com.google.type.PostalAddressOrBuilder getOrgPostalAddressOrBuilder() { public static final int PRIMARY_CONTACT_INFO_FIELD_NUMBER = 4; private com.google.cloud.channel.v1.ContactInfo primaryContactInfo_; /** - * - * *
    * Primary contact info.
    * 
* * .google.cloud.channel.v1.ContactInfo primary_contact_info = 4; - * * @return Whether the primaryContactInfo field is set. */ @java.lang.Override @@ -254,25 +210,18 @@ public boolean hasPrimaryContactInfo() { return primaryContactInfo_ != null; } /** - * - * *
    * Primary contact info.
    * 
* * .google.cloud.channel.v1.ContactInfo primary_contact_info = 4; - * * @return The primaryContactInfo. */ @java.lang.Override public com.google.cloud.channel.v1.ContactInfo getPrimaryContactInfo() { - return primaryContactInfo_ == null - ? com.google.cloud.channel.v1.ContactInfo.getDefaultInstance() - : primaryContactInfo_; + return primaryContactInfo_ == null ? com.google.cloud.channel.v1.ContactInfo.getDefaultInstance() : primaryContactInfo_; } /** - * - * *
    * Primary contact info.
    * 
@@ -287,8 +236,6 @@ public com.google.cloud.channel.v1.ContactInfoOrBuilder getPrimaryContactInfoOrB public static final int ALTERNATE_EMAIL_FIELD_NUMBER = 5; private volatile java.lang.Object alternateEmail_; /** - * - * *
    * Secondary contact email. You need to provide an alternate email to create
    * different domains if a primary contact email already exists. Users will
@@ -298,7 +245,6 @@ public com.google.cloud.channel.v1.ContactInfoOrBuilder getPrimaryContactInfoOrB
    * 
* * string alternate_email = 5; - * * @return The alternateEmail. */ @java.lang.Override @@ -307,15 +253,14 @@ public java.lang.String getAlternateEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); alternateEmail_ = s; return s; } } /** - * - * *
    * Secondary contact email. You need to provide an alternate email to create
    * different domains if a primary contact email already exists. Users will
@@ -325,15 +270,16 @@ public java.lang.String getAlternateEmail() {
    * 
* * string alternate_email = 5; - * * @return The bytes for alternateEmail. */ @java.lang.Override - public com.google.protobuf.ByteString getAlternateEmailBytes() { + public com.google.protobuf.ByteString + getAlternateEmailBytes() { java.lang.Object ref = alternateEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); alternateEmail_ = b; return b; } else { @@ -344,15 +290,12 @@ public com.google.protobuf.ByteString getAlternateEmailBytes() { public static final int DOMAIN_FIELD_NUMBER = 6; private volatile java.lang.Object domain_; /** - * - * *
    * Required. The customer's primary domain. Must match the primary contact
    * email's domain.
    * 
* * string domain = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The domain. */ @java.lang.Override @@ -361,30 +304,30 @@ public java.lang.String getDomain() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domain_ = s; return s; } } /** - * - * *
    * Required. The customer's primary domain. Must match the primary contact
    * email's domain.
    * 
* * string domain = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for domain. */ @java.lang.Override - public com.google.protobuf.ByteString getDomainBytes() { + public com.google.protobuf.ByteString + getDomainBytes() { java.lang.Object ref = domain_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domain_ = b; return b; } else { @@ -395,15 +338,11 @@ public com.google.protobuf.ByteString getDomainBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. Time when the customer was 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 @@ -411,15 +350,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. Time when the customer was 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 @@ -427,14 +362,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. Time when the customer was 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() { @@ -444,15 +376,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 the customer was 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 @@ -460,15 +388,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. Time when the customer was 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 @@ -476,14 +400,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. Time when the customer was 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() { @@ -493,15 +414,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int CLOUD_IDENTITY_ID_FIELD_NUMBER = 9; private volatile java.lang.Object cloudIdentityId_; /** - * - * *
    * Output only. The customer's Cloud Identity ID if the customer has a Cloud
    * Identity resource.
    * 
* * string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The cloudIdentityId. */ @java.lang.Override @@ -510,30 +428,30 @@ public java.lang.String getCloudIdentityId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cloudIdentityId_ = s; return s; } } /** - * - * *
    * Output only. The customer's Cloud Identity ID if the customer has a Cloud
    * Identity resource.
    * 
* * string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for cloudIdentityId. */ @java.lang.Override - public com.google.protobuf.ByteString getCloudIdentityIdBytes() { + public com.google.protobuf.ByteString + getCloudIdentityIdBytes() { java.lang.Object ref = cloudIdentityId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cloudIdentityId_ = b; return b; } else { @@ -544,8 +462,6 @@ public com.google.protobuf.ByteString getCloudIdentityIdBytes() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 10; private volatile java.lang.Object languageCode_; /** - * - * *
    * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
    * information, see
@@ -553,7 +469,6 @@ public com.google.protobuf.ByteString getCloudIdentityIdBytes() {
    * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ @java.lang.Override @@ -562,15 +477,14 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** - * - * *
    * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
    * information, see
@@ -578,15 +492,16 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -597,17 +512,12 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { public static final int CLOUD_IDENTITY_INFO_FIELD_NUMBER = 12; private com.google.cloud.channel.v1.CloudIdentityInfo cloudIdentityInfo_; /** - * - * *
    * Output only. Cloud Identity information for the customer.
    * Populated only if a Cloud Identity account exists for this customer.
    * 
* - * - * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the cloudIdentityInfo field is set. */ @java.lang.Override @@ -615,36 +525,25 @@ public boolean hasCloudIdentityInfo() { return cloudIdentityInfo_ != null; } /** - * - * *
    * Output only. Cloud Identity information for the customer.
    * Populated only if a Cloud Identity account exists for this customer.
    * 
* - * - * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The cloudIdentityInfo. */ @java.lang.Override public com.google.cloud.channel.v1.CloudIdentityInfo getCloudIdentityInfo() { - return cloudIdentityInfo_ == null - ? com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() - : cloudIdentityInfo_; + return cloudIdentityInfo_ == null ? com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() : cloudIdentityInfo_; } /** - * - * *
    * Output only. Cloud Identity information for the customer.
    * Populated only if a Cloud Identity account exists for this customer.
    * 
* - * - * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder getCloudIdentityInfoOrBuilder() { @@ -654,15 +553,12 @@ public com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder getCloudIdentityIn public static final int CHANNEL_PARTNER_ID_FIELD_NUMBER = 13; private volatile java.lang.Object channelPartnerId_; /** - * - * *
    * Cloud Identity ID of the customer's channel partner.
    * Populated only if a channel partner exists for this customer.
    * 
* * string channel_partner_id = 13; - * * @return The channelPartnerId. */ @java.lang.Override @@ -671,30 +567,30 @@ public java.lang.String getChannelPartnerId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); channelPartnerId_ = s; return s; } } /** - * - * *
    * Cloud Identity ID of the customer's channel partner.
    * Populated only if a channel partner exists for this customer.
    * 
* * string channel_partner_id = 13; - * * @return The bytes for channelPartnerId. */ @java.lang.Override - public com.google.protobuf.ByteString getChannelPartnerIdBytes() { + public com.google.protobuf.ByteString + getChannelPartnerIdBytes() { java.lang.Object ref = channelPartnerId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); channelPartnerId_ = b; return b; } else { @@ -703,7 +599,6 @@ public com.google.protobuf.ByteString getChannelPartnerIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -715,7 +610,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -768,10 +664,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, orgDisplayName_); } if (orgPostalAddress_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getOrgPostalAddress()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getOrgPostalAddress()); } if (primaryContactInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPrimaryContactInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getPrimaryContactInfo()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(alternateEmail_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, alternateEmail_); @@ -780,10 +678,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, domain_); } 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(cloudIdentityId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, cloudIdentityId_); @@ -792,7 +692,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, languageCode_); } if (cloudIdentityInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getCloudIdentityInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getCloudIdentityInfo()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(channelPartnerId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, channelPartnerId_); @@ -805,40 +706,52 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.Customer)) { return super.equals(obj); } com.google.cloud.channel.v1.Customer other = (com.google.cloud.channel.v1.Customer) obj; - if (!getName().equals(other.getName())) return false; - if (!getOrgDisplayName().equals(other.getOrgDisplayName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getOrgDisplayName() + .equals(other.getOrgDisplayName())) return false; if (hasOrgPostalAddress() != other.hasOrgPostalAddress()) return false; if (hasOrgPostalAddress()) { - if (!getOrgPostalAddress().equals(other.getOrgPostalAddress())) return false; + if (!getOrgPostalAddress() + .equals(other.getOrgPostalAddress())) return false; } if (hasPrimaryContactInfo() != other.hasPrimaryContactInfo()) return false; if (hasPrimaryContactInfo()) { - if (!getPrimaryContactInfo().equals(other.getPrimaryContactInfo())) return false; + if (!getPrimaryContactInfo() + .equals(other.getPrimaryContactInfo())) return false; } - if (!getAlternateEmail().equals(other.getAlternateEmail())) return false; - if (!getDomain().equals(other.getDomain())) return false; + if (!getAlternateEmail() + .equals(other.getAlternateEmail())) return false; + if (!getDomain() + .equals(other.getDomain())) 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 (!getCloudIdentityId().equals(other.getCloudIdentityId())) return false; - if (!getLanguageCode().equals(other.getLanguageCode())) return false; + if (!getCloudIdentityId() + .equals(other.getCloudIdentityId())) return false; + if (!getLanguageCode() + .equals(other.getLanguageCode())) return false; if (hasCloudIdentityInfo() != other.hasCloudIdentityInfo()) return false; if (hasCloudIdentityInfo()) { - if (!getCloudIdentityInfo().equals(other.getCloudIdentityInfo())) return false; + if (!getCloudIdentityInfo() + .equals(other.getCloudIdentityInfo())) return false; } - if (!getChannelPartnerId().equals(other.getChannelPartnerId())) return false; + if (!getChannelPartnerId() + .equals(other.getChannelPartnerId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -889,135 +802,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.Customer parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.Customer parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Customer parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.Customer parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.channel.v1.Customer parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Customer parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Customer parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Customer parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Customer 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.cloud.channel.v1.Customer parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.Customer parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.Customer parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.Customer parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.Customer parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.Customer prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Entity representing a customer of a reseller or distributor.
    * 
* * Protobuf type {@code google.cloud.channel.v1.Customer} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.Customer) com.google.cloud.channel.v1.CustomerOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.CustomersProto - .internal_static_google_cloud_channel_v1_Customer_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.CustomersProto.internal_static_google_cloud_channel_v1_Customer_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.CustomersProto - .internal_static_google_cloud_channel_v1_Customer_fieldAccessorTable + return com.google.cloud.channel.v1.CustomersProto.internal_static_google_cloud_channel_v1_Customer_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Customer.class, - com.google.cloud.channel.v1.Customer.Builder.class); + com.google.cloud.channel.v1.Customer.class, com.google.cloud.channel.v1.Customer.Builder.class); } // Construct using com.google.cloud.channel.v1.Customer.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1069,9 +977,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.CustomersProto - .internal_static_google_cloud_channel_v1_Customer_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.CustomersProto.internal_static_google_cloud_channel_v1_Customer_descriptor; } @java.lang.Override @@ -1131,39 +1039,38 @@ public com.google.cloud.channel.v1.Customer 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.cloud.channel.v1.Customer) { - return mergeFrom((com.google.cloud.channel.v1.Customer) other); + return mergeFrom((com.google.cloud.channel.v1.Customer)other); } else { super.mergeFrom(other); return this; @@ -1241,88 +1148,82 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - orgDisplayName_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - input.readMessage( - getOrgPostalAddressFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 34: - { - input.readMessage( - getPrimaryContactInfoFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 34 - case 42: - { - alternateEmail_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 50: - { - domain_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 58: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 58 - case 66: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 66 - case 74: - { - cloudIdentityId_ = input.readStringRequireUtf8(); - - break; - } // case 74 - case 82: - { - languageCode_ = input.readStringRequireUtf8(); - - break; - } // case 82 - case 98: - { - input.readMessage( - getCloudIdentityInfoFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 98 - case 106: - { - channelPartnerId_ = input.readStringRequireUtf8(); - - break; - } // case 106 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + orgDisplayName_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + input.readMessage( + getOrgPostalAddressFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 34: { + input.readMessage( + getPrimaryContactInfoFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 34 + case 42: { + alternateEmail_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 50: { + domain_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 58: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 58 + case 66: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 66 + case 74: { + cloudIdentityId_ = input.readStringRequireUtf8(); + + break; + } // case 74 + case 82: { + languageCode_ = input.readStringRequireUtf8(); + + break; + } // case 82 + case 98: { + input.readMessage( + getCloudIdentityInfoFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 98 + case 106: { + channelPartnerId_ = input.readStringRequireUtf8(); + + break; + } // case 106 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1335,21 +1236,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Resource name of the customer.
      * Format: accounts/{account_id}/customers/{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; @@ -1358,22 +1257,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name of the customer.
      * Format: accounts/{account_id}/customers/{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 { @@ -1381,64 +1279,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name of the customer.
      * Format: accounts/{account_id}/customers/{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. Resource name of the customer.
      * Format: accounts/{account_id}/customers/{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. Resource name of the customer.
      * Format: accounts/{account_id}/customers/{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; @@ -1446,20 +1337,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object orgDisplayName_ = ""; /** - * - * *
      * Required. Name of the organization that the customer entity represents.
      * 
* * string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The orgDisplayName. */ public java.lang.String getOrgDisplayName() { java.lang.Object ref = orgDisplayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orgDisplayName_ = s; return s; @@ -1468,21 +1357,20 @@ public java.lang.String getOrgDisplayName() { } } /** - * - * *
      * Required. Name of the organization that the customer entity represents.
      * 
* * string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for orgDisplayName. */ - public com.google.protobuf.ByteString getOrgDisplayNameBytes() { + public com.google.protobuf.ByteString + getOrgDisplayNameBytes() { java.lang.Object ref = orgDisplayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orgDisplayName_ = b; return b; } else { @@ -1490,61 +1378,54 @@ public com.google.protobuf.ByteString getOrgDisplayNameBytes() { } } /** - * - * *
      * Required. Name of the organization that the customer entity represents.
      * 
* * string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The orgDisplayName to set. * @return This builder for chaining. */ - public Builder setOrgDisplayName(java.lang.String value) { + public Builder setOrgDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orgDisplayName_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the organization that the customer entity represents.
      * 
* * string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearOrgDisplayName() { - + orgDisplayName_ = getDefaultInstance().getOrgDisplayName(); onChanged(); return this; } /** - * - * *
      * Required. Name of the organization that the customer entity represents.
      * 
* * string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for orgDisplayName to set. * @return This builder for chaining. */ - public Builder setOrgDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setOrgDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orgDisplayName_ = value; onChanged(); return this; @@ -1552,13 +1433,8 @@ public Builder setOrgDisplayNameBytes(com.google.protobuf.ByteString value) { private com.google.type.PostalAddress orgPostalAddress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, - com.google.type.PostalAddress.Builder, - com.google.type.PostalAddressOrBuilder> - orgPostalAddressBuilder_; + com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> orgPostalAddressBuilder_; /** - * - * *
      * Required. The organization address for the customer. To enforce US laws and
      * embargoes, we require a region and zip code. You must provide valid
@@ -1566,18 +1442,13 @@ public Builder setOrgDisplayNameBytes(com.google.protobuf.ByteString value) {
      * Customer-level language code.
      * 
* - * - * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the orgPostalAddress field is set. */ public boolean hasOrgPostalAddress() { return orgPostalAddressBuilder_ != null || orgPostalAddress_ != null; } /** - * - * *
      * Required. The organization address for the customer. To enforce US laws and
      * embargoes, we require a region and zip code. You must provide valid
@@ -1585,24 +1456,17 @@ public boolean hasOrgPostalAddress() {
      * Customer-level language code.
      * 
* - * - * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The orgPostalAddress. */ public com.google.type.PostalAddress getOrgPostalAddress() { if (orgPostalAddressBuilder_ == null) { - return orgPostalAddress_ == null - ? com.google.type.PostalAddress.getDefaultInstance() - : orgPostalAddress_; + return orgPostalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : orgPostalAddress_; } else { return orgPostalAddressBuilder_.getMessage(); } } /** - * - * *
      * Required. The organization address for the customer. To enforce US laws and
      * embargoes, we require a region and zip code. You must provide valid
@@ -1610,9 +1474,7 @@ public com.google.type.PostalAddress getOrgPostalAddress() {
      * Customer-level language code.
      * 
* - * - * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setOrgPostalAddress(com.google.type.PostalAddress value) { if (orgPostalAddressBuilder_ == null) { @@ -1628,8 +1490,6 @@ public Builder setOrgPostalAddress(com.google.type.PostalAddress value) { return this; } /** - * - * *
      * Required. The organization address for the customer. To enforce US laws and
      * embargoes, we require a region and zip code. You must provide valid
@@ -1637,11 +1497,10 @@ public Builder setOrgPostalAddress(com.google.type.PostalAddress value) {
      * Customer-level language code.
      * 
* - * - * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setOrgPostalAddress(com.google.type.PostalAddress.Builder builderForValue) { + public Builder setOrgPostalAddress( + com.google.type.PostalAddress.Builder builderForValue) { if (orgPostalAddressBuilder_ == null) { orgPostalAddress_ = builderForValue.build(); onChanged(); @@ -1652,8 +1511,6 @@ public Builder setOrgPostalAddress(com.google.type.PostalAddress.Builder builder return this; } /** - * - * *
      * Required. The organization address for the customer. To enforce US laws and
      * embargoes, we require a region and zip code. You must provide valid
@@ -1661,17 +1518,13 @@ public Builder setOrgPostalAddress(com.google.type.PostalAddress.Builder builder
      * Customer-level language code.
      * 
* - * - * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeOrgPostalAddress(com.google.type.PostalAddress value) { if (orgPostalAddressBuilder_ == null) { if (orgPostalAddress_ != null) { orgPostalAddress_ = - com.google.type.PostalAddress.newBuilder(orgPostalAddress_) - .mergeFrom(value) - .buildPartial(); + com.google.type.PostalAddress.newBuilder(orgPostalAddress_).mergeFrom(value).buildPartial(); } else { orgPostalAddress_ = value; } @@ -1683,8 +1536,6 @@ public Builder mergeOrgPostalAddress(com.google.type.PostalAddress value) { return this; } /** - * - * *
      * Required. The organization address for the customer. To enforce US laws and
      * embargoes, we require a region and zip code. You must provide valid
@@ -1692,9 +1543,7 @@ public Builder mergeOrgPostalAddress(com.google.type.PostalAddress value) {
      * Customer-level language code.
      * 
* - * - * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearOrgPostalAddress() { if (orgPostalAddressBuilder_ == null) { @@ -1708,8 +1557,6 @@ public Builder clearOrgPostalAddress() { return this; } /** - * - * *
      * Required. The organization address for the customer. To enforce US laws and
      * embargoes, we require a region and zip code. You must provide valid
@@ -1717,18 +1564,14 @@ public Builder clearOrgPostalAddress() {
      * Customer-level language code.
      * 
* - * - * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.type.PostalAddress.Builder getOrgPostalAddressBuilder() { - + onChanged(); return getOrgPostalAddressFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The organization address for the customer. To enforce US laws and
      * embargoes, we require a region and zip code. You must provide valid
@@ -1736,22 +1579,17 @@ public com.google.type.PostalAddress.Builder getOrgPostalAddressBuilder() {
      * Customer-level language code.
      * 
* - * - * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.type.PostalAddressOrBuilder getOrgPostalAddressOrBuilder() { if (orgPostalAddressBuilder_ != null) { return orgPostalAddressBuilder_.getMessageOrBuilder(); } else { - return orgPostalAddress_ == null - ? com.google.type.PostalAddress.getDefaultInstance() - : orgPostalAddress_; + return orgPostalAddress_ == null ? + com.google.type.PostalAddress.getDefaultInstance() : orgPostalAddress_; } } /** - * - * *
      * Required. The organization address for the customer. To enforce US laws and
      * embargoes, we require a region and zip code. You must provide valid
@@ -1759,22 +1597,17 @@ public com.google.type.PostalAddressOrBuilder getOrgPostalAddressOrBuilder() {
      * Customer-level language code.
      * 
* - * - * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, - com.google.type.PostalAddress.Builder, - com.google.type.PostalAddressOrBuilder> + com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> getOrgPostalAddressFieldBuilder() { if (orgPostalAddressBuilder_ == null) { - orgPostalAddressBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, - com.google.type.PostalAddress.Builder, - com.google.type.PostalAddressOrBuilder>( - getOrgPostalAddress(), getParentForChildren(), isClean()); + orgPostalAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder>( + getOrgPostalAddress(), + getParentForChildren(), + isClean()); orgPostalAddress_ = null; } return orgPostalAddressBuilder_; @@ -1782,47 +1615,34 @@ public com.google.type.PostalAddressOrBuilder getOrgPostalAddressOrBuilder() { private com.google.cloud.channel.v1.ContactInfo primaryContactInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ContactInfo, - com.google.cloud.channel.v1.ContactInfo.Builder, - com.google.cloud.channel.v1.ContactInfoOrBuilder> - primaryContactInfoBuilder_; + com.google.cloud.channel.v1.ContactInfo, com.google.cloud.channel.v1.ContactInfo.Builder, com.google.cloud.channel.v1.ContactInfoOrBuilder> primaryContactInfoBuilder_; /** - * - * *
      * Primary contact info.
      * 
* * .google.cloud.channel.v1.ContactInfo primary_contact_info = 4; - * * @return Whether the primaryContactInfo field is set. */ public boolean hasPrimaryContactInfo() { return primaryContactInfoBuilder_ != null || primaryContactInfo_ != null; } /** - * - * *
      * Primary contact info.
      * 
* * .google.cloud.channel.v1.ContactInfo primary_contact_info = 4; - * * @return The primaryContactInfo. */ public com.google.cloud.channel.v1.ContactInfo getPrimaryContactInfo() { if (primaryContactInfoBuilder_ == null) { - return primaryContactInfo_ == null - ? com.google.cloud.channel.v1.ContactInfo.getDefaultInstance() - : primaryContactInfo_; + return primaryContactInfo_ == null ? com.google.cloud.channel.v1.ContactInfo.getDefaultInstance() : primaryContactInfo_; } else { return primaryContactInfoBuilder_.getMessage(); } } /** - * - * *
      * Primary contact info.
      * 
@@ -1843,8 +1663,6 @@ public Builder setPrimaryContactInfo(com.google.cloud.channel.v1.ContactInfo val return this; } /** - * - * *
      * Primary contact info.
      * 
@@ -1863,8 +1681,6 @@ public Builder setPrimaryContactInfo( return this; } /** - * - * *
      * Primary contact info.
      * 
@@ -1875,9 +1691,7 @@ public Builder mergePrimaryContactInfo(com.google.cloud.channel.v1.ContactInfo v if (primaryContactInfoBuilder_ == null) { if (primaryContactInfo_ != null) { primaryContactInfo_ = - com.google.cloud.channel.v1.ContactInfo.newBuilder(primaryContactInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.ContactInfo.newBuilder(primaryContactInfo_).mergeFrom(value).buildPartial(); } else { primaryContactInfo_ = value; } @@ -1889,8 +1703,6 @@ public Builder mergePrimaryContactInfo(com.google.cloud.channel.v1.ContactInfo v return this; } /** - * - * *
      * Primary contact info.
      * 
@@ -1909,8 +1721,6 @@ public Builder clearPrimaryContactInfo() { return this; } /** - * - * *
      * Primary contact info.
      * 
@@ -1918,13 +1728,11 @@ public Builder clearPrimaryContactInfo() { * .google.cloud.channel.v1.ContactInfo primary_contact_info = 4; */ public com.google.cloud.channel.v1.ContactInfo.Builder getPrimaryContactInfoBuilder() { - + onChanged(); return getPrimaryContactInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Primary contact info.
      * 
@@ -1935,14 +1743,11 @@ public com.google.cloud.channel.v1.ContactInfoOrBuilder getPrimaryContactInfoOrB if (primaryContactInfoBuilder_ != null) { return primaryContactInfoBuilder_.getMessageOrBuilder(); } else { - return primaryContactInfo_ == null - ? com.google.cloud.channel.v1.ContactInfo.getDefaultInstance() - : primaryContactInfo_; + return primaryContactInfo_ == null ? + com.google.cloud.channel.v1.ContactInfo.getDefaultInstance() : primaryContactInfo_; } } /** - * - * *
      * Primary contact info.
      * 
@@ -1950,17 +1755,14 @@ public com.google.cloud.channel.v1.ContactInfoOrBuilder getPrimaryContactInfoOrB * .google.cloud.channel.v1.ContactInfo primary_contact_info = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ContactInfo, - com.google.cloud.channel.v1.ContactInfo.Builder, - com.google.cloud.channel.v1.ContactInfoOrBuilder> + com.google.cloud.channel.v1.ContactInfo, com.google.cloud.channel.v1.ContactInfo.Builder, com.google.cloud.channel.v1.ContactInfoOrBuilder> getPrimaryContactInfoFieldBuilder() { if (primaryContactInfoBuilder_ == null) { - primaryContactInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ContactInfo, - com.google.cloud.channel.v1.ContactInfo.Builder, - com.google.cloud.channel.v1.ContactInfoOrBuilder>( - getPrimaryContactInfo(), getParentForChildren(), isClean()); + primaryContactInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.ContactInfo, com.google.cloud.channel.v1.ContactInfo.Builder, com.google.cloud.channel.v1.ContactInfoOrBuilder>( + getPrimaryContactInfo(), + getParentForChildren(), + isClean()); primaryContactInfo_ = null; } return primaryContactInfoBuilder_; @@ -1968,8 +1770,6 @@ public com.google.cloud.channel.v1.ContactInfoOrBuilder getPrimaryContactInfoOrB private java.lang.Object alternateEmail_ = ""; /** - * - * *
      * Secondary contact email. You need to provide an alternate email to create
      * different domains if a primary contact email already exists. Users will
@@ -1979,13 +1779,13 @@ public com.google.cloud.channel.v1.ContactInfoOrBuilder getPrimaryContactInfoOrB
      * 
* * string alternate_email = 5; - * * @return The alternateEmail. */ public java.lang.String getAlternateEmail() { java.lang.Object ref = alternateEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); alternateEmail_ = s; return s; @@ -1994,8 +1794,6 @@ public java.lang.String getAlternateEmail() { } } /** - * - * *
      * Secondary contact email. You need to provide an alternate email to create
      * different domains if a primary contact email already exists. Users will
@@ -2005,14 +1803,15 @@ public java.lang.String getAlternateEmail() {
      * 
* * string alternate_email = 5; - * * @return The bytes for alternateEmail. */ - public com.google.protobuf.ByteString getAlternateEmailBytes() { + public com.google.protobuf.ByteString + getAlternateEmailBytes() { java.lang.Object ref = alternateEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); alternateEmail_ = b; return b; } else { @@ -2020,8 +1819,6 @@ public com.google.protobuf.ByteString getAlternateEmailBytes() { } } /** - * - * *
      * Secondary contact email. You need to provide an alternate email to create
      * different domains if a primary contact email already exists. Users will
@@ -2031,22 +1828,20 @@ public com.google.protobuf.ByteString getAlternateEmailBytes() {
      * 
* * string alternate_email = 5; - * * @param value The alternateEmail to set. * @return This builder for chaining. */ - public Builder setAlternateEmail(java.lang.String value) { + public Builder setAlternateEmail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + alternateEmail_ = value; onChanged(); return this; } /** - * - * *
      * Secondary contact email. You need to provide an alternate email to create
      * different domains if a primary contact email already exists. Users will
@@ -2056,18 +1851,15 @@ public Builder setAlternateEmail(java.lang.String value) {
      * 
* * string alternate_email = 5; - * * @return This builder for chaining. */ public Builder clearAlternateEmail() { - + alternateEmail_ = getDefaultInstance().getAlternateEmail(); onChanged(); return this; } /** - * - * *
      * Secondary contact email. You need to provide an alternate email to create
      * different domains if a primary contact email already exists. Users will
@@ -2077,16 +1869,16 @@ public Builder clearAlternateEmail() {
      * 
* * string alternate_email = 5; - * * @param value The bytes for alternateEmail to set. * @return This builder for chaining. */ - public Builder setAlternateEmailBytes(com.google.protobuf.ByteString value) { + public Builder setAlternateEmailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + alternateEmail_ = value; onChanged(); return this; @@ -2094,21 +1886,19 @@ public Builder setAlternateEmailBytes(com.google.protobuf.ByteString value) { private java.lang.Object domain_ = ""; /** - * - * *
      * Required. The customer's primary domain. Must match the primary contact
      * email's domain.
      * 
* * string domain = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The domain. */ public java.lang.String getDomain() { java.lang.Object ref = domain_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domain_ = s; return s; @@ -2117,22 +1907,21 @@ public java.lang.String getDomain() { } } /** - * - * *
      * Required. The customer's primary domain. Must match the primary contact
      * email's domain.
      * 
* * string domain = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for domain. */ - public com.google.protobuf.ByteString getDomainBytes() { + public com.google.protobuf.ByteString + getDomainBytes() { java.lang.Object ref = domain_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domain_ = b; return b; } else { @@ -2140,64 +1929,57 @@ public com.google.protobuf.ByteString getDomainBytes() { } } /** - * - * *
      * Required. The customer's primary domain. Must match the primary contact
      * email's domain.
      * 
* * string domain = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The domain to set. * @return This builder for chaining. */ - public Builder setDomain(java.lang.String value) { + public Builder setDomain( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domain_ = value; onChanged(); return this; } /** - * - * *
      * Required. The customer's primary domain. Must match the primary contact
      * email's domain.
      * 
* * string domain = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDomain() { - + domain_ = getDefaultInstance().getDomain(); onChanged(); return this; } /** - * - * *
      * Required. The customer's primary domain. Must match the primary contact
      * email's domain.
      * 
* * string domain = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for domain to set. * @return This builder for chaining. */ - public Builder setDomainBytes(com.google.protobuf.ByteString value) { + public Builder setDomainBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domain_ = value; onChanged(); return this; @@ -2205,58 +1987,39 @@ public Builder setDomainBytes(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 customer was 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 the customer was 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 the customer was 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) { @@ -2272,17 +2035,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when the customer was 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(); @@ -2293,21 +2053,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Time when the customer was 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; } @@ -2319,15 +2075,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when the customer was 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) { @@ -2341,64 +2093,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. Time when the customer was 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 the customer was 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 the customer was 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_; @@ -2406,58 +2142,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 the customer was 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 the customer was 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 the customer was 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) { @@ -2473,17 +2190,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when the customer was 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(); @@ -2494,21 +2208,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Time when the customer was 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; } @@ -2520,15 +2230,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when the customer was 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) { @@ -2542,64 +2248,48 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. Time when the customer was 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 the customer was 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 the customer was 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_; @@ -2607,21 +2297,19 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object cloudIdentityId_ = ""; /** - * - * *
      * Output only. The customer's Cloud Identity ID if the customer has a Cloud
      * Identity resource.
      * 
* * string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The cloudIdentityId. */ public java.lang.String getCloudIdentityId() { java.lang.Object ref = cloudIdentityId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cloudIdentityId_ = s; return s; @@ -2630,22 +2318,21 @@ public java.lang.String getCloudIdentityId() { } } /** - * - * *
      * Output only. The customer's Cloud Identity ID if the customer has a Cloud
      * Identity resource.
      * 
* * string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for cloudIdentityId. */ - public com.google.protobuf.ByteString getCloudIdentityIdBytes() { + public com.google.protobuf.ByteString + getCloudIdentityIdBytes() { java.lang.Object ref = cloudIdentityId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cloudIdentityId_ = b; return b; } else { @@ -2653,64 +2340,57 @@ public com.google.protobuf.ByteString getCloudIdentityIdBytes() { } } /** - * - * *
      * Output only. The customer's Cloud Identity ID if the customer has a Cloud
      * Identity resource.
      * 
* * string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The cloudIdentityId to set. * @return This builder for chaining. */ - public Builder setCloudIdentityId(java.lang.String value) { + public Builder setCloudIdentityId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cloudIdentityId_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The customer's Cloud Identity ID if the customer has a Cloud
      * Identity resource.
      * 
* * string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearCloudIdentityId() { - + cloudIdentityId_ = getDefaultInstance().getCloudIdentityId(); onChanged(); return this; } /** - * - * *
      * Output only. The customer's Cloud Identity ID if the customer has a Cloud
      * Identity resource.
      * 
* * string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for cloudIdentityId to set. * @return This builder for chaining. */ - public Builder setCloudIdentityIdBytes(com.google.protobuf.ByteString value) { + public Builder setCloudIdentityIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cloudIdentityId_ = value; onChanged(); return this; @@ -2718,8 +2398,6 @@ public Builder setCloudIdentityIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object languageCode_ = ""; /** - * - * *
      * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
      * information, see
@@ -2727,13 +2405,13 @@ public Builder setCloudIdentityIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -2742,8 +2420,6 @@ public java.lang.String getLanguageCode() { } } /** - * - * *
      * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
      * information, see
@@ -2751,14 +2427,15 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -2766,8 +2443,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } } /** - * - * *
      * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
      * information, see
@@ -2775,22 +2450,20 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode(java.lang.String value) { + public Builder setLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
      * information, see
@@ -2798,18 +2471,15 @@ public Builder setLanguageCode(java.lang.String value) {
      * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** - * - * *
      * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
      * information, see
@@ -2817,16 +2487,16 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; onChanged(); return this; @@ -2834,61 +2504,42 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { private com.google.cloud.channel.v1.CloudIdentityInfo cloudIdentityInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CloudIdentityInfo, - com.google.cloud.channel.v1.CloudIdentityInfo.Builder, - com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder> - cloudIdentityInfoBuilder_; + com.google.cloud.channel.v1.CloudIdentityInfo, com.google.cloud.channel.v1.CloudIdentityInfo.Builder, com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder> cloudIdentityInfoBuilder_; /** - * - * *
      * Output only. Cloud Identity information for the customer.
      * Populated only if a Cloud Identity account exists for this customer.
      * 
* - * - * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the cloudIdentityInfo field is set. */ public boolean hasCloudIdentityInfo() { return cloudIdentityInfoBuilder_ != null || cloudIdentityInfo_ != null; } /** - * - * *
      * Output only. Cloud Identity information for the customer.
      * Populated only if a Cloud Identity account exists for this customer.
      * 
* - * - * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The cloudIdentityInfo. */ public com.google.cloud.channel.v1.CloudIdentityInfo getCloudIdentityInfo() { if (cloudIdentityInfoBuilder_ == null) { - return cloudIdentityInfo_ == null - ? com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() - : cloudIdentityInfo_; + return cloudIdentityInfo_ == null ? com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() : cloudIdentityInfo_; } else { return cloudIdentityInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. Cloud Identity information for the customer.
      * Populated only if a Cloud Identity account exists for this customer.
      * 
* - * - * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCloudIdentityInfo(com.google.cloud.channel.v1.CloudIdentityInfo value) { if (cloudIdentityInfoBuilder_ == null) { @@ -2904,16 +2555,12 @@ public Builder setCloudIdentityInfo(com.google.cloud.channel.v1.CloudIdentityInf return this; } /** - * - * *
      * Output only. Cloud Identity information for the customer.
      * Populated only if a Cloud Identity account exists for this customer.
      * 
* - * - * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCloudIdentityInfo( com.google.cloud.channel.v1.CloudIdentityInfo.Builder builderForValue) { @@ -2927,24 +2574,18 @@ public Builder setCloudIdentityInfo( return this; } /** - * - * *
      * Output only. Cloud Identity information for the customer.
      * Populated only if a Cloud Identity account exists for this customer.
      * 
* - * - * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCloudIdentityInfo(com.google.cloud.channel.v1.CloudIdentityInfo value) { if (cloudIdentityInfoBuilder_ == null) { if (cloudIdentityInfo_ != null) { cloudIdentityInfo_ = - com.google.cloud.channel.v1.CloudIdentityInfo.newBuilder(cloudIdentityInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.CloudIdentityInfo.newBuilder(cloudIdentityInfo_).mergeFrom(value).buildPartial(); } else { cloudIdentityInfo_ = value; } @@ -2956,16 +2597,12 @@ public Builder mergeCloudIdentityInfo(com.google.cloud.channel.v1.CloudIdentityI return this; } /** - * - * *
      * Output only. Cloud Identity information for the customer.
      * Populated only if a Cloud Identity account exists for this customer.
      * 
* - * - * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCloudIdentityInfo() { if (cloudIdentityInfoBuilder_ == null) { @@ -2979,67 +2616,51 @@ public Builder clearCloudIdentityInfo() { return this; } /** - * - * *
      * Output only. Cloud Identity information for the customer.
      * Populated only if a Cloud Identity account exists for this customer.
      * 
* - * - * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.channel.v1.CloudIdentityInfo.Builder getCloudIdentityInfoBuilder() { - + onChanged(); return getCloudIdentityInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Cloud Identity information for the customer.
      * Populated only if a Cloud Identity account exists for this customer.
      * 
* - * - * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder getCloudIdentityInfoOrBuilder() { if (cloudIdentityInfoBuilder_ != null) { return cloudIdentityInfoBuilder_.getMessageOrBuilder(); } else { - return cloudIdentityInfo_ == null - ? com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() - : cloudIdentityInfo_; + return cloudIdentityInfo_ == null ? + com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() : cloudIdentityInfo_; } } /** - * - * *
      * Output only. Cloud Identity information for the customer.
      * Populated only if a Cloud Identity account exists for this customer.
      * 
* - * - * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CloudIdentityInfo, - com.google.cloud.channel.v1.CloudIdentityInfo.Builder, - com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder> + com.google.cloud.channel.v1.CloudIdentityInfo, com.google.cloud.channel.v1.CloudIdentityInfo.Builder, com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder> getCloudIdentityInfoFieldBuilder() { if (cloudIdentityInfoBuilder_ == null) { - cloudIdentityInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CloudIdentityInfo, - com.google.cloud.channel.v1.CloudIdentityInfo.Builder, - com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder>( - getCloudIdentityInfo(), getParentForChildren(), isClean()); + cloudIdentityInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.CloudIdentityInfo, com.google.cloud.channel.v1.CloudIdentityInfo.Builder, com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder>( + getCloudIdentityInfo(), + getParentForChildren(), + isClean()); cloudIdentityInfo_ = null; } return cloudIdentityInfoBuilder_; @@ -3047,21 +2668,19 @@ public com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder getCloudIdentityIn private java.lang.Object channelPartnerId_ = ""; /** - * - * *
      * Cloud Identity ID of the customer's channel partner.
      * Populated only if a channel partner exists for this customer.
      * 
* * string channel_partner_id = 13; - * * @return The channelPartnerId. */ public java.lang.String getChannelPartnerId() { java.lang.Object ref = channelPartnerId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); channelPartnerId_ = s; return s; @@ -3070,22 +2689,21 @@ public java.lang.String getChannelPartnerId() { } } /** - * - * *
      * Cloud Identity ID of the customer's channel partner.
      * Populated only if a channel partner exists for this customer.
      * 
* * string channel_partner_id = 13; - * * @return The bytes for channelPartnerId. */ - public com.google.protobuf.ByteString getChannelPartnerIdBytes() { + public com.google.protobuf.ByteString + getChannelPartnerIdBytes() { java.lang.Object ref = channelPartnerId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); channelPartnerId_ = b; return b; } else { @@ -3093,71 +2711,64 @@ public com.google.protobuf.ByteString getChannelPartnerIdBytes() { } } /** - * - * *
      * Cloud Identity ID of the customer's channel partner.
      * Populated only if a channel partner exists for this customer.
      * 
* * string channel_partner_id = 13; - * * @param value The channelPartnerId to set. * @return This builder for chaining. */ - public Builder setChannelPartnerId(java.lang.String value) { + public Builder setChannelPartnerId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + channelPartnerId_ = value; onChanged(); return this; } /** - * - * *
      * Cloud Identity ID of the customer's channel partner.
      * Populated only if a channel partner exists for this customer.
      * 
* * string channel_partner_id = 13; - * * @return This builder for chaining. */ public Builder clearChannelPartnerId() { - + channelPartnerId_ = getDefaultInstance().getChannelPartnerId(); onChanged(); return this; } /** - * - * *
      * Cloud Identity ID of the customer's channel partner.
      * Populated only if a channel partner exists for this customer.
      * 
* * string channel_partner_id = 13; - * * @param value The bytes for channelPartnerId to set. * @return This builder for chaining. */ - public Builder setChannelPartnerIdBytes(com.google.protobuf.ByteString value) { + public Builder setChannelPartnerIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + channelPartnerId_ = 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); } @@ -3167,12 +2778,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.Customer) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.Customer) private static final com.google.cloud.channel.v1.Customer DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.Customer(); } @@ -3181,27 +2792,27 @@ public static com.google.cloud.channel.v1.Customer getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Customer parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Customer parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3216,4 +2827,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Customer getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraints.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraints.java similarity index 69% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraints.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraints.java index 1048f167145a..3f3e7a7b0466 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraints.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraints.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/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; /** - * - * *
  * Represents constraints required to purchase the Offer for a customer.
  * 
* * Protobuf type {@code google.cloud.channel.v1.CustomerConstraints} */ -public final class CustomerConstraints extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CustomerConstraints extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.CustomerConstraints) CustomerConstraintsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CustomerConstraints.newBuilder() to construct. private CustomerConstraints(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CustomerConstraints() { allowedRegions_ = com.google.protobuf.LazyStringArrayList.EMPTY; allowedCustomerTypes_ = java.util.Collections.emptyList(); @@ -45,69 +27,60 @@ private CustomerConstraints() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CustomerConstraints(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_CustomerConstraints_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_CustomerConstraints_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_CustomerConstraints_fieldAccessorTable + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_CustomerConstraints_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.CustomerConstraints.class, - com.google.cloud.channel.v1.CustomerConstraints.Builder.class); + com.google.cloud.channel.v1.CustomerConstraints.class, com.google.cloud.channel.v1.CustomerConstraints.Builder.class); } public static final int ALLOWED_REGIONS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList allowedRegions_; /** - * - * *
    * Allowed geographical regions of the customer.
    * 
* * repeated string allowed_regions = 1; - * * @return A list containing the allowedRegions. */ - public com.google.protobuf.ProtocolStringList getAllowedRegionsList() { + public com.google.protobuf.ProtocolStringList + getAllowedRegionsList() { return allowedRegions_; } /** - * - * *
    * Allowed geographical regions of the customer.
    * 
* * repeated string allowed_regions = 1; - * * @return The count of allowedRegions. */ public int getAllowedRegionsCount() { return allowedRegions_.size(); } /** - * - * *
    * Allowed geographical regions of the customer.
    * 
* * repeated string allowed_regions = 1; - * * @param index The index of the element to return. * @return The allowedRegions at the given index. */ @@ -115,69 +88,50 @@ public java.lang.String getAllowedRegions(int index) { return allowedRegions_.get(index); } /** - * - * *
    * Allowed geographical regions of the customer.
    * 
* * repeated string allowed_regions = 1; - * * @param index The index of the value to return. * @return The bytes of the allowedRegions at the given index. */ - public com.google.protobuf.ByteString getAllowedRegionsBytes(int index) { + public com.google.protobuf.ByteString + getAllowedRegionsBytes(int index) { return allowedRegions_.getByteString(index); } public static final int ALLOWED_CUSTOMER_TYPES_FIELD_NUMBER = 2; private java.util.List allowedCustomerTypes_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType> - allowedCustomerTypes_converter_ = + java.lang.Integer, com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType> allowedCustomerTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType>() { - public com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType convert( - java.lang.Integer from) { + public com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType result = - com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType.valueOf(from); - return result == null - ? com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType.UNRECOGNIZED - : result; + com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType result = com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType.valueOf(from); + return result == null ? com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType.UNRECOGNIZED : result; } }; /** - * - * *
    * Allowed Customer Type.
    * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; - * - * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; * @return A list containing the allowedCustomerTypes. */ @java.lang.Override - public java.util.List - getAllowedCustomerTypesList() { + public java.util.List getAllowedCustomerTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType>( - allowedCustomerTypes_, allowedCustomerTypes_converter_); + java.lang.Integer, com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType>(allowedCustomerTypes_, allowedCustomerTypes_converter_); } /** - * - * *
    * Allowed Customer Type.
    * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; - * - * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; * @return The count of allowedCustomerTypes. */ @java.lang.Override @@ -185,52 +139,37 @@ public int getAllowedCustomerTypesCount() { return allowedCustomerTypes_.size(); } /** - * - * *
    * Allowed Customer Type.
    * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; - * - * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; * @param index The index of the element to return. * @return The allowedCustomerTypes at the given index. */ @java.lang.Override - public com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType getAllowedCustomerTypes( - int index) { + public com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType getAllowedCustomerTypes(int index) { return allowedCustomerTypes_converter_.convert(allowedCustomerTypes_.get(index)); } /** - * - * *
    * Allowed Customer Type.
    * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; - * - * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; * @return A list containing the enum numeric values on the wire for allowedCustomerTypes. */ @java.lang.Override - public java.util.List getAllowedCustomerTypesValueList() { + public java.util.List + getAllowedCustomerTypesValueList() { return allowedCustomerTypes_; } /** - * - * *
    * Allowed Customer Type.
    * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; - * - * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; * @param index The index of the value to return. * @return The enum numeric value on the wire of allowedCustomerTypes at the given index. */ @@ -238,55 +177,39 @@ public java.util.List getAllowedCustomerTypesValueList() { public int getAllowedCustomerTypesValue(int index) { return allowedCustomerTypes_.get(index); } - private int allowedCustomerTypesMemoizedSerializedSize; public static final int PROMOTIONAL_ORDER_TYPES_FIELD_NUMBER = 3; private java.util.List promotionalOrderTypes_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.channel.v1.PromotionalOrderType> - promotionalOrderTypes_converter_ = + java.lang.Integer, com.google.cloud.channel.v1.PromotionalOrderType> promotionalOrderTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.channel.v1.PromotionalOrderType>() { - public com.google.cloud.channel.v1.PromotionalOrderType convert( - java.lang.Integer from) { + public com.google.cloud.channel.v1.PromotionalOrderType convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.PromotionalOrderType result = - com.google.cloud.channel.v1.PromotionalOrderType.valueOf(from); - return result == null - ? com.google.cloud.channel.v1.PromotionalOrderType.UNRECOGNIZED - : result; + com.google.cloud.channel.v1.PromotionalOrderType result = com.google.cloud.channel.v1.PromotionalOrderType.valueOf(from); + return result == null ? com.google.cloud.channel.v1.PromotionalOrderType.UNRECOGNIZED : result; } }; /** - * - * *
    * Allowed Promotional Order Type. Present for Promotional offers.
    * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; - * - * + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; * @return A list containing the promotionalOrderTypes. */ @java.lang.Override - public java.util.List - getPromotionalOrderTypesList() { + public java.util.List getPromotionalOrderTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.channel.v1.PromotionalOrderType>( - promotionalOrderTypes_, promotionalOrderTypes_converter_); + java.lang.Integer, com.google.cloud.channel.v1.PromotionalOrderType>(promotionalOrderTypes_, promotionalOrderTypes_converter_); } /** - * - * *
    * Allowed Promotional Order Type. Present for Promotional offers.
    * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; - * - * + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; * @return The count of promotionalOrderTypes. */ @java.lang.Override @@ -294,15 +217,11 @@ public int getPromotionalOrderTypesCount() { return promotionalOrderTypes_.size(); } /** - * - * *
    * Allowed Promotional Order Type. Present for Promotional offers.
    * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; - * - * + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; * @param index The index of the element to return. * @return The promotionalOrderTypes at the given index. */ @@ -311,31 +230,24 @@ public com.google.cloud.channel.v1.PromotionalOrderType getPromotionalOrderTypes return promotionalOrderTypes_converter_.convert(promotionalOrderTypes_.get(index)); } /** - * - * *
    * Allowed Promotional Order Type. Present for Promotional offers.
    * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; - * - * + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; * @return A list containing the enum numeric values on the wire for promotionalOrderTypes. */ @java.lang.Override - public java.util.List getPromotionalOrderTypesValueList() { + public java.util.List + getPromotionalOrderTypesValueList() { return promotionalOrderTypes_; } /** - * - * *
    * Allowed Promotional Order Type. Present for Promotional offers.
    * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; - * - * + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; * @param index The index of the value to return. * @return The enum numeric value on the wire of promotionalOrderTypes at the given index. */ @@ -343,11 +255,9 @@ public java.util.List getPromotionalOrderTypesValueList() { public int getPromotionalOrderTypesValue(int index) { return promotionalOrderTypes_.get(index); } - private int promotionalOrderTypesMemoizedSerializedSize; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -359,7 +269,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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(); for (int i = 0; i < allowedRegions_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, allowedRegions_.getRaw(i)); @@ -398,30 +309,26 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < allowedCustomerTypes_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag( - allowedCustomerTypes_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(allowedCustomerTypes_.get(i)); } size += dataSize; - if (!getAllowedCustomerTypesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - allowedCustomerTypesMemoizedSerializedSize = dataSize; + if (!getAllowedCustomerTypesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }allowedCustomerTypesMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < promotionalOrderTypes_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag( - promotionalOrderTypes_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(promotionalOrderTypes_.get(i)); } size += dataSize; - if (!getPromotionalOrderTypesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - promotionalOrderTypesMemoizedSerializedSize = dataSize; + if (!getPromotionalOrderTypesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }promotionalOrderTypesMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -431,15 +338,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.CustomerConstraints)) { return super.equals(obj); } - com.google.cloud.channel.v1.CustomerConstraints other = - (com.google.cloud.channel.v1.CustomerConstraints) obj; + com.google.cloud.channel.v1.CustomerConstraints other = (com.google.cloud.channel.v1.CustomerConstraints) obj; - if (!getAllowedRegionsList().equals(other.getAllowedRegionsList())) return false; + if (!getAllowedRegionsList() + .equals(other.getAllowedRegionsList())) return false; if (!allowedCustomerTypes_.equals(other.allowedCustomerTypes_)) return false; if (!promotionalOrderTypes_.equals(other.promotionalOrderTypes_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -470,136 +377,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.CustomerConstraints parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.CustomerConstraints parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CustomerConstraints parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CustomerConstraints parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CustomerConstraints parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CustomerConstraints parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CustomerConstraints parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CustomerConstraints 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.cloud.channel.v1.CustomerConstraints parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.CustomerConstraints parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.CustomerConstraints parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CustomerConstraints parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.CustomerConstraints parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CustomerConstraints parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.CustomerConstraints prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents constraints required to purchase the Offer for a customer.
    * 
* * Protobuf type {@code google.cloud.channel.v1.CustomerConstraints} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.CustomerConstraints) com.google.cloud.channel.v1.CustomerConstraintsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_CustomerConstraints_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_CustomerConstraints_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_CustomerConstraints_fieldAccessorTable + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_CustomerConstraints_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.CustomerConstraints.class, - com.google.cloud.channel.v1.CustomerConstraints.Builder.class); + com.google.cloud.channel.v1.CustomerConstraints.class, com.google.cloud.channel.v1.CustomerConstraints.Builder.class); } // Construct using com.google.cloud.channel.v1.CustomerConstraints.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -613,9 +514,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_CustomerConstraints_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_CustomerConstraints_descriptor; } @java.lang.Override @@ -634,8 +535,7 @@ public com.google.cloud.channel.v1.CustomerConstraints build() { @java.lang.Override public com.google.cloud.channel.v1.CustomerConstraints buildPartial() { - com.google.cloud.channel.v1.CustomerConstraints result = - new com.google.cloud.channel.v1.CustomerConstraints(this); + com.google.cloud.channel.v1.CustomerConstraints result = new com.google.cloud.channel.v1.CustomerConstraints(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { allowedRegions_ = allowedRegions_.getUnmodifiableView(); @@ -660,39 +560,38 @@ public com.google.cloud.channel.v1.CustomerConstraints 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.cloud.channel.v1.CustomerConstraints) { - return mergeFrom((com.google.cloud.channel.v1.CustomerConstraints) other); + return mergeFrom((com.google.cloud.channel.v1.CustomerConstraints)other); } else { super.mergeFrom(other); return this; @@ -700,8 +599,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.CustomerConstraints other) { - if (other == com.google.cloud.channel.v1.CustomerConstraints.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.CustomerConstraints.getDefaultInstance()) return this; if (!other.allowedRegions_.isEmpty()) { if (allowedRegions_.isEmpty()) { allowedRegions_ = other.allowedRegions_; @@ -758,58 +656,52 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureAllowedRegionsIsMutable(); - allowedRegions_.add(s); - break; - } // case 10 - case 16: - { + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureAllowedRegionsIsMutable(); + allowedRegions_.add(s); + break; + } // case 10 + case 16: { + int tmpRaw = input.readEnum(); + ensureAllowedCustomerTypesIsMutable(); + allowedCustomerTypes_.add(tmpRaw); + break; + } // case 16 + case 18: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureAllowedCustomerTypesIsMutable(); allowedCustomerTypes_.add(tmpRaw); - break; - } // case 16 - case 18: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureAllowedCustomerTypesIsMutable(); - allowedCustomerTypes_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 18 - case 24: - { + } + input.popLimit(oldLimit); + break; + } // case 18 + case 24: { + int tmpRaw = input.readEnum(); + ensurePromotionalOrderTypesIsMutable(); + promotionalOrderTypes_.add(tmpRaw); + break; + } // case 24 + case 26: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensurePromotionalOrderTypesIsMutable(); promotionalOrderTypes_.add(tmpRaw); - break; - } // case 24 - case 26: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensurePromotionalOrderTypesIsMutable(); - promotionalOrderTypes_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + } + input.popLimit(oldLimit); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -819,55 +711,44 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList allowedRegions_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList allowedRegions_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAllowedRegionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { allowedRegions_ = new com.google.protobuf.LazyStringArrayList(allowedRegions_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Allowed geographical regions of the customer.
      * 
* * repeated string allowed_regions = 1; - * * @return A list containing the allowedRegions. */ - public com.google.protobuf.ProtocolStringList getAllowedRegionsList() { + public com.google.protobuf.ProtocolStringList + getAllowedRegionsList() { return allowedRegions_.getUnmodifiableView(); } /** - * - * *
      * Allowed geographical regions of the customer.
      * 
* * repeated string allowed_regions = 1; - * * @return The count of allowedRegions. */ public int getAllowedRegionsCount() { return allowedRegions_.size(); } /** - * - * *
      * Allowed geographical regions of the customer.
      * 
* * repeated string allowed_regions = 1; - * * @param index The index of the element to return. * @return The allowedRegions at the given index. */ @@ -875,90 +756,80 @@ public java.lang.String getAllowedRegions(int index) { return allowedRegions_.get(index); } /** - * - * *
      * Allowed geographical regions of the customer.
      * 
* * repeated string allowed_regions = 1; - * * @param index The index of the value to return. * @return The bytes of the allowedRegions at the given index. */ - public com.google.protobuf.ByteString getAllowedRegionsBytes(int index) { + public com.google.protobuf.ByteString + getAllowedRegionsBytes(int index) { return allowedRegions_.getByteString(index); } /** - * - * *
      * Allowed geographical regions of the customer.
      * 
* * repeated string allowed_regions = 1; - * * @param index The index to set the value at. * @param value The allowedRegions to set. * @return This builder for chaining. */ - public Builder setAllowedRegions(int index, java.lang.String value) { + public Builder setAllowedRegions( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAllowedRegionsIsMutable(); + throw new NullPointerException(); + } + ensureAllowedRegionsIsMutable(); allowedRegions_.set(index, value); onChanged(); return this; } /** - * - * *
      * Allowed geographical regions of the customer.
      * 
* * repeated string allowed_regions = 1; - * * @param value The allowedRegions to add. * @return This builder for chaining. */ - public Builder addAllowedRegions(java.lang.String value) { + public Builder addAllowedRegions( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAllowedRegionsIsMutable(); + throw new NullPointerException(); + } + ensureAllowedRegionsIsMutable(); allowedRegions_.add(value); onChanged(); return this; } /** - * - * *
      * Allowed geographical regions of the customer.
      * 
* * repeated string allowed_regions = 1; - * * @param values The allowedRegions to add. * @return This builder for chaining. */ - public Builder addAllAllowedRegions(java.lang.Iterable values) { + public Builder addAllAllowedRegions( + java.lang.Iterable values) { ensureAllowedRegionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedRegions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, allowedRegions_); onChanged(); return this; } /** - * - * *
      * Allowed geographical regions of the customer.
      * 
* * repeated string allowed_regions = 1; - * * @return This builder for chaining. */ public Builder clearAllowedRegions() { @@ -968,22 +839,20 @@ public Builder clearAllowedRegions() { return this; } /** - * - * *
      * Allowed geographical regions of the customer.
      * 
* * repeated string allowed_regions = 1; - * * @param value The bytes of the allowedRegions to add. * @return This builder for chaining. */ - public Builder addAllowedRegionsBytes(com.google.protobuf.ByteString value) { + public Builder addAllowedRegionsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAllowedRegionsIsMutable(); allowedRegions_.add(value); onChanged(); @@ -991,8 +860,7 @@ public Builder addAllowedRegionsBytes(com.google.protobuf.ByteString value) { } private java.util.List allowedCustomerTypes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAllowedCustomerTypesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { allowedCustomerTypes_ = new java.util.ArrayList(allowedCustomerTypes_); @@ -1000,69 +868,46 @@ private void ensureAllowedCustomerTypesIsMutable() { } } /** - * - * *
      * Allowed Customer Type.
      * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; - * - * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; * @return A list containing the allowedCustomerTypes. */ - public java.util.List - getAllowedCustomerTypesList() { + public java.util.List getAllowedCustomerTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType>( - allowedCustomerTypes_, allowedCustomerTypes_converter_); + java.lang.Integer, com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType>(allowedCustomerTypes_, allowedCustomerTypes_converter_); } /** - * - * *
      * Allowed Customer Type.
      * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; - * - * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; * @return The count of allowedCustomerTypes. */ public int getAllowedCustomerTypesCount() { return allowedCustomerTypes_.size(); } /** - * - * *
      * Allowed Customer Type.
      * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; - * - * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; * @param index The index of the element to return. * @return The allowedCustomerTypes at the given index. */ - public com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType getAllowedCustomerTypes( - int index) { + public com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType getAllowedCustomerTypes(int index) { return allowedCustomerTypes_converter_.convert(allowedCustomerTypes_.get(index)); } /** - * - * *
      * Allowed Customer Type.
      * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; - * - * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; * @param index The index to set the value at. * @param value The allowedCustomerTypes to set. * @return This builder for chaining. @@ -1078,21 +923,15 @@ public Builder setAllowedCustomerTypes( return this; } /** - * - * *
      * Allowed Customer Type.
      * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; - * - * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; * @param value The allowedCustomerTypes to add. * @return This builder for chaining. */ - public Builder addAllowedCustomerTypes( - com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType value) { + public Builder addAllowedCustomerTypes(com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType value) { if (value == null) { throw new NullPointerException(); } @@ -1102,22 +941,16 @@ public Builder addAllowedCustomerTypes( return this; } /** - * - * *
      * Allowed Customer Type.
      * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; - * - * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; * @param values The allowedCustomerTypes to add. * @return This builder for chaining. */ public Builder addAllAllowedCustomerTypes( - java.lang.Iterable - values) { + java.lang.Iterable values) { ensureAllowedCustomerTypesIsMutable(); for (com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType value : values) { allowedCustomerTypes_.add(value.getNumber()); @@ -1126,16 +959,11 @@ public Builder addAllAllowedCustomerTypes( return this; } /** - * - * *
      * Allowed Customer Type.
      * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; - * - * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; * @return This builder for chaining. */ public Builder clearAllowedCustomerTypes() { @@ -1145,32 +973,23 @@ public Builder clearAllowedCustomerTypes() { return this; } /** - * - * *
      * Allowed Customer Type.
      * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; - * - * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; * @return A list containing the enum numeric values on the wire for allowedCustomerTypes. */ - public java.util.List getAllowedCustomerTypesValueList() { + public java.util.List + getAllowedCustomerTypesValueList() { return java.util.Collections.unmodifiableList(allowedCustomerTypes_); } /** - * - * *
      * Allowed Customer Type.
      * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; - * - * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; * @param index The index of the value to return. * @return The enum numeric value on the wire of allowedCustomerTypes at the given index. */ @@ -1178,37 +997,28 @@ public int getAllowedCustomerTypesValue(int index) { return allowedCustomerTypes_.get(index); } /** - * - * *
      * Allowed Customer Type.
      * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; - * - * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; * @param index The index to set the value at. * @param value The enum numeric value on the wire for allowedCustomerTypes to set. * @return This builder for chaining. */ - public Builder setAllowedCustomerTypesValue(int index, int value) { + public Builder setAllowedCustomerTypesValue( + int index, int value) { ensureAllowedCustomerTypesIsMutable(); allowedCustomerTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * Allowed Customer Type.
      * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; - * - * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; * @param value The enum numeric value on the wire for allowedCustomerTypes to add. * @return This builder for chaining. */ @@ -1219,20 +1029,16 @@ public Builder addAllowedCustomerTypesValue(int value) { return this; } /** - * - * *
      * Allowed Customer Type.
      * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; - * - * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; * @param values The enum numeric values on the wire for allowedCustomerTypes to add. * @return This builder for chaining. */ - public Builder addAllAllowedCustomerTypesValue(java.lang.Iterable values) { + public Builder addAllAllowedCustomerTypesValue( + java.lang.Iterable values) { ensureAllowedCustomerTypesIsMutable(); for (int value : values) { allowedCustomerTypes_.add(value); @@ -1242,8 +1048,7 @@ public Builder addAllAllowedCustomerTypesValue(java.lang.Iterable promotionalOrderTypes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePromotionalOrderTypesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { promotionalOrderTypes_ = new java.util.ArrayList(promotionalOrderTypes_); @@ -1251,48 +1056,34 @@ private void ensurePromotionalOrderTypesIsMutable() { } } /** - * - * *
      * Allowed Promotional Order Type. Present for Promotional offers.
      * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; - * - * + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; * @return A list containing the promotionalOrderTypes. */ - public java.util.List - getPromotionalOrderTypesList() { + public java.util.List getPromotionalOrderTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.channel.v1.PromotionalOrderType>( - promotionalOrderTypes_, promotionalOrderTypes_converter_); + java.lang.Integer, com.google.cloud.channel.v1.PromotionalOrderType>(promotionalOrderTypes_, promotionalOrderTypes_converter_); } /** - * - * *
      * Allowed Promotional Order Type. Present for Promotional offers.
      * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; - * - * + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; * @return The count of promotionalOrderTypes. */ public int getPromotionalOrderTypesCount() { return promotionalOrderTypes_.size(); } /** - * - * *
      * Allowed Promotional Order Type. Present for Promotional offers.
      * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; - * - * + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; * @param index The index of the element to return. * @return The promotionalOrderTypes at the given index. */ @@ -1300,15 +1091,11 @@ public com.google.cloud.channel.v1.PromotionalOrderType getPromotionalOrderTypes return promotionalOrderTypes_converter_.convert(promotionalOrderTypes_.get(index)); } /** - * - * *
      * Allowed Promotional Order Type. Present for Promotional offers.
      * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; - * - * + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; * @param index The index to set the value at. * @param value The promotionalOrderTypes to set. * @return This builder for chaining. @@ -1324,20 +1111,15 @@ public Builder setPromotionalOrderTypes( return this; } /** - * - * *
      * Allowed Promotional Order Type. Present for Promotional offers.
      * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; - * - * + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; * @param value The promotionalOrderTypes to add. * @return This builder for chaining. */ - public Builder addPromotionalOrderTypes( - com.google.cloud.channel.v1.PromotionalOrderType value) { + public Builder addPromotionalOrderTypes(com.google.cloud.channel.v1.PromotionalOrderType value) { if (value == null) { throw new NullPointerException(); } @@ -1347,15 +1129,11 @@ public Builder addPromotionalOrderTypes( return this; } /** - * - * *
      * Allowed Promotional Order Type. Present for Promotional offers.
      * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; - * - * + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; * @param values The promotionalOrderTypes to add. * @return This builder for chaining. */ @@ -1369,15 +1147,11 @@ public Builder addAllPromotionalOrderTypes( return this; } /** - * - * *
      * Allowed Promotional Order Type. Present for Promotional offers.
      * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; - * - * + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; * @return This builder for chaining. */ public Builder clearPromotionalOrderTypes() { @@ -1387,30 +1161,23 @@ public Builder clearPromotionalOrderTypes() { return this; } /** - * - * *
      * Allowed Promotional Order Type. Present for Promotional offers.
      * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; - * - * + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; * @return A list containing the enum numeric values on the wire for promotionalOrderTypes. */ - public java.util.List getPromotionalOrderTypesValueList() { + public java.util.List + getPromotionalOrderTypesValueList() { return java.util.Collections.unmodifiableList(promotionalOrderTypes_); } /** - * - * *
      * Allowed Promotional Order Type. Present for Promotional offers.
      * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; - * - * + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; * @param index The index of the value to return. * @return The enum numeric value on the wire of promotionalOrderTypes at the given index. */ @@ -1418,35 +1185,28 @@ public int getPromotionalOrderTypesValue(int index) { return promotionalOrderTypes_.get(index); } /** - * - * *
      * Allowed Promotional Order Type. Present for Promotional offers.
      * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; - * - * + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; * @param index The index to set the value at. * @param value The enum numeric value on the wire for promotionalOrderTypes to set. * @return This builder for chaining. */ - public Builder setPromotionalOrderTypesValue(int index, int value) { + public Builder setPromotionalOrderTypesValue( + int index, int value) { ensurePromotionalOrderTypesIsMutable(); promotionalOrderTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * Allowed Promotional Order Type. Present for Promotional offers.
      * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; - * - * + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; * @param value The enum numeric value on the wire for promotionalOrderTypes to add. * @return This builder for chaining. */ @@ -1457,19 +1217,16 @@ public Builder addPromotionalOrderTypesValue(int value) { return this; } /** - * - * *
      * Allowed Promotional Order Type. Present for Promotional offers.
      * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; - * - * + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; * @param values The enum numeric values on the wire for promotionalOrderTypes to add. * @return This builder for chaining. */ - public Builder addAllPromotionalOrderTypesValue(java.lang.Iterable values) { + public Builder addAllPromotionalOrderTypesValue( + java.lang.Iterable values) { ensurePromotionalOrderTypesIsMutable(); for (int value : values) { promotionalOrderTypes_.add(value); @@ -1477,9 +1234,9 @@ public Builder addAllPromotionalOrderTypesValue(java.lang.Iterable PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomerConstraints parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomerConstraints parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1538,4 +1295,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.CustomerConstraints getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraintsOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraintsOrBuilder.java similarity index 65% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraintsOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraintsOrBuilder.java index 5107108df901..df9fa18e78ab 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraintsOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraintsOrBuilder.java @@ -1,216 +1,146 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; -public interface CustomerConstraintsOrBuilder - extends +public interface CustomerConstraintsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CustomerConstraints) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Allowed geographical regions of the customer.
    * 
* * repeated string allowed_regions = 1; - * * @return A list containing the allowedRegions. */ - java.util.List getAllowedRegionsList(); + java.util.List + getAllowedRegionsList(); /** - * - * *
    * Allowed geographical regions of the customer.
    * 
* * repeated string allowed_regions = 1; - * * @return The count of allowedRegions. */ int getAllowedRegionsCount(); /** - * - * *
    * Allowed geographical regions of the customer.
    * 
* * repeated string allowed_regions = 1; - * * @param index The index of the element to return. * @return The allowedRegions at the given index. */ java.lang.String getAllowedRegions(int index); /** - * - * *
    * Allowed geographical regions of the customer.
    * 
* * repeated string allowed_regions = 1; - * * @param index The index of the value to return. * @return The bytes of the allowedRegions at the given index. */ - com.google.protobuf.ByteString getAllowedRegionsBytes(int index); + com.google.protobuf.ByteString + getAllowedRegionsBytes(int index); /** - * - * *
    * Allowed Customer Type.
    * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; - * - * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; * @return A list containing the allowedCustomerTypes. */ - java.util.List - getAllowedCustomerTypesList(); + java.util.List getAllowedCustomerTypesList(); /** - * - * *
    * Allowed Customer Type.
    * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; - * - * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; * @return The count of allowedCustomerTypes. */ int getAllowedCustomerTypesCount(); /** - * - * *
    * Allowed Customer Type.
    * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; - * - * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; * @param index The index of the element to return. * @return The allowedCustomerTypes at the given index. */ com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType getAllowedCustomerTypes(int index); /** - * - * *
    * Allowed Customer Type.
    * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; - * - * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; * @return A list containing the enum numeric values on the wire for allowedCustomerTypes. */ - java.util.List getAllowedCustomerTypesValueList(); + java.util.List + getAllowedCustomerTypesValueList(); /** - * - * *
    * Allowed Customer Type.
    * 
* - * - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; - * - * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; * @param index The index of the value to return. * @return The enum numeric value on the wire of allowedCustomerTypes at the given index. */ int getAllowedCustomerTypesValue(int index); /** - * - * *
    * Allowed Promotional Order Type. Present for Promotional offers.
    * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; - * - * + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; * @return A list containing the promotionalOrderTypes. */ java.util.List getPromotionalOrderTypesList(); /** - * - * *
    * Allowed Promotional Order Type. Present for Promotional offers.
    * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; - * - * + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; * @return The count of promotionalOrderTypes. */ int getPromotionalOrderTypesCount(); /** - * - * *
    * Allowed Promotional Order Type. Present for Promotional offers.
    * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; - * - * + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; * @param index The index of the element to return. * @return The promotionalOrderTypes at the given index. */ com.google.cloud.channel.v1.PromotionalOrderType getPromotionalOrderTypes(int index); /** - * - * *
    * Allowed Promotional Order Type. Present for Promotional offers.
    * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; - * - * + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; * @return A list containing the enum numeric values on the wire for promotionalOrderTypes. */ - java.util.List getPromotionalOrderTypesValueList(); + java.util.List + getPromotionalOrderTypesValueList(); /** - * - * *
    * Allowed Promotional Order Type. Present for Promotional offers.
    * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; - * - * + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; * @param index The index of the value to return. * @return The enum numeric value on the wire of promotionalOrderTypes at the given index. */ diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEvent.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEvent.java similarity index 69% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEvent.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEvent.java index 097dfe6547b3..f12013af0267 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEvent.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEvent.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/cloud/channel/v1/subscriber_event.proto package com.google.cloud.channel.v1; /** - * - * *
  * Represents Pub/Sub message content describing customer update.
  * 
* * Protobuf type {@code google.cloud.channel.v1.CustomerEvent} */ -public final class CustomerEvent extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CustomerEvent extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.CustomerEvent) CustomerEventOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CustomerEvent.newBuilder() to construct. private CustomerEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CustomerEvent() { customer_ = ""; eventType_ = 0; @@ -44,43 +26,39 @@ private CustomerEvent() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CustomerEvent(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.SubscriberEventProto - .internal_static_google_cloud_channel_v1_CustomerEvent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.SubscriberEventProto.internal_static_google_cloud_channel_v1_CustomerEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.SubscriberEventProto - .internal_static_google_cloud_channel_v1_CustomerEvent_fieldAccessorTable + return com.google.cloud.channel.v1.SubscriberEventProto.internal_static_google_cloud_channel_v1_CustomerEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.CustomerEvent.class, - com.google.cloud.channel.v1.CustomerEvent.Builder.class); + com.google.cloud.channel.v1.CustomerEvent.class, com.google.cloud.channel.v1.CustomerEvent.Builder.class); } /** - * - * *
    * Type of customer event.
    * 
* * Protobuf enum {@code google.cloud.channel.v1.CustomerEvent.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not used.
      * 
@@ -89,8 +67,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * Primary domain for customer was changed.
      * 
@@ -99,8 +75,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ PRIMARY_DOMAIN_CHANGED(1), /** - * - * *
      * Primary domain of the customer has been verified.
      * 
@@ -112,8 +86,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Not used.
      * 
@@ -122,8 +94,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Primary domain for customer was changed.
      * 
@@ -132,8 +102,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRIMARY_DOMAIN_CHANGED_VALUE = 1; /** - * - * *
      * Primary domain of the customer has been verified.
      * 
@@ -142,6 +110,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRIMARY_DOMAIN_VERIFIED_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -166,49 +135,49 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return TYPE_UNSPECIFIED; - case 1: - return PRIMARY_DOMAIN_CHANGED; - case 2: - return PRIMARY_DOMAIN_VERIFIED; - default: - return null; + case 0: return TYPE_UNSPECIFIED; + case 1: return PRIMARY_DOMAIN_CHANGED; + case 2: return PRIMARY_DOMAIN_VERIFIED; + 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< + Type> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.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.cloud.channel.v1.CustomerEvent.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type 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; @@ -228,15 +197,12 @@ private Type(int value) { public static final int CUSTOMER_FIELD_NUMBER = 1; private volatile java.lang.Object customer_; /** - * - * *
    * Resource name of the customer.
    * Format: accounts/{account_id}/customers/{customer_id}
    * 
* * string customer = 1 [(.google.api.resource_reference) = { ... } - * * @return The customer. */ @java.lang.Override @@ -245,30 +211,30 @@ public java.lang.String getCustomer() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customer_ = s; return s; } } /** - * - * *
    * Resource name of the customer.
    * Format: accounts/{account_id}/customers/{customer_id}
    * 
* * string customer = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for customer. */ @java.lang.Override - public com.google.protobuf.ByteString getCustomerBytes() { + public com.google.protobuf.ByteString + getCustomerBytes() { java.lang.Object ref = customer_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); customer_ = b; return b; } else { @@ -279,41 +245,31 @@ public com.google.protobuf.ByteString getCustomerBytes() { public static final int EVENT_TYPE_FIELD_NUMBER = 2; private int eventType_; /** - * - * *
    * Type of event which happened on the customer.
    * 
* * .google.cloud.channel.v1.CustomerEvent.Type event_type = 2; - * * @return The enum numeric value on the wire for eventType. */ - @java.lang.Override - public int getEventTypeValue() { + @java.lang.Override public int getEventTypeValue() { return eventType_; } /** - * - * *
    * Type of event which happened on the customer.
    * 
* * .google.cloud.channel.v1.CustomerEvent.Type event_type = 2; - * * @return The eventType. */ - @java.lang.Override - public com.google.cloud.channel.v1.CustomerEvent.Type getEventType() { + @java.lang.Override public com.google.cloud.channel.v1.CustomerEvent.Type getEventType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.CustomerEvent.Type result = - com.google.cloud.channel.v1.CustomerEvent.Type.valueOf(eventType_); + com.google.cloud.channel.v1.CustomerEvent.Type result = com.google.cloud.channel.v1.CustomerEvent.Type.valueOf(eventType_); return result == null ? com.google.cloud.channel.v1.CustomerEvent.Type.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -325,7 +281,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(customer_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, customer_); } @@ -345,7 +302,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, customer_); } if (eventType_ != com.google.cloud.channel.v1.CustomerEvent.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, eventType_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, eventType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -355,15 +313,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.CustomerEvent)) { return super.equals(obj); } - com.google.cloud.channel.v1.CustomerEvent other = - (com.google.cloud.channel.v1.CustomerEvent) obj; + com.google.cloud.channel.v1.CustomerEvent other = (com.google.cloud.channel.v1.CustomerEvent) obj; - if (!getCustomer().equals(other.getCustomer())) return false; + if (!getCustomer() + .equals(other.getCustomer())) return false; if (eventType_ != other.eventType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -385,136 +343,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.CustomerEvent parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.CustomerEvent parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CustomerEvent parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CustomerEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CustomerEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CustomerEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CustomerEvent parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CustomerEvent 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.cloud.channel.v1.CustomerEvent parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.CustomerEvent parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.CustomerEvent parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CustomerEvent parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.CustomerEvent parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CustomerEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.CustomerEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents Pub/Sub message content describing customer update.
    * 
* * Protobuf type {@code google.cloud.channel.v1.CustomerEvent} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.CustomerEvent) com.google.cloud.channel.v1.CustomerEventOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.SubscriberEventProto - .internal_static_google_cloud_channel_v1_CustomerEvent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.SubscriberEventProto.internal_static_google_cloud_channel_v1_CustomerEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.SubscriberEventProto - .internal_static_google_cloud_channel_v1_CustomerEvent_fieldAccessorTable + return com.google.cloud.channel.v1.SubscriberEventProto.internal_static_google_cloud_channel_v1_CustomerEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.CustomerEvent.class, - com.google.cloud.channel.v1.CustomerEvent.Builder.class); + com.google.cloud.channel.v1.CustomerEvent.class, com.google.cloud.channel.v1.CustomerEvent.Builder.class); } // Construct using com.google.cloud.channel.v1.CustomerEvent.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -526,9 +478,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.SubscriberEventProto - .internal_static_google_cloud_channel_v1_CustomerEvent_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.SubscriberEventProto.internal_static_google_cloud_channel_v1_CustomerEvent_descriptor; } @java.lang.Override @@ -547,8 +499,7 @@ public com.google.cloud.channel.v1.CustomerEvent build() { @java.lang.Override public com.google.cloud.channel.v1.CustomerEvent buildPartial() { - com.google.cloud.channel.v1.CustomerEvent result = - new com.google.cloud.channel.v1.CustomerEvent(this); + com.google.cloud.channel.v1.CustomerEvent result = new com.google.cloud.channel.v1.CustomerEvent(this); result.customer_ = customer_; result.eventType_ = eventType_; onBuilt(); @@ -559,39 +510,38 @@ public com.google.cloud.channel.v1.CustomerEvent 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.cloud.channel.v1.CustomerEvent) { - return mergeFrom((com.google.cloud.channel.v1.CustomerEvent) other); + return mergeFrom((com.google.cloud.channel.v1.CustomerEvent)other); } else { super.mergeFrom(other); return this; @@ -633,25 +583,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - customer_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - eventType_ = input.readEnum(); - - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + customer_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: { + eventType_ = input.readEnum(); + + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -664,21 +611,19 @@ public Builder mergeFrom( private java.lang.Object customer_ = ""; /** - * - * *
      * Resource name of the customer.
      * Format: accounts/{account_id}/customers/{customer_id}
      * 
* * string customer = 1 [(.google.api.resource_reference) = { ... } - * * @return The customer. */ public java.lang.String getCustomer() { java.lang.Object ref = customer_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customer_ = s; return s; @@ -687,22 +632,21 @@ public java.lang.String getCustomer() { } } /** - * - * *
      * Resource name of the customer.
      * Format: accounts/{account_id}/customers/{customer_id}
      * 
* * string customer = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for customer. */ - public com.google.protobuf.ByteString getCustomerBytes() { + public com.google.protobuf.ByteString + getCustomerBytes() { java.lang.Object ref = customer_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); customer_ = b; return b; } else { @@ -710,64 +654,57 @@ public com.google.protobuf.ByteString getCustomerBytes() { } } /** - * - * *
      * Resource name of the customer.
      * Format: accounts/{account_id}/customers/{customer_id}
      * 
* * string customer = 1 [(.google.api.resource_reference) = { ... } - * * @param value The customer to set. * @return This builder for chaining. */ - public Builder setCustomer(java.lang.String value) { + public Builder setCustomer( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + customer_ = value; onChanged(); return this; } /** - * - * *
      * Resource name of the customer.
      * Format: accounts/{account_id}/customers/{customer_id}
      * 
* * string customer = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearCustomer() { - + customer_ = getDefaultInstance().getCustomer(); onChanged(); return this; } /** - * - * *
      * Resource name of the customer.
      * Format: accounts/{account_id}/customers/{customer_id}
      * 
* * string customer = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for customer to set. * @return This builder for chaining. */ - public Builder setCustomerBytes(com.google.protobuf.ByteString value) { + public Builder setCustomerBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + customer_ = value; onChanged(); return this; @@ -775,65 +712,51 @@ public Builder setCustomerBytes(com.google.protobuf.ByteString value) { private int eventType_ = 0; /** - * - * *
      * Type of event which happened on the customer.
      * 
* * .google.cloud.channel.v1.CustomerEvent.Type event_type = 2; - * * @return The enum numeric value on the wire for eventType. */ - @java.lang.Override - public int getEventTypeValue() { + @java.lang.Override public int getEventTypeValue() { return eventType_; } /** - * - * *
      * Type of event which happened on the customer.
      * 
* * .google.cloud.channel.v1.CustomerEvent.Type event_type = 2; - * * @param value The enum numeric value on the wire for eventType to set. * @return This builder for chaining. */ public Builder setEventTypeValue(int value) { - + eventType_ = value; onChanged(); return this; } /** - * - * *
      * Type of event which happened on the customer.
      * 
* * .google.cloud.channel.v1.CustomerEvent.Type event_type = 2; - * * @return The eventType. */ @java.lang.Override public com.google.cloud.channel.v1.CustomerEvent.Type getEventType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.CustomerEvent.Type result = - com.google.cloud.channel.v1.CustomerEvent.Type.valueOf(eventType_); + com.google.cloud.channel.v1.CustomerEvent.Type result = com.google.cloud.channel.v1.CustomerEvent.Type.valueOf(eventType_); return result == null ? com.google.cloud.channel.v1.CustomerEvent.Type.UNRECOGNIZED : result; } /** - * - * *
      * Type of event which happened on the customer.
      * 
* * .google.cloud.channel.v1.CustomerEvent.Type event_type = 2; - * * @param value The eventType to set. * @return This builder for chaining. */ @@ -841,31 +764,28 @@ public Builder setEventType(com.google.cloud.channel.v1.CustomerEvent.Type value if (value == null) { throw new NullPointerException(); } - + eventType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Type of event which happened on the customer.
      * 
* * .google.cloud.channel.v1.CustomerEvent.Type event_type = 2; - * * @return This builder for chaining. */ public Builder clearEventType() { - + eventType_ = 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); } @@ -875,12 +795,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.CustomerEvent) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.CustomerEvent) private static final com.google.cloud.channel.v1.CustomerEvent DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.CustomerEvent(); } @@ -889,27 +809,27 @@ public static com.google.cloud.channel.v1.CustomerEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomerEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomerEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -924,4 +844,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.CustomerEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEventOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEventOrBuilder.java similarity index 63% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEventOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEventOrBuilder.java index 89016c0b5514..d637b572c76a 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEventOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEventOrBuilder.java @@ -1,76 +1,49 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/subscriber_event.proto package com.google.cloud.channel.v1; -public interface CustomerEventOrBuilder - extends +public interface CustomerEventOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CustomerEvent) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Resource name of the customer.
    * Format: accounts/{account_id}/customers/{customer_id}
    * 
* * string customer = 1 [(.google.api.resource_reference) = { ... } - * * @return The customer. */ java.lang.String getCustomer(); /** - * - * *
    * Resource name of the customer.
    * Format: accounts/{account_id}/customers/{customer_id}
    * 
* * string customer = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for customer. */ - com.google.protobuf.ByteString getCustomerBytes(); + com.google.protobuf.ByteString + getCustomerBytes(); /** - * - * *
    * Type of event which happened on the customer.
    * 
* * .google.cloud.channel.v1.CustomerEvent.Type event_type = 2; - * * @return The enum numeric value on the wire for eventType. */ int getEventTypeValue(); /** - * - * *
    * Type of event which happened on the customer.
    * 
* * .google.cloud.channel.v1.CustomerEvent.Type event_type = 2; - * * @return The eventType. */ com.google.cloud.channel.v1.CustomerEvent.Type getEventType(); diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerName.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerName.java similarity index 100% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerName.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerName.java diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerOrBuilder.java similarity index 77% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerOrBuilder.java index e7501b72953a..3fe2fa84e39b 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerOrBuilder.java @@ -1,83 +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/cloud/channel/v1/customers.proto package com.google.cloud.channel.v1; -public interface CustomerOrBuilder - extends +public interface CustomerOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Customer) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name of the customer.
    * Format: accounts/{account_id}/customers/{customer_id}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name of the customer.
    * Format: accounts/{account_id}/customers/{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(); /** - * - * *
    * Required. Name of the organization that the customer entity represents.
    * 
* * string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The orgDisplayName. */ java.lang.String getOrgDisplayName(); /** - * - * *
    * Required. Name of the organization that the customer entity represents.
    * 
* * string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for orgDisplayName. */ - com.google.protobuf.ByteString getOrgDisplayNameBytes(); + com.google.protobuf.ByteString + getOrgDisplayNameBytes(); /** - * - * *
    * Required. The organization address for the customer. To enforce US laws and
    * embargoes, we require a region and zip code. You must provide valid
@@ -85,16 +57,11 @@ public interface CustomerOrBuilder
    * Customer-level language code.
    * 
* - * - * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the orgPostalAddress field is set. */ boolean hasOrgPostalAddress(); /** - * - * *
    * Required. The organization address for the customer. To enforce US laws and
    * embargoes, we require a region and zip code. You must provide valid
@@ -102,16 +69,11 @@ public interface CustomerOrBuilder
    * Customer-level language code.
    * 
* - * - * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The orgPostalAddress. */ com.google.type.PostalAddress getOrgPostalAddress(); /** - * - * *
    * Required. The organization address for the customer. To enforce US laws and
    * embargoes, we require a region and zip code. You must provide valid
@@ -119,39 +81,29 @@ public interface CustomerOrBuilder
    * Customer-level language code.
    * 
* - * - * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.type.PostalAddressOrBuilder getOrgPostalAddressOrBuilder(); /** - * - * *
    * Primary contact info.
    * 
* * .google.cloud.channel.v1.ContactInfo primary_contact_info = 4; - * * @return Whether the primaryContactInfo field is set. */ boolean hasPrimaryContactInfo(); /** - * - * *
    * Primary contact info.
    * 
* * .google.cloud.channel.v1.ContactInfo primary_contact_info = 4; - * * @return The primaryContactInfo. */ com.google.cloud.channel.v1.ContactInfo getPrimaryContactInfo(); /** - * - * *
    * Primary contact info.
    * 
@@ -161,8 +113,6 @@ public interface CustomerOrBuilder com.google.cloud.channel.v1.ContactInfoOrBuilder getPrimaryContactInfoOrBuilder(); /** - * - * *
    * Secondary contact email. You need to provide an alternate email to create
    * different domains if a primary contact email already exists. Users will
@@ -172,13 +122,10 @@ public interface CustomerOrBuilder
    * 
* * string alternate_email = 5; - * * @return The alternateEmail. */ java.lang.String getAlternateEmail(); /** - * - * *
    * Secondary contact email. You need to provide an alternate email to create
    * different domains if a primary contact email already exists. Users will
@@ -188,144 +135,110 @@ public interface CustomerOrBuilder
    * 
* * string alternate_email = 5; - * * @return The bytes for alternateEmail. */ - com.google.protobuf.ByteString getAlternateEmailBytes(); + com.google.protobuf.ByteString + getAlternateEmailBytes(); /** - * - * *
    * Required. The customer's primary domain. Must match the primary contact
    * email's domain.
    * 
* * string domain = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The domain. */ java.lang.String getDomain(); /** - * - * *
    * Required. The customer's primary domain. Must match the primary contact
    * email's domain.
    * 
* * string domain = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for domain. */ - com.google.protobuf.ByteString getDomainBytes(); + com.google.protobuf.ByteString + getDomainBytes(); /** - * - * *
    * Output only. Time when the customer was 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 the customer was 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 the customer was 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 the customer was 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 the customer was 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 the customer was 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. The customer's Cloud Identity ID if the customer has a Cloud
    * Identity resource.
    * 
* * string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The cloudIdentityId. */ java.lang.String getCloudIdentityId(); /** - * - * *
    * Output only. The customer's Cloud Identity ID if the customer has a Cloud
    * Identity resource.
    * 
* * string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for cloudIdentityId. */ - com.google.protobuf.ByteString getCloudIdentityIdBytes(); + com.google.protobuf.ByteString + getCloudIdentityIdBytes(); /** - * - * *
    * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
    * information, see
@@ -333,13 +246,10 @@ public interface CustomerOrBuilder
    * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ java.lang.String getLanguageCode(); /** - * - * *
    * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
    * information, see
@@ -347,79 +257,60 @@ public interface CustomerOrBuilder
    * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString getLanguageCodeBytes(); + com.google.protobuf.ByteString + getLanguageCodeBytes(); /** - * - * *
    * Output only. Cloud Identity information for the customer.
    * Populated only if a Cloud Identity account exists for this customer.
    * 
* - * - * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the cloudIdentityInfo field is set. */ boolean hasCloudIdentityInfo(); /** - * - * *
    * Output only. Cloud Identity information for the customer.
    * Populated only if a Cloud Identity account exists for this customer.
    * 
* - * - * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The cloudIdentityInfo. */ com.google.cloud.channel.v1.CloudIdentityInfo getCloudIdentityInfo(); /** - * - * *
    * Output only. Cloud Identity information for the customer.
    * Populated only if a Cloud Identity account exists for this customer.
    * 
* - * - * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder getCloudIdentityInfoOrBuilder(); /** - * - * *
    * Cloud Identity ID of the customer's channel partner.
    * Populated only if a channel partner exists for this customer.
    * 
* * string channel_partner_id = 13; - * * @return The channelPartnerId. */ java.lang.String getChannelPartnerId(); /** - * - * *
    * Cloud Identity ID of the customer's channel partner.
    * Populated only if a channel partner exists for this customer.
    * 
* * string channel_partner_id = 13; - * * @return The bytes for channelPartnerId. */ - com.google.protobuf.ByteString getChannelPartnerIdBytes(); + com.google.protobuf.ByteString + getChannelPartnerIdBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfig.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfig.java similarity index 61% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfig.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfig.java index 0408081839f7..5eb776e4a662 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfig.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfig.java @@ -1,77 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/repricing.proto package com.google.cloud.channel.v1; /** - * - * *
  * Configuration for how a reseller will reprice a Customer.
  * 
* * Protobuf type {@code google.cloud.channel.v1.CustomerRepricingConfig} */ -public final class CustomerRepricingConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CustomerRepricingConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.CustomerRepricingConfig) CustomerRepricingConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CustomerRepricingConfig.newBuilder() to construct. private CustomerRepricingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CustomerRepricingConfig() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CustomerRepricingConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.RepricingProto - .internal_static_google_cloud_channel_v1_CustomerRepricingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_CustomerRepricingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.RepricingProto - .internal_static_google_cloud_channel_v1_CustomerRepricingConfig_fieldAccessorTable + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_CustomerRepricingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.CustomerRepricingConfig.class, - com.google.cloud.channel.v1.CustomerRepricingConfig.Builder.class); + com.google.cloud.channel.v1.CustomerRepricingConfig.class, com.google.cloud.channel.v1.CustomerRepricingConfig.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. Resource name of the CustomerRepricingConfig.
    * Format:
@@ -79,7 +58,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 @@ -88,15 +66,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 the CustomerRepricingConfig.
    * Format:
@@ -104,15 +81,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 { @@ -123,17 +101,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REPRICING_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.RepricingConfig repricingConfig_; /** - * - * *
-   * Required. The configuration for bill modifications made by a reseller before
-   * sending it to customers.
+   * Required. The configuration for bill modifications made by a reseller
+   * before sending it to customers.
    * 
* - * - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the repricingConfig field is set. */ @java.lang.Override @@ -141,36 +114,25 @@ public boolean hasRepricingConfig() { return repricingConfig_ != null; } /** - * - * *
-   * Required. The configuration for bill modifications made by a reseller before
-   * sending it to customers.
+   * Required. The configuration for bill modifications made by a reseller
+   * before sending it to customers.
    * 
* - * - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The repricingConfig. */ @java.lang.Override public com.google.cloud.channel.v1.RepricingConfig getRepricingConfig() { - return repricingConfig_ == null - ? com.google.cloud.channel.v1.RepricingConfig.getDefaultInstance() - : repricingConfig_; + return repricingConfig_ == null ? com.google.cloud.channel.v1.RepricingConfig.getDefaultInstance() : repricingConfig_; } /** - * - * *
-   * Required. The configuration for bill modifications made by a reseller before
-   * sending it to customers.
+   * Required. The configuration for bill modifications made by a reseller
+   * before sending it to customers.
    * 
* - * - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.channel.v1.RepricingConfigOrBuilder getRepricingConfigOrBuilder() { @@ -180,17 +142,14 @@ public com.google.cloud.channel.v1.RepricingConfigOrBuilder getRepricingConfigOr public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
-   * Output only. Timestamp of an update to the repricing rule. If `update_time` is after
-   * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] then it indicates this was set
-   * mid-month.
+   * Output only. Timestamp of an update to the repricing rule. If `update_time`
+   * is after
+   * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+   * then it indicates this was set mid-month.
    * 
* - * .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 @@ -198,17 +157,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
-   * Output only. Timestamp of an update to the repricing rule. If `update_time` is after
-   * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] then it indicates this was set
-   * mid-month.
+   * Output only. Timestamp of an update to the repricing rule. If `update_time`
+   * is after
+   * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+   * then it indicates this was set mid-month.
    * 
* - * .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 @@ -216,16 +172,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
-   * Output only. Timestamp of an update to the repricing rule. If `update_time` is after
-   * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] then it indicates this was set
-   * mid-month.
+   * Output only. Timestamp of an update to the repricing rule. If `update_time`
+   * is after
+   * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+   * then it indicates this was set mid-month.
    * 
* - * .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() { @@ -233,7 +187,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -268,10 +222,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (repricingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRepricingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRepricingConfig()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -281,22 +237,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.cloud.channel.v1.CustomerRepricingConfig)) { return super.equals(obj); } - com.google.cloud.channel.v1.CustomerRepricingConfig other = - (com.google.cloud.channel.v1.CustomerRepricingConfig) obj; + com.google.cloud.channel.v1.CustomerRepricingConfig other = (com.google.cloud.channel.v1.CustomerRepricingConfig) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasRepricingConfig() != other.hasRepricingConfig()) return false; if (hasRepricingConfig()) { - if (!getRepricingConfig().equals(other.getRepricingConfig())) return false; + if (!getRepricingConfig() + .equals(other.getRepricingConfig())) 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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -325,135 +283,129 @@ public int hashCode() { } public static com.google.cloud.channel.v1.CustomerRepricingConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CustomerRepricingConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CustomerRepricingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CustomerRepricingConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CustomerRepricingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.CustomerRepricingConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.CustomerRepricingConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.CustomerRepricingConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CustomerRepricingConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.CustomerRepricingConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.CustomerRepricingConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CustomerRepricingConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.CustomerRepricingConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CustomerRepricingConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.CustomerRepricingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for how a reseller will reprice a Customer.
    * 
* * Protobuf type {@code google.cloud.channel.v1.CustomerRepricingConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.CustomerRepricingConfig) com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.RepricingProto - .internal_static_google_cloud_channel_v1_CustomerRepricingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_CustomerRepricingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.RepricingProto - .internal_static_google_cloud_channel_v1_CustomerRepricingConfig_fieldAccessorTable + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_CustomerRepricingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.CustomerRepricingConfig.class, - com.google.cloud.channel.v1.CustomerRepricingConfig.Builder.class); + com.google.cloud.channel.v1.CustomerRepricingConfig.class, com.google.cloud.channel.v1.CustomerRepricingConfig.Builder.class); } // Construct using com.google.cloud.channel.v1.CustomerRepricingConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -475,9 +427,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.RepricingProto - .internal_static_google_cloud_channel_v1_CustomerRepricingConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_CustomerRepricingConfig_descriptor; } @java.lang.Override @@ -496,8 +448,7 @@ public com.google.cloud.channel.v1.CustomerRepricingConfig build() { @java.lang.Override public com.google.cloud.channel.v1.CustomerRepricingConfig buildPartial() { - com.google.cloud.channel.v1.CustomerRepricingConfig result = - new com.google.cloud.channel.v1.CustomerRepricingConfig(this); + com.google.cloud.channel.v1.CustomerRepricingConfig result = new com.google.cloud.channel.v1.CustomerRepricingConfig(this); result.name_ = name_; if (repricingConfigBuilder_ == null) { result.repricingConfig_ = repricingConfig_; @@ -517,39 +468,38 @@ public com.google.cloud.channel.v1.CustomerRepricingConfig 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.cloud.channel.v1.CustomerRepricingConfig) { - return mergeFrom((com.google.cloud.channel.v1.CustomerRepricingConfig) other); + return mergeFrom((com.google.cloud.channel.v1.CustomerRepricingConfig)other); } else { super.mergeFrom(other); return this; @@ -557,8 +507,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.CustomerRepricingConfig other) { - if (other == com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -595,31 +544,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); + case 10: { + name_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - input.readMessage(getRepricingConfigFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getRepricingConfigFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 26: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -632,8 +581,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Resource name of the CustomerRepricingConfig.
      * Format:
@@ -641,13 +588,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; @@ -656,8 +603,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name of the CustomerRepricingConfig.
      * Format:
@@ -665,14 +610,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -680,8 +626,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name of the CustomerRepricingConfig.
      * Format:
@@ -689,22 +633,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 the CustomerRepricingConfig.
      * Format:
@@ -712,18 +654,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 the CustomerRepricingConfig.
      * Format:
@@ -731,16 +670,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; @@ -748,61 +687,42 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.channel.v1.RepricingConfig repricingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingConfig, - com.google.cloud.channel.v1.RepricingConfig.Builder, - com.google.cloud.channel.v1.RepricingConfigOrBuilder> - repricingConfigBuilder_; + com.google.cloud.channel.v1.RepricingConfig, com.google.cloud.channel.v1.RepricingConfig.Builder, com.google.cloud.channel.v1.RepricingConfigOrBuilder> repricingConfigBuilder_; /** - * - * *
-     * Required. The configuration for bill modifications made by a reseller before
-     * sending it to customers.
+     * Required. The configuration for bill modifications made by a reseller
+     * before sending it to customers.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the repricingConfig field is set. */ public boolean hasRepricingConfig() { return repricingConfigBuilder_ != null || repricingConfig_ != null; } /** - * - * *
-     * Required. The configuration for bill modifications made by a reseller before
-     * sending it to customers.
+     * Required. The configuration for bill modifications made by a reseller
+     * before sending it to customers.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The repricingConfig. */ public com.google.cloud.channel.v1.RepricingConfig getRepricingConfig() { if (repricingConfigBuilder_ == null) { - return repricingConfig_ == null - ? com.google.cloud.channel.v1.RepricingConfig.getDefaultInstance() - : repricingConfig_; + return repricingConfig_ == null ? com.google.cloud.channel.v1.RepricingConfig.getDefaultInstance() : repricingConfig_; } else { return repricingConfigBuilder_.getMessage(); } } /** - * - * *
-     * Required. The configuration for bill modifications made by a reseller before
-     * sending it to customers.
+     * Required. The configuration for bill modifications made by a reseller
+     * before sending it to customers.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRepricingConfig(com.google.cloud.channel.v1.RepricingConfig value) { if (repricingConfigBuilder_ == null) { @@ -818,16 +738,12 @@ public Builder setRepricingConfig(com.google.cloud.channel.v1.RepricingConfig va return this; } /** - * - * *
-     * Required. The configuration for bill modifications made by a reseller before
-     * sending it to customers.
+     * Required. The configuration for bill modifications made by a reseller
+     * before sending it to customers.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRepricingConfig( com.google.cloud.channel.v1.RepricingConfig.Builder builderForValue) { @@ -841,24 +757,18 @@ public Builder setRepricingConfig( return this; } /** - * - * *
-     * Required. The configuration for bill modifications made by a reseller before
-     * sending it to customers.
+     * Required. The configuration for bill modifications made by a reseller
+     * before sending it to customers.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeRepricingConfig(com.google.cloud.channel.v1.RepricingConfig value) { if (repricingConfigBuilder_ == null) { if (repricingConfig_ != null) { repricingConfig_ = - com.google.cloud.channel.v1.RepricingConfig.newBuilder(repricingConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.RepricingConfig.newBuilder(repricingConfig_).mergeFrom(value).buildPartial(); } else { repricingConfig_ = value; } @@ -870,16 +780,12 @@ public Builder mergeRepricingConfig(com.google.cloud.channel.v1.RepricingConfig return this; } /** - * - * *
-     * Required. The configuration for bill modifications made by a reseller before
-     * sending it to customers.
+     * Required. The configuration for bill modifications made by a reseller
+     * before sending it to customers.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRepricingConfig() { if (repricingConfigBuilder_ == null) { @@ -893,67 +799,51 @@ public Builder clearRepricingConfig() { return this; } /** - * - * *
-     * Required. The configuration for bill modifications made by a reseller before
-     * sending it to customers.
+     * Required. The configuration for bill modifications made by a reseller
+     * before sending it to customers.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.channel.v1.RepricingConfig.Builder getRepricingConfigBuilder() { - + onChanged(); return getRepricingConfigFieldBuilder().getBuilder(); } /** - * - * *
-     * Required. The configuration for bill modifications made by a reseller before
-     * sending it to customers.
+     * Required. The configuration for bill modifications made by a reseller
+     * before sending it to customers.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.channel.v1.RepricingConfigOrBuilder getRepricingConfigOrBuilder() { if (repricingConfigBuilder_ != null) { return repricingConfigBuilder_.getMessageOrBuilder(); } else { - return repricingConfig_ == null - ? com.google.cloud.channel.v1.RepricingConfig.getDefaultInstance() - : repricingConfig_; + return repricingConfig_ == null ? + com.google.cloud.channel.v1.RepricingConfig.getDefaultInstance() : repricingConfig_; } } /** - * - * *
-     * Required. The configuration for bill modifications made by a reseller before
-     * sending it to customers.
+     * Required. The configuration for bill modifications made by a reseller
+     * before sending it to customers.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingConfig, - com.google.cloud.channel.v1.RepricingConfig.Builder, - com.google.cloud.channel.v1.RepricingConfigOrBuilder> + com.google.cloud.channel.v1.RepricingConfig, com.google.cloud.channel.v1.RepricingConfig.Builder, com.google.cloud.channel.v1.RepricingConfigOrBuilder> getRepricingConfigFieldBuilder() { if (repricingConfigBuilder_ == null) { - repricingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingConfig, - com.google.cloud.channel.v1.RepricingConfig.Builder, - com.google.cloud.channel.v1.RepricingConfigOrBuilder>( - getRepricingConfig(), getParentForChildren(), isClean()); + repricingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.RepricingConfig, com.google.cloud.channel.v1.RepricingConfig.Builder, com.google.cloud.channel.v1.RepricingConfigOrBuilder>( + getRepricingConfig(), + getParentForChildren(), + isClean()); repricingConfig_ = null; } return repricingConfigBuilder_; @@ -961,64 +851,48 @@ public com.google.cloud.channel.v1.RepricingConfigOrBuilder getRepricingConfigOr 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. Timestamp of an update to the repricing rule. If `update_time` is after
-     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] then it indicates this was set
-     * mid-month.
+     * Output only. Timestamp of an update to the repricing rule. If `update_time`
+     * is after
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * then it indicates this was set mid-month.
      * 
* - * - * .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. Timestamp of an update to the repricing rule. If `update_time` is after
-     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] then it indicates this was set
-     * mid-month.
+     * Output only. Timestamp of an update to the repricing rule. If `update_time`
+     * is after
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * then it indicates this was set mid-month.
      * 
* - * - * .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. Timestamp of an update to the repricing rule. If `update_time` is after
-     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] then it indicates this was set
-     * mid-month.
+     * Output only. Timestamp of an update to the repricing rule. If `update_time`
+     * is after
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * then it indicates this was set mid-month.
      * 
* - * - * .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) { @@ -1034,19 +908,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * Output only. Timestamp of an update to the repricing rule. If `update_time` is after
-     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] then it indicates this was set
-     * mid-month.
+     * Output only. Timestamp of an update to the repricing rule. If `update_time`
+     * is after
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * then it indicates this was set mid-month.
      * 
* - * - * .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(); @@ -1057,23 +929,20 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
-     * Output only. Timestamp of an update to the repricing rule. If `update_time` is after
-     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] then it indicates this was set
-     * mid-month.
+     * Output only. Timestamp of an update to the repricing rule. If `update_time`
+     * is after
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * then it indicates this was set mid-month.
      * 
* - * - * .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; } @@ -1085,17 +954,14 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * Output only. Timestamp of an update to the repricing rule. If `update_time` is after
-     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] then it indicates this was set
-     * mid-month.
+     * Output only. Timestamp of an update to the repricing rule. If `update_time`
+     * is after
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * then it indicates this was set mid-month.
      * 
* - * - * .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) { @@ -1109,77 +975,64 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
-     * Output only. Timestamp of an update to the repricing rule. If `update_time` is after
-     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] then it indicates this was set
-     * mid-month.
+     * Output only. Timestamp of an update to the repricing rule. If `update_time`
+     * is after
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * then it indicates this was set mid-month.
      * 
* - * - * .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. Timestamp of an update to the repricing rule. If `update_time` is after
-     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] then it indicates this was set
-     * mid-month.
+     * Output only. Timestamp of an update to the repricing rule. If `update_time`
+     * is after
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * then it indicates this was set mid-month.
      * 
* - * - * .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. Timestamp of an update to the repricing rule. If `update_time` is after
-     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] then it indicates this was set
-     * mid-month.
+     * Output only. Timestamp of an update to the repricing rule. If `update_time`
+     * is after
+     * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+     * then it indicates this was set mid-month.
      * 
* - * - * .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_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1189,12 +1042,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.CustomerRepricingConfig) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.CustomerRepricingConfig) private static final com.google.cloud.channel.v1.CustomerRepricingConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.CustomerRepricingConfig(); } @@ -1203,27 +1056,27 @@ public static com.google.cloud.channel.v1.CustomerRepricingConfig getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomerRepricingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomerRepricingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1238,4 +1091,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.CustomerRepricingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigName.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigName.java similarity index 100% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigName.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigName.java diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigOrBuilder.java similarity index 56% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigOrBuilder.java index 8df6c80ae184..6ba469d5b250 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigOrBuilder.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/cloud/channel/v1/repricing.proto package com.google.cloud.channel.v1; -public interface CustomerRepricingConfigOrBuilder - extends +public interface CustomerRepricingConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CustomerRepricingConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name of the CustomerRepricingConfig.
    * Format:
@@ -33,13 +15,10 @@ public interface CustomerRepricingConfigOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name of the CustomerRepricingConfig.
    * Format:
@@ -47,96 +26,74 @@ public interface CustomerRepricingConfigOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
-   * Required. The configuration for bill modifications made by a reseller before
-   * sending it to customers.
+   * Required. The configuration for bill modifications made by a reseller
+   * before sending it to customers.
    * 
* - * - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the repricingConfig field is set. */ boolean hasRepricingConfig(); /** - * - * *
-   * Required. The configuration for bill modifications made by a reseller before
-   * sending it to customers.
+   * Required. The configuration for bill modifications made by a reseller
+   * before sending it to customers.
    * 
* - * - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The repricingConfig. */ com.google.cloud.channel.v1.RepricingConfig getRepricingConfig(); /** - * - * *
-   * Required. The configuration for bill modifications made by a reseller before
-   * sending it to customers.
+   * Required. The configuration for bill modifications made by a reseller
+   * before sending it to customers.
    * 
* - * - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.channel.v1.RepricingConfigOrBuilder getRepricingConfigOrBuilder(); /** - * - * *
-   * Output only. Timestamp of an update to the repricing rule. If `update_time` is after
-   * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] then it indicates this was set
-   * mid-month.
+   * Output only. Timestamp of an update to the repricing rule. If `update_time`
+   * is after
+   * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+   * then it indicates this was set mid-month.
    * 
* - * .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. Timestamp of an update to the repricing rule. If `update_time` is after
-   * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] then it indicates this was set
-   * mid-month.
+   * Output only. Timestamp of an update to the repricing rule. If `update_time`
+   * is after
+   * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+   * then it indicates this was set mid-month.
    * 
* - * .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. Timestamp of an update to the repricing rule. If `update_time` is after
-   * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] then it indicates this was set
-   * mid-month.
+   * Output only. Timestamp of an update to the repricing rule. If `update_time`
+   * is after
+   * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
+   * then it indicates this was set mid-month.
    * 
* - * .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(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomersProto.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomersProto.java new file mode 100644 index 000000000000..dab07b01e16f --- /dev/null +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomersProto.java @@ -0,0 +1,99 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/customers.proto + +package com.google.cloud.channel.v1; + +public final class CustomersProto { + private CustomersProto() {} + 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_cloud_channel_v1_Customer_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_Customer_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_ContactInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_ContactInfo_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/cloud/channel/v1/customers.prot" + + "o\022\027google.cloud.channel.v1\032\037google/api/f" + + "ield_behavior.proto\032\031google/api/resource" + + ".proto\032$google/cloud/channel/v1/common.p" + + "roto\032\037google/protobuf/timestamp.proto\032 g" + + "oogle/type/postal_address.proto\"\321\004\n\010Cust" + + "omer\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\035\n\020org_display_n" + + "ame\030\002 \001(\tB\003\340A\002\022;\n\022org_postal_address\030\003 \001" + + "(\0132\032.google.type.PostalAddressB\003\340A\002\022B\n\024p" + + "rimary_contact_info\030\004 \001(\0132$.google.cloud" + + ".channel.v1.ContactInfo\022\027\n\017alternate_ema" + + "il\030\005 \001(\t\022\023\n\006domain\030\006 \001(\tB\003\340A\002\0224\n\013create_" + + "time\030\007 \001(\0132\032.google.protobuf.TimestampB\003" + + "\340A\003\0224\n\013update_time\030\010 \001(\0132\032.google.protob" + + "uf.TimestampB\003\340A\003\022\036\n\021cloud_identity_id\030\t" + + " \001(\tB\003\340A\003\022\032\n\rlanguage_code\030\n \001(\tB\003\340A\001\022L\n" + + "\023cloud_identity_info\030\014 \001(\0132*.google.clou" + + "d.channel.v1.CloudIdentityInfoB\003\340A\003\022\032\n\022c" + + "hannel_partner_id\030\r \001(\t:R\352AO\n$cloudchann" + + "el.googleapis.com/Customer\022\'accounts/{ac" + + "count}/customers/{customer}\"\201\001\n\013ContactI" + + "nfo\022\022\n\nfirst_name\030\001 \001(\t\022\021\n\tlast_name\030\002 \001" + + "(\t\022\031\n\014display_name\030\004 \001(\tB\003\340A\003\022\r\n\005email\030\005" + + " \001(\t\022\022\n\005title\030\006 \001(\tB\003\340A\001\022\r\n\005phone\030\007 \001(\tB" + + "o\n\033com.google.cloud.channel.v1B\016Customer" + + "sProtoP\001Z>google.golang.org/genproto/goo" + + "gleapis/cloud/channel/v1;channelb\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.cloud.channel.v1.CommonProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.type.PostalAddressProto.getDescriptor(), + }); + internal_static_google_cloud_channel_v1_Customer_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_channel_v1_Customer_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_Customer_descriptor, + new java.lang.String[] { "Name", "OrgDisplayName", "OrgPostalAddress", "PrimaryContactInfo", "AlternateEmail", "Domain", "CreateTime", "UpdateTime", "CloudIdentityId", "LanguageCode", "CloudIdentityInfo", "ChannelPartnerId", }); + internal_static_google_cloud_channel_v1_ContactInfo_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_channel_v1_ContactInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_ContactInfo_descriptor, + new java.lang.String[] { "FirstName", "LastName", "DisplayName", "Email", "Title", "Phone", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.channel.v1.CommonProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.type.PostalAddressProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DateRange.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DateRange.java similarity index 77% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DateRange.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DateRange.java index 4d00aaa31bd8..44ab7c841816 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DateRange.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DateRange.java @@ -1,75 +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/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; /** - * - * *
  * A representation of usage or invoice date ranges.
  * 
* * Protobuf type {@code google.cloud.channel.v1.DateRange} */ -public final class DateRange extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DateRange extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.DateRange) DateRangeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DateRange.newBuilder() to construct. private DateRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DateRange() {} + private DateRange() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DateRange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_DateRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_DateRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_DateRange_fieldAccessorTable + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_DateRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.DateRange.class, - com.google.cloud.channel.v1.DateRange.Builder.class); + com.google.cloud.channel.v1.DateRange.class, com.google.cloud.channel.v1.DateRange.Builder.class); } public static final int USAGE_START_DATE_TIME_FIELD_NUMBER = 1; private com.google.type.DateTime usageStartDateTime_; /** - * - * *
    * The earliest usage date time (inclusive).
    * If you use time groupings (daily, weekly, etc), each group uses
@@ -79,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.type.DateTime usage_start_date_time = 1; - * * @return Whether the usageStartDateTime field is set. */ @java.lang.Override @@ -87,8 +66,6 @@ public boolean hasUsageStartDateTime() { return usageStartDateTime_ != null; } /** - * - * *
    * The earliest usage date time (inclusive).
    * If you use time groupings (daily, weekly, etc), each group uses
@@ -98,18 +75,13 @@ public boolean hasUsageStartDateTime() {
    * 
* * .google.type.DateTime usage_start_date_time = 1; - * * @return The usageStartDateTime. */ @java.lang.Override public com.google.type.DateTime getUsageStartDateTime() { - return usageStartDateTime_ == null - ? com.google.type.DateTime.getDefaultInstance() - : usageStartDateTime_; + return usageStartDateTime_ == null ? com.google.type.DateTime.getDefaultInstance() : usageStartDateTime_; } /** - * - * *
    * The earliest usage date time (inclusive).
    * If you use time groupings (daily, weekly, etc), each group uses
@@ -128,8 +100,6 @@ public com.google.type.DateTimeOrBuilder getUsageStartDateTimeOrBuilder() {
   public static final int USAGE_END_DATE_TIME_FIELD_NUMBER = 2;
   private com.google.type.DateTime usageEndDateTime_;
   /**
-   *
-   *
    * 
    * The latest usage date time (exclusive).
    * If you use time groupings (daily, weekly, etc), each group uses
@@ -139,7 +109,6 @@ public com.google.type.DateTimeOrBuilder getUsageStartDateTimeOrBuilder() {
    * 
* * .google.type.DateTime usage_end_date_time = 2; - * * @return Whether the usageEndDateTime field is set. */ @java.lang.Override @@ -147,8 +116,6 @@ public boolean hasUsageEndDateTime() { return usageEndDateTime_ != null; } /** - * - * *
    * The latest usage date time (exclusive).
    * If you use time groupings (daily, weekly, etc), each group uses
@@ -158,18 +125,13 @@ public boolean hasUsageEndDateTime() {
    * 
* * .google.type.DateTime usage_end_date_time = 2; - * * @return The usageEndDateTime. */ @java.lang.Override public com.google.type.DateTime getUsageEndDateTime() { - return usageEndDateTime_ == null - ? com.google.type.DateTime.getDefaultInstance() - : usageEndDateTime_; + return usageEndDateTime_ == null ? com.google.type.DateTime.getDefaultInstance() : usageEndDateTime_; } /** - * - * *
    * The latest usage date time (exclusive).
    * If you use time groupings (daily, weekly, etc), each group uses
@@ -188,8 +150,6 @@ public com.google.type.DateTimeOrBuilder getUsageEndDateTimeOrBuilder() {
   public static final int INVOICE_START_DATE_FIELD_NUMBER = 3;
   private com.google.type.Date invoiceStartDate_;
   /**
-   *
-   *
    * 
    * The earliest invoice date (inclusive).
    * If your product uses monthly invoices, and this value is not the beginning
@@ -197,7 +157,6 @@ public com.google.type.DateTimeOrBuilder getUsageEndDateTimeOrBuilder() {
    * 
* * .google.type.Date invoice_start_date = 3; - * * @return Whether the invoiceStartDate field is set. */ @java.lang.Override @@ -205,8 +164,6 @@ public boolean hasInvoiceStartDate() { return invoiceStartDate_ != null; } /** - * - * *
    * The earliest invoice date (inclusive).
    * If your product uses monthly invoices, and this value is not the beginning
@@ -214,18 +171,13 @@ public boolean hasInvoiceStartDate() {
    * 
* * .google.type.Date invoice_start_date = 3; - * * @return The invoiceStartDate. */ @java.lang.Override public com.google.type.Date getInvoiceStartDate() { - return invoiceStartDate_ == null - ? com.google.type.Date.getDefaultInstance() - : invoiceStartDate_; + return invoiceStartDate_ == null ? com.google.type.Date.getDefaultInstance() : invoiceStartDate_; } /** - * - * *
    * The earliest invoice date (inclusive).
    * If your product uses monthly invoices, and this value is not the beginning
@@ -242,8 +194,6 @@ public com.google.type.DateOrBuilder getInvoiceStartDateOrBuilder() {
   public static final int INVOICE_END_DATE_FIELD_NUMBER = 4;
   private com.google.type.Date invoiceEndDate_;
   /**
-   *
-   *
    * 
    * The latest invoice date (exclusive).
    * If your product uses monthly invoices, and this value is not the beginning
@@ -252,7 +202,6 @@ public com.google.type.DateOrBuilder getInvoiceStartDateOrBuilder() {
    * 
* * .google.type.Date invoice_end_date = 4; - * * @return Whether the invoiceEndDate field is set. */ @java.lang.Override @@ -260,8 +209,6 @@ public boolean hasInvoiceEndDate() { return invoiceEndDate_ != null; } /** - * - * *
    * The latest invoice date (exclusive).
    * If your product uses monthly invoices, and this value is not the beginning
@@ -270,7 +217,6 @@ public boolean hasInvoiceEndDate() {
    * 
* * .google.type.Date invoice_end_date = 4; - * * @return The invoiceEndDate. */ @java.lang.Override @@ -278,8 +224,6 @@ public com.google.type.Date getInvoiceEndDate() { return invoiceEndDate_ == null ? com.google.type.Date.getDefaultInstance() : invoiceEndDate_; } /** - * - * *
    * The latest invoice date (exclusive).
    * If your product uses monthly invoices, and this value is not the beginning
@@ -295,7 +239,6 @@ public com.google.type.DateOrBuilder getInvoiceEndDateOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -307,7 +250,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (usageStartDateTime_ != null) {
       output.writeMessage(1, getUsageStartDateTime());
     }
@@ -330,16 +274,20 @@ public int getSerializedSize() {
 
     size = 0;
     if (usageStartDateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUsageStartDateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getUsageStartDateTime());
     }
     if (usageEndDateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUsageEndDateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUsageEndDateTime());
     }
     if (invoiceStartDate_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInvoiceStartDate());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getInvoiceStartDate());
     }
     if (invoiceEndDate_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getInvoiceEndDate());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getInvoiceEndDate());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -349,7 +297,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.channel.v1.DateRange)) {
       return super.equals(obj);
@@ -358,19 +306,23 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasUsageStartDateTime() != other.hasUsageStartDateTime()) return false;
     if (hasUsageStartDateTime()) {
-      if (!getUsageStartDateTime().equals(other.getUsageStartDateTime())) return false;
+      if (!getUsageStartDateTime()
+          .equals(other.getUsageStartDateTime())) return false;
     }
     if (hasUsageEndDateTime() != other.hasUsageEndDateTime()) return false;
     if (hasUsageEndDateTime()) {
-      if (!getUsageEndDateTime().equals(other.getUsageEndDateTime())) return false;
+      if (!getUsageEndDateTime()
+          .equals(other.getUsageEndDateTime())) return false;
     }
     if (hasInvoiceStartDate() != other.hasInvoiceStartDate()) return false;
     if (hasInvoiceStartDate()) {
-      if (!getInvoiceStartDate().equals(other.getInvoiceStartDate())) return false;
+      if (!getInvoiceStartDate()
+          .equals(other.getInvoiceStartDate())) return false;
     }
     if (hasInvoiceEndDate() != other.hasInvoiceEndDate()) return false;
     if (hasInvoiceEndDate()) {
-      if (!getInvoiceEndDate().equals(other.getInvoiceEndDate())) return false;
+      if (!getInvoiceEndDate()
+          .equals(other.getInvoiceEndDate())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -404,135 +356,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.channel.v1.DateRange parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.channel.v1.DateRange parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.channel.v1.DateRange parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.channel.v1.DateRange parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.cloud.channel.v1.DateRange parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.channel.v1.DateRange parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.channel.v1.DateRange parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.channel.v1.DateRange parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.channel.v1.DateRange 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.cloud.channel.v1.DateRange parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.channel.v1.DateRange parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.channel.v1.DateRange parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.channel.v1.DateRange parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.channel.v1.DateRange parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.channel.v1.DateRange prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 representation of usage or invoice date ranges.
    * 
* * Protobuf type {@code google.cloud.channel.v1.DateRange} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.DateRange) com.google.cloud.channel.v1.DateRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_DateRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_DateRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_DateRange_fieldAccessorTable + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_DateRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.DateRange.class, - com.google.cloud.channel.v1.DateRange.Builder.class); + com.google.cloud.channel.v1.DateRange.class, com.google.cloud.channel.v1.DateRange.Builder.class); } // Construct using com.google.cloud.channel.v1.DateRange.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -564,9 +511,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_DateRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_DateRange_descriptor; } @java.lang.Override @@ -585,8 +532,7 @@ public com.google.cloud.channel.v1.DateRange build() { @java.lang.Override public com.google.cloud.channel.v1.DateRange buildPartial() { - com.google.cloud.channel.v1.DateRange result = - new com.google.cloud.channel.v1.DateRange(this); + com.google.cloud.channel.v1.DateRange result = new com.google.cloud.channel.v1.DateRange(this); if (usageStartDateTimeBuilder_ == null) { result.usageStartDateTime_ = usageStartDateTime_; } else { @@ -615,39 +561,38 @@ public com.google.cloud.channel.v1.DateRange 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.cloud.channel.v1.DateRange) { - return mergeFrom((com.google.cloud.channel.v1.DateRange) other); + return mergeFrom((com.google.cloud.channel.v1.DateRange)other); } else { super.mergeFrom(other); return this; @@ -694,40 +639,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getUsageStartDateTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage( - getUsageEndDateTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - case 26: - { - input.readMessage( - getInvoiceStartDateFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 34: - { - input.readMessage(getInvoiceEndDateFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getUsageStartDateTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getUsageEndDateTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 26: { + input.readMessage( + getInvoiceStartDateFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 34: { + input.readMessage( + getInvoiceEndDateFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -740,13 +685,8 @@ public Builder mergeFrom( private com.google.type.DateTime usageStartDateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.DateTime, - com.google.type.DateTime.Builder, - com.google.type.DateTimeOrBuilder> - usageStartDateTimeBuilder_; + com.google.type.DateTime, com.google.type.DateTime.Builder, com.google.type.DateTimeOrBuilder> usageStartDateTimeBuilder_; /** - * - * *
      * The earliest usage date time (inclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -756,15 +696,12 @@ public Builder mergeFrom(
      * 
* * .google.type.DateTime usage_start_date_time = 1; - * * @return Whether the usageStartDateTime field is set. */ public boolean hasUsageStartDateTime() { return usageStartDateTimeBuilder_ != null || usageStartDateTime_ != null; } /** - * - * *
      * The earliest usage date time (inclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -774,21 +711,16 @@ public boolean hasUsageStartDateTime() {
      * 
* * .google.type.DateTime usage_start_date_time = 1; - * * @return The usageStartDateTime. */ public com.google.type.DateTime getUsageStartDateTime() { if (usageStartDateTimeBuilder_ == null) { - return usageStartDateTime_ == null - ? com.google.type.DateTime.getDefaultInstance() - : usageStartDateTime_; + return usageStartDateTime_ == null ? com.google.type.DateTime.getDefaultInstance() : usageStartDateTime_; } else { return usageStartDateTimeBuilder_.getMessage(); } } /** - * - * *
      * The earliest usage date time (inclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -813,8 +745,6 @@ public Builder setUsageStartDateTime(com.google.type.DateTime value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The earliest usage date time (inclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -825,7 +755,8 @@ public Builder setUsageStartDateTime(com.google.type.DateTime value) {
      *
      * .google.type.DateTime usage_start_date_time = 1;
      */
-    public Builder setUsageStartDateTime(com.google.type.DateTime.Builder builderForValue) {
+    public Builder setUsageStartDateTime(
+        com.google.type.DateTime.Builder builderForValue) {
       if (usageStartDateTimeBuilder_ == null) {
         usageStartDateTime_ = builderForValue.build();
         onChanged();
@@ -836,8 +767,6 @@ public Builder setUsageStartDateTime(com.google.type.DateTime.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * The earliest usage date time (inclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -852,9 +781,7 @@ public Builder mergeUsageStartDateTime(com.google.type.DateTime value) {
       if (usageStartDateTimeBuilder_ == null) {
         if (usageStartDateTime_ != null) {
           usageStartDateTime_ =
-              com.google.type.DateTime.newBuilder(usageStartDateTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.type.DateTime.newBuilder(usageStartDateTime_).mergeFrom(value).buildPartial();
         } else {
           usageStartDateTime_ = value;
         }
@@ -866,8 +793,6 @@ public Builder mergeUsageStartDateTime(com.google.type.DateTime value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The earliest usage date time (inclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -890,8 +815,6 @@ public Builder clearUsageStartDateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The earliest usage date time (inclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -903,13 +826,11 @@ public Builder clearUsageStartDateTime() {
      * .google.type.DateTime usage_start_date_time = 1;
      */
     public com.google.type.DateTime.Builder getUsageStartDateTimeBuilder() {
-
+      
       onChanged();
       return getUsageStartDateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The earliest usage date time (inclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -924,14 +845,11 @@ public com.google.type.DateTimeOrBuilder getUsageStartDateTimeOrBuilder() {
       if (usageStartDateTimeBuilder_ != null) {
         return usageStartDateTimeBuilder_.getMessageOrBuilder();
       } else {
-        return usageStartDateTime_ == null
-            ? com.google.type.DateTime.getDefaultInstance()
-            : usageStartDateTime_;
+        return usageStartDateTime_ == null ?
+            com.google.type.DateTime.getDefaultInstance() : usageStartDateTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The earliest usage date time (inclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -943,17 +861,14 @@ public com.google.type.DateTimeOrBuilder getUsageStartDateTimeOrBuilder() {
      * .google.type.DateTime usage_start_date_time = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.DateTime,
-            com.google.type.DateTime.Builder,
-            com.google.type.DateTimeOrBuilder>
+        com.google.type.DateTime, com.google.type.DateTime.Builder, com.google.type.DateTimeOrBuilder> 
         getUsageStartDateTimeFieldBuilder() {
       if (usageStartDateTimeBuilder_ == null) {
-        usageStartDateTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.type.DateTime,
-                com.google.type.DateTime.Builder,
-                com.google.type.DateTimeOrBuilder>(
-                getUsageStartDateTime(), getParentForChildren(), isClean());
+        usageStartDateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.type.DateTime, com.google.type.DateTime.Builder, com.google.type.DateTimeOrBuilder>(
+                getUsageStartDateTime(),
+                getParentForChildren(),
+                isClean());
         usageStartDateTime_ = null;
       }
       return usageStartDateTimeBuilder_;
@@ -961,13 +876,8 @@ public com.google.type.DateTimeOrBuilder getUsageStartDateTimeOrBuilder() {
 
     private com.google.type.DateTime usageEndDateTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.DateTime,
-            com.google.type.DateTime.Builder,
-            com.google.type.DateTimeOrBuilder>
-        usageEndDateTimeBuilder_;
+        com.google.type.DateTime, com.google.type.DateTime.Builder, com.google.type.DateTimeOrBuilder> usageEndDateTimeBuilder_;
     /**
-     *
-     *
      * 
      * The latest usage date time (exclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -977,15 +887,12 @@ public com.google.type.DateTimeOrBuilder getUsageStartDateTimeOrBuilder() {
      * 
* * .google.type.DateTime usage_end_date_time = 2; - * * @return Whether the usageEndDateTime field is set. */ public boolean hasUsageEndDateTime() { return usageEndDateTimeBuilder_ != null || usageEndDateTime_ != null; } /** - * - * *
      * The latest usage date time (exclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -995,21 +902,16 @@ public boolean hasUsageEndDateTime() {
      * 
* * .google.type.DateTime usage_end_date_time = 2; - * * @return The usageEndDateTime. */ public com.google.type.DateTime getUsageEndDateTime() { if (usageEndDateTimeBuilder_ == null) { - return usageEndDateTime_ == null - ? com.google.type.DateTime.getDefaultInstance() - : usageEndDateTime_; + return usageEndDateTime_ == null ? com.google.type.DateTime.getDefaultInstance() : usageEndDateTime_; } else { return usageEndDateTimeBuilder_.getMessage(); } } /** - * - * *
      * The latest usage date time (exclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -1034,8 +936,6 @@ public Builder setUsageEndDateTime(com.google.type.DateTime value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The latest usage date time (exclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -1046,7 +946,8 @@ public Builder setUsageEndDateTime(com.google.type.DateTime value) {
      *
      * .google.type.DateTime usage_end_date_time = 2;
      */
-    public Builder setUsageEndDateTime(com.google.type.DateTime.Builder builderForValue) {
+    public Builder setUsageEndDateTime(
+        com.google.type.DateTime.Builder builderForValue) {
       if (usageEndDateTimeBuilder_ == null) {
         usageEndDateTime_ = builderForValue.build();
         onChanged();
@@ -1057,8 +958,6 @@ public Builder setUsageEndDateTime(com.google.type.DateTime.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * The latest usage date time (exclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -1073,9 +972,7 @@ public Builder mergeUsageEndDateTime(com.google.type.DateTime value) {
       if (usageEndDateTimeBuilder_ == null) {
         if (usageEndDateTime_ != null) {
           usageEndDateTime_ =
-              com.google.type.DateTime.newBuilder(usageEndDateTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.type.DateTime.newBuilder(usageEndDateTime_).mergeFrom(value).buildPartial();
         } else {
           usageEndDateTime_ = value;
         }
@@ -1087,8 +984,6 @@ public Builder mergeUsageEndDateTime(com.google.type.DateTime value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The latest usage date time (exclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -1111,8 +1006,6 @@ public Builder clearUsageEndDateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The latest usage date time (exclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -1124,13 +1017,11 @@ public Builder clearUsageEndDateTime() {
      * .google.type.DateTime usage_end_date_time = 2;
      */
     public com.google.type.DateTime.Builder getUsageEndDateTimeBuilder() {
-
+      
       onChanged();
       return getUsageEndDateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The latest usage date time (exclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -1145,14 +1036,11 @@ public com.google.type.DateTimeOrBuilder getUsageEndDateTimeOrBuilder() {
       if (usageEndDateTimeBuilder_ != null) {
         return usageEndDateTimeBuilder_.getMessageOrBuilder();
       } else {
-        return usageEndDateTime_ == null
-            ? com.google.type.DateTime.getDefaultInstance()
-            : usageEndDateTime_;
+        return usageEndDateTime_ == null ?
+            com.google.type.DateTime.getDefaultInstance() : usageEndDateTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The latest usage date time (exclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -1164,17 +1052,14 @@ public com.google.type.DateTimeOrBuilder getUsageEndDateTimeOrBuilder() {
      * .google.type.DateTime usage_end_date_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.DateTime,
-            com.google.type.DateTime.Builder,
-            com.google.type.DateTimeOrBuilder>
+        com.google.type.DateTime, com.google.type.DateTime.Builder, com.google.type.DateTimeOrBuilder> 
         getUsageEndDateTimeFieldBuilder() {
       if (usageEndDateTimeBuilder_ == null) {
-        usageEndDateTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.type.DateTime,
-                com.google.type.DateTime.Builder,
-                com.google.type.DateTimeOrBuilder>(
-                getUsageEndDateTime(), getParentForChildren(), isClean());
+        usageEndDateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.type.DateTime, com.google.type.DateTime.Builder, com.google.type.DateTimeOrBuilder>(
+                getUsageEndDateTime(),
+                getParentForChildren(),
+                isClean());
         usageEndDateTime_ = null;
       }
       return usageEndDateTimeBuilder_;
@@ -1182,11 +1067,8 @@ public com.google.type.DateTimeOrBuilder getUsageEndDateTimeOrBuilder() {
 
     private com.google.type.Date invoiceStartDate_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
-        invoiceStartDateBuilder_;
+        com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> invoiceStartDateBuilder_;
     /**
-     *
-     *
      * 
      * The earliest invoice date (inclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1194,15 +1076,12 @@ public com.google.type.DateTimeOrBuilder getUsageEndDateTimeOrBuilder() {
      * 
* * .google.type.Date invoice_start_date = 3; - * * @return Whether the invoiceStartDate field is set. */ public boolean hasInvoiceStartDate() { return invoiceStartDateBuilder_ != null || invoiceStartDate_ != null; } /** - * - * *
      * The earliest invoice date (inclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1210,21 +1089,16 @@ public boolean hasInvoiceStartDate() {
      * 
* * .google.type.Date invoice_start_date = 3; - * * @return The invoiceStartDate. */ public com.google.type.Date getInvoiceStartDate() { if (invoiceStartDateBuilder_ == null) { - return invoiceStartDate_ == null - ? com.google.type.Date.getDefaultInstance() - : invoiceStartDate_; + return invoiceStartDate_ == null ? com.google.type.Date.getDefaultInstance() : invoiceStartDate_; } else { return invoiceStartDateBuilder_.getMessage(); } } /** - * - * *
      * The earliest invoice date (inclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1247,8 +1121,6 @@ public Builder setInvoiceStartDate(com.google.type.Date value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The earliest invoice date (inclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1257,7 +1129,8 @@ public Builder setInvoiceStartDate(com.google.type.Date value) {
      *
      * .google.type.Date invoice_start_date = 3;
      */
-    public Builder setInvoiceStartDate(com.google.type.Date.Builder builderForValue) {
+    public Builder setInvoiceStartDate(
+        com.google.type.Date.Builder builderForValue) {
       if (invoiceStartDateBuilder_ == null) {
         invoiceStartDate_ = builderForValue.build();
         onChanged();
@@ -1268,8 +1141,6 @@ public Builder setInvoiceStartDate(com.google.type.Date.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The earliest invoice date (inclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1282,7 +1153,7 @@ public Builder mergeInvoiceStartDate(com.google.type.Date value) {
       if (invoiceStartDateBuilder_ == null) {
         if (invoiceStartDate_ != null) {
           invoiceStartDate_ =
-              com.google.type.Date.newBuilder(invoiceStartDate_).mergeFrom(value).buildPartial();
+            com.google.type.Date.newBuilder(invoiceStartDate_).mergeFrom(value).buildPartial();
         } else {
           invoiceStartDate_ = value;
         }
@@ -1294,8 +1165,6 @@ public Builder mergeInvoiceStartDate(com.google.type.Date value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The earliest invoice date (inclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1316,8 +1185,6 @@ public Builder clearInvoiceStartDate() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The earliest invoice date (inclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1327,13 +1194,11 @@ public Builder clearInvoiceStartDate() {
      * .google.type.Date invoice_start_date = 3;
      */
     public com.google.type.Date.Builder getInvoiceStartDateBuilder() {
-
+      
       onChanged();
       return getInvoiceStartDateFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The earliest invoice date (inclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1346,14 +1211,11 @@ public com.google.type.DateOrBuilder getInvoiceStartDateOrBuilder() {
       if (invoiceStartDateBuilder_ != null) {
         return invoiceStartDateBuilder_.getMessageOrBuilder();
       } else {
-        return invoiceStartDate_ == null
-            ? com.google.type.Date.getDefaultInstance()
-            : invoiceStartDate_;
+        return invoiceStartDate_ == null ?
+            com.google.type.Date.getDefaultInstance() : invoiceStartDate_;
       }
     }
     /**
-     *
-     *
      * 
      * The earliest invoice date (inclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1363,13 +1225,14 @@ public com.google.type.DateOrBuilder getInvoiceStartDateOrBuilder() {
      * .google.type.Date invoice_start_date = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
+        com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> 
         getInvoiceStartDateFieldBuilder() {
       if (invoiceStartDateBuilder_ == null) {
-        invoiceStartDateBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
-                getInvoiceStartDate(), getParentForChildren(), isClean());
+        invoiceStartDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
+                getInvoiceStartDate(),
+                getParentForChildren(),
+                isClean());
         invoiceStartDate_ = null;
       }
       return invoiceStartDateBuilder_;
@@ -1377,11 +1240,8 @@ public com.google.type.DateOrBuilder getInvoiceStartDateOrBuilder() {
 
     private com.google.type.Date invoiceEndDate_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
-        invoiceEndDateBuilder_;
+        com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> invoiceEndDateBuilder_;
     /**
-     *
-     *
      * 
      * The latest invoice date (exclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1390,15 +1250,12 @@ public com.google.type.DateOrBuilder getInvoiceStartDateOrBuilder() {
      * 
* * .google.type.Date invoice_end_date = 4; - * * @return Whether the invoiceEndDate field is set. */ public boolean hasInvoiceEndDate() { return invoiceEndDateBuilder_ != null || invoiceEndDate_ != null; } /** - * - * *
      * The latest invoice date (exclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1407,21 +1264,16 @@ public boolean hasInvoiceEndDate() {
      * 
* * .google.type.Date invoice_end_date = 4; - * * @return The invoiceEndDate. */ public com.google.type.Date getInvoiceEndDate() { if (invoiceEndDateBuilder_ == null) { - return invoiceEndDate_ == null - ? com.google.type.Date.getDefaultInstance() - : invoiceEndDate_; + return invoiceEndDate_ == null ? com.google.type.Date.getDefaultInstance() : invoiceEndDate_; } else { return invoiceEndDateBuilder_.getMessage(); } } /** - * - * *
      * The latest invoice date (exclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1445,8 +1297,6 @@ public Builder setInvoiceEndDate(com.google.type.Date value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The latest invoice date (exclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1456,7 +1306,8 @@ public Builder setInvoiceEndDate(com.google.type.Date value) {
      *
      * .google.type.Date invoice_end_date = 4;
      */
-    public Builder setInvoiceEndDate(com.google.type.Date.Builder builderForValue) {
+    public Builder setInvoiceEndDate(
+        com.google.type.Date.Builder builderForValue) {
       if (invoiceEndDateBuilder_ == null) {
         invoiceEndDate_ = builderForValue.build();
         onChanged();
@@ -1467,8 +1318,6 @@ public Builder setInvoiceEndDate(com.google.type.Date.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The latest invoice date (exclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1482,7 +1331,7 @@ public Builder mergeInvoiceEndDate(com.google.type.Date value) {
       if (invoiceEndDateBuilder_ == null) {
         if (invoiceEndDate_ != null) {
           invoiceEndDate_ =
-              com.google.type.Date.newBuilder(invoiceEndDate_).mergeFrom(value).buildPartial();
+            com.google.type.Date.newBuilder(invoiceEndDate_).mergeFrom(value).buildPartial();
         } else {
           invoiceEndDate_ = value;
         }
@@ -1494,8 +1343,6 @@ public Builder mergeInvoiceEndDate(com.google.type.Date value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The latest invoice date (exclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1517,8 +1364,6 @@ public Builder clearInvoiceEndDate() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The latest invoice date (exclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1529,13 +1374,11 @@ public Builder clearInvoiceEndDate() {
      * .google.type.Date invoice_end_date = 4;
      */
     public com.google.type.Date.Builder getInvoiceEndDateBuilder() {
-
+      
       onChanged();
       return getInvoiceEndDateFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The latest invoice date (exclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1549,14 +1392,11 @@ public com.google.type.DateOrBuilder getInvoiceEndDateOrBuilder() {
       if (invoiceEndDateBuilder_ != null) {
         return invoiceEndDateBuilder_.getMessageOrBuilder();
       } else {
-        return invoiceEndDate_ == null
-            ? com.google.type.Date.getDefaultInstance()
-            : invoiceEndDate_;
+        return invoiceEndDate_ == null ?
+            com.google.type.Date.getDefaultInstance() : invoiceEndDate_;
       }
     }
     /**
-     *
-     *
      * 
      * The latest invoice date (exclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1567,20 +1407,21 @@ public com.google.type.DateOrBuilder getInvoiceEndDateOrBuilder() {
      * .google.type.Date invoice_end_date = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
+        com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> 
         getInvoiceEndDateFieldBuilder() {
       if (invoiceEndDateBuilder_ == null) {
-        invoiceEndDateBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
-                getInvoiceEndDate(), getParentForChildren(), isClean());
+        invoiceEndDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
+                getInvoiceEndDate(),
+                getParentForChildren(),
+                isClean());
         invoiceEndDate_ = null;
       }
       return invoiceEndDateBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1590,12 +1431,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.DateRange)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.DateRange)
   private static final com.google.cloud.channel.v1.DateRange DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.channel.v1.DateRange();
   }
@@ -1604,27 +1445,27 @@ public static com.google.cloud.channel.v1.DateRange getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public DateRange parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public DateRange parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1639,4 +1480,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.channel.v1.DateRange getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DateRangeOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DateRangeOrBuilder.java
similarity index 87%
rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DateRangeOrBuilder.java
rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DateRangeOrBuilder.java
index cc4a3d9da5a4..ccc1e4b5960a 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DateRangeOrBuilder.java
+++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DateRangeOrBuilder.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/cloud/channel/v1/reports_service.proto
 
 package com.google.cloud.channel.v1;
 
-public interface DateRangeOrBuilder
-    extends
+public interface DateRangeOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.DateRange)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The earliest usage date time (inclusive).
    * If you use time groupings (daily, weekly, etc), each group uses
@@ -35,13 +17,10 @@ public interface DateRangeOrBuilder
    * 
* * .google.type.DateTime usage_start_date_time = 1; - * * @return Whether the usageStartDateTime field is set. */ boolean hasUsageStartDateTime(); /** - * - * *
    * The earliest usage date time (inclusive).
    * If you use time groupings (daily, weekly, etc), each group uses
@@ -51,13 +30,10 @@ public interface DateRangeOrBuilder
    * 
* * .google.type.DateTime usage_start_date_time = 1; - * * @return The usageStartDateTime. */ com.google.type.DateTime getUsageStartDateTime(); /** - * - * *
    * The earliest usage date time (inclusive).
    * If you use time groupings (daily, weekly, etc), each group uses
@@ -71,8 +47,6 @@ public interface DateRangeOrBuilder
   com.google.type.DateTimeOrBuilder getUsageStartDateTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The latest usage date time (exclusive).
    * If you use time groupings (daily, weekly, etc), each group uses
@@ -82,13 +56,10 @@ public interface DateRangeOrBuilder
    * 
* * .google.type.DateTime usage_end_date_time = 2; - * * @return Whether the usageEndDateTime field is set. */ boolean hasUsageEndDateTime(); /** - * - * *
    * The latest usage date time (exclusive).
    * If you use time groupings (daily, weekly, etc), each group uses
@@ -98,13 +69,10 @@ public interface DateRangeOrBuilder
    * 
* * .google.type.DateTime usage_end_date_time = 2; - * * @return The usageEndDateTime. */ com.google.type.DateTime getUsageEndDateTime(); /** - * - * *
    * The latest usage date time (exclusive).
    * If you use time groupings (daily, weekly, etc), each group uses
@@ -118,8 +86,6 @@ public interface DateRangeOrBuilder
   com.google.type.DateTimeOrBuilder getUsageEndDateTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The earliest invoice date (inclusive).
    * If your product uses monthly invoices, and this value is not the beginning
@@ -127,13 +93,10 @@ public interface DateRangeOrBuilder
    * 
* * .google.type.Date invoice_start_date = 3; - * * @return Whether the invoiceStartDate field is set. */ boolean hasInvoiceStartDate(); /** - * - * *
    * The earliest invoice date (inclusive).
    * If your product uses monthly invoices, and this value is not the beginning
@@ -141,13 +104,10 @@ public interface DateRangeOrBuilder
    * 
* * .google.type.Date invoice_start_date = 3; - * * @return The invoiceStartDate. */ com.google.type.Date getInvoiceStartDate(); /** - * - * *
    * The earliest invoice date (inclusive).
    * If your product uses monthly invoices, and this value is not the beginning
@@ -159,8 +119,6 @@ public interface DateRangeOrBuilder
   com.google.type.DateOrBuilder getInvoiceStartDateOrBuilder();
 
   /**
-   *
-   *
    * 
    * The latest invoice date (exclusive).
    * If your product uses monthly invoices, and this value is not the beginning
@@ -169,13 +127,10 @@ public interface DateRangeOrBuilder
    * 
* * .google.type.Date invoice_end_date = 4; - * * @return Whether the invoiceEndDate field is set. */ boolean hasInvoiceEndDate(); /** - * - * *
    * The latest invoice date (exclusive).
    * If your product uses monthly invoices, and this value is not the beginning
@@ -184,13 +139,10 @@ public interface DateRangeOrBuilder
    * 
* * .google.type.Date invoice_end_date = 4; - * * @return The invoiceEndDate. */ com.google.type.Date getInvoiceEndDate(); /** - * - * *
    * The latest invoice date (exclusive).
    * If your product uses monthly invoices, and this value is not the beginning
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequest.java
similarity index 56%
rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequest.java
rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequest.java
index a0a1f6bcf218..9ff86f816b23 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequest.java
+++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequest.java
@@ -1,87 +1,62 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/channel/v1/service.proto
 
 package com.google.cloud.channel.v1;
 
 /**
- *
- *
  * 
  * Request message for DeleteChannelPartnerRepricingConfig.
  * 
* * Protobuf type {@code google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest} */ -public final class DeleteChannelPartnerRepricingConfigRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteChannelPartnerRepricingConfigRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest) DeleteChannelPartnerRepricingConfigRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteChannelPartnerRepricingConfigRequest.newBuilder() to construct. - private DeleteChannelPartnerRepricingConfigRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteChannelPartnerRepricingConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteChannelPartnerRepricingConfigRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteChannelPartnerRepricingConfigRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest.class, - com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest.Builder.class); + com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest.class, com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
-   * Required. The resource name of the channel partner repricing config rule to delete.
+   * Required. The resource name of the channel partner repricing config rule to
+   * delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,31 +65,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 resource name of the channel partner repricing config rule to delete.
+   * Required. The resource name of the channel partner repricing config rule to
+   * delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +97,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +108,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +133,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest other = - (com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest) obj; + com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest other = (com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,138 +161,129 @@ public int hashCode() { } public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for DeleteChannelPartnerRepricingConfig.
    * 
* * Protobuf type {@code google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest) com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest.class, - com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest.Builder.class); + com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest.class, com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest.Builder.class); } - // Construct using - // com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -328,22 +293,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_descriptor; } @java.lang.Override - public com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest - getDefaultInstanceForType() { - return com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest - .getDefaultInstance(); + public com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest getDefaultInstanceForType() { + return com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest build() { - com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest result = - buildPartial(); + com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -352,8 +314,7 @@ public com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest bu @java.lang.Override public com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest buildPartial() { - com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest result = - new com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest(this); + com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest result = new com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest(this); result.name_ = name_; onBuilt(); return result; @@ -363,51 +324,46 @@ public com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest 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.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest) { - return mergeFrom( - (com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest) other); + return mergeFrom((com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest other) { - if (other - == com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest other) { + if (other == com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -438,19 +394,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -463,22 +417,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
-     * Required. The resource name of the channel partner repricing config rule to delete.
+     * Required. The resource name of the channel partner repricing config rule to
+     * delete.
      * 
* - * - * string name = 1 [(.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; @@ -487,23 +438,21 @@ public java.lang.String getName() { } } /** - * - * *
-     * Required. The resource name of the channel partner repricing config rule to delete.
+     * Required. The resource name of the channel partner repricing config rule to
+     * delete.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -511,74 +460,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
-     * Required. The resource name of the channel partner repricing config rule to delete.
+     * Required. The resource name of the channel partner repricing config rule to
+     * delete.
      * 
* - * - * string name = 1 [(.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 channel partner repricing config rule to delete.
+     * Required. The resource name of the channel partner repricing config rule to
+     * delete.
      * 
* - * - * string 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 channel partner repricing config rule to delete.
+     * Required. The resource name of the channel partner repricing config rule to
+     * delete.
      * 
* - * - * string name = 1 [(.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); } @@ -588,45 +527,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest) - private static final com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest(); } - public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest - getDefaultInstance() { + public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteChannelPartnerRepricingConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteChannelPartnerRepricingConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -638,8 +573,9 @@ public com.google.protobuf.Parser ge } @java.lang.Override - public com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest - getDefaultInstanceForType() { + public com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequestOrBuilder.java new file mode 100644 index 000000000000..c4dbc4d3f671 --- /dev/null +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/service.proto + +package com.google.cloud.channel.v1; + +public interface DeleteChannelPartnerRepricingConfigRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the channel partner repricing config rule to
+   * delete.
+   * 
+ * + * 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 channel partner repricing config rule to
+   * delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequest.java similarity index 58% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequest.java index 1bf34f6f7792..1f5675f48c91 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequest.java @@ -1,89 +1,64 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Request message for [CloudChannelService.DeleteCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.DeleteCustomerRepricingConfig].
+ * Request message for
+ * [CloudChannelService.DeleteCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.DeleteCustomerRepricingConfig].
  * 
* * Protobuf type {@code google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest} */ -public final class DeleteCustomerRepricingConfigRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteCustomerRepricingConfigRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest) DeleteCustomerRepricingConfigRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteCustomerRepricingConfigRequest.newBuilder() to construct. - private DeleteCustomerRepricingConfigRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteCustomerRepricingConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteCustomerRepricingConfigRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteCustomerRepricingConfigRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest.class, - com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest.Builder.class); + com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest.class, com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
-   * Required. The resource name of the customer repricing config rule to delete.
-   * Format:
+   * Required. The resource name of the customer repricing config rule to
+   * delete. Format:
    * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -92,33 +67,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
-   * Required. The resource name of the customer repricing config rule to delete.
-   * Format:
+   * Required. The resource name of the customer repricing config rule to
+   * delete. Format:
    * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,7 +100,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -163,15 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest other = - (com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest) obj; + com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest other = (com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -191,136 +164,130 @@ public int hashCode() { } public static com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Request message for [CloudChannelService.DeleteCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.DeleteCustomerRepricingConfig].
+   * Request message for
+   * [CloudChannelService.DeleteCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.DeleteCustomerRepricingConfig].
    * 
* * Protobuf type {@code google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest) com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest.class, - com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest.Builder.class); + com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest.class, com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -330,14 +297,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_descriptor; } @java.lang.Override - public com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest - getDefaultInstanceForType() { + public com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest getDefaultInstanceForType() { return com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest.getDefaultInstance(); } @@ -352,8 +318,7 @@ public com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest build() @java.lang.Override public com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest buildPartial() { - com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest result = - new com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest(this); + com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest result = new com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest(this); result.name_ = name_; onBuilt(); return result; @@ -363,50 +328,46 @@ public com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest 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.cloud.channel.v1.DeleteCustomerRepricingConfigRequest) { - return mergeFrom((com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest) other); + return mergeFrom((com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest other) { - if (other - == com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest other) { + if (other == com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -462,24 +421,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
-     * Required. The resource name of the customer repricing config rule to delete.
-     * Format:
+     * Required. The resource name of the customer repricing config rule to
+     * delete. Format:
      * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
      * 
* - * - * string name = 1 [(.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; @@ -488,25 +443,22 @@ public java.lang.String getName() { } } /** - * - * *
-     * Required. The resource name of the customer repricing config rule to delete.
-     * Format:
+     * Required. The resource name of the customer repricing config rule to
+     * delete. Format:
      * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -514,80 +466,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
-     * Required. The resource name of the customer repricing config rule to delete.
-     * Format:
+     * Required. The resource name of the customer repricing config rule to
+     * delete. Format:
      * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
      * 
* - * - * string name = 1 [(.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 customer repricing config rule to delete.
-     * Format:
+     * Required. The resource name of the customer repricing config rule to
+     * delete. Format:
      * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
      * 
* - * - * string 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 customer repricing config rule to delete.
-     * Format:
+     * Required. The resource name of the customer repricing config rule to
+     * delete. Format:
      * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
      * 
* - * - * string name = 1 [(.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); } @@ -597,43 +536,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest) - private static final com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest(); } - public static com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest - getDefaultInstance() { + public static com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteCustomerRepricingConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteCustomerRepricingConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -645,8 +582,9 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest - getDefaultInstanceForType() { + public com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequestOrBuilder.java new file mode 100644 index 000000000000..d92405bdd5d8 --- /dev/null +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/service.proto + +package com.google.cloud.channel.v1; + +public interface DeleteCustomerRepricingConfigRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the customer repricing config rule to
+   * delete. Format:
+   * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
+   * 
+ * + * 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 customer repricing config rule to
+   * delete. Format:
+   * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequest.java similarity index 60% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequest.java index 5cd69a7c7ba7..eaf38f66cccf 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequest.java @@ -1,85 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Request message for [CloudChannelService.DeleteCustomer][google.cloud.channel.v1.CloudChannelService.DeleteCustomer].
+ * Request message for
+ * [CloudChannelService.DeleteCustomer][google.cloud.channel.v1.CloudChannelService.DeleteCustomer].
  * 
* * Protobuf type {@code google.cloud.channel.v1.DeleteCustomerRequest} */ -public final class DeleteCustomerRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteCustomerRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.DeleteCustomerRequest) DeleteCustomerRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteCustomerRequest.newBuilder() to construct. private DeleteCustomerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteCustomerRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteCustomerRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_DeleteCustomerRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_DeleteCustomerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_DeleteCustomerRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_DeleteCustomerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.DeleteCustomerRequest.class, - com.google.cloud.channel.v1.DeleteCustomerRequest.Builder.class); + com.google.cloud.channel.v1.DeleteCustomerRequest.class, com.google.cloud.channel.v1.DeleteCustomerRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the customer to delete.
    * 
* - * - * string name = 1 [(.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 @@ -88,31 +65,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the customer to delete.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -121,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -157,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.DeleteCustomerRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.DeleteCustomerRequest other = - (com.google.cloud.channel.v1.DeleteCustomerRequest) obj; + com.google.cloud.channel.v1.DeleteCustomerRequest other = (com.google.cloud.channel.v1.DeleteCustomerRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -185,135 +160,130 @@ public int hashCode() { } public static com.google.cloud.channel.v1.DeleteCustomerRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.DeleteCustomerRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.DeleteCustomerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.DeleteCustomerRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.DeleteCustomerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.DeleteCustomerRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.DeleteCustomerRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.DeleteCustomerRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.DeleteCustomerRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.DeleteCustomerRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.DeleteCustomerRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.DeleteCustomerRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.DeleteCustomerRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.DeleteCustomerRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.DeleteCustomerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Request message for [CloudChannelService.DeleteCustomer][google.cloud.channel.v1.CloudChannelService.DeleteCustomer].
+   * Request message for
+   * [CloudChannelService.DeleteCustomer][google.cloud.channel.v1.CloudChannelService.DeleteCustomer].
    * 
* * Protobuf type {@code google.cloud.channel.v1.DeleteCustomerRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.DeleteCustomerRequest) com.google.cloud.channel.v1.DeleteCustomerRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_DeleteCustomerRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_DeleteCustomerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_DeleteCustomerRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_DeleteCustomerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.DeleteCustomerRequest.class, - com.google.cloud.channel.v1.DeleteCustomerRequest.Builder.class); + com.google.cloud.channel.v1.DeleteCustomerRequest.class, com.google.cloud.channel.v1.DeleteCustomerRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.DeleteCustomerRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -323,9 +293,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_DeleteCustomerRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_DeleteCustomerRequest_descriptor; } @java.lang.Override @@ -344,8 +314,7 @@ public com.google.cloud.channel.v1.DeleteCustomerRequest build() { @java.lang.Override public com.google.cloud.channel.v1.DeleteCustomerRequest buildPartial() { - com.google.cloud.channel.v1.DeleteCustomerRequest result = - new com.google.cloud.channel.v1.DeleteCustomerRequest(this); + com.google.cloud.channel.v1.DeleteCustomerRequest result = new com.google.cloud.channel.v1.DeleteCustomerRequest(this); result.name_ = name_; onBuilt(); return result; @@ -355,39 +324,38 @@ public com.google.cloud.channel.v1.DeleteCustomerRequest 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.cloud.channel.v1.DeleteCustomerRequest) { - return mergeFrom((com.google.cloud.channel.v1.DeleteCustomerRequest) other); + return mergeFrom((com.google.cloud.channel.v1.DeleteCustomerRequest)other); } else { super.mergeFrom(other); return this; @@ -395,8 +363,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.DeleteCustomerRequest other) { - if (other == com.google.cloud.channel.v1.DeleteCustomerRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.DeleteCustomerRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -427,19 +394,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -452,22 +417,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the customer to delete.
      * 
* - * - * string name = 1 [(.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; @@ -476,23 +437,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the customer to delete.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -500,74 +458,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the customer to delete.
      * 
* - * - * string name = 1 [(.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 customer to delete.
      * 
* - * - * string 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 customer to delete.
      * 
* - * - * string name = 1 [(.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); } @@ -577,12 +522,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.DeleteCustomerRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.DeleteCustomerRequest) private static final com.google.cloud.channel.v1.DeleteCustomerRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.DeleteCustomerRequest(); } @@ -591,27 +536,27 @@ public static com.google.cloud.channel.v1.DeleteCustomerRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteCustomerRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteCustomerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -626,4 +571,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.DeleteCustomerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequestOrBuilder.java new file mode 100644 index 000000000000..a7b6bdb9db4c --- /dev/null +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/service.proto + +package com.google.cloud.channel.v1; + +public interface DeleteCustomerRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.DeleteCustomerRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the customer to delete.
+   * 
+ * + * 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 customer to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduData.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduData.java similarity index 69% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduData.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduData.java index cd4ff818f8dc..eef206212840 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduData.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduData.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/cloud/channel/v1/common.proto package com.google.cloud.channel.v1; /** - * - * *
  * Required Edu Attributes
  * 
* * Protobuf type {@code google.cloud.channel.v1.EduData} */ -public final class EduData extends com.google.protobuf.GeneratedMessageV3 - implements +public final class EduData extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.EduData) EduDataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use EduData.newBuilder() to construct. private EduData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private EduData() { instituteType_ = 0; instituteSize_ = 0; @@ -45,43 +27,39 @@ private EduData() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new EduData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.CommonProto - .internal_static_google_cloud_channel_v1_EduData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_EduData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.CommonProto - .internal_static_google_cloud_channel_v1_EduData_fieldAccessorTable + return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_EduData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.EduData.class, - com.google.cloud.channel.v1.EduData.Builder.class); + com.google.cloud.channel.v1.EduData.class, com.google.cloud.channel.v1.EduData.Builder.class); } /** - * - * *
    * Enum to specify the institute type.
    * 
* * Protobuf enum {@code google.cloud.channel.v1.EduData.InstituteType} */ - public enum InstituteType implements com.google.protobuf.ProtocolMessageEnum { + public enum InstituteType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not used.
      * 
@@ -90,8 +68,6 @@ public enum InstituteType implements com.google.protobuf.ProtocolMessageEnum { */ INSTITUTE_TYPE_UNSPECIFIED(0), /** - * - * *
      * Elementary/Secondary Schools & Districts
      * 
@@ -100,8 +76,6 @@ public enum InstituteType implements com.google.protobuf.ProtocolMessageEnum { */ K12(1), /** - * - * *
      * Higher Education Universities & Colleges
      * 
@@ -113,8 +87,6 @@ public enum InstituteType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Not used.
      * 
@@ -123,8 +95,6 @@ public enum InstituteType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INSTITUTE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Elementary/Secondary Schools & Districts
      * 
@@ -133,8 +103,6 @@ public enum InstituteType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int K12_VALUE = 1; /** - * - * *
      * Higher Education Universities & Colleges
      * 
@@ -143,6 +111,7 @@ public enum InstituteType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNIVERSITY_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -167,49 +136,49 @@ public static InstituteType valueOf(int value) { */ public static InstituteType forNumber(int value) { switch (value) { - case 0: - return INSTITUTE_TYPE_UNSPECIFIED; - case 1: - return K12; - case 2: - return UNIVERSITY; - default: - return null; + case 0: return INSTITUTE_TYPE_UNSPECIFIED; + case 1: return K12; + case 2: return UNIVERSITY; + 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< + InstituteType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public InstituteType findValueByNumber(int number) { + return InstituteType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public InstituteType findValueByNumber(int number) { - return InstituteType.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.cloud.channel.v1.EduData.getDescriptor().getEnumTypes().get(0); } private static final InstituteType[] VALUES = values(); - public static InstituteType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static InstituteType 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; @@ -227,18 +196,15 @@ private InstituteType(int value) { } /** - * - * *
    * Number of students and staff the institute has.
    * 
* * Protobuf enum {@code google.cloud.channel.v1.EduData.InstituteSize} */ - public enum InstituteSize implements com.google.protobuf.ProtocolMessageEnum { + public enum InstituteSize + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not used.
      * 
@@ -247,8 +213,6 @@ public enum InstituteSize implements com.google.protobuf.ProtocolMessageEnum { */ INSTITUTE_SIZE_UNSPECIFIED(0), /** - * - * *
      * 1 - 100
      * 
@@ -257,8 +221,6 @@ public enum InstituteSize implements com.google.protobuf.ProtocolMessageEnum { */ SIZE_1_100(1), /** - * - * *
      * 101 - 500
      * 
@@ -267,8 +229,6 @@ public enum InstituteSize implements com.google.protobuf.ProtocolMessageEnum { */ SIZE_101_500(2), /** - * - * *
      * 501 - 1,000
      * 
@@ -277,8 +237,6 @@ public enum InstituteSize implements com.google.protobuf.ProtocolMessageEnum { */ SIZE_501_1000(3), /** - * - * *
      * 1,001 - 2,000
      * 
@@ -287,8 +245,6 @@ public enum InstituteSize implements com.google.protobuf.ProtocolMessageEnum { */ SIZE_1001_2000(4), /** - * - * *
      * 2,001 - 5,000
      * 
@@ -297,8 +253,6 @@ public enum InstituteSize implements com.google.protobuf.ProtocolMessageEnum { */ SIZE_2001_5000(5), /** - * - * *
      * 5,001 - 10,000
      * 
@@ -307,8 +261,6 @@ public enum InstituteSize implements com.google.protobuf.ProtocolMessageEnum { */ SIZE_5001_10000(6), /** - * - * *
      * 10,001 +
      * 
@@ -320,8 +272,6 @@ public enum InstituteSize implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Not used.
      * 
@@ -330,8 +280,6 @@ public enum InstituteSize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INSTITUTE_SIZE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * 1 - 100
      * 
@@ -340,8 +288,6 @@ public enum InstituteSize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SIZE_1_100_VALUE = 1; /** - * - * *
      * 101 - 500
      * 
@@ -350,8 +296,6 @@ public enum InstituteSize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SIZE_101_500_VALUE = 2; /** - * - * *
      * 501 - 1,000
      * 
@@ -360,8 +304,6 @@ public enum InstituteSize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SIZE_501_1000_VALUE = 3; /** - * - * *
      * 1,001 - 2,000
      * 
@@ -370,8 +312,6 @@ public enum InstituteSize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SIZE_1001_2000_VALUE = 4; /** - * - * *
      * 2,001 - 5,000
      * 
@@ -380,8 +320,6 @@ public enum InstituteSize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SIZE_2001_5000_VALUE = 5; /** - * - * *
      * 5,001 - 10,000
      * 
@@ -390,8 +328,6 @@ public enum InstituteSize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SIZE_5001_10000_VALUE = 6; /** - * - * *
      * 10,001 +
      * 
@@ -400,6 +336,7 @@ public enum InstituteSize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SIZE_10001_OR_MORE_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -424,59 +361,54 @@ public static InstituteSize valueOf(int value) { */ public static InstituteSize forNumber(int value) { switch (value) { - case 0: - return INSTITUTE_SIZE_UNSPECIFIED; - case 1: - return SIZE_1_100; - case 2: - return SIZE_101_500; - case 3: - return SIZE_501_1000; - case 4: - return SIZE_1001_2000; - case 5: - return SIZE_2001_5000; - case 6: - return SIZE_5001_10000; - case 7: - return SIZE_10001_OR_MORE; - default: - return null; + case 0: return INSTITUTE_SIZE_UNSPECIFIED; + case 1: return SIZE_1_100; + case 2: return SIZE_101_500; + case 3: return SIZE_501_1000; + case 4: return SIZE_1001_2000; + case 5: return SIZE_2001_5000; + case 6: return SIZE_5001_10000; + case 7: return SIZE_10001_OR_MORE; + 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< + InstituteSize> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public InstituteSize findValueByNumber(int number) { + return InstituteSize.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public InstituteSize findValueByNumber(int number) { - return InstituteSize.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.cloud.channel.v1.EduData.getDescriptor().getEnumTypes().get(1); } private static final InstituteSize[] VALUES = values(); - public static InstituteSize valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static InstituteSize 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; @@ -496,86 +428,65 @@ private InstituteSize(int value) { public static final int INSTITUTE_TYPE_FIELD_NUMBER = 1; private int instituteType_; /** - * - * *
    * Designated institute type of customer.
    * 
* * .google.cloud.channel.v1.EduData.InstituteType institute_type = 1; - * * @return The enum numeric value on the wire for instituteType. */ - @java.lang.Override - public int getInstituteTypeValue() { + @java.lang.Override public int getInstituteTypeValue() { return instituteType_; } /** - * - * *
    * Designated institute type of customer.
    * 
* * .google.cloud.channel.v1.EduData.InstituteType institute_type = 1; - * * @return The instituteType. */ - @java.lang.Override - public com.google.cloud.channel.v1.EduData.InstituteType getInstituteType() { + @java.lang.Override public com.google.cloud.channel.v1.EduData.InstituteType getInstituteType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.EduData.InstituteType result = - com.google.cloud.channel.v1.EduData.InstituteType.valueOf(instituteType_); + com.google.cloud.channel.v1.EduData.InstituteType result = com.google.cloud.channel.v1.EduData.InstituteType.valueOf(instituteType_); return result == null ? com.google.cloud.channel.v1.EduData.InstituteType.UNRECOGNIZED : result; } public static final int INSTITUTE_SIZE_FIELD_NUMBER = 2; private int instituteSize_; /** - * - * *
    * Size of the institute.
    * 
* * .google.cloud.channel.v1.EduData.InstituteSize institute_size = 2; - * * @return The enum numeric value on the wire for instituteSize. */ - @java.lang.Override - public int getInstituteSizeValue() { + @java.lang.Override public int getInstituteSizeValue() { return instituteSize_; } /** - * - * *
    * Size of the institute.
    * 
* * .google.cloud.channel.v1.EduData.InstituteSize institute_size = 2; - * * @return The instituteSize. */ - @java.lang.Override - public com.google.cloud.channel.v1.EduData.InstituteSize getInstituteSize() { + @java.lang.Override public com.google.cloud.channel.v1.EduData.InstituteSize getInstituteSize() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.EduData.InstituteSize result = - com.google.cloud.channel.v1.EduData.InstituteSize.valueOf(instituteSize_); + com.google.cloud.channel.v1.EduData.InstituteSize result = com.google.cloud.channel.v1.EduData.InstituteSize.valueOf(instituteSize_); return result == null ? com.google.cloud.channel.v1.EduData.InstituteSize.UNRECOGNIZED : result; } public static final int WEBSITE_FIELD_NUMBER = 3; private volatile java.lang.Object website_; /** - * - * *
    * Web address for the edu customer's institution.
    * 
* * string website = 3; - * * @return The website. */ @java.lang.Override @@ -584,29 +495,29 @@ public java.lang.String getWebsite() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); website_ = s; return s; } } /** - * - * *
    * Web address for the edu customer's institution.
    * 
* * string website = 3; - * * @return The bytes for website. */ @java.lang.Override - public com.google.protobuf.ByteString getWebsiteBytes() { + public com.google.protobuf.ByteString + getWebsiteBytes() { java.lang.Object ref = website_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); website_ = b; return b; } else { @@ -615,7 +526,6 @@ public com.google.protobuf.ByteString getWebsiteBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -627,15 +537,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (instituteType_ - != com.google.cloud.channel.v1.EduData.InstituteType.INSTITUTE_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (instituteType_ != com.google.cloud.channel.v1.EduData.InstituteType.INSTITUTE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, instituteType_); } - if (instituteSize_ - != com.google.cloud.channel.v1.EduData.InstituteSize.INSTITUTE_SIZE_UNSPECIFIED - .getNumber()) { + if (instituteSize_ != com.google.cloud.channel.v1.EduData.InstituteSize.INSTITUTE_SIZE_UNSPECIFIED.getNumber()) { output.writeEnum(2, instituteSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(website_)) { @@ -650,15 +557,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (instituteType_ - != com.google.cloud.channel.v1.EduData.InstituteType.INSTITUTE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, instituteType_); + if (instituteType_ != com.google.cloud.channel.v1.EduData.InstituteType.INSTITUTE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, instituteType_); } - if (instituteSize_ - != com.google.cloud.channel.v1.EduData.InstituteSize.INSTITUTE_SIZE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, instituteSize_); + if (instituteSize_ != com.google.cloud.channel.v1.EduData.InstituteSize.INSTITUTE_SIZE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, instituteSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(website_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, website_); @@ -671,7 +576,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.EduData)) { return super.equals(obj); @@ -680,7 +585,8 @@ public boolean equals(final java.lang.Object obj) { if (instituteType_ != other.instituteType_) return false; if (instituteSize_ != other.instituteSize_) return false; - if (!getWebsite().equals(other.getWebsite())) return false; + if (!getWebsite() + .equals(other.getWebsite())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -703,135 +609,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.EduData parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.EduData parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.EduData parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.EduData parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.channel.v1.EduData parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.EduData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.EduData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.EduData parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.EduData 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.cloud.channel.v1.EduData parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.EduData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.EduData parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.EduData parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.EduData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.EduData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Required Edu Attributes
    * 
* * Protobuf type {@code google.cloud.channel.v1.EduData} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.EduData) com.google.cloud.channel.v1.EduDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.CommonProto - .internal_static_google_cloud_channel_v1_EduData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_EduData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.CommonProto - .internal_static_google_cloud_channel_v1_EduData_fieldAccessorTable + return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_EduData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.EduData.class, - com.google.cloud.channel.v1.EduData.Builder.class); + com.google.cloud.channel.v1.EduData.class, com.google.cloud.channel.v1.EduData.Builder.class); } // Construct using com.google.cloud.channel.v1.EduData.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -845,9 +746,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.CommonProto - .internal_static_google_cloud_channel_v1_EduData_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_EduData_descriptor; } @java.lang.Override @@ -878,39 +779,38 @@ public com.google.cloud.channel.v1.EduData 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.cloud.channel.v1.EduData) { - return mergeFrom((com.google.cloud.channel.v1.EduData) other); + return mergeFrom((com.google.cloud.channel.v1.EduData)other); } else { super.mergeFrom(other); return this; @@ -955,31 +855,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - instituteType_ = input.readEnum(); - - break; - } // case 8 - case 16: - { - instituteSize_ = input.readEnum(); - - break; - } // case 16 - case 26: - { - website_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + instituteType_ = input.readEnum(); + + break; + } // case 8 + case 16: { + instituteSize_ = input.readEnum(); + + break; + } // case 16 + case 26: { + website_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -992,67 +888,51 @@ public Builder mergeFrom( private int instituteType_ = 0; /** - * - * *
      * Designated institute type of customer.
      * 
* * .google.cloud.channel.v1.EduData.InstituteType institute_type = 1; - * * @return The enum numeric value on the wire for instituteType. */ - @java.lang.Override - public int getInstituteTypeValue() { + @java.lang.Override public int getInstituteTypeValue() { return instituteType_; } /** - * - * *
      * Designated institute type of customer.
      * 
* * .google.cloud.channel.v1.EduData.InstituteType institute_type = 1; - * * @param value The enum numeric value on the wire for instituteType to set. * @return This builder for chaining. */ public Builder setInstituteTypeValue(int value) { - + instituteType_ = value; onChanged(); return this; } /** - * - * *
      * Designated institute type of customer.
      * 
* * .google.cloud.channel.v1.EduData.InstituteType institute_type = 1; - * * @return The instituteType. */ @java.lang.Override public com.google.cloud.channel.v1.EduData.InstituteType getInstituteType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.EduData.InstituteType result = - com.google.cloud.channel.v1.EduData.InstituteType.valueOf(instituteType_); - return result == null - ? com.google.cloud.channel.v1.EduData.InstituteType.UNRECOGNIZED - : result; + com.google.cloud.channel.v1.EduData.InstituteType result = com.google.cloud.channel.v1.EduData.InstituteType.valueOf(instituteType_); + return result == null ? com.google.cloud.channel.v1.EduData.InstituteType.UNRECOGNIZED : result; } /** - * - * *
      * Designated institute type of customer.
      * 
* * .google.cloud.channel.v1.EduData.InstituteType institute_type = 1; - * * @param value The instituteType to set. * @return This builder for chaining. */ @@ -1060,24 +940,21 @@ public Builder setInstituteType(com.google.cloud.channel.v1.EduData.InstituteTyp if (value == null) { throw new NullPointerException(); } - + instituteType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Designated institute type of customer.
      * 
* * .google.cloud.channel.v1.EduData.InstituteType institute_type = 1; - * * @return This builder for chaining. */ public Builder clearInstituteType() { - + instituteType_ = 0; onChanged(); return this; @@ -1085,67 +962,51 @@ public Builder clearInstituteType() { private int instituteSize_ = 0; /** - * - * *
      * Size of the institute.
      * 
* * .google.cloud.channel.v1.EduData.InstituteSize institute_size = 2; - * * @return The enum numeric value on the wire for instituteSize. */ - @java.lang.Override - public int getInstituteSizeValue() { + @java.lang.Override public int getInstituteSizeValue() { return instituteSize_; } /** - * - * *
      * Size of the institute.
      * 
* * .google.cloud.channel.v1.EduData.InstituteSize institute_size = 2; - * * @param value The enum numeric value on the wire for instituteSize to set. * @return This builder for chaining. */ public Builder setInstituteSizeValue(int value) { - + instituteSize_ = value; onChanged(); return this; } /** - * - * *
      * Size of the institute.
      * 
* * .google.cloud.channel.v1.EduData.InstituteSize institute_size = 2; - * * @return The instituteSize. */ @java.lang.Override public com.google.cloud.channel.v1.EduData.InstituteSize getInstituteSize() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.EduData.InstituteSize result = - com.google.cloud.channel.v1.EduData.InstituteSize.valueOf(instituteSize_); - return result == null - ? com.google.cloud.channel.v1.EduData.InstituteSize.UNRECOGNIZED - : result; + com.google.cloud.channel.v1.EduData.InstituteSize result = com.google.cloud.channel.v1.EduData.InstituteSize.valueOf(instituteSize_); + return result == null ? com.google.cloud.channel.v1.EduData.InstituteSize.UNRECOGNIZED : result; } /** - * - * *
      * Size of the institute.
      * 
* * .google.cloud.channel.v1.EduData.InstituteSize institute_size = 2; - * * @param value The instituteSize to set. * @return This builder for chaining. */ @@ -1153,24 +1014,21 @@ public Builder setInstituteSize(com.google.cloud.channel.v1.EduData.InstituteSiz if (value == null) { throw new NullPointerException(); } - + instituteSize_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Size of the institute.
      * 
* * .google.cloud.channel.v1.EduData.InstituteSize institute_size = 2; - * * @return This builder for chaining. */ public Builder clearInstituteSize() { - + instituteSize_ = 0; onChanged(); return this; @@ -1178,20 +1036,18 @@ public Builder clearInstituteSize() { private java.lang.Object website_ = ""; /** - * - * *
      * Web address for the edu customer's institution.
      * 
* * string website = 3; - * * @return The website. */ public java.lang.String getWebsite() { java.lang.Object ref = website_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); website_ = s; return s; @@ -1200,21 +1056,20 @@ public java.lang.String getWebsite() { } } /** - * - * *
      * Web address for the edu customer's institution.
      * 
* * string website = 3; - * * @return The bytes for website. */ - public com.google.protobuf.ByteString getWebsiteBytes() { + public com.google.protobuf.ByteString + getWebsiteBytes() { java.lang.Object ref = website_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); website_ = b; return b; } else { @@ -1222,68 +1077,61 @@ public com.google.protobuf.ByteString getWebsiteBytes() { } } /** - * - * *
      * Web address for the edu customer's institution.
      * 
* * string website = 3; - * * @param value The website to set. * @return This builder for chaining. */ - public Builder setWebsite(java.lang.String value) { + public Builder setWebsite( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + website_ = value; onChanged(); return this; } /** - * - * *
      * Web address for the edu customer's institution.
      * 
* * string website = 3; - * * @return This builder for chaining. */ public Builder clearWebsite() { - + website_ = getDefaultInstance().getWebsite(); onChanged(); return this; } /** - * - * *
      * Web address for the edu customer's institution.
      * 
* * string website = 3; - * * @param value The bytes for website to set. * @return This builder for chaining. */ - public Builder setWebsiteBytes(com.google.protobuf.ByteString value) { + public Builder setWebsiteBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + website_ = 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); } @@ -1293,12 +1141,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.EduData) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.EduData) private static final com.google.cloud.channel.v1.EduData DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.EduData(); } @@ -1307,27 +1155,27 @@ public static com.google.cloud.channel.v1.EduData getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EduData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EduData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1342,4 +1190,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.EduData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduDataOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduDataOrBuilder.java similarity index 68% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduDataOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduDataOrBuilder.java index 03d095dca9d2..3b7e51550ef7 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduDataOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduDataOrBuilder.java @@ -1,100 +1,67 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/common.proto package com.google.cloud.channel.v1; -public interface EduDataOrBuilder - extends +public interface EduDataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.EduData) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Designated institute type of customer.
    * 
* * .google.cloud.channel.v1.EduData.InstituteType institute_type = 1; - * * @return The enum numeric value on the wire for instituteType. */ int getInstituteTypeValue(); /** - * - * *
    * Designated institute type of customer.
    * 
* * .google.cloud.channel.v1.EduData.InstituteType institute_type = 1; - * * @return The instituteType. */ com.google.cloud.channel.v1.EduData.InstituteType getInstituteType(); /** - * - * *
    * Size of the institute.
    * 
* * .google.cloud.channel.v1.EduData.InstituteSize institute_size = 2; - * * @return The enum numeric value on the wire for instituteSize. */ int getInstituteSizeValue(); /** - * - * *
    * Size of the institute.
    * 
* * .google.cloud.channel.v1.EduData.InstituteSize institute_size = 2; - * * @return The instituteSize. */ com.google.cloud.channel.v1.EduData.InstituteSize getInstituteSize(); /** - * - * *
    * Web address for the edu customer's institution.
    * 
* * string website = 3; - * * @return The website. */ java.lang.String getWebsite(); /** - * - * *
    * Web address for the edu customer's institution.
    * 
* * string website = 3; - * * @return The bytes for website. */ - com.google.protobuf.ByteString getWebsiteBytes(); + com.google.protobuf.ByteString + getWebsiteBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Entitlement.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Entitlement.java similarity index 69% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Entitlement.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Entitlement.java index ee4a7f5f2796..e23a07a2ebf4 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Entitlement.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Entitlement.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/cloud/channel/v1/entitlements.proto package com.google.cloud.channel.v1; /** - * - * *
  * An entitlement is a representation of a customer's ability to use a service.
  * 
* * Protobuf type {@code google.cloud.channel.v1.Entitlement} */ -public final class Entitlement extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Entitlement extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.Entitlement) EntitlementOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Entitlement.newBuilder() to construct. private Entitlement(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Entitlement() { name_ = ""; offer_ = ""; @@ -48,43 +30,39 @@ private Entitlement() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Entitlement(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_Entitlement_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_Entitlement_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_Entitlement_fieldAccessorTable + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_Entitlement_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Entitlement.class, - com.google.cloud.channel.v1.Entitlement.Builder.class); + com.google.cloud.channel.v1.Entitlement.class, com.google.cloud.channel.v1.Entitlement.Builder.class); } /** - * - * *
    * Indicates the current provisioning state of the entitlement.
    * 
* * Protobuf enum {@code google.cloud.channel.v1.Entitlement.ProvisioningState} */ - public enum ProvisioningState implements com.google.protobuf.ProtocolMessageEnum { + public enum ProvisioningState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not used.
      * 
@@ -93,8 +71,6 @@ public enum ProvisioningState implements com.google.protobuf.ProtocolMessageEnum */ PROVISIONING_STATE_UNSPECIFIED(0), /** - * - * *
      * The entitlement is currently active.
      * 
@@ -103,8 +79,6 @@ public enum ProvisioningState implements com.google.protobuf.ProtocolMessageEnum */ ACTIVE(1), /** - * - * *
      * The entitlement is currently suspended.
      * 
@@ -116,8 +90,6 @@ public enum ProvisioningState implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * Not used.
      * 
@@ -126,8 +98,6 @@ public enum ProvisioningState implements com.google.protobuf.ProtocolMessageEnum */ public static final int PROVISIONING_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The entitlement is currently active.
      * 
@@ -136,8 +106,6 @@ public enum ProvisioningState implements com.google.protobuf.ProtocolMessageEnum */ public static final int ACTIVE_VALUE = 1; /** - * - * *
      * The entitlement is currently suspended.
      * 
@@ -146,6 +114,7 @@ public enum ProvisioningState implements com.google.protobuf.ProtocolMessageEnum */ public static final int SUSPENDED_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -170,14 +139,10 @@ public static ProvisioningState valueOf(int value) { */ public static ProvisioningState forNumber(int value) { switch (value) { - case 0: - return PROVISIONING_STATE_UNSPECIFIED; - case 1: - return ACTIVE; - case 5: - return SUSPENDED; - default: - return null; + case 0: return PROVISIONING_STATE_UNSPECIFIED; + case 1: return ACTIVE; + case 5: return SUSPENDED; + default: return null; } } @@ -185,28 +150,28 @@ public static ProvisioningState forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + ProvisioningState> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ProvisioningState findValueByNumber(int number) { + return ProvisioningState.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ProvisioningState findValueByNumber(int number) { - return ProvisioningState.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.cloud.channel.v1.Entitlement.getDescriptor().getEnumTypes().get(0); } @@ -215,7 +180,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static ProvisioningState 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; @@ -233,18 +199,17 @@ private ProvisioningState(int value) { } /** - * - * *
-   * Suspension reason for an entitlement if [provisioning_state][google.cloud.channel.v1.Entitlement.provisioning_state] = SUSPENDED.
+   * Suspension reason for an entitlement if
+   * [provisioning_state][google.cloud.channel.v1.Entitlement.provisioning_state]
+   * = SUSPENDED.
    * 
* * Protobuf enum {@code google.cloud.channel.v1.Entitlement.SuspensionReason} */ - public enum SuspensionReason implements com.google.protobuf.ProtocolMessageEnum { + public enum SuspensionReason + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not used.
      * 
@@ -253,8 +218,6 @@ public enum SuspensionReason implements com.google.protobuf.ProtocolMessageEnum */ SUSPENSION_REASON_UNSPECIFIED(0), /** - * - * *
      * Entitlement was manually suspended by the Reseller.
      * 
@@ -263,8 +226,6 @@ public enum SuspensionReason implements com.google.protobuf.ProtocolMessageEnum */ RESELLER_INITIATED(1), /** - * - * *
      * Trial ended.
      * 
@@ -273,8 +234,6 @@ public enum SuspensionReason implements com.google.protobuf.ProtocolMessageEnum */ TRIAL_ENDED(2), /** - * - * *
      * Entitlement renewal was canceled.
      * 
@@ -283,8 +242,6 @@ public enum SuspensionReason implements com.google.protobuf.ProtocolMessageEnum */ RENEWAL_WITH_TYPE_CANCEL(3), /** - * - * *
      * Entitlement was automatically suspended on creation for pending ToS
      * acceptance on customer.
@@ -294,8 +251,6 @@ public enum SuspensionReason implements com.google.protobuf.ProtocolMessageEnum
      */
     PENDING_TOS_ACCEPTANCE(4),
     /**
-     *
-     *
      * 
      * Other reasons (internal reasons, abuse, etc.).
      * 
@@ -307,8 +262,6 @@ public enum SuspensionReason implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * Not used.
      * 
@@ -317,8 +270,6 @@ public enum SuspensionReason implements com.google.protobuf.ProtocolMessageEnum */ public static final int SUSPENSION_REASON_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Entitlement was manually suspended by the Reseller.
      * 
@@ -327,8 +278,6 @@ public enum SuspensionReason implements com.google.protobuf.ProtocolMessageEnum */ public static final int RESELLER_INITIATED_VALUE = 1; /** - * - * *
      * Trial ended.
      * 
@@ -337,8 +286,6 @@ public enum SuspensionReason implements com.google.protobuf.ProtocolMessageEnum */ public static final int TRIAL_ENDED_VALUE = 2; /** - * - * *
      * Entitlement renewal was canceled.
      * 
@@ -347,8 +294,6 @@ public enum SuspensionReason implements com.google.protobuf.ProtocolMessageEnum */ public static final int RENEWAL_WITH_TYPE_CANCEL_VALUE = 3; /** - * - * *
      * Entitlement was automatically suspended on creation for pending ToS
      * acceptance on customer.
@@ -358,8 +303,6 @@ public enum SuspensionReason implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int PENDING_TOS_ACCEPTANCE_VALUE = 4;
     /**
-     *
-     *
      * 
      * Other reasons (internal reasons, abuse, etc.).
      * 
@@ -368,6 +311,7 @@ public enum SuspensionReason implements com.google.protobuf.ProtocolMessageEnum */ public static final int OTHER_VALUE = 100; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -392,48 +336,42 @@ public static SuspensionReason valueOf(int value) { */ public static SuspensionReason forNumber(int value) { switch (value) { - case 0: - return SUSPENSION_REASON_UNSPECIFIED; - case 1: - return RESELLER_INITIATED; - case 2: - return TRIAL_ENDED; - case 3: - return RENEWAL_WITH_TYPE_CANCEL; - case 4: - return PENDING_TOS_ACCEPTANCE; - case 100: - return OTHER; - default: - return null; + case 0: return SUSPENSION_REASON_UNSPECIFIED; + case 1: return RESELLER_INITIATED; + case 2: return TRIAL_ENDED; + case 3: return RENEWAL_WITH_TYPE_CANCEL; + case 4: return PENDING_TOS_ACCEPTANCE; + case 100: return OTHER; + 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< + SuspensionReason> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public SuspensionReason findValueByNumber(int number) { + return SuspensionReason.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public SuspensionReason findValueByNumber(int number) { - return SuspensionReason.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.cloud.channel.v1.Entitlement.getDescriptor().getEnumTypes().get(1); } @@ -442,7 +380,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static SuspensionReason valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -462,15 +401,12 @@ private SuspensionReason(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. Resource name of an entitlement in the form:
    * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -479,30 +415,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 an entitlement in the form:
    * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_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 { @@ -513,15 +449,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time at which the entitlement is created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -529,15 +461,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time at which the entitlement is created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -545,14 +473,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time at which the entitlement is created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -562,15 +487,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The time at which the entitlement is updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -578,15 +499,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The time at which the entitlement is updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -594,14 +511,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The time at which the entitlement is updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -611,17 +525,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int OFFER_FIELD_NUMBER = 8; private volatile java.lang.Object offer_; /** - * - * *
    * Required. The offer resource name for which the entitlement is to be
    * created. Takes the form: accounts/{account_id}/offers/{offer_id}.
    * 
* - * - * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The offer. */ @java.lang.Override @@ -630,32 +539,30 @@ public java.lang.String getOffer() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); offer_ = s; return s; } } /** - * - * *
    * Required. The offer resource name for which the entitlement is to be
    * created. Takes the form: accounts/{account_id}/offers/{offer_id}.
    * 
* - * - * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for offer. */ @java.lang.Override - public com.google.protobuf.ByteString getOfferBytes() { + public com.google.protobuf.ByteString + getOfferBytes() { java.lang.Object ref = offer_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); offer_ = b; return b; } else { @@ -666,15 +573,12 @@ public com.google.protobuf.ByteString getOfferBytes() { public static final int COMMITMENT_SETTINGS_FIELD_NUMBER = 12; private com.google.cloud.channel.v1.CommitmentSettings commitmentSettings_; /** - * - * *
    * Commitment settings for a commitment-based Offer.
    * Required for commitment based offers.
    * 
* * .google.cloud.channel.v1.CommitmentSettings commitment_settings = 12; - * * @return Whether the commitmentSettings field is set. */ @java.lang.Override @@ -682,26 +586,19 @@ public boolean hasCommitmentSettings() { return commitmentSettings_ != null; } /** - * - * *
    * Commitment settings for a commitment-based Offer.
    * Required for commitment based offers.
    * 
* * .google.cloud.channel.v1.CommitmentSettings commitment_settings = 12; - * * @return The commitmentSettings. */ @java.lang.Override public com.google.cloud.channel.v1.CommitmentSettings getCommitmentSettings() { - return commitmentSettings_ == null - ? com.google.cloud.channel.v1.CommitmentSettings.getDefaultInstance() - : commitmentSettings_; + return commitmentSettings_ == null ? com.google.cloud.channel.v1.CommitmentSettings.getDefaultInstance() : commitmentSettings_; } /** - * - * *
    * Commitment settings for a commitment-based Offer.
    * Required for commitment based offers.
@@ -717,58 +614,38 @@ public com.google.cloud.channel.v1.CommitmentSettingsOrBuilder getCommitmentSett
   public static final int PROVISIONING_STATE_FIELD_NUMBER = 13;
   private int provisioningState_;
   /**
-   *
-   *
    * 
    * Output only. Current provisioning state of the entitlement.
    * 
* - * - * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for provisioningState. */ - @java.lang.Override - public int getProvisioningStateValue() { + @java.lang.Override public int getProvisioningStateValue() { return provisioningState_; } /** - * - * *
    * Output only. Current provisioning state of the entitlement.
    * 
* - * - * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The provisioningState. */ - @java.lang.Override - public com.google.cloud.channel.v1.Entitlement.ProvisioningState getProvisioningState() { + @java.lang.Override public com.google.cloud.channel.v1.Entitlement.ProvisioningState getProvisioningState() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.Entitlement.ProvisioningState result = - com.google.cloud.channel.v1.Entitlement.ProvisioningState.valueOf(provisioningState_); - return result == null - ? com.google.cloud.channel.v1.Entitlement.ProvisioningState.UNRECOGNIZED - : result; + com.google.cloud.channel.v1.Entitlement.ProvisioningState result = com.google.cloud.channel.v1.Entitlement.ProvisioningState.valueOf(provisioningState_); + return result == null ? com.google.cloud.channel.v1.Entitlement.ProvisioningState.UNRECOGNIZED : result; } public static final int PROVISIONED_SERVICE_FIELD_NUMBER = 16; private com.google.cloud.channel.v1.ProvisionedService provisionedService_; /** - * - * *
    * Output only. Service provisioning details for the entitlement.
    * 
* - * - * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the provisionedService field is set. */ @java.lang.Override @@ -776,34 +653,23 @@ public boolean hasProvisionedService() { return provisionedService_ != null; } /** - * - * *
    * Output only. Service provisioning details for the entitlement.
    * 
* - * - * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The provisionedService. */ @java.lang.Override public com.google.cloud.channel.v1.ProvisionedService getProvisionedService() { - return provisionedService_ == null - ? com.google.cloud.channel.v1.ProvisionedService.getDefaultInstance() - : provisionedService_; + return provisionedService_ == null ? com.google.cloud.channel.v1.ProvisionedService.getDefaultInstance() : provisionedService_; } /** - * - * *
    * Output only. Service provisioning details for the entitlement.
    * 
* - * - * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.channel.v1.ProvisionedServiceOrBuilder getProvisionedServiceOrBuilder() { @@ -813,51 +679,36 @@ public com.google.cloud.channel.v1.ProvisionedServiceOrBuilder getProvisionedSer public static final int SUSPENSION_REASONS_FIELD_NUMBER = 18; private java.util.List suspensionReasons_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.channel.v1.Entitlement.SuspensionReason> - suspensionReasons_converter_ = + java.lang.Integer, com.google.cloud.channel.v1.Entitlement.SuspensionReason> suspensionReasons_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.channel.v1.Entitlement.SuspensionReason>() { - public com.google.cloud.channel.v1.Entitlement.SuspensionReason convert( - java.lang.Integer from) { + public com.google.cloud.channel.v1.Entitlement.SuspensionReason convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.Entitlement.SuspensionReason result = - com.google.cloud.channel.v1.Entitlement.SuspensionReason.valueOf(from); - return result == null - ? com.google.cloud.channel.v1.Entitlement.SuspensionReason.UNRECOGNIZED - : result; + com.google.cloud.channel.v1.Entitlement.SuspensionReason result = com.google.cloud.channel.v1.Entitlement.SuspensionReason.valueOf(from); + return result == null ? com.google.cloud.channel.v1.Entitlement.SuspensionReason.UNRECOGNIZED : result; } }; /** - * - * *
-   * Output only. Enumerable of all current suspension reasons for an entitlement.
+   * Output only. Enumerable of all current suspension reasons for an
+   * entitlement.
    * 
* - * - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the suspensionReasons. */ @java.lang.Override - public java.util.List - getSuspensionReasonsList() { + public java.util.List getSuspensionReasonsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.channel.v1.Entitlement.SuspensionReason>( - suspensionReasons_, suspensionReasons_converter_); + java.lang.Integer, com.google.cloud.channel.v1.Entitlement.SuspensionReason>(suspensionReasons_, suspensionReasons_converter_); } /** - * - * *
-   * Output only. Enumerable of all current suspension reasons for an entitlement.
+   * Output only. Enumerable of all current suspension reasons for an
+   * entitlement.
    * 
* - * - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of suspensionReasons. */ @java.lang.Override @@ -865,16 +716,12 @@ public int getSuspensionReasonsCount() { return suspensionReasons_.size(); } /** - * - * *
-   * Output only. Enumerable of all current suspension reasons for an entitlement.
+   * Output only. Enumerable of all current suspension reasons for an
+   * entitlement.
    * 
* - * - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The suspensionReasons at the given index. */ @@ -883,33 +730,26 @@ public com.google.cloud.channel.v1.Entitlement.SuspensionReason getSuspensionRea return suspensionReasons_converter_.convert(suspensionReasons_.get(index)); } /** - * - * *
-   * Output only. Enumerable of all current suspension reasons for an entitlement.
+   * Output only. Enumerable of all current suspension reasons for an
+   * entitlement.
    * 
* - * - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for suspensionReasons. */ @java.lang.Override - public java.util.List getSuspensionReasonsValueList() { + public java.util.List + getSuspensionReasonsValueList() { return suspensionReasons_; } /** - * - * *
-   * Output only. Enumerable of all current suspension reasons for an entitlement.
+   * Output only. Enumerable of all current suspension reasons for an
+   * entitlement.
    * 
* - * - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of suspensionReasons at the given index. */ @@ -917,24 +757,20 @@ public java.util.List getSuspensionReasonsValueList() { public int getSuspensionReasonsValue(int index) { return suspensionReasons_.get(index); } - private int suspensionReasonsMemoizedSerializedSize; public static final int PURCHASE_ORDER_ID_FIELD_NUMBER = 19; private volatile java.lang.Object purchaseOrderId_; /** - * - * *
-   * Optional. This purchase order (PO) information is for resellers to use for their
-   * company tracking usage. If a purchaseOrderId value is given, it appears in
-   * the API responses and shows up in the invoice. The property accepts up to
-   * 80 plain text characters. This is only supported for Google Workspace
-   * entitlements.
+   * Optional. This purchase order (PO) information is for resellers to use for
+   * their company tracking usage. If a purchaseOrderId value is given, it
+   * appears in the API responses and shows up in the invoice. The property
+   * accepts up to 80 plain text characters. This is only supported for Google
+   * Workspace entitlements.
    * 
* * string purchase_order_id = 19 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The purchaseOrderId. */ @java.lang.Override @@ -943,33 +779,33 @@ public java.lang.String getPurchaseOrderId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); purchaseOrderId_ = s; return s; } } /** - * - * *
-   * Optional. This purchase order (PO) information is for resellers to use for their
-   * company tracking usage. If a purchaseOrderId value is given, it appears in
-   * the API responses and shows up in the invoice. The property accepts up to
-   * 80 plain text characters. This is only supported for Google Workspace
-   * entitlements.
+   * Optional. This purchase order (PO) information is for resellers to use for
+   * their company tracking usage. If a purchaseOrderId value is given, it
+   * appears in the API responses and shows up in the invoice. The property
+   * accepts up to 80 plain text characters. This is only supported for Google
+   * Workspace entitlements.
    * 
* * string purchase_order_id = 19 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for purchaseOrderId. */ @java.lang.Override - public com.google.protobuf.ByteString getPurchaseOrderIdBytes() { + public com.google.protobuf.ByteString + getPurchaseOrderIdBytes() { java.lang.Object ref = purchaseOrderId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); purchaseOrderId_ = b; return b; } else { @@ -980,16 +816,11 @@ public com.google.protobuf.ByteString getPurchaseOrderIdBytes() { public static final int TRIAL_SETTINGS_FIELD_NUMBER = 21; private com.google.cloud.channel.v1.TrialSettings trialSettings_; /** - * - * *
    * Output only. Settings for trial offers.
    * 
* - * - * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the trialSettings field is set. */ @java.lang.Override @@ -997,34 +828,23 @@ public boolean hasTrialSettings() { return trialSettings_ != null; } /** - * - * *
    * Output only. Settings for trial offers.
    * 
* - * - * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The trialSettings. */ @java.lang.Override public com.google.cloud.channel.v1.TrialSettings getTrialSettings() { - return trialSettings_ == null - ? com.google.cloud.channel.v1.TrialSettings.getDefaultInstance() - : trialSettings_; + return trialSettings_ == null ? com.google.cloud.channel.v1.TrialSettings.getDefaultInstance() : trialSettings_; } /** - * - * *
    * Output only. Settings for trial offers.
    * 
* - * - * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.channel.v1.TrialSettingsOrBuilder getTrialSettingsOrBuilder() { @@ -1034,14 +854,11 @@ public com.google.cloud.channel.v1.TrialSettingsOrBuilder getTrialSettingsOrBuil public static final int ASSOCIATION_INFO_FIELD_NUMBER = 23; private com.google.cloud.channel.v1.AssociationInfo associationInfo_; /** - * - * *
    * Association information to other entitlements.
    * 
* * .google.cloud.channel.v1.AssociationInfo association_info = 23; - * * @return Whether the associationInfo field is set. */ @java.lang.Override @@ -1049,25 +866,18 @@ public boolean hasAssociationInfo() { return associationInfo_ != null; } /** - * - * *
    * Association information to other entitlements.
    * 
* * .google.cloud.channel.v1.AssociationInfo association_info = 23; - * * @return The associationInfo. */ @java.lang.Override public com.google.cloud.channel.v1.AssociationInfo getAssociationInfo() { - return associationInfo_ == null - ? com.google.cloud.channel.v1.AssociationInfo.getDefaultInstance() - : associationInfo_; + return associationInfo_ == null ? com.google.cloud.channel.v1.AssociationInfo.getDefaultInstance() : associationInfo_; } /** - * - * *
    * Association information to other entitlements.
    * 
@@ -1082,8 +892,6 @@ public com.google.cloud.channel.v1.AssociationInfoOrBuilder getAssociationInfoOr public static final int PARAMETERS_FIELD_NUMBER = 26; private java.util.List parameters_; /** - * - * *
    * Extended entitlement parameters. When creating an entitlement, valid
    * parameter names and values are defined in the
@@ -1101,8 +909,6 @@ public java.util.List getParametersList()
     return parameters_;
   }
   /**
-   *
-   *
    * 
    * Extended entitlement parameters. When creating an entitlement, valid
    * parameter names and values are defined in the
@@ -1116,13 +922,11 @@ public java.util.List getParametersList()
    * repeated .google.cloud.channel.v1.Parameter parameters = 26;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getParametersOrBuilderList() {
     return parameters_;
   }
   /**
-   *
-   *
    * 
    * Extended entitlement parameters. When creating an entitlement, valid
    * parameter names and values are defined in the
@@ -1140,8 +944,6 @@ public int getParametersCount() {
     return parameters_.size();
   }
   /**
-   *
-   *
    * 
    * Extended entitlement parameters. When creating an entitlement, valid
    * parameter names and values are defined in the
@@ -1159,8 +961,6 @@ public com.google.cloud.channel.v1.Parameter getParameters(int index) {
     return parameters_.get(index);
   }
   /**
-   *
-   *
    * 
    * Extended entitlement parameters. When creating an entitlement, valid
    * parameter names and values are defined in the
@@ -1174,12 +974,12 @@ public com.google.cloud.channel.v1.Parameter getParameters(int index) {
    * repeated .google.cloud.channel.v1.Parameter parameters = 26;
    */
   @java.lang.Override
-  public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(int index) {
+  public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(
+      int index) {
     return parameters_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1191,7 +991,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     getSerializedSize();
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
@@ -1208,9 +1009,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (commitmentSettings_ != null) {
       output.writeMessage(12, getCommitmentSettings());
     }
-    if (provisioningState_
-        != com.google.cloud.channel.v1.Entitlement.ProvisioningState.PROVISIONING_STATE_UNSPECIFIED
-            .getNumber()) {
+    if (provisioningState_ != com.google.cloud.channel.v1.Entitlement.ProvisioningState.PROVISIONING_STATE_UNSPECIFIED.getNumber()) {
       output.writeEnum(13, provisioningState_);
     }
     if (provisionedService_ != null) {
@@ -1248,49 +1047,54 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getUpdateTime());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(offer_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, offer_);
     }
     if (commitmentSettings_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getCommitmentSettings());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(12, getCommitmentSettings());
     }
-    if (provisioningState_
-        != com.google.cloud.channel.v1.Entitlement.ProvisioningState.PROVISIONING_STATE_UNSPECIFIED
-            .getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(13, provisioningState_);
+    if (provisioningState_ != com.google.cloud.channel.v1.Entitlement.ProvisioningState.PROVISIONING_STATE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(13, provisioningState_);
     }
     if (provisionedService_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getProvisionedService());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(16, getProvisionedService());
     }
     {
       int dataSize = 0;
       for (int i = 0; i < suspensionReasons_.size(); i++) {
-        dataSize +=
-            com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(suspensionReasons_.get(i));
+        dataSize += com.google.protobuf.CodedOutputStream
+          .computeEnumSizeNoTag(suspensionReasons_.get(i));
       }
       size += dataSize;
-      if (!getSuspensionReasonsList().isEmpty()) {
-        size += 2;
-        size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize);
-      }
-      suspensionReasonsMemoizedSerializedSize = dataSize;
+      if (!getSuspensionReasonsList().isEmpty()) {  size += 2;
+        size += com.google.protobuf.CodedOutputStream
+          .computeUInt32SizeNoTag(dataSize);
+      }suspensionReasonsMemoizedSerializedSize = dataSize;
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(purchaseOrderId_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, purchaseOrderId_);
     }
     if (trialSettings_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getTrialSettings());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(21, getTrialSettings());
     }
     if (associationInfo_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getAssociationInfo());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(23, getAssociationInfo());
     }
     for (int i = 0; i < parameters_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(26, parameters_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(26, parameters_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1300,43 +1104,53 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.channel.v1.Entitlement)) {
       return super.equals(obj);
     }
     com.google.cloud.channel.v1.Entitlement other = (com.google.cloud.channel.v1.Entitlement) 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 (!getOffer().equals(other.getOffer())) return false;
+    if (!getOffer()
+        .equals(other.getOffer())) return false;
     if (hasCommitmentSettings() != other.hasCommitmentSettings()) return false;
     if (hasCommitmentSettings()) {
-      if (!getCommitmentSettings().equals(other.getCommitmentSettings())) return false;
+      if (!getCommitmentSettings()
+          .equals(other.getCommitmentSettings())) return false;
     }
     if (provisioningState_ != other.provisioningState_) return false;
     if (hasProvisionedService() != other.hasProvisionedService()) return false;
     if (hasProvisionedService()) {
-      if (!getProvisionedService().equals(other.getProvisionedService())) return false;
+      if (!getProvisionedService()
+          .equals(other.getProvisionedService())) return false;
     }
     if (!suspensionReasons_.equals(other.suspensionReasons_)) return false;
-    if (!getPurchaseOrderId().equals(other.getPurchaseOrderId())) return false;
+    if (!getPurchaseOrderId()
+        .equals(other.getPurchaseOrderId())) return false;
     if (hasTrialSettings() != other.hasTrialSettings()) return false;
     if (hasTrialSettings()) {
-      if (!getTrialSettings().equals(other.getTrialSettings())) return false;
+      if (!getTrialSettings()
+          .equals(other.getTrialSettings())) return false;
     }
     if (hasAssociationInfo() != other.hasAssociationInfo()) return false;
     if (hasAssociationInfo()) {
-      if (!getAssociationInfo().equals(other.getAssociationInfo())) return false;
+      if (!getAssociationInfo()
+          .equals(other.getAssociationInfo())) return false;
     }
-    if (!getParametersList().equals(other.getParametersList())) return false;
+    if (!getParametersList()
+        .equals(other.getParametersList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -1393,136 +1207,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.channel.v1.Entitlement parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.channel.v1.Entitlement parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.channel.v1.Entitlement parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.channel.v1.Entitlement parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.channel.v1.Entitlement parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.channel.v1.Entitlement parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.channel.v1.Entitlement parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.channel.v1.Entitlement 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.cloud.channel.v1.Entitlement parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.channel.v1.Entitlement parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.channel.v1.Entitlement parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.channel.v1.Entitlement parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.channel.v1.Entitlement parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.channel.v1.Entitlement parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.channel.v1.Entitlement prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * An entitlement is a representation of a customer's ability to use a service.
    * 
* * Protobuf type {@code google.cloud.channel.v1.Entitlement} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.Entitlement) com.google.cloud.channel.v1.EntitlementOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_Entitlement_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_Entitlement_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_Entitlement_fieldAccessorTable + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_Entitlement_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Entitlement.class, - com.google.cloud.channel.v1.Entitlement.Builder.class); + com.google.cloud.channel.v1.Entitlement.class, com.google.cloud.channel.v1.Entitlement.Builder.class); } // Construct using com.google.cloud.channel.v1.Entitlement.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1583,9 +1391,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_Entitlement_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_Entitlement_descriptor; } @java.lang.Override @@ -1604,8 +1412,7 @@ public com.google.cloud.channel.v1.Entitlement build() { @java.lang.Override public com.google.cloud.channel.v1.Entitlement buildPartial() { - com.google.cloud.channel.v1.Entitlement result = - new com.google.cloud.channel.v1.Entitlement(this); + com.google.cloud.channel.v1.Entitlement result = new com.google.cloud.channel.v1.Entitlement(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (createTimeBuilder_ == null) { @@ -1663,39 +1470,38 @@ public com.google.cloud.channel.v1.Entitlement 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.cloud.channel.v1.Entitlement) { - return mergeFrom((com.google.cloud.channel.v1.Entitlement) other); + return mergeFrom((com.google.cloud.channel.v1.Entitlement)other); } else { super.mergeFrom(other); return this; @@ -1765,10 +1571,9 @@ public Builder mergeFrom(com.google.cloud.channel.v1.Entitlement other) { parametersBuilder_ = null; parameters_ = other.parameters_; bitField0_ = (bitField0_ & ~0x00000002); - parametersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getParametersFieldBuilder() - : null; + parametersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getParametersFieldBuilder() : null; } else { parametersBuilder_.addAllMessages(other.parameters_); } @@ -1800,107 +1605,104 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 42: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 42 - case 50: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 50 - case 66: - { - offer_ = input.readStringRequireUtf8(); - - break; - } // case 66 - case 98: - { - input.readMessage( - getCommitmentSettingsFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 98 - case 104: - { - provisioningState_ = input.readEnum(); - - break; - } // case 104 - case 130: - { - input.readMessage( - getProvisionedServiceFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 130 - case 144: - { + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 42: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 42 + case 50: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 50 + case 66: { + offer_ = input.readStringRequireUtf8(); + + break; + } // case 66 + case 98: { + input.readMessage( + getCommitmentSettingsFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 98 + case 104: { + provisioningState_ = input.readEnum(); + + break; + } // case 104 + case 130: { + input.readMessage( + getProvisionedServiceFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 130 + case 144: { + int tmpRaw = input.readEnum(); + ensureSuspensionReasonsIsMutable(); + suspensionReasons_.add(tmpRaw); + break; + } // case 144 + case 146: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureSuspensionReasonsIsMutable(); suspensionReasons_.add(tmpRaw); - break; - } // case 144 - case 146: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureSuspensionReasonsIsMutable(); - suspensionReasons_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 146 - case 154: - { - purchaseOrderId_ = input.readStringRequireUtf8(); - - break; - } // case 154 - case 170: - { - input.readMessage(getTrialSettingsFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 170 - case 186: - { - input.readMessage(getAssociationInfoFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 186 - case 210: - { - com.google.cloud.channel.v1.Parameter m = - input.readMessage( - com.google.cloud.channel.v1.Parameter.parser(), extensionRegistry); - if (parametersBuilder_ == null) { - ensureParametersIsMutable(); - parameters_.add(m); - } else { - parametersBuilder_.addMessage(m); - } - break; - } // case 210 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + } + input.popLimit(oldLimit); + break; + } // case 146 + case 154: { + purchaseOrderId_ = input.readStringRequireUtf8(); + + break; + } // case 154 + case 170: { + input.readMessage( + getTrialSettingsFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 170 + case 186: { + input.readMessage( + getAssociationInfoFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 186 + case 210: { + com.google.cloud.channel.v1.Parameter m = + input.readMessage( + com.google.cloud.channel.v1.Parameter.parser(), + extensionRegistry); + if (parametersBuilder_ == null) { + ensureParametersIsMutable(); + parameters_.add(m); + } else { + parametersBuilder_.addMessage(m); + } + break; + } // case 210 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1910,26 +1712,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Resource name of an entitlement in the form:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_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; @@ -1938,22 +1737,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name of an entitlement in the form:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_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 { @@ -1961,64 +1759,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name of an entitlement in the form:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_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. Resource name of an entitlement in the form:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_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. Resource name of an entitlement in the form:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_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; @@ -2026,58 +1817,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. The time at which the entitlement is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The time at which the entitlement is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.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. The time at which the entitlement is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2093,17 +1865,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which the entitlement is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.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(); @@ -2114,21 +1883,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time at which the entitlement is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.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; } @@ -2140,15 +1905,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which the entitlement is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -2162,64 +1923,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time at which the entitlement is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time at which the entitlement is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.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. The time at which the entitlement is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_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> 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_; @@ -2227,58 +1972,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. The time at which the entitlement is updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. The time at which the entitlement is updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.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. The time at which the entitlement is updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2294,17 +2020,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which the entitlement is updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.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(); @@ -2315,21 +2038,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time at which the entitlement is updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.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; } @@ -2341,15 +2060,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which the entitlement is updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -2363,64 +2078,48 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The time at which the entitlement is updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time at which the entitlement is updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.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. The time at which the entitlement is updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.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_; @@ -2428,23 +2127,19 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object offer_ = ""; /** - * - * *
      * Required. The offer resource name for which the entitlement is to be
      * created. Takes the form: accounts/{account_id}/offers/{offer_id}.
      * 
* - * - * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The offer. */ public java.lang.String getOffer() { java.lang.Object ref = offer_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); offer_ = s; return s; @@ -2453,24 +2148,21 @@ public java.lang.String getOffer() { } } /** - * - * *
      * Required. The offer resource name for which the entitlement is to be
      * created. Takes the form: accounts/{account_id}/offers/{offer_id}.
      * 
* - * - * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for offer. */ - public com.google.protobuf.ByteString getOfferBytes() { + public com.google.protobuf.ByteString + getOfferBytes() { java.lang.Object ref = offer_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); offer_ = b; return b; } else { @@ -2478,70 +2170,57 @@ public com.google.protobuf.ByteString getOfferBytes() { } } /** - * - * *
      * Required. The offer resource name for which the entitlement is to be
      * created. Takes the form: accounts/{account_id}/offers/{offer_id}.
      * 
* - * - * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The offer to set. * @return This builder for chaining. */ - public Builder setOffer(java.lang.String value) { + public Builder setOffer( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + offer_ = value; onChanged(); return this; } /** - * - * *
      * Required. The offer resource name for which the entitlement is to be
      * created. Takes the form: accounts/{account_id}/offers/{offer_id}.
      * 
* - * - * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearOffer() { - + offer_ = getDefaultInstance().getOffer(); onChanged(); return this; } /** - * - * *
      * Required. The offer resource name for which the entitlement is to be
      * created. Takes the form: accounts/{account_id}/offers/{offer_id}.
      * 
* - * - * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for offer to set. * @return This builder for chaining. */ - public Builder setOfferBytes(com.google.protobuf.ByteString value) { + public Builder setOfferBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + offer_ = value; onChanged(); return this; @@ -2549,49 +2228,36 @@ public Builder setOfferBytes(com.google.protobuf.ByteString value) { private com.google.cloud.channel.v1.CommitmentSettings commitmentSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CommitmentSettings, - com.google.cloud.channel.v1.CommitmentSettings.Builder, - com.google.cloud.channel.v1.CommitmentSettingsOrBuilder> - commitmentSettingsBuilder_; + com.google.cloud.channel.v1.CommitmentSettings, com.google.cloud.channel.v1.CommitmentSettings.Builder, com.google.cloud.channel.v1.CommitmentSettingsOrBuilder> commitmentSettingsBuilder_; /** - * - * *
      * Commitment settings for a commitment-based Offer.
      * Required for commitment based offers.
      * 
* * .google.cloud.channel.v1.CommitmentSettings commitment_settings = 12; - * * @return Whether the commitmentSettings field is set. */ public boolean hasCommitmentSettings() { return commitmentSettingsBuilder_ != null || commitmentSettings_ != null; } /** - * - * *
      * Commitment settings for a commitment-based Offer.
      * Required for commitment based offers.
      * 
* * .google.cloud.channel.v1.CommitmentSettings commitment_settings = 12; - * * @return The commitmentSettings. */ public com.google.cloud.channel.v1.CommitmentSettings getCommitmentSettings() { if (commitmentSettingsBuilder_ == null) { - return commitmentSettings_ == null - ? com.google.cloud.channel.v1.CommitmentSettings.getDefaultInstance() - : commitmentSettings_; + return commitmentSettings_ == null ? com.google.cloud.channel.v1.CommitmentSettings.getDefaultInstance() : commitmentSettings_; } else { return commitmentSettingsBuilder_.getMessage(); } } /** - * - * *
      * Commitment settings for a commitment-based Offer.
      * Required for commitment based offers.
@@ -2613,8 +2279,6 @@ public Builder setCommitmentSettings(com.google.cloud.channel.v1.CommitmentSetti
       return this;
     }
     /**
-     *
-     *
      * 
      * Commitment settings for a commitment-based Offer.
      * Required for commitment based offers.
@@ -2634,8 +2298,6 @@ public Builder setCommitmentSettings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Commitment settings for a commitment-based Offer.
      * Required for commitment based offers.
@@ -2647,9 +2309,7 @@ public Builder mergeCommitmentSettings(com.google.cloud.channel.v1.CommitmentSet
       if (commitmentSettingsBuilder_ == null) {
         if (commitmentSettings_ != null) {
           commitmentSettings_ =
-              com.google.cloud.channel.v1.CommitmentSettings.newBuilder(commitmentSettings_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.channel.v1.CommitmentSettings.newBuilder(commitmentSettings_).mergeFrom(value).buildPartial();
         } else {
           commitmentSettings_ = value;
         }
@@ -2661,8 +2321,6 @@ public Builder mergeCommitmentSettings(com.google.cloud.channel.v1.CommitmentSet
       return this;
     }
     /**
-     *
-     *
      * 
      * Commitment settings for a commitment-based Offer.
      * Required for commitment based offers.
@@ -2682,8 +2340,6 @@ public Builder clearCommitmentSettings() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Commitment settings for a commitment-based Offer.
      * Required for commitment based offers.
@@ -2692,13 +2348,11 @@ public Builder clearCommitmentSettings() {
      * .google.cloud.channel.v1.CommitmentSettings commitment_settings = 12;
      */
     public com.google.cloud.channel.v1.CommitmentSettings.Builder getCommitmentSettingsBuilder() {
-
+      
       onChanged();
       return getCommitmentSettingsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Commitment settings for a commitment-based Offer.
      * Required for commitment based offers.
@@ -2706,19 +2360,15 @@ public com.google.cloud.channel.v1.CommitmentSettings.Builder getCommitmentSetti
      *
      * .google.cloud.channel.v1.CommitmentSettings commitment_settings = 12;
      */
-    public com.google.cloud.channel.v1.CommitmentSettingsOrBuilder
-        getCommitmentSettingsOrBuilder() {
+    public com.google.cloud.channel.v1.CommitmentSettingsOrBuilder getCommitmentSettingsOrBuilder() {
       if (commitmentSettingsBuilder_ != null) {
         return commitmentSettingsBuilder_.getMessageOrBuilder();
       } else {
-        return commitmentSettings_ == null
-            ? com.google.cloud.channel.v1.CommitmentSettings.getDefaultInstance()
-            : commitmentSettings_;
+        return commitmentSettings_ == null ?
+            com.google.cloud.channel.v1.CommitmentSettings.getDefaultInstance() : commitmentSettings_;
       }
     }
     /**
-     *
-     *
      * 
      * Commitment settings for a commitment-based Offer.
      * Required for commitment based offers.
@@ -2727,17 +2377,14 @@ public com.google.cloud.channel.v1.CommitmentSettings.Builder getCommitmentSetti
      * .google.cloud.channel.v1.CommitmentSettings commitment_settings = 12;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.channel.v1.CommitmentSettings,
-            com.google.cloud.channel.v1.CommitmentSettings.Builder,
-            com.google.cloud.channel.v1.CommitmentSettingsOrBuilder>
+        com.google.cloud.channel.v1.CommitmentSettings, com.google.cloud.channel.v1.CommitmentSettings.Builder, com.google.cloud.channel.v1.CommitmentSettingsOrBuilder> 
         getCommitmentSettingsFieldBuilder() {
       if (commitmentSettingsBuilder_ == null) {
-        commitmentSettingsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.channel.v1.CommitmentSettings,
-                com.google.cloud.channel.v1.CommitmentSettings.Builder,
-                com.google.cloud.channel.v1.CommitmentSettingsOrBuilder>(
-                getCommitmentSettings(), getParentForChildren(), isClean());
+        commitmentSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.channel.v1.CommitmentSettings, com.google.cloud.channel.v1.CommitmentSettings.Builder, com.google.cloud.channel.v1.CommitmentSettingsOrBuilder>(
+                getCommitmentSettings(),
+                getParentForChildren(),
+                isClean());
         commitmentSettings_ = null;
       }
       return commitmentSettingsBuilder_;
@@ -2745,103 +2392,73 @@ public com.google.cloud.channel.v1.CommitmentSettings.Builder getCommitmentSetti
 
     private int provisioningState_ = 0;
     /**
-     *
-     *
      * 
      * Output only. Current provisioning state of the entitlement.
      * 
* - * - * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for provisioningState. */ - @java.lang.Override - public int getProvisioningStateValue() { + @java.lang.Override public int getProvisioningStateValue() { return provisioningState_; } /** - * - * *
      * Output only. Current provisioning state of the entitlement.
      * 
* - * - * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for provisioningState to set. * @return This builder for chaining. */ public Builder setProvisioningStateValue(int value) { - + provisioningState_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Current provisioning state of the entitlement.
      * 
* - * - * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The provisioningState. */ @java.lang.Override public com.google.cloud.channel.v1.Entitlement.ProvisioningState getProvisioningState() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.Entitlement.ProvisioningState result = - com.google.cloud.channel.v1.Entitlement.ProvisioningState.valueOf(provisioningState_); - return result == null - ? com.google.cloud.channel.v1.Entitlement.ProvisioningState.UNRECOGNIZED - : result; + com.google.cloud.channel.v1.Entitlement.ProvisioningState result = com.google.cloud.channel.v1.Entitlement.ProvisioningState.valueOf(provisioningState_); + return result == null ? com.google.cloud.channel.v1.Entitlement.ProvisioningState.UNRECOGNIZED : result; } /** - * - * *
      * Output only. Current provisioning state of the entitlement.
      * 
* - * - * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The provisioningState to set. * @return This builder for chaining. */ - public Builder setProvisioningState( - com.google.cloud.channel.v1.Entitlement.ProvisioningState value) { + public Builder setProvisioningState(com.google.cloud.channel.v1.Entitlement.ProvisioningState value) { if (value == null) { throw new NullPointerException(); } - + provisioningState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. Current provisioning state of the entitlement.
      * 
* - * - * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearProvisioningState() { - + provisioningState_ = 0; onChanged(); return this; @@ -2849,58 +2466,39 @@ public Builder clearProvisioningState() { private com.google.cloud.channel.v1.ProvisionedService provisionedService_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ProvisionedService, - com.google.cloud.channel.v1.ProvisionedService.Builder, - com.google.cloud.channel.v1.ProvisionedServiceOrBuilder> - provisionedServiceBuilder_; + com.google.cloud.channel.v1.ProvisionedService, com.google.cloud.channel.v1.ProvisionedService.Builder, com.google.cloud.channel.v1.ProvisionedServiceOrBuilder> provisionedServiceBuilder_; /** - * - * *
      * Output only. Service provisioning details for the entitlement.
      * 
* - * - * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the provisionedService field is set. */ public boolean hasProvisionedService() { return provisionedServiceBuilder_ != null || provisionedService_ != null; } /** - * - * *
      * Output only. Service provisioning details for the entitlement.
      * 
* - * - * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The provisionedService. */ public com.google.cloud.channel.v1.ProvisionedService getProvisionedService() { if (provisionedServiceBuilder_ == null) { - return provisionedService_ == null - ? com.google.cloud.channel.v1.ProvisionedService.getDefaultInstance() - : provisionedService_; + return provisionedService_ == null ? com.google.cloud.channel.v1.ProvisionedService.getDefaultInstance() : provisionedService_; } else { return provisionedServiceBuilder_.getMessage(); } } /** - * - * *
      * Output only. Service provisioning details for the entitlement.
      * 
* - * - * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setProvisionedService(com.google.cloud.channel.v1.ProvisionedService value) { if (provisionedServiceBuilder_ == null) { @@ -2916,15 +2514,11 @@ public Builder setProvisionedService(com.google.cloud.channel.v1.ProvisionedServ return this; } /** - * - * *
      * Output only. Service provisioning details for the entitlement.
      * 
* - * - * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setProvisionedService( com.google.cloud.channel.v1.ProvisionedService.Builder builderForValue) { @@ -2938,23 +2532,17 @@ public Builder setProvisionedService( return this; } /** - * - * *
      * Output only. Service provisioning details for the entitlement.
      * 
* - * - * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeProvisionedService(com.google.cloud.channel.v1.ProvisionedService value) { if (provisionedServiceBuilder_ == null) { if (provisionedService_ != null) { provisionedService_ = - com.google.cloud.channel.v1.ProvisionedService.newBuilder(provisionedService_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.ProvisionedService.newBuilder(provisionedService_).mergeFrom(value).buildPartial(); } else { provisionedService_ = value; } @@ -2966,15 +2554,11 @@ public Builder mergeProvisionedService(com.google.cloud.channel.v1.ProvisionedSe return this; } /** - * - * *
      * Output only. Service provisioning details for the entitlement.
      * 
* - * - * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearProvisionedService() { if (provisionedServiceBuilder_ == null) { @@ -2988,73 +2572,55 @@ public Builder clearProvisionedService() { return this; } /** - * - * *
      * Output only. Service provisioning details for the entitlement.
      * 
* - * - * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.channel.v1.ProvisionedService.Builder getProvisionedServiceBuilder() { - + onChanged(); return getProvisionedServiceFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Service provisioning details for the entitlement.
      * 
* - * - * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.channel.v1.ProvisionedServiceOrBuilder - getProvisionedServiceOrBuilder() { + public com.google.cloud.channel.v1.ProvisionedServiceOrBuilder getProvisionedServiceOrBuilder() { if (provisionedServiceBuilder_ != null) { return provisionedServiceBuilder_.getMessageOrBuilder(); } else { - return provisionedService_ == null - ? com.google.cloud.channel.v1.ProvisionedService.getDefaultInstance() - : provisionedService_; + return provisionedService_ == null ? + com.google.cloud.channel.v1.ProvisionedService.getDefaultInstance() : provisionedService_; } } /** - * - * *
      * Output only. Service provisioning details for the entitlement.
      * 
* - * - * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ProvisionedService, - com.google.cloud.channel.v1.ProvisionedService.Builder, - com.google.cloud.channel.v1.ProvisionedServiceOrBuilder> + com.google.cloud.channel.v1.ProvisionedService, com.google.cloud.channel.v1.ProvisionedService.Builder, com.google.cloud.channel.v1.ProvisionedServiceOrBuilder> getProvisionedServiceFieldBuilder() { if (provisionedServiceBuilder_ == null) { - provisionedServiceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ProvisionedService, - com.google.cloud.channel.v1.ProvisionedService.Builder, - com.google.cloud.channel.v1.ProvisionedServiceOrBuilder>( - getProvisionedService(), getParentForChildren(), isClean()); + provisionedServiceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.ProvisionedService, com.google.cloud.channel.v1.ProvisionedService.Builder, com.google.cloud.channel.v1.ProvisionedServiceOrBuilder>( + getProvisionedService(), + getParentForChildren(), + isClean()); provisionedService_ = null; } return provisionedServiceBuilder_; } private java.util.List suspensionReasons_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureSuspensionReasonsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { suspensionReasons_ = new java.util.ArrayList(suspensionReasons_); @@ -3062,69 +2628,50 @@ private void ensureSuspensionReasonsIsMutable() { } } /** - * - * *
-     * Output only. Enumerable of all current suspension reasons for an entitlement.
+     * Output only. Enumerable of all current suspension reasons for an
+     * entitlement.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the suspensionReasons. */ - public java.util.List - getSuspensionReasonsList() { + public java.util.List getSuspensionReasonsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.channel.v1.Entitlement.SuspensionReason>( - suspensionReasons_, suspensionReasons_converter_); + java.lang.Integer, com.google.cloud.channel.v1.Entitlement.SuspensionReason>(suspensionReasons_, suspensionReasons_converter_); } /** - * - * *
-     * Output only. Enumerable of all current suspension reasons for an entitlement.
+     * Output only. Enumerable of all current suspension reasons for an
+     * entitlement.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of suspensionReasons. */ public int getSuspensionReasonsCount() { return suspensionReasons_.size(); } /** - * - * *
-     * Output only. Enumerable of all current suspension reasons for an entitlement.
+     * Output only. Enumerable of all current suspension reasons for an
+     * entitlement.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The suspensionReasons at the given index. */ - public com.google.cloud.channel.v1.Entitlement.SuspensionReason getSuspensionReasons( - int index) { + public com.google.cloud.channel.v1.Entitlement.SuspensionReason getSuspensionReasons(int index) { return suspensionReasons_converter_.convert(suspensionReasons_.get(index)); } /** - * - * *
-     * Output only. Enumerable of all current suspension reasons for an entitlement.
+     * Output only. Enumerable of all current suspension reasons for an
+     * entitlement.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index to set the value at. * @param value The suspensionReasons to set. * @return This builder for chaining. @@ -3140,21 +2687,16 @@ public Builder setSuspensionReasons( return this; } /** - * - * *
-     * Output only. Enumerable of all current suspension reasons for an entitlement.
+     * Output only. Enumerable of all current suspension reasons for an
+     * entitlement.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The suspensionReasons to add. * @return This builder for chaining. */ - public Builder addSuspensionReasons( - com.google.cloud.channel.v1.Entitlement.SuspensionReason value) { + public Builder addSuspensionReasons(com.google.cloud.channel.v1.Entitlement.SuspensionReason value) { if (value == null) { throw new NullPointerException(); } @@ -3164,22 +2706,17 @@ public Builder addSuspensionReasons( return this; } /** - * - * *
-     * Output only. Enumerable of all current suspension reasons for an entitlement.
+     * Output only. Enumerable of all current suspension reasons for an
+     * entitlement.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The suspensionReasons to add. * @return This builder for chaining. */ public Builder addAllSuspensionReasons( - java.lang.Iterable - values) { + java.lang.Iterable values) { ensureSuspensionReasonsIsMutable(); for (com.google.cloud.channel.v1.Entitlement.SuspensionReason value : values) { suspensionReasons_.add(value.getNumber()); @@ -3188,16 +2725,12 @@ public Builder addAllSuspensionReasons( return this; } /** - * - * *
-     * Output only. Enumerable of all current suspension reasons for an entitlement.
+     * Output only. Enumerable of all current suspension reasons for an
+     * entitlement.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearSuspensionReasons() { @@ -3207,32 +2740,25 @@ public Builder clearSuspensionReasons() { return this; } /** - * - * *
-     * Output only. Enumerable of all current suspension reasons for an entitlement.
+     * Output only. Enumerable of all current suspension reasons for an
+     * entitlement.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for suspensionReasons. */ - public java.util.List getSuspensionReasonsValueList() { + public java.util.List + getSuspensionReasonsValueList() { return java.util.Collections.unmodifiableList(suspensionReasons_); } /** - * - * *
-     * Output only. Enumerable of all current suspension reasons for an entitlement.
+     * Output only. Enumerable of all current suspension reasons for an
+     * entitlement.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of suspensionReasons at the given index. */ @@ -3240,37 +2766,30 @@ public int getSuspensionReasonsValue(int index) { return suspensionReasons_.get(index); } /** - * - * *
-     * Output only. Enumerable of all current suspension reasons for an entitlement.
+     * Output only. Enumerable of all current suspension reasons for an
+     * entitlement.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index to set the value at. * @param value The enum numeric value on the wire for suspensionReasons to set. * @return This builder for chaining. */ - public Builder setSuspensionReasonsValue(int index, int value) { + public Builder setSuspensionReasonsValue( + int index, int value) { ensureSuspensionReasonsIsMutable(); suspensionReasons_.set(index, value); onChanged(); return this; } /** - * - * *
-     * Output only. Enumerable of all current suspension reasons for an entitlement.
+     * Output only. Enumerable of all current suspension reasons for an
+     * entitlement.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for suspensionReasons to add. * @return This builder for chaining. */ @@ -3281,20 +2800,17 @@ public Builder addSuspensionReasonsValue(int value) { return this; } /** - * - * *
-     * Output only. Enumerable of all current suspension reasons for an entitlement.
+     * Output only. Enumerable of all current suspension reasons for an
+     * entitlement.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The enum numeric values on the wire for suspensionReasons to add. * @return This builder for chaining. */ - public Builder addAllSuspensionReasonsValue(java.lang.Iterable values) { + public Builder addAllSuspensionReasonsValue( + java.lang.Iterable values) { ensureSuspensionReasonsIsMutable(); for (int value : values) { suspensionReasons_.add(value); @@ -3305,24 +2821,22 @@ public Builder addAllSuspensionReasonsValue(java.lang.Iterable - * Optional. This purchase order (PO) information is for resellers to use for their - * company tracking usage. If a purchaseOrderId value is given, it appears in - * the API responses and shows up in the invoice. The property accepts up to - * 80 plain text characters. This is only supported for Google Workspace - * entitlements. + * Optional. This purchase order (PO) information is for resellers to use for + * their company tracking usage. If a purchaseOrderId value is given, it + * appears in the API responses and shows up in the invoice. The property + * accepts up to 80 plain text characters. This is only supported for Google + * Workspace entitlements. *
* * string purchase_order_id = 19 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The purchaseOrderId. */ public java.lang.String getPurchaseOrderId() { java.lang.Object ref = purchaseOrderId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); purchaseOrderId_ = s; return s; @@ -3331,25 +2845,24 @@ public java.lang.String getPurchaseOrderId() { } } /** - * - * *
-     * Optional. This purchase order (PO) information is for resellers to use for their
-     * company tracking usage. If a purchaseOrderId value is given, it appears in
-     * the API responses and shows up in the invoice. The property accepts up to
-     * 80 plain text characters. This is only supported for Google Workspace
-     * entitlements.
+     * Optional. This purchase order (PO) information is for resellers to use for
+     * their company tracking usage. If a purchaseOrderId value is given, it
+     * appears in the API responses and shows up in the invoice. The property
+     * accepts up to 80 plain text characters. This is only supported for Google
+     * Workspace entitlements.
      * 
* * string purchase_order_id = 19 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for purchaseOrderId. */ - public com.google.protobuf.ByteString getPurchaseOrderIdBytes() { + public com.google.protobuf.ByteString + getPurchaseOrderIdBytes() { java.lang.Object ref = purchaseOrderId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); purchaseOrderId_ = b; return b; } else { @@ -3357,73 +2870,66 @@ public com.google.protobuf.ByteString getPurchaseOrderIdBytes() { } } /** - * - * *
-     * Optional. This purchase order (PO) information is for resellers to use for their
-     * company tracking usage. If a purchaseOrderId value is given, it appears in
-     * the API responses and shows up in the invoice. The property accepts up to
-     * 80 plain text characters. This is only supported for Google Workspace
-     * entitlements.
+     * Optional. This purchase order (PO) information is for resellers to use for
+     * their company tracking usage. If a purchaseOrderId value is given, it
+     * appears in the API responses and shows up in the invoice. The property
+     * accepts up to 80 plain text characters. This is only supported for Google
+     * Workspace entitlements.
      * 
* * string purchase_order_id = 19 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The purchaseOrderId to set. * @return This builder for chaining. */ - public Builder setPurchaseOrderId(java.lang.String value) { + public Builder setPurchaseOrderId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + purchaseOrderId_ = value; onChanged(); return this; } /** - * - * *
-     * Optional. This purchase order (PO) information is for resellers to use for their
-     * company tracking usage. If a purchaseOrderId value is given, it appears in
-     * the API responses and shows up in the invoice. The property accepts up to
-     * 80 plain text characters. This is only supported for Google Workspace
-     * entitlements.
+     * Optional. This purchase order (PO) information is for resellers to use for
+     * their company tracking usage. If a purchaseOrderId value is given, it
+     * appears in the API responses and shows up in the invoice. The property
+     * accepts up to 80 plain text characters. This is only supported for Google
+     * Workspace entitlements.
      * 
* * string purchase_order_id = 19 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPurchaseOrderId() { - + purchaseOrderId_ = getDefaultInstance().getPurchaseOrderId(); onChanged(); return this; } /** - * - * *
-     * Optional. This purchase order (PO) information is for resellers to use for their
-     * company tracking usage. If a purchaseOrderId value is given, it appears in
-     * the API responses and shows up in the invoice. The property accepts up to
-     * 80 plain text characters. This is only supported for Google Workspace
-     * entitlements.
+     * Optional. This purchase order (PO) information is for resellers to use for
+     * their company tracking usage. If a purchaseOrderId value is given, it
+     * appears in the API responses and shows up in the invoice. The property
+     * accepts up to 80 plain text characters. This is only supported for Google
+     * Workspace entitlements.
      * 
* * string purchase_order_id = 19 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for purchaseOrderId to set. * @return This builder for chaining. */ - public Builder setPurchaseOrderIdBytes(com.google.protobuf.ByteString value) { + public Builder setPurchaseOrderIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + purchaseOrderId_ = value; onChanged(); return this; @@ -3431,58 +2937,39 @@ public Builder setPurchaseOrderIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.channel.v1.TrialSettings trialSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.TrialSettings, - com.google.cloud.channel.v1.TrialSettings.Builder, - com.google.cloud.channel.v1.TrialSettingsOrBuilder> - trialSettingsBuilder_; + com.google.cloud.channel.v1.TrialSettings, com.google.cloud.channel.v1.TrialSettings.Builder, com.google.cloud.channel.v1.TrialSettingsOrBuilder> trialSettingsBuilder_; /** - * - * *
      * Output only. Settings for trial offers.
      * 
* - * - * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the trialSettings field is set. */ public boolean hasTrialSettings() { return trialSettingsBuilder_ != null || trialSettings_ != null; } /** - * - * *
      * Output only. Settings for trial offers.
      * 
* - * - * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The trialSettings. */ public com.google.cloud.channel.v1.TrialSettings getTrialSettings() { if (trialSettingsBuilder_ == null) { - return trialSettings_ == null - ? com.google.cloud.channel.v1.TrialSettings.getDefaultInstance() - : trialSettings_; + return trialSettings_ == null ? com.google.cloud.channel.v1.TrialSettings.getDefaultInstance() : trialSettings_; } else { return trialSettingsBuilder_.getMessage(); } } /** - * - * *
      * Output only. Settings for trial offers.
      * 
* - * - * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setTrialSettings(com.google.cloud.channel.v1.TrialSettings value) { if (trialSettingsBuilder_ == null) { @@ -3498,15 +2985,11 @@ public Builder setTrialSettings(com.google.cloud.channel.v1.TrialSettings value) return this; } /** - * - * *
      * Output only. Settings for trial offers.
      * 
* - * - * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setTrialSettings( com.google.cloud.channel.v1.TrialSettings.Builder builderForValue) { @@ -3520,23 +3003,17 @@ public Builder setTrialSettings( return this; } /** - * - * *
      * Output only. Settings for trial offers.
      * 
* - * - * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeTrialSettings(com.google.cloud.channel.v1.TrialSettings value) { if (trialSettingsBuilder_ == null) { if (trialSettings_ != null) { trialSettings_ = - com.google.cloud.channel.v1.TrialSettings.newBuilder(trialSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.TrialSettings.newBuilder(trialSettings_).mergeFrom(value).buildPartial(); } else { trialSettings_ = value; } @@ -3548,15 +3025,11 @@ public Builder mergeTrialSettings(com.google.cloud.channel.v1.TrialSettings valu return this; } /** - * - * *
      * Output only. Settings for trial offers.
      * 
* - * - * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearTrialSettings() { if (trialSettingsBuilder_ == null) { @@ -3570,64 +3043,48 @@ public Builder clearTrialSettings() { return this; } /** - * - * *
      * Output only. Settings for trial offers.
      * 
* - * - * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.channel.v1.TrialSettings.Builder getTrialSettingsBuilder() { - + onChanged(); return getTrialSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Settings for trial offers.
      * 
* - * - * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.channel.v1.TrialSettingsOrBuilder getTrialSettingsOrBuilder() { if (trialSettingsBuilder_ != null) { return trialSettingsBuilder_.getMessageOrBuilder(); } else { - return trialSettings_ == null - ? com.google.cloud.channel.v1.TrialSettings.getDefaultInstance() - : trialSettings_; + return trialSettings_ == null ? + com.google.cloud.channel.v1.TrialSettings.getDefaultInstance() : trialSettings_; } } /** - * - * *
      * Output only. Settings for trial offers.
      * 
* - * - * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.TrialSettings, - com.google.cloud.channel.v1.TrialSettings.Builder, - com.google.cloud.channel.v1.TrialSettingsOrBuilder> + com.google.cloud.channel.v1.TrialSettings, com.google.cloud.channel.v1.TrialSettings.Builder, com.google.cloud.channel.v1.TrialSettingsOrBuilder> getTrialSettingsFieldBuilder() { if (trialSettingsBuilder_ == null) { - trialSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.TrialSettings, - com.google.cloud.channel.v1.TrialSettings.Builder, - com.google.cloud.channel.v1.TrialSettingsOrBuilder>( - getTrialSettings(), getParentForChildren(), isClean()); + trialSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.TrialSettings, com.google.cloud.channel.v1.TrialSettings.Builder, com.google.cloud.channel.v1.TrialSettingsOrBuilder>( + getTrialSettings(), + getParentForChildren(), + isClean()); trialSettings_ = null; } return trialSettingsBuilder_; @@ -3635,47 +3092,34 @@ public com.google.cloud.channel.v1.TrialSettingsOrBuilder getTrialSettingsOrBuil private com.google.cloud.channel.v1.AssociationInfo associationInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.AssociationInfo, - com.google.cloud.channel.v1.AssociationInfo.Builder, - com.google.cloud.channel.v1.AssociationInfoOrBuilder> - associationInfoBuilder_; + com.google.cloud.channel.v1.AssociationInfo, com.google.cloud.channel.v1.AssociationInfo.Builder, com.google.cloud.channel.v1.AssociationInfoOrBuilder> associationInfoBuilder_; /** - * - * *
      * Association information to other entitlements.
      * 
* * .google.cloud.channel.v1.AssociationInfo association_info = 23; - * * @return Whether the associationInfo field is set. */ public boolean hasAssociationInfo() { return associationInfoBuilder_ != null || associationInfo_ != null; } /** - * - * *
      * Association information to other entitlements.
      * 
* * .google.cloud.channel.v1.AssociationInfo association_info = 23; - * * @return The associationInfo. */ public com.google.cloud.channel.v1.AssociationInfo getAssociationInfo() { if (associationInfoBuilder_ == null) { - return associationInfo_ == null - ? com.google.cloud.channel.v1.AssociationInfo.getDefaultInstance() - : associationInfo_; + return associationInfo_ == null ? com.google.cloud.channel.v1.AssociationInfo.getDefaultInstance() : associationInfo_; } else { return associationInfoBuilder_.getMessage(); } } /** - * - * *
      * Association information to other entitlements.
      * 
@@ -3696,8 +3140,6 @@ public Builder setAssociationInfo(com.google.cloud.channel.v1.AssociationInfo va return this; } /** - * - * *
      * Association information to other entitlements.
      * 
@@ -3716,8 +3158,6 @@ public Builder setAssociationInfo( return this; } /** - * - * *
      * Association information to other entitlements.
      * 
@@ -3728,9 +3168,7 @@ public Builder mergeAssociationInfo(com.google.cloud.channel.v1.AssociationInfo if (associationInfoBuilder_ == null) { if (associationInfo_ != null) { associationInfo_ = - com.google.cloud.channel.v1.AssociationInfo.newBuilder(associationInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.AssociationInfo.newBuilder(associationInfo_).mergeFrom(value).buildPartial(); } else { associationInfo_ = value; } @@ -3742,8 +3180,6 @@ public Builder mergeAssociationInfo(com.google.cloud.channel.v1.AssociationInfo return this; } /** - * - * *
      * Association information to other entitlements.
      * 
@@ -3762,8 +3198,6 @@ public Builder clearAssociationInfo() { return this; } /** - * - * *
      * Association information to other entitlements.
      * 
@@ -3771,13 +3205,11 @@ public Builder clearAssociationInfo() { * .google.cloud.channel.v1.AssociationInfo association_info = 23; */ public com.google.cloud.channel.v1.AssociationInfo.Builder getAssociationInfoBuilder() { - + onChanged(); return getAssociationInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Association information to other entitlements.
      * 
@@ -3788,14 +3220,11 @@ public com.google.cloud.channel.v1.AssociationInfoOrBuilder getAssociationInfoOr if (associationInfoBuilder_ != null) { return associationInfoBuilder_.getMessageOrBuilder(); } else { - return associationInfo_ == null - ? com.google.cloud.channel.v1.AssociationInfo.getDefaultInstance() - : associationInfo_; + return associationInfo_ == null ? + com.google.cloud.channel.v1.AssociationInfo.getDefaultInstance() : associationInfo_; } } /** - * - * *
      * Association information to other entitlements.
      * 
@@ -3803,41 +3232,32 @@ public com.google.cloud.channel.v1.AssociationInfoOrBuilder getAssociationInfoOr * .google.cloud.channel.v1.AssociationInfo association_info = 23; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.AssociationInfo, - com.google.cloud.channel.v1.AssociationInfo.Builder, - com.google.cloud.channel.v1.AssociationInfoOrBuilder> + com.google.cloud.channel.v1.AssociationInfo, com.google.cloud.channel.v1.AssociationInfo.Builder, com.google.cloud.channel.v1.AssociationInfoOrBuilder> getAssociationInfoFieldBuilder() { if (associationInfoBuilder_ == null) { - associationInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.AssociationInfo, - com.google.cloud.channel.v1.AssociationInfo.Builder, - com.google.cloud.channel.v1.AssociationInfoOrBuilder>( - getAssociationInfo(), getParentForChildren(), isClean()); + associationInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.AssociationInfo, com.google.cloud.channel.v1.AssociationInfo.Builder, com.google.cloud.channel.v1.AssociationInfoOrBuilder>( + getAssociationInfo(), + getParentForChildren(), + isClean()); associationInfo_ = null; } return associationInfoBuilder_; } private java.util.List parameters_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureParametersIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { parameters_ = new java.util.ArrayList(parameters_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Parameter, - com.google.cloud.channel.v1.Parameter.Builder, - com.google.cloud.channel.v1.ParameterOrBuilder> - parametersBuilder_; + com.google.cloud.channel.v1.Parameter, com.google.cloud.channel.v1.Parameter.Builder, com.google.cloud.channel.v1.ParameterOrBuilder> parametersBuilder_; /** - * - * *
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -3858,8 +3278,6 @@ public java.util.List getParametersList()
       }
     }
     /**
-     *
-     *
      * 
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -3880,8 +3298,6 @@ public int getParametersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -3902,8 +3318,6 @@ public com.google.cloud.channel.v1.Parameter getParameters(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -3916,7 +3330,8 @@ public com.google.cloud.channel.v1.Parameter getParameters(int index) {
      *
      * repeated .google.cloud.channel.v1.Parameter parameters = 26;
      */
-    public Builder setParameters(int index, com.google.cloud.channel.v1.Parameter value) {
+    public Builder setParameters(
+        int index, com.google.cloud.channel.v1.Parameter value) {
       if (parametersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3930,8 +3345,6 @@ public Builder setParameters(int index, com.google.cloud.channel.v1.Parameter va
       return this;
     }
     /**
-     *
-     *
      * 
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -3956,8 +3369,6 @@ public Builder setParameters(
       return this;
     }
     /**
-     *
-     *
      * 
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -3984,8 +3395,6 @@ public Builder addParameters(com.google.cloud.channel.v1.Parameter value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -3998,7 +3407,8 @@ public Builder addParameters(com.google.cloud.channel.v1.Parameter value) {
      *
      * repeated .google.cloud.channel.v1.Parameter parameters = 26;
      */
-    public Builder addParameters(int index, com.google.cloud.channel.v1.Parameter value) {
+    public Builder addParameters(
+        int index, com.google.cloud.channel.v1.Parameter value) {
       if (parametersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4012,8 +3422,6 @@ public Builder addParameters(int index, com.google.cloud.channel.v1.Parameter va
       return this;
     }
     /**
-     *
-     *
      * 
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -4026,7 +3434,8 @@ public Builder addParameters(int index, com.google.cloud.channel.v1.Parameter va
      *
      * repeated .google.cloud.channel.v1.Parameter parameters = 26;
      */
-    public Builder addParameters(com.google.cloud.channel.v1.Parameter.Builder builderForValue) {
+    public Builder addParameters(
+        com.google.cloud.channel.v1.Parameter.Builder builderForValue) {
       if (parametersBuilder_ == null) {
         ensureParametersIsMutable();
         parameters_.add(builderForValue.build());
@@ -4037,8 +3446,6 @@ public Builder addParameters(com.google.cloud.channel.v1.Parameter.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -4063,8 +3470,6 @@ public Builder addParameters(
       return this;
     }
     /**
-     *
-     *
      * 
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -4081,7 +3486,8 @@ public Builder addAllParameters(
         java.lang.Iterable values) {
       if (parametersBuilder_ == null) {
         ensureParametersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, parameters_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, parameters_);
         onChanged();
       } else {
         parametersBuilder_.addAllMessages(values);
@@ -4089,8 +3495,6 @@ public Builder addAllParameters(
       return this;
     }
     /**
-     *
-     *
      * 
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -4114,8 +3518,6 @@ public Builder clearParameters() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -4139,8 +3541,6 @@ public Builder removeParameters(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -4153,12 +3553,11 @@ public Builder removeParameters(int index) {
      *
      * repeated .google.cloud.channel.v1.Parameter parameters = 26;
      */
-    public com.google.cloud.channel.v1.Parameter.Builder getParametersBuilder(int index) {
+    public com.google.cloud.channel.v1.Parameter.Builder getParametersBuilder(
+        int index) {
       return getParametersFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -4171,16 +3570,14 @@ public com.google.cloud.channel.v1.Parameter.Builder getParametersBuilder(int in
      *
      * repeated .google.cloud.channel.v1.Parameter parameters = 26;
      */
-    public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(int index) {
+    public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(
+        int index) {
       if (parametersBuilder_ == null) {
-        return parameters_.get(index);
-      } else {
+        return parameters_.get(index);  } else {
         return parametersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -4193,8 +3590,8 @@ public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(int
      *
      * repeated .google.cloud.channel.v1.Parameter parameters = 26;
      */
-    public java.util.List
-        getParametersOrBuilderList() {
+    public java.util.List 
+         getParametersOrBuilderList() {
       if (parametersBuilder_ != null) {
         return parametersBuilder_.getMessageOrBuilderList();
       } else {
@@ -4202,8 +3599,6 @@ public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(int
       }
     }
     /**
-     *
-     *
      * 
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -4217,12 +3612,10 @@ public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(int
      * repeated .google.cloud.channel.v1.Parameter parameters = 26;
      */
     public com.google.cloud.channel.v1.Parameter.Builder addParametersBuilder() {
-      return getParametersFieldBuilder()
-          .addBuilder(com.google.cloud.channel.v1.Parameter.getDefaultInstance());
+      return getParametersFieldBuilder().addBuilder(
+          com.google.cloud.channel.v1.Parameter.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -4235,13 +3628,12 @@ public com.google.cloud.channel.v1.Parameter.Builder addParametersBuilder() {
      *
      * repeated .google.cloud.channel.v1.Parameter parameters = 26;
      */
-    public com.google.cloud.channel.v1.Parameter.Builder addParametersBuilder(int index) {
-      return getParametersFieldBuilder()
-          .addBuilder(index, com.google.cloud.channel.v1.Parameter.getDefaultInstance());
+    public com.google.cloud.channel.v1.Parameter.Builder addParametersBuilder(
+        int index) {
+      return getParametersFieldBuilder().addBuilder(
+          index, com.google.cloud.channel.v1.Parameter.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -4254,30 +3646,27 @@ public com.google.cloud.channel.v1.Parameter.Builder addParametersBuilder(int in
      *
      * repeated .google.cloud.channel.v1.Parameter parameters = 26;
      */
-    public java.util.List
-        getParametersBuilderList() {
+    public java.util.List 
+         getParametersBuilderList() {
       return getParametersFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.channel.v1.Parameter,
-            com.google.cloud.channel.v1.Parameter.Builder,
-            com.google.cloud.channel.v1.ParameterOrBuilder>
+        com.google.cloud.channel.v1.Parameter, com.google.cloud.channel.v1.Parameter.Builder, com.google.cloud.channel.v1.ParameterOrBuilder> 
         getParametersFieldBuilder() {
       if (parametersBuilder_ == null) {
-        parametersBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.channel.v1.Parameter,
-                com.google.cloud.channel.v1.Parameter.Builder,
-                com.google.cloud.channel.v1.ParameterOrBuilder>(
-                parameters_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        parametersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.channel.v1.Parameter, com.google.cloud.channel.v1.Parameter.Builder, com.google.cloud.channel.v1.ParameterOrBuilder>(
+                parameters_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         parameters_ = null;
       }
       return parametersBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -4287,12 +3676,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.Entitlement)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.Entitlement)
   private static final com.google.cloud.channel.v1.Entitlement DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.channel.v1.Entitlement();
   }
@@ -4301,27 +3690,27 @@ public static com.google.cloud.channel.v1.Entitlement getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Entitlement parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Entitlement parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -4336,4 +3725,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.channel.v1.Entitlement getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEvent.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEvent.java
similarity index 71%
rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEvent.java
rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEvent.java
index bcff24d7da68..bae06d5662ce 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEvent.java
+++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEvent.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/cloud/channel/v1/subscriber_event.proto
 
 package com.google.cloud.channel.v1;
 
 /**
- *
- *
  * 
  * Represents Pub/Sub message content describing entitlement update.
  * 
* * Protobuf type {@code google.cloud.channel.v1.EntitlementEvent} */ -public final class EntitlementEvent extends com.google.protobuf.GeneratedMessageV3 - implements +public final class EntitlementEvent extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.EntitlementEvent) EntitlementEventOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use EntitlementEvent.newBuilder() to construct. private EntitlementEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private EntitlementEvent() { entitlement_ = ""; eventType_ = 0; @@ -44,43 +26,39 @@ private EntitlementEvent() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new EntitlementEvent(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.SubscriberEventProto - .internal_static_google_cloud_channel_v1_EntitlementEvent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.SubscriberEventProto.internal_static_google_cloud_channel_v1_EntitlementEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.SubscriberEventProto - .internal_static_google_cloud_channel_v1_EntitlementEvent_fieldAccessorTable + return com.google.cloud.channel.v1.SubscriberEventProto.internal_static_google_cloud_channel_v1_EntitlementEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.EntitlementEvent.class, - com.google.cloud.channel.v1.EntitlementEvent.Builder.class); + com.google.cloud.channel.v1.EntitlementEvent.class, com.google.cloud.channel.v1.EntitlementEvent.Builder.class); } /** - * - * *
    * Type of entitlement event.
    * 
* * Protobuf enum {@code google.cloud.channel.v1.EntitlementEvent.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not used.
      * 
@@ -89,8 +67,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * A new entitlement was created.
      * 
@@ -99,8 +75,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ CREATED(1), /** - * - * *
      * The offer type associated with an entitlement was changed.
      * This is not triggered if an entitlement converts from a commit offer to a
@@ -111,8 +85,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     PRICE_PLAN_SWITCHED(3),
     /**
-     *
-     *
      * 
      * Annual commitment for a commit plan was changed.
      * 
@@ -121,8 +93,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ COMMITMENT_CHANGED(4), /** - * - * *
      * An annual entitlement was renewed.
      * 
@@ -131,8 +101,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ RENEWED(5), /** - * - * *
      * Entitlement was suspended.
      * 
@@ -141,8 +109,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ SUSPENDED(6), /** - * - * *
      * Entitlement was unsuspended.
      * 
@@ -151,8 +117,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ ACTIVATED(7), /** - * - * *
      * Entitlement was cancelled.
      * 
@@ -161,8 +125,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ CANCELLED(8), /** - * - * *
      * Entitlement was upgraded or downgraded (e.g. from Google Workspace
      * Business Standard to Google Workspace Business Plus).
@@ -172,8 +134,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     SKU_CHANGED(9),
     /**
-     *
-     *
      * 
      * The renewal settings of an entitlement has changed.
      * 
@@ -182,8 +142,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ RENEWAL_SETTING_CHANGED(10), /** - * - * *
      * Paid service has started on trial entitlement.
      * 
@@ -192,8 +150,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ PAID_SERVICE_STARTED(11), /** - * - * *
      * License was assigned to or revoked from a user.
      * 
@@ -202,8 +158,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ LICENSE_ASSIGNMENT_CHANGED(12), /** - * - * *
      * License cap was changed for the entitlement.
      * 
@@ -215,8 +169,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Not used.
      * 
@@ -225,8 +177,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * A new entitlement was created.
      * 
@@ -235,8 +185,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATED_VALUE = 1; /** - * - * *
      * The offer type associated with an entitlement was changed.
      * This is not triggered if an entitlement converts from a commit offer to a
@@ -247,8 +195,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PRICE_PLAN_SWITCHED_VALUE = 3;
     /**
-     *
-     *
      * 
      * Annual commitment for a commit plan was changed.
      * 
@@ -257,8 +203,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMMITMENT_CHANGED_VALUE = 4; /** - * - * *
      * An annual entitlement was renewed.
      * 
@@ -267,8 +211,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RENEWED_VALUE = 5; /** - * - * *
      * Entitlement was suspended.
      * 
@@ -277,8 +219,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUSPENDED_VALUE = 6; /** - * - * *
      * Entitlement was unsuspended.
      * 
@@ -287,8 +227,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTIVATED_VALUE = 7; /** - * - * *
      * Entitlement was cancelled.
      * 
@@ -297,8 +235,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLED_VALUE = 8; /** - * - * *
      * Entitlement was upgraded or downgraded (e.g. from Google Workspace
      * Business Standard to Google Workspace Business Plus).
@@ -308,8 +244,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SKU_CHANGED_VALUE = 9;
     /**
-     *
-     *
      * 
      * The renewal settings of an entitlement has changed.
      * 
@@ -318,8 +252,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RENEWAL_SETTING_CHANGED_VALUE = 10; /** - * - * *
      * Paid service has started on trial entitlement.
      * 
@@ -328,8 +260,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PAID_SERVICE_STARTED_VALUE = 11; /** - * - * *
      * License was assigned to or revoked from a user.
      * 
@@ -338,8 +268,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LICENSE_ASSIGNMENT_CHANGED_VALUE = 12; /** - * - * *
      * License cap was changed for the entitlement.
      * 
@@ -348,6 +276,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LICENSE_CAP_CHANGED_VALUE = 13; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -372,69 +301,59 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return TYPE_UNSPECIFIED; - case 1: - return CREATED; - case 3: - return PRICE_PLAN_SWITCHED; - case 4: - return COMMITMENT_CHANGED; - case 5: - return RENEWED; - case 6: - return SUSPENDED; - case 7: - return ACTIVATED; - case 8: - return CANCELLED; - case 9: - return SKU_CHANGED; - case 10: - return RENEWAL_SETTING_CHANGED; - case 11: - return PAID_SERVICE_STARTED; - case 12: - return LICENSE_ASSIGNMENT_CHANGED; - case 13: - return LICENSE_CAP_CHANGED; - default: - return null; + case 0: return TYPE_UNSPECIFIED; + case 1: return CREATED; + case 3: return PRICE_PLAN_SWITCHED; + case 4: return COMMITMENT_CHANGED; + case 5: return RENEWED; + case 6: return SUSPENDED; + case 7: return ACTIVATED; + case 8: return CANCELLED; + case 9: return SKU_CHANGED; + case 10: return RENEWAL_SETTING_CHANGED; + case 11: return PAID_SERVICE_STARTED; + case 12: return LICENSE_ASSIGNMENT_CHANGED; + case 13: return LICENSE_CAP_CHANGED; + 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 Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + Type> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.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.cloud.channel.v1.EntitlementEvent.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type 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; @@ -454,15 +373,12 @@ private Type(int value) { public static final int ENTITLEMENT_FIELD_NUMBER = 1; private volatile java.lang.Object entitlement_; /** - * - * *
    * Resource name of an entitlement of the form:
    * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
    * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } - * * @return The entitlement. */ @java.lang.Override @@ -471,30 +387,30 @@ public java.lang.String getEntitlement() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entitlement_ = s; return s; } } /** - * - * *
    * Resource name of an entitlement of the form:
    * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
    * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for entitlement. */ @java.lang.Override - public com.google.protobuf.ByteString getEntitlementBytes() { + public com.google.protobuf.ByteString + getEntitlementBytes() { java.lang.Object ref = entitlement_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); entitlement_ = b; return b; } else { @@ -505,41 +421,31 @@ public com.google.protobuf.ByteString getEntitlementBytes() { public static final int EVENT_TYPE_FIELD_NUMBER = 2; private int eventType_; /** - * - * *
    * Type of event which happened on the entitlement.
    * 
* * .google.cloud.channel.v1.EntitlementEvent.Type event_type = 2; - * * @return The enum numeric value on the wire for eventType. */ - @java.lang.Override - public int getEventTypeValue() { + @java.lang.Override public int getEventTypeValue() { return eventType_; } /** - * - * *
    * Type of event which happened on the entitlement.
    * 
* * .google.cloud.channel.v1.EntitlementEvent.Type event_type = 2; - * * @return The eventType. */ - @java.lang.Override - public com.google.cloud.channel.v1.EntitlementEvent.Type getEventType() { + @java.lang.Override public com.google.cloud.channel.v1.EntitlementEvent.Type getEventType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.EntitlementEvent.Type result = - com.google.cloud.channel.v1.EntitlementEvent.Type.valueOf(eventType_); + com.google.cloud.channel.v1.EntitlementEvent.Type result = com.google.cloud.channel.v1.EntitlementEvent.Type.valueOf(eventType_); return result == null ? com.google.cloud.channel.v1.EntitlementEvent.Type.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -551,12 +457,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(entitlement_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entitlement_); } - if (eventType_ - != com.google.cloud.channel.v1.EntitlementEvent.Type.TYPE_UNSPECIFIED.getNumber()) { + if (eventType_ != com.google.cloud.channel.v1.EntitlementEvent.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, eventType_); } getUnknownFields().writeTo(output); @@ -571,9 +477,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entitlement_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, entitlement_); } - if (eventType_ - != com.google.cloud.channel.v1.EntitlementEvent.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, eventType_); + if (eventType_ != com.google.cloud.channel.v1.EntitlementEvent.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, eventType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -583,15 +489,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.EntitlementEvent)) { return super.equals(obj); } - com.google.cloud.channel.v1.EntitlementEvent other = - (com.google.cloud.channel.v1.EntitlementEvent) obj; + com.google.cloud.channel.v1.EntitlementEvent other = (com.google.cloud.channel.v1.EntitlementEvent) obj; - if (!getEntitlement().equals(other.getEntitlement())) return false; + if (!getEntitlement() + .equals(other.getEntitlement())) return false; if (eventType_ != other.eventType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -613,136 +519,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.EntitlementEvent parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.EntitlementEvent parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.EntitlementEvent parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.EntitlementEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.EntitlementEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.EntitlementEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.EntitlementEvent parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.EntitlementEvent 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.cloud.channel.v1.EntitlementEvent parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.EntitlementEvent parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.EntitlementEvent parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.EntitlementEvent parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.EntitlementEvent parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.EntitlementEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.EntitlementEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents Pub/Sub message content describing entitlement update.
    * 
* * Protobuf type {@code google.cloud.channel.v1.EntitlementEvent} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.EntitlementEvent) com.google.cloud.channel.v1.EntitlementEventOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.SubscriberEventProto - .internal_static_google_cloud_channel_v1_EntitlementEvent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.SubscriberEventProto.internal_static_google_cloud_channel_v1_EntitlementEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.SubscriberEventProto - .internal_static_google_cloud_channel_v1_EntitlementEvent_fieldAccessorTable + return com.google.cloud.channel.v1.SubscriberEventProto.internal_static_google_cloud_channel_v1_EntitlementEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.EntitlementEvent.class, - com.google.cloud.channel.v1.EntitlementEvent.Builder.class); + com.google.cloud.channel.v1.EntitlementEvent.class, com.google.cloud.channel.v1.EntitlementEvent.Builder.class); } // Construct using com.google.cloud.channel.v1.EntitlementEvent.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -754,9 +654,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.SubscriberEventProto - .internal_static_google_cloud_channel_v1_EntitlementEvent_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.SubscriberEventProto.internal_static_google_cloud_channel_v1_EntitlementEvent_descriptor; } @java.lang.Override @@ -775,8 +675,7 @@ public com.google.cloud.channel.v1.EntitlementEvent build() { @java.lang.Override public com.google.cloud.channel.v1.EntitlementEvent buildPartial() { - com.google.cloud.channel.v1.EntitlementEvent result = - new com.google.cloud.channel.v1.EntitlementEvent(this); + com.google.cloud.channel.v1.EntitlementEvent result = new com.google.cloud.channel.v1.EntitlementEvent(this); result.entitlement_ = entitlement_; result.eventType_ = eventType_; onBuilt(); @@ -787,39 +686,38 @@ public com.google.cloud.channel.v1.EntitlementEvent 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.cloud.channel.v1.EntitlementEvent) { - return mergeFrom((com.google.cloud.channel.v1.EntitlementEvent) other); + return mergeFrom((com.google.cloud.channel.v1.EntitlementEvent)other); } else { super.mergeFrom(other); return this; @@ -861,25 +759,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - entitlement_ = input.readStringRequireUtf8(); + case 10: { + entitlement_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 16: - { - eventType_ = input.readEnum(); + break; + } // case 10 + case 16: { + eventType_ = input.readEnum(); - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -892,21 +787,19 @@ public Builder mergeFrom( private java.lang.Object entitlement_ = ""; /** - * - * *
      * Resource name of an entitlement of the form:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
      * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } - * * @return The entitlement. */ public java.lang.String getEntitlement() { java.lang.Object ref = entitlement_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entitlement_ = s; return s; @@ -915,22 +808,21 @@ public java.lang.String getEntitlement() { } } /** - * - * *
      * Resource name of an entitlement of the form:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
      * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for entitlement. */ - public com.google.protobuf.ByteString getEntitlementBytes() { + public com.google.protobuf.ByteString + getEntitlementBytes() { java.lang.Object ref = entitlement_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); entitlement_ = b; return b; } else { @@ -938,64 +830,57 @@ public com.google.protobuf.ByteString getEntitlementBytes() { } } /** - * - * *
      * Resource name of an entitlement of the form:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
      * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } - * * @param value The entitlement to set. * @return This builder for chaining. */ - public Builder setEntitlement(java.lang.String value) { + public Builder setEntitlement( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entitlement_ = value; onChanged(); return this; } /** - * - * *
      * Resource name of an entitlement of the form:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
      * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearEntitlement() { - + entitlement_ = getDefaultInstance().getEntitlement(); onChanged(); return this; } /** - * - * *
      * Resource name of an entitlement of the form:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
      * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for entitlement to set. * @return This builder for chaining. */ - public Builder setEntitlementBytes(com.google.protobuf.ByteString value) { + public Builder setEntitlementBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entitlement_ = value; onChanged(); return this; @@ -1003,67 +888,51 @@ public Builder setEntitlementBytes(com.google.protobuf.ByteString value) { private int eventType_ = 0; /** - * - * *
      * Type of event which happened on the entitlement.
      * 
* * .google.cloud.channel.v1.EntitlementEvent.Type event_type = 2; - * * @return The enum numeric value on the wire for eventType. */ - @java.lang.Override - public int getEventTypeValue() { + @java.lang.Override public int getEventTypeValue() { return eventType_; } /** - * - * *
      * Type of event which happened on the entitlement.
      * 
* * .google.cloud.channel.v1.EntitlementEvent.Type event_type = 2; - * * @param value The enum numeric value on the wire for eventType to set. * @return This builder for chaining. */ public Builder setEventTypeValue(int value) { - + eventType_ = value; onChanged(); return this; } /** - * - * *
      * Type of event which happened on the entitlement.
      * 
* * .google.cloud.channel.v1.EntitlementEvent.Type event_type = 2; - * * @return The eventType. */ @java.lang.Override public com.google.cloud.channel.v1.EntitlementEvent.Type getEventType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.EntitlementEvent.Type result = - com.google.cloud.channel.v1.EntitlementEvent.Type.valueOf(eventType_); - return result == null - ? com.google.cloud.channel.v1.EntitlementEvent.Type.UNRECOGNIZED - : result; + com.google.cloud.channel.v1.EntitlementEvent.Type result = com.google.cloud.channel.v1.EntitlementEvent.Type.valueOf(eventType_); + return result == null ? com.google.cloud.channel.v1.EntitlementEvent.Type.UNRECOGNIZED : result; } /** - * - * *
      * Type of event which happened on the entitlement.
      * 
* * .google.cloud.channel.v1.EntitlementEvent.Type event_type = 2; - * * @param value The eventType to set. * @return This builder for chaining. */ @@ -1071,31 +940,28 @@ public Builder setEventType(com.google.cloud.channel.v1.EntitlementEvent.Type va if (value == null) { throw new NullPointerException(); } - + eventType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Type of event which happened on the entitlement.
      * 
* * .google.cloud.channel.v1.EntitlementEvent.Type event_type = 2; - * * @return This builder for chaining. */ public Builder clearEventType() { - + eventType_ = 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); } @@ -1105,12 +971,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.EntitlementEvent) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.EntitlementEvent) private static final com.google.cloud.channel.v1.EntitlementEvent DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.EntitlementEvent(); } @@ -1119,27 +985,27 @@ public static com.google.cloud.channel.v1.EntitlementEvent getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EntitlementEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EntitlementEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1154,4 +1020,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.EntitlementEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEventOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEventOrBuilder.java similarity index 65% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEventOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEventOrBuilder.java index 2292bc4aceae..976156efcad8 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEventOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEventOrBuilder.java @@ -1,76 +1,49 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/subscriber_event.proto package com.google.cloud.channel.v1; -public interface EntitlementEventOrBuilder - extends +public interface EntitlementEventOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.EntitlementEvent) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Resource name of an entitlement of the form:
    * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
    * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } - * * @return The entitlement. */ java.lang.String getEntitlement(); /** - * - * *
    * Resource name of an entitlement of the form:
    * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
    * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for entitlement. */ - com.google.protobuf.ByteString getEntitlementBytes(); + com.google.protobuf.ByteString + getEntitlementBytes(); /** - * - * *
    * Type of event which happened on the entitlement.
    * 
* * .google.cloud.channel.v1.EntitlementEvent.Type event_type = 2; - * * @return The enum numeric value on the wire for eventType. */ int getEventTypeValue(); /** - * - * *
    * Type of event which happened on the entitlement.
    * 
* * .google.cloud.channel.v1.EntitlementEvent.Type event_type = 2; - * * @return The eventType. */ com.google.cloud.channel.v1.EntitlementEvent.Type getEventType(); diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementName.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementName.java similarity index 100% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementName.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementName.java diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementOrBuilder.java similarity index 70% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementOrBuilder.java index 04858c841e2b..28dc1ed3a992 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementOrBuilder.java @@ -1,191 +1,131 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/entitlements.proto package com.google.cloud.channel.v1; -public interface EntitlementOrBuilder - extends +public interface EntitlementOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Entitlement) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Resource name of an entitlement in the form:
    * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Resource name of an entitlement in the form:
    * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_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(); /** - * - * *
    * Output only. The time at which the entitlement is created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time at which the entitlement is created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time at which the entitlement is created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time at which the entitlement is updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The time at which the entitlement is updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The time at which the entitlement is updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Required. The offer resource name for which the entitlement is to be
    * created. Takes the form: accounts/{account_id}/offers/{offer_id}.
    * 
* - * - * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The offer. */ java.lang.String getOffer(); /** - * - * *
    * Required. The offer resource name for which the entitlement is to be
    * created. Takes the form: accounts/{account_id}/offers/{offer_id}.
    * 
* - * - * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for offer. */ - com.google.protobuf.ByteString getOfferBytes(); + com.google.protobuf.ByteString + getOfferBytes(); /** - * - * *
    * Commitment settings for a commitment-based Offer.
    * Required for commitment based offers.
    * 
* * .google.cloud.channel.v1.CommitmentSettings commitment_settings = 12; - * * @return Whether the commitmentSettings field is set. */ boolean hasCommitmentSettings(); /** - * - * *
    * Commitment settings for a commitment-based Offer.
    * Required for commitment based offers.
    * 
* * .google.cloud.channel.v1.CommitmentSettings commitment_settings = 12; - * * @return The commitmentSettings. */ com.google.cloud.channel.v1.CommitmentSettings getCommitmentSettings(); /** - * - * *
    * Commitment settings for a commitment-based Offer.
    * Required for commitment based offers.
@@ -196,250 +136,179 @@ public interface EntitlementOrBuilder
   com.google.cloud.channel.v1.CommitmentSettingsOrBuilder getCommitmentSettingsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. Current provisioning state of the entitlement.
    * 
* - * - * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for provisioningState. */ int getProvisioningStateValue(); /** - * - * *
    * Output only. Current provisioning state of the entitlement.
    * 
* - * - * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The provisioningState. */ com.google.cloud.channel.v1.Entitlement.ProvisioningState getProvisioningState(); /** - * - * *
    * Output only. Service provisioning details for the entitlement.
    * 
* - * - * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the provisionedService field is set. */ boolean hasProvisionedService(); /** - * - * *
    * Output only. Service provisioning details for the entitlement.
    * 
* - * - * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The provisionedService. */ com.google.cloud.channel.v1.ProvisionedService getProvisionedService(); /** - * - * *
    * Output only. Service provisioning details for the entitlement.
    * 
* - * - * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.channel.v1.ProvisionedServiceOrBuilder getProvisionedServiceOrBuilder(); /** - * - * *
-   * Output only. Enumerable of all current suspension reasons for an entitlement.
+   * Output only. Enumerable of all current suspension reasons for an
+   * entitlement.
    * 
* - * - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the suspensionReasons. */ - java.util.List - getSuspensionReasonsList(); + java.util.List getSuspensionReasonsList(); /** - * - * *
-   * Output only. Enumerable of all current suspension reasons for an entitlement.
+   * Output only. Enumerable of all current suspension reasons for an
+   * entitlement.
    * 
* - * - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of suspensionReasons. */ int getSuspensionReasonsCount(); /** - * - * *
-   * Output only. Enumerable of all current suspension reasons for an entitlement.
+   * Output only. Enumerable of all current suspension reasons for an
+   * entitlement.
    * 
* - * - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The suspensionReasons at the given index. */ com.google.cloud.channel.v1.Entitlement.SuspensionReason getSuspensionReasons(int index); /** - * - * *
-   * Output only. Enumerable of all current suspension reasons for an entitlement.
+   * Output only. Enumerable of all current suspension reasons for an
+   * entitlement.
    * 
* - * - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for suspensionReasons. */ - java.util.List getSuspensionReasonsValueList(); + java.util.List + getSuspensionReasonsValueList(); /** - * - * *
-   * Output only. Enumerable of all current suspension reasons for an entitlement.
+   * Output only. Enumerable of all current suspension reasons for an
+   * entitlement.
    * 
* - * - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of suspensionReasons at the given index. */ int getSuspensionReasonsValue(int index); /** - * - * *
-   * Optional. This purchase order (PO) information is for resellers to use for their
-   * company tracking usage. If a purchaseOrderId value is given, it appears in
-   * the API responses and shows up in the invoice. The property accepts up to
-   * 80 plain text characters. This is only supported for Google Workspace
-   * entitlements.
+   * Optional. This purchase order (PO) information is for resellers to use for
+   * their company tracking usage. If a purchaseOrderId value is given, it
+   * appears in the API responses and shows up in the invoice. The property
+   * accepts up to 80 plain text characters. This is only supported for Google
+   * Workspace entitlements.
    * 
* * string purchase_order_id = 19 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The purchaseOrderId. */ java.lang.String getPurchaseOrderId(); /** - * - * *
-   * Optional. This purchase order (PO) information is for resellers to use for their
-   * company tracking usage. If a purchaseOrderId value is given, it appears in
-   * the API responses and shows up in the invoice. The property accepts up to
-   * 80 plain text characters. This is only supported for Google Workspace
-   * entitlements.
+   * Optional. This purchase order (PO) information is for resellers to use for
+   * their company tracking usage. If a purchaseOrderId value is given, it
+   * appears in the API responses and shows up in the invoice. The property
+   * accepts up to 80 plain text characters. This is only supported for Google
+   * Workspace entitlements.
    * 
* * string purchase_order_id = 19 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for purchaseOrderId. */ - com.google.protobuf.ByteString getPurchaseOrderIdBytes(); + com.google.protobuf.ByteString + getPurchaseOrderIdBytes(); /** - * - * *
    * Output only. Settings for trial offers.
    * 
* - * - * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the trialSettings field is set. */ boolean hasTrialSettings(); /** - * - * *
    * Output only. Settings for trial offers.
    * 
* - * - * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The trialSettings. */ com.google.cloud.channel.v1.TrialSettings getTrialSettings(); /** - * - * *
    * Output only. Settings for trial offers.
    * 
* - * - * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.channel.v1.TrialSettingsOrBuilder getTrialSettingsOrBuilder(); /** - * - * *
    * Association information to other entitlements.
    * 
* * .google.cloud.channel.v1.AssociationInfo association_info = 23; - * * @return Whether the associationInfo field is set. */ boolean hasAssociationInfo(); /** - * - * *
    * Association information to other entitlements.
    * 
* * .google.cloud.channel.v1.AssociationInfo association_info = 23; - * * @return The associationInfo. */ com.google.cloud.channel.v1.AssociationInfo getAssociationInfo(); /** - * - * *
    * Association information to other entitlements.
    * 
@@ -449,8 +318,6 @@ public interface EntitlementOrBuilder com.google.cloud.channel.v1.AssociationInfoOrBuilder getAssociationInfoOrBuilder(); /** - * - * *
    * Extended entitlement parameters. When creating an entitlement, valid
    * parameter names and values are defined in the
@@ -463,10 +330,9 @@ public interface EntitlementOrBuilder
    *
    * repeated .google.cloud.channel.v1.Parameter parameters = 26;
    */
-  java.util.List getParametersList();
+  java.util.List 
+      getParametersList();
   /**
-   *
-   *
    * 
    * Extended entitlement parameters. When creating an entitlement, valid
    * parameter names and values are defined in the
@@ -481,8 +347,6 @@ public interface EntitlementOrBuilder
    */
   com.google.cloud.channel.v1.Parameter getParameters(int index);
   /**
-   *
-   *
    * 
    * Extended entitlement parameters. When creating an entitlement, valid
    * parameter names and values are defined in the
@@ -497,8 +361,6 @@ public interface EntitlementOrBuilder
    */
   int getParametersCount();
   /**
-   *
-   *
    * 
    * Extended entitlement parameters. When creating an entitlement, valid
    * parameter names and values are defined in the
@@ -511,11 +373,9 @@ public interface EntitlementOrBuilder
    *
    * repeated .google.cloud.channel.v1.Parameter parameters = 26;
    */
-  java.util.List
+  java.util.List 
       getParametersOrBuilderList();
   /**
-   *
-   *
    * 
    * Extended entitlement parameters. When creating an entitlement, valid
    * parameter names and values are defined in the
@@ -528,5 +388,6 @@ public interface EntitlementOrBuilder
    *
    * repeated .google.cloud.channel.v1.Parameter parameters = 26;
    */
-  com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(int index);
+  com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(
+      int index);
 }
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java
new file mode 100644
index 000000000000..97c98cfc12aa
--- /dev/null
+++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java
@@ -0,0 +1,220 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/channel/v1/entitlements.proto
+
+package com.google.cloud.channel.v1;
+
+public final class EntitlementsProto {
+  private EntitlementsProto() {}
+  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_cloud_channel_v1_Entitlement_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_Entitlement_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_Parameter_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_Parameter_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_AssociationInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_AssociationInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ProvisionedService_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ProvisionedService_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_CommitmentSettings_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_CommitmentSettings_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_RenewalSettings_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_RenewalSettings_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_TrialSettings_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_TrialSettings_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_TransferableSku_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_TransferableSku_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_TransferEligibility_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_TransferEligibility_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/cloud/channel/v1/entitlements.p" +
+      "roto\022\027google.cloud.channel.v1\032\037google/ap" +
+      "i/field_behavior.proto\032\031google/api/resou" +
+      "rce.proto\032$google/cloud/channel/v1/commo" +
+      "n.proto\032$google/cloud/channel/v1/offers." +
+      "proto\032&google/cloud/channel/v1/products." +
+      "proto\032\037google/protobuf/timestamp.proto\"\335" +
+      "\010\n\013Entitlement\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013cre" +
+      "ate_time\030\005 \001(\0132\032.google.protobuf.Timesta" +
+      "mpB\003\340A\003\0224\n\013update_time\030\006 \001(\0132\032.google.pr" +
+      "otobuf.TimestampB\003\340A\003\0228\n\005offer\030\010 \001(\tB)\340A" +
+      "\002\372A#\n!cloudchannel.googleapis.com/Offer\022" +
+      "H\n\023commitment_settings\030\014 \001(\0132+.google.cl" +
+      "oud.channel.v1.CommitmentSettings\022W\n\022pro" +
+      "visioning_state\030\r \001(\01626.google.cloud.cha" +
+      "nnel.v1.Entitlement.ProvisioningStateB\003\340" +
+      "A\003\022M\n\023provisioned_service\030\020 \001(\0132+.google" +
+      ".cloud.channel.v1.ProvisionedServiceB\003\340A" +
+      "\003\022V\n\022suspension_reasons\030\022 \003(\01625.google.c" +
+      "loud.channel.v1.Entitlement.SuspensionRe" +
+      "asonB\003\340A\003\022\036\n\021purchase_order_id\030\023 \001(\tB\003\340A" +
+      "\001\022C\n\016trial_settings\030\025 \001(\0132&.google.cloud" +
+      ".channel.v1.TrialSettingsB\003\340A\003\022B\n\020associ" +
+      "ation_info\030\027 \001(\0132(.google.cloud.channel." +
+      "v1.AssociationInfo\0226\n\nparameters\030\032 \003(\0132\"" +
+      ".google.cloud.channel.v1.Parameter\"R\n\021Pr" +
+      "ovisioningState\022\"\n\036PROVISIONING_STATE_UN" +
+      "SPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\r\n\tSUSPENDED\020\005\"\243" +
+      "\001\n\020SuspensionReason\022!\n\035SUSPENSION_REASON" +
+      "_UNSPECIFIED\020\000\022\026\n\022RESELLER_INITIATED\020\001\022\017" +
+      "\n\013TRIAL_ENDED\020\002\022\034\n\030RENEWAL_WITH_TYPE_CAN" +
+      "CEL\020\003\022\032\n\026PENDING_TOS_ACCEPTANCE\020\004\022\t\n\005OTH" +
+      "ER\020d:p\352Am\n\'cloudchannel.googleapis.com/E" +
+      "ntitlement\022Baccounts/{account}/customers" +
+      "/{customer}/entitlements/{entitlement}\"_" +
+      "\n\tParameter\022\014\n\004name\030\001 \001(\t\022-\n\005value\030\002 \001(\013" +
+      "2\036.google.cloud.channel.v1.Value\022\025\n\010edit" +
+      "able\030\003 \001(\010B\003\340A\003\"Y\n\017AssociationInfo\022F\n\020ba" +
+      "se_entitlement\030\001 \001(\tB,\372A)\n\'cloudchannel." +
+      "googleapis.com/Entitlement\"`\n\022Provisione" +
+      "dService\022\034\n\017provisioning_id\030\001 \001(\tB\003\340A\003\022\027" +
+      "\n\nproduct_id\030\002 \001(\tB\003\340A\003\022\023\n\006sku_id\030\003 \001(\tB" +
+      "\003\340A\003\"\305\001\n\022CommitmentSettings\0223\n\nstart_tim" +
+      "e\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" +
+      "\0221\n\010end_time\030\002 \001(\0132\032.google.protobuf.Tim" +
+      "estampB\003\340A\003\022G\n\020renewal_settings\030\004 \001(\0132(." +
+      "google.cloud.channel.v1.RenewalSettingsB" +
+      "\003\340A\001\"\270\001\n\017RenewalSettings\022\026\n\016enable_renew" +
+      "al\030\001 \001(\010\022\031\n\021resize_unit_count\030\002 \001(\010\022:\n\014p" +
+      "ayment_plan\030\005 \001(\0162$.google.cloud.channel" +
+      ".v1.PaymentPlan\0226\n\rpayment_cycle\030\006 \001(\0132\037" +
+      ".google.cloud.channel.v1.Period\"L\n\rTrial" +
+      "Settings\022\r\n\005trial\030\001 \001(\010\022,\n\010end_time\030\002 \001(" +
+      "\0132\032.google.protobuf.Timestamp\"\277\001\n\017Transf" +
+      "erableSku\022J\n\024transfer_eligibility\030\t \001(\0132" +
+      ",.google.cloud.channel.v1.TransferEligib" +
+      "ility\022)\n\003sku\030\013 \001(\0132\034.google.cloud.channe" +
+      "l.v1.Sku\0225\n\nlegacy_sku\030\014 \001(\0132\034.google.cl" +
+      "oud.channel.v1.SkuB\003\340A\001\"\371\001\n\023TransferElig" +
+      "ibility\022\023\n\013is_eligible\030\001 \001(\010\022\023\n\013descript" +
+      "ion\030\002 \001(\t\022Q\n\024ineligibility_reason\030\003 \001(\0162" +
+      "3.google.cloud.channel.v1.TransferEligib" +
+      "ility.Reason\"e\n\006Reason\022\026\n\022REASON_UNSPECI" +
+      "FIED\020\000\022\032\n\026PENDING_TOS_ACCEPTANCE\020\001\022\024\n\020SK" +
+      "U_NOT_ELIGIBLE\020\002\022\021\n\rSKU_SUSPENDED\020\003Br\n\033c" +
+      "om.google.cloud.channel.v1B\021Entitlements" +
+      "ProtoP\001Z>google.golang.org/genproto/goog" +
+      "leapis/cloud/channel/v1;channelb\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.cloud.channel.v1.CommonProto.getDescriptor(),
+          com.google.cloud.channel.v1.OffersProto.getDescriptor(),
+          com.google.cloud.channel.v1.ProductsProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_cloud_channel_v1_Entitlement_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_channel_v1_Entitlement_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_Entitlement_descriptor,
+        new java.lang.String[] { "Name", "CreateTime", "UpdateTime", "Offer", "CommitmentSettings", "ProvisioningState", "ProvisionedService", "SuspensionReasons", "PurchaseOrderId", "TrialSettings", "AssociationInfo", "Parameters", });
+    internal_static_google_cloud_channel_v1_Parameter_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_channel_v1_Parameter_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_Parameter_descriptor,
+        new java.lang.String[] { "Name", "Value", "Editable", });
+    internal_static_google_cloud_channel_v1_AssociationInfo_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_channel_v1_AssociationInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_AssociationInfo_descriptor,
+        new java.lang.String[] { "BaseEntitlement", });
+    internal_static_google_cloud_channel_v1_ProvisionedService_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_channel_v1_ProvisionedService_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ProvisionedService_descriptor,
+        new java.lang.String[] { "ProvisioningId", "ProductId", "SkuId", });
+    internal_static_google_cloud_channel_v1_CommitmentSettings_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_channel_v1_CommitmentSettings_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_CommitmentSettings_descriptor,
+        new java.lang.String[] { "StartTime", "EndTime", "RenewalSettings", });
+    internal_static_google_cloud_channel_v1_RenewalSettings_descriptor =
+      getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_channel_v1_RenewalSettings_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_RenewalSettings_descriptor,
+        new java.lang.String[] { "EnableRenewal", "ResizeUnitCount", "PaymentPlan", "PaymentCycle", });
+    internal_static_google_cloud_channel_v1_TrialSettings_descriptor =
+      getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_channel_v1_TrialSettings_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_TrialSettings_descriptor,
+        new java.lang.String[] { "Trial", "EndTime", });
+    internal_static_google_cloud_channel_v1_TransferableSku_descriptor =
+      getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_channel_v1_TransferableSku_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_TransferableSku_descriptor,
+        new java.lang.String[] { "TransferEligibility", "Sku", "LegacySku", });
+    internal_static_google_cloud_channel_v1_TransferEligibility_descriptor =
+      getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_channel_v1_TransferEligibility_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_TransferEligibility_descriptor,
+        new java.lang.String[] { "IsEligible", "Description", "IneligibilityReason", });
+    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.cloud.channel.v1.CommonProto.getDescriptor();
+    com.google.cloud.channel.v1.OffersProto.getDescriptor();
+    com.google.cloud.channel.v1.ProductsProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsRequest.java
similarity index 61%
rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsRequest.java
rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsRequest.java
index 8820bb1b609b..0035bdc360a0 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsRequest.java
+++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsRequest.java
@@ -1,42 +1,25 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/channel/v1/reports_service.proto
 
 package com.google.cloud.channel.v1;
 
 /**
- *
- *
  * 
- * Request message for [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults].
+ * Request message for
+ * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults].
  * 
* * Protobuf type {@code google.cloud.channel.v1.FetchReportResultsRequest} */ -public final class FetchReportResultsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FetchReportResultsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.FetchReportResultsRequest) FetchReportResultsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FetchReportResultsRequest.newBuilder() to construct. private FetchReportResultsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FetchReportResultsRequest() { reportJob_ = ""; pageToken_ = ""; @@ -44,45 +27,40 @@ private FetchReportResultsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FetchReportResultsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_FetchReportResultsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_FetchReportResultsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_FetchReportResultsRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_FetchReportResultsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.FetchReportResultsRequest.class, - com.google.cloud.channel.v1.FetchReportResultsRequest.Builder.class); + com.google.cloud.channel.v1.FetchReportResultsRequest.class, com.google.cloud.channel.v1.FetchReportResultsRequest.Builder.class); } public static final int REPORT_JOB_FIELD_NUMBER = 1; private volatile java.lang.Object reportJob_; /** - * - * *
-   * Required. The report job created by [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
+   * Required. The report job created by
+   * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
    * Report_job uses the format:
    * accounts/{account_id}/reportJobs/{report_job_id}
    * 
* - * - * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The reportJob. */ @java.lang.Override @@ -91,33 +69,32 @@ public java.lang.String getReportJob() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reportJob_ = s; return s; } } /** - * - * *
-   * Required. The report job created by [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
+   * Required. The report job created by
+   * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
    * Report_job uses the format:
    * accounts/{account_id}/reportJobs/{report_job_id}
    * 
* - * - * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for reportJob. */ @java.lang.Override - public com.google.protobuf.ByteString getReportJobBytes() { + public com.google.protobuf.ByteString + getReportJobBytes() { java.lang.Object ref = reportJob_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); reportJob_ = b; return b; } else { @@ -128,18 +105,15 @@ public com.google.protobuf.ByteString getReportJobBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
-   * Optional. Requested page size of the report. The server may return fewer results than
-   * requested. If you don't specify a page size, the server uses a sensible
-   * default (may change over time).
+   * Optional. Requested page size of the report. The server may return fewer
+   * results than requested. If you don't specify a page size, the server uses a
+   * sensible default (may change over time).
    * The maximum value is 30,000; the server will change larger values to
    * 30,000.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -150,17 +124,16 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Optional. A token that specifies a page of results beyond the first page.
    * Obtained through
-   * [FetchReportResultsResponse.next_page_token][google.cloud.channel.v1.FetchReportResultsResponse.next_page_token] of the previous
-   * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults] call.
+   * [FetchReportResultsResponse.next_page_token][google.cloud.channel.v1.FetchReportResultsResponse.next_page_token]
+   * of the previous
+   * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults]
+   * call.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -169,32 +142,34 @@ 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 token that specifies a page of results beyond the first page.
    * Obtained through
-   * [FetchReportResultsResponse.next_page_token][google.cloud.channel.v1.FetchReportResultsResponse.next_page_token] of the previous
-   * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults] call.
+   * [FetchReportResultsResponse.next_page_token][google.cloud.channel.v1.FetchReportResultsResponse.next_page_token]
+   * of the previous
+   * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults]
+   * call.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -203,7 +178,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -215,7 +189,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reportJob_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, reportJob_); } @@ -238,7 +213,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, reportJob_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -251,17 +227,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.FetchReportResultsRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.FetchReportResultsRequest other = - (com.google.cloud.channel.v1.FetchReportResultsRequest) obj; + com.google.cloud.channel.v1.FetchReportResultsRequest other = (com.google.cloud.channel.v1.FetchReportResultsRequest) obj; - if (!getReportJob().equals(other.getReportJob())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getReportJob() + .equals(other.getReportJob())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -285,136 +263,130 @@ public int hashCode() { } public static com.google.cloud.channel.v1.FetchReportResultsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.FetchReportResultsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.FetchReportResultsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.FetchReportResultsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.FetchReportResultsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.FetchReportResultsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.FetchReportResultsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.FetchReportResultsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.FetchReportResultsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.FetchReportResultsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.FetchReportResultsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.FetchReportResultsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.FetchReportResultsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.FetchReportResultsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.FetchReportResultsRequest prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.FetchReportResultsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Request message for [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults].
+   * Request message for
+   * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults].
    * 
* * Protobuf type {@code google.cloud.channel.v1.FetchReportResultsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.FetchReportResultsRequest) com.google.cloud.channel.v1.FetchReportResultsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_FetchReportResultsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_FetchReportResultsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_FetchReportResultsRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_FetchReportResultsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.FetchReportResultsRequest.class, - com.google.cloud.channel.v1.FetchReportResultsRequest.Builder.class); + com.google.cloud.channel.v1.FetchReportResultsRequest.class, com.google.cloud.channel.v1.FetchReportResultsRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.FetchReportResultsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -428,9 +400,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_FetchReportResultsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_FetchReportResultsRequest_descriptor; } @java.lang.Override @@ -449,8 +421,7 @@ public com.google.cloud.channel.v1.FetchReportResultsRequest build() { @java.lang.Override public com.google.cloud.channel.v1.FetchReportResultsRequest buildPartial() { - com.google.cloud.channel.v1.FetchReportResultsRequest result = - new com.google.cloud.channel.v1.FetchReportResultsRequest(this); + com.google.cloud.channel.v1.FetchReportResultsRequest result = new com.google.cloud.channel.v1.FetchReportResultsRequest(this); result.reportJob_ = reportJob_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -462,39 +433,38 @@ public com.google.cloud.channel.v1.FetchReportResultsRequest 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.cloud.channel.v1.FetchReportResultsRequest) { - return mergeFrom((com.google.cloud.channel.v1.FetchReportResultsRequest) other); + return mergeFrom((com.google.cloud.channel.v1.FetchReportResultsRequest)other); } else { super.mergeFrom(other); return this; @@ -502,8 +472,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.FetchReportResultsRequest other) { - if (other == com.google.cloud.channel.v1.FetchReportResultsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.FetchReportResultsRequest.getDefaultInstance()) return this; if (!other.getReportJob().isEmpty()) { reportJob_ = other.reportJob_; onChanged(); @@ -541,31 +510,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - reportJob_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + reportJob_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -578,24 +543,21 @@ public Builder mergeFrom( private java.lang.Object reportJob_ = ""; /** - * - * *
-     * Required. The report job created by [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
+     * Required. The report job created by
+     * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
      * Report_job uses the format:
      * accounts/{account_id}/reportJobs/{report_job_id}
      * 
* - * - * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The reportJob. */ public java.lang.String getReportJob() { java.lang.Object ref = reportJob_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reportJob_ = s; return s; @@ -604,25 +566,23 @@ public java.lang.String getReportJob() { } } /** - * - * *
-     * Required. The report job created by [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
+     * Required. The report job created by
+     * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
      * Report_job uses the format:
      * accounts/{account_id}/reportJobs/{report_job_id}
      * 
* - * - * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for reportJob. */ - public com.google.protobuf.ByteString getReportJobBytes() { + public com.google.protobuf.ByteString + getReportJobBytes() { java.lang.Object ref = reportJob_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); reportJob_ = b; return b; } else { @@ -630,92 +590,79 @@ public com.google.protobuf.ByteString getReportJobBytes() { } } /** - * - * *
-     * Required. The report job created by [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
+     * Required. The report job created by
+     * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
      * Report_job uses the format:
      * accounts/{account_id}/reportJobs/{report_job_id}
      * 
* - * - * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The reportJob to set. * @return This builder for chaining. */ - public Builder setReportJob(java.lang.String value) { + public Builder setReportJob( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + reportJob_ = value; onChanged(); return this; } /** - * - * *
-     * Required. The report job created by [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
+     * Required. The report job created by
+     * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
      * Report_job uses the format:
      * accounts/{account_id}/reportJobs/{report_job_id}
      * 
* - * - * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearReportJob() { - + reportJob_ = getDefaultInstance().getReportJob(); onChanged(); return this; } /** - * - * *
-     * Required. The report job created by [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
+     * Required. The report job created by
+     * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
      * Report_job uses the format:
      * accounts/{account_id}/reportJobs/{report_job_id}
      * 
* - * - * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for reportJob to set. * @return This builder for chaining. */ - public Builder setReportJobBytes(com.google.protobuf.ByteString value) { + public Builder setReportJobBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + reportJob_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
-     * Optional. Requested page size of the report. The server may return fewer results than
-     * requested. If you don't specify a page size, the server uses a sensible
-     * default (may change over time).
+     * Optional. Requested page size of the report. The server may return fewer
+     * results than requested. If you don't specify a page size, the server uses a
+     * sensible default (may change over time).
      * The maximum value is 30,000; the server will change larger values to
      * 30,000.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -723,44 +670,38 @@ public int getPageSize() { return pageSize_; } /** - * - * *
-     * Optional. Requested page size of the report. The server may return fewer results than
-     * requested. If you don't specify a page size, the server uses a sensible
-     * default (may change over time).
+     * Optional. Requested page size of the report. The server may return fewer
+     * results than requested. If you don't specify a page size, the server uses a
+     * sensible default (may change over time).
      * The maximum value is 30,000; the server will change larger values to
      * 30,000.
      * 
* * int32 page_size = 2 [(.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. Requested page size of the report. The server may return fewer results than
-     * requested. If you don't specify a page size, the server uses a sensible
-     * default (may change over time).
+     * Optional. Requested page size of the report. The server may return fewer
+     * results than requested. If you don't specify a page size, the server uses a
+     * sensible default (may change over time).
      * The maximum value is 30,000; the server will change larger values to
      * 30,000.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -768,23 +709,23 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. A token that specifies a page of results beyond the first page.
      * Obtained through
-     * [FetchReportResultsResponse.next_page_token][google.cloud.channel.v1.FetchReportResultsResponse.next_page_token] of the previous
-     * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults] call.
+     * [FetchReportResultsResponse.next_page_token][google.cloud.channel.v1.FetchReportResultsResponse.next_page_token]
+     * of the previous
+     * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -793,24 +734,25 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. A token that specifies a page of results beyond the first page.
      * Obtained through
-     * [FetchReportResultsResponse.next_page_token][google.cloud.channel.v1.FetchReportResultsResponse.next_page_token] of the previous
-     * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults] call.
+     * [FetchReportResultsResponse.next_page_token][google.cloud.channel.v1.FetchReportResultsResponse.next_page_token]
+     * of the previous
+     * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -818,77 +760,76 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. A token that specifies a page of results beyond the first page.
      * Obtained through
-     * [FetchReportResultsResponse.next_page_token][google.cloud.channel.v1.FetchReportResultsResponse.next_page_token] of the previous
-     * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults] call.
+     * [FetchReportResultsResponse.next_page_token][google.cloud.channel.v1.FetchReportResultsResponse.next_page_token]
+     * of the previous
+     * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A token that specifies a page of results beyond the first page.
      * Obtained through
-     * [FetchReportResultsResponse.next_page_token][google.cloud.channel.v1.FetchReportResultsResponse.next_page_token] of the previous
-     * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults] call.
+     * [FetchReportResultsResponse.next_page_token][google.cloud.channel.v1.FetchReportResultsResponse.next_page_token]
+     * of the previous
+     * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Optional. A token that specifies a page of results beyond the first page.
      * Obtained through
-     * [FetchReportResultsResponse.next_page_token][google.cloud.channel.v1.FetchReportResultsResponse.next_page_token] of the previous
-     * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults] call.
+     * [FetchReportResultsResponse.next_page_token][google.cloud.channel.v1.FetchReportResultsResponse.next_page_token]
+     * of the previous
+     * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + 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); } @@ -898,12 +839,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.FetchReportResultsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.FetchReportResultsRequest) private static final com.google.cloud.channel.v1.FetchReportResultsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.FetchReportResultsRequest(); } @@ -912,27 +853,27 @@ public static com.google.cloud.channel.v1.FetchReportResultsRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchReportResultsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchReportResultsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -947,4 +888,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.channel.v1.FetchReportResultsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsRequestOrBuilder.java new file mode 100644 index 000000000000..835718ffe499 --- /dev/null +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsRequestOrBuilder.java @@ -0,0 +1,79 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/reports_service.proto + +package com.google.cloud.channel.v1; + +public interface FetchReportResultsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.FetchReportResultsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The report job created by
+   * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
+   * Report_job uses the format:
+   * accounts/{account_id}/reportJobs/{report_job_id}
+   * 
+ * + * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The reportJob. + */ + java.lang.String getReportJob(); + /** + *
+   * Required. The report job created by
+   * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
+   * Report_job uses the format:
+   * accounts/{account_id}/reportJobs/{report_job_id}
+   * 
+ * + * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for reportJob. + */ + com.google.protobuf.ByteString + getReportJobBytes(); + + /** + *
+   * Optional. Requested page size of the report. The server may return fewer
+   * results than requested. If you don't specify a page size, the server uses a
+   * sensible default (may change over time).
+   * The maximum value is 30,000; the server will change larger values to
+   * 30,000.
+   * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageSize. + */ + int getPageSize(); + + /** + *
+   * Optional. A token that specifies a page of results beyond the first page.
+   * Obtained through
+   * [FetchReportResultsResponse.next_page_token][google.cloud.channel.v1.FetchReportResultsResponse.next_page_token]
+   * of the previous
+   * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults]
+   * call.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageToken. + */ + java.lang.String getPageToken(); + /** + *
+   * Optional. A token that specifies a page of results beyond the first page.
+   * Obtained through
+   * [FetchReportResultsResponse.next_page_token][google.cloud.channel.v1.FetchReportResultsResponse.next_page_token]
+   * of the previous
+   * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults]
+   * call.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString + getPageTokenBytes(); +} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsResponse.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsResponse.java similarity index 70% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsResponse.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsResponse.java index 0358406a476a..e5ca60834efa 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsResponse.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsResponse.java @@ -1,43 +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/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Response message for [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults].
+ * Response message for
+ * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults].
  * Contains a tabular representation of the report results.
  * 
* * Protobuf type {@code google.cloud.channel.v1.FetchReportResultsResponse} */ -public final class FetchReportResultsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FetchReportResultsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.FetchReportResultsResponse) FetchReportResultsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FetchReportResultsResponse.newBuilder() to construct. private FetchReportResultsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FetchReportResultsResponse() { rows_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,42 +28,38 @@ private FetchReportResultsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FetchReportResultsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_FetchReportResultsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_FetchReportResultsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_FetchReportResultsResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_FetchReportResultsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.FetchReportResultsResponse.class, - com.google.cloud.channel.v1.FetchReportResultsResponse.Builder.class); + com.google.cloud.channel.v1.FetchReportResultsResponse.class, com.google.cloud.channel.v1.FetchReportResultsResponse.Builder.class); } public static final int REPORT_METADATA_FIELD_NUMBER = 1; private com.google.cloud.channel.v1.ReportResultsMetadata reportMetadata_; /** - * - * *
    * The metadata for the report results (display name, columns, row count, and
    * date ranges).
    * 
* * .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 1; - * * @return Whether the reportMetadata field is set. */ @java.lang.Override @@ -88,26 +67,19 @@ public boolean hasReportMetadata() { return reportMetadata_ != null; } /** - * - * *
    * The metadata for the report results (display name, columns, row count, and
    * date ranges).
    * 
* * .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 1; - * * @return The reportMetadata. */ @java.lang.Override public com.google.cloud.channel.v1.ReportResultsMetadata getReportMetadata() { - return reportMetadata_ == null - ? com.google.cloud.channel.v1.ReportResultsMetadata.getDefaultInstance() - : reportMetadata_; + return reportMetadata_ == null ? com.google.cloud.channel.v1.ReportResultsMetadata.getDefaultInstance() : reportMetadata_; } /** - * - * *
    * The metadata for the report results (display name, columns, row count, and
    * date ranges).
@@ -123,8 +95,6 @@ public com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder getReportMetad
   public static final int ROWS_FIELD_NUMBER = 2;
   private java.util.List rows_;
   /**
-   *
-   *
    * 
    * The report's lists of values. Each row follows the settings and ordering
    * of the columns from `report_metadata`.
@@ -137,8 +107,6 @@ public java.util.List getRowsList() {
     return rows_;
   }
   /**
-   *
-   *
    * 
    * The report's lists of values. Each row follows the settings and ordering
    * of the columns from `report_metadata`.
@@ -147,12 +115,11 @@ public java.util.List getRowsList() {
    * repeated .google.cloud.channel.v1.Row rows = 2;
    */
   @java.lang.Override
-  public java.util.List getRowsOrBuilderList() {
+  public java.util.List 
+      getRowsOrBuilderList() {
     return rows_;
   }
   /**
-   *
-   *
    * 
    * The report's lists of values. Each row follows the settings and ordering
    * of the columns from `report_metadata`.
@@ -165,8 +132,6 @@ public int getRowsCount() {
     return rows_.size();
   }
   /**
-   *
-   *
    * 
    * The report's lists of values. Each row follows the settings and ordering
    * of the columns from `report_metadata`.
@@ -179,8 +144,6 @@ public com.google.cloud.channel.v1.Row getRows(int index) {
     return rows_.get(index);
   }
   /**
-   *
-   *
    * 
    * The report's lists of values. Each row follows the settings and ordering
    * of the columns from `report_metadata`.
@@ -189,22 +152,21 @@ public com.google.cloud.channel.v1.Row getRows(int index) {
    * repeated .google.cloud.channel.v1.Row rows = 2;
    */
   @java.lang.Override
-  public com.google.cloud.channel.v1.RowOrBuilder getRowsOrBuilder(int index) {
+  public com.google.cloud.channel.v1.RowOrBuilder getRowsOrBuilder(
+      int index) {
     return rows_.get(index);
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3;
   private volatile java.lang.Object nextPageToken_;
   /**
-   *
-   *
    * 
-   * Pass this token to [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token] to retrieve
-   * the next page of results.
+   * Pass this token to
+   * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
+   * to retrieve the next page of results.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ @java.lang.Override @@ -213,30 +175,31 @@ 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; } } /** - * - * *
-   * Pass this token to [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token] to retrieve
-   * the next page of results.
+   * Pass this token to
+   * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
+   * to retrieve the next page of results.
    * 
* * string next_page_token = 3; - * * @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 { @@ -245,7 +208,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (reportMetadata_ != null) { output.writeMessage(1, getReportMetadata()); } @@ -277,10 +240,12 @@ public int getSerializedSize() { size = 0; if (reportMetadata_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReportMetadata()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getReportMetadata()); } for (int i = 0; i < rows_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, rows_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, rows_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); @@ -293,20 +258,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.cloud.channel.v1.FetchReportResultsResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.FetchReportResultsResponse other = - (com.google.cloud.channel.v1.FetchReportResultsResponse) obj; + com.google.cloud.channel.v1.FetchReportResultsResponse other = (com.google.cloud.channel.v1.FetchReportResultsResponse) obj; if (hasReportMetadata() != other.hasReportMetadata()) return false; if (hasReportMetadata()) { - if (!getReportMetadata().equals(other.getReportMetadata())) return false; + if (!getReportMetadata() + .equals(other.getReportMetadata())) return false; } - if (!getRowsList().equals(other.getRowsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getRowsList() + .equals(other.getRowsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -334,137 +301,131 @@ public int hashCode() { } public static com.google.cloud.channel.v1.FetchReportResultsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.FetchReportResultsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.FetchReportResultsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.FetchReportResultsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.FetchReportResultsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.FetchReportResultsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.FetchReportResultsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.FetchReportResultsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.FetchReportResultsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.FetchReportResultsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.FetchReportResultsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.FetchReportResultsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.FetchReportResultsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.FetchReportResultsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.FetchReportResultsResponse prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.FetchReportResultsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults].
+   * Response message for
+   * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults].
    * Contains a tabular representation of the report results.
    * 
* * Protobuf type {@code google.cloud.channel.v1.FetchReportResultsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.FetchReportResultsResponse) com.google.cloud.channel.v1.FetchReportResultsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_FetchReportResultsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_FetchReportResultsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_FetchReportResultsResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_FetchReportResultsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.FetchReportResultsResponse.class, - com.google.cloud.channel.v1.FetchReportResultsResponse.Builder.class); + com.google.cloud.channel.v1.FetchReportResultsResponse.class, com.google.cloud.channel.v1.FetchReportResultsResponse.Builder.class); } // Construct using com.google.cloud.channel.v1.FetchReportResultsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -487,9 +448,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_FetchReportResultsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_FetchReportResultsResponse_descriptor; } @java.lang.Override @@ -508,8 +469,7 @@ public com.google.cloud.channel.v1.FetchReportResultsResponse build() { @java.lang.Override public com.google.cloud.channel.v1.FetchReportResultsResponse buildPartial() { - com.google.cloud.channel.v1.FetchReportResultsResponse result = - new com.google.cloud.channel.v1.FetchReportResultsResponse(this); + com.google.cloud.channel.v1.FetchReportResultsResponse result = new com.google.cloud.channel.v1.FetchReportResultsResponse(this); int from_bitField0_ = bitField0_; if (reportMetadataBuilder_ == null) { result.reportMetadata_ = reportMetadata_; @@ -534,39 +494,38 @@ public com.google.cloud.channel.v1.FetchReportResultsResponse 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.cloud.channel.v1.FetchReportResultsResponse) { - return mergeFrom((com.google.cloud.channel.v1.FetchReportResultsResponse) other); + return mergeFrom((com.google.cloud.channel.v1.FetchReportResultsResponse)other); } else { super.mergeFrom(other); return this; @@ -574,8 +533,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.FetchReportResultsResponse other) { - if (other == com.google.cloud.channel.v1.FetchReportResultsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.FetchReportResultsResponse.getDefaultInstance()) return this; if (other.hasReportMetadata()) { mergeReportMetadata(other.getReportMetadata()); } @@ -597,10 +555,9 @@ public Builder mergeFrom(com.google.cloud.channel.v1.FetchReportResultsResponse rowsBuilder_ = null; rows_ = other.rows_; bitField0_ = (bitField0_ & ~0x00000001); - rowsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRowsFieldBuilder() - : null; + rowsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRowsFieldBuilder() : null; } else { rowsBuilder_.addAllMessages(other.rows_); } @@ -636,37 +593,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getReportMetadataFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getReportMetadataFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - case 18: - { - com.google.cloud.channel.v1.Row m = - input.readMessage(com.google.cloud.channel.v1.Row.parser(), extensionRegistry); - if (rowsBuilder_ == null) { - ensureRowsIsMutable(); - rows_.add(m); - } else { - rowsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: - { - nextPageToken_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + com.google.cloud.channel.v1.Row m = + input.readMessage( + com.google.cloud.channel.v1.Row.parser(), + extensionRegistry); + if (rowsBuilder_ == null) { + ensureRowsIsMutable(); + rows_.add(m); + } else { + rowsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -676,54 +633,40 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.channel.v1.ReportResultsMetadata reportMetadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ReportResultsMetadata, - com.google.cloud.channel.v1.ReportResultsMetadata.Builder, - com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder> - reportMetadataBuilder_; + com.google.cloud.channel.v1.ReportResultsMetadata, com.google.cloud.channel.v1.ReportResultsMetadata.Builder, com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder> reportMetadataBuilder_; /** - * - * *
      * The metadata for the report results (display name, columns, row count, and
      * date ranges).
      * 
* * .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 1; - * * @return Whether the reportMetadata field is set. */ public boolean hasReportMetadata() { return reportMetadataBuilder_ != null || reportMetadata_ != null; } /** - * - * *
      * The metadata for the report results (display name, columns, row count, and
      * date ranges).
      * 
* * .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 1; - * * @return The reportMetadata. */ public com.google.cloud.channel.v1.ReportResultsMetadata getReportMetadata() { if (reportMetadataBuilder_ == null) { - return reportMetadata_ == null - ? com.google.cloud.channel.v1.ReportResultsMetadata.getDefaultInstance() - : reportMetadata_; + return reportMetadata_ == null ? com.google.cloud.channel.v1.ReportResultsMetadata.getDefaultInstance() : reportMetadata_; } else { return reportMetadataBuilder_.getMessage(); } } /** - * - * *
      * The metadata for the report results (display name, columns, row count, and
      * date ranges).
@@ -745,8 +688,6 @@ public Builder setReportMetadata(com.google.cloud.channel.v1.ReportResultsMetada
       return this;
     }
     /**
-     *
-     *
      * 
      * The metadata for the report results (display name, columns, row count, and
      * date ranges).
@@ -766,8 +707,6 @@ public Builder setReportMetadata(
       return this;
     }
     /**
-     *
-     *
      * 
      * The metadata for the report results (display name, columns, row count, and
      * date ranges).
@@ -779,9 +718,7 @@ public Builder mergeReportMetadata(com.google.cloud.channel.v1.ReportResultsMeta
       if (reportMetadataBuilder_ == null) {
         if (reportMetadata_ != null) {
           reportMetadata_ =
-              com.google.cloud.channel.v1.ReportResultsMetadata.newBuilder(reportMetadata_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.channel.v1.ReportResultsMetadata.newBuilder(reportMetadata_).mergeFrom(value).buildPartial();
         } else {
           reportMetadata_ = value;
         }
@@ -793,8 +730,6 @@ public Builder mergeReportMetadata(com.google.cloud.channel.v1.ReportResultsMeta
       return this;
     }
     /**
-     *
-     *
      * 
      * The metadata for the report results (display name, columns, row count, and
      * date ranges).
@@ -814,8 +749,6 @@ public Builder clearReportMetadata() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The metadata for the report results (display name, columns, row count, and
      * date ranges).
@@ -824,13 +757,11 @@ public Builder clearReportMetadata() {
      * .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 1;
      */
     public com.google.cloud.channel.v1.ReportResultsMetadata.Builder getReportMetadataBuilder() {
-
+      
       onChanged();
       return getReportMetadataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The metadata for the report results (display name, columns, row count, and
      * date ranges).
@@ -842,14 +773,11 @@ public com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder getReportMetad
       if (reportMetadataBuilder_ != null) {
         return reportMetadataBuilder_.getMessageOrBuilder();
       } else {
-        return reportMetadata_ == null
-            ? com.google.cloud.channel.v1.ReportResultsMetadata.getDefaultInstance()
-            : reportMetadata_;
+        return reportMetadata_ == null ?
+            com.google.cloud.channel.v1.ReportResultsMetadata.getDefaultInstance() : reportMetadata_;
       }
     }
     /**
-     *
-     *
      * 
      * The metadata for the report results (display name, columns, row count, and
      * date ranges).
@@ -858,41 +786,32 @@ public com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder getReportMetad
      * .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.channel.v1.ReportResultsMetadata,
-            com.google.cloud.channel.v1.ReportResultsMetadata.Builder,
-            com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder>
+        com.google.cloud.channel.v1.ReportResultsMetadata, com.google.cloud.channel.v1.ReportResultsMetadata.Builder, com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder> 
         getReportMetadataFieldBuilder() {
       if (reportMetadataBuilder_ == null) {
-        reportMetadataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.channel.v1.ReportResultsMetadata,
-                com.google.cloud.channel.v1.ReportResultsMetadata.Builder,
-                com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder>(
-                getReportMetadata(), getParentForChildren(), isClean());
+        reportMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.channel.v1.ReportResultsMetadata, com.google.cloud.channel.v1.ReportResultsMetadata.Builder, com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder>(
+                getReportMetadata(),
+                getParentForChildren(),
+                isClean());
         reportMetadata_ = null;
       }
       return reportMetadataBuilder_;
     }
 
     private java.util.List rows_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureRowsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         rows_ = new java.util.ArrayList(rows_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.channel.v1.Row,
-            com.google.cloud.channel.v1.Row.Builder,
-            com.google.cloud.channel.v1.RowOrBuilder>
-        rowsBuilder_;
+        com.google.cloud.channel.v1.Row, com.google.cloud.channel.v1.Row.Builder, com.google.cloud.channel.v1.RowOrBuilder> rowsBuilder_;
 
     /**
-     *
-     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -908,8 +827,6 @@ public java.util.List getRowsList() {
       }
     }
     /**
-     *
-     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -925,8 +842,6 @@ public int getRowsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -942,8 +857,6 @@ public com.google.cloud.channel.v1.Row getRows(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -951,7 +864,8 @@ public com.google.cloud.channel.v1.Row getRows(int index) {
      *
      * repeated .google.cloud.channel.v1.Row rows = 2;
      */
-    public Builder setRows(int index, com.google.cloud.channel.v1.Row value) {
+    public Builder setRows(
+        int index, com.google.cloud.channel.v1.Row value) {
       if (rowsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -965,8 +879,6 @@ public Builder setRows(int index, com.google.cloud.channel.v1.Row value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -974,7 +886,8 @@ public Builder setRows(int index, com.google.cloud.channel.v1.Row value) {
      *
      * repeated .google.cloud.channel.v1.Row rows = 2;
      */
-    public Builder setRows(int index, com.google.cloud.channel.v1.Row.Builder builderForValue) {
+    public Builder setRows(
+        int index, com.google.cloud.channel.v1.Row.Builder builderForValue) {
       if (rowsBuilder_ == null) {
         ensureRowsIsMutable();
         rows_.set(index, builderForValue.build());
@@ -985,8 +898,6 @@ public Builder setRows(int index, com.google.cloud.channel.v1.Row.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -1008,8 +919,6 @@ public Builder addRows(com.google.cloud.channel.v1.Row value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -1017,7 +926,8 @@ public Builder addRows(com.google.cloud.channel.v1.Row value) {
      *
      * repeated .google.cloud.channel.v1.Row rows = 2;
      */
-    public Builder addRows(int index, com.google.cloud.channel.v1.Row value) {
+    public Builder addRows(
+        int index, com.google.cloud.channel.v1.Row value) {
       if (rowsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1031,8 +941,6 @@ public Builder addRows(int index, com.google.cloud.channel.v1.Row value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -1040,7 +948,8 @@ public Builder addRows(int index, com.google.cloud.channel.v1.Row value) {
      *
      * repeated .google.cloud.channel.v1.Row rows = 2;
      */
-    public Builder addRows(com.google.cloud.channel.v1.Row.Builder builderForValue) {
+    public Builder addRows(
+        com.google.cloud.channel.v1.Row.Builder builderForValue) {
       if (rowsBuilder_ == null) {
         ensureRowsIsMutable();
         rows_.add(builderForValue.build());
@@ -1051,8 +960,6 @@ public Builder addRows(com.google.cloud.channel.v1.Row.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -1060,7 +967,8 @@ public Builder addRows(com.google.cloud.channel.v1.Row.Builder builderForValue)
      *
      * repeated .google.cloud.channel.v1.Row rows = 2;
      */
-    public Builder addRows(int index, com.google.cloud.channel.v1.Row.Builder builderForValue) {
+    public Builder addRows(
+        int index, com.google.cloud.channel.v1.Row.Builder builderForValue) {
       if (rowsBuilder_ == null) {
         ensureRowsIsMutable();
         rows_.add(index, builderForValue.build());
@@ -1071,8 +979,6 @@ public Builder addRows(int index, com.google.cloud.channel.v1.Row.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -1084,7 +990,8 @@ public Builder addAllRows(
         java.lang.Iterable values) {
       if (rowsBuilder_ == null) {
         ensureRowsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rows_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, rows_);
         onChanged();
       } else {
         rowsBuilder_.addAllMessages(values);
@@ -1092,8 +999,6 @@ public Builder addAllRows(
       return this;
     }
     /**
-     *
-     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -1112,8 +1017,6 @@ public Builder clearRows() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -1132,8 +1035,6 @@ public Builder removeRows(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -1141,12 +1042,11 @@ public Builder removeRows(int index) {
      *
      * repeated .google.cloud.channel.v1.Row rows = 2;
      */
-    public com.google.cloud.channel.v1.Row.Builder getRowsBuilder(int index) {
+    public com.google.cloud.channel.v1.Row.Builder getRowsBuilder(
+        int index) {
       return getRowsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -1154,16 +1054,14 @@ public com.google.cloud.channel.v1.Row.Builder getRowsBuilder(int index) {
      *
      * repeated .google.cloud.channel.v1.Row rows = 2;
      */
-    public com.google.cloud.channel.v1.RowOrBuilder getRowsOrBuilder(int index) {
+    public com.google.cloud.channel.v1.RowOrBuilder getRowsOrBuilder(
+        int index) {
       if (rowsBuilder_ == null) {
-        return rows_.get(index);
-      } else {
+        return rows_.get(index);  } else {
         return rowsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -1171,8 +1069,8 @@ public com.google.cloud.channel.v1.RowOrBuilder getRowsOrBuilder(int index) {
      *
      * repeated .google.cloud.channel.v1.Row rows = 2;
      */
-    public java.util.List
-        getRowsOrBuilderList() {
+    public java.util.List 
+         getRowsOrBuilderList() {
       if (rowsBuilder_ != null) {
         return rowsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1180,8 +1078,6 @@ public com.google.cloud.channel.v1.RowOrBuilder getRowsOrBuilder(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -1190,11 +1086,10 @@ public com.google.cloud.channel.v1.RowOrBuilder getRowsOrBuilder(int index) {
      * repeated .google.cloud.channel.v1.Row rows = 2;
      */
     public com.google.cloud.channel.v1.Row.Builder addRowsBuilder() {
-      return getRowsFieldBuilder().addBuilder(com.google.cloud.channel.v1.Row.getDefaultInstance());
+      return getRowsFieldBuilder().addBuilder(
+          com.google.cloud.channel.v1.Row.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -1202,13 +1097,12 @@ public com.google.cloud.channel.v1.Row.Builder addRowsBuilder() {
      *
      * repeated .google.cloud.channel.v1.Row rows = 2;
      */
-    public com.google.cloud.channel.v1.Row.Builder addRowsBuilder(int index) {
-      return getRowsFieldBuilder()
-          .addBuilder(index, com.google.cloud.channel.v1.Row.getDefaultInstance());
+    public com.google.cloud.channel.v1.Row.Builder addRowsBuilder(
+        int index) {
+      return getRowsFieldBuilder().addBuilder(
+          index, com.google.cloud.channel.v1.Row.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -1216,22 +1110,20 @@ public com.google.cloud.channel.v1.Row.Builder addRowsBuilder(int index) {
      *
      * repeated .google.cloud.channel.v1.Row rows = 2;
      */
-    public java.util.List getRowsBuilderList() {
+    public java.util.List 
+         getRowsBuilderList() {
       return getRowsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.channel.v1.Row,
-            com.google.cloud.channel.v1.Row.Builder,
-            com.google.cloud.channel.v1.RowOrBuilder>
+        com.google.cloud.channel.v1.Row, com.google.cloud.channel.v1.Row.Builder, com.google.cloud.channel.v1.RowOrBuilder> 
         getRowsFieldBuilder() {
       if (rowsBuilder_ == null) {
-        rowsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.channel.v1.Row,
-                com.google.cloud.channel.v1.Row.Builder,
-                com.google.cloud.channel.v1.RowOrBuilder>(
-                rows_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        rowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.channel.v1.Row, com.google.cloud.channel.v1.Row.Builder, com.google.cloud.channel.v1.RowOrBuilder>(
+                rows_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         rows_ = null;
       }
       return rowsBuilder_;
@@ -1239,21 +1131,20 @@ public java.util.List getRowsBuilderLis
 
     private java.lang.Object nextPageToken_ = "";
     /**
-     *
-     *
      * 
-     * Pass this token to [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token] to retrieve
-     * the next page of results.
+     * Pass this token to
+     * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
+     * to retrieve the next page of results.
      * 
* * string next_page_token = 3; - * * @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; @@ -1262,22 +1153,22 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
-     * Pass this token to [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token] to retrieve
-     * the next page of results.
+     * Pass this token to
+     * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
+     * to retrieve the next page of results.
      * 
* * string next_page_token = 3; - * * @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 { @@ -1285,71 +1176,67 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
-     * Pass this token to [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token] to retrieve
-     * the next page of results.
+     * Pass this token to
+     * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
+     * to retrieve the next page of results.
      * 
* * string next_page_token = 3; - * * @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; } /** - * - * *
-     * Pass this token to [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token] to retrieve
-     * the next page of results.
+     * Pass this token to
+     * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
+     * to retrieve the next page of results.
      * 
* * string next_page_token = 3; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
-     * Pass this token to [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token] to retrieve
-     * the next page of results.
+     * Pass this token to
+     * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
+     * to retrieve the next page of results.
      * 
* * string next_page_token = 3; - * * @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); } @@ -1359,12 +1246,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.FetchReportResultsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.FetchReportResultsResponse) private static final com.google.cloud.channel.v1.FetchReportResultsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.FetchReportResultsResponse(); } @@ -1373,27 +1260,27 @@ public static com.google.cloud.channel.v1.FetchReportResultsResponse getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchReportResultsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchReportResultsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1408,4 +1295,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.channel.v1.FetchReportResultsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsResponseOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsResponseOrBuilder.java similarity index 67% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsResponseOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsResponseOrBuilder.java index ab720e58e48b..62218a14a713 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsResponseOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsResponseOrBuilder.java @@ -1,57 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; -public interface FetchReportResultsResponseOrBuilder - extends +public interface FetchReportResultsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.FetchReportResultsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The metadata for the report results (display name, columns, row count, and
    * date ranges).
    * 
* * .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 1; - * * @return Whether the reportMetadata field is set. */ boolean hasReportMetadata(); /** - * - * *
    * The metadata for the report results (display name, columns, row count, and
    * date ranges).
    * 
* * .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 1; - * * @return The reportMetadata. */ com.google.cloud.channel.v1.ReportResultsMetadata getReportMetadata(); /** - * - * *
    * The metadata for the report results (display name, columns, row count, and
    * date ranges).
@@ -62,8 +38,6 @@ public interface FetchReportResultsResponseOrBuilder
   com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder getReportMetadataOrBuilder();
 
   /**
-   *
-   *
    * 
    * The report's lists of values. Each row follows the settings and ordering
    * of the columns from `report_metadata`.
@@ -71,10 +45,9 @@ public interface FetchReportResultsResponseOrBuilder
    *
    * repeated .google.cloud.channel.v1.Row rows = 2;
    */
-  java.util.List getRowsList();
+  java.util.List 
+      getRowsList();
   /**
-   *
-   *
    * 
    * The report's lists of values. Each row follows the settings and ordering
    * of the columns from `report_metadata`.
@@ -84,8 +57,6 @@ public interface FetchReportResultsResponseOrBuilder
    */
   com.google.cloud.channel.v1.Row getRows(int index);
   /**
-   *
-   *
    * 
    * The report's lists of values. Each row follows the settings and ordering
    * of the columns from `report_metadata`.
@@ -95,8 +66,6 @@ public interface FetchReportResultsResponseOrBuilder
    */
   int getRowsCount();
   /**
-   *
-   *
    * 
    * The report's lists of values. Each row follows the settings and ordering
    * of the columns from `report_metadata`.
@@ -104,10 +73,9 @@ public interface FetchReportResultsResponseOrBuilder
    *
    * repeated .google.cloud.channel.v1.Row rows = 2;
    */
-  java.util.List getRowsOrBuilderList();
+  java.util.List 
+      getRowsOrBuilderList();
   /**
-   *
-   *
    * 
    * The report's lists of values. Each row follows the settings and ordering
    * of the columns from `report_metadata`.
@@ -115,32 +83,30 @@ public interface FetchReportResultsResponseOrBuilder
    *
    * repeated .google.cloud.channel.v1.Row rows = 2;
    */
-  com.google.cloud.channel.v1.RowOrBuilder getRowsOrBuilder(int index);
+  com.google.cloud.channel.v1.RowOrBuilder getRowsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
-   * Pass this token to [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token] to retrieve
-   * the next page of results.
+   * Pass this token to
+   * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
+   * to retrieve the next page of results.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
-   * Pass this token to [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token] to retrieve
-   * the next page of results.
+   * Pass this token to
+   * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
+   * to retrieve the next page of results.
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequest.java similarity index 64% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequest.java index 8d1471e31097..d936276e3759 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequest.java @@ -1,42 +1,25 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Request message for [CloudChannelService.GetChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.GetChannelPartnerLink].
+ * Request message for
+ * [CloudChannelService.GetChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.GetChannelPartnerLink].
  * 
* * Protobuf type {@code google.cloud.channel.v1.GetChannelPartnerLinkRequest} */ -public final class GetChannelPartnerLinkRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetChannelPartnerLinkRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.GetChannelPartnerLinkRequest) GetChannelPartnerLinkRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetChannelPartnerLinkRequest.newBuilder() to construct. private GetChannelPartnerLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetChannelPartnerLinkRequest() { name_ = ""; view_ = 0; @@ -44,35 +27,32 @@ private GetChannelPartnerLinkRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetChannelPartnerLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.GetChannelPartnerLinkRequest.class, - com.google.cloud.channel.v1.GetChannelPartnerLinkRequest.Builder.class); + com.google.cloud.channel.v1.GetChannelPartnerLinkRequest.class, com.google.cloud.channel.v1.GetChannelPartnerLinkRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the channel partner link to retrieve.
    * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -80,7 +60,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -89,15 +68,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the channel partner link to retrieve.
    * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -105,15 +83,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -124,47 +103,31 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** - * - * *
    * Optional. The level of granularity the ChannelPartnerLink will display.
    * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * Optional. The level of granularity the ChannelPartnerLink will display.
    * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ - @java.lang.Override - public com.google.cloud.channel.v1.ChannelPartnerLinkView getView() { + @java.lang.Override public com.google.cloud.channel.v1.ChannelPartnerLinkView getView() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.ChannelPartnerLinkView result = - com.google.cloud.channel.v1.ChannelPartnerLinkView.valueOf(view_); - return result == null - ? com.google.cloud.channel.v1.ChannelPartnerLinkView.UNRECOGNIZED - : result; + com.google.cloud.channel.v1.ChannelPartnerLinkView result = com.google.cloud.channel.v1.ChannelPartnerLinkView.valueOf(view_); + return result == null ? com.google.cloud.channel.v1.ChannelPartnerLinkView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -176,7 +139,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -196,7 +160,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (view_ != com.google.cloud.channel.v1.ChannelPartnerLinkView.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -206,15 +171,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.GetChannelPartnerLinkRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.GetChannelPartnerLinkRequest other = - (com.google.cloud.channel.v1.GetChannelPartnerLinkRequest) obj; + com.google.cloud.channel.v1.GetChannelPartnerLinkRequest other = (com.google.cloud.channel.v1.GetChannelPartnerLinkRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -237,136 +202,130 @@ public int hashCode() { } public static com.google.cloud.channel.v1.GetChannelPartnerLinkRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.GetChannelPartnerLinkRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.GetChannelPartnerLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.GetChannelPartnerLinkRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.GetChannelPartnerLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.GetChannelPartnerLinkRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.GetChannelPartnerLinkRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.GetChannelPartnerLinkRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.GetChannelPartnerLinkRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.GetChannelPartnerLinkRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.GetChannelPartnerLinkRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.GetChannelPartnerLinkRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.GetChannelPartnerLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.GetChannelPartnerLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.GetChannelPartnerLinkRequest prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.GetChannelPartnerLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Request message for [CloudChannelService.GetChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.GetChannelPartnerLink].
+   * Request message for
+   * [CloudChannelService.GetChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.GetChannelPartnerLink].
    * 
* * Protobuf type {@code google.cloud.channel.v1.GetChannelPartnerLinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.GetChannelPartnerLinkRequest) com.google.cloud.channel.v1.GetChannelPartnerLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.GetChannelPartnerLinkRequest.class, - com.google.cloud.channel.v1.GetChannelPartnerLinkRequest.Builder.class); + com.google.cloud.channel.v1.GetChannelPartnerLinkRequest.class, com.google.cloud.channel.v1.GetChannelPartnerLinkRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.GetChannelPartnerLinkRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +337,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_descriptor; } @java.lang.Override @@ -399,8 +358,7 @@ public com.google.cloud.channel.v1.GetChannelPartnerLinkRequest build() { @java.lang.Override public com.google.cloud.channel.v1.GetChannelPartnerLinkRequest buildPartial() { - com.google.cloud.channel.v1.GetChannelPartnerLinkRequest result = - new com.google.cloud.channel.v1.GetChannelPartnerLinkRequest(this); + com.google.cloud.channel.v1.GetChannelPartnerLinkRequest result = new com.google.cloud.channel.v1.GetChannelPartnerLinkRequest(this); result.name_ = name_; result.view_ = view_; onBuilt(); @@ -411,39 +369,38 @@ public com.google.cloud.channel.v1.GetChannelPartnerLinkRequest 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.cloud.channel.v1.GetChannelPartnerLinkRequest) { - return mergeFrom((com.google.cloud.channel.v1.GetChannelPartnerLinkRequest) other); + return mergeFrom((com.google.cloud.channel.v1.GetChannelPartnerLinkRequest)other); } else { super.mergeFrom(other); return this; @@ -451,8 +408,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.GetChannelPartnerLinkRequest other) { - if (other == com.google.cloud.channel.v1.GetChannelPartnerLinkRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.GetChannelPartnerLinkRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -486,25 +442,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - view_ = input.readEnum(); - - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: { + view_ = input.readEnum(); + + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -517,8 +470,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the channel partner link to retrieve.
      * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -526,13 +477,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -541,8 +492,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the channel partner link to retrieve.
      * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -550,14 +499,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -565,8 +515,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the channel partner link to retrieve.
      * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -574,22 +522,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 channel partner link to retrieve.
      * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -597,18 +543,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the channel partner link to retrieve.
      * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -616,16 +559,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -633,75 +576,51 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * Optional. The level of granularity the ChannelPartnerLink will display.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * Optional. The level of granularity the ChannelPartnerLink will display.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The level of granularity the ChannelPartnerLink will display.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ @java.lang.Override public com.google.cloud.channel.v1.ChannelPartnerLinkView getView() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.ChannelPartnerLinkView result = - com.google.cloud.channel.v1.ChannelPartnerLinkView.valueOf(view_); - return result == null - ? com.google.cloud.channel.v1.ChannelPartnerLinkView.UNRECOGNIZED - : result; + com.google.cloud.channel.v1.ChannelPartnerLinkView result = com.google.cloud.channel.v1.ChannelPartnerLinkView.valueOf(view_); + return result == null ? com.google.cloud.channel.v1.ChannelPartnerLinkView.UNRECOGNIZED : result; } /** - * - * *
      * Optional. The level of granularity the ChannelPartnerLink will display.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The view to set. * @return This builder for chaining. */ @@ -709,33 +628,28 @@ public Builder setView(com.google.cloud.channel.v1.ChannelPartnerLinkView value) if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Optional. The level of granularity the ChannelPartnerLink will display.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearView() { - + view_ = 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); } @@ -745,12 +659,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.GetChannelPartnerLinkRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.GetChannelPartnerLinkRequest) private static final com.google.cloud.channel.v1.GetChannelPartnerLinkRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.GetChannelPartnerLinkRequest(); } @@ -759,27 +673,27 @@ public static com.google.cloud.channel.v1.GetChannelPartnerLinkRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetChannelPartnerLinkRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetChannelPartnerLinkRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -794,4 +708,6 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.channel.v1.GetChannelPartnerLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequestOrBuilder.java similarity index 58% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequestOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequestOrBuilder.java index a026f314a8f6..2eec289fc286 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequestOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequestOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface GetChannelPartnerLinkRequestOrBuilder - extends +public interface GetChannelPartnerLinkRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.GetChannelPartnerLinkRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the channel partner link to retrieve.
    * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -33,13 +15,10 @@ public interface GetChannelPartnerLinkRequestOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the channel partner link to retrieve.
    * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -47,36 +26,26 @@ public interface GetChannelPartnerLinkRequestOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. The level of granularity the ChannelPartnerLink will display.
    * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * Optional. The level of granularity the ChannelPartnerLink will display.
    * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ com.google.cloud.channel.v1.ChannelPartnerLinkView getView(); diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequest.java similarity index 57% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequest.java index 04ccb25a9b6b..c4aea5683d7c 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequest.java @@ -1,89 +1,64 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Request message for [CloudChannelService.GetChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.GetChannelPartnerRepricingConfig]
+ * Request message for
+ * [CloudChannelService.GetChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.GetChannelPartnerRepricingConfig]
  * 
* * Protobuf type {@code google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest} */ -public final class GetChannelPartnerRepricingConfigRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetChannelPartnerRepricingConfigRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest) GetChannelPartnerRepricingConfigRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetChannelPartnerRepricingConfigRequest.newBuilder() to construct. - private GetChannelPartnerRepricingConfigRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetChannelPartnerRepricingConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetChannelPartnerRepricingConfigRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetChannelPartnerRepricingConfigRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest.class, - com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest.Builder.class); + com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest.class, com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the ChannelPartnerRepricingConfig
    * Format:
    * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -92,33 +67,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the ChannelPartnerRepricingConfig
    * Format:
    * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,7 +100,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -163,15 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest other = - (com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest) obj; + com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest other = (com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -191,138 +164,130 @@ public int hashCode() { } public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Request message for [CloudChannelService.GetChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.GetChannelPartnerRepricingConfig]
+   * Request message for
+   * [CloudChannelService.GetChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.GetChannelPartnerRepricingConfig]
    * 
* * Protobuf type {@code google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest) com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest.class, - com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest.Builder.class); + com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest.class, com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest.Builder.class); } - // Construct using - // com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -332,16 +297,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_descriptor; } @java.lang.Override - public com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest - getDefaultInstanceForType() { - return com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest - .getDefaultInstance(); + public com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest getDefaultInstanceForType() { + return com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest.getDefaultInstance(); } @java.lang.Override @@ -355,8 +318,7 @@ public com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest build @java.lang.Override public com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest buildPartial() { - com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest result = - new com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest(this); + com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest result = new com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest(this); result.name_ = name_; onBuilt(); return result; @@ -366,51 +328,46 @@ public com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest 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.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest) { - return mergeFrom( - (com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest) other); + return mergeFrom((com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest other) { - if (other - == com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest other) { + if (other == com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -441,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -466,24 +421,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the ChannelPartnerRepricingConfig
      * Format:
      * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}.
      * 
* - * - * string name = 1 [(.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; @@ -492,25 +443,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the ChannelPartnerRepricingConfig
      * Format:
      * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -518,80 +466,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the ChannelPartnerRepricingConfig
      * Format:
      * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}.
      * 
* - * - * string name = 1 [(.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 ChannelPartnerRepricingConfig
      * Format:
      * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}.
      * 
* - * - * string 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 ChannelPartnerRepricingConfig
      * Format:
      * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}.
      * 
* - * - * string name = 1 [(.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); } @@ -601,43 +536,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest) - private static final com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest(); } - public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest - getDefaultInstance() { + public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetChannelPartnerRepricingConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetChannelPartnerRepricingConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -649,8 +582,9 @@ public com.google.protobuf.Parser getPa } @java.lang.Override - public com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest - getDefaultInstanceForType() { + public com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequestOrBuilder.java new file mode 100644 index 000000000000..b170d7653eeb --- /dev/null +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/service.proto + +package com.google.cloud.channel.v1; + +public interface GetChannelPartnerRepricingConfigRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the ChannelPartnerRepricingConfig
+   * Format:
+   * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}.
+   * 
+ * + * 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 ChannelPartnerRepricingConfig
+   * Format:
+   * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequest.java similarity index 60% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequest.java index 68b6ba37f4a4..7a3d52c14513 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequest.java @@ -1,88 +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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Request message for [CloudChannelService.GetCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.GetCustomerRepricingConfig].
+ * Request message for
+ * [CloudChannelService.GetCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.GetCustomerRepricingConfig].
  * 
* * Protobuf type {@code google.cloud.channel.v1.GetCustomerRepricingConfigRequest} */ -public final class GetCustomerRepricingConfigRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetCustomerRepricingConfigRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.GetCustomerRepricingConfigRequest) GetCustomerRepricingConfigRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetCustomerRepricingConfigRequest.newBuilder() to construct. - private GetCustomerRepricingConfigRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetCustomerRepricingConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetCustomerRepricingConfigRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetCustomerRepricingConfigRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest.class, - com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest.Builder.class); + com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest.class, com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the CustomerRepricingConfig.
    * Format:
    * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,33 +67,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the CustomerRepricingConfig.
    * Format:
    * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -126,7 +100,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -138,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -162,15 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest other = - (com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest) obj; + com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest other = (com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -190,136 +164,130 @@ public int hashCode() { } public static com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Request message for [CloudChannelService.GetCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.GetCustomerRepricingConfig].
+   * Request message for
+   * [CloudChannelService.GetCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.GetCustomerRepricingConfig].
    * 
* * Protobuf type {@code google.cloud.channel.v1.GetCustomerRepricingConfigRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.GetCustomerRepricingConfigRequest) com.google.cloud.channel.v1.GetCustomerRepricingConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest.class, - com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest.Builder.class); + com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest.class, com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -329,14 +297,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_descriptor; } @java.lang.Override - public com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest - getDefaultInstanceForType() { + public com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest getDefaultInstanceForType() { return com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest.getDefaultInstance(); } @@ -351,8 +318,7 @@ public com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest build() { @java.lang.Override public com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest buildPartial() { - com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest result = - new com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest(this); + com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest result = new com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest(this); result.name_ = name_; onBuilt(); return result; @@ -362,39 +328,38 @@ public com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest 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.cloud.channel.v1.GetCustomerRepricingConfigRequest) { - return mergeFrom((com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest) other); + return mergeFrom((com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest)other); } else { super.mergeFrom(other); return this; @@ -402,9 +367,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest other) { - if (other - == com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -460,24 +421,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the CustomerRepricingConfig.
      * Format:
      * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
      * 
* - * - * string name = 1 [(.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; @@ -486,25 +443,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the CustomerRepricingConfig.
      * Format:
      * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -512,80 +466,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the CustomerRepricingConfig.
      * Format:
      * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
      * 
* - * - * string name = 1 [(.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 CustomerRepricingConfig.
      * Format:
      * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
      * 
* - * - * string 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 CustomerRepricingConfig.
      * Format:
      * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
      * 
* - * - * string name = 1 [(.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); } @@ -595,13 +536,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.GetCustomerRepricingConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.GetCustomerRepricingConfigRequest) - private static final com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest(); } @@ -610,27 +550,27 @@ public static com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCustomerRepricingConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCustomerRepricingConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -645,4 +585,6 @@ public com.google.protobuf.Parser getParserFo public com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequestOrBuilder.java new file mode 100644 index 000000000000..44e5ca26711a --- /dev/null +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/service.proto + +package com.google.cloud.channel.v1; + +public interface GetCustomerRepricingConfigRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.GetCustomerRepricingConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the CustomerRepricingConfig.
+   * Format:
+   * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
+   * 
+ * + * 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 CustomerRepricingConfig.
+   * Format:
+   * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequest.java similarity index 62% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequest.java index 663dde3f99dc..d09d4dcd8b34 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequest.java @@ -1,86 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Request message for [CloudChannelService.GetCustomer][google.cloud.channel.v1.CloudChannelService.GetCustomer].
+ * Request message for
+ * [CloudChannelService.GetCustomer][google.cloud.channel.v1.CloudChannelService.GetCustomer].
  * 
* * Protobuf type {@code google.cloud.channel.v1.GetCustomerRequest} */ -public final class GetCustomerRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetCustomerRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.GetCustomerRequest) GetCustomerRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetCustomerRequest.newBuilder() to construct. private GetCustomerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetCustomerRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetCustomerRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_GetCustomerRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetCustomerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_GetCustomerRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetCustomerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.GetCustomerRequest.class, - com.google.cloud.channel.v1.GetCustomerRequest.Builder.class); + com.google.cloud.channel.v1.GetCustomerRequest.class, com.google.cloud.channel.v1.GetCustomerRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the customer to retrieve.
    * Name uses the format: accounts/{account_id}/customers/{customer_id}
    * 
* - * - * string name = 1 [(.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 @@ -89,32 +66,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the customer to retrieve.
    * Name uses the format: accounts/{account_id}/customers/{customer_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +134,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.GetCustomerRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.GetCustomerRequest other = - (com.google.cloud.channel.v1.GetCustomerRequest) obj; + com.google.cloud.channel.v1.GetCustomerRequest other = (com.google.cloud.channel.v1.GetCustomerRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -186,136 +161,131 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.GetCustomerRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.GetCustomerRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.GetCustomerRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.GetCustomerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.GetCustomerRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.GetCustomerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.GetCustomerRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.GetCustomerRequest 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.cloud.channel.v1.GetCustomerRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.GetCustomerRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.GetCustomerRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.GetCustomerRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.GetCustomerRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.GetCustomerRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.GetCustomerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Request message for [CloudChannelService.GetCustomer][google.cloud.channel.v1.CloudChannelService.GetCustomer].
+   * Request message for
+   * [CloudChannelService.GetCustomer][google.cloud.channel.v1.CloudChannelService.GetCustomer].
    * 
* * Protobuf type {@code google.cloud.channel.v1.GetCustomerRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.GetCustomerRequest) com.google.cloud.channel.v1.GetCustomerRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_GetCustomerRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetCustomerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_GetCustomerRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetCustomerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.GetCustomerRequest.class, - com.google.cloud.channel.v1.GetCustomerRequest.Builder.class); + com.google.cloud.channel.v1.GetCustomerRequest.class, com.google.cloud.channel.v1.GetCustomerRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.GetCustomerRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -325,9 +295,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_GetCustomerRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetCustomerRequest_descriptor; } @java.lang.Override @@ -346,8 +316,7 @@ public com.google.cloud.channel.v1.GetCustomerRequest build() { @java.lang.Override public com.google.cloud.channel.v1.GetCustomerRequest buildPartial() { - com.google.cloud.channel.v1.GetCustomerRequest result = - new com.google.cloud.channel.v1.GetCustomerRequest(this); + com.google.cloud.channel.v1.GetCustomerRequest result = new com.google.cloud.channel.v1.GetCustomerRequest(this); result.name_ = name_; onBuilt(); return result; @@ -357,39 +326,38 @@ public com.google.cloud.channel.v1.GetCustomerRequest 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.cloud.channel.v1.GetCustomerRequest) { - return mergeFrom((com.google.cloud.channel.v1.GetCustomerRequest) other); + return mergeFrom((com.google.cloud.channel.v1.GetCustomerRequest)other); } else { super.mergeFrom(other); return this; @@ -428,19 +396,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -453,23 +419,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the customer to retrieve.
      * Name uses the format: accounts/{account_id}/customers/{customer_id}
      * 
* - * - * string name = 1 [(.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; @@ -478,24 +440,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the customer to retrieve.
      * Name uses the format: accounts/{account_id}/customers/{customer_id}
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -503,77 +462,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the customer to retrieve.
      * Name uses the format: accounts/{account_id}/customers/{customer_id}
      * 
* - * - * string name = 1 [(.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 customer to retrieve.
      * Name uses the format: accounts/{account_id}/customers/{customer_id}
      * 
* - * - * string 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 customer to retrieve.
      * Name uses the format: accounts/{account_id}/customers/{customer_id}
      * 
* - * - * string name = 1 [(.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); } @@ -583,12 +529,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.GetCustomerRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.GetCustomerRequest) private static final com.google.cloud.channel.v1.GetCustomerRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.GetCustomerRequest(); } @@ -597,27 +543,27 @@ public static com.google.cloud.channel.v1.GetCustomerRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCustomerRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCustomerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -632,4 +578,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.GetCustomerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequestOrBuilder.java new file mode 100644 index 000000000000..cc717e8fc794 --- /dev/null +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/service.proto + +package com.google.cloud.channel.v1; + +public interface GetCustomerRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.GetCustomerRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the customer to retrieve.
+   * Name uses the format: accounts/{account_id}/customers/{customer_id}
+   * 
+ * + * 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 customer to retrieve.
+   * Name uses the format: accounts/{account_id}/customers/{customer_id}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequest.java similarity index 61% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequest.java index af6fb485f9aa..7b775a35a3fb 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequest.java @@ -1,87 +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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Request message for [CloudChannelService.GetEntitlement][google.cloud.channel.v1.CloudChannelService.GetEntitlement].
+ * Request message for
+ * [CloudChannelService.GetEntitlement][google.cloud.channel.v1.CloudChannelService.GetEntitlement].
  * 
* * Protobuf type {@code google.cloud.channel.v1.GetEntitlementRequest} */ -public final class GetEntitlementRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetEntitlementRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.GetEntitlementRequest) GetEntitlementRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetEntitlementRequest.newBuilder() to construct. private GetEntitlementRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetEntitlementRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetEntitlementRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_GetEntitlementRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetEntitlementRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_GetEntitlementRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetEntitlementRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.GetEntitlementRequest.class, - com.google.cloud.channel.v1.GetEntitlementRequest.Builder.class); + com.google.cloud.channel.v1.GetEntitlementRequest.class, com.google.cloud.channel.v1.GetEntitlementRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the entitlement to retrieve.
    * Name uses the format:
    * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,33 +67,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the entitlement to retrieve.
    * Name uses the format:
    * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +100,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -161,15 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.GetEntitlementRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.GetEntitlementRequest other = - (com.google.cloud.channel.v1.GetEntitlementRequest) obj; + com.google.cloud.channel.v1.GetEntitlementRequest other = (com.google.cloud.channel.v1.GetEntitlementRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -189,135 +164,130 @@ public int hashCode() { } public static com.google.cloud.channel.v1.GetEntitlementRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.GetEntitlementRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.GetEntitlementRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.GetEntitlementRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.GetEntitlementRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.GetEntitlementRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.GetEntitlementRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.GetEntitlementRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.GetEntitlementRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.GetEntitlementRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.GetEntitlementRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.GetEntitlementRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.GetEntitlementRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.GetEntitlementRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.GetEntitlementRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Request message for [CloudChannelService.GetEntitlement][google.cloud.channel.v1.CloudChannelService.GetEntitlement].
+   * Request message for
+   * [CloudChannelService.GetEntitlement][google.cloud.channel.v1.CloudChannelService.GetEntitlement].
    * 
* * Protobuf type {@code google.cloud.channel.v1.GetEntitlementRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.GetEntitlementRequest) com.google.cloud.channel.v1.GetEntitlementRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_GetEntitlementRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetEntitlementRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_GetEntitlementRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetEntitlementRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.GetEntitlementRequest.class, - com.google.cloud.channel.v1.GetEntitlementRequest.Builder.class); + com.google.cloud.channel.v1.GetEntitlementRequest.class, com.google.cloud.channel.v1.GetEntitlementRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.GetEntitlementRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -327,9 +297,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_GetEntitlementRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetEntitlementRequest_descriptor; } @java.lang.Override @@ -348,8 +318,7 @@ public com.google.cloud.channel.v1.GetEntitlementRequest build() { @java.lang.Override public com.google.cloud.channel.v1.GetEntitlementRequest buildPartial() { - com.google.cloud.channel.v1.GetEntitlementRequest result = - new com.google.cloud.channel.v1.GetEntitlementRequest(this); + com.google.cloud.channel.v1.GetEntitlementRequest result = new com.google.cloud.channel.v1.GetEntitlementRequest(this); result.name_ = name_; onBuilt(); return result; @@ -359,39 +328,38 @@ public com.google.cloud.channel.v1.GetEntitlementRequest 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.cloud.channel.v1.GetEntitlementRequest) { - return mergeFrom((com.google.cloud.channel.v1.GetEntitlementRequest) other); + return mergeFrom((com.google.cloud.channel.v1.GetEntitlementRequest)other); } else { super.mergeFrom(other); return this; @@ -399,8 +367,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.GetEntitlementRequest other) { - if (other == com.google.cloud.channel.v1.GetEntitlementRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.GetEntitlementRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -431,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -456,24 +421,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the entitlement to retrieve.
      * Name uses the format:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
      * 
* - * - * string name = 1 [(.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; @@ -482,25 +443,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the entitlement to retrieve.
      * Name uses the format:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -508,80 +466,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the entitlement to retrieve.
      * Name uses the format:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
      * 
* - * - * string name = 1 [(.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 entitlement to retrieve.
      * Name uses the format:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
      * 
* - * - * string 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 entitlement to retrieve.
      * Name uses the format:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
      * 
* - * - * string name = 1 [(.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); } @@ -591,12 +536,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.GetEntitlementRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.GetEntitlementRequest) private static final com.google.cloud.channel.v1.GetEntitlementRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.GetEntitlementRequest(); } @@ -605,27 +550,27 @@ public static com.google.cloud.channel.v1.GetEntitlementRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetEntitlementRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetEntitlementRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -640,4 +585,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.GetEntitlementRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequestOrBuilder.java new file mode 100644 index 000000000000..deac0b563779 --- /dev/null +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/service.proto + +package com.google.cloud.channel.v1; + +public interface GetEntitlementRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.GetEntitlementRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the entitlement to retrieve.
+   * Name uses the format:
+   * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
+   * 
+ * + * 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 entitlement to retrieve.
+   * Name uses the format:
+   * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequest.java similarity index 70% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequest.java index 77745ab44272..710399a0ac58 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequest.java @@ -1,42 +1,25 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Request message for [CloudChannelService.ImportCustomer][google.cloud.channel.v1.CloudChannelService.ImportCustomer]
+ * Request message for
+ * [CloudChannelService.ImportCustomer][google.cloud.channel.v1.CloudChannelService.ImportCustomer]
  * 
* * Protobuf type {@code google.cloud.channel.v1.ImportCustomerRequest} */ -public final class ImportCustomerRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportCustomerRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ImportCustomerRequest) ImportCustomerRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportCustomerRequest.newBuilder() to construct. private ImportCustomerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportCustomerRequest() { parent_ = ""; authToken_ = ""; @@ -46,42 +29,38 @@ private ImportCustomerRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportCustomerRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ImportCustomerRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ImportCustomerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ImportCustomerRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ImportCustomerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ImportCustomerRequest.class, - com.google.cloud.channel.v1.ImportCustomerRequest.Builder.class); + com.google.cloud.channel.v1.ImportCustomerRequest.class, com.google.cloud.channel.v1.ImportCustomerRequest.Builder.class); } private int customerIdentityCase_ = 0; private java.lang.Object customerIdentity_; - public enum CustomerIdentityCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DOMAIN(2), CLOUD_IDENTITY_ID(3), CUSTOMERIDENTITY_NOT_SET(0); private final int value; - private CustomerIdentityCase(int value) { this.value = value; } @@ -97,50 +76,41 @@ public static CustomerIdentityCase valueOf(int value) { public static CustomerIdentityCase forNumber(int value) { switch (value) { - case 2: - return DOMAIN; - case 3: - return CLOUD_IDENTITY_ID; - case 0: - return CUSTOMERIDENTITY_NOT_SET; - default: - return null; + case 2: return DOMAIN; + case 3: return CLOUD_IDENTITY_ID; + case 0: return CUSTOMERIDENTITY_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public CustomerIdentityCase getCustomerIdentityCase() { - return CustomerIdentityCase.forNumber(customerIdentityCase_); + public CustomerIdentityCase + getCustomerIdentityCase() { + return CustomerIdentityCase.forNumber( + customerIdentityCase_); } public static final int DOMAIN_FIELD_NUMBER = 2; /** - * - * *
    * Required. Customer domain.
    * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the domain field is set. */ public boolean hasDomain() { return customerIdentityCase_ == 2; } /** - * - * *
    * Required. Customer domain.
    * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The domain. */ public java.lang.String getDomain() { @@ -151,7 +121,8 @@ public java.lang.String getDomain() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (customerIdentityCase_ == 2) { customerIdentity_ = s; @@ -160,24 +131,23 @@ public java.lang.String getDomain() { } } /** - * - * *
    * Required. Customer domain.
    * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for domain. */ - public com.google.protobuf.ByteString getDomainBytes() { + public com.google.protobuf.ByteString + getDomainBytes() { java.lang.Object ref = ""; if (customerIdentityCase_ == 2) { ref = customerIdentity_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (customerIdentityCase_ == 2) { customerIdentity_ = b; } @@ -189,28 +159,22 @@ public com.google.protobuf.ByteString getDomainBytes() { public static final int CLOUD_IDENTITY_ID_FIELD_NUMBER = 3; /** - * - * *
    * Required. Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the cloudIdentityId field is set. */ public boolean hasCloudIdentityId() { return customerIdentityCase_ == 3; } /** - * - * *
    * Required. Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The cloudIdentityId. */ public java.lang.String getCloudIdentityId() { @@ -221,7 +185,8 @@ public java.lang.String getCloudIdentityId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (customerIdentityCase_ == 3) { customerIdentity_ = s; @@ -230,24 +195,23 @@ public java.lang.String getCloudIdentityId() { } } /** - * - * *
    * Required. Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for cloudIdentityId. */ - public com.google.protobuf.ByteString getCloudIdentityIdBytes() { + public com.google.protobuf.ByteString + getCloudIdentityIdBytes() { java.lang.Object ref = ""; if (customerIdentityCase_ == 3) { ref = customerIdentity_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (customerIdentityCase_ == 3) { customerIdentity_ = b; } @@ -260,8 +224,6 @@ public com.google.protobuf.ByteString getCloudIdentityIdBytes() { public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource name of the reseller's account.
    * Parent takes the format: accounts/{account_id} or
@@ -269,7 +231,6 @@ public com.google.protobuf.ByteString getCloudIdentityIdBytes() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -278,15 +239,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 reseller's account.
    * Parent takes the format: accounts/{account_id} or
@@ -294,15 +254,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -313,8 +274,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int AUTH_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object authToken_; /** - * - * *
    * Optional. The super admin of the resold customer generates this token to
    * authorize a reseller to access their Cloud Identity and purchase
@@ -323,7 +282,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string auth_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The authToken. */ @java.lang.Override @@ -332,15 +290,14 @@ public java.lang.String getAuthToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authToken_ = s; return s; } } /** - * - * *
    * Optional. The super admin of the resold customer generates this token to
    * authorize a reseller to access their Cloud Identity and purchase
@@ -349,15 +306,16 @@ public java.lang.String getAuthToken() {
    * 
* * string auth_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for authToken. */ @java.lang.Override - public com.google.protobuf.ByteString getAuthTokenBytes() { + public com.google.protobuf.ByteString + getAuthTokenBytes() { java.lang.Object ref = authToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); authToken_ = b; return b; } else { @@ -368,8 +326,6 @@ public com.google.protobuf.ByteString getAuthTokenBytes() { public static final int OVERWRITE_IF_EXISTS_FIELD_NUMBER = 5; private boolean overwriteIfExists_; /** - * - * *
    * Required. Choose to overwrite an existing customer if found.
    * This must be set to true if there is an existing customer with a
@@ -377,7 +333,6 @@ public com.google.protobuf.ByteString getAuthTokenBytes() {
    * 
* * bool overwrite_if_exists = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The overwriteIfExists. */ @java.lang.Override @@ -388,16 +343,14 @@ public boolean getOverwriteIfExists() { public static final int CHANNEL_PARTNER_ID_FIELD_NUMBER = 6; private volatile java.lang.Object channelPartnerId_; /** - * - * *
-   * Optional. Cloud Identity ID of a channel partner who will be the direct reseller for
-   * the customer's order. This field is required for 2-tier transfer scenarios
-   * and can be provided via the request Parent binding as well.
+   * Optional. Cloud Identity ID of a channel partner who will be the direct
+   * reseller for the customer's order. This field is required for 2-tier
+   * transfer scenarios and can be provided via the request Parent binding as
+   * well.
    * 
* * string channel_partner_id = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The channelPartnerId. */ @java.lang.Override @@ -406,31 +359,32 @@ public java.lang.String getChannelPartnerId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); channelPartnerId_ = s; return s; } } /** - * - * *
-   * Optional. Cloud Identity ID of a channel partner who will be the direct reseller for
-   * the customer's order. This field is required for 2-tier transfer scenarios
-   * and can be provided via the request Parent binding as well.
+   * Optional. Cloud Identity ID of a channel partner who will be the direct
+   * reseller for the customer's order. This field is required for 2-tier
+   * transfer scenarios and can be provided via the request Parent binding as
+   * well.
    * 
* * string channel_partner_id = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for channelPartnerId. */ @java.lang.Override - public com.google.protobuf.ByteString getChannelPartnerIdBytes() { + public com.google.protobuf.ByteString + getChannelPartnerIdBytes() { java.lang.Object ref = channelPartnerId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); channelPartnerId_ = b; return b; } else { @@ -441,18 +395,13 @@ public com.google.protobuf.ByteString getChannelPartnerIdBytes() { public static final int CUSTOMER_FIELD_NUMBER = 7; private volatile java.lang.Object customer_; /** - * - * *
    * Optional. Specifies the customer that will receive imported Cloud Identity
    * information.
    * Format: accounts/{account_id}/customers/{customer_id}
    * 
* - * - * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The customer. */ @java.lang.Override @@ -461,33 +410,31 @@ public java.lang.String getCustomer() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customer_ = s; return s; } } /** - * - * *
    * Optional. Specifies the customer that will receive imported Cloud Identity
    * information.
    * Format: accounts/{account_id}/customers/{customer_id}
    * 
* - * - * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The bytes for customer. */ @java.lang.Override - public com.google.protobuf.ByteString getCustomerBytes() { + public com.google.protobuf.ByteString + getCustomerBytes() { java.lang.Object ref = customer_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); customer_ = b; return b; } else { @@ -496,7 +443,6 @@ public com.google.protobuf.ByteString getCustomerBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -508,7 +454,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -552,7 +499,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, authToken_); } if (overwriteIfExists_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, overwriteIfExists_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, overwriteIfExists_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(channelPartnerId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, channelPartnerId_); @@ -568,26 +516,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.ImportCustomerRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ImportCustomerRequest other = - (com.google.cloud.channel.v1.ImportCustomerRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getAuthToken().equals(other.getAuthToken())) return false; - if (getOverwriteIfExists() != other.getOverwriteIfExists()) return false; - if (!getChannelPartnerId().equals(other.getChannelPartnerId())) return false; - if (!getCustomer().equals(other.getCustomer())) return false; + com.google.cloud.channel.v1.ImportCustomerRequest other = (com.google.cloud.channel.v1.ImportCustomerRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getAuthToken() + .equals(other.getAuthToken())) return false; + if (getOverwriteIfExists() + != other.getOverwriteIfExists()) return false; + if (!getChannelPartnerId() + .equals(other.getChannelPartnerId())) return false; + if (!getCustomer() + .equals(other.getCustomer())) return false; if (!getCustomerIdentityCase().equals(other.getCustomerIdentityCase())) return false; switch (customerIdentityCase_) { case 2: - if (!getDomain().equals(other.getDomain())) return false; + if (!getDomain() + .equals(other.getDomain())) return false; break; case 3: - if (!getCloudIdentityId().equals(other.getCloudIdentityId())) return false; + if (!getCloudIdentityId() + .equals(other.getCloudIdentityId())) return false; break; case 0: default: @@ -608,7 +562,8 @@ public int hashCode() { hash = (37 * hash) + AUTH_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getAuthToken().hashCode(); hash = (37 * hash) + OVERWRITE_IF_EXISTS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getOverwriteIfExists()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getOverwriteIfExists()); hash = (37 * hash) + CHANNEL_PARTNER_ID_FIELD_NUMBER; hash = (53 * hash) + getChannelPartnerId().hashCode(); hash = (37 * hash) + CUSTOMER_FIELD_NUMBER; @@ -631,135 +586,130 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ImportCustomerRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ImportCustomerRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ImportCustomerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ImportCustomerRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ImportCustomerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ImportCustomerRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ImportCustomerRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ImportCustomerRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ImportCustomerRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ImportCustomerRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ImportCustomerRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ImportCustomerRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ImportCustomerRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ImportCustomerRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ImportCustomerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Request message for [CloudChannelService.ImportCustomer][google.cloud.channel.v1.CloudChannelService.ImportCustomer]
+   * Request message for
+   * [CloudChannelService.ImportCustomer][google.cloud.channel.v1.CloudChannelService.ImportCustomer]
    * 
* * Protobuf type {@code google.cloud.channel.v1.ImportCustomerRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ImportCustomerRequest) com.google.cloud.channel.v1.ImportCustomerRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ImportCustomerRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ImportCustomerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ImportCustomerRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ImportCustomerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ImportCustomerRequest.class, - com.google.cloud.channel.v1.ImportCustomerRequest.Builder.class); + com.google.cloud.channel.v1.ImportCustomerRequest.class, com.google.cloud.channel.v1.ImportCustomerRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.ImportCustomerRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -779,9 +729,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ImportCustomerRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ImportCustomerRequest_descriptor; } @java.lang.Override @@ -800,8 +750,7 @@ public com.google.cloud.channel.v1.ImportCustomerRequest build() { @java.lang.Override public com.google.cloud.channel.v1.ImportCustomerRequest buildPartial() { - com.google.cloud.channel.v1.ImportCustomerRequest result = - new com.google.cloud.channel.v1.ImportCustomerRequest(this); + com.google.cloud.channel.v1.ImportCustomerRequest result = new com.google.cloud.channel.v1.ImportCustomerRequest(this); if (customerIdentityCase_ == 2) { result.customerIdentity_ = customerIdentity_; } @@ -822,39 +771,38 @@ public com.google.cloud.channel.v1.ImportCustomerRequest 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.cloud.channel.v1.ImportCustomerRequest) { - return mergeFrom((com.google.cloud.channel.v1.ImportCustomerRequest) other); + return mergeFrom((com.google.cloud.channel.v1.ImportCustomerRequest)other); } else { super.mergeFrom(other); return this; @@ -862,8 +810,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ImportCustomerRequest other) { - if (other == com.google.cloud.channel.v1.ImportCustomerRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.ImportCustomerRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -884,24 +831,21 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ImportCustomerRequest other onChanged(); } switch (other.getCustomerIdentityCase()) { - case DOMAIN: - { - customerIdentityCase_ = 2; - customerIdentity_ = other.customerIdentity_; - onChanged(); - break; - } - case CLOUD_IDENTITY_ID: - { - customerIdentityCase_ = 3; - customerIdentity_ = other.customerIdentity_; - onChanged(); - break; - } - case CUSTOMERIDENTITY_NOT_SET: - { - break; - } + case DOMAIN: { + customerIdentityCase_ = 2; + customerIdentity_ = other.customerIdentity_; + onChanged(); + break; + } + case CLOUD_IDENTITY_ID: { + customerIdentityCase_ = 3; + customerIdentity_ = other.customerIdentity_; + onChanged(); + break; + } + case CUSTOMERIDENTITY_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -929,57 +873,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - customerIdentityCase_ = 2; - customerIdentity_ = s; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - customerIdentityCase_ = 3; - customerIdentity_ = s; - break; - } // case 26 - case 34: - { - authToken_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 40: - { - overwriteIfExists_ = input.readBool(); - - break; - } // case 40 - case 50: - { - channelPartnerId_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 58: - { - customer_ = input.readStringRequireUtf8(); - - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + customerIdentityCase_ = 2; + customerIdentity_ = s; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + customerIdentityCase_ = 3; + customerIdentity_ = s; + break; + } // case 26 + case 34: { + authToken_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 40: { + overwriteIfExists_ = input.readBool(); + + break; + } // case 40 + case 50: { + channelPartnerId_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 58: { + customer_ = input.readStringRequireUtf8(); + + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -989,12 +925,12 @@ public Builder mergeFrom( } // finally return this; } - private int customerIdentityCase_ = 0; private java.lang.Object customerIdentity_; - - public CustomerIdentityCase getCustomerIdentityCase() { - return CustomerIdentityCase.forNumber(customerIdentityCase_); + public CustomerIdentityCase + getCustomerIdentityCase() { + return CustomerIdentityCase.forNumber( + customerIdentityCase_); } public Builder clearCustomerIdentity() { @@ -1004,15 +940,13 @@ public Builder clearCustomerIdentity() { return this; } + /** - * - * *
      * Required. Customer domain.
      * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the domain field is set. */ @java.lang.Override @@ -1020,14 +954,11 @@ public boolean hasDomain() { return customerIdentityCase_ == 2; } /** - * - * *
      * Required. Customer domain.
      * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The domain. */ @java.lang.Override @@ -1037,7 +968,8 @@ public java.lang.String getDomain() { ref = customerIdentity_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (customerIdentityCase_ == 2) { customerIdentity_ = s; @@ -1048,25 +980,24 @@ public java.lang.String getDomain() { } } /** - * - * *
      * Required. Customer domain.
      * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for domain. */ @java.lang.Override - public com.google.protobuf.ByteString getDomainBytes() { + public com.google.protobuf.ByteString + getDomainBytes() { java.lang.Object ref = ""; if (customerIdentityCase_ == 2) { ref = customerIdentity_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (customerIdentityCase_ == 2) { customerIdentity_ = b; } @@ -1076,35 +1007,30 @@ public com.google.protobuf.ByteString getDomainBytes() { } } /** - * - * *
      * Required. Customer domain.
      * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The domain to set. * @return This builder for chaining. */ - public Builder setDomain(java.lang.String value) { + public Builder setDomain( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - customerIdentityCase_ = 2; + throw new NullPointerException(); + } + customerIdentityCase_ = 2; customerIdentity_ = value; onChanged(); return this; } /** - * - * *
      * Required. Customer domain.
      * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDomain() { @@ -1116,22 +1042,20 @@ public Builder clearDomain() { return this; } /** - * - * *
      * Required. Customer domain.
      * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for domain to set. * @return This builder for chaining. */ - public Builder setDomainBytes(com.google.protobuf.ByteString value) { + public Builder setDomainBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); customerIdentityCase_ = 2; customerIdentity_ = value; onChanged(); @@ -1139,14 +1063,11 @@ public Builder setDomainBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * Required. Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the cloudIdentityId field is set. */ @java.lang.Override @@ -1154,14 +1075,11 @@ public boolean hasCloudIdentityId() { return customerIdentityCase_ == 3; } /** - * - * *
      * Required. Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The cloudIdentityId. */ @java.lang.Override @@ -1171,7 +1089,8 @@ public java.lang.String getCloudIdentityId() { ref = customerIdentity_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (customerIdentityCase_ == 3) { customerIdentity_ = s; @@ -1182,25 +1101,24 @@ public java.lang.String getCloudIdentityId() { } } /** - * - * *
      * Required. Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for cloudIdentityId. */ @java.lang.Override - public com.google.protobuf.ByteString getCloudIdentityIdBytes() { + public com.google.protobuf.ByteString + getCloudIdentityIdBytes() { java.lang.Object ref = ""; if (customerIdentityCase_ == 3) { ref = customerIdentity_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (customerIdentityCase_ == 3) { customerIdentity_ = b; } @@ -1210,35 +1128,30 @@ public com.google.protobuf.ByteString getCloudIdentityIdBytes() { } } /** - * - * *
      * Required. Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The cloudIdentityId to set. * @return This builder for chaining. */ - public Builder setCloudIdentityId(java.lang.String value) { + public Builder setCloudIdentityId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - customerIdentityCase_ = 3; + throw new NullPointerException(); + } + customerIdentityCase_ = 3; customerIdentity_ = value; onChanged(); return this; } /** - * - * *
      * Required. Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearCloudIdentityId() { @@ -1250,22 +1163,20 @@ public Builder clearCloudIdentityId() { return this; } /** - * - * *
      * Required. Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for cloudIdentityId to set. * @return This builder for chaining. */ - public Builder setCloudIdentityIdBytes(com.google.protobuf.ByteString value) { + public Builder setCloudIdentityIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); customerIdentityCase_ = 3; customerIdentity_ = value; onChanged(); @@ -1274,8 +1185,6 @@ public Builder setCloudIdentityIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the reseller's account.
      * Parent takes the format: accounts/{account_id} or
@@ -1283,13 +1192,13 @@ public Builder setCloudIdentityIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -1298,8 +1207,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the reseller's account.
      * Parent takes the format: accounts/{account_id} or
@@ -1307,14 +1214,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -1322,8 +1230,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the reseller's account.
      * Parent takes the format: accounts/{account_id} or
@@ -1331,22 +1237,20 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 reseller's account.
      * Parent takes the format: accounts/{account_id} or
@@ -1354,18 +1258,15 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the reseller's account.
      * Parent takes the format: accounts/{account_id} or
@@ -1373,16 +1274,16 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -1390,8 +1291,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object authToken_ = ""; /** - * - * *
      * Optional. The super admin of the resold customer generates this token to
      * authorize a reseller to access their Cloud Identity and purchase
@@ -1400,13 +1299,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string auth_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The authToken. */ public java.lang.String getAuthToken() { java.lang.Object ref = authToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authToken_ = s; return s; @@ -1415,8 +1314,6 @@ public java.lang.String getAuthToken() { } } /** - * - * *
      * Optional. The super admin of the resold customer generates this token to
      * authorize a reseller to access their Cloud Identity and purchase
@@ -1425,14 +1322,15 @@ public java.lang.String getAuthToken() {
      * 
* * string auth_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for authToken. */ - public com.google.protobuf.ByteString getAuthTokenBytes() { + public com.google.protobuf.ByteString + getAuthTokenBytes() { java.lang.Object ref = authToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); authToken_ = b; return b; } else { @@ -1440,8 +1338,6 @@ public com.google.protobuf.ByteString getAuthTokenBytes() { } } /** - * - * *
      * Optional. The super admin of the resold customer generates this token to
      * authorize a reseller to access their Cloud Identity and purchase
@@ -1450,22 +1346,20 @@ public com.google.protobuf.ByteString getAuthTokenBytes() {
      * 
* * string auth_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The authToken to set. * @return This builder for chaining. */ - public Builder setAuthToken(java.lang.String value) { + public Builder setAuthToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + authToken_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The super admin of the resold customer generates this token to
      * authorize a reseller to access their Cloud Identity and purchase
@@ -1474,18 +1368,15 @@ public Builder setAuthToken(java.lang.String value) {
      * 
* * string auth_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearAuthToken() { - + authToken_ = getDefaultInstance().getAuthToken(); onChanged(); return this; } /** - * - * *
      * Optional. The super admin of the resold customer generates this token to
      * authorize a reseller to access their Cloud Identity and purchase
@@ -1494,25 +1385,23 @@ public Builder clearAuthToken() {
      * 
* * string auth_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for authToken to set. * @return This builder for chaining. */ - public Builder setAuthTokenBytes(com.google.protobuf.ByteString value) { + public Builder setAuthTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + authToken_ = value; onChanged(); return this; } - private boolean overwriteIfExists_; + private boolean overwriteIfExists_ ; /** - * - * *
      * Required. Choose to overwrite an existing customer if found.
      * This must be set to true if there is an existing customer with a
@@ -1520,7 +1409,6 @@ public Builder setAuthTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * bool overwrite_if_exists = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The overwriteIfExists. */ @java.lang.Override @@ -1528,8 +1416,6 @@ public boolean getOverwriteIfExists() { return overwriteIfExists_; } /** - * - * *
      * Required. Choose to overwrite an existing customer if found.
      * This must be set to true if there is an existing customer with a
@@ -1537,19 +1423,16 @@ public boolean getOverwriteIfExists() {
      * 
* * bool overwrite_if_exists = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The overwriteIfExists to set. * @return This builder for chaining. */ public Builder setOverwriteIfExists(boolean value) { - + overwriteIfExists_ = value; onChanged(); return this; } /** - * - * *
      * Required. Choose to overwrite an existing customer if found.
      * This must be set to true if there is an existing customer with a
@@ -1557,11 +1440,10 @@ public Builder setOverwriteIfExists(boolean value) {
      * 
* * bool overwrite_if_exists = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearOverwriteIfExists() { - + overwriteIfExists_ = false; onChanged(); return this; @@ -1569,22 +1451,21 @@ public Builder clearOverwriteIfExists() { private java.lang.Object channelPartnerId_ = ""; /** - * - * *
-     * Optional. Cloud Identity ID of a channel partner who will be the direct reseller for
-     * the customer's order. This field is required for 2-tier transfer scenarios
-     * and can be provided via the request Parent binding as well.
+     * Optional. Cloud Identity ID of a channel partner who will be the direct
+     * reseller for the customer's order. This field is required for 2-tier
+     * transfer scenarios and can be provided via the request Parent binding as
+     * well.
      * 
* * string channel_partner_id = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The channelPartnerId. */ public java.lang.String getChannelPartnerId() { java.lang.Object ref = channelPartnerId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); channelPartnerId_ = s; return s; @@ -1593,23 +1474,23 @@ public java.lang.String getChannelPartnerId() { } } /** - * - * *
-     * Optional. Cloud Identity ID of a channel partner who will be the direct reseller for
-     * the customer's order. This field is required for 2-tier transfer scenarios
-     * and can be provided via the request Parent binding as well.
+     * Optional. Cloud Identity ID of a channel partner who will be the direct
+     * reseller for the customer's order. This field is required for 2-tier
+     * transfer scenarios and can be provided via the request Parent binding as
+     * well.
      * 
* * string channel_partner_id = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for channelPartnerId. */ - public com.google.protobuf.ByteString getChannelPartnerIdBytes() { + public com.google.protobuf.ByteString + getChannelPartnerIdBytes() { java.lang.Object ref = channelPartnerId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); channelPartnerId_ = b; return b; } else { @@ -1617,67 +1498,63 @@ public com.google.protobuf.ByteString getChannelPartnerIdBytes() { } } /** - * - * *
-     * Optional. Cloud Identity ID of a channel partner who will be the direct reseller for
-     * the customer's order. This field is required for 2-tier transfer scenarios
-     * and can be provided via the request Parent binding as well.
+     * Optional. Cloud Identity ID of a channel partner who will be the direct
+     * reseller for the customer's order. This field is required for 2-tier
+     * transfer scenarios and can be provided via the request Parent binding as
+     * well.
      * 
* * string channel_partner_id = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The channelPartnerId to set. * @return This builder for chaining. */ - public Builder setChannelPartnerId(java.lang.String value) { + public Builder setChannelPartnerId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + channelPartnerId_ = value; onChanged(); return this; } /** - * - * *
-     * Optional. Cloud Identity ID of a channel partner who will be the direct reseller for
-     * the customer's order. This field is required for 2-tier transfer scenarios
-     * and can be provided via the request Parent binding as well.
+     * Optional. Cloud Identity ID of a channel partner who will be the direct
+     * reseller for the customer's order. This field is required for 2-tier
+     * transfer scenarios and can be provided via the request Parent binding as
+     * well.
      * 
* * string channel_partner_id = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearChannelPartnerId() { - + channelPartnerId_ = getDefaultInstance().getChannelPartnerId(); onChanged(); return this; } /** - * - * *
-     * Optional. Cloud Identity ID of a channel partner who will be the direct reseller for
-     * the customer's order. This field is required for 2-tier transfer scenarios
-     * and can be provided via the request Parent binding as well.
+     * Optional. Cloud Identity ID of a channel partner who will be the direct
+     * reseller for the customer's order. This field is required for 2-tier
+     * transfer scenarios and can be provided via the request Parent binding as
+     * well.
      * 
* * string channel_partner_id = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for channelPartnerId to set. * @return This builder for chaining. */ - public Builder setChannelPartnerIdBytes(com.google.protobuf.ByteString value) { + public Builder setChannelPartnerIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + channelPartnerId_ = value; onChanged(); return this; @@ -1685,24 +1562,20 @@ public Builder setChannelPartnerIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object customer_ = ""; /** - * - * *
      * Optional. Specifies the customer that will receive imported Cloud Identity
      * information.
      * Format: accounts/{account_id}/customers/{customer_id}
      * 
* - * - * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The customer. */ public java.lang.String getCustomer() { java.lang.Object ref = customer_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customer_ = s; return s; @@ -1711,25 +1584,22 @@ public java.lang.String getCustomer() { } } /** - * - * *
      * Optional. Specifies the customer that will receive imported Cloud Identity
      * information.
      * Format: accounts/{account_id}/customers/{customer_id}
      * 
* - * - * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The bytes for customer. */ - public com.google.protobuf.ByteString getCustomerBytes() { + public com.google.protobuf.ByteString + getCustomerBytes() { java.lang.Object ref = customer_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); customer_ = b; return b; } else { @@ -1737,80 +1607,67 @@ public com.google.protobuf.ByteString getCustomerBytes() { } } /** - * - * *
      * Optional. Specifies the customer that will receive imported Cloud Identity
      * information.
      * Format: accounts/{account_id}/customers/{customer_id}
      * 
* - * - * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param value The customer to set. * @return This builder for chaining. */ - public Builder setCustomer(java.lang.String value) { + public Builder setCustomer( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + customer_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Specifies the customer that will receive imported Cloud Identity
      * information.
      * Format: accounts/{account_id}/customers/{customer_id}
      * 
* - * - * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearCustomer() { - + customer_ = getDefaultInstance().getCustomer(); onChanged(); return this; } /** - * - * *
      * Optional. Specifies the customer that will receive imported Cloud Identity
      * information.
      * Format: accounts/{account_id}/customers/{customer_id}
      * 
* - * - * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param value The bytes for customer to set. * @return This builder for chaining. */ - public Builder setCustomerBytes(com.google.protobuf.ByteString value) { + public Builder setCustomerBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + customer_ = 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); } @@ -1820,12 +1677,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ImportCustomerRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ImportCustomerRequest) private static final com.google.cloud.channel.v1.ImportCustomerRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ImportCustomerRequest(); } @@ -1834,27 +1691,27 @@ public static com.google.cloud.channel.v1.ImportCustomerRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportCustomerRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportCustomerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1869,4 +1726,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ImportCustomerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequestOrBuilder.java similarity index 71% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequestOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequestOrBuilder.java index 0f23504c9c5f..5587829069ac 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequestOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequestOrBuilder.java @@ -1,105 +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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ImportCustomerRequestOrBuilder - extends +public interface ImportCustomerRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ImportCustomerRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Customer domain.
    * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the domain field is set. */ boolean hasDomain(); /** - * - * *
    * Required. Customer domain.
    * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The domain. */ java.lang.String getDomain(); /** - * - * *
    * Required. Customer domain.
    * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for domain. */ - com.google.protobuf.ByteString getDomainBytes(); + com.google.protobuf.ByteString + getDomainBytes(); /** - * - * *
    * Required. Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the cloudIdentityId field is set. */ boolean hasCloudIdentityId(); /** - * - * *
    * Required. Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The cloudIdentityId. */ java.lang.String getCloudIdentityId(); /** - * - * *
    * Required. Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for cloudIdentityId. */ - com.google.protobuf.ByteString getCloudIdentityIdBytes(); + com.google.protobuf.ByteString + getCloudIdentityIdBytes(); /** - * - * *
    * Required. The resource name of the reseller's account.
    * Parent takes the format: accounts/{account_id} or
@@ -107,13 +73,10 @@ public interface ImportCustomerRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the reseller's account.
    * Parent takes the format: accounts/{account_id} or
@@ -121,14 +84,12 @@ public interface ImportCustomerRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. The super admin of the resold customer generates this token to
    * authorize a reseller to access their Cloud Identity and purchase
@@ -137,13 +98,10 @@ public interface ImportCustomerRequestOrBuilder
    * 
* * string auth_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The authToken. */ java.lang.String getAuthToken(); /** - * - * *
    * Optional. The super admin of the resold customer generates this token to
    * authorize a reseller to access their Cloud Identity and purchase
@@ -152,14 +110,12 @@ public interface ImportCustomerRequestOrBuilder
    * 
* * string auth_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for authToken. */ - com.google.protobuf.ByteString getAuthTokenBytes(); + com.google.protobuf.ByteString + getAuthTokenBytes(); /** - * - * *
    * Required. Choose to overwrite an existing customer if found.
    * This must be set to true if there is an existing customer with a
@@ -167,73 +123,59 @@ public interface ImportCustomerRequestOrBuilder
    * 
* * bool overwrite_if_exists = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The overwriteIfExists. */ boolean getOverwriteIfExists(); /** - * - * *
-   * Optional. Cloud Identity ID of a channel partner who will be the direct reseller for
-   * the customer's order. This field is required for 2-tier transfer scenarios
-   * and can be provided via the request Parent binding as well.
+   * Optional. Cloud Identity ID of a channel partner who will be the direct
+   * reseller for the customer's order. This field is required for 2-tier
+   * transfer scenarios and can be provided via the request Parent binding as
+   * well.
    * 
* * string channel_partner_id = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The channelPartnerId. */ java.lang.String getChannelPartnerId(); /** - * - * *
-   * Optional. Cloud Identity ID of a channel partner who will be the direct reseller for
-   * the customer's order. This field is required for 2-tier transfer scenarios
-   * and can be provided via the request Parent binding as well.
+   * Optional. Cloud Identity ID of a channel partner who will be the direct
+   * reseller for the customer's order. This field is required for 2-tier
+   * transfer scenarios and can be provided via the request Parent binding as
+   * well.
    * 
* * string channel_partner_id = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for channelPartnerId. */ - com.google.protobuf.ByteString getChannelPartnerIdBytes(); + com.google.protobuf.ByteString + getChannelPartnerIdBytes(); /** - * - * *
    * Optional. Specifies the customer that will receive imported Cloud Identity
    * information.
    * Format: accounts/{account_id}/customers/{customer_id}
    * 
* - * - * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The customer. */ java.lang.String getCustomer(); /** - * - * *
    * Optional. Specifies the customer that will receive imported Cloud Identity
    * information.
    * Format: accounts/{account_id}/customers/{customer_id}
    * 
* - * - * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The bytes for customer. */ - com.google.protobuf.ByteString getCustomerBytes(); + com.google.protobuf.ByteString + getCustomerBytes(); - public com.google.cloud.channel.v1.ImportCustomerRequest.CustomerIdentityCase - getCustomerIdentityCase(); + public com.google.cloud.channel.v1.ImportCustomerRequest.CustomerIdentityCase getCustomerIdentityCase(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequest.java similarity index 64% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequest.java index 0e40d3fd7749..20d3b24a408e 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequest.java @@ -1,43 +1,25 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Request message for [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks]
+ * Request message for
+ * [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks]
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListChannelPartnerLinksRequest} */ -public final class ListChannelPartnerLinksRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListChannelPartnerLinksRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListChannelPartnerLinksRequest) ListChannelPartnerLinksRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListChannelPartnerLinksRequest.newBuilder() to construct. - private ListChannelPartnerLinksRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListChannelPartnerLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListChannelPartnerLinksRequest() { parent_ = ""; pageToken_ = ""; @@ -46,43 +28,38 @@ private ListChannelPartnerLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListChannelPartnerLinksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListChannelPartnerLinksRequest.class, - com.google.cloud.channel.v1.ListChannelPartnerLinksRequest.Builder.class); + com.google.cloud.channel.v1.ListChannelPartnerLinksRequest.class, com.google.cloud.channel.v1.ListChannelPartnerLinksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
-   * Required. The resource name of the reseller account for listing channel partner
-   * links.
-   * Parent uses the format: accounts/{account_id}
+   * Required. The resource name of the reseller account for listing channel
+   * partner links. Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -91,31 +68,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 reseller account for listing channel partner
-   * links.
-   * Parent uses the format: accounts/{account_id}
+   * Required. The resource name of the reseller account for listing channel
+   * partner links. Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -126,16 +102,13 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
-   * Optional. Requested page size. Server might return fewer results than requested.
-   * If unspecified, server will pick a default size (25).
-   * The maximum value is 200; the server will coerce values above 200.
+   * Optional. Requested page size. Server might return fewer results than
+   * requested. If unspecified, server will pick a default size (25). The
+   * maximum value is 200; the server will coerce values above 200.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -146,17 +119,16 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Optional. A token for a page of results other than the first page.
    * Obtained using
-   * [ListChannelPartnerLinksResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerLinksResponse.next_page_token] of the previous
-   * [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks] call.
+   * [ListChannelPartnerLinksResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerLinksResponse.next_page_token]
+   * of the previous
+   * [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks]
+   * call.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -165,32 +137,34 @@ 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 token for a page of results other than the first page.
    * Obtained using
-   * [ListChannelPartnerLinksResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerLinksResponse.next_page_token] of the previous
-   * [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks] call.
+   * [ListChannelPartnerLinksResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerLinksResponse.next_page_token]
+   * of the previous
+   * [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks]
+   * call.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -201,47 +175,31 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int VIEW_FIELD_NUMBER = 4; private int view_; /** - * - * *
    * Optional. The level of granularity the ChannelPartnerLink will display.
    * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * Optional. The level of granularity the ChannelPartnerLink will display.
    * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ - @java.lang.Override - public com.google.cloud.channel.v1.ChannelPartnerLinkView getView() { + @java.lang.Override public com.google.cloud.channel.v1.ChannelPartnerLinkView getView() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.ChannelPartnerLinkView result = - com.google.cloud.channel.v1.ChannelPartnerLinkView.valueOf(view_); - return result == null - ? com.google.cloud.channel.v1.ChannelPartnerLinkView.UNRECOGNIZED - : result; + com.google.cloud.channel.v1.ChannelPartnerLinkView result = com.google.cloud.channel.v1.ChannelPartnerLinkView.valueOf(view_); + return result == null ? com.google.cloud.channel.v1.ChannelPartnerLinkView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -253,7 +211,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -279,13 +238,15 @@ 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_); } if (view_ != com.google.cloud.channel.v1.ChannelPartnerLinkView.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, view_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -295,17 +256,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.ListChannelPartnerLinksRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListChannelPartnerLinksRequest other = - (com.google.cloud.channel.v1.ListChannelPartnerLinksRequest) obj; + com.google.cloud.channel.v1.ListChannelPartnerLinksRequest other = (com.google.cloud.channel.v1.ListChannelPartnerLinksRequest) 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 (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -332,136 +295,130 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListChannelPartnerLinksRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListChannelPartnerLinksRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListChannelPartnerLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListChannelPartnerLinksRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListChannelPartnerLinksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListChannelPartnerLinksRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListChannelPartnerLinksRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListChannelPartnerLinksRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListChannelPartnerLinksRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListChannelPartnerLinksRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListChannelPartnerLinksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListChannelPartnerLinksRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListChannelPartnerLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListChannelPartnerLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.ListChannelPartnerLinksRequest prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.ListChannelPartnerLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Request message for [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks]
+   * Request message for
+   * [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks]
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListChannelPartnerLinksRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListChannelPartnerLinksRequest) com.google.cloud.channel.v1.ListChannelPartnerLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListChannelPartnerLinksRequest.class, - com.google.cloud.channel.v1.ListChannelPartnerLinksRequest.Builder.class); + com.google.cloud.channel.v1.ListChannelPartnerLinksRequest.class, com.google.cloud.channel.v1.ListChannelPartnerLinksRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.ListChannelPartnerLinksRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -477,9 +434,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_descriptor; } @java.lang.Override @@ -498,8 +455,7 @@ public com.google.cloud.channel.v1.ListChannelPartnerLinksRequest build() { @java.lang.Override public com.google.cloud.channel.v1.ListChannelPartnerLinksRequest buildPartial() { - com.google.cloud.channel.v1.ListChannelPartnerLinksRequest result = - new com.google.cloud.channel.v1.ListChannelPartnerLinksRequest(this); + com.google.cloud.channel.v1.ListChannelPartnerLinksRequest result = new com.google.cloud.channel.v1.ListChannelPartnerLinksRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -512,39 +468,38 @@ public com.google.cloud.channel.v1.ListChannelPartnerLinksRequest 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.cloud.channel.v1.ListChannelPartnerLinksRequest) { - return mergeFrom((com.google.cloud.channel.v1.ListChannelPartnerLinksRequest) other); + return mergeFrom((com.google.cloud.channel.v1.ListChannelPartnerLinksRequest)other); } else { super.mergeFrom(other); return this; @@ -552,8 +507,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ListChannelPartnerLinksRequest other) { - if (other == com.google.cloud.channel.v1.ListChannelPartnerLinksRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.ListChannelPartnerLinksRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -594,37 +548,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 32: - { - view_ = input.readEnum(); + break; + } // case 26 + case 32: { + view_ = input.readEnum(); - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -637,22 +586,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
-     * Required. The resource name of the reseller account for listing channel partner
-     * links.
-     * Parent uses the format: accounts/{account_id}
+     * Required. The resource name of the reseller account for listing channel
+     * partner links. Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -661,23 +607,21 @@ public java.lang.String getParent() { } } /** - * - * *
-     * Required. The resource name of the reseller account for listing channel partner
-     * links.
-     * Parent uses the format: accounts/{account_id}
+     * Required. The resource name of the reseller account for listing channel
+     * partner links. Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -685,84 +629,71 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
-     * Required. The resource name of the reseller account for listing channel partner
-     * links.
-     * Parent uses the format: accounts/{account_id}
+     * Required. The resource name of the reseller account for listing channel
+     * partner links. Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 reseller account for listing channel partner
-     * links.
-     * Parent uses the format: accounts/{account_id}
+     * Required. The resource name of the reseller account for listing channel
+     * partner links. Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
-     * Required. The resource name of the reseller account for listing channel partner
-     * links.
-     * Parent uses the format: accounts/{account_id}
+     * Required. The resource name of the reseller account for listing channel
+     * partner links. Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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_ ; /** - * - * *
-     * Optional. Requested page size. Server might return fewer results than requested.
-     * If unspecified, server will pick a default size (25).
-     * The maximum value is 200; the server will coerce values above 200.
+     * Optional. Requested page size. Server might return fewer results than
+     * requested. If unspecified, server will pick a default size (25). The
+     * maximum value is 200; the server will coerce values above 200.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -770,40 +701,34 @@ public int getPageSize() { return pageSize_; } /** - * - * *
-     * Optional. Requested page size. Server might return fewer results than requested.
-     * If unspecified, server will pick a default size (25).
-     * The maximum value is 200; the server will coerce values above 200.
+     * Optional. Requested page size. Server might return fewer results than
+     * requested. If unspecified, server will pick a default size (25). The
+     * maximum value is 200; the server will coerce values above 200.
      * 
* * int32 page_size = 2 [(.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. Requested page size. Server might return fewer results than requested.
-     * If unspecified, server will pick a default size (25).
-     * The maximum value is 200; the server will coerce values above 200.
+     * Optional. Requested page size. Server might return fewer results than
+     * requested. If unspecified, server will pick a default size (25). The
+     * maximum value is 200; the server will coerce values above 200.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -811,23 +736,23 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. A token for a page of results other than the first page.
      * Obtained using
-     * [ListChannelPartnerLinksResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerLinksResponse.next_page_token] of the previous
-     * [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks] call.
+     * [ListChannelPartnerLinksResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerLinksResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -836,24 +761,25 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. A token for a page of results other than the first page.
      * Obtained using
-     * [ListChannelPartnerLinksResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerLinksResponse.next_page_token] of the previous
-     * [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks] call.
+     * [ListChannelPartnerLinksResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerLinksResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -861,70 +787,69 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. A token for a page of results other than the first page.
      * Obtained using
-     * [ListChannelPartnerLinksResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerLinksResponse.next_page_token] of the previous
-     * [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks] call.
+     * [ListChannelPartnerLinksResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerLinksResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A token for a page of results other than the first page.
      * Obtained using
-     * [ListChannelPartnerLinksResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerLinksResponse.next_page_token] of the previous
-     * [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks] call.
+     * [ListChannelPartnerLinksResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerLinksResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Optional. A token for a page of results other than the first page.
      * Obtained using
-     * [ListChannelPartnerLinksResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerLinksResponse.next_page_token] of the previous
-     * [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks] call.
+     * [ListChannelPartnerLinksResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerLinksResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + 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; @@ -932,75 +857,51 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * Optional. The level of granularity the ChannelPartnerLink will display.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * Optional. The level of granularity the ChannelPartnerLink will display.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The level of granularity the ChannelPartnerLink will display.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ @java.lang.Override public com.google.cloud.channel.v1.ChannelPartnerLinkView getView() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.ChannelPartnerLinkView result = - com.google.cloud.channel.v1.ChannelPartnerLinkView.valueOf(view_); - return result == null - ? com.google.cloud.channel.v1.ChannelPartnerLinkView.UNRECOGNIZED - : result; + com.google.cloud.channel.v1.ChannelPartnerLinkView result = com.google.cloud.channel.v1.ChannelPartnerLinkView.valueOf(view_); + return result == null ? com.google.cloud.channel.v1.ChannelPartnerLinkView.UNRECOGNIZED : result; } /** - * - * *
      * Optional. The level of granularity the ChannelPartnerLink will display.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param value The view to set. * @return This builder for chaining. */ @@ -1008,33 +909,28 @@ public Builder setView(com.google.cloud.channel.v1.ChannelPartnerLinkView value) if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Optional. The level of granularity the ChannelPartnerLink will display.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearView() { - + view_ = 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); } @@ -1044,12 +940,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListChannelPartnerLinksRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListChannelPartnerLinksRequest) private static final com.google.cloud.channel.v1.ListChannelPartnerLinksRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListChannelPartnerLinksRequest(); } @@ -1058,27 +954,27 @@ public static com.google.cloud.channel.v1.ListChannelPartnerLinksRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListChannelPartnerLinksRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListChannelPartnerLinksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1093,4 +989,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.cloud.channel.v1.ListChannelPartnerLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequestOrBuilder.java similarity index 55% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequestOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequestOrBuilder.java index d06af6b7415b..3faf34a8abbb 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequestOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequestOrBuilder.java @@ -1,128 +1,91 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListChannelPartnerLinksRequestOrBuilder - extends +public interface ListChannelPartnerLinksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListChannelPartnerLinksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
-   * Required. The resource name of the reseller account for listing channel partner
-   * links.
-   * Parent uses the format: accounts/{account_id}
+   * Required. The resource name of the reseller account for listing channel
+   * partner links. Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
-   * Required. The resource name of the reseller account for listing channel partner
-   * links.
-   * Parent uses the format: accounts/{account_id}
+   * Required. The resource name of the reseller account for listing channel
+   * partner links. Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
-   * Optional. Requested page size. Server might return fewer results than requested.
-   * If unspecified, server will pick a default size (25).
-   * The maximum value is 200; the server will coerce values above 200.
+   * Optional. Requested page size. Server might return fewer results than
+   * requested. If unspecified, server will pick a default size (25). The
+   * maximum value is 200; the server will coerce values above 200.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. A token for a page of results other than the first page.
    * Obtained using
-   * [ListChannelPartnerLinksResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerLinksResponse.next_page_token] of the previous
-   * [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks] call.
+   * [ListChannelPartnerLinksResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerLinksResponse.next_page_token]
+   * of the previous
+   * [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks]
+   * call.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. A token for a page of results other than the first page.
    * Obtained using
-   * [ListChannelPartnerLinksResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerLinksResponse.next_page_token] of the previous
-   * [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks] call.
+   * [ListChannelPartnerLinksResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerLinksResponse.next_page_token]
+   * of the previous
+   * [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks]
+   * call.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. The level of granularity the ChannelPartnerLink will display.
    * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * Optional. The level of granularity the ChannelPartnerLink will display.
    * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ com.google.cloud.channel.v1.ChannelPartnerLinkView getView(); diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponse.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponse.java similarity index 70% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponse.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponse.java index 9fb1023eab2d..db366e61f1a3 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponse.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponse.java @@ -1,43 +1,25 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Response message for [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks].
+ * Response message for
+ * [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks].
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListChannelPartnerLinksResponse} */ -public final class ListChannelPartnerLinksResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListChannelPartnerLinksResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListChannelPartnerLinksResponse) ListChannelPartnerLinksResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListChannelPartnerLinksResponse.newBuilder() to construct. - private ListChannelPartnerLinksResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListChannelPartnerLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListChannelPartnerLinksResponse() { channelPartnerLinks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,35 +27,32 @@ private ListChannelPartnerLinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListChannelPartnerLinksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListChannelPartnerLinksResponse.class, - com.google.cloud.channel.v1.ListChannelPartnerLinksResponse.Builder.class); + com.google.cloud.channel.v1.ListChannelPartnerLinksResponse.class, com.google.cloud.channel.v1.ListChannelPartnerLinksResponse.Builder.class); } public static final int CHANNEL_PARTNER_LINKS_FIELD_NUMBER = 1; private java.util.List channelPartnerLinks_; /** - * - * *
    * The Channel partner links for a reseller.
    * 
@@ -81,13 +60,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1; */ @java.lang.Override - public java.util.List - getChannelPartnerLinksList() { + public java.util.List getChannelPartnerLinksList() { return channelPartnerLinks_; } /** - * - * *
    * The Channel partner links for a reseller.
    * 
@@ -95,13 +71,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1; */ @java.lang.Override - public java.util.List + public java.util.List getChannelPartnerLinksOrBuilderList() { return channelPartnerLinks_; } /** - * - * *
    * The Channel partner links for a reseller.
    * 
@@ -113,8 +87,6 @@ public int getChannelPartnerLinksCount() { return channelPartnerLinks_.size(); } /** - * - * *
    * The Channel partner links for a reseller.
    * 
@@ -126,8 +98,6 @@ public com.google.cloud.channel.v1.ChannelPartnerLink getChannelPartnerLinks(int return channelPartnerLinks_.get(index); } /** - * - * *
    * The Channel partner links for a reseller.
    * 
@@ -143,15 +113,14 @@ public com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartner public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token to retrieve the next page of results.
-   * Pass to [ListChannelPartnerLinksRequest.page_token][google.cloud.channel.v1.ListChannelPartnerLinksRequest.page_token] to obtain that page.
+   * Pass to
+   * [ListChannelPartnerLinksRequest.page_token][google.cloud.channel.v1.ListChannelPartnerLinksRequest.page_token]
+   * to obtain that page.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -160,30 +129,32 @@ 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 to retrieve the next page of results.
-   * Pass to [ListChannelPartnerLinksRequest.page_token][google.cloud.channel.v1.ListChannelPartnerLinksRequest.page_token] to obtain that page.
+   * Pass to
+   * [ListChannelPartnerLinksRequest.page_token][google.cloud.channel.v1.ListChannelPartnerLinksRequest.page_token]
+   * to obtain that page.
    * 
* * 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 { @@ -192,7 +163,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,7 +174,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < channelPartnerLinks_.size(); i++) { output.writeMessage(1, channelPartnerLinks_.get(i)); } @@ -221,8 +192,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < channelPartnerLinks_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, channelPartnerLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, channelPartnerLinks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -235,16 +206,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.cloud.channel.v1.ListChannelPartnerLinksResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListChannelPartnerLinksResponse other = - (com.google.cloud.channel.v1.ListChannelPartnerLinksResponse) obj; + com.google.cloud.channel.v1.ListChannelPartnerLinksResponse other = (com.google.cloud.channel.v1.ListChannelPartnerLinksResponse) obj; - if (!getChannelPartnerLinksList().equals(other.getChannelPartnerLinksList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getChannelPartnerLinksList() + .equals(other.getChannelPartnerLinksList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -268,136 +240,130 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListChannelPartnerLinksResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListChannelPartnerLinksResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListChannelPartnerLinksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListChannelPartnerLinksResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListChannelPartnerLinksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListChannelPartnerLinksResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListChannelPartnerLinksResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListChannelPartnerLinksResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListChannelPartnerLinksResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListChannelPartnerLinksResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListChannelPartnerLinksResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListChannelPartnerLinksResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListChannelPartnerLinksResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListChannelPartnerLinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.ListChannelPartnerLinksResponse prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.ListChannelPartnerLinksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks].
+   * Response message for
+   * [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks].
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListChannelPartnerLinksResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListChannelPartnerLinksResponse) com.google.cloud.channel.v1.ListChannelPartnerLinksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListChannelPartnerLinksResponse.class, - com.google.cloud.channel.v1.ListChannelPartnerLinksResponse.Builder.class); + com.google.cloud.channel.v1.ListChannelPartnerLinksResponse.class, com.google.cloud.channel.v1.ListChannelPartnerLinksResponse.Builder.class); } // Construct using com.google.cloud.channel.v1.ListChannelPartnerLinksResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -414,9 +380,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_descriptor; } @java.lang.Override @@ -435,8 +401,7 @@ public com.google.cloud.channel.v1.ListChannelPartnerLinksResponse build() { @java.lang.Override public com.google.cloud.channel.v1.ListChannelPartnerLinksResponse buildPartial() { - com.google.cloud.channel.v1.ListChannelPartnerLinksResponse result = - new com.google.cloud.channel.v1.ListChannelPartnerLinksResponse(this); + com.google.cloud.channel.v1.ListChannelPartnerLinksResponse result = new com.google.cloud.channel.v1.ListChannelPartnerLinksResponse(this); int from_bitField0_ = bitField0_; if (channelPartnerLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -456,39 +421,38 @@ public com.google.cloud.channel.v1.ListChannelPartnerLinksResponse 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.cloud.channel.v1.ListChannelPartnerLinksResponse) { - return mergeFrom((com.google.cloud.channel.v1.ListChannelPartnerLinksResponse) other); + return mergeFrom((com.google.cloud.channel.v1.ListChannelPartnerLinksResponse)other); } else { super.mergeFrom(other); return this; @@ -496,8 +460,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ListChannelPartnerLinksResponse other) { - if (other == com.google.cloud.channel.v1.ListChannelPartnerLinksResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.ListChannelPartnerLinksResponse.getDefaultInstance()) return this; if (channelPartnerLinksBuilder_ == null) { if (!other.channelPartnerLinks_.isEmpty()) { if (channelPartnerLinks_.isEmpty()) { @@ -516,10 +479,9 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ListChannelPartnerLinksResp channelPartnerLinksBuilder_ = null; channelPartnerLinks_ = other.channelPartnerLinks_; bitField0_ = (bitField0_ & ~0x00000001); - channelPartnerLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getChannelPartnerLinksFieldBuilder() - : null; + channelPartnerLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getChannelPartnerLinksFieldBuilder() : null; } else { channelPartnerLinksBuilder_.addAllMessages(other.channelPartnerLinks_); } @@ -555,32 +517,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.channel.v1.ChannelPartnerLink m = - input.readMessage( - com.google.cloud.channel.v1.ChannelPartnerLink.parser(), extensionRegistry); - if (channelPartnerLinksBuilder_ == null) { - ensureChannelPartnerLinksIsMutable(); - channelPartnerLinks_.add(m); - } else { - channelPartnerLinksBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.cloud.channel.v1.ChannelPartnerLink m = + input.readMessage( + com.google.cloud.channel.v1.ChannelPartnerLink.parser(), + extensionRegistry); + if (channelPartnerLinksBuilder_ == null) { + ensureChannelPartnerLinksIsMutable(); + channelPartnerLinks_.add(m); + } else { + channelPartnerLinksBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -590,38 +550,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List channelPartnerLinks_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureChannelPartnerLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - channelPartnerLinks_ = - new java.util.ArrayList( - channelPartnerLinks_); + channelPartnerLinks_ = new java.util.ArrayList(channelPartnerLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.ChannelPartnerLink, - com.google.cloud.channel.v1.ChannelPartnerLink.Builder, - com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder> - channelPartnerLinksBuilder_; + com.google.cloud.channel.v1.ChannelPartnerLink, com.google.cloud.channel.v1.ChannelPartnerLink.Builder, com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder> channelPartnerLinksBuilder_; /** - * - * *
      * The Channel partner links for a reseller.
      * 
* * repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1; */ - public java.util.List - getChannelPartnerLinksList() { + public java.util.List getChannelPartnerLinksList() { if (channelPartnerLinksBuilder_ == null) { return java.util.Collections.unmodifiableList(channelPartnerLinks_); } else { @@ -629,8 +579,6 @@ private void ensureChannelPartnerLinksIsMutable() { } } /** - * - * *
      * The Channel partner links for a reseller.
      * 
@@ -645,8 +593,6 @@ public int getChannelPartnerLinksCount() { } } /** - * - * *
      * The Channel partner links for a reseller.
      * 
@@ -661,8 +607,6 @@ public com.google.cloud.channel.v1.ChannelPartnerLink getChannelPartnerLinks(int } } /** - * - * *
      * The Channel partner links for a reseller.
      * 
@@ -684,8 +628,6 @@ public Builder setChannelPartnerLinks( return this; } /** - * - * *
      * The Channel partner links for a reseller.
      * 
@@ -704,8 +646,6 @@ public Builder setChannelPartnerLinks( return this; } /** - * - * *
      * The Channel partner links for a reseller.
      * 
@@ -726,8 +666,6 @@ public Builder addChannelPartnerLinks(com.google.cloud.channel.v1.ChannelPartner return this; } /** - * - * *
      * The Channel partner links for a reseller.
      * 
@@ -749,8 +687,6 @@ public Builder addChannelPartnerLinks( return this; } /** - * - * *
      * The Channel partner links for a reseller.
      * 
@@ -769,8 +705,6 @@ public Builder addChannelPartnerLinks( return this; } /** - * - * *
      * The Channel partner links for a reseller.
      * 
@@ -789,8 +723,6 @@ public Builder addChannelPartnerLinks( return this; } /** - * - * *
      * The Channel partner links for a reseller.
      * 
@@ -801,7 +733,8 @@ public Builder addAllChannelPartnerLinks( java.lang.Iterable values) { if (channelPartnerLinksBuilder_ == null) { ensureChannelPartnerLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, channelPartnerLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, channelPartnerLinks_); onChanged(); } else { channelPartnerLinksBuilder_.addAllMessages(values); @@ -809,8 +742,6 @@ public Builder addAllChannelPartnerLinks( return this; } /** - * - * *
      * The Channel partner links for a reseller.
      * 
@@ -828,8 +759,6 @@ public Builder clearChannelPartnerLinks() { return this; } /** - * - * *
      * The Channel partner links for a reseller.
      * 
@@ -847,8 +776,6 @@ public Builder removeChannelPartnerLinks(int index) { return this; } /** - * - * *
      * The Channel partner links for a reseller.
      * 
@@ -860,8 +787,6 @@ public com.google.cloud.channel.v1.ChannelPartnerLink.Builder getChannelPartnerL return getChannelPartnerLinksFieldBuilder().getBuilder(index); } /** - * - * *
      * The Channel partner links for a reseller.
      * 
@@ -871,22 +796,19 @@ public com.google.cloud.channel.v1.ChannelPartnerLink.Builder getChannelPartnerL public com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartnerLinksOrBuilder( int index) { if (channelPartnerLinksBuilder_ == null) { - return channelPartnerLinks_.get(index); - } else { + return channelPartnerLinks_.get(index); } else { return channelPartnerLinksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The Channel partner links for a reseller.
      * 
* * repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1; */ - public java.util.List - getChannelPartnerLinksOrBuilderList() { + public java.util.List + getChannelPartnerLinksOrBuilderList() { if (channelPartnerLinksBuilder_ != null) { return channelPartnerLinksBuilder_.getMessageOrBuilderList(); } else { @@ -894,8 +816,6 @@ public com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartner } } /** - * - * *
      * The Channel partner links for a reseller.
      * 
@@ -903,12 +823,10 @@ public com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartner * repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1; */ public com.google.cloud.channel.v1.ChannelPartnerLink.Builder addChannelPartnerLinksBuilder() { - return getChannelPartnerLinksFieldBuilder() - .addBuilder(com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance()); + return getChannelPartnerLinksFieldBuilder().addBuilder( + com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance()); } /** - * - * *
      * The Channel partner links for a reseller.
      * 
@@ -917,34 +835,26 @@ public com.google.cloud.channel.v1.ChannelPartnerLink.Builder addChannelPartnerL */ public com.google.cloud.channel.v1.ChannelPartnerLink.Builder addChannelPartnerLinksBuilder( int index) { - return getChannelPartnerLinksFieldBuilder() - .addBuilder(index, com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance()); + return getChannelPartnerLinksFieldBuilder().addBuilder( + index, com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance()); } /** - * - * *
      * The Channel partner links for a reseller.
      * 
* * repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1; */ - public java.util.List - getChannelPartnerLinksBuilderList() { + public java.util.List + getChannelPartnerLinksBuilderList() { return getChannelPartnerLinksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.ChannelPartnerLink, - com.google.cloud.channel.v1.ChannelPartnerLink.Builder, - com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder> + com.google.cloud.channel.v1.ChannelPartnerLink, com.google.cloud.channel.v1.ChannelPartnerLink.Builder, com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder> getChannelPartnerLinksFieldBuilder() { if (channelPartnerLinksBuilder_ == null) { - channelPartnerLinksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.ChannelPartnerLink, - com.google.cloud.channel.v1.ChannelPartnerLink.Builder, - com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder>( + channelPartnerLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.ChannelPartnerLink, com.google.cloud.channel.v1.ChannelPartnerLink.Builder, com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder>( channelPartnerLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -956,21 +866,21 @@ public com.google.cloud.channel.v1.ChannelPartnerLink.Builder addChannelPartnerL private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve the next page of results.
-     * Pass to [ListChannelPartnerLinksRequest.page_token][google.cloud.channel.v1.ListChannelPartnerLinksRequest.page_token] to obtain that page.
+     * Pass to
+     * [ListChannelPartnerLinksRequest.page_token][google.cloud.channel.v1.ListChannelPartnerLinksRequest.page_token]
+     * to obtain that page.
      * 
* * 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; @@ -979,22 +889,23 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve the next page of results.
-     * Pass to [ListChannelPartnerLinksRequest.page_token][google.cloud.channel.v1.ListChannelPartnerLinksRequest.page_token] to obtain that page.
+     * Pass to
+     * [ListChannelPartnerLinksRequest.page_token][google.cloud.channel.v1.ListChannelPartnerLinksRequest.page_token]
+     * to obtain that page.
      * 
* * 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 { @@ -1002,71 +913,70 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve the next page of results.
-     * Pass to [ListChannelPartnerLinksRequest.page_token][google.cloud.channel.v1.ListChannelPartnerLinksRequest.page_token] to obtain that page.
+     * Pass to
+     * [ListChannelPartnerLinksRequest.page_token][google.cloud.channel.v1.ListChannelPartnerLinksRequest.page_token]
+     * to obtain that page.
      * 
* * 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 to retrieve the next page of results.
-     * Pass to [ListChannelPartnerLinksRequest.page_token][google.cloud.channel.v1.ListChannelPartnerLinksRequest.page_token] to obtain that page.
+     * Pass to
+     * [ListChannelPartnerLinksRequest.page_token][google.cloud.channel.v1.ListChannelPartnerLinksRequest.page_token]
+     * to obtain that page.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
-     * Pass to [ListChannelPartnerLinksRequest.page_token][google.cloud.channel.v1.ListChannelPartnerLinksRequest.page_token] to obtain that page.
+     * Pass to
+     * [ListChannelPartnerLinksRequest.page_token][google.cloud.channel.v1.ListChannelPartnerLinksRequest.page_token]
+     * to obtain that page.
      * 
* * 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); } @@ -1076,12 +986,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListChannelPartnerLinksResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListChannelPartnerLinksResponse) private static final com.google.cloud.channel.v1.ListChannelPartnerLinksResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListChannelPartnerLinksResponse(); } @@ -1090,27 +1000,27 @@ public static com.google.cloud.channel.v1.ListChannelPartnerLinksResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListChannelPartnerLinksResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListChannelPartnerLinksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1125,4 +1035,6 @@ public com.google.protobuf.Parser getParserForT public com.google.cloud.channel.v1.ListChannelPartnerLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponseOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponseOrBuilder.java similarity index 63% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponseOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponseOrBuilder.java index f17e913df3e4..281aa5646a20 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponseOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponseOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListChannelPartnerLinksResponseOrBuilder - extends +public interface ListChannelPartnerLinksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListChannelPartnerLinksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The Channel partner links for a reseller.
    * 
* * repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1; */ - java.util.List getChannelPartnerLinksList(); + java.util.List + getChannelPartnerLinksList(); /** - * - * *
    * The Channel partner links for a reseller.
    * 
@@ -44,8 +25,6 @@ public interface ListChannelPartnerLinksResponseOrBuilder */ com.google.cloud.channel.v1.ChannelPartnerLink getChannelPartnerLinks(int index); /** - * - * *
    * The Channel partner links for a reseller.
    * 
@@ -54,19 +33,15 @@ public interface ListChannelPartnerLinksResponseOrBuilder */ int getChannelPartnerLinksCount(); /** - * - * *
    * The Channel partner links for a reseller.
    * 
* * repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1; */ - java.util.List + java.util.List getChannelPartnerLinksOrBuilderList(); /** - * - * *
    * The Channel partner links for a reseller.
    * 
@@ -77,29 +52,28 @@ com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartnerLinksOr int index); /** - * - * *
    * A token to retrieve the next page of results.
-   * Pass to [ListChannelPartnerLinksRequest.page_token][google.cloud.channel.v1.ListChannelPartnerLinksRequest.page_token] to obtain that page.
+   * Pass to
+   * [ListChannelPartnerLinksRequest.page_token][google.cloud.channel.v1.ListChannelPartnerLinksRequest.page_token]
+   * to obtain that page.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve the next page of results.
-   * Pass to [ListChannelPartnerLinksRequest.page_token][google.cloud.channel.v1.ListChannelPartnerLinksRequest.page_token] to obtain that page.
+   * Pass to
+   * [ListChannelPartnerLinksRequest.page_token][google.cloud.channel.v1.ListChannelPartnerLinksRequest.page_token]
+   * to obtain that page.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequest.java similarity index 60% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequest.java index 5c4f0bfbc0f4..39d899abf33c 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
  * Request message for
  * [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs].
@@ -28,18 +11,15 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest}
  */
-public final class ListChannelPartnerRepricingConfigsRequest
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListChannelPartnerRepricingConfigsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest)
     ListChannelPartnerRepricingConfigsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListChannelPartnerRepricingConfigsRequest.newBuilder() to construct.
-  private ListChannelPartnerRepricingConfigsRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListChannelPartnerRepricingConfigsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListChannelPartnerRepricingConfigsRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -48,47 +28,42 @@ private ListChannelPartnerRepricingConfigsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListChannelPartnerRepricingConfigsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto
-        .internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto
-        .internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.class,
-            com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.Builder.class);
+            com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.class, com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
-   *
-   *
    * 
-   * Required. The resource name of the account's [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink].
-   * Parent uses the format:
+   * Required. The resource name of the account's
+   * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]. Parent
+   * uses the format:
    * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}.
    * Supports accounts/{account_id}/channelPartnerLinks/- to retrieve configs
    * for all channel partners.
    * 
* - * - * string parent = 1 [(.google.api.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 @@ -97,35 +72,34 @@ 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 account's [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink].
-   * Parent uses the format:
+   * Required. The resource name of the account's
+   * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]. Parent
+   * uses the format:
    * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}.
    * Supports accounts/{account_id}/channelPartnerLinks/- to retrieve configs
    * for all channel partners.
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -136,16 +110,13 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
-   * Optional. The maximum number of repricing configs to return. The service may return
-   * fewer than this value. If unspecified, returns a maximum of 50 rules. The
-   * maximum value is 100; values above 100 will be coerced to 100.
+   * Optional. The maximum number of repricing configs to return. The service
+   * may return fewer than this value. If unspecified, returns a maximum of 50
+   * rules. The maximum value is 100; values above 100 will be coerced to 100.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -156,17 +127,16 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Optional. A token identifying a page of results beyond the first page.
    * Obtained through
-   * [ListChannelPartnerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.next_page_token] of the
-   * previous [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs] call.
+   * [ListChannelPartnerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.next_page_token]
+   * of the previous
+   * [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs]
+   * call.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -175,32 +145,34 @@ 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 token identifying a page of results beyond the first page.
    * Obtained through
-   * [ListChannelPartnerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.next_page_token] of the
-   * previous [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs] call.
+   * [ListChannelPartnerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.next_page_token]
+   * of the previous
+   * [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs]
+   * call.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -211,13 +183,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
-   * Optional. A filter for [CloudChannelService.ListChannelPartnerRepricingConfigs]
-   * results (channel_partner_link only). You can use this filter when you
-   * support a BatchGet-like query.
-   * To use the filter, you must set
+   * Optional. A filter for
+   * [CloudChannelService.ListChannelPartnerRepricingConfigs] results
+   * (channel_partner_link only). You can use this filter when you support a
+   * BatchGet-like query. To use the filter, you must set
    * `parent=accounts/{account_id}/channelPartnerLinks/-`.
    * Example: `channel_partner_link =
    * accounts/account_id/channelPartnerLinks/c1` OR `channel_partner_link =
@@ -225,7 +195,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -234,20 +203,19 @@ 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; } } /** - * - * *
-   * Optional. A filter for [CloudChannelService.ListChannelPartnerRepricingConfigs]
-   * results (channel_partner_link only). You can use this filter when you
-   * support a BatchGet-like query.
-   * To use the filter, you must set
+   * Optional. A filter for
+   * [CloudChannelService.ListChannelPartnerRepricingConfigs] results
+   * (channel_partner_link only). You can use this filter when you support a
+   * BatchGet-like query. To use the filter, you must set
    * `parent=accounts/{account_id}/channelPartnerLinks/-`.
    * Example: `channel_partner_link =
    * accounts/account_id/channelPartnerLinks/c1` OR `channel_partner_link =
@@ -255,15 +223,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -272,7 +241,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -284,7 +252,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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,7 +279,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_); @@ -326,18 +296,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.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest other = - (com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; + com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest other = (com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -363,105 +336,96 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs].
@@ -469,33 +433,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest)
       com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto
-          .internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto
-          .internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.class,
-              com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.Builder.class);
+              com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.class, com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.newBuilder()
-    private Builder() {}
+    // Construct using com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -511,16 +475,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto
-          .internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest
-        getDefaultInstanceForType() {
-      return com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest
-          .getDefaultInstance();
+    public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest getDefaultInstanceForType() {
+      return com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -534,8 +496,7 @@ public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest bui
 
     @java.lang.Override
     public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest buildPartial() {
-      com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest result =
-          new com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest(this);
+      com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest result = new com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -548,51 +509,46 @@ public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest 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.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest) {
-        return mergeFrom(
-            (com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest) other);
+        return mergeFrom((com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest other) {
-      if (other
-          == com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest other) {
+      if (other == com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -634,37 +590,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 16:
-              {
-                pageSize_ = input.readInt32();
+              break;
+            } // case 10
+            case 16: {
+              pageSize_ = input.readInt32();
 
-                break;
-              } // case 16
-            case 26:
-              {
-                pageToken_ = input.readStringRequireUtf8();
+              break;
+            } // case 16
+            case 26: {
+              pageToken_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 34:
-              {
-                filter_ = input.readStringRequireUtf8();
+              break;
+            } // case 26
+            case 34: {
+              filter_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -677,26 +628,23 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
-     * Required. The resource name of the account's [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink].
-     * Parent uses the format:
+     * Required. The resource name of the account's
+     * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]. Parent
+     * uses the format:
      * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}.
      * Supports accounts/{account_id}/channelPartnerLinks/- to retrieve configs
      * for all channel partners.
      * 
* - * - * string parent = 1 [(.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; @@ -705,27 +653,25 @@ public java.lang.String getParent() { } } /** - * - * *
-     * Required. The resource name of the account's [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink].
-     * Parent uses the format:
+     * Required. The resource name of the account's
+     * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]. Parent
+     * uses the format:
      * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}.
      * Supports accounts/{account_id}/channelPartnerLinks/- to retrieve configs
      * for all channel partners.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -733,96 +679,83 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
-     * Required. The resource name of the account's [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink].
-     * Parent uses the format:
+     * Required. The resource name of the account's
+     * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]. Parent
+     * uses the format:
      * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}.
      * Supports accounts/{account_id}/channelPartnerLinks/- to retrieve configs
      * for all channel partners.
      * 
* - * - * string parent = 1 [(.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 account's [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink].
-     * Parent uses the format:
+     * Required. The resource name of the account's
+     * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]. Parent
+     * uses the format:
      * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}.
      * Supports accounts/{account_id}/channelPartnerLinks/- to retrieve configs
      * for all channel partners.
      * 
* - * - * string 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 account's [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink].
-     * Parent uses the format:
+     * Required. The resource name of the account's
+     * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]. Parent
+     * uses the format:
      * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}.
      * Supports accounts/{account_id}/channelPartnerLinks/- to retrieve configs
      * for all channel partners.
      * 
* - * - * string parent = 1 [(.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_ ; /** - * - * *
-     * Optional. The maximum number of repricing configs to return. The service may return
-     * fewer than this value. If unspecified, returns a maximum of 50 rules. The
-     * maximum value is 100; values above 100 will be coerced to 100.
+     * Optional. The maximum number of repricing configs to return. The service
+     * may return fewer than this value. If unspecified, returns a maximum of 50
+     * rules. The maximum value is 100; values above 100 will be coerced to 100.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -830,40 +763,34 @@ public int getPageSize() { return pageSize_; } /** - * - * *
-     * Optional. The maximum number of repricing configs to return. The service may return
-     * fewer than this value. If unspecified, returns a maximum of 50 rules. The
-     * maximum value is 100; values above 100 will be coerced to 100.
+     * Optional. The maximum number of repricing configs to return. The service
+     * may return fewer than this value. If unspecified, returns a maximum of 50
+     * rules. The maximum value is 100; values above 100 will be coerced to 100.
      * 
* * int32 page_size = 2 [(.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 repricing configs to return. The service may return
-     * fewer than this value. If unspecified, returns a maximum of 50 rules. The
-     * maximum value is 100; values above 100 will be coerced to 100.
+     * Optional. The maximum number of repricing configs to return. The service
+     * may return fewer than this value. If unspecified, returns a maximum of 50
+     * rules. The maximum value is 100; values above 100 will be coerced to 100.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -871,23 +798,23 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. A token identifying a page of results beyond the first page.
      * Obtained through
-     * [ListChannelPartnerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.next_page_token] of the
-     * previous [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs] call.
+     * [ListChannelPartnerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -896,24 +823,25 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. A token identifying a page of results beyond the first page.
      * Obtained through
-     * [ListChannelPartnerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.next_page_token] of the
-     * previous [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs] call.
+     * [ListChannelPartnerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -921,70 +849,69 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. A token identifying a page of results beyond the first page.
      * Obtained through
-     * [ListChannelPartnerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.next_page_token] of the
-     * previous [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs] call.
+     * [ListChannelPartnerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A token identifying a page of results beyond the first page.
      * Obtained through
-     * [ListChannelPartnerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.next_page_token] of the
-     * previous [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs] call.
+     * [ListChannelPartnerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Optional. A token identifying a page of results beyond the first page.
      * Obtained through
-     * [ListChannelPartnerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.next_page_token] of the
-     * previous [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs] call.
+     * [ListChannelPartnerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + 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; @@ -992,13 +919,11 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
-     * Optional. A filter for [CloudChannelService.ListChannelPartnerRepricingConfigs]
-     * results (channel_partner_link only). You can use this filter when you
-     * support a BatchGet-like query.
-     * To use the filter, you must set
+     * Optional. A filter for
+     * [CloudChannelService.ListChannelPartnerRepricingConfigs] results
+     * (channel_partner_link only). You can use this filter when you support a
+     * BatchGet-like query. To use the filter, you must set
      * `parent=accounts/{account_id}/channelPartnerLinks/-`.
      * Example: `channel_partner_link =
      * accounts/account_id/channelPartnerLinks/c1` OR `channel_partner_link =
@@ -1006,13 +931,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1021,13 +946,11 @@ public java.lang.String getFilter() { } } /** - * - * *
-     * Optional. A filter for [CloudChannelService.ListChannelPartnerRepricingConfigs]
-     * results (channel_partner_link only). You can use this filter when you
-     * support a BatchGet-like query.
-     * To use the filter, you must set
+     * Optional. A filter for
+     * [CloudChannelService.ListChannelPartnerRepricingConfigs] results
+     * (channel_partner_link only). You can use this filter when you support a
+     * BatchGet-like query. To use the filter, you must set
      * `parent=accounts/{account_id}/channelPartnerLinks/-`.
      * Example: `channel_partner_link =
      * accounts/account_id/channelPartnerLinks/c1` OR `channel_partner_link =
@@ -1035,14 +958,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1050,13 +974,11 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
-     * Optional. A filter for [CloudChannelService.ListChannelPartnerRepricingConfigs]
-     * results (channel_partner_link only). You can use this filter when you
-     * support a BatchGet-like query.
-     * To use the filter, you must set
+     * Optional. A filter for
+     * [CloudChannelService.ListChannelPartnerRepricingConfigs] results
+     * (channel_partner_link only). You can use this filter when you support a
+     * BatchGet-like query. To use the filter, you must set
      * `parent=accounts/{account_id}/channelPartnerLinks/-`.
      * Example: `channel_partner_link =
      * accounts/account_id/channelPartnerLinks/c1` OR `channel_partner_link =
@@ -1064,27 +986,25 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; } /** - * - * *
-     * Optional. A filter for [CloudChannelService.ListChannelPartnerRepricingConfigs]
-     * results (channel_partner_link only). You can use this filter when you
-     * support a BatchGet-like query.
-     * To use the filter, you must set
+     * Optional. A filter for
+     * [CloudChannelService.ListChannelPartnerRepricingConfigs] results
+     * (channel_partner_link only). You can use this filter when you support a
+     * BatchGet-like query. To use the filter, you must set
      * `parent=accounts/{account_id}/channelPartnerLinks/-`.
      * Example: `channel_partner_link =
      * accounts/account_id/channelPartnerLinks/c1` OR `channel_partner_link =
@@ -1092,23 +1012,20 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
-     * Optional. A filter for [CloudChannelService.ListChannelPartnerRepricingConfigs]
-     * results (channel_partner_link only). You can use this filter when you
-     * support a BatchGet-like query.
-     * To use the filter, you must set
+     * Optional. A filter for
+     * [CloudChannelService.ListChannelPartnerRepricingConfigs] results
+     * (channel_partner_link only). You can use this filter when you support a
+     * BatchGet-like query. To use the filter, you must set
      * `parent=accounts/{account_id}/channelPartnerLinks/-`.
      * Example: `channel_partner_link =
      * accounts/account_id/channelPartnerLinks/c1` OR `channel_partner_link =
@@ -1116,23 +1033,23 @@ public Builder clearFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1142,45 +1059,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest) - private static final com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest(); } - public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest - getDefaultInstance() { + public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListChannelPartnerRepricingConfigsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListChannelPartnerRepricingConfigsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1192,8 +1105,9 @@ public com.google.protobuf.Parser get } @java.lang.Override - public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest - getDefaultInstanceForType() { + public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequestOrBuilder.java similarity index 52% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequestOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequestOrBuilder.java index 57830ea1a804..a121095b1c64 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequestOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequestOrBuilder.java @@ -1,119 +1,90 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListChannelPartnerRepricingConfigsRequestOrBuilder - extends +public interface ListChannelPartnerRepricingConfigsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
-   * Required. The resource name of the account's [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink].
-   * Parent uses the format:
+   * Required. The resource name of the account's
+   * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]. Parent
+   * uses the format:
    * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}.
    * Supports accounts/{account_id}/channelPartnerLinks/- to retrieve configs
    * for all channel partners.
    * 
* - * - * string parent = 1 [(.google.api.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 account's [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink].
-   * Parent uses the format:
+   * Required. The resource name of the account's
+   * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]. Parent
+   * uses the format:
    * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}.
    * Supports accounts/{account_id}/channelPartnerLinks/- to retrieve configs
    * for all channel partners.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
-   * Optional. The maximum number of repricing configs to return. The service may return
-   * fewer than this value. If unspecified, returns a maximum of 50 rules. The
-   * maximum value is 100; values above 100 will be coerced to 100.
+   * Optional. The maximum number of repricing configs to return. The service
+   * may return fewer than this value. If unspecified, returns a maximum of 50
+   * rules. The maximum value is 100; values above 100 will be coerced to 100.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. A token identifying a page of results beyond the first page.
    * Obtained through
-   * [ListChannelPartnerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.next_page_token] of the
-   * previous [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs] call.
+   * [ListChannelPartnerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.next_page_token]
+   * of the previous
+   * [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs]
+   * call.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. A token identifying a page of results beyond the first page.
    * Obtained through
-   * [ListChannelPartnerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.next_page_token] of the
-   * previous [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs] call.
+   * [ListChannelPartnerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.next_page_token]
+   * of the previous
+   * [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs]
+   * call.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
-   * Optional. A filter for [CloudChannelService.ListChannelPartnerRepricingConfigs]
-   * results (channel_partner_link only). You can use this filter when you
-   * support a BatchGet-like query.
-   * To use the filter, you must set
+   * Optional. A filter for
+   * [CloudChannelService.ListChannelPartnerRepricingConfigs] results
+   * (channel_partner_link only). You can use this filter when you support a
+   * BatchGet-like query. To use the filter, you must set
    * `parent=accounts/{account_id}/channelPartnerLinks/-`.
    * Example: `channel_partner_link =
    * accounts/account_id/channelPartnerLinks/c1` OR `channel_partner_link =
@@ -121,18 +92,15 @@ public interface ListChannelPartnerRepricingConfigsRequestOrBuilder
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
-   * Optional. A filter for [CloudChannelService.ListChannelPartnerRepricingConfigs]
-   * results (channel_partner_link only). You can use this filter when you
-   * support a BatchGet-like query.
-   * To use the filter, you must set
+   * Optional. A filter for
+   * [CloudChannelService.ListChannelPartnerRepricingConfigs] results
+   * (channel_partner_link only). You can use this filter when you support a
+   * BatchGet-like query. To use the filter, you must set
    * `parent=accounts/{account_id}/channelPartnerLinks/-`.
    * Example: `channel_partner_link =
    * accounts/account_id/channelPartnerLinks/c1` OR `channel_partner_link =
@@ -140,8 +108,8 @@ public interface ListChannelPartnerRepricingConfigsRequestOrBuilder
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponse.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponse.java similarity index 59% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponse.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponse.java index b97e7cc8e727..a4f2391aba2f 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponse.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponse.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
  * Response message for
  * [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs].
@@ -28,18 +11,15 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse}
  */
-public final class ListChannelPartnerRepricingConfigsResponse
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListChannelPartnerRepricingConfigsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse)
     ListChannelPartnerRepricingConfigsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListChannelPartnerRepricingConfigsResponse.newBuilder() to construct.
-  private ListChannelPartnerRepricingConfigsResponse(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListChannelPartnerRepricingConfigsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListChannelPartnerRepricingConfigsResponse() {
     channelPartnerRepricingConfigs_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -47,127 +27,100 @@ private ListChannelPartnerRepricingConfigsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListChannelPartnerRepricingConfigsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto
-        .internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto
-        .internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.class,
-            com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.Builder.class);
+            com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.class, com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.Builder.class);
   }
 
   public static final int CHANNEL_PARTNER_REPRICING_CONFIGS_FIELD_NUMBER = 1;
-  private java.util.List
-      channelPartnerRepricingConfigs_;
+  private java.util.List channelPartnerRepricingConfigs_;
   /**
-   *
-   *
    * 
    * The repricing configs for this channel partner.
    * 
* - * - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; */ @java.lang.Override - public java.util.List - getChannelPartnerRepricingConfigsList() { + public java.util.List getChannelPartnerRepricingConfigsList() { return channelPartnerRepricingConfigs_; } /** - * - * *
    * The repricing configs for this channel partner.
    * 
* - * - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder> + public java.util.List getChannelPartnerRepricingConfigsOrBuilderList() { return channelPartnerRepricingConfigs_; } /** - * - * *
    * The repricing configs for this channel partner.
    * 
* - * - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; */ @java.lang.Override public int getChannelPartnerRepricingConfigsCount() { return channelPartnerRepricingConfigs_.size(); } /** - * - * *
    * The repricing configs for this channel partner.
    * 
* - * - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; */ @java.lang.Override - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig - getChannelPartnerRepricingConfigs(int index) { + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getChannelPartnerRepricingConfigs(int index) { return channelPartnerRepricingConfigs_.get(index); } /** - * - * *
    * The repricing configs for this channel partner.
    * 
* - * - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; */ @java.lang.Override - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder - getChannelPartnerRepricingConfigsOrBuilder(int index) { + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder getChannelPartnerRepricingConfigsOrBuilder( + int index) { return channelPartnerRepricingConfigs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token to retrieve the next page of results.
-   * Pass to [ListChannelPartnerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.page_token] to obtain
-   * that page.
+   * Pass to
+   * [ListChannelPartnerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.page_token]
+   * to obtain that page.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -176,31 +129,32 @@ 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 to retrieve the next page of results.
-   * Pass to [ListChannelPartnerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.page_token] to obtain
-   * that page.
+   * Pass to
+   * [ListChannelPartnerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.page_token]
+   * to obtain that page.
    * 
* * 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 { @@ -209,7 +163,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,7 +174,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < channelPartnerRepricingConfigs_.size(); i++) { output.writeMessage(1, channelPartnerRepricingConfigs_.get(i)); } @@ -238,9 +192,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < channelPartnerRepricingConfigs_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, channelPartnerRepricingConfigs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, channelPartnerRepricingConfigs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -253,17 +206,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.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse other = - (com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse) obj; + com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse other = (com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse) obj; if (!getChannelPartnerRepricingConfigsList() .equals(other.getChannelPartnerRepricingConfigsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -287,105 +240,96 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs].
@@ -393,33 +337,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse)
       com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto
-          .internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto
-          .internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.class,
-              com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.Builder.class);
+              com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.class, com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.newBuilder()
-    private Builder() {}
+    // Construct using com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -436,22 +380,19 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto
-          .internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse
-        getDefaultInstanceForType() {
-      return com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse
-          .getDefaultInstance();
+    public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse getDefaultInstanceForType() {
+      return com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse build() {
-      com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse result =
-          buildPartial();
+      com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse result = buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -460,13 +401,11 @@ public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse bu
 
     @java.lang.Override
     public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse buildPartial() {
-      com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse result =
-          new com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse(this);
+      com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse result = new com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse(this);
       int from_bitField0_ = bitField0_;
       if (channelPartnerRepricingConfigsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
-          channelPartnerRepricingConfigs_ =
-              java.util.Collections.unmodifiableList(channelPartnerRepricingConfigs_);
+          channelPartnerRepricingConfigs_ = java.util.Collections.unmodifiableList(channelPartnerRepricingConfigs_);
           bitField0_ = (bitField0_ & ~0x00000001);
         }
         result.channelPartnerRepricingConfigs_ = channelPartnerRepricingConfigs_;
@@ -482,51 +421,46 @@ public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse 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.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse) {
-        return mergeFrom(
-            (com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse) other);
+        return mergeFrom((com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse other) {
-      if (other
-          == com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse other) {
+      if (other == com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.getDefaultInstance()) return this;
       if (channelPartnerRepricingConfigsBuilder_ == null) {
         if (!other.channelPartnerRepricingConfigs_.isEmpty()) {
           if (channelPartnerRepricingConfigs_.isEmpty()) {
@@ -545,13 +479,11 @@ public Builder mergeFrom(
             channelPartnerRepricingConfigsBuilder_ = null;
             channelPartnerRepricingConfigs_ = other.channelPartnerRepricingConfigs_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            channelPartnerRepricingConfigsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getChannelPartnerRepricingConfigsFieldBuilder()
-                    : null;
+            channelPartnerRepricingConfigsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getChannelPartnerRepricingConfigsFieldBuilder() : null;
           } else {
-            channelPartnerRepricingConfigsBuilder_.addAllMessages(
-                other.channelPartnerRepricingConfigs_);
+            channelPartnerRepricingConfigsBuilder_.addAllMessages(other.channelPartnerRepricingConfigs_);
           }
         }
       }
@@ -585,33 +517,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.channel.v1.ChannelPartnerRepricingConfig m =
-                    input.readMessage(
-                        com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.parser(),
-                        extensionRegistry);
-                if (channelPartnerRepricingConfigsBuilder_ == null) {
-                  ensureChannelPartnerRepricingConfigsIsMutable();
-                  channelPartnerRepricingConfigs_.add(m);
-                } else {
-                  channelPartnerRepricingConfigsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
+            case 10: {
+              com.google.cloud.channel.v1.ChannelPartnerRepricingConfig m =
+                  input.readMessage(
+                      com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.parser(),
+                      extensionRegistry);
+              if (channelPartnerRepricingConfigsBuilder_ == null) {
+                ensureChannelPartnerRepricingConfigsIsMutable();
+                channelPartnerRepricingConfigs_.add(m);
+              } else {
+                channelPartnerRepricingConfigsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              nextPageToken_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -621,40 +550,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List
-        channelPartnerRepricingConfigs_ = java.util.Collections.emptyList();
-
+    private java.util.List channelPartnerRepricingConfigs_ =
+      java.util.Collections.emptyList();
     private void ensureChannelPartnerRepricingConfigsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        channelPartnerRepricingConfigs_ =
-            new java.util.ArrayList(
-                channelPartnerRepricingConfigs_);
+        channelPartnerRepricingConfigs_ = new java.util.ArrayList(channelPartnerRepricingConfigs_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.channel.v1.ChannelPartnerRepricingConfig,
-            com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder,
-            com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder>
-        channelPartnerRepricingConfigsBuilder_;
+        com.google.cloud.channel.v1.ChannelPartnerRepricingConfig, com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder, com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder> channelPartnerRepricingConfigsBuilder_;
 
     /**
-     *
-     *
      * 
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; */ - public java.util.List - getChannelPartnerRepricingConfigsList() { + public java.util.List getChannelPartnerRepricingConfigsList() { if (channelPartnerRepricingConfigsBuilder_ == null) { return java.util.Collections.unmodifiableList(channelPartnerRepricingConfigs_); } else { @@ -662,15 +579,11 @@ private void ensureChannelPartnerRepricingConfigsIsMutable() { } } /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; */ public int getChannelPartnerRepricingConfigsCount() { if (channelPartnerRepricingConfigsBuilder_ == null) { @@ -680,18 +593,13 @@ public int getChannelPartnerRepricingConfigsCount() { } } /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; */ - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig - getChannelPartnerRepricingConfigs(int index) { + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getChannelPartnerRepricingConfigs(int index) { if (channelPartnerRepricingConfigsBuilder_ == null) { return channelPartnerRepricingConfigs_.get(index); } else { @@ -699,15 +607,11 @@ public int getChannelPartnerRepricingConfigsCount() { } } /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; */ public Builder setChannelPartnerRepricingConfigs( int index, com.google.cloud.channel.v1.ChannelPartnerRepricingConfig value) { @@ -724,19 +628,14 @@ public Builder setChannelPartnerRepricingConfigs( return this; } /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; */ public Builder setChannelPartnerRepricingConfigs( - int index, - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder builderForValue) { + int index, com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder builderForValue) { if (channelPartnerRepricingConfigsBuilder_ == null) { ensureChannelPartnerRepricingConfigsIsMutable(); channelPartnerRepricingConfigs_.set(index, builderForValue.build()); @@ -747,18 +646,13 @@ public Builder setChannelPartnerRepricingConfigs( return this; } /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; */ - public Builder addChannelPartnerRepricingConfigs( - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig value) { + public Builder addChannelPartnerRepricingConfigs(com.google.cloud.channel.v1.ChannelPartnerRepricingConfig value) { if (channelPartnerRepricingConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -772,15 +666,11 @@ public Builder addChannelPartnerRepricingConfigs( return this; } /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; */ public Builder addChannelPartnerRepricingConfigs( int index, com.google.cloud.channel.v1.ChannelPartnerRepricingConfig value) { @@ -797,15 +687,11 @@ public Builder addChannelPartnerRepricingConfigs( return this; } /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; */ public Builder addChannelPartnerRepricingConfigs( com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder builderForValue) { @@ -819,19 +705,14 @@ public Builder addChannelPartnerRepricingConfigs( return this; } /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; */ public Builder addChannelPartnerRepricingConfigs( - int index, - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder builderForValue) { + int index, com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder builderForValue) { if (channelPartnerRepricingConfigsBuilder_ == null) { ensureChannelPartnerRepricingConfigsIsMutable(); channelPartnerRepricingConfigs_.add(index, builderForValue.build()); @@ -842,19 +723,14 @@ public Builder addChannelPartnerRepricingConfigs( return this; } /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; */ public Builder addAllChannelPartnerRepricingConfigs( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (channelPartnerRepricingConfigsBuilder_ == null) { ensureChannelPartnerRepricingConfigsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -866,15 +742,11 @@ public Builder addAllChannelPartnerRepricingConfigs( return this; } /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; */ public Builder clearChannelPartnerRepricingConfigs() { if (channelPartnerRepricingConfigsBuilder_ == null) { @@ -887,15 +759,11 @@ public Builder clearChannelPartnerRepricingConfigs() { return this; } /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; */ public Builder removeChannelPartnerRepricingConfigs(int index) { if (channelPartnerRepricingConfigsBuilder_ == null) { @@ -908,53 +776,39 @@ public Builder removeChannelPartnerRepricingConfigs(int index) { return this; } /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; */ - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder - getChannelPartnerRepricingConfigsBuilder(int index) { + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder getChannelPartnerRepricingConfigsBuilder( + int index) { return getChannelPartnerRepricingConfigsFieldBuilder().getBuilder(index); } /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; */ - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder - getChannelPartnerRepricingConfigsOrBuilder(int index) { + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder getChannelPartnerRepricingConfigsOrBuilder( + int index) { if (channelPartnerRepricingConfigsBuilder_ == null) { - return channelPartnerRepricingConfigs_.get(index); - } else { + return channelPartnerRepricingConfigs_.get(index); } else { return channelPartnerRepricingConfigsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; */ - public java.util.List< - ? extends com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder> - getChannelPartnerRepricingConfigsOrBuilderList() { + public java.util.List + getChannelPartnerRepricingConfigsOrBuilderList() { if (channelPartnerRepricingConfigsBuilder_ != null) { return channelPartnerRepricingConfigsBuilder_.getMessageOrBuilderList(); } else { @@ -962,67 +816,45 @@ public Builder removeChannelPartnerRepricingConfigs(int index) { } } /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; */ - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder - addChannelPartnerRepricingConfigsBuilder() { - return getChannelPartnerRepricingConfigsFieldBuilder() - .addBuilder( - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance()); + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder addChannelPartnerRepricingConfigsBuilder() { + return getChannelPartnerRepricingConfigsFieldBuilder().addBuilder( + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance()); } /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; */ - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder - addChannelPartnerRepricingConfigsBuilder(int index) { - return getChannelPartnerRepricingConfigsFieldBuilder() - .addBuilder( - index, - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance()); + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder addChannelPartnerRepricingConfigsBuilder( + int index) { + return getChannelPartnerRepricingConfigsFieldBuilder().addBuilder( + index, com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance()); } /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; */ - public java.util.List - getChannelPartnerRepricingConfigsBuilderList() { + public java.util.List + getChannelPartnerRepricingConfigsBuilderList() { return getChannelPartnerRepricingConfigsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig, - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder, - com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder> + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig, com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder, com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder> getChannelPartnerRepricingConfigsFieldBuilder() { if (channelPartnerRepricingConfigsBuilder_ == null) { - channelPartnerRepricingConfigsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig, - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder, - com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder>( + channelPartnerRepricingConfigsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig, com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder, com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder>( channelPartnerRepricingConfigs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1034,22 +866,21 @@ public Builder removeChannelPartnerRepricingConfigs(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve the next page of results.
-     * Pass to [ListChannelPartnerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.page_token] to obtain
-     * that page.
+     * Pass to
+     * [ListChannelPartnerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.page_token]
+     * to obtain that page.
      * 
* * 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; @@ -1058,23 +889,23 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve the next page of results.
-     * Pass to [ListChannelPartnerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.page_token] to obtain
-     * that page.
+     * Pass to
+     * [ListChannelPartnerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.page_token]
+     * to obtain that page.
      * 
* * 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 { @@ -1082,74 +913,70 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve the next page of results.
-     * Pass to [ListChannelPartnerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.page_token] to obtain
-     * that page.
+     * Pass to
+     * [ListChannelPartnerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.page_token]
+     * to obtain that page.
      * 
* * 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 to retrieve the next page of results.
-     * Pass to [ListChannelPartnerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.page_token] to obtain
-     * that page.
+     * Pass to
+     * [ListChannelPartnerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.page_token]
+     * to obtain that page.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
-     * Pass to [ListChannelPartnerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.page_token] to obtain
-     * that page.
+     * Pass to
+     * [ListChannelPartnerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.page_token]
+     * to obtain that page.
      * 
* * 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); } @@ -1159,45 +986,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse) - private static final com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse(); } - public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse - getDefaultInstance() { + public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListChannelPartnerRepricingConfigsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListChannelPartnerRepricingConfigsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1209,8 +1032,9 @@ public com.google.protobuf.Parser ge } @java.lang.Override - public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse - getDefaultInstanceForType() { + public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponseOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponseOrBuilder.java new file mode 100644 index 000000000000..f37276e96e7c --- /dev/null +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponseOrBuilder.java @@ -0,0 +1,79 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/service.proto + +package com.google.cloud.channel.v1; + +public interface ListChannelPartnerRepricingConfigsResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The repricing configs for this channel partner.
+   * 
+ * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + */ + java.util.List + getChannelPartnerRepricingConfigsList(); + /** + *
+   * The repricing configs for this channel partner.
+   * 
+ * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + */ + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getChannelPartnerRepricingConfigs(int index); + /** + *
+   * The repricing configs for this channel partner.
+   * 
+ * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + */ + int getChannelPartnerRepricingConfigsCount(); + /** + *
+   * The repricing configs for this channel partner.
+   * 
+ * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + */ + java.util.List + getChannelPartnerRepricingConfigsOrBuilderList(); + /** + *
+   * The repricing configs for this channel partner.
+   * 
+ * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + */ + com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder getChannelPartnerRepricingConfigsOrBuilder( + int index); + + /** + *
+   * A token to retrieve the next page of results.
+   * Pass to
+   * [ListChannelPartnerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.page_token]
+   * to obtain that page.
+   * 
+ * + * string next_page_token = 2; + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + *
+   * A token to retrieve the next page of results.
+   * Pass to
+   * [ListChannelPartnerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.page_token]
+   * to obtain that page.
+   * 
+ * + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString + getNextPageTokenBytes(); +} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequest.java similarity index 68% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequest.java index 7fc38d482513..7d00077f62ee 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequest.java @@ -1,44 +1,25 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Request message for [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs].
+ * Request message for
+ * [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs].
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListCustomerRepricingConfigsRequest} */ -public final class ListCustomerRepricingConfigsRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCustomerRepricingConfigsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListCustomerRepricingConfigsRequest) ListCustomerRepricingConfigsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCustomerRepricingConfigsRequest.newBuilder() to construct. - private ListCustomerRepricingConfigsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListCustomerRepricingConfigsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCustomerRepricingConfigsRequest() { parent_ = ""; pageToken_ = ""; @@ -47,35 +28,32 @@ private ListCustomerRepricingConfigsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCustomerRepricingConfigsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.class, - com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.Builder.class); + com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.class, com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource name of the customer.
    * Parent uses the format: accounts/{account_id}/customers/{customer_id}.
@@ -83,10 +61,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * customers.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -95,15 +70,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 customer.
    * Parent uses the format: accounts/{account_id}/customers/{customer_id}.
@@ -111,18 +85,17 @@ public java.lang.String getParent() {
    * customers.
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -133,16 +106,13 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
-   * Optional. The maximum number of repricing configs to return. The service may return
-   * fewer than this value. If unspecified, returns a maximum of 50 rules. The
-   * maximum value is 100; values above 100 will be coerced to 100.
+   * Optional. The maximum number of repricing configs to return. The service
+   * may return fewer than this value. If unspecified, returns a maximum of 50
+   * rules. The maximum value is 100; values above 100 will be coerced to 100.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -153,17 +123,16 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Optional. A token identifying a page of results beyond the first page.
    * Obtained through
-   * [ListCustomerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.next_page_token] of the previous
-   * [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs] call.
+   * [ListCustomerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.next_page_token]
+   * of the previous
+   * [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs]
+   * call.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -172,32 +141,34 @@ 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 token identifying a page of results beyond the first page.
    * Obtained through
-   * [ListCustomerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.next_page_token] of the previous
-   * [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs] call.
+   * [ListCustomerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.next_page_token]
+   * of the previous
+   * [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs]
+   * call.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -208,8 +179,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * Optional. A filter for [CloudChannelService.ListCustomerRepricingConfigs]
    * results (customer only). You can use this filter when you support
@@ -220,7 +189,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -229,15 +197,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; } } /** - * - * *
    * Optional. A filter for [CloudChannelService.ListCustomerRepricingConfigs]
    * results (customer only). You can use this filter when you support
@@ -248,15 +215,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -265,7 +233,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -277,7 +244,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -303,7 +271,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_); @@ -319,18 +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.cloud.channel.v1.ListCustomerRepricingConfigsRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest other = - (com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; + com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest other = (com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -356,136 +328,130 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Request message for [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs].
+   * Request message for
+   * [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs].
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListCustomerRepricingConfigsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListCustomerRepricingConfigsRequest) com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.class, - com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.Builder.class); + com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.class, com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -501,14 +467,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_descriptor; } @java.lang.Override - public com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest - getDefaultInstanceForType() { + public com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest getDefaultInstanceForType() { return com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.getDefaultInstance(); } @@ -523,8 +488,7 @@ public com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest build() { @java.lang.Override public com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest buildPartial() { - com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest result = - new com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest(this); + com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest result = new com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -537,50 +501,46 @@ public com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest 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.cloud.channel.v1.ListCustomerRepricingConfigsRequest) { - return mergeFrom((com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest) other); + return mergeFrom((com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest other) { - if (other - == com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest other) { + if (other == com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -622,37 +582,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -665,8 +620,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the customer.
      * Parent uses the format: accounts/{account_id}/customers/{customer_id}.
@@ -674,16 +627,14 @@ public Builder mergeFrom(
      * customers.
      * 
* - * - * string parent = 1 [(.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; @@ -692,8 +643,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the customer.
      * Parent uses the format: accounts/{account_id}/customers/{customer_id}.
@@ -701,17 +650,16 @@ public java.lang.String getParent() {
      * customers.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -719,8 +667,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the customer.
      * Parent uses the format: accounts/{account_id}/customers/{customer_id}.
@@ -728,25 +674,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * customers.
      * 
* - * - * string parent = 1 [(.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 customer.
      * Parent uses the format: accounts/{account_id}/customers/{customer_id}.
@@ -754,21 +696,16 @@ public Builder setParent(java.lang.String value) {
      * customers.
      * 
* - * - * string 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 customer.
      * Parent uses the format: accounts/{account_id}/customers/{customer_id}.
@@ -776,36 +713,31 @@ public Builder clearParent() {
      * customers.
      * 
* - * - * string parent = 1 [(.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_ ; /** - * - * *
-     * Optional. The maximum number of repricing configs to return. The service may return
-     * fewer than this value. If unspecified, returns a maximum of 50 rules. The
-     * maximum value is 100; values above 100 will be coerced to 100.
+     * Optional. The maximum number of repricing configs to return. The service
+     * may return fewer than this value. If unspecified, returns a maximum of 50
+     * rules. The maximum value is 100; values above 100 will be coerced to 100.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -813,40 +745,34 @@ public int getPageSize() { return pageSize_; } /** - * - * *
-     * Optional. The maximum number of repricing configs to return. The service may return
-     * fewer than this value. If unspecified, returns a maximum of 50 rules. The
-     * maximum value is 100; values above 100 will be coerced to 100.
+     * Optional. The maximum number of repricing configs to return. The service
+     * may return fewer than this value. If unspecified, returns a maximum of 50
+     * rules. The maximum value is 100; values above 100 will be coerced to 100.
      * 
* * int32 page_size = 2 [(.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 repricing configs to return. The service may return
-     * fewer than this value. If unspecified, returns a maximum of 50 rules. The
-     * maximum value is 100; values above 100 will be coerced to 100.
+     * Optional. The maximum number of repricing configs to return. The service
+     * may return fewer than this value. If unspecified, returns a maximum of 50
+     * rules. The maximum value is 100; values above 100 will be coerced to 100.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -854,23 +780,23 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. A token identifying a page of results beyond the first page.
      * Obtained through
-     * [ListCustomerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.next_page_token] of the previous
-     * [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs] call.
+     * [ListCustomerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -879,24 +805,25 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. A token identifying a page of results beyond the first page.
      * Obtained through
-     * [ListCustomerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.next_page_token] of the previous
-     * [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs] call.
+     * [ListCustomerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -904,70 +831,69 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. A token identifying a page of results beyond the first page.
      * Obtained through
-     * [ListCustomerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.next_page_token] of the previous
-     * [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs] call.
+     * [ListCustomerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A token identifying a page of results beyond the first page.
      * Obtained through
-     * [ListCustomerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.next_page_token] of the previous
-     * [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs] call.
+     * [ListCustomerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Optional. A token identifying a page of results beyond the first page.
      * Obtained through
-     * [ListCustomerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.next_page_token] of the previous
-     * [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs] call.
+     * [ListCustomerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + 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; @@ -975,8 +901,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. A filter for [CloudChannelService.ListCustomerRepricingConfigs]
      * results (customer only). You can use this filter when you support
@@ -987,13 +911,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1002,8 +926,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. A filter for [CloudChannelService.ListCustomerRepricingConfigs]
      * results (customer only). You can use this filter when you support
@@ -1014,14 +936,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1029,8 +952,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. A filter for [CloudChannelService.ListCustomerRepricingConfigs]
      * results (customer only). You can use this filter when you support
@@ -1041,22 +962,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; } /** - * - * *
      * Optional. A filter for [CloudChannelService.ListCustomerRepricingConfigs]
      * results (customer only). You can use this filter when you support
@@ -1067,18 +986,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Optional. A filter for [CloudChannelService.ListCustomerRepricingConfigs]
      * results (customer only). You can use this filter when you support
@@ -1089,23 +1005,23 @@ public Builder clearFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1115,43 +1031,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListCustomerRepricingConfigsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListCustomerRepricingConfigsRequest) - private static final com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest(); } - public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest - getDefaultInstance() { + public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCustomerRepricingConfigsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCustomerRepricingConfigsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1163,8 +1077,9 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest - getDefaultInstanceForType() { + public com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequestOrBuilder.java similarity index 69% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequestOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequestOrBuilder.java index 4d54fe3082f0..f7b5391fdc4b 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequestOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequestOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListCustomerRepricingConfigsRequestOrBuilder - extends +public interface ListCustomerRepricingConfigsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListCustomerRepricingConfigsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the customer.
    * Parent uses the format: accounts/{account_id}/customers/{customer_id}.
@@ -33,16 +15,11 @@ public interface ListCustomerRepricingConfigsRequestOrBuilder
    * customers.
    * 
* - * - * string parent = 1 [(.google.api.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 customer.
    * Parent uses the format: accounts/{account_id}/customers/{customer_id}.
@@ -50,63 +27,55 @@ public interface ListCustomerRepricingConfigsRequestOrBuilder
    * customers.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
-   * Optional. The maximum number of repricing configs to return. The service may return
-   * fewer than this value. If unspecified, returns a maximum of 50 rules. The
-   * maximum value is 100; values above 100 will be coerced to 100.
+   * Optional. The maximum number of repricing configs to return. The service
+   * may return fewer than this value. If unspecified, returns a maximum of 50
+   * rules. The maximum value is 100; values above 100 will be coerced to 100.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. A token identifying a page of results beyond the first page.
    * Obtained through
-   * [ListCustomerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.next_page_token] of the previous
-   * [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs] call.
+   * [ListCustomerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.next_page_token]
+   * of the previous
+   * [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs]
+   * call.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. A token identifying a page of results beyond the first page.
    * Obtained through
-   * [ListCustomerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.next_page_token] of the previous
-   * [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs] call.
+   * [ListCustomerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.next_page_token]
+   * of the previous
+   * [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs]
+   * call.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. A filter for [CloudChannelService.ListCustomerRepricingConfigs]
    * results (customer only). You can use this filter when you support
@@ -117,13 +86,10 @@ public interface ListCustomerRepricingConfigsRequestOrBuilder
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. A filter for [CloudChannelService.ListCustomerRepricingConfigs]
    * results (customer only). You can use this filter when you support
@@ -134,8 +100,8 @@ public interface ListCustomerRepricingConfigsRequestOrBuilder
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponse.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponse.java similarity index 61% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponse.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponse.java index 6aad8e177dc1..5d16b399cbb5 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponse.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponse.java @@ -1,44 +1,25 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Response message for [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs].
+ * Response message for
+ * [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs].
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListCustomerRepricingConfigsResponse} */ -public final class ListCustomerRepricingConfigsResponse - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCustomerRepricingConfigsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListCustomerRepricingConfigsResponse) ListCustomerRepricingConfigsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCustomerRepricingConfigsResponse.newBuilder() to construct. - private ListCustomerRepricingConfigsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListCustomerRepricingConfigsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCustomerRepricingConfigsResponse() { customerRepricingConfigs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -46,121 +27,100 @@ private ListCustomerRepricingConfigsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCustomerRepricingConfigsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.class, - com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.Builder.class); + com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.class, com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.Builder.class); } public static final int CUSTOMER_REPRICING_CONFIGS_FIELD_NUMBER = 1; - private java.util.List - customerRepricingConfigs_; + private java.util.List customerRepricingConfigs_; /** - * - * *
    * The repricing configs for this channel partner.
    * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; */ @java.lang.Override - public java.util.List - getCustomerRepricingConfigsList() { + public java.util.List getCustomerRepricingConfigsList() { return customerRepricingConfigs_; } /** - * - * *
    * The repricing configs for this channel partner.
    * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getCustomerRepricingConfigsOrBuilderList() { return customerRepricingConfigs_; } /** - * - * *
    * The repricing configs for this channel partner.
    * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; */ @java.lang.Override public int getCustomerRepricingConfigsCount() { return customerRepricingConfigs_.size(); } /** - * - * *
    * The repricing configs for this channel partner.
    * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; */ @java.lang.Override - public com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingConfigs( - int index) { + public com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingConfigs(int index) { return customerRepricingConfigs_.get(index); } /** - * - * *
    * The repricing configs for this channel partner.
    * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; */ @java.lang.Override - public com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder - getCustomerRepricingConfigsOrBuilder(int index) { + public com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder getCustomerRepricingConfigsOrBuilder( + int index) { return customerRepricingConfigs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token to retrieve the next page of results.
-   * Pass to [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token] to obtain that
-   * page.
+   * Pass to
+   * [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token]
+   * to obtain that page.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -169,31 +129,32 @@ 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 to retrieve the next page of results.
-   * Pass to [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token] to obtain that
-   * page.
+   * Pass to
+   * [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token]
+   * to obtain that page.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -202,7 +163,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -214,7 +174,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < customerRepricingConfigs_.size(); i++) { output.writeMessage(1, customerRepricingConfigs_.get(i)); } @@ -231,9 +192,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < customerRepricingConfigs_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, customerRepricingConfigs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, customerRepricingConfigs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -246,17 +206,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.cloud.channel.v1.ListCustomerRepricingConfigsResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse other = - (com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse) obj; + com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse other = (com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse) obj; - if (!getCustomerRepricingConfigsList().equals(other.getCustomerRepricingConfigsList())) - return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getCustomerRepricingConfigsList() + .equals(other.getCustomerRepricingConfigsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -280,136 +240,130 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs].
+   * Response message for
+   * [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs].
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListCustomerRepricingConfigsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListCustomerRepricingConfigsResponse) com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.class, - com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.Builder.class); + com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.class, com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.Builder.class); } // Construct using com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -426,14 +380,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_descriptor; } @java.lang.Override - public com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse - getDefaultInstanceForType() { + public com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse getDefaultInstanceForType() { return com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.getDefaultInstance(); } @@ -448,13 +401,11 @@ public com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse build() @java.lang.Override public com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse buildPartial() { - com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse result = - new com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse(this); + com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse result = new com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse(this); int from_bitField0_ = bitField0_; if (customerRepricingConfigsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - customerRepricingConfigs_ = - java.util.Collections.unmodifiableList(customerRepricingConfigs_); + customerRepricingConfigs_ = java.util.Collections.unmodifiableList(customerRepricingConfigs_); bitField0_ = (bitField0_ & ~0x00000001); } result.customerRepricingConfigs_ = customerRepricingConfigs_; @@ -470,50 +421,46 @@ public com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse 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.cloud.channel.v1.ListCustomerRepricingConfigsResponse) { - return mergeFrom((com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse) other); + return mergeFrom((com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse other) { - if (other - == com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse other) { + if (other == com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.getDefaultInstance()) return this; if (customerRepricingConfigsBuilder_ == null) { if (!other.customerRepricingConfigs_.isEmpty()) { if (customerRepricingConfigs_.isEmpty()) { @@ -532,10 +479,9 @@ public Builder mergeFrom( customerRepricingConfigsBuilder_ = null; customerRepricingConfigs_ = other.customerRepricingConfigs_; bitField0_ = (bitField0_ & ~0x00000001); - customerRepricingConfigsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getCustomerRepricingConfigsFieldBuilder() - : null; + customerRepricingConfigsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCustomerRepricingConfigsFieldBuilder() : null; } else { customerRepricingConfigsBuilder_.addAllMessages(other.customerRepricingConfigs_); } @@ -571,33 +517,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.channel.v1.CustomerRepricingConfig m = - input.readMessage( - com.google.cloud.channel.v1.CustomerRepricingConfig.parser(), - extensionRegistry); - if (customerRepricingConfigsBuilder_ == null) { - ensureCustomerRepricingConfigsIsMutable(); - customerRepricingConfigs_.add(m); - } else { - customerRepricingConfigsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.cloud.channel.v1.CustomerRepricingConfig m = + input.readMessage( + com.google.cloud.channel.v1.CustomerRepricingConfig.parser(), + extensionRegistry); + if (customerRepricingConfigsBuilder_ == null) { + ensureCustomerRepricingConfigsIsMutable(); + customerRepricingConfigs_.add(m); + } else { + customerRepricingConfigsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -607,40 +550,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - customerRepricingConfigs_ = java.util.Collections.emptyList(); - + private java.util.List customerRepricingConfigs_ = + java.util.Collections.emptyList(); private void ensureCustomerRepricingConfigsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - customerRepricingConfigs_ = - new java.util.ArrayList( - customerRepricingConfigs_); + customerRepricingConfigs_ = new java.util.ArrayList(customerRepricingConfigs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.CustomerRepricingConfig, - com.google.cloud.channel.v1.CustomerRepricingConfig.Builder, - com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder> - customerRepricingConfigsBuilder_; + com.google.cloud.channel.v1.CustomerRepricingConfig, com.google.cloud.channel.v1.CustomerRepricingConfig.Builder, com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder> customerRepricingConfigsBuilder_; /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; */ - public java.util.List - getCustomerRepricingConfigsList() { + public java.util.List getCustomerRepricingConfigsList() { if (customerRepricingConfigsBuilder_ == null) { return java.util.Collections.unmodifiableList(customerRepricingConfigs_); } else { @@ -648,15 +579,11 @@ private void ensureCustomerRepricingConfigsIsMutable() { } } /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; */ public int getCustomerRepricingConfigsCount() { if (customerRepricingConfigsBuilder_ == null) { @@ -666,18 +593,13 @@ public int getCustomerRepricingConfigsCount() { } } /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; */ - public com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingConfigs( - int index) { + public com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingConfigs(int index) { if (customerRepricingConfigsBuilder_ == null) { return customerRepricingConfigs_.get(index); } else { @@ -685,15 +607,11 @@ public com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingC } } /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; */ public Builder setCustomerRepricingConfigs( int index, com.google.cloud.channel.v1.CustomerRepricingConfig value) { @@ -710,15 +628,11 @@ public Builder setCustomerRepricingConfigs( return this; } /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; */ public Builder setCustomerRepricingConfigs( int index, com.google.cloud.channel.v1.CustomerRepricingConfig.Builder builderForValue) { @@ -732,18 +646,13 @@ public Builder setCustomerRepricingConfigs( return this; } /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; */ - public Builder addCustomerRepricingConfigs( - com.google.cloud.channel.v1.CustomerRepricingConfig value) { + public Builder addCustomerRepricingConfigs(com.google.cloud.channel.v1.CustomerRepricingConfig value) { if (customerRepricingConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -757,15 +666,11 @@ public Builder addCustomerRepricingConfigs( return this; } /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; */ public Builder addCustomerRepricingConfigs( int index, com.google.cloud.channel.v1.CustomerRepricingConfig value) { @@ -782,15 +687,11 @@ public Builder addCustomerRepricingConfigs( return this; } /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; */ public Builder addCustomerRepricingConfigs( com.google.cloud.channel.v1.CustomerRepricingConfig.Builder builderForValue) { @@ -804,15 +705,11 @@ public Builder addCustomerRepricingConfigs( return this; } /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; */ public Builder addCustomerRepricingConfigs( int index, com.google.cloud.channel.v1.CustomerRepricingConfig.Builder builderForValue) { @@ -826,21 +723,18 @@ public Builder addCustomerRepricingConfigs( return this; } /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; */ public Builder addAllCustomerRepricingConfigs( java.lang.Iterable values) { if (customerRepricingConfigsBuilder_ == null) { ensureCustomerRepricingConfigsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, customerRepricingConfigs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, customerRepricingConfigs_); onChanged(); } else { customerRepricingConfigsBuilder_.addAllMessages(values); @@ -848,15 +742,11 @@ public Builder addAllCustomerRepricingConfigs( return this; } /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; */ public Builder clearCustomerRepricingConfigs() { if (customerRepricingConfigsBuilder_ == null) { @@ -869,15 +759,11 @@ public Builder clearCustomerRepricingConfigs() { return this; } /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; */ public Builder removeCustomerRepricingConfigs(int index) { if (customerRepricingConfigsBuilder_ == null) { @@ -890,52 +776,39 @@ public Builder removeCustomerRepricingConfigs(int index) { return this; } /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; */ - public com.google.cloud.channel.v1.CustomerRepricingConfig.Builder - getCustomerRepricingConfigsBuilder(int index) { + public com.google.cloud.channel.v1.CustomerRepricingConfig.Builder getCustomerRepricingConfigsBuilder( + int index) { return getCustomerRepricingConfigsFieldBuilder().getBuilder(index); } /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; */ - public com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder - getCustomerRepricingConfigsOrBuilder(int index) { + public com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder getCustomerRepricingConfigsOrBuilder( + int index) { if (customerRepricingConfigsBuilder_ == null) { - return customerRepricingConfigs_.get(index); - } else { + return customerRepricingConfigs_.get(index); } else { return customerRepricingConfigsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; */ - public java.util.List - getCustomerRepricingConfigsOrBuilderList() { + public java.util.List + getCustomerRepricingConfigsOrBuilderList() { if (customerRepricingConfigsBuilder_ != null) { return customerRepricingConfigsBuilder_.getMessageOrBuilderList(); } else { @@ -943,65 +816,45 @@ public Builder removeCustomerRepricingConfigs(int index) { } } /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; */ - public com.google.cloud.channel.v1.CustomerRepricingConfig.Builder - addCustomerRepricingConfigsBuilder() { - return getCustomerRepricingConfigsFieldBuilder() - .addBuilder(com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance()); + public com.google.cloud.channel.v1.CustomerRepricingConfig.Builder addCustomerRepricingConfigsBuilder() { + return getCustomerRepricingConfigsFieldBuilder().addBuilder( + com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance()); } /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; */ - public com.google.cloud.channel.v1.CustomerRepricingConfig.Builder - addCustomerRepricingConfigsBuilder(int index) { - return getCustomerRepricingConfigsFieldBuilder() - .addBuilder( - index, com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance()); + public com.google.cloud.channel.v1.CustomerRepricingConfig.Builder addCustomerRepricingConfigsBuilder( + int index) { + return getCustomerRepricingConfigsFieldBuilder().addBuilder( + index, com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance()); } /** - * - * *
      * The repricing configs for this channel partner.
      * 
* - * - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; */ - public java.util.List - getCustomerRepricingConfigsBuilderList() { + public java.util.List + getCustomerRepricingConfigsBuilderList() { return getCustomerRepricingConfigsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.CustomerRepricingConfig, - com.google.cloud.channel.v1.CustomerRepricingConfig.Builder, - com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder> + com.google.cloud.channel.v1.CustomerRepricingConfig, com.google.cloud.channel.v1.CustomerRepricingConfig.Builder, com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder> getCustomerRepricingConfigsFieldBuilder() { if (customerRepricingConfigsBuilder_ == null) { - customerRepricingConfigsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.CustomerRepricingConfig, - com.google.cloud.channel.v1.CustomerRepricingConfig.Builder, - com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder>( + customerRepricingConfigsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.CustomerRepricingConfig, com.google.cloud.channel.v1.CustomerRepricingConfig.Builder, com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder>( customerRepricingConfigs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1013,22 +866,21 @@ public Builder removeCustomerRepricingConfigs(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve the next page of results.
-     * Pass to [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token] to obtain that
-     * page.
+     * Pass to
+     * [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token]
+     * to obtain that page.
      * 
* * 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; @@ -1037,23 +889,23 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve the next page of results.
-     * Pass to [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token] to obtain that
-     * page.
+     * Pass to
+     * [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token]
+     * to obtain that page.
      * 
* * 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 { @@ -1061,74 +913,70 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve the next page of results.
-     * Pass to [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token] to obtain that
-     * page.
+     * Pass to
+     * [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token]
+     * to obtain that page.
      * 
* * 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 to retrieve the next page of results.
-     * Pass to [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token] to obtain that
-     * page.
+     * Pass to
+     * [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token]
+     * to obtain that page.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
-     * Pass to [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token] to obtain that
-     * page.
+     * Pass to
+     * [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token]
+     * to obtain that page.
      * 
* * 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); } @@ -1138,43 +986,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListCustomerRepricingConfigsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListCustomerRepricingConfigsResponse) - private static final com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse(); } - public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse - getDefaultInstance() { + public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCustomerRepricingConfigsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCustomerRepricingConfigsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1186,8 +1032,9 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse - getDefaultInstanceForType() { + public com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponseOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponseOrBuilder.java similarity index 58% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponseOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponseOrBuilder.java index 6526a2258bec..4e8df931124c 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponseOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponseOrBuilder.java @@ -1,113 +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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListCustomerRepricingConfigsResponseOrBuilder - extends +public interface ListCustomerRepricingConfigsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListCustomerRepricingConfigsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The repricing configs for this channel partner.
    * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; */ - java.util.List + java.util.List getCustomerRepricingConfigsList(); /** - * - * *
    * The repricing configs for this channel partner.
    * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; */ com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingConfigs(int index); /** - * - * *
    * The repricing configs for this channel partner.
    * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; */ int getCustomerRepricingConfigsCount(); /** - * - * *
    * The repricing configs for this channel partner.
    * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; */ - java.util.List + java.util.List getCustomerRepricingConfigsOrBuilderList(); /** - * - * *
    * The repricing configs for this channel partner.
    * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; - * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; */ com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder getCustomerRepricingConfigsOrBuilder( int index); /** - * - * *
    * A token to retrieve the next page of results.
-   * Pass to [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token] to obtain that
-   * page.
+   * Pass to
+   * [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token]
+   * to obtain that page.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve the next page of results.
-   * Pass to [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token] to obtain that
-   * page.
+   * Pass to
+   * [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token]
+   * to obtain that page.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequest.java similarity index 69% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequest.java index e33fb46ab802..380b33dd35bc 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequest.java @@ -1,42 +1,25 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Request message for [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers]
+ * Request message for
+ * [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers]
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListCustomersRequest} */ -public final class ListCustomersRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCustomersRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListCustomersRequest) ListCustomersRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCustomersRequest.newBuilder() to construct. private ListCustomersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCustomersRequest() { parent_ = ""; pageToken_ = ""; @@ -45,42 +28,38 @@ private ListCustomersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCustomersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListCustomersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListCustomersRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListCustomersRequest.class, - com.google.cloud.channel.v1.ListCustomersRequest.Builder.class); + com.google.cloud.channel.v1.ListCustomersRequest.class, com.google.cloud.channel.v1.ListCustomersRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource name of the reseller account to list customers from.
    * Parent uses the format: accounts/{account_id}.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -89,30 +68,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 reseller account to list customers from.
    * Parent uses the format: accounts/{account_id}.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -123,16 +102,13 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
-   * Optional. The maximum number of customers to return. The service may return fewer
-   * than this value. If unspecified, returns at most 10 customers. The
+   * Optional. The maximum number of customers to return. The service may return
+   * fewer than this value. If unspecified, returns at most 10 customers. The
    * maximum value is 50.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -143,17 +119,16 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Optional. A token identifying a page of results other than the first page.
    * Obtained through
-   * [ListCustomersResponse.next_page_token][google.cloud.channel.v1.ListCustomersResponse.next_page_token] of the previous
-   * [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers] call.
+   * [ListCustomersResponse.next_page_token][google.cloud.channel.v1.ListCustomersResponse.next_page_token]
+   * of the previous
+   * [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers]
+   * call.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -162,32 +137,34 @@ 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 token identifying a page of results other than the first page.
    * Obtained through
-   * [ListCustomersResponse.next_page_token][google.cloud.channel.v1.ListCustomersResponse.next_page_token] of the previous
-   * [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers] call.
+   * [ListCustomersResponse.next_page_token][google.cloud.channel.v1.ListCustomersResponse.next_page_token]
+   * of the previous
+   * [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers]
+   * call.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -198,16 +175,14 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
-   * Optional. Filters applied to the [CloudChannelService.ListCustomers] results. See
+   * Optional. Filters applied to the [CloudChannelService.ListCustomers]
+   * results. See
    * https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers
    * for more information.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -216,31 +191,32 @@ 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; } } /** - * - * *
-   * Optional. Filters applied to the [CloudChannelService.ListCustomers] results. See
+   * Optional. Filters applied to the [CloudChannelService.ListCustomers]
+   * results. See
    * https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers
    * for more information.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -249,7 +225,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,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_); } @@ -287,7 +263,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,18 +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.cloud.channel.v1.ListCustomersRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListCustomersRequest other = - (com.google.cloud.channel.v1.ListCustomersRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; + com.google.cloud.channel.v1.ListCustomersRequest other = (com.google.cloud.channel.v1.ListCustomersRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -339,136 +319,131 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ListCustomersRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.ListCustomersRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListCustomersRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListCustomersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListCustomersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListCustomersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListCustomersRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListCustomersRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListCustomersRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListCustomersRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListCustomersRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListCustomersRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListCustomersRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListCustomersRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListCustomersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ListCustomersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Request message for [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers]
+   * Request message for
+   * [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers]
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListCustomersRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListCustomersRequest) com.google.cloud.channel.v1.ListCustomersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListCustomersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListCustomersRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListCustomersRequest.class, - com.google.cloud.channel.v1.ListCustomersRequest.Builder.class); + com.google.cloud.channel.v1.ListCustomersRequest.class, com.google.cloud.channel.v1.ListCustomersRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.ListCustomersRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -484,9 +459,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListCustomersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomersRequest_descriptor; } @java.lang.Override @@ -505,8 +480,7 @@ public com.google.cloud.channel.v1.ListCustomersRequest build() { @java.lang.Override public com.google.cloud.channel.v1.ListCustomersRequest buildPartial() { - com.google.cloud.channel.v1.ListCustomersRequest result = - new com.google.cloud.channel.v1.ListCustomersRequest(this); + com.google.cloud.channel.v1.ListCustomersRequest result = new com.google.cloud.channel.v1.ListCustomersRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -519,39 +493,38 @@ public com.google.cloud.channel.v1.ListCustomersRequest 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.cloud.channel.v1.ListCustomersRequest) { - return mergeFrom((com.google.cloud.channel.v1.ListCustomersRequest) other); + return mergeFrom((com.google.cloud.channel.v1.ListCustomersRequest)other); } else { super.mergeFrom(other); return this; @@ -559,8 +532,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ListCustomersRequest other) { - if (other == com.google.cloud.channel.v1.ListCustomersRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.ListCustomersRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -602,37 +574,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -645,21 +612,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the reseller account to list customers from.
      * Parent uses the format: accounts/{account_id}.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -668,22 +633,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the reseller account to list customers from.
      * Parent uses the format: accounts/{account_id}.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -691,81 +655,71 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the reseller account to list customers from.
      * Parent uses the format: accounts/{account_id}.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 reseller account to list customers from.
      * Parent uses the format: accounts/{account_id}.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the reseller account to list customers from.
      * Parent uses the format: accounts/{account_id}.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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_ ; /** - * - * *
-     * Optional. The maximum number of customers to return. The service may return fewer
-     * than this value. If unspecified, returns at most 10 customers. The
+     * Optional. The maximum number of customers to return. The service may return
+     * fewer than this value. If unspecified, returns at most 10 customers. The
      * maximum value is 50.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -773,40 +727,34 @@ public int getPageSize() { return pageSize_; } /** - * - * *
-     * Optional. The maximum number of customers to return. The service may return fewer
-     * than this value. If unspecified, returns at most 10 customers. The
+     * Optional. The maximum number of customers to return. The service may return
+     * fewer than this value. If unspecified, returns at most 10 customers. The
      * maximum value is 50.
      * 
* * int32 page_size = 2 [(.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 customers to return. The service may return fewer
-     * than this value. If unspecified, returns at most 10 customers. The
+     * Optional. The maximum number of customers to return. The service may return
+     * fewer than this value. If unspecified, returns at most 10 customers. The
      * maximum value is 50.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -814,23 +762,23 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. A token identifying a page of results other than the first page.
      * Obtained through
-     * [ListCustomersResponse.next_page_token][google.cloud.channel.v1.ListCustomersResponse.next_page_token] of the previous
-     * [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers] call.
+     * [ListCustomersResponse.next_page_token][google.cloud.channel.v1.ListCustomersResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -839,24 +787,25 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. A token identifying a page of results other than the first page.
      * Obtained through
-     * [ListCustomersResponse.next_page_token][google.cloud.channel.v1.ListCustomersResponse.next_page_token] of the previous
-     * [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers] call.
+     * [ListCustomersResponse.next_page_token][google.cloud.channel.v1.ListCustomersResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -864,70 +813,69 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. A token identifying a page of results other than the first page.
      * Obtained through
-     * [ListCustomersResponse.next_page_token][google.cloud.channel.v1.ListCustomersResponse.next_page_token] of the previous
-     * [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers] call.
+     * [ListCustomersResponse.next_page_token][google.cloud.channel.v1.ListCustomersResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A token identifying a page of results other than the first page.
      * Obtained through
-     * [ListCustomersResponse.next_page_token][google.cloud.channel.v1.ListCustomersResponse.next_page_token] of the previous
-     * [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers] call.
+     * [ListCustomersResponse.next_page_token][google.cloud.channel.v1.ListCustomersResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Optional. A token identifying a page of results other than the first page.
      * Obtained through
-     * [ListCustomersResponse.next_page_token][google.cloud.channel.v1.ListCustomersResponse.next_page_token] of the previous
-     * [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers] call.
+     * [ListCustomersResponse.next_page_token][google.cloud.channel.v1.ListCustomersResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + 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; @@ -935,22 +883,21 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
-     * Optional. Filters applied to the [CloudChannelService.ListCustomers] results. See
+     * Optional. Filters applied to the [CloudChannelService.ListCustomers]
+     * results. See
      * https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers
      * for more information.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -959,23 +906,23 @@ public java.lang.String getFilter() { } } /** - * - * *
-     * Optional. Filters applied to the [CloudChannelService.ListCustomers] results. See
+     * Optional. Filters applied to the [CloudChannelService.ListCustomers]
+     * results. See
      * https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers
      * for more information.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -983,74 +930,70 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
-     * Optional. Filters applied to the [CloudChannelService.ListCustomers] results. See
+     * Optional. Filters applied to the [CloudChannelService.ListCustomers]
+     * results. See
      * https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers
      * for more information.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; } /** - * - * *
-     * Optional. Filters applied to the [CloudChannelService.ListCustomers] results. See
+     * Optional. Filters applied to the [CloudChannelService.ListCustomers]
+     * results. See
      * https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers
      * for more information.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
-     * Optional. Filters applied to the [CloudChannelService.ListCustomers] results. See
+     * Optional. Filters applied to the [CloudChannelService.ListCustomers]
+     * results. See
      * https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers
      * for more information.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1060,12 +1003,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListCustomersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListCustomersRequest) private static final com.google.cloud.channel.v1.ListCustomersRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListCustomersRequest(); } @@ -1074,27 +1017,27 @@ public static com.google.cloud.channel.v1.ListCustomersRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCustomersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCustomersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1109,4 +1052,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListCustomersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequestOrBuilder.java similarity index 67% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequestOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequestOrBuilder.java index 9f2a578907ad..5cabe7ea29fd 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequestOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequestOrBuilder.java @@ -1,127 +1,99 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListCustomersRequestOrBuilder - extends +public interface ListCustomersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListCustomersRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the reseller account to list customers from.
    * Parent uses the format: accounts/{account_id}.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the reseller account to list customers from.
    * Parent uses the format: accounts/{account_id}.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
-   * Optional. The maximum number of customers to return. The service may return fewer
-   * than this value. If unspecified, returns at most 10 customers. The
+   * Optional. The maximum number of customers to return. The service may return
+   * fewer than this value. If unspecified, returns at most 10 customers. The
    * maximum value is 50.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. A token identifying a page of results other than the first page.
    * Obtained through
-   * [ListCustomersResponse.next_page_token][google.cloud.channel.v1.ListCustomersResponse.next_page_token] of the previous
-   * [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers] call.
+   * [ListCustomersResponse.next_page_token][google.cloud.channel.v1.ListCustomersResponse.next_page_token]
+   * of the previous
+   * [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers]
+   * call.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. A token identifying a page of results other than the first page.
    * Obtained through
-   * [ListCustomersResponse.next_page_token][google.cloud.channel.v1.ListCustomersResponse.next_page_token] of the previous
-   * [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers] call.
+   * [ListCustomersResponse.next_page_token][google.cloud.channel.v1.ListCustomersResponse.next_page_token]
+   * of the previous
+   * [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers]
+   * call.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
-   * Optional. Filters applied to the [CloudChannelService.ListCustomers] results. See
+   * Optional. Filters applied to the [CloudChannelService.ListCustomers]
+   * results. See
    * https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers
    * for more information.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
-   * Optional. Filters applied to the [CloudChannelService.ListCustomers] results. See
+   * Optional. Filters applied to the [CloudChannelService.ListCustomers]
+   * results. See
    * https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers
    * for more information.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponse.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponse.java similarity index 69% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponse.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponse.java index 13790bd6e05c..b5a5cec43752 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponse.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponse.java @@ -1,42 +1,25 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Response message for [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers].
+ * Response message for
+ * [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers].
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListCustomersResponse} */ -public final class ListCustomersResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCustomersResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListCustomersResponse) ListCustomersResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCustomersResponse.newBuilder() to construct. private ListCustomersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCustomersResponse() { customers_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,35 +27,32 @@ private ListCustomersResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCustomersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListCustomersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListCustomersResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListCustomersResponse.class, - com.google.cloud.channel.v1.ListCustomersResponse.Builder.class); + com.google.cloud.channel.v1.ListCustomersResponse.class, com.google.cloud.channel.v1.ListCustomersResponse.Builder.class); } public static final int CUSTOMERS_FIELD_NUMBER = 1; private java.util.List customers_; /** - * - * *
    * The customers belonging to a reseller or distributor.
    * 
@@ -84,8 +64,6 @@ public java.util.List getCustomersList() { return customers_; } /** - * - * *
    * The customers belonging to a reseller or distributor.
    * 
@@ -93,13 +71,11 @@ public java.util.List getCustomersList() { * repeated .google.cloud.channel.v1.Customer customers = 1; */ @java.lang.Override - public java.util.List + public java.util.List getCustomersOrBuilderList() { return customers_; } /** - * - * *
    * The customers belonging to a reseller or distributor.
    * 
@@ -111,8 +87,6 @@ public int getCustomersCount() { return customers_.size(); } /** - * - * *
    * The customers belonging to a reseller or distributor.
    * 
@@ -124,8 +98,6 @@ public com.google.cloud.channel.v1.Customer getCustomers(int index) { return customers_.get(index); } /** - * - * *
    * The customers belonging to a reseller or distributor.
    * 
@@ -133,22 +105,22 @@ public com.google.cloud.channel.v1.Customer getCustomers(int index) { * repeated .google.cloud.channel.v1.Customer customers = 1; */ @java.lang.Override - public com.google.cloud.channel.v1.CustomerOrBuilder getCustomersOrBuilder(int index) { + public com.google.cloud.channel.v1.CustomerOrBuilder getCustomersOrBuilder( + int index) { return customers_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token to retrieve the next page of results.
-   * Pass to [ListCustomersRequest.page_token][google.cloud.channel.v1.ListCustomersRequest.page_token] to obtain that page.
+   * Pass to
+   * [ListCustomersRequest.page_token][google.cloud.channel.v1.ListCustomersRequest.page_token]
+   * to obtain that page.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -157,30 +129,32 @@ 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 to retrieve the next page of results.
-   * Pass to [ListCustomersRequest.page_token][google.cloud.channel.v1.ListCustomersRequest.page_token] to obtain that page.
+   * Pass to
+   * [ListCustomersRequest.page_token][google.cloud.channel.v1.ListCustomersRequest.page_token]
+   * to obtain that page.
    * 
* * 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 { @@ -189,7 +163,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +174,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < customers_.size(); i++) { output.writeMessage(1, customers_.get(i)); } @@ -218,7 +192,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < customers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, customers_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, customers_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -231,16 +206,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.cloud.channel.v1.ListCustomersResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListCustomersResponse other = - (com.google.cloud.channel.v1.ListCustomersResponse) obj; + com.google.cloud.channel.v1.ListCustomersResponse other = (com.google.cloud.channel.v1.ListCustomersResponse) obj; - if (!getCustomersList().equals(other.getCustomersList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getCustomersList() + .equals(other.getCustomersList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -264,135 +240,130 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListCustomersResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListCustomersResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListCustomersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListCustomersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListCustomersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListCustomersResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListCustomersResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListCustomersResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListCustomersResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListCustomersResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListCustomersResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListCustomersResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListCustomersResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListCustomersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ListCustomersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers].
+   * Response message for
+   * [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers].
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListCustomersResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListCustomersResponse) com.google.cloud.channel.v1.ListCustomersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListCustomersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListCustomersResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListCustomersResponse.class, - com.google.cloud.channel.v1.ListCustomersResponse.Builder.class); + com.google.cloud.channel.v1.ListCustomersResponse.class, com.google.cloud.channel.v1.ListCustomersResponse.Builder.class); } // Construct using com.google.cloud.channel.v1.ListCustomersResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -409,9 +380,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListCustomersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomersResponse_descriptor; } @java.lang.Override @@ -430,8 +401,7 @@ public com.google.cloud.channel.v1.ListCustomersResponse build() { @java.lang.Override public com.google.cloud.channel.v1.ListCustomersResponse buildPartial() { - com.google.cloud.channel.v1.ListCustomersResponse result = - new com.google.cloud.channel.v1.ListCustomersResponse(this); + com.google.cloud.channel.v1.ListCustomersResponse result = new com.google.cloud.channel.v1.ListCustomersResponse(this); int from_bitField0_ = bitField0_; if (customersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -451,39 +421,38 @@ public com.google.cloud.channel.v1.ListCustomersResponse 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.cloud.channel.v1.ListCustomersResponse) { - return mergeFrom((com.google.cloud.channel.v1.ListCustomersResponse) other); + return mergeFrom((com.google.cloud.channel.v1.ListCustomersResponse)other); } else { super.mergeFrom(other); return this; @@ -491,8 +460,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ListCustomersResponse other) { - if (other == com.google.cloud.channel.v1.ListCustomersResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.ListCustomersResponse.getDefaultInstance()) return this; if (customersBuilder_ == null) { if (!other.customers_.isEmpty()) { if (customers_.isEmpty()) { @@ -511,10 +479,9 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ListCustomersResponse other customersBuilder_ = null; customers_ = other.customers_; bitField0_ = (bitField0_ & ~0x00000001); - customersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getCustomersFieldBuilder() - : null; + customersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCustomersFieldBuilder() : null; } else { customersBuilder_.addAllMessages(other.customers_); } @@ -550,32 +517,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.channel.v1.Customer m = - input.readMessage( - com.google.cloud.channel.v1.Customer.parser(), extensionRegistry); - if (customersBuilder_ == null) { - ensureCustomersIsMutable(); - customers_.add(m); - } else { - customersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.cloud.channel.v1.Customer m = + input.readMessage( + com.google.cloud.channel.v1.Customer.parser(), + extensionRegistry); + if (customersBuilder_ == null) { + ensureCustomersIsMutable(); + customers_.add(m); + } else { + customersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -585,28 +550,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List customers_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureCustomersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { customers_ = new java.util.ArrayList(customers_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Customer, - com.google.cloud.channel.v1.Customer.Builder, - com.google.cloud.channel.v1.CustomerOrBuilder> - customersBuilder_; + com.google.cloud.channel.v1.Customer, com.google.cloud.channel.v1.Customer.Builder, com.google.cloud.channel.v1.CustomerOrBuilder> customersBuilder_; /** - * - * *
      * The customers belonging to a reseller or distributor.
      * 
@@ -621,8 +579,6 @@ public java.util.List getCustomersList() { } } /** - * - * *
      * The customers belonging to a reseller or distributor.
      * 
@@ -637,8 +593,6 @@ public int getCustomersCount() { } } /** - * - * *
      * The customers belonging to a reseller or distributor.
      * 
@@ -653,15 +607,14 @@ public com.google.cloud.channel.v1.Customer getCustomers(int index) { } } /** - * - * *
      * The customers belonging to a reseller or distributor.
      * 
* * repeated .google.cloud.channel.v1.Customer customers = 1; */ - public Builder setCustomers(int index, com.google.cloud.channel.v1.Customer value) { + public Builder setCustomers( + int index, com.google.cloud.channel.v1.Customer value) { if (customersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -675,8 +628,6 @@ public Builder setCustomers(int index, com.google.cloud.channel.v1.Customer valu return this; } /** - * - * *
      * The customers belonging to a reseller or distributor.
      * 
@@ -695,8 +646,6 @@ public Builder setCustomers( return this; } /** - * - * *
      * The customers belonging to a reseller or distributor.
      * 
@@ -717,15 +666,14 @@ public Builder addCustomers(com.google.cloud.channel.v1.Customer value) { return this; } /** - * - * *
      * The customers belonging to a reseller or distributor.
      * 
* * repeated .google.cloud.channel.v1.Customer customers = 1; */ - public Builder addCustomers(int index, com.google.cloud.channel.v1.Customer value) { + public Builder addCustomers( + int index, com.google.cloud.channel.v1.Customer value) { if (customersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -739,15 +687,14 @@ public Builder addCustomers(int index, com.google.cloud.channel.v1.Customer valu return this; } /** - * - * *
      * The customers belonging to a reseller or distributor.
      * 
* * repeated .google.cloud.channel.v1.Customer customers = 1; */ - public Builder addCustomers(com.google.cloud.channel.v1.Customer.Builder builderForValue) { + public Builder addCustomers( + com.google.cloud.channel.v1.Customer.Builder builderForValue) { if (customersBuilder_ == null) { ensureCustomersIsMutable(); customers_.add(builderForValue.build()); @@ -758,8 +705,6 @@ public Builder addCustomers(com.google.cloud.channel.v1.Customer.Builder builder return this; } /** - * - * *
      * The customers belonging to a reseller or distributor.
      * 
@@ -778,8 +723,6 @@ public Builder addCustomers( return this; } /** - * - * *
      * The customers belonging to a reseller or distributor.
      * 
@@ -790,7 +733,8 @@ public Builder addAllCustomers( java.lang.Iterable values) { if (customersBuilder_ == null) { ensureCustomersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, customers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, customers_); onChanged(); } else { customersBuilder_.addAllMessages(values); @@ -798,8 +742,6 @@ public Builder addAllCustomers( return this; } /** - * - * *
      * The customers belonging to a reseller or distributor.
      * 
@@ -817,8 +759,6 @@ public Builder clearCustomers() { return this; } /** - * - * *
      * The customers belonging to a reseller or distributor.
      * 
@@ -836,44 +776,39 @@ public Builder removeCustomers(int index) { return this; } /** - * - * *
      * The customers belonging to a reseller or distributor.
      * 
* * repeated .google.cloud.channel.v1.Customer customers = 1; */ - public com.google.cloud.channel.v1.Customer.Builder getCustomersBuilder(int index) { + public com.google.cloud.channel.v1.Customer.Builder getCustomersBuilder( + int index) { return getCustomersFieldBuilder().getBuilder(index); } /** - * - * *
      * The customers belonging to a reseller or distributor.
      * 
* * repeated .google.cloud.channel.v1.Customer customers = 1; */ - public com.google.cloud.channel.v1.CustomerOrBuilder getCustomersOrBuilder(int index) { + public com.google.cloud.channel.v1.CustomerOrBuilder getCustomersOrBuilder( + int index) { if (customersBuilder_ == null) { - return customers_.get(index); - } else { + return customers_.get(index); } else { return customersBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The customers belonging to a reseller or distributor.
      * 
* * repeated .google.cloud.channel.v1.Customer customers = 1; */ - public java.util.List - getCustomersOrBuilderList() { + public java.util.List + getCustomersOrBuilderList() { if (customersBuilder_ != null) { return customersBuilder_.getMessageOrBuilderList(); } else { @@ -881,8 +816,6 @@ public com.google.cloud.channel.v1.CustomerOrBuilder getCustomersOrBuilder(int i } } /** - * - * *
      * The customers belonging to a reseller or distributor.
      * 
@@ -890,47 +823,42 @@ public com.google.cloud.channel.v1.CustomerOrBuilder getCustomersOrBuilder(int i * repeated .google.cloud.channel.v1.Customer customers = 1; */ public com.google.cloud.channel.v1.Customer.Builder addCustomersBuilder() { - return getCustomersFieldBuilder() - .addBuilder(com.google.cloud.channel.v1.Customer.getDefaultInstance()); + return getCustomersFieldBuilder().addBuilder( + com.google.cloud.channel.v1.Customer.getDefaultInstance()); } /** - * - * *
      * The customers belonging to a reseller or distributor.
      * 
* * repeated .google.cloud.channel.v1.Customer customers = 1; */ - public com.google.cloud.channel.v1.Customer.Builder addCustomersBuilder(int index) { - return getCustomersFieldBuilder() - .addBuilder(index, com.google.cloud.channel.v1.Customer.getDefaultInstance()); + public com.google.cloud.channel.v1.Customer.Builder addCustomersBuilder( + int index) { + return getCustomersFieldBuilder().addBuilder( + index, com.google.cloud.channel.v1.Customer.getDefaultInstance()); } /** - * - * *
      * The customers belonging to a reseller or distributor.
      * 
* * repeated .google.cloud.channel.v1.Customer customers = 1; */ - public java.util.List getCustomersBuilderList() { + public java.util.List + getCustomersBuilderList() { return getCustomersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Customer, - com.google.cloud.channel.v1.Customer.Builder, - com.google.cloud.channel.v1.CustomerOrBuilder> + com.google.cloud.channel.v1.Customer, com.google.cloud.channel.v1.Customer.Builder, com.google.cloud.channel.v1.CustomerOrBuilder> getCustomersFieldBuilder() { if (customersBuilder_ == null) { - customersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Customer, - com.google.cloud.channel.v1.Customer.Builder, - com.google.cloud.channel.v1.CustomerOrBuilder>( - customers_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + customersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.Customer, com.google.cloud.channel.v1.Customer.Builder, com.google.cloud.channel.v1.CustomerOrBuilder>( + customers_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); customers_ = null; } return customersBuilder_; @@ -938,21 +866,21 @@ public java.util.List getCustomers private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve the next page of results.
-     * Pass to [ListCustomersRequest.page_token][google.cloud.channel.v1.ListCustomersRequest.page_token] to obtain that page.
+     * Pass to
+     * [ListCustomersRequest.page_token][google.cloud.channel.v1.ListCustomersRequest.page_token]
+     * to obtain that page.
      * 
* * 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; @@ -961,22 +889,23 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve the next page of results.
-     * Pass to [ListCustomersRequest.page_token][google.cloud.channel.v1.ListCustomersRequest.page_token] to obtain that page.
+     * Pass to
+     * [ListCustomersRequest.page_token][google.cloud.channel.v1.ListCustomersRequest.page_token]
+     * to obtain that page.
      * 
* * 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 { @@ -984,71 +913,70 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve the next page of results.
-     * Pass to [ListCustomersRequest.page_token][google.cloud.channel.v1.ListCustomersRequest.page_token] to obtain that page.
+     * Pass to
+     * [ListCustomersRequest.page_token][google.cloud.channel.v1.ListCustomersRequest.page_token]
+     * to obtain that page.
      * 
* * 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 to retrieve the next page of results.
-     * Pass to [ListCustomersRequest.page_token][google.cloud.channel.v1.ListCustomersRequest.page_token] to obtain that page.
+     * Pass to
+     * [ListCustomersRequest.page_token][google.cloud.channel.v1.ListCustomersRequest.page_token]
+     * to obtain that page.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
-     * Pass to [ListCustomersRequest.page_token][google.cloud.channel.v1.ListCustomersRequest.page_token] to obtain that page.
+     * Pass to
+     * [ListCustomersRequest.page_token][google.cloud.channel.v1.ListCustomersRequest.page_token]
+     * to obtain that page.
      * 
* * 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); } @@ -1058,12 +986,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListCustomersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListCustomersResponse) private static final com.google.cloud.channel.v1.ListCustomersResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListCustomersResponse(); } @@ -1072,27 +1000,27 @@ public static com.google.cloud.channel.v1.ListCustomersResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCustomersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCustomersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1107,4 +1035,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListCustomersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponseOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponseOrBuilder.java similarity index 61% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponseOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponseOrBuilder.java index fa3559331e5d..934e7ca162c3 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponseOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponseOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListCustomersResponseOrBuilder - extends +public interface ListCustomersResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListCustomersResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The customers belonging to a reseller or distributor.
    * 
* * repeated .google.cloud.channel.v1.Customer customers = 1; */ - java.util.List getCustomersList(); + java.util.List + getCustomersList(); /** - * - * *
    * The customers belonging to a reseller or distributor.
    * 
@@ -44,8 +25,6 @@ public interface ListCustomersResponseOrBuilder */ com.google.cloud.channel.v1.Customer getCustomers(int index); /** - * - * *
    * The customers belonging to a reseller or distributor.
    * 
@@ -54,51 +33,47 @@ public interface ListCustomersResponseOrBuilder */ int getCustomersCount(); /** - * - * *
    * The customers belonging to a reseller or distributor.
    * 
* * repeated .google.cloud.channel.v1.Customer customers = 1; */ - java.util.List + java.util.List getCustomersOrBuilderList(); /** - * - * *
    * The customers belonging to a reseller or distributor.
    * 
* * repeated .google.cloud.channel.v1.Customer customers = 1; */ - com.google.cloud.channel.v1.CustomerOrBuilder getCustomersOrBuilder(int index); + com.google.cloud.channel.v1.CustomerOrBuilder getCustomersOrBuilder( + int index); /** - * - * *
    * A token to retrieve the next page of results.
-   * Pass to [ListCustomersRequest.page_token][google.cloud.channel.v1.ListCustomersRequest.page_token] to obtain that page.
+   * Pass to
+   * [ListCustomersRequest.page_token][google.cloud.channel.v1.ListCustomersRequest.page_token]
+   * to obtain that page.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve the next page of results.
-   * Pass to [ListCustomersRequest.page_token][google.cloud.channel.v1.ListCustomersRequest.page_token] to obtain that page.
+   * Pass to
+   * [ListCustomersRequest.page_token][google.cloud.channel.v1.ListCustomersRequest.page_token]
+   * to obtain that page.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequest.java similarity index 64% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequest.java index ff529831710d..aba38361d86c 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequest.java @@ -1,42 +1,25 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Request message for [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements]
+ * Request message for
+ * [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements]
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListEntitlementsRequest} */ -public final class ListEntitlementsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListEntitlementsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListEntitlementsRequest) ListEntitlementsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListEntitlementsRequest.newBuilder() to construct. private ListEntitlementsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListEntitlementsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,45 +27,39 @@ private ListEntitlementsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListEntitlementsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListEntitlementsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListEntitlementsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListEntitlementsRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListEntitlementsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListEntitlementsRequest.class, - com.google.cloud.channel.v1.ListEntitlementsRequest.Builder.class); + com.google.cloud.channel.v1.ListEntitlementsRequest.class, com.google.cloud.channel.v1.ListEntitlementsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource name of the reseller's customer account to list
    * entitlements for.
    * Parent uses the format: accounts/{account_id}/customers/{customer_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,33 +68,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the reseller's customer account to list
    * entitlements for.
    * Parent uses the format: accounts/{account_id}/customers/{customer_id}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -128,16 +103,13 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
-   * Optional. Requested page size. Server might return fewer results than requested.
-   * If unspecified, return at most 50 entitlements.
-   * The maximum value is 100; the server will coerce values above 100.
+   * Optional. Requested page size. Server might return fewer results than
+   * requested. If unspecified, return at most 50 entitlements. The maximum
+   * value is 100; the server will coerce values above 100.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -148,17 +120,16 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Optional. A token for a page of results other than the first page.
    * Obtained using
-   * [ListEntitlementsResponse.next_page_token][google.cloud.channel.v1.ListEntitlementsResponse.next_page_token] of the previous
-   * [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements] call.
+   * [ListEntitlementsResponse.next_page_token][google.cloud.channel.v1.ListEntitlementsResponse.next_page_token]
+   * of the previous
+   * [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements]
+   * call.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -167,32 +138,34 @@ 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 token for a page of results other than the first page.
    * Obtained using
-   * [ListEntitlementsResponse.next_page_token][google.cloud.channel.v1.ListEntitlementsResponse.next_page_token] of the previous
-   * [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements] call.
+   * [ListEntitlementsResponse.next_page_token][google.cloud.channel.v1.ListEntitlementsResponse.next_page_token]
+   * of the previous
+   * [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements]
+   * call.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -201,7 +174,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,7 +185,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -236,7 +209,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -249,17 +223,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.ListEntitlementsRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListEntitlementsRequest other = - (com.google.cloud.channel.v1.ListEntitlementsRequest) obj; + com.google.cloud.channel.v1.ListEntitlementsRequest other = (com.google.cloud.channel.v1.ListEntitlementsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -283,135 +259,130 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListEntitlementsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListEntitlementsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListEntitlementsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListEntitlementsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListEntitlementsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListEntitlementsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListEntitlementsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListEntitlementsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListEntitlementsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListEntitlementsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListEntitlementsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListEntitlementsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListEntitlementsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListEntitlementsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ListEntitlementsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Request message for [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements]
+   * Request message for
+   * [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements]
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListEntitlementsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListEntitlementsRequest) com.google.cloud.channel.v1.ListEntitlementsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListEntitlementsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListEntitlementsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListEntitlementsRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListEntitlementsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListEntitlementsRequest.class, - com.google.cloud.channel.v1.ListEntitlementsRequest.Builder.class); + com.google.cloud.channel.v1.ListEntitlementsRequest.class, com.google.cloud.channel.v1.ListEntitlementsRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.ListEntitlementsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -425,9 +396,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListEntitlementsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListEntitlementsRequest_descriptor; } @java.lang.Override @@ -446,8 +417,7 @@ public com.google.cloud.channel.v1.ListEntitlementsRequest build() { @java.lang.Override public com.google.cloud.channel.v1.ListEntitlementsRequest buildPartial() { - com.google.cloud.channel.v1.ListEntitlementsRequest result = - new com.google.cloud.channel.v1.ListEntitlementsRequest(this); + com.google.cloud.channel.v1.ListEntitlementsRequest result = new com.google.cloud.channel.v1.ListEntitlementsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -459,39 +429,38 @@ public com.google.cloud.channel.v1.ListEntitlementsRequest 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.cloud.channel.v1.ListEntitlementsRequest) { - return mergeFrom((com.google.cloud.channel.v1.ListEntitlementsRequest) other); + return mergeFrom((com.google.cloud.channel.v1.ListEntitlementsRequest)other); } else { super.mergeFrom(other); return this; @@ -499,8 +468,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ListEntitlementsRequest other) { - if (other == com.google.cloud.channel.v1.ListEntitlementsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.ListEntitlementsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -538,31 +506,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -575,24 +539,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the reseller's customer account to list
      * entitlements for.
      * Parent uses the format: accounts/{account_id}/customers/{customer_id}
      * 
* - * - * string parent = 1 [(.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; @@ -601,25 +561,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the reseller's customer account to list
      * entitlements for.
      * Parent uses the format: accounts/{account_id}/customers/{customer_id}
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -627,90 +584,74 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the reseller's customer account to list
      * entitlements for.
      * Parent uses the format: accounts/{account_id}/customers/{customer_id}
      * 
* - * - * string parent = 1 [(.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 reseller's customer account to list
      * entitlements for.
      * Parent uses the format: accounts/{account_id}/customers/{customer_id}
      * 
* - * - * string 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 reseller's customer account to list
      * entitlements for.
      * Parent uses the format: accounts/{account_id}/customers/{customer_id}
      * 
* - * - * string parent = 1 [(.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_ ; /** - * - * *
-     * Optional. Requested page size. Server might return fewer results than requested.
-     * If unspecified, return at most 50 entitlements.
-     * The maximum value is 100; the server will coerce values above 100.
+     * Optional. Requested page size. Server might return fewer results than
+     * requested. If unspecified, return at most 50 entitlements. The maximum
+     * value is 100; the server will coerce values above 100.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -718,40 +659,34 @@ public int getPageSize() { return pageSize_; } /** - * - * *
-     * Optional. Requested page size. Server might return fewer results than requested.
-     * If unspecified, return at most 50 entitlements.
-     * The maximum value is 100; the server will coerce values above 100.
+     * Optional. Requested page size. Server might return fewer results than
+     * requested. If unspecified, return at most 50 entitlements. The maximum
+     * value is 100; the server will coerce values above 100.
      * 
* * int32 page_size = 2 [(.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. Requested page size. Server might return fewer results than requested.
-     * If unspecified, return at most 50 entitlements.
-     * The maximum value is 100; the server will coerce values above 100.
+     * Optional. Requested page size. Server might return fewer results than
+     * requested. If unspecified, return at most 50 entitlements. The maximum
+     * value is 100; the server will coerce values above 100.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -759,23 +694,23 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. A token for a page of results other than the first page.
      * Obtained using
-     * [ListEntitlementsResponse.next_page_token][google.cloud.channel.v1.ListEntitlementsResponse.next_page_token] of the previous
-     * [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements] call.
+     * [ListEntitlementsResponse.next_page_token][google.cloud.channel.v1.ListEntitlementsResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -784,24 +719,25 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. A token for a page of results other than the first page.
      * Obtained using
-     * [ListEntitlementsResponse.next_page_token][google.cloud.channel.v1.ListEntitlementsResponse.next_page_token] of the previous
-     * [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements] call.
+     * [ListEntitlementsResponse.next_page_token][google.cloud.channel.v1.ListEntitlementsResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -809,77 +745,76 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. A token for a page of results other than the first page.
      * Obtained using
-     * [ListEntitlementsResponse.next_page_token][google.cloud.channel.v1.ListEntitlementsResponse.next_page_token] of the previous
-     * [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements] call.
+     * [ListEntitlementsResponse.next_page_token][google.cloud.channel.v1.ListEntitlementsResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A token for a page of results other than the first page.
      * Obtained using
-     * [ListEntitlementsResponse.next_page_token][google.cloud.channel.v1.ListEntitlementsResponse.next_page_token] of the previous
-     * [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements] call.
+     * [ListEntitlementsResponse.next_page_token][google.cloud.channel.v1.ListEntitlementsResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Optional. A token for a page of results other than the first page.
      * Obtained using
-     * [ListEntitlementsResponse.next_page_token][google.cloud.channel.v1.ListEntitlementsResponse.next_page_token] of the previous
-     * [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements] call.
+     * [ListEntitlementsResponse.next_page_token][google.cloud.channel.v1.ListEntitlementsResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + 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); } @@ -889,12 +824,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListEntitlementsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListEntitlementsRequest) private static final com.google.cloud.channel.v1.ListEntitlementsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListEntitlementsRequest(); } @@ -903,27 +838,27 @@ public static com.google.cloud.channel.v1.ListEntitlementsRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEntitlementsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEntitlementsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -938,4 +873,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListEntitlementsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequestOrBuilder.java similarity index 55% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequestOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequestOrBuilder.java index 61bcf3b9777c..18c981cb911d 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequestOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequestOrBuilder.java @@ -1,104 +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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListEntitlementsRequestOrBuilder - extends +public interface ListEntitlementsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListEntitlementsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the reseller's customer account to list
    * entitlements for.
    * Parent uses the format: accounts/{account_id}/customers/{customer_id}
    * 
* - * - * string parent = 1 [(.google.api.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 reseller's customer account to list
    * entitlements for.
    * Parent uses the format: accounts/{account_id}/customers/{customer_id}
    * 
* - * - * string parent = 1 [(.google.api.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. Requested page size. Server might return fewer results than requested.
-   * If unspecified, return at most 50 entitlements.
-   * The maximum value is 100; the server will coerce values above 100.
+   * Optional. Requested page size. Server might return fewer results than
+   * requested. If unspecified, return at most 50 entitlements. The maximum
+   * value is 100; the server will coerce values above 100.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. A token for a page of results other than the first page.
    * Obtained using
-   * [ListEntitlementsResponse.next_page_token][google.cloud.channel.v1.ListEntitlementsResponse.next_page_token] of the previous
-   * [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements] call.
+   * [ListEntitlementsResponse.next_page_token][google.cloud.channel.v1.ListEntitlementsResponse.next_page_token]
+   * of the previous
+   * [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements]
+   * call.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. A token for a page of results other than the first page.
    * Obtained using
-   * [ListEntitlementsResponse.next_page_token][google.cloud.channel.v1.ListEntitlementsResponse.next_page_token] of the previous
-   * [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements] call.
+   * [ListEntitlementsResponse.next_page_token][google.cloud.channel.v1.ListEntitlementsResponse.next_page_token]
+   * of the previous
+   * [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements]
+   * call.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponse.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponse.java similarity index 69% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponse.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponse.java index c1e982a46e00..2b2ba3e64dbf 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponse.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponse.java @@ -1,42 +1,25 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Response message for [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements].
+ * Response message for
+ * [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements].
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListEntitlementsResponse} */ -public final class ListEntitlementsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListEntitlementsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListEntitlementsResponse) ListEntitlementsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListEntitlementsResponse.newBuilder() to construct. private ListEntitlementsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListEntitlementsResponse() { entitlements_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,35 +27,32 @@ private ListEntitlementsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListEntitlementsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListEntitlementsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListEntitlementsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListEntitlementsResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListEntitlementsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListEntitlementsResponse.class, - com.google.cloud.channel.v1.ListEntitlementsResponse.Builder.class); + com.google.cloud.channel.v1.ListEntitlementsResponse.class, com.google.cloud.channel.v1.ListEntitlementsResponse.Builder.class); } public static final int ENTITLEMENTS_FIELD_NUMBER = 1; private java.util.List entitlements_; /** - * - * *
    * The reseller customer's entitlements.
    * 
@@ -84,8 +64,6 @@ public java.util.List getEntitlementsLi return entitlements_; } /** - * - * *
    * The reseller customer's entitlements.
    * 
@@ -93,13 +71,11 @@ public java.util.List getEntitlementsLi * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ @java.lang.Override - public java.util.List + public java.util.List getEntitlementsOrBuilderList() { return entitlements_; } /** - * - * *
    * The reseller customer's entitlements.
    * 
@@ -111,8 +87,6 @@ public int getEntitlementsCount() { return entitlements_.size(); } /** - * - * *
    * The reseller customer's entitlements.
    * 
@@ -124,8 +98,6 @@ public com.google.cloud.channel.v1.Entitlement getEntitlements(int index) { return entitlements_.get(index); } /** - * - * *
    * The reseller customer's entitlements.
    * 
@@ -133,22 +105,22 @@ public com.google.cloud.channel.v1.Entitlement getEntitlements(int index) { * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ @java.lang.Override - public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder(int index) { + public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder( + int index) { return entitlements_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token to list the next page of results.
-   * Pass to [ListEntitlementsRequest.page_token][google.cloud.channel.v1.ListEntitlementsRequest.page_token] to obtain that page.
+   * Pass to
+   * [ListEntitlementsRequest.page_token][google.cloud.channel.v1.ListEntitlementsRequest.page_token]
+   * to obtain that page.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -157,30 +129,32 @@ 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 to list the next page of results.
-   * Pass to [ListEntitlementsRequest.page_token][google.cloud.channel.v1.ListEntitlementsRequest.page_token] to obtain that page.
+   * Pass to
+   * [ListEntitlementsRequest.page_token][google.cloud.channel.v1.ListEntitlementsRequest.page_token]
+   * to obtain that page.
    * 
* * 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 { @@ -189,7 +163,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +174,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < entitlements_.size(); i++) { output.writeMessage(1, entitlements_.get(i)); } @@ -218,7 +192,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < entitlements_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, entitlements_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, entitlements_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -231,16 +206,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.cloud.channel.v1.ListEntitlementsResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListEntitlementsResponse other = - (com.google.cloud.channel.v1.ListEntitlementsResponse) obj; + com.google.cloud.channel.v1.ListEntitlementsResponse other = (com.google.cloud.channel.v1.ListEntitlementsResponse) obj; - if (!getEntitlementsList().equals(other.getEntitlementsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getEntitlementsList() + .equals(other.getEntitlementsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -264,135 +240,130 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListEntitlementsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListEntitlementsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListEntitlementsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListEntitlementsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListEntitlementsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListEntitlementsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListEntitlementsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListEntitlementsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListEntitlementsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListEntitlementsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListEntitlementsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListEntitlementsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListEntitlementsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListEntitlementsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ListEntitlementsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements].
+   * Response message for
+   * [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements].
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListEntitlementsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListEntitlementsResponse) com.google.cloud.channel.v1.ListEntitlementsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListEntitlementsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListEntitlementsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListEntitlementsResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListEntitlementsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListEntitlementsResponse.class, - com.google.cloud.channel.v1.ListEntitlementsResponse.Builder.class); + com.google.cloud.channel.v1.ListEntitlementsResponse.class, com.google.cloud.channel.v1.ListEntitlementsResponse.Builder.class); } // Construct using com.google.cloud.channel.v1.ListEntitlementsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -409,9 +380,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListEntitlementsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListEntitlementsResponse_descriptor; } @java.lang.Override @@ -430,8 +401,7 @@ public com.google.cloud.channel.v1.ListEntitlementsResponse build() { @java.lang.Override public com.google.cloud.channel.v1.ListEntitlementsResponse buildPartial() { - com.google.cloud.channel.v1.ListEntitlementsResponse result = - new com.google.cloud.channel.v1.ListEntitlementsResponse(this); + com.google.cloud.channel.v1.ListEntitlementsResponse result = new com.google.cloud.channel.v1.ListEntitlementsResponse(this); int from_bitField0_ = bitField0_; if (entitlementsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -451,39 +421,38 @@ public com.google.cloud.channel.v1.ListEntitlementsResponse 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.cloud.channel.v1.ListEntitlementsResponse) { - return mergeFrom((com.google.cloud.channel.v1.ListEntitlementsResponse) other); + return mergeFrom((com.google.cloud.channel.v1.ListEntitlementsResponse)other); } else { super.mergeFrom(other); return this; @@ -491,8 +460,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ListEntitlementsResponse other) { - if (other == com.google.cloud.channel.v1.ListEntitlementsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.ListEntitlementsResponse.getDefaultInstance()) return this; if (entitlementsBuilder_ == null) { if (!other.entitlements_.isEmpty()) { if (entitlements_.isEmpty()) { @@ -511,10 +479,9 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ListEntitlementsResponse ot entitlementsBuilder_ = null; entitlements_ = other.entitlements_; bitField0_ = (bitField0_ & ~0x00000001); - entitlementsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEntitlementsFieldBuilder() - : null; + entitlementsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEntitlementsFieldBuilder() : null; } else { entitlementsBuilder_.addAllMessages(other.entitlements_); } @@ -550,32 +517,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.channel.v1.Entitlement m = - input.readMessage( - com.google.cloud.channel.v1.Entitlement.parser(), extensionRegistry); - if (entitlementsBuilder_ == null) { - ensureEntitlementsIsMutable(); - entitlements_.add(m); - } else { - entitlementsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.cloud.channel.v1.Entitlement m = + input.readMessage( + com.google.cloud.channel.v1.Entitlement.parser(), + extensionRegistry); + if (entitlementsBuilder_ == null) { + ensureEntitlementsIsMutable(); + entitlements_.add(m); + } else { + entitlementsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -585,29 +550,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List entitlements_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureEntitlementsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - entitlements_ = - new java.util.ArrayList(entitlements_); + entitlements_ = new java.util.ArrayList(entitlements_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Entitlement, - com.google.cloud.channel.v1.Entitlement.Builder, - com.google.cloud.channel.v1.EntitlementOrBuilder> - entitlementsBuilder_; + com.google.cloud.channel.v1.Entitlement, com.google.cloud.channel.v1.Entitlement.Builder, com.google.cloud.channel.v1.EntitlementOrBuilder> entitlementsBuilder_; /** - * - * *
      * The reseller customer's entitlements.
      * 
@@ -622,8 +579,6 @@ public java.util.List getEntitlementsLi } } /** - * - * *
      * The reseller customer's entitlements.
      * 
@@ -638,8 +593,6 @@ public int getEntitlementsCount() { } } /** - * - * *
      * The reseller customer's entitlements.
      * 
@@ -654,15 +607,14 @@ public com.google.cloud.channel.v1.Entitlement getEntitlements(int index) { } } /** - * - * *
      * The reseller customer's entitlements.
      * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - public Builder setEntitlements(int index, com.google.cloud.channel.v1.Entitlement value) { + public Builder setEntitlements( + int index, com.google.cloud.channel.v1.Entitlement value) { if (entitlementsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -676,8 +628,6 @@ public Builder setEntitlements(int index, com.google.cloud.channel.v1.Entitlemen return this; } /** - * - * *
      * The reseller customer's entitlements.
      * 
@@ -696,8 +646,6 @@ public Builder setEntitlements( return this; } /** - * - * *
      * The reseller customer's entitlements.
      * 
@@ -718,15 +666,14 @@ public Builder addEntitlements(com.google.cloud.channel.v1.Entitlement value) { return this; } /** - * - * *
      * The reseller customer's entitlements.
      * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - public Builder addEntitlements(int index, com.google.cloud.channel.v1.Entitlement value) { + public Builder addEntitlements( + int index, com.google.cloud.channel.v1.Entitlement value) { if (entitlementsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -740,8 +687,6 @@ public Builder addEntitlements(int index, com.google.cloud.channel.v1.Entitlemen return this; } /** - * - * *
      * The reseller customer's entitlements.
      * 
@@ -760,8 +705,6 @@ public Builder addEntitlements( return this; } /** - * - * *
      * The reseller customer's entitlements.
      * 
@@ -780,8 +723,6 @@ public Builder addEntitlements( return this; } /** - * - * *
      * The reseller customer's entitlements.
      * 
@@ -792,7 +733,8 @@ public Builder addAllEntitlements( java.lang.Iterable values) { if (entitlementsBuilder_ == null) { ensureEntitlementsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entitlements_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, entitlements_); onChanged(); } else { entitlementsBuilder_.addAllMessages(values); @@ -800,8 +742,6 @@ public Builder addAllEntitlements( return this; } /** - * - * *
      * The reseller customer's entitlements.
      * 
@@ -819,8 +759,6 @@ public Builder clearEntitlements() { return this; } /** - * - * *
      * The reseller customer's entitlements.
      * 
@@ -838,44 +776,39 @@ public Builder removeEntitlements(int index) { return this; } /** - * - * *
      * The reseller customer's entitlements.
      * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - public com.google.cloud.channel.v1.Entitlement.Builder getEntitlementsBuilder(int index) { + public com.google.cloud.channel.v1.Entitlement.Builder getEntitlementsBuilder( + int index) { return getEntitlementsFieldBuilder().getBuilder(index); } /** - * - * *
      * The reseller customer's entitlements.
      * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder(int index) { + public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder( + int index) { if (entitlementsBuilder_ == null) { - return entitlements_.get(index); - } else { + return entitlements_.get(index); } else { return entitlementsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The reseller customer's entitlements.
      * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - public java.util.List - getEntitlementsOrBuilderList() { + public java.util.List + getEntitlementsOrBuilderList() { if (entitlementsBuilder_ != null) { return entitlementsBuilder_.getMessageOrBuilderList(); } else { @@ -883,8 +816,6 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder } } /** - * - * *
      * The reseller customer's entitlements.
      * 
@@ -892,48 +823,42 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder() { - return getEntitlementsFieldBuilder() - .addBuilder(com.google.cloud.channel.v1.Entitlement.getDefaultInstance()); + return getEntitlementsFieldBuilder().addBuilder( + com.google.cloud.channel.v1.Entitlement.getDefaultInstance()); } /** - * - * *
      * The reseller customer's entitlements.
      * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder(int index) { - return getEntitlementsFieldBuilder() - .addBuilder(index, com.google.cloud.channel.v1.Entitlement.getDefaultInstance()); + public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder( + int index) { + return getEntitlementsFieldBuilder().addBuilder( + index, com.google.cloud.channel.v1.Entitlement.getDefaultInstance()); } /** - * - * *
      * The reseller customer's entitlements.
      * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - public java.util.List - getEntitlementsBuilderList() { + public java.util.List + getEntitlementsBuilderList() { return getEntitlementsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Entitlement, - com.google.cloud.channel.v1.Entitlement.Builder, - com.google.cloud.channel.v1.EntitlementOrBuilder> + com.google.cloud.channel.v1.Entitlement, com.google.cloud.channel.v1.Entitlement.Builder, com.google.cloud.channel.v1.EntitlementOrBuilder> getEntitlementsFieldBuilder() { if (entitlementsBuilder_ == null) { - entitlementsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Entitlement, - com.google.cloud.channel.v1.Entitlement.Builder, - com.google.cloud.channel.v1.EntitlementOrBuilder>( - entitlements_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + entitlementsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.Entitlement, com.google.cloud.channel.v1.Entitlement.Builder, com.google.cloud.channel.v1.EntitlementOrBuilder>( + entitlements_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); entitlements_ = null; } return entitlementsBuilder_; @@ -941,21 +866,21 @@ public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder(in private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to list the next page of results.
-     * Pass to [ListEntitlementsRequest.page_token][google.cloud.channel.v1.ListEntitlementsRequest.page_token] to obtain that page.
+     * Pass to
+     * [ListEntitlementsRequest.page_token][google.cloud.channel.v1.ListEntitlementsRequest.page_token]
+     * to obtain that page.
      * 
* * 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; @@ -964,22 +889,23 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to list the next page of results.
-     * Pass to [ListEntitlementsRequest.page_token][google.cloud.channel.v1.ListEntitlementsRequest.page_token] to obtain that page.
+     * Pass to
+     * [ListEntitlementsRequest.page_token][google.cloud.channel.v1.ListEntitlementsRequest.page_token]
+     * to obtain that page.
      * 
* * 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 { @@ -987,71 +913,70 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to list the next page of results.
-     * Pass to [ListEntitlementsRequest.page_token][google.cloud.channel.v1.ListEntitlementsRequest.page_token] to obtain that page.
+     * Pass to
+     * [ListEntitlementsRequest.page_token][google.cloud.channel.v1.ListEntitlementsRequest.page_token]
+     * to obtain that page.
      * 
* * 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 to list the next page of results.
-     * Pass to [ListEntitlementsRequest.page_token][google.cloud.channel.v1.ListEntitlementsRequest.page_token] to obtain that page.
+     * Pass to
+     * [ListEntitlementsRequest.page_token][google.cloud.channel.v1.ListEntitlementsRequest.page_token]
+     * to obtain that page.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to list the next page of results.
-     * Pass to [ListEntitlementsRequest.page_token][google.cloud.channel.v1.ListEntitlementsRequest.page_token] to obtain that page.
+     * Pass to
+     * [ListEntitlementsRequest.page_token][google.cloud.channel.v1.ListEntitlementsRequest.page_token]
+     * to obtain that page.
      * 
* * 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); } @@ -1061,12 +986,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListEntitlementsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListEntitlementsResponse) private static final com.google.cloud.channel.v1.ListEntitlementsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListEntitlementsResponse(); } @@ -1075,27 +1000,27 @@ public static com.google.cloud.channel.v1.ListEntitlementsResponse getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEntitlementsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEntitlementsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1110,4 +1035,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListEntitlementsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponseOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponseOrBuilder.java similarity index 60% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponseOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponseOrBuilder.java index 94ca6a76e089..5f01d01446ce 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponseOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponseOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListEntitlementsResponseOrBuilder - extends +public interface ListEntitlementsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListEntitlementsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The reseller customer's entitlements.
    * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - java.util.List getEntitlementsList(); + java.util.List + getEntitlementsList(); /** - * - * *
    * The reseller customer's entitlements.
    * 
@@ -44,8 +25,6 @@ public interface ListEntitlementsResponseOrBuilder */ com.google.cloud.channel.v1.Entitlement getEntitlements(int index); /** - * - * *
    * The reseller customer's entitlements.
    * 
@@ -54,51 +33,47 @@ public interface ListEntitlementsResponseOrBuilder */ int getEntitlementsCount(); /** - * - * *
    * The reseller customer's entitlements.
    * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - java.util.List + java.util.List getEntitlementsOrBuilderList(); /** - * - * *
    * The reseller customer's entitlements.
    * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder(int index); + com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder( + int index); /** - * - * *
    * A token to list the next page of results.
-   * Pass to [ListEntitlementsRequest.page_token][google.cloud.channel.v1.ListEntitlementsRequest.page_token] to obtain that page.
+   * Pass to
+   * [ListEntitlementsRequest.page_token][google.cloud.channel.v1.ListEntitlementsRequest.page_token]
+   * to obtain that page.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to list the next page of results.
-   * Pass to [ListEntitlementsRequest.page_token][google.cloud.channel.v1.ListEntitlementsRequest.page_token] to obtain that page.
+   * Pass to
+   * [ListEntitlementsRequest.page_token][google.cloud.channel.v1.ListEntitlementsRequest.page_token]
+   * to obtain that page.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequest.java similarity index 71% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequest.java index b62fb2d63e12..090b1c9b56fb 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
  * Request message for ListOffers.
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListOffersRequest} */ -public final class ListOffersRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListOffersRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListOffersRequest) ListOffersRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListOffersRequest.newBuilder() to construct. private ListOffersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListOffersRequest() { parent_ = ""; pageToken_ = ""; @@ -46,42 +28,38 @@ private ListOffersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListOffersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListOffersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListOffersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListOffersRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListOffersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListOffersRequest.class, - com.google.cloud.channel.v1.ListOffersRequest.Builder.class); + com.google.cloud.channel.v1.ListOffersRequest.class, com.google.cloud.channel.v1.ListOffersRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
-   * Required. The resource name of the reseller account from which to list Offers.
-   * Parent uses the format: accounts/{account_id}.
+   * Required. The resource name of the reseller account from which to list
+   * Offers. Parent uses the format: accounts/{account_id}.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -90,30 +68,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 reseller account from which to list Offers.
-   * Parent uses the format: accounts/{account_id}.
+   * Required. The resource name of the reseller account from which to list
+   * Offers. Parent uses the format: accounts/{account_id}.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -124,16 +102,13 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
-   * Optional. Requested page size. Server might return fewer results than requested.
-   * If unspecified, returns at most 500 Offers.
-   * The maximum value is 1000; the server will coerce values above 1000.
+   * Optional. Requested page size. Server might return fewer results than
+   * requested. If unspecified, returns at most 500 Offers. The maximum value is
+   * 1000; the server will coerce values above 1000.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -144,14 +119,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Optional. A token for a page of results other than the first page.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -160,29 +132,29 @@ 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 token for a page of results other than the first page.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -193,8 +165,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * Optional. The expression to filter results by name (name of
    * the Offer), sku.name (name of the SKU), or sku.product.name (name of the
@@ -204,7 +174,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -213,15 +182,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; } } /** - * - * *
    * Optional. The expression to filter results by name (name of
    * the Offer), sku.name (name of the SKU), or sku.product.name (name of the
@@ -231,15 +199,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -250,8 +219,6 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 5; private volatile java.lang.Object languageCode_; /** - * - * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -259,7 +226,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ @java.lang.Override @@ -268,15 +234,14 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** - * - * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -284,15 +249,16 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -301,7 +267,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -313,7 +278,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -342,7 +308,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_); @@ -361,19 +328,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.cloud.channel.v1.ListOffersRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListOffersRequest other = - (com.google.cloud.channel.v1.ListOffersRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getLanguageCode().equals(other.getLanguageCode())) return false; + com.google.cloud.channel.v1.ListOffersRequest other = (com.google.cloud.channel.v1.ListOffersRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getLanguageCode() + .equals(other.getLanguageCode())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -400,136 +371,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ListOffersRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.ListOffersRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListOffersRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListOffersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListOffersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListOffersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListOffersRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListOffersRequest 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.cloud.channel.v1.ListOffersRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListOffersRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListOffersRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListOffersRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListOffersRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListOffersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ListOffersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListOffers.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListOffersRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListOffersRequest) com.google.cloud.channel.v1.ListOffersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListOffersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListOffersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListOffersRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListOffersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListOffersRequest.class, - com.google.cloud.channel.v1.ListOffersRequest.Builder.class); + com.google.cloud.channel.v1.ListOffersRequest.class, com.google.cloud.channel.v1.ListOffersRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.ListOffersRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -547,9 +512,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListOffersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListOffersRequest_descriptor; } @java.lang.Override @@ -568,8 +533,7 @@ public com.google.cloud.channel.v1.ListOffersRequest build() { @java.lang.Override public com.google.cloud.channel.v1.ListOffersRequest buildPartial() { - com.google.cloud.channel.v1.ListOffersRequest result = - new com.google.cloud.channel.v1.ListOffersRequest(this); + com.google.cloud.channel.v1.ListOffersRequest result = new com.google.cloud.channel.v1.ListOffersRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -583,39 +547,38 @@ public com.google.cloud.channel.v1.ListOffersRequest 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.cloud.channel.v1.ListOffersRequest) { - return mergeFrom((com.google.cloud.channel.v1.ListOffersRequest) other); + return mergeFrom((com.google.cloud.channel.v1.ListOffersRequest)other); } else { super.mergeFrom(other); return this; @@ -669,43 +632,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 42: - { - languageCode_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 42: { + languageCode_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -718,21 +675,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
-     * Required. The resource name of the reseller account from which to list Offers.
-     * Parent uses the format: accounts/{account_id}.
+     * Required. The resource name of the reseller account from which to list
+     * Offers. Parent uses the format: accounts/{account_id}.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -741,22 +696,21 @@ public java.lang.String getParent() { } } /** - * - * *
-     * Required. The resource name of the reseller account from which to list Offers.
-     * Parent uses the format: accounts/{account_id}.
+     * Required. The resource name of the reseller account from which to list
+     * Offers. Parent uses the format: accounts/{account_id}.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -764,81 +718,71 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
-     * Required. The resource name of the reseller account from which to list Offers.
-     * Parent uses the format: accounts/{account_id}.
+     * Required. The resource name of the reseller account from which to list
+     * Offers. Parent uses the format: accounts/{account_id}.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 reseller account from which to list Offers.
-     * Parent uses the format: accounts/{account_id}.
+     * Required. The resource name of the reseller account from which to list
+     * Offers. Parent uses the format: accounts/{account_id}.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
-     * Required. The resource name of the reseller account from which to list Offers.
-     * Parent uses the format: accounts/{account_id}.
+     * Required. The resource name of the reseller account from which to list
+     * Offers. Parent uses the format: accounts/{account_id}.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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_ ; /** - * - * *
-     * Optional. Requested page size. Server might return fewer results than requested.
-     * If unspecified, returns at most 500 Offers.
-     * The maximum value is 1000; the server will coerce values above 1000.
+     * Optional. Requested page size. Server might return fewer results than
+     * requested. If unspecified, returns at most 500 Offers. The maximum value is
+     * 1000; the server will coerce values above 1000.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -846,40 +790,34 @@ public int getPageSize() { return pageSize_; } /** - * - * *
-     * Optional. Requested page size. Server might return fewer results than requested.
-     * If unspecified, returns at most 500 Offers.
-     * The maximum value is 1000; the server will coerce values above 1000.
+     * Optional. Requested page size. Server might return fewer results than
+     * requested. If unspecified, returns at most 500 Offers. The maximum value is
+     * 1000; the server will coerce values above 1000.
      * 
* * int32 page_size = 2 [(.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. Requested page size. Server might return fewer results than requested.
-     * If unspecified, returns at most 500 Offers.
-     * The maximum value is 1000; the server will coerce values above 1000.
+     * Optional. Requested page size. Server might return fewer results than
+     * requested. If unspecified, returns at most 500 Offers. The maximum value is
+     * 1000; the server will coerce values above 1000.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -887,20 +825,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -909,21 +845,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -931,61 +866,54 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + 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; @@ -993,8 +921,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. The expression to filter results by name (name of
      * the Offer), sku.name (name of the SKU), or sku.product.name (name of the
@@ -1004,13 +930,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1019,8 +945,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. The expression to filter results by name (name of
      * the Offer), sku.name (name of the SKU), or sku.product.name (name of the
@@ -1030,14 +954,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1045,8 +970,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. The expression to filter results by name (name of
      * the Offer), sku.name (name of the SKU), or sku.product.name (name of the
@@ -1056,22 +979,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; } /** - * - * *
      * Optional. The expression to filter results by name (name of
      * the Offer), sku.name (name of the SKU), or sku.product.name (name of the
@@ -1081,18 +1002,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Optional. The expression to filter results by name (name of
      * the Offer), sku.name (name of the SKU), or sku.product.name (name of the
@@ -1102,16 +1020,16 @@ public Builder clearFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1119,8 +1037,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object languageCode_ = ""; /** - * - * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1128,13 +1044,13 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -1143,8 +1059,6 @@ public java.lang.String getLanguageCode() { } } /** - * - * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1152,14 +1066,15 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -1167,8 +1082,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } } /** - * - * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1176,22 +1089,20 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode(java.lang.String value) { + public Builder setLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1199,18 +1110,15 @@ public Builder setLanguageCode(java.lang.String value) {
      * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** - * - * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1218,23 +1126,23 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = 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); } @@ -1244,12 +1152,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListOffersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListOffersRequest) private static final com.google.cloud.channel.v1.ListOffersRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListOffersRequest(); } @@ -1258,27 +1166,27 @@ public static com.google.cloud.channel.v1.ListOffersRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOffersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOffersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1293,4 +1201,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListOffersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequestOrBuilder.java similarity index 70% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequestOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequestOrBuilder.java index 9f25af28fe94..a9fa70ab7353 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequestOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequestOrBuilder.java @@ -1,98 +1,67 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListOffersRequestOrBuilder - extends +public interface ListOffersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListOffersRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
-   * Required. The resource name of the reseller account from which to list Offers.
-   * Parent uses the format: accounts/{account_id}.
+   * Required. The resource name of the reseller account from which to list
+   * Offers. Parent uses the format: accounts/{account_id}.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
-   * Required. The resource name of the reseller account from which to list Offers.
-   * Parent uses the format: accounts/{account_id}.
+   * Required. The resource name of the reseller account from which to list
+   * Offers. Parent uses the format: accounts/{account_id}.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
-   * Optional. Requested page size. Server might return fewer results than requested.
-   * If unspecified, returns at most 500 Offers.
-   * The maximum value is 1000; the server will coerce values above 1000.
+   * Optional. Requested page size. Server might return fewer results than
+   * requested. If unspecified, returns at most 500 Offers. The maximum value is
+   * 1000; the server will coerce values above 1000.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. A token for a page of results other than the first page.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. A token for a page of results other than the first page.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. The expression to filter results by name (name of
    * the Offer), sku.name (name of the SKU), or sku.product.name (name of the
@@ -102,13 +71,10 @@ public interface ListOffersRequestOrBuilder
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. The expression to filter results by name (name of
    * the Offer), sku.name (name of the SKU), or sku.product.name (name of the
@@ -118,14 +84,12 @@ public interface ListOffersRequestOrBuilder
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -133,13 +97,10 @@ public interface ListOffersRequestOrBuilder
    * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ java.lang.String getLanguageCode(); /** - * - * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -147,8 +108,8 @@ public interface ListOffersRequestOrBuilder
    * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString getLanguageCodeBytes(); + com.google.protobuf.ByteString + getLanguageCodeBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponse.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponse.java similarity index 70% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponse.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponse.java index f7403573f648..685c91c99b9e 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponse.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponse.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
  * Response message for ListOffers.
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListOffersResponse} */ -public final class ListOffersResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListOffersResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListOffersResponse) ListOffersResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListOffersResponse.newBuilder() to construct. private ListOffersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListOffersResponse() { offers_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,35 +26,32 @@ private ListOffersResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListOffersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListOffersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListOffersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListOffersResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListOffersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListOffersResponse.class, - com.google.cloud.channel.v1.ListOffersResponse.Builder.class); + com.google.cloud.channel.v1.ListOffersResponse.class, com.google.cloud.channel.v1.ListOffersResponse.Builder.class); } public static final int OFFERS_FIELD_NUMBER = 1; private java.util.List offers_; /** - * - * *
    * The list of Offers requested.
    * 
@@ -84,8 +63,6 @@ public java.util.List getOffersList() { return offers_; } /** - * - * *
    * The list of Offers requested.
    * 
@@ -93,13 +70,11 @@ public java.util.List getOffersList() { * repeated .google.cloud.channel.v1.Offer offers = 1; */ @java.lang.Override - public java.util.List + public java.util.List getOffersOrBuilderList() { return offers_; } /** - * - * *
    * The list of Offers requested.
    * 
@@ -111,8 +86,6 @@ public int getOffersCount() { return offers_.size(); } /** - * - * *
    * The list of Offers requested.
    * 
@@ -124,8 +97,6 @@ public com.google.cloud.channel.v1.Offer getOffers(int index) { return offers_.get(index); } /** - * - * *
    * The list of Offers requested.
    * 
@@ -133,21 +104,19 @@ public com.google.cloud.channel.v1.Offer getOffers(int index) { * repeated .google.cloud.channel.v1.Offer offers = 1; */ @java.lang.Override - public com.google.cloud.channel.v1.OfferOrBuilder getOffersOrBuilder(int index) { + public com.google.cloud.channel.v1.OfferOrBuilder getOffersOrBuilder( + int index) { return offers_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,29 +125,29 @@ 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 to retrieve the next page of results.
    * 
* * 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 { @@ -187,7 +156,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,7 +167,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < offers_.size(); i++) { output.writeMessage(1, offers_.get(i)); } @@ -216,7 +185,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < offers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, offers_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, offers_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -229,16 +199,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.cloud.channel.v1.ListOffersResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListOffersResponse other = - (com.google.cloud.channel.v1.ListOffersResponse) obj; + com.google.cloud.channel.v1.ListOffersResponse other = (com.google.cloud.channel.v1.ListOffersResponse) obj; - if (!getOffersList().equals(other.getOffersList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getOffersList() + .equals(other.getOffersList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -261,136 +232,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ListOffersResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.ListOffersResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListOffersResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListOffersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListOffersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListOffersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListOffersResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListOffersResponse 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.cloud.channel.v1.ListOffersResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListOffersResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListOffersResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListOffersResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListOffersResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListOffersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ListOffersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 ListOffers.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListOffersResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListOffersResponse) com.google.cloud.channel.v1.ListOffersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListOffersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListOffersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListOffersResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListOffersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListOffersResponse.class, - com.google.cloud.channel.v1.ListOffersResponse.Builder.class); + com.google.cloud.channel.v1.ListOffersResponse.class, com.google.cloud.channel.v1.ListOffersResponse.Builder.class); } // Construct using com.google.cloud.channel.v1.ListOffersResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -407,9 +372,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListOffersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListOffersResponse_descriptor; } @java.lang.Override @@ -428,8 +393,7 @@ public com.google.cloud.channel.v1.ListOffersResponse build() { @java.lang.Override public com.google.cloud.channel.v1.ListOffersResponse buildPartial() { - com.google.cloud.channel.v1.ListOffersResponse result = - new com.google.cloud.channel.v1.ListOffersResponse(this); + com.google.cloud.channel.v1.ListOffersResponse result = new com.google.cloud.channel.v1.ListOffersResponse(this); int from_bitField0_ = bitField0_; if (offersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -449,39 +413,38 @@ public com.google.cloud.channel.v1.ListOffersResponse 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.cloud.channel.v1.ListOffersResponse) { - return mergeFrom((com.google.cloud.channel.v1.ListOffersResponse) other); + return mergeFrom((com.google.cloud.channel.v1.ListOffersResponse)other); } else { super.mergeFrom(other); return this; @@ -508,10 +471,9 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ListOffersResponse other) { offersBuilder_ = null; offers_ = other.offers_; bitField0_ = (bitField0_ & ~0x00000001); - offersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getOffersFieldBuilder() - : null; + offersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getOffersFieldBuilder() : null; } else { offersBuilder_.addAllMessages(other.offers_); } @@ -547,32 +509,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.channel.v1.Offer m = - input.readMessage( - com.google.cloud.channel.v1.Offer.parser(), extensionRegistry); - if (offersBuilder_ == null) { - ensureOffersIsMutable(); - offers_.add(m); - } else { - offersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.cloud.channel.v1.Offer m = + input.readMessage( + com.google.cloud.channel.v1.Offer.parser(), + extensionRegistry); + if (offersBuilder_ == null) { + ensureOffersIsMutable(); + offers_.add(m); + } else { + offersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -582,28 +542,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List offers_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureOffersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { offers_ = new java.util.ArrayList(offers_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Offer, - com.google.cloud.channel.v1.Offer.Builder, - com.google.cloud.channel.v1.OfferOrBuilder> - offersBuilder_; + com.google.cloud.channel.v1.Offer, com.google.cloud.channel.v1.Offer.Builder, com.google.cloud.channel.v1.OfferOrBuilder> offersBuilder_; /** - * - * *
      * The list of Offers requested.
      * 
@@ -618,8 +571,6 @@ public java.util.List getOffersList() { } } /** - * - * *
      * The list of Offers requested.
      * 
@@ -634,8 +585,6 @@ public int getOffersCount() { } } /** - * - * *
      * The list of Offers requested.
      * 
@@ -650,15 +599,14 @@ public com.google.cloud.channel.v1.Offer getOffers(int index) { } } /** - * - * *
      * The list of Offers requested.
      * 
* * repeated .google.cloud.channel.v1.Offer offers = 1; */ - public Builder setOffers(int index, com.google.cloud.channel.v1.Offer value) { + public Builder setOffers( + int index, com.google.cloud.channel.v1.Offer value) { if (offersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -672,15 +620,14 @@ public Builder setOffers(int index, com.google.cloud.channel.v1.Offer value) { return this; } /** - * - * *
      * The list of Offers requested.
      * 
* * repeated .google.cloud.channel.v1.Offer offers = 1; */ - public Builder setOffers(int index, com.google.cloud.channel.v1.Offer.Builder builderForValue) { + public Builder setOffers( + int index, com.google.cloud.channel.v1.Offer.Builder builderForValue) { if (offersBuilder_ == null) { ensureOffersIsMutable(); offers_.set(index, builderForValue.build()); @@ -691,8 +638,6 @@ public Builder setOffers(int index, com.google.cloud.channel.v1.Offer.Builder bu return this; } /** - * - * *
      * The list of Offers requested.
      * 
@@ -713,15 +658,14 @@ public Builder addOffers(com.google.cloud.channel.v1.Offer value) { return this; } /** - * - * *
      * The list of Offers requested.
      * 
* * repeated .google.cloud.channel.v1.Offer offers = 1; */ - public Builder addOffers(int index, com.google.cloud.channel.v1.Offer value) { + public Builder addOffers( + int index, com.google.cloud.channel.v1.Offer value) { if (offersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -735,15 +679,14 @@ public Builder addOffers(int index, com.google.cloud.channel.v1.Offer value) { return this; } /** - * - * *
      * The list of Offers requested.
      * 
* * repeated .google.cloud.channel.v1.Offer offers = 1; */ - public Builder addOffers(com.google.cloud.channel.v1.Offer.Builder builderForValue) { + public Builder addOffers( + com.google.cloud.channel.v1.Offer.Builder builderForValue) { if (offersBuilder_ == null) { ensureOffersIsMutable(); offers_.add(builderForValue.build()); @@ -754,15 +697,14 @@ public Builder addOffers(com.google.cloud.channel.v1.Offer.Builder builderForVal return this; } /** - * - * *
      * The list of Offers requested.
      * 
* * repeated .google.cloud.channel.v1.Offer offers = 1; */ - public Builder addOffers(int index, com.google.cloud.channel.v1.Offer.Builder builderForValue) { + public Builder addOffers( + int index, com.google.cloud.channel.v1.Offer.Builder builderForValue) { if (offersBuilder_ == null) { ensureOffersIsMutable(); offers_.add(index, builderForValue.build()); @@ -773,8 +715,6 @@ public Builder addOffers(int index, com.google.cloud.channel.v1.Offer.Builder bu return this; } /** - * - * *
      * The list of Offers requested.
      * 
@@ -785,7 +725,8 @@ public Builder addAllOffers( java.lang.Iterable values) { if (offersBuilder_ == null) { ensureOffersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, offers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, offers_); onChanged(); } else { offersBuilder_.addAllMessages(values); @@ -793,8 +734,6 @@ public Builder addAllOffers( return this; } /** - * - * *
      * The list of Offers requested.
      * 
@@ -812,8 +751,6 @@ public Builder clearOffers() { return this; } /** - * - * *
      * The list of Offers requested.
      * 
@@ -831,44 +768,39 @@ public Builder removeOffers(int index) { return this; } /** - * - * *
      * The list of Offers requested.
      * 
* * repeated .google.cloud.channel.v1.Offer offers = 1; */ - public com.google.cloud.channel.v1.Offer.Builder getOffersBuilder(int index) { + public com.google.cloud.channel.v1.Offer.Builder getOffersBuilder( + int index) { return getOffersFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of Offers requested.
      * 
* * repeated .google.cloud.channel.v1.Offer offers = 1; */ - public com.google.cloud.channel.v1.OfferOrBuilder getOffersOrBuilder(int index) { + public com.google.cloud.channel.v1.OfferOrBuilder getOffersOrBuilder( + int index) { if (offersBuilder_ == null) { - return offers_.get(index); - } else { + return offers_.get(index); } else { return offersBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of Offers requested.
      * 
* * repeated .google.cloud.channel.v1.Offer offers = 1; */ - public java.util.List - getOffersOrBuilderList() { + public java.util.List + getOffersOrBuilderList() { if (offersBuilder_ != null) { return offersBuilder_.getMessageOrBuilderList(); } else { @@ -876,8 +808,6 @@ public com.google.cloud.channel.v1.OfferOrBuilder getOffersOrBuilder(int index) } } /** - * - * *
      * The list of Offers requested.
      * 
@@ -885,47 +815,42 @@ public com.google.cloud.channel.v1.OfferOrBuilder getOffersOrBuilder(int index) * repeated .google.cloud.channel.v1.Offer offers = 1; */ public com.google.cloud.channel.v1.Offer.Builder addOffersBuilder() { - return getOffersFieldBuilder() - .addBuilder(com.google.cloud.channel.v1.Offer.getDefaultInstance()); + return getOffersFieldBuilder().addBuilder( + com.google.cloud.channel.v1.Offer.getDefaultInstance()); } /** - * - * *
      * The list of Offers requested.
      * 
* * repeated .google.cloud.channel.v1.Offer offers = 1; */ - public com.google.cloud.channel.v1.Offer.Builder addOffersBuilder(int index) { - return getOffersFieldBuilder() - .addBuilder(index, com.google.cloud.channel.v1.Offer.getDefaultInstance()); + public com.google.cloud.channel.v1.Offer.Builder addOffersBuilder( + int index) { + return getOffersFieldBuilder().addBuilder( + index, com.google.cloud.channel.v1.Offer.getDefaultInstance()); } /** - * - * *
      * The list of Offers requested.
      * 
* * repeated .google.cloud.channel.v1.Offer offers = 1; */ - public java.util.List getOffersBuilderList() { + public java.util.List + getOffersBuilderList() { return getOffersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Offer, - com.google.cloud.channel.v1.Offer.Builder, - com.google.cloud.channel.v1.OfferOrBuilder> + com.google.cloud.channel.v1.Offer, com.google.cloud.channel.v1.Offer.Builder, com.google.cloud.channel.v1.OfferOrBuilder> getOffersFieldBuilder() { if (offersBuilder_ == null) { - offersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Offer, - com.google.cloud.channel.v1.Offer.Builder, - com.google.cloud.channel.v1.OfferOrBuilder>( - offers_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + offersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.Offer, com.google.cloud.channel.v1.Offer.Builder, com.google.cloud.channel.v1.OfferOrBuilder>( + offers_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); offers_ = null; } return offersBuilder_; @@ -933,20 +858,18 @@ public java.util.List getOffersBuilde private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * 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; @@ -955,21 +878,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * 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 { @@ -977,68 +899,61 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * 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 to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * 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); } @@ -1048,12 +963,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListOffersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListOffersResponse) private static final com.google.cloud.channel.v1.ListOffersResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListOffersResponse(); } @@ -1062,27 +977,27 @@ public static com.google.cloud.channel.v1.ListOffersResponse getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOffersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOffersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1097,4 +1012,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListOffersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponseOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponseOrBuilder.java similarity index 64% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponseOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponseOrBuilder.java index 47c050a46445..08bf54a7a587 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponseOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponseOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListOffersResponseOrBuilder - extends +public interface ListOffersResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListOffersResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of Offers requested.
    * 
* * repeated .google.cloud.channel.v1.Offer offers = 1; */ - java.util.List getOffersList(); + java.util.List + getOffersList(); /** - * - * *
    * The list of Offers requested.
    * 
@@ -44,8 +25,6 @@ public interface ListOffersResponseOrBuilder */ com.google.cloud.channel.v1.Offer getOffers(int index); /** - * - * *
    * The list of Offers requested.
    * 
@@ -54,48 +33,41 @@ public interface ListOffersResponseOrBuilder */ int getOffersCount(); /** - * - * *
    * The list of Offers requested.
    * 
* * repeated .google.cloud.channel.v1.Offer offers = 1; */ - java.util.List getOffersOrBuilderList(); + java.util.List + getOffersOrBuilderList(); /** - * - * *
    * The list of Offers requested.
    * 
* * repeated .google.cloud.channel.v1.Offer offers = 1; */ - com.google.cloud.channel.v1.OfferOrBuilder getOffersOrBuilder(int index); + com.google.cloud.channel.v1.OfferOrBuilder getOffersOrBuilder( + int index); /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequest.java similarity index 70% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequest.java index 25a18054d5e5..fc76a963aed9 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
  * Request message for ListProducts.
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListProductsRequest} */ -public final class ListProductsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListProductsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListProductsRequest) ListProductsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListProductsRequest.newBuilder() to construct. private ListProductsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListProductsRequest() { account_ = ""; pageToken_ = ""; @@ -45,42 +27,38 @@ private ListProductsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListProductsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListProductsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListProductsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListProductsRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListProductsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListProductsRequest.class, - com.google.cloud.channel.v1.ListProductsRequest.Builder.class); + com.google.cloud.channel.v1.ListProductsRequest.class, com.google.cloud.channel.v1.ListProductsRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private volatile java.lang.Object account_; /** - * - * *
    * Required. The resource name of the reseller account.
    * Format: accounts/{account_id}.
    * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The account. */ @java.lang.Override @@ -89,30 +67,30 @@ public java.lang.String getAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); account_ = s; return s; } } /** - * - * *
    * Required. The resource name of the reseller account.
    * Format: accounts/{account_id}.
    * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -123,16 +101,13 @@ public com.google.protobuf.ByteString getAccountBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
-   * Optional. Requested page size. Server might return fewer results than requested.
-   * If unspecified, returns at most 100 Products.
-   * The maximum value is 1000; the server will coerce values above 1000.
+   * Optional. Requested page size. Server might return fewer results than
+   * requested. If unspecified, returns at most 100 Products. The maximum value
+   * is 1000; the server will coerce values above 1000.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -143,14 +118,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Optional. A token for a page of results other than the first page.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -159,29 +131,29 @@ 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 token for a page of results other than the first page.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -192,8 +164,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 4; private volatile java.lang.Object languageCode_; /** - * - * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -201,7 +171,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ @java.lang.Override @@ -210,15 +179,14 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** - * - * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -226,15 +194,16 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -243,7 +212,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,7 +223,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(account_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, account_); } @@ -281,7 +250,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, account_); } 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_); @@ -297,18 +267,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.cloud.channel.v1.ListProductsRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListProductsRequest other = - (com.google.cloud.channel.v1.ListProductsRequest) obj; + com.google.cloud.channel.v1.ListProductsRequest other = (com.google.cloud.channel.v1.ListProductsRequest) obj; - if (!getAccount().equals(other.getAccount())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getLanguageCode().equals(other.getLanguageCode())) return false; + if (!getAccount() + .equals(other.getAccount())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getLanguageCode() + .equals(other.getLanguageCode())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -333,136 +306,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ListProductsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.ListProductsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListProductsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListProductsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListProductsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListProductsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListProductsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListProductsRequest 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.cloud.channel.v1.ListProductsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListProductsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListProductsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListProductsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListProductsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListProductsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ListProductsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListProducts.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListProductsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListProductsRequest) com.google.cloud.channel.v1.ListProductsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListProductsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListProductsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListProductsRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListProductsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListProductsRequest.class, - com.google.cloud.channel.v1.ListProductsRequest.Builder.class); + com.google.cloud.channel.v1.ListProductsRequest.class, com.google.cloud.channel.v1.ListProductsRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.ListProductsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -478,9 +445,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListProductsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListProductsRequest_descriptor; } @java.lang.Override @@ -499,8 +466,7 @@ public com.google.cloud.channel.v1.ListProductsRequest build() { @java.lang.Override public com.google.cloud.channel.v1.ListProductsRequest buildPartial() { - com.google.cloud.channel.v1.ListProductsRequest result = - new com.google.cloud.channel.v1.ListProductsRequest(this); + com.google.cloud.channel.v1.ListProductsRequest result = new com.google.cloud.channel.v1.ListProductsRequest(this); result.account_ = account_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -513,39 +479,38 @@ public com.google.cloud.channel.v1.ListProductsRequest 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.cloud.channel.v1.ListProductsRequest) { - return mergeFrom((com.google.cloud.channel.v1.ListProductsRequest) other); + return mergeFrom((com.google.cloud.channel.v1.ListProductsRequest)other); } else { super.mergeFrom(other); return this; @@ -553,8 +518,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ListProductsRequest other) { - if (other == com.google.cloud.channel.v1.ListProductsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.ListProductsRequest.getDefaultInstance()) return this; if (!other.getAccount().isEmpty()) { account_ = other.account_; onChanged(); @@ -596,37 +560,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - account_ = input.readStringRequireUtf8(); + case 10: { + account_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - languageCode_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: { + languageCode_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -639,21 +598,19 @@ public Builder mergeFrom( private java.lang.Object account_ = ""; /** - * - * *
      * Required. The resource name of the reseller account.
      * Format: accounts/{account_id}.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -662,22 +619,21 @@ public java.lang.String getAccount() { } } /** - * - * *
      * Required. The resource name of the reseller account.
      * Format: accounts/{account_id}.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -685,81 +641,71 @@ public com.google.protobuf.ByteString getAccountBytes() { } } /** - * - * *
      * Required. The resource name of the reseller account.
      * Format: accounts/{account_id}.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 resource name of the reseller account.
      * Format: accounts/{account_id}.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearAccount() { - + account_ = getDefaultInstance().getAccount(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the reseller account.
      * Format: accounts/{account_id}.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
-     * Optional. Requested page size. Server might return fewer results than requested.
-     * If unspecified, returns at most 100 Products.
-     * The maximum value is 1000; the server will coerce values above 1000.
+     * Optional. Requested page size. Server might return fewer results than
+     * requested. If unspecified, returns at most 100 Products. The maximum value
+     * is 1000; the server will coerce values above 1000.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -767,40 +713,34 @@ public int getPageSize() { return pageSize_; } /** - * - * *
-     * Optional. Requested page size. Server might return fewer results than requested.
-     * If unspecified, returns at most 100 Products.
-     * The maximum value is 1000; the server will coerce values above 1000.
+     * Optional. Requested page size. Server might return fewer results than
+     * requested. If unspecified, returns at most 100 Products. The maximum value
+     * is 1000; the server will coerce values above 1000.
      * 
* * int32 page_size = 2 [(.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. Requested page size. Server might return fewer results than requested.
-     * If unspecified, returns at most 100 Products.
-     * The maximum value is 1000; the server will coerce values above 1000.
+     * Optional. Requested page size. Server might return fewer results than
+     * requested. If unspecified, returns at most 100 Products. The maximum value
+     * is 1000; the server will coerce values above 1000.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -808,20 +748,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -830,21 +768,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -852,61 +789,54 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + 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; @@ -914,8 +844,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object languageCode_ = ""; /** - * - * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -923,13 +851,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -938,8 +866,6 @@ public java.lang.String getLanguageCode() { } } /** - * - * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -947,14 +873,15 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -962,8 +889,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } } /** - * - * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -971,22 +896,20 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode(java.lang.String value) { + public Builder setLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -994,18 +917,15 @@ public Builder setLanguageCode(java.lang.String value) {
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** - * - * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1013,23 +933,23 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = 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); } @@ -1039,12 +959,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListProductsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListProductsRequest) private static final com.google.cloud.channel.v1.ListProductsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListProductsRequest(); } @@ -1053,27 +973,27 @@ public static com.google.cloud.channel.v1.ListProductsRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListProductsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListProductsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1088,4 +1008,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListProductsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequestOrBuilder.java similarity index 67% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequestOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequestOrBuilder.java index 060de0008f11..2b5020b0f4a5 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequestOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequestOrBuilder.java @@ -1,98 +1,67 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListProductsRequestOrBuilder - extends +public interface ListProductsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListProductsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the reseller account.
    * Format: accounts/{account_id}.
    * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The account. */ java.lang.String getAccount(); /** - * - * *
    * Required. The resource name of the reseller account.
    * Format: accounts/{account_id}.
    * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for account. */ - com.google.protobuf.ByteString getAccountBytes(); + com.google.protobuf.ByteString + getAccountBytes(); /** - * - * *
-   * Optional. Requested page size. Server might return fewer results than requested.
-   * If unspecified, returns at most 100 Products.
-   * The maximum value is 1000; the server will coerce values above 1000.
+   * Optional. Requested page size. Server might return fewer results than
+   * requested. If unspecified, returns at most 100 Products. The maximum value
+   * is 1000; the server will coerce values above 1000.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. A token for a page of results other than the first page.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. A token for a page of results other than the first page.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -100,13 +69,10 @@ public interface ListProductsRequestOrBuilder
    * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ java.lang.String getLanguageCode(); /** - * - * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -114,8 +80,8 @@ public interface ListProductsRequestOrBuilder
    * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString getLanguageCodeBytes(); + com.google.protobuf.ByteString + getLanguageCodeBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponse.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponse.java similarity index 71% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponse.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponse.java index a72b68ccfa57..df760a403ee4 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponse.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponse.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
  * Response message for ListProducts.
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListProductsResponse} */ -public final class ListProductsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListProductsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListProductsResponse) ListProductsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListProductsResponse.newBuilder() to construct. private ListProductsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListProductsResponse() { products_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,35 +26,32 @@ private ListProductsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListProductsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListProductsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListProductsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListProductsResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListProductsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListProductsResponse.class, - com.google.cloud.channel.v1.ListProductsResponse.Builder.class); + com.google.cloud.channel.v1.ListProductsResponse.class, com.google.cloud.channel.v1.ListProductsResponse.Builder.class); } public static final int PRODUCTS_FIELD_NUMBER = 1; private java.util.List products_; /** - * - * *
    * List of Products requested.
    * 
@@ -84,8 +63,6 @@ public java.util.List getProductsList() { return products_; } /** - * - * *
    * List of Products requested.
    * 
@@ -93,13 +70,11 @@ public java.util.List getProductsList() { * repeated .google.cloud.channel.v1.Product products = 1; */ @java.lang.Override - public java.util.List + public java.util.List getProductsOrBuilderList() { return products_; } /** - * - * *
    * List of Products requested.
    * 
@@ -111,8 +86,6 @@ public int getProductsCount() { return products_.size(); } /** - * - * *
    * List of Products requested.
    * 
@@ -124,8 +97,6 @@ public com.google.cloud.channel.v1.Product getProducts(int index) { return products_.get(index); } /** - * - * *
    * List of Products requested.
    * 
@@ -133,21 +104,19 @@ public com.google.cloud.channel.v1.Product getProducts(int index) { * repeated .google.cloud.channel.v1.Product products = 1; */ @java.lang.Override - public com.google.cloud.channel.v1.ProductOrBuilder getProductsOrBuilder(int index) { + public com.google.cloud.channel.v1.ProductOrBuilder getProductsOrBuilder( + int index) { return products_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,29 +125,29 @@ 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 to retrieve the next page of results.
    * 
* * 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 { @@ -187,7 +156,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,7 +167,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < products_.size(); i++) { output.writeMessage(1, products_.get(i)); } @@ -216,7 +185,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < products_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, products_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, products_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -229,16 +199,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.cloud.channel.v1.ListProductsResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListProductsResponse other = - (com.google.cloud.channel.v1.ListProductsResponse) obj; + com.google.cloud.channel.v1.ListProductsResponse other = (com.google.cloud.channel.v1.ListProductsResponse) obj; - if (!getProductsList().equals(other.getProductsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getProductsList() + .equals(other.getProductsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -261,136 +232,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ListProductsResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.ListProductsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListProductsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListProductsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListProductsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListProductsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListProductsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListProductsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListProductsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListProductsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListProductsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListProductsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListProductsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListProductsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListProductsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ListProductsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 ListProducts.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListProductsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListProductsResponse) com.google.cloud.channel.v1.ListProductsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListProductsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListProductsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListProductsResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListProductsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListProductsResponse.class, - com.google.cloud.channel.v1.ListProductsResponse.Builder.class); + com.google.cloud.channel.v1.ListProductsResponse.class, com.google.cloud.channel.v1.ListProductsResponse.Builder.class); } // Construct using com.google.cloud.channel.v1.ListProductsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -407,9 +372,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListProductsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListProductsResponse_descriptor; } @java.lang.Override @@ -428,8 +393,7 @@ public com.google.cloud.channel.v1.ListProductsResponse build() { @java.lang.Override public com.google.cloud.channel.v1.ListProductsResponse buildPartial() { - com.google.cloud.channel.v1.ListProductsResponse result = - new com.google.cloud.channel.v1.ListProductsResponse(this); + com.google.cloud.channel.v1.ListProductsResponse result = new com.google.cloud.channel.v1.ListProductsResponse(this); int from_bitField0_ = bitField0_; if (productsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -449,39 +413,38 @@ public com.google.cloud.channel.v1.ListProductsResponse 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.cloud.channel.v1.ListProductsResponse) { - return mergeFrom((com.google.cloud.channel.v1.ListProductsResponse) other); + return mergeFrom((com.google.cloud.channel.v1.ListProductsResponse)other); } else { super.mergeFrom(other); return this; @@ -489,8 +452,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ListProductsResponse other) { - if (other == com.google.cloud.channel.v1.ListProductsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.ListProductsResponse.getDefaultInstance()) return this; if (productsBuilder_ == null) { if (!other.products_.isEmpty()) { if (products_.isEmpty()) { @@ -509,10 +471,9 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ListProductsResponse other) productsBuilder_ = null; products_ = other.products_; bitField0_ = (bitField0_ & ~0x00000001); - productsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getProductsFieldBuilder() - : null; + productsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getProductsFieldBuilder() : null; } else { productsBuilder_.addAllMessages(other.products_); } @@ -548,32 +509,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.channel.v1.Product m = - input.readMessage( - com.google.cloud.channel.v1.Product.parser(), extensionRegistry); - if (productsBuilder_ == null) { - ensureProductsIsMutable(); - products_.add(m); - } else { - productsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.cloud.channel.v1.Product m = + input.readMessage( + com.google.cloud.channel.v1.Product.parser(), + extensionRegistry); + if (productsBuilder_ == null) { + ensureProductsIsMutable(); + products_.add(m); + } else { + productsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -583,28 +542,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List products_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureProductsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { products_ = new java.util.ArrayList(products_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Product, - com.google.cloud.channel.v1.Product.Builder, - com.google.cloud.channel.v1.ProductOrBuilder> - productsBuilder_; + com.google.cloud.channel.v1.Product, com.google.cloud.channel.v1.Product.Builder, com.google.cloud.channel.v1.ProductOrBuilder> productsBuilder_; /** - * - * *
      * List of Products requested.
      * 
@@ -619,8 +571,6 @@ public java.util.List getProductsList() { } } /** - * - * *
      * List of Products requested.
      * 
@@ -635,8 +585,6 @@ public int getProductsCount() { } } /** - * - * *
      * List of Products requested.
      * 
@@ -651,15 +599,14 @@ public com.google.cloud.channel.v1.Product getProducts(int index) { } } /** - * - * *
      * List of Products requested.
      * 
* * repeated .google.cloud.channel.v1.Product products = 1; */ - public Builder setProducts(int index, com.google.cloud.channel.v1.Product value) { + public Builder setProducts( + int index, com.google.cloud.channel.v1.Product value) { if (productsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -673,8 +620,6 @@ public Builder setProducts(int index, com.google.cloud.channel.v1.Product value) return this; } /** - * - * *
      * List of Products requested.
      * 
@@ -693,8 +638,6 @@ public Builder setProducts( return this; } /** - * - * *
      * List of Products requested.
      * 
@@ -715,15 +658,14 @@ public Builder addProducts(com.google.cloud.channel.v1.Product value) { return this; } /** - * - * *
      * List of Products requested.
      * 
* * repeated .google.cloud.channel.v1.Product products = 1; */ - public Builder addProducts(int index, com.google.cloud.channel.v1.Product value) { + public Builder addProducts( + int index, com.google.cloud.channel.v1.Product value) { if (productsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -737,15 +679,14 @@ public Builder addProducts(int index, com.google.cloud.channel.v1.Product value) return this; } /** - * - * *
      * List of Products requested.
      * 
* * repeated .google.cloud.channel.v1.Product products = 1; */ - public Builder addProducts(com.google.cloud.channel.v1.Product.Builder builderForValue) { + public Builder addProducts( + com.google.cloud.channel.v1.Product.Builder builderForValue) { if (productsBuilder_ == null) { ensureProductsIsMutable(); products_.add(builderForValue.build()); @@ -756,8 +697,6 @@ public Builder addProducts(com.google.cloud.channel.v1.Product.Builder builderFo return this; } /** - * - * *
      * List of Products requested.
      * 
@@ -776,8 +715,6 @@ public Builder addProducts( return this; } /** - * - * *
      * List of Products requested.
      * 
@@ -788,7 +725,8 @@ public Builder addAllProducts( java.lang.Iterable values) { if (productsBuilder_ == null) { ensureProductsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, products_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, products_); onChanged(); } else { productsBuilder_.addAllMessages(values); @@ -796,8 +734,6 @@ public Builder addAllProducts( return this; } /** - * - * *
      * List of Products requested.
      * 
@@ -815,8 +751,6 @@ public Builder clearProducts() { return this; } /** - * - * *
      * List of Products requested.
      * 
@@ -834,44 +768,39 @@ public Builder removeProducts(int index) { return this; } /** - * - * *
      * List of Products requested.
      * 
* * repeated .google.cloud.channel.v1.Product products = 1; */ - public com.google.cloud.channel.v1.Product.Builder getProductsBuilder(int index) { + public com.google.cloud.channel.v1.Product.Builder getProductsBuilder( + int index) { return getProductsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of Products requested.
      * 
* * repeated .google.cloud.channel.v1.Product products = 1; */ - public com.google.cloud.channel.v1.ProductOrBuilder getProductsOrBuilder(int index) { + public com.google.cloud.channel.v1.ProductOrBuilder getProductsOrBuilder( + int index) { if (productsBuilder_ == null) { - return products_.get(index); - } else { + return products_.get(index); } else { return productsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of Products requested.
      * 
* * repeated .google.cloud.channel.v1.Product products = 1; */ - public java.util.List - getProductsOrBuilderList() { + public java.util.List + getProductsOrBuilderList() { if (productsBuilder_ != null) { return productsBuilder_.getMessageOrBuilderList(); } else { @@ -879,8 +808,6 @@ public com.google.cloud.channel.v1.ProductOrBuilder getProductsOrBuilder(int ind } } /** - * - * *
      * List of Products requested.
      * 
@@ -888,47 +815,42 @@ public com.google.cloud.channel.v1.ProductOrBuilder getProductsOrBuilder(int ind * repeated .google.cloud.channel.v1.Product products = 1; */ public com.google.cloud.channel.v1.Product.Builder addProductsBuilder() { - return getProductsFieldBuilder() - .addBuilder(com.google.cloud.channel.v1.Product.getDefaultInstance()); + return getProductsFieldBuilder().addBuilder( + com.google.cloud.channel.v1.Product.getDefaultInstance()); } /** - * - * *
      * List of Products requested.
      * 
* * repeated .google.cloud.channel.v1.Product products = 1; */ - public com.google.cloud.channel.v1.Product.Builder addProductsBuilder(int index) { - return getProductsFieldBuilder() - .addBuilder(index, com.google.cloud.channel.v1.Product.getDefaultInstance()); + public com.google.cloud.channel.v1.Product.Builder addProductsBuilder( + int index) { + return getProductsFieldBuilder().addBuilder( + index, com.google.cloud.channel.v1.Product.getDefaultInstance()); } /** - * - * *
      * List of Products requested.
      * 
* * repeated .google.cloud.channel.v1.Product products = 1; */ - public java.util.List getProductsBuilderList() { + public java.util.List + getProductsBuilderList() { return getProductsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Product, - com.google.cloud.channel.v1.Product.Builder, - com.google.cloud.channel.v1.ProductOrBuilder> + com.google.cloud.channel.v1.Product, com.google.cloud.channel.v1.Product.Builder, com.google.cloud.channel.v1.ProductOrBuilder> getProductsFieldBuilder() { if (productsBuilder_ == null) { - productsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Product, - com.google.cloud.channel.v1.Product.Builder, - com.google.cloud.channel.v1.ProductOrBuilder>( - products_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + productsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.Product, com.google.cloud.channel.v1.Product.Builder, com.google.cloud.channel.v1.ProductOrBuilder>( + products_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); products_ = null; } return productsBuilder_; @@ -936,20 +858,18 @@ public java.util.List getProductsBu private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * 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; @@ -958,21 +878,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * 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 { @@ -980,68 +899,61 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * 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 to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * 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); } @@ -1051,12 +963,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListProductsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListProductsResponse) private static final com.google.cloud.channel.v1.ListProductsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListProductsResponse(); } @@ -1065,27 +977,27 @@ public static com.google.cloud.channel.v1.ListProductsResponse getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListProductsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListProductsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1100,4 +1012,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListProductsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponseOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponseOrBuilder.java similarity index 63% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponseOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponseOrBuilder.java index cf288372fcf1..b4d0a76b9108 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponseOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponseOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListProductsResponseOrBuilder - extends +public interface ListProductsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListProductsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of Products requested.
    * 
* * repeated .google.cloud.channel.v1.Product products = 1; */ - java.util.List getProductsList(); + java.util.List + getProductsList(); /** - * - * *
    * List of Products requested.
    * 
@@ -44,8 +25,6 @@ public interface ListProductsResponseOrBuilder */ com.google.cloud.channel.v1.Product getProducts(int index); /** - * - * *
    * List of Products requested.
    * 
@@ -54,48 +33,41 @@ public interface ListProductsResponseOrBuilder */ int getProductsCount(); /** - * - * *
    * List of Products requested.
    * 
* * repeated .google.cloud.channel.v1.Product products = 1; */ - java.util.List getProductsOrBuilderList(); + java.util.List + getProductsOrBuilderList(); /** - * - * *
    * List of Products requested.
    * 
* * repeated .google.cloud.channel.v1.Product products = 1; */ - com.google.cloud.channel.v1.ProductOrBuilder getProductsOrBuilder(int index); + com.google.cloud.channel.v1.ProductOrBuilder getProductsOrBuilder( + int index); /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequest.java similarity index 61% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequest.java index 7797b19313b7..89dce3602c04 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
  * Request message for ListPurchasableOffers.
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListPurchasableOffersRequest} */ -public final class ListPurchasableOffersRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListPurchasableOffersRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListPurchasableOffersRequest) ListPurchasableOffersRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListPurchasableOffersRequest.newBuilder() to construct. private ListPurchasableOffersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPurchasableOffersRequest() { customer_ = ""; pageToken_ = ""; @@ -45,126 +27,109 @@ private ListPurchasableOffersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPurchasableOffersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListPurchasableOffersRequest.class, - com.google.cloud.channel.v1.ListPurchasableOffersRequest.Builder.class); + com.google.cloud.channel.v1.ListPurchasableOffersRequest.class, com.google.cloud.channel.v1.ListPurchasableOffersRequest.Builder.class); } - public interface CreateEntitlementPurchaseOrBuilder - extends + public interface CreateEntitlementPurchaseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. SKU that the result should be restricted to.
      * Format: products/{product_id}/skus/{sku_id}.
      * 
* * string sku = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sku. */ java.lang.String getSku(); /** - * - * *
      * Required. SKU that the result should be restricted to.
      * Format: products/{product_id}/skus/{sku_id}.
      * 
* * string sku = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for sku. */ - com.google.protobuf.ByteString getSkuBytes(); + com.google.protobuf.ByteString + getSkuBytes(); } /** - * - * *
    * List Offers for CreateEntitlement purchase.
    * 
* - * Protobuf type {@code - * google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase} + * Protobuf type {@code google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase} */ - public static final class CreateEntitlementPurchase extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CreateEntitlementPurchase extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) CreateEntitlementPurchaseOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateEntitlementPurchase.newBuilder() to construct. private CreateEntitlementPurchase(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateEntitlementPurchase() { sku_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateEntitlementPurchase(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - .class, - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - .Builder.class); + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.class, com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder.class); } public static final int SKU_FIELD_NUMBER = 1; private volatile java.lang.Object sku_; /** - * - * *
      * Required. SKU that the result should be restricted to.
      * Format: products/{product_id}/skus/{sku_id}.
      * 
* * string sku = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sku. */ @java.lang.Override @@ -173,30 +138,30 @@ public java.lang.String getSku() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sku_ = s; return s; } } /** - * - * *
      * Required. SKU that the result should be restricted to.
      * Format: products/{product_id}/skus/{sku_id}.
      * 
* * string sku = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for sku. */ @java.lang.Override - public com.google.protobuf.ByteString getSkuBytes() { + public com.google.protobuf.ByteString + getSkuBytes() { java.lang.Object ref = sku_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sku_ = b; return b; } else { @@ -205,7 +170,6 @@ public com.google.protobuf.ByteString getSkuBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,7 +181,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sku_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sku_); } @@ -241,17 +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.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase)) { + if (!(obj instanceof com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase other = - (com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) obj; + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase other = (com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) obj; - if (!getSku().equals(other.getSku())) return false; + if (!getSku() + .equals(other.getSku())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -270,102 +233,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - 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.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase 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.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -375,46 +324,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * List Offers for CreateEntitlement purchase.
      * 
* - * Protobuf type {@code - * google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase} + * Protobuf type {@code google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) - com.google.cloud.channel.v1.ListPurchasableOffersRequest - .CreateEntitlementPurchaseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_descriptor; + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchaseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - .class, - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - .Builder.class); + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.class, com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder.class); } - // Construct using - // com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.newBuilder() - private Builder() {} + // Construct using com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -424,23 +366,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_descriptor; } @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - getDefaultInstanceForType() { - return com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - .getDefaultInstance(); + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase getDefaultInstanceForType() { + return com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - build() { - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase result = - buildPartial(); + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase build() { + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -448,11 +386,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - buildPartial() { - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase result = - new com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase( - this); + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase buildPartial() { + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase result = new com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase(this); result.sku_ = sku_; onBuilt(); return result; @@ -462,57 +397,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) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) { - return mergeFrom( - (com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) - other); + if (other instanceof com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) { + return mergeFrom((com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - other) { - if (other - == com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase other) { + if (other == com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.getDefaultInstance()) return this; if (!other.getSku().isEmpty()) { sku_ = other.sku_; onChanged(); @@ -543,19 +467,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - sku_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + sku_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -568,21 +490,19 @@ public Builder mergeFrom( private java.lang.Object sku_ = ""; /** - * - * *
        * Required. SKU that the result should be restricted to.
        * Format: products/{product_id}/skus/{sku_id}.
        * 
* * string sku = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sku. */ public java.lang.String getSku() { java.lang.Object ref = sku_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sku_ = s; return s; @@ -591,22 +511,21 @@ public java.lang.String getSku() { } } /** - * - * *
        * Required. SKU that the result should be restricted to.
        * Format: products/{product_id}/skus/{sku_id}.
        * 
* * string sku = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for sku. */ - public com.google.protobuf.ByteString getSkuBytes() { + public com.google.protobuf.ByteString + getSkuBytes() { java.lang.Object ref = sku_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sku_ = b; return b; } else { @@ -614,69 +533,61 @@ public com.google.protobuf.ByteString getSkuBytes() { } } /** - * - * *
        * Required. SKU that the result should be restricted to.
        * Format: products/{product_id}/skus/{sku_id}.
        * 
* * string sku = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The sku to set. * @return This builder for chaining. */ - public Builder setSku(java.lang.String value) { + public Builder setSku( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sku_ = value; onChanged(); return this; } /** - * - * *
        * Required. SKU that the result should be restricted to.
        * Format: products/{product_id}/skus/{sku_id}.
        * 
* * string sku = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSku() { - + sku_ = getDefaultInstance().getSku(); onChanged(); return this; } /** - * - * *
        * Required. SKU that the result should be restricted to.
        * Format: products/{product_id}/skus/{sku_id}.
        * 
* * string sku = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for sku to set. * @return This builder for chaining. */ - public Builder setSkuBytes(com.google.protobuf.ByteString value) { + public Builder setSkuBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sku_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -689,46 +600,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) - private static final com.google.cloud.channel.v1.ListPurchasableOffersRequest - .CreateEntitlementPurchase - DEFAULT_INSTANCE; - + private static final com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase(); + DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase(); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - getDefaultInstance() { + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateEntitlementPurchase parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateEntitlementPurchase parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -740,20 +646,17 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - getDefaultInstanceForType() { + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ChangeOfferPurchaseOrBuilder - extends + public interface ChangeOfferPurchaseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Resource name of the entitlement.
      * Format:
@@ -761,13 +664,10 @@ public interface ChangeOfferPurchaseOrBuilder
      * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The entitlement. */ java.lang.String getEntitlement(); /** - * - * *
      * Required. Resource name of the entitlement.
      * Format:
@@ -775,14 +675,12 @@ public interface ChangeOfferPurchaseOrBuilder
      * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for entitlement. */ - com.google.protobuf.ByteString getEntitlementBytes(); + com.google.protobuf.ByteString + getEntitlementBytes(); /** - * - * *
      * Optional. Resource name of the new target SKU. Provide this SKU when
      * upgrading or downgrading an entitlement. Format:
@@ -790,13 +688,10 @@ public interface ChangeOfferPurchaseOrBuilder
      * 
* * string new_sku = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The newSku. */ java.lang.String getNewSku(); /** - * - * *
      * Optional. Resource name of the new target SKU. Provide this SKU when
      * upgrading or downgrading an entitlement. Format:
@@ -804,30 +699,27 @@ public interface ChangeOfferPurchaseOrBuilder
      * 
* * string new_sku = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for newSku. */ - com.google.protobuf.ByteString getNewSkuBytes(); + com.google.protobuf.ByteString + getNewSkuBytes(); } /** - * - * *
    * List Offers for ChangeOffer purchase.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase} */ - public static final class ChangeOfferPurchase extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ChangeOfferPurchase extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) ChangeOfferPurchaseOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ChangeOfferPurchase.newBuilder() to construct. private ChangeOfferPurchase(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ChangeOfferPurchase() { entitlement_ = ""; newSku_ = ""; @@ -835,36 +727,32 @@ private ChangeOfferPurchase() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ChangeOfferPurchase(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.class, - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.Builder - .class); + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.class, com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.Builder.class); } public static final int ENTITLEMENT_FIELD_NUMBER = 1; private volatile java.lang.Object entitlement_; /** - * - * *
      * Required. Resource name of the entitlement.
      * Format:
@@ -872,7 +760,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The entitlement. */ @java.lang.Override @@ -881,15 +768,14 @@ public java.lang.String getEntitlement() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entitlement_ = s; return s; } } /** - * - * *
      * Required. Resource name of the entitlement.
      * Format:
@@ -897,15 +783,16 @@ public java.lang.String getEntitlement() {
      * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for entitlement. */ @java.lang.Override - public com.google.protobuf.ByteString getEntitlementBytes() { + public com.google.protobuf.ByteString + getEntitlementBytes() { java.lang.Object ref = entitlement_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); entitlement_ = b; return b; } else { @@ -916,8 +803,6 @@ public com.google.protobuf.ByteString getEntitlementBytes() { public static final int NEW_SKU_FIELD_NUMBER = 2; private volatile java.lang.Object newSku_; /** - * - * *
      * Optional. Resource name of the new target SKU. Provide this SKU when
      * upgrading or downgrading an entitlement. Format:
@@ -925,7 +810,6 @@ public com.google.protobuf.ByteString getEntitlementBytes() {
      * 
* * string new_sku = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The newSku. */ @java.lang.Override @@ -934,15 +818,14 @@ public java.lang.String getNewSku() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newSku_ = s; return s; } } /** - * - * *
      * Optional. Resource name of the new target SKU. Provide this SKU when
      * upgrading or downgrading an entitlement. Format:
@@ -950,15 +833,16 @@ public java.lang.String getNewSku() {
      * 
* * string new_sku = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for newSku. */ @java.lang.Override - public com.google.protobuf.ByteString getNewSkuBytes() { + public com.google.protobuf.ByteString + getNewSkuBytes() { java.lang.Object ref = newSku_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); newSku_ = b; return b; } else { @@ -967,7 +851,6 @@ public com.google.protobuf.ByteString getNewSkuBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -979,7 +862,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entitlement_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entitlement_); } @@ -1009,18 +893,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.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase)) { + if (!(obj instanceof com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase other = - (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) obj; + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase other = (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) obj; - if (!getEntitlement().equals(other.getEntitlement())) return false; - if (!getNewSku().equals(other.getNewSku())) return false; + if (!getEntitlement() + .equals(other.getEntitlement())) return false; + if (!getNewSku() + .equals(other.getNewSku())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1041,101 +924,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase - 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.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase 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.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1145,44 +1015,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * List Offers for ChangeOffer purchase.
      * 
* - * Protobuf type {@code - * google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase} + * Protobuf type {@code google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchaseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.class, - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.Builder - .class); + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.class, com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.Builder.class); } - // Construct using - // com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.newBuilder() - private Builder() {} + // Construct using com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1194,22 +1059,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_descriptor; } @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase - getDefaultInstanceForType() { - return com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase - .getDefaultInstance(); + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase getDefaultInstanceForType() { + return com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.getDefaultInstance(); } @java.lang.Override public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase build() { - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase result = - buildPartial(); + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1217,10 +1079,8 @@ public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurch } @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase - buildPartial() { - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase result = - new com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase(this); + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase buildPartial() { + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase result = new com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase(this); result.entitlement_ = entitlement_; result.newSku_ = newSku_; onBuilt(); @@ -1231,55 +1091,46 @@ public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurch public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) { - return mergeFrom( - (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) other); + if (other instanceof com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) { + return mergeFrom((com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase other) { - if (other - == com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase other) { + if (other == com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.getDefaultInstance()) return this; if (!other.getEntitlement().isEmpty()) { entitlement_ = other.entitlement_; onChanged(); @@ -1314,25 +1165,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - entitlement_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - newSku_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + entitlement_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + newSku_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1345,8 +1193,6 @@ public Builder mergeFrom( private java.lang.Object entitlement_ = ""; /** - * - * *
        * Required. Resource name of the entitlement.
        * Format:
@@ -1354,13 +1200,13 @@ public Builder mergeFrom(
        * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The entitlement. */ public java.lang.String getEntitlement() { java.lang.Object ref = entitlement_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entitlement_ = s; return s; @@ -1369,8 +1215,6 @@ public java.lang.String getEntitlement() { } } /** - * - * *
        * Required. Resource name of the entitlement.
        * Format:
@@ -1378,14 +1222,15 @@ public java.lang.String getEntitlement() {
        * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for entitlement. */ - public com.google.protobuf.ByteString getEntitlementBytes() { + public com.google.protobuf.ByteString + getEntitlementBytes() { java.lang.Object ref = entitlement_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); entitlement_ = b; return b; } else { @@ -1393,8 +1238,6 @@ public com.google.protobuf.ByteString getEntitlementBytes() { } } /** - * - * *
        * Required. Resource name of the entitlement.
        * Format:
@@ -1402,22 +1245,20 @@ public com.google.protobuf.ByteString getEntitlementBytes() {
        * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The entitlement to set. * @return This builder for chaining. */ - public Builder setEntitlement(java.lang.String value) { + public Builder setEntitlement( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entitlement_ = value; onChanged(); return this; } /** - * - * *
        * Required. Resource name of the entitlement.
        * Format:
@@ -1425,18 +1266,15 @@ public Builder setEntitlement(java.lang.String value) {
        * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearEntitlement() { - + entitlement_ = getDefaultInstance().getEntitlement(); onChanged(); return this; } /** - * - * *
        * Required. Resource name of the entitlement.
        * Format:
@@ -1444,16 +1282,16 @@ public Builder clearEntitlement() {
        * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for entitlement to set. * @return This builder for chaining. */ - public Builder setEntitlementBytes(com.google.protobuf.ByteString value) { + public Builder setEntitlementBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entitlement_ = value; onChanged(); return this; @@ -1461,8 +1299,6 @@ public Builder setEntitlementBytes(com.google.protobuf.ByteString value) { private java.lang.Object newSku_ = ""; /** - * - * *
        * Optional. Resource name of the new target SKU. Provide this SKU when
        * upgrading or downgrading an entitlement. Format:
@@ -1470,13 +1306,13 @@ public Builder setEntitlementBytes(com.google.protobuf.ByteString value) {
        * 
* * string new_sku = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The newSku. */ public java.lang.String getNewSku() { java.lang.Object ref = newSku_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newSku_ = s; return s; @@ -1485,8 +1321,6 @@ public java.lang.String getNewSku() { } } /** - * - * *
        * Optional. Resource name of the new target SKU. Provide this SKU when
        * upgrading or downgrading an entitlement. Format:
@@ -1494,14 +1328,15 @@ public java.lang.String getNewSku() {
        * 
* * string new_sku = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for newSku. */ - public com.google.protobuf.ByteString getNewSkuBytes() { + public com.google.protobuf.ByteString + getNewSkuBytes() { java.lang.Object ref = newSku_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); newSku_ = b; return b; } else { @@ -1509,8 +1344,6 @@ public com.google.protobuf.ByteString getNewSkuBytes() { } } /** - * - * *
        * Optional. Resource name of the new target SKU. Provide this SKU when
        * upgrading or downgrading an entitlement. Format:
@@ -1518,22 +1351,20 @@ public com.google.protobuf.ByteString getNewSkuBytes() {
        * 
* * string new_sku = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The newSku to set. * @return This builder for chaining. */ - public Builder setNewSku(java.lang.String value) { + public Builder setNewSku( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + newSku_ = value; onChanged(); return this; } /** - * - * *
        * Optional. Resource name of the new target SKU. Provide this SKU when
        * upgrading or downgrading an entitlement. Format:
@@ -1541,18 +1372,15 @@ public Builder setNewSku(java.lang.String value) {
        * 
* * string new_sku = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearNewSku() { - + newSku_ = getDefaultInstance().getNewSku(); onChanged(); return this; } /** - * - * *
        * Optional. Resource name of the new target SKU. Provide this SKU when
        * upgrading or downgrading an entitlement. Format:
@@ -1560,21 +1388,20 @@ public Builder clearNewSku() {
        * 
* * string new_sku = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for newSku to set. * @return This builder for chaining. */ - public Builder setNewSkuBytes(com.google.protobuf.ByteString value) { + public Builder setNewSkuBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + newSku_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1587,46 +1414,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) - private static final com.google.cloud.channel.v1.ListPurchasableOffersRequest - .ChangeOfferPurchase - DEFAULT_INSTANCE; - + private static final com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase(); + DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase(); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase - getDefaultInstance() { + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChangeOfferPurchase parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChangeOfferPurchase parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1638,24 +1460,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase - getDefaultInstanceForType() { + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int purchaseOptionCase_ = 0; private java.lang.Object purchaseOption_; - public enum PurchaseOptionCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CREATE_ENTITLEMENT_PURCHASE(2), CHANGE_OFFER_PURCHASE(3), PURCHASEOPTION_NOT_SET(0); private final int value; - private PurchaseOptionCase(int value) { this.value = value; } @@ -1671,38 +1490,30 @@ public static PurchaseOptionCase valueOf(int value) { public static PurchaseOptionCase forNumber(int value) { switch (value) { - case 2: - return CREATE_ENTITLEMENT_PURCHASE; - case 3: - return CHANGE_OFFER_PURCHASE; - case 0: - return PURCHASEOPTION_NOT_SET; - default: - return null; + case 2: return CREATE_ENTITLEMENT_PURCHASE; + case 3: return CHANGE_OFFER_PURCHASE; + case 0: return PURCHASEOPTION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public PurchaseOptionCase getPurchaseOptionCase() { - return PurchaseOptionCase.forNumber(purchaseOptionCase_); + public PurchaseOptionCase + getPurchaseOptionCase() { + return PurchaseOptionCase.forNumber( + purchaseOptionCase_); } public static final int CREATE_ENTITLEMENT_PURCHASE_FIELD_NUMBER = 2; /** - * - * *
    * List Offers for CreateEntitlement purchase.
    * 
* - * - * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; - * - * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; * @return Whether the createEntitlementPurchase field is set. */ @java.lang.Override @@ -1710,62 +1521,42 @@ public boolean hasCreateEntitlementPurchase() { return purchaseOptionCase_ == 2; } /** - * - * *
    * List Offers for CreateEntitlement purchase.
    * 
* - * - * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; - * - * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; * @return The createEntitlementPurchase. */ @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - getCreateEntitlementPurchase() { + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase getCreateEntitlementPurchase() { if (purchaseOptionCase_ == 2) { - return (com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) - purchaseOption_; + return (com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) purchaseOption_; } - return com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - .getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.getDefaultInstance(); } /** - * - * *
    * List Offers for CreateEntitlement purchase.
    * 
* - * - * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; - * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; */ @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchaseOrBuilder - getCreateEntitlementPurchaseOrBuilder() { + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchaseOrBuilder getCreateEntitlementPurchaseOrBuilder() { if (purchaseOptionCase_ == 2) { - return (com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) - purchaseOption_; + return (com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) purchaseOption_; } - return com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - .getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.getDefaultInstance(); } public static final int CHANGE_OFFER_PURCHASE_FIELD_NUMBER = 3; /** - * - * *
    * List Offers for ChangeOffer purchase.
    * 
* - * - * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; - * - * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; * @return Whether the changeOfferPurchase field is set. */ @java.lang.Override @@ -1773,64 +1564,44 @@ public boolean hasChangeOfferPurchase() { return purchaseOptionCase_ == 3; } /** - * - * *
    * List Offers for ChangeOffer purchase.
    * 
* - * - * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; - * - * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; * @return The changeOfferPurchase. */ @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase - getChangeOfferPurchase() { + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase getChangeOfferPurchase() { if (purchaseOptionCase_ == 3) { - return (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) - purchaseOption_; + return (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) purchaseOption_; } - return com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase - .getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.getDefaultInstance(); } /** - * - * *
    * List Offers for ChangeOffer purchase.
    * 
* - * - * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; - * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; */ @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchaseOrBuilder - getChangeOfferPurchaseOrBuilder() { + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchaseOrBuilder getChangeOfferPurchaseOrBuilder() { if (purchaseOptionCase_ == 3) { - return (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) - purchaseOption_; + return (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) purchaseOption_; } - return com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase - .getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.getDefaultInstance(); } public static final int CUSTOMER_FIELD_NUMBER = 1; private volatile java.lang.Object customer_; /** - * - * *
    * Required. The resource name of the customer to list Offers for.
    * Format: accounts/{account_id}/customers/{customer_id}.
    * 
* - * - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The customer. */ @java.lang.Override @@ -1839,32 +1610,30 @@ public java.lang.String getCustomer() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customer_ = s; return s; } } /** - * - * *
    * Required. The resource name of the customer to list Offers for.
    * Format: accounts/{account_id}/customers/{customer_id}.
    * 
* - * - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for customer. */ @java.lang.Override - public com.google.protobuf.ByteString getCustomerBytes() { + public com.google.protobuf.ByteString + getCustomerBytes() { java.lang.Object ref = customer_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); customer_ = b; return b; } else { @@ -1875,16 +1644,13 @@ public com.google.protobuf.ByteString getCustomerBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_; /** - * - * *
-   * Optional. Requested page size. Server might return fewer results than requested.
-   * If unspecified, returns at most 100 Offers.
-   * The maximum value is 1000; the server will coerce values above 1000.
+   * Optional. Requested page size. Server might return fewer results than
+   * requested. If unspecified, returns at most 100 Offers. The maximum value is
+   * 1000; the server will coerce values above 1000.
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -1895,14 +1661,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 5; private volatile java.lang.Object pageToken_; /** - * - * *
    * Optional. A token for a page of results other than the first page.
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -1911,29 +1674,29 @@ 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 token for a page of results other than the first page.
    * 
* * string page_token = 5 [(.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 { @@ -1944,8 +1707,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 6; private volatile java.lang.Object languageCode_; /** - * - * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -1953,7 +1714,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ @java.lang.Override @@ -1962,15 +1722,14 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** - * - * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -1978,15 +1737,16 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -1995,7 +1755,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2007,21 +1766,16 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(customer_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, customer_); } if (purchaseOptionCase_ == 2) { - output.writeMessage( - 2, - (com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) - purchaseOption_); + output.writeMessage(2, (com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) purchaseOption_); } if (purchaseOptionCase_ == 3) { - output.writeMessage( - 3, - (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) - purchaseOption_); + output.writeMessage(3, (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) purchaseOption_); } if (pageSize_ != 0) { output.writeInt32(4, pageSize_); @@ -2045,21 +1799,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, customer_); } if (purchaseOptionCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, - (com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) - purchaseOption_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) purchaseOption_); } if (purchaseOptionCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, - (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) - purchaseOption_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) purchaseOption_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pageToken_); @@ -2075,26 +1824,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.cloud.channel.v1.ListPurchasableOffersRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListPurchasableOffersRequest other = - (com.google.cloud.channel.v1.ListPurchasableOffersRequest) obj; + com.google.cloud.channel.v1.ListPurchasableOffersRequest other = (com.google.cloud.channel.v1.ListPurchasableOffersRequest) obj; - if (!getCustomer().equals(other.getCustomer())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getLanguageCode().equals(other.getLanguageCode())) return false; + if (!getCustomer() + .equals(other.getCustomer())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getLanguageCode() + .equals(other.getLanguageCode())) return false; if (!getPurchaseOptionCase().equals(other.getPurchaseOptionCase())) return false; switch (purchaseOptionCase_) { case 2: - if (!getCreateEntitlementPurchase().equals(other.getCreateEntitlementPurchase())) - return false; + if (!getCreateEntitlementPurchase() + .equals(other.getCreateEntitlementPurchase())) return false; break; case 3: - if (!getChangeOfferPurchase().equals(other.getChangeOfferPurchase())) return false; + if (!getChangeOfferPurchase() + .equals(other.getChangeOfferPurchase())) return false; break; case 0: default: @@ -2136,136 +1889,129 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListPurchasableOffersRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.ListPurchasableOffersRequest prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.ListPurchasableOffersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListPurchasableOffers.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListPurchasableOffersRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListPurchasableOffersRequest) com.google.cloud.channel.v1.ListPurchasableOffersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListPurchasableOffersRequest.class, - com.google.cloud.channel.v1.ListPurchasableOffersRequest.Builder.class); + com.google.cloud.channel.v1.ListPurchasableOffersRequest.class, com.google.cloud.channel.v1.ListPurchasableOffersRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.ListPurchasableOffersRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2289,9 +2035,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_descriptor; } @java.lang.Override @@ -2310,8 +2056,7 @@ public com.google.cloud.channel.v1.ListPurchasableOffersRequest build() { @java.lang.Override public com.google.cloud.channel.v1.ListPurchasableOffersRequest buildPartial() { - com.google.cloud.channel.v1.ListPurchasableOffersRequest result = - new com.google.cloud.channel.v1.ListPurchasableOffersRequest(this); + com.google.cloud.channel.v1.ListPurchasableOffersRequest result = new com.google.cloud.channel.v1.ListPurchasableOffersRequest(this); if (purchaseOptionCase_ == 2) { if (createEntitlementPurchaseBuilder_ == null) { result.purchaseOption_ = purchaseOption_; @@ -2339,39 +2084,38 @@ public com.google.cloud.channel.v1.ListPurchasableOffersRequest 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.cloud.channel.v1.ListPurchasableOffersRequest) { - return mergeFrom((com.google.cloud.channel.v1.ListPurchasableOffersRequest) other); + return mergeFrom((com.google.cloud.channel.v1.ListPurchasableOffersRequest)other); } else { super.mergeFrom(other); return this; @@ -2379,8 +2123,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ListPurchasableOffersRequest other) { - if (other == com.google.cloud.channel.v1.ListPurchasableOffersRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.ListPurchasableOffersRequest.getDefaultInstance()) return this; if (!other.getCustomer().isEmpty()) { customer_ = other.customer_; onChanged(); @@ -2397,20 +2140,17 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ListPurchasableOffersReques onChanged(); } switch (other.getPurchaseOptionCase()) { - case CREATE_ENTITLEMENT_PURCHASE: - { - mergeCreateEntitlementPurchase(other.getCreateEntitlementPurchase()); - break; - } - case CHANGE_OFFER_PURCHASE: - { - mergeChangeOfferPurchase(other.getChangeOfferPurchase()); - break; - } - case PURCHASEOPTION_NOT_SET: - { - break; - } + case CREATE_ENTITLEMENT_PURCHASE: { + mergeCreateEntitlementPurchase(other.getCreateEntitlementPurchase()); + break; + } + case CHANGE_OFFER_PURCHASE: { + mergeChangeOfferPurchase(other.getChangeOfferPurchase()); + break; + } + case PURCHASEOPTION_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2438,51 +2178,46 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - customer_ = input.readStringRequireUtf8(); + case 10: { + customer_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - input.readMessage( - getCreateEntitlementPurchaseFieldBuilder().getBuilder(), extensionRegistry); - purchaseOptionCase_ = 2; - break; - } // case 18 - case 26: - { - input.readMessage( - getChangeOfferPurchaseFieldBuilder().getBuilder(), extensionRegistry); - purchaseOptionCase_ = 3; - break; - } // case 26 - case 32: - { - pageSize_ = input.readInt32(); + break; + } // case 10 + case 18: { + input.readMessage( + getCreateEntitlementPurchaseFieldBuilder().getBuilder(), + extensionRegistry); + purchaseOptionCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getChangeOfferPurchaseFieldBuilder().getBuilder(), + extensionRegistry); + purchaseOptionCase_ = 3; + break; + } // case 26 + case 32: { + pageSize_ = input.readInt32(); - break; - } // case 32 - case 42: - { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 32 + case 42: { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 42 - case 50: - { - languageCode_ = input.readStringRequireUtf8(); + break; + } // case 42 + case 50: { + languageCode_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2492,12 +2227,12 @@ public Builder mergeFrom( } // finally return this; } - private int purchaseOptionCase_ = 0; private java.lang.Object purchaseOption_; - - public PurchaseOptionCase getPurchaseOptionCase() { - return PurchaseOptionCase.forNumber(purchaseOptionCase_); + public PurchaseOptionCase + getPurchaseOptionCase() { + return PurchaseOptionCase.forNumber( + purchaseOptionCase_); } public Builder clearPurchaseOption() { @@ -2507,24 +2242,15 @@ public Builder clearPurchaseOption() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase, - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - .Builder, - com.google.cloud.channel.v1.ListPurchasableOffersRequest - .CreateEntitlementPurchaseOrBuilder> - createEntitlementPurchaseBuilder_; + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase, com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder, com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchaseOrBuilder> createEntitlementPurchaseBuilder_; /** - * - * *
      * List Offers for CreateEntitlement purchase.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; - * - * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; * @return Whether the createEntitlementPurchase field is set. */ @java.lang.Override @@ -2532,50 +2258,35 @@ public boolean hasCreateEntitlementPurchase() { return purchaseOptionCase_ == 2; } /** - * - * *
      * List Offers for CreateEntitlement purchase.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; - * - * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; * @return The createEntitlementPurchase. */ @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - getCreateEntitlementPurchase() { + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase getCreateEntitlementPurchase() { if (createEntitlementPurchaseBuilder_ == null) { if (purchaseOptionCase_ == 2) { - return (com.google.cloud.channel.v1.ListPurchasableOffersRequest - .CreateEntitlementPurchase) - purchaseOption_; + return (com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) purchaseOption_; } - return com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - .getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.getDefaultInstance(); } else { if (purchaseOptionCase_ == 2) { return createEntitlementPurchaseBuilder_.getMessage(); } - return com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - .getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.getDefaultInstance(); } } /** - * - * *
      * List Offers for CreateEntitlement purchase.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; - * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; */ - public Builder setCreateEntitlementPurchase( - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase value) { + public Builder setCreateEntitlementPurchase(com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase value) { if (createEntitlementPurchaseBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2589,19 +2300,14 @@ public Builder setCreateEntitlementPurchase( return this; } /** - * - * *
      * List Offers for CreateEntitlement purchase.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; - * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; */ public Builder setCreateEntitlementPurchase( - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder - builderForValue) { + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder builderForValue) { if (createEntitlementPurchaseBuilder_ == null) { purchaseOption_ = builderForValue.build(); onChanged(); @@ -2612,31 +2318,18 @@ public Builder setCreateEntitlementPurchase( return this; } /** - * - * *
      * List Offers for CreateEntitlement purchase.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; - * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; */ - public Builder mergeCreateEntitlementPurchase( - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase value) { + public Builder mergeCreateEntitlementPurchase(com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase value) { if (createEntitlementPurchaseBuilder_ == null) { - if (purchaseOptionCase_ == 2 - && purchaseOption_ - != com.google.cloud.channel.v1.ListPurchasableOffersRequest - .CreateEntitlementPurchase.getDefaultInstance()) { - purchaseOption_ = - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - .newBuilder( - (com.google.cloud.channel.v1.ListPurchasableOffersRequest - .CreateEntitlementPurchase) - purchaseOption_) - .mergeFrom(value) - .buildPartial(); + if (purchaseOptionCase_ == 2 && + purchaseOption_ != com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.getDefaultInstance()) { + purchaseOption_ = com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.newBuilder((com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) purchaseOption_) + .mergeFrom(value).buildPartial(); } else { purchaseOption_ = value; } @@ -2652,15 +2345,11 @@ public Builder mergeCreateEntitlementPurchase( return this; } /** - * - * *
      * List Offers for CreateEntitlement purchase.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; - * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; */ public Builder clearCreateEntitlementPurchase() { if (createEntitlementPurchaseBuilder_ == null) { @@ -2679,107 +2368,67 @@ public Builder clearCreateEntitlementPurchase() { return this; } /** - * - * *
      * List Offers for CreateEntitlement purchase.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; - * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; */ - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - .Builder - getCreateEntitlementPurchaseBuilder() { + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder getCreateEntitlementPurchaseBuilder() { return getCreateEntitlementPurchaseFieldBuilder().getBuilder(); } /** - * - * *
      * List Offers for CreateEntitlement purchase.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; - * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; */ @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableOffersRequest - .CreateEntitlementPurchaseOrBuilder - getCreateEntitlementPurchaseOrBuilder() { + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchaseOrBuilder getCreateEntitlementPurchaseOrBuilder() { if ((purchaseOptionCase_ == 2) && (createEntitlementPurchaseBuilder_ != null)) { return createEntitlementPurchaseBuilder_.getMessageOrBuilder(); } else { if (purchaseOptionCase_ == 2) { - return (com.google.cloud.channel.v1.ListPurchasableOffersRequest - .CreateEntitlementPurchase) - purchaseOption_; + return (com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) purchaseOption_; } - return com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - .getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.getDefaultInstance(); } } /** - * - * *
      * List Offers for CreateEntitlement purchase.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; - * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase, - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - .Builder, - com.google.cloud.channel.v1.ListPurchasableOffersRequest - .CreateEntitlementPurchaseOrBuilder> + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase, com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder, com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchaseOrBuilder> getCreateEntitlementPurchaseFieldBuilder() { if (createEntitlementPurchaseBuilder_ == null) { if (!(purchaseOptionCase_ == 2)) { - purchaseOption_ = - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - .getDefaultInstance(); + purchaseOption_ = com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.getDefaultInstance(); } - createEntitlementPurchaseBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase, - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - .Builder, - com.google.cloud.channel.v1.ListPurchasableOffersRequest - .CreateEntitlementPurchaseOrBuilder>( - (com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) - purchaseOption_, + createEntitlementPurchaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase, com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder, com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchaseOrBuilder>( + (com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) purchaseOption_, getParentForChildren(), isClean()); purchaseOption_ = null; } purchaseOptionCase_ = 2; - onChanged(); - ; + onChanged();; return createEntitlementPurchaseBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase, - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.Builder, - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchaseOrBuilder> - changeOfferPurchaseBuilder_; + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase, com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.Builder, com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchaseOrBuilder> changeOfferPurchaseBuilder_; /** - * - * *
      * List Offers for ChangeOffer purchase.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; - * - * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; * @return Whether the changeOfferPurchase field is set. */ @java.lang.Override @@ -2787,49 +2436,35 @@ public boolean hasChangeOfferPurchase() { return purchaseOptionCase_ == 3; } /** - * - * *
      * List Offers for ChangeOffer purchase.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; - * - * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; * @return The changeOfferPurchase. */ @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase - getChangeOfferPurchase() { + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase getChangeOfferPurchase() { if (changeOfferPurchaseBuilder_ == null) { if (purchaseOptionCase_ == 3) { - return (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) - purchaseOption_; + return (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) purchaseOption_; } - return com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase - .getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.getDefaultInstance(); } else { if (purchaseOptionCase_ == 3) { return changeOfferPurchaseBuilder_.getMessage(); } - return com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase - .getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.getDefaultInstance(); } } /** - * - * *
      * List Offers for ChangeOffer purchase.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; - * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; */ - public Builder setChangeOfferPurchase( - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase value) { + public Builder setChangeOfferPurchase(com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase value) { if (changeOfferPurchaseBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2843,19 +2478,14 @@ public Builder setChangeOfferPurchase( return this; } /** - * - * *
      * List Offers for ChangeOffer purchase.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; - * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; */ public Builder setChangeOfferPurchase( - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.Builder - builderForValue) { + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.Builder builderForValue) { if (changeOfferPurchaseBuilder_ == null) { purchaseOption_ = builderForValue.build(); onChanged(); @@ -2866,30 +2496,18 @@ public Builder setChangeOfferPurchase( return this; } /** - * - * *
      * List Offers for ChangeOffer purchase.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; - * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; */ - public Builder mergeChangeOfferPurchase( - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase value) { + public Builder mergeChangeOfferPurchase(com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase value) { if (changeOfferPurchaseBuilder_ == null) { - if (purchaseOptionCase_ == 3 - && purchaseOption_ - != com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase - .getDefaultInstance()) { - purchaseOption_ = - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase - .newBuilder( - (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) - purchaseOption_) - .mergeFrom(value) - .buildPartial(); + if (purchaseOptionCase_ == 3 && + purchaseOption_ != com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.getDefaultInstance()) { + purchaseOption_ = com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.newBuilder((com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) purchaseOption_) + .mergeFrom(value).buildPartial(); } else { purchaseOption_ = value; } @@ -2905,15 +2523,11 @@ public Builder mergeChangeOfferPurchase( return this; } /** - * - * *
      * List Offers for ChangeOffer purchase.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; - * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; */ public Builder clearChangeOfferPurchase() { if (changeOfferPurchaseBuilder_ == null) { @@ -2932,105 +2546,74 @@ public Builder clearChangeOfferPurchase() { return this; } /** - * - * *
      * List Offers for ChangeOffer purchase.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; - * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; */ - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.Builder - getChangeOfferPurchaseBuilder() { + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.Builder getChangeOfferPurchaseBuilder() { return getChangeOfferPurchaseFieldBuilder().getBuilder(); } /** - * - * *
      * List Offers for ChangeOffer purchase.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; - * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; */ @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchaseOrBuilder - getChangeOfferPurchaseOrBuilder() { + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchaseOrBuilder getChangeOfferPurchaseOrBuilder() { if ((purchaseOptionCase_ == 3) && (changeOfferPurchaseBuilder_ != null)) { return changeOfferPurchaseBuilder_.getMessageOrBuilder(); } else { if (purchaseOptionCase_ == 3) { - return (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) - purchaseOption_; + return (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) purchaseOption_; } - return com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase - .getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.getDefaultInstance(); } } /** - * - * *
      * List Offers for ChangeOffer purchase.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; - * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase, - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.Builder, - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchaseOrBuilder> + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase, com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.Builder, com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchaseOrBuilder> getChangeOfferPurchaseFieldBuilder() { if (changeOfferPurchaseBuilder_ == null) { if (!(purchaseOptionCase_ == 3)) { - purchaseOption_ = - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase - .getDefaultInstance(); + purchaseOption_ = com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.getDefaultInstance(); } - changeOfferPurchaseBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase, - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase - .Builder, - com.google.cloud.channel.v1.ListPurchasableOffersRequest - .ChangeOfferPurchaseOrBuilder>( - (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) - purchaseOption_, + changeOfferPurchaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase, com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.Builder, com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchaseOrBuilder>( + (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) purchaseOption_, getParentForChildren(), isClean()); purchaseOption_ = null; } purchaseOptionCase_ = 3; - onChanged(); - ; + onChanged();; return changeOfferPurchaseBuilder_; } private java.lang.Object customer_ = ""; /** - * - * *
      * Required. The resource name of the customer to list Offers for.
      * Format: accounts/{account_id}/customers/{customer_id}.
      * 
* - * - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The customer. */ public java.lang.String getCustomer() { java.lang.Object ref = customer_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customer_ = s; return s; @@ -3039,24 +2622,21 @@ public java.lang.String getCustomer() { } } /** - * - * *
      * Required. The resource name of the customer to list Offers for.
      * Format: accounts/{account_id}/customers/{customer_id}.
      * 
* - * - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for customer. */ - public com.google.protobuf.ByteString getCustomerBytes() { + public com.google.protobuf.ByteString + getCustomerBytes() { java.lang.Object ref = customer_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); customer_ = b; return b; } else { @@ -3064,87 +2644,71 @@ public com.google.protobuf.ByteString getCustomerBytes() { } } /** - * - * *
      * Required. The resource name of the customer to list Offers for.
      * Format: accounts/{account_id}/customers/{customer_id}.
      * 
* - * - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The customer to set. * @return This builder for chaining. */ - public Builder setCustomer(java.lang.String value) { + public Builder setCustomer( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + customer_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the customer to list Offers for.
      * Format: accounts/{account_id}/customers/{customer_id}.
      * 
* - * - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearCustomer() { - + customer_ = getDefaultInstance().getCustomer(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the customer to list Offers for.
      * Format: accounts/{account_id}/customers/{customer_id}.
      * 
* - * - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for customer to set. * @return This builder for chaining. */ - public Builder setCustomerBytes(com.google.protobuf.ByteString value) { + public Builder setCustomerBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + customer_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
-     * Optional. Requested page size. Server might return fewer results than requested.
-     * If unspecified, returns at most 100 Offers.
-     * The maximum value is 1000; the server will coerce values above 1000.
+     * Optional. Requested page size. Server might return fewer results than
+     * requested. If unspecified, returns at most 100 Offers. The maximum value is
+     * 1000; the server will coerce values above 1000.
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -3152,40 +2716,34 @@ public int getPageSize() { return pageSize_; } /** - * - * *
-     * Optional. Requested page size. Server might return fewer results than requested.
-     * If unspecified, returns at most 100 Offers.
-     * The maximum value is 1000; the server will coerce values above 1000.
+     * Optional. Requested page size. Server might return fewer results than
+     * requested. If unspecified, returns at most 100 Offers. The maximum value is
+     * 1000; the server will coerce values above 1000.
      * 
* * int32 page_size = 4 [(.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. Requested page size. Server might return fewer results than requested.
-     * If unspecified, returns at most 100 Offers.
-     * The maximum value is 1000; the server will coerce values above 1000.
+     * Optional. Requested page size. Server might return fewer results than
+     * requested. If unspecified, returns at most 100 Offers. The maximum value is
+     * 1000; the server will coerce values above 1000.
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -3193,20 +2751,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 5 [(.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; @@ -3215,21 +2771,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 5 [(.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 { @@ -3237,61 +2792,54 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 5 [(.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 token for a page of results other than the first page.
      * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 5 [(.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; @@ -3299,8 +2847,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object languageCode_ = ""; /** - * - * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -3308,13 +2854,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -3323,8 +2869,6 @@ public java.lang.String getLanguageCode() { } } /** - * - * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -3332,14 +2876,15 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -3347,8 +2892,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } } /** - * - * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -3356,22 +2899,20 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode(java.lang.String value) { + public Builder setLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -3379,18 +2920,15 @@ public Builder setLanguageCode(java.lang.String value) {
      * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** - * - * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -3398,23 +2936,23 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = 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); } @@ -3424,12 +2962,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListPurchasableOffersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListPurchasableOffersRequest) private static final com.google.cloud.channel.v1.ListPurchasableOffersRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListPurchasableOffersRequest(); } @@ -3438,27 +2976,27 @@ public static com.google.cloud.channel.v1.ListPurchasableOffersRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPurchasableOffersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPurchasableOffersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3473,4 +3011,6 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.channel.v1.ListPurchasableOffersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequestOrBuilder.java similarity index 56% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequestOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequestOrBuilder.java index 850718c7bf33..6801cfbc8c4c 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequestOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequestOrBuilder.java @@ -1,188 +1,121 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListPurchasableOffersRequestOrBuilder - extends +public interface ListPurchasableOffersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListPurchasableOffersRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List Offers for CreateEntitlement purchase.
    * 
* - * - * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; - * - * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; * @return Whether the createEntitlementPurchase field is set. */ boolean hasCreateEntitlementPurchase(); /** - * - * *
    * List Offers for CreateEntitlement purchase.
    * 
* - * - * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; - * - * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; * @return The createEntitlementPurchase. */ - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase - getCreateEntitlementPurchase(); + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase getCreateEntitlementPurchase(); /** - * - * *
    * List Offers for CreateEntitlement purchase.
    * 
* - * - * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; - * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; */ - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchaseOrBuilder - getCreateEntitlementPurchaseOrBuilder(); + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchaseOrBuilder getCreateEntitlementPurchaseOrBuilder(); /** - * - * *
    * List Offers for ChangeOffer purchase.
    * 
* - * - * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; - * - * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; * @return Whether the changeOfferPurchase field is set. */ boolean hasChangeOfferPurchase(); /** - * - * *
    * List Offers for ChangeOffer purchase.
    * 
* - * - * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; - * - * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; * @return The changeOfferPurchase. */ - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase - getChangeOfferPurchase(); + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase getChangeOfferPurchase(); /** - * - * *
    * List Offers for ChangeOffer purchase.
    * 
* - * - * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; - * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; */ - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchaseOrBuilder - getChangeOfferPurchaseOrBuilder(); + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchaseOrBuilder getChangeOfferPurchaseOrBuilder(); /** - * - * *
    * Required. The resource name of the customer to list Offers for.
    * Format: accounts/{account_id}/customers/{customer_id}.
    * 
* - * - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The customer. */ java.lang.String getCustomer(); /** - * - * *
    * Required. The resource name of the customer to list Offers for.
    * Format: accounts/{account_id}/customers/{customer_id}.
    * 
* - * - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for customer. */ - com.google.protobuf.ByteString getCustomerBytes(); + com.google.protobuf.ByteString + getCustomerBytes(); /** - * - * *
-   * Optional. Requested page size. Server might return fewer results than requested.
-   * If unspecified, returns at most 100 Offers.
-   * The maximum value is 1000; the server will coerce values above 1000.
+   * Optional. Requested page size. Server might return fewer results than
+   * requested. If unspecified, returns at most 100 Offers. The maximum value is
+   * 1000; the server will coerce values above 1000.
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. A token for a page of results other than the first page.
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. A token for a page of results other than the first page.
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -190,13 +123,10 @@ public interface ListPurchasableOffersRequestOrBuilder
    * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ java.lang.String getLanguageCode(); /** - * - * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -204,11 +134,10 @@ public interface ListPurchasableOffersRequestOrBuilder
    * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString getLanguageCodeBytes(); + com.google.protobuf.ByteString + getLanguageCodeBytes(); - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.PurchaseOptionCase - getPurchaseOptionCase(); + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.PurchaseOptionCase getPurchaseOptionCase(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponse.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponse.java similarity index 72% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponse.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponse.java index 9516d06e2954..54e5883f4998 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponse.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponse.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
  * Response message for ListPurchasableOffers.
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListPurchasableOffersResponse} */ -public final class ListPurchasableOffersResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListPurchasableOffersResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListPurchasableOffersResponse) ListPurchasableOffersResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListPurchasableOffersResponse.newBuilder() to construct. private ListPurchasableOffersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPurchasableOffersResponse() { purchasableOffers_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,35 +26,32 @@ private ListPurchasableOffersResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPurchasableOffersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListPurchasableOffersResponse.class, - com.google.cloud.channel.v1.ListPurchasableOffersResponse.Builder.class); + com.google.cloud.channel.v1.ListPurchasableOffersResponse.class, com.google.cloud.channel.v1.ListPurchasableOffersResponse.Builder.class); } public static final int PURCHASABLE_OFFERS_FIELD_NUMBER = 1; private java.util.List purchasableOffers_; /** - * - * *
    * The list of Offers requested.
    * 
@@ -84,8 +63,6 @@ public java.util.List getPurchasab return purchasableOffers_; } /** - * - * *
    * The list of Offers requested.
    * 
@@ -93,13 +70,11 @@ public java.util.List getPurchasab * repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPurchasableOffersOrBuilderList() { return purchasableOffers_; } /** - * - * *
    * The list of Offers requested.
    * 
@@ -111,8 +86,6 @@ public int getPurchasableOffersCount() { return purchasableOffers_.size(); } /** - * - * *
    * The list of Offers requested.
    * 
@@ -124,8 +97,6 @@ public com.google.cloud.channel.v1.PurchasableOffer getPurchasableOffers(int ind return purchasableOffers_.get(index); } /** - * - * *
    * The list of Offers requested.
    * 
@@ -141,14 +112,11 @@ public com.google.cloud.channel.v1.PurchasableOfferOrBuilder getPurchasableOffer public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -157,29 +125,29 @@ 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 to retrieve the next page of results.
    * 
* * 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 { @@ -188,7 +156,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,7 +167,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < purchasableOffers_.size(); i++) { output.writeMessage(1, purchasableOffers_.get(i)); } @@ -217,8 +185,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < purchasableOffers_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, purchasableOffers_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, purchasableOffers_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -231,16 +199,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.cloud.channel.v1.ListPurchasableOffersResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListPurchasableOffersResponse other = - (com.google.cloud.channel.v1.ListPurchasableOffersResponse) obj; + com.google.cloud.channel.v1.ListPurchasableOffersResponse other = (com.google.cloud.channel.v1.ListPurchasableOffersResponse) obj; - if (!getPurchasableOffersList().equals(other.getPurchasableOffersList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getPurchasableOffersList() + .equals(other.getPurchasableOffersList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -264,136 +233,129 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListPurchasableOffersResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListPurchasableOffersResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableOffersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListPurchasableOffersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableOffersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListPurchasableOffersResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListPurchasableOffersResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListPurchasableOffersResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListPurchasableOffersResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListPurchasableOffersResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListPurchasableOffersResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListPurchasableOffersResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableOffersResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListPurchasableOffersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.ListPurchasableOffersResponse prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.ListPurchasableOffersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 ListPurchasableOffers.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListPurchasableOffersResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListPurchasableOffersResponse) com.google.cloud.channel.v1.ListPurchasableOffersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListPurchasableOffersResponse.class, - com.google.cloud.channel.v1.ListPurchasableOffersResponse.Builder.class); + com.google.cloud.channel.v1.ListPurchasableOffersResponse.class, com.google.cloud.channel.v1.ListPurchasableOffersResponse.Builder.class); } // Construct using com.google.cloud.channel.v1.ListPurchasableOffersResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -410,9 +372,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_descriptor; } @java.lang.Override @@ -431,8 +393,7 @@ public com.google.cloud.channel.v1.ListPurchasableOffersResponse build() { @java.lang.Override public com.google.cloud.channel.v1.ListPurchasableOffersResponse buildPartial() { - com.google.cloud.channel.v1.ListPurchasableOffersResponse result = - new com.google.cloud.channel.v1.ListPurchasableOffersResponse(this); + com.google.cloud.channel.v1.ListPurchasableOffersResponse result = new com.google.cloud.channel.v1.ListPurchasableOffersResponse(this); int from_bitField0_ = bitField0_; if (purchasableOffersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -452,39 +413,38 @@ public com.google.cloud.channel.v1.ListPurchasableOffersResponse 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.cloud.channel.v1.ListPurchasableOffersResponse) { - return mergeFrom((com.google.cloud.channel.v1.ListPurchasableOffersResponse) other); + return mergeFrom((com.google.cloud.channel.v1.ListPurchasableOffersResponse)other); } else { super.mergeFrom(other); return this; @@ -492,8 +452,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ListPurchasableOffersResponse other) { - if (other == com.google.cloud.channel.v1.ListPurchasableOffersResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.ListPurchasableOffersResponse.getDefaultInstance()) return this; if (purchasableOffersBuilder_ == null) { if (!other.purchasableOffers_.isEmpty()) { if (purchasableOffers_.isEmpty()) { @@ -512,10 +471,9 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ListPurchasableOffersRespon purchasableOffersBuilder_ = null; purchasableOffers_ = other.purchasableOffers_; bitField0_ = (bitField0_ & ~0x00000001); - purchasableOffersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPurchasableOffersFieldBuilder() - : null; + purchasableOffersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPurchasableOffersFieldBuilder() : null; } else { purchasableOffersBuilder_.addAllMessages(other.purchasableOffers_); } @@ -551,32 +509,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.channel.v1.PurchasableOffer m = - input.readMessage( - com.google.cloud.channel.v1.PurchasableOffer.parser(), extensionRegistry); - if (purchasableOffersBuilder_ == null) { - ensurePurchasableOffersIsMutable(); - purchasableOffers_.add(m); - } else { - purchasableOffersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.cloud.channel.v1.PurchasableOffer m = + input.readMessage( + com.google.cloud.channel.v1.PurchasableOffer.parser(), + extensionRegistry); + if (purchasableOffersBuilder_ == null) { + ensurePurchasableOffersIsMutable(); + purchasableOffers_.add(m); + } else { + purchasableOffersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -586,30 +542,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List purchasableOffers_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePurchasableOffersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - purchasableOffers_ = - new java.util.ArrayList( - purchasableOffers_); + purchasableOffers_ = new java.util.ArrayList(purchasableOffers_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.PurchasableOffer, - com.google.cloud.channel.v1.PurchasableOffer.Builder, - com.google.cloud.channel.v1.PurchasableOfferOrBuilder> - purchasableOffersBuilder_; + com.google.cloud.channel.v1.PurchasableOffer, com.google.cloud.channel.v1.PurchasableOffer.Builder, com.google.cloud.channel.v1.PurchasableOfferOrBuilder> purchasableOffersBuilder_; /** - * - * *
      * The list of Offers requested.
      * 
@@ -624,8 +571,6 @@ public java.util.List getPurchasab } } /** - * - * *
      * The list of Offers requested.
      * 
@@ -640,8 +585,6 @@ public int getPurchasableOffersCount() { } } /** - * - * *
      * The list of Offers requested.
      * 
@@ -656,8 +599,6 @@ public com.google.cloud.channel.v1.PurchasableOffer getPurchasableOffers(int ind } } /** - * - * *
      * The list of Offers requested.
      * 
@@ -679,8 +620,6 @@ public Builder setPurchasableOffers( return this; } /** - * - * *
      * The list of Offers requested.
      * 
@@ -699,8 +638,6 @@ public Builder setPurchasableOffers( return this; } /** - * - * *
      * The list of Offers requested.
      * 
@@ -721,8 +658,6 @@ public Builder addPurchasableOffers(com.google.cloud.channel.v1.PurchasableOffer return this; } /** - * - * *
      * The list of Offers requested.
      * 
@@ -744,8 +679,6 @@ public Builder addPurchasableOffers( return this; } /** - * - * *
      * The list of Offers requested.
      * 
@@ -764,8 +697,6 @@ public Builder addPurchasableOffers( return this; } /** - * - * *
      * The list of Offers requested.
      * 
@@ -784,8 +715,6 @@ public Builder addPurchasableOffers( return this; } /** - * - * *
      * The list of Offers requested.
      * 
@@ -796,7 +725,8 @@ public Builder addAllPurchasableOffers( java.lang.Iterable values) { if (purchasableOffersBuilder_ == null) { ensurePurchasableOffersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, purchasableOffers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, purchasableOffers_); onChanged(); } else { purchasableOffersBuilder_.addAllMessages(values); @@ -804,8 +734,6 @@ public Builder addAllPurchasableOffers( return this; } /** - * - * *
      * The list of Offers requested.
      * 
@@ -823,8 +751,6 @@ public Builder clearPurchasableOffers() { return this; } /** - * - * *
      * The list of Offers requested.
      * 
@@ -842,8 +768,6 @@ public Builder removePurchasableOffers(int index) { return this; } /** - * - * *
      * The list of Offers requested.
      * 
@@ -855,8 +779,6 @@ public com.google.cloud.channel.v1.PurchasableOffer.Builder getPurchasableOffers return getPurchasableOffersFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of Offers requested.
      * 
@@ -866,22 +788,19 @@ public com.google.cloud.channel.v1.PurchasableOffer.Builder getPurchasableOffers public com.google.cloud.channel.v1.PurchasableOfferOrBuilder getPurchasableOffersOrBuilder( int index) { if (purchasableOffersBuilder_ == null) { - return purchasableOffers_.get(index); - } else { + return purchasableOffers_.get(index); } else { return purchasableOffersBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of Offers requested.
      * 
* * repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1; */ - public java.util.List - getPurchasableOffersOrBuilderList() { + public java.util.List + getPurchasableOffersOrBuilderList() { if (purchasableOffersBuilder_ != null) { return purchasableOffersBuilder_.getMessageOrBuilderList(); } else { @@ -889,8 +808,6 @@ public com.google.cloud.channel.v1.PurchasableOfferOrBuilder getPurchasableOffer } } /** - * - * *
      * The list of Offers requested.
      * 
@@ -898,12 +815,10 @@ public com.google.cloud.channel.v1.PurchasableOfferOrBuilder getPurchasableOffer * repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1; */ public com.google.cloud.channel.v1.PurchasableOffer.Builder addPurchasableOffersBuilder() { - return getPurchasableOffersFieldBuilder() - .addBuilder(com.google.cloud.channel.v1.PurchasableOffer.getDefaultInstance()); + return getPurchasableOffersFieldBuilder().addBuilder( + com.google.cloud.channel.v1.PurchasableOffer.getDefaultInstance()); } /** - * - * *
      * The list of Offers requested.
      * 
@@ -912,34 +827,26 @@ public com.google.cloud.channel.v1.PurchasableOffer.Builder addPurchasableOffers */ public com.google.cloud.channel.v1.PurchasableOffer.Builder addPurchasableOffersBuilder( int index) { - return getPurchasableOffersFieldBuilder() - .addBuilder(index, com.google.cloud.channel.v1.PurchasableOffer.getDefaultInstance()); + return getPurchasableOffersFieldBuilder().addBuilder( + index, com.google.cloud.channel.v1.PurchasableOffer.getDefaultInstance()); } /** - * - * *
      * The list of Offers requested.
      * 
* * repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1; */ - public java.util.List - getPurchasableOffersBuilderList() { + public java.util.List + getPurchasableOffersBuilderList() { return getPurchasableOffersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.PurchasableOffer, - com.google.cloud.channel.v1.PurchasableOffer.Builder, - com.google.cloud.channel.v1.PurchasableOfferOrBuilder> + com.google.cloud.channel.v1.PurchasableOffer, com.google.cloud.channel.v1.PurchasableOffer.Builder, com.google.cloud.channel.v1.PurchasableOfferOrBuilder> getPurchasableOffersFieldBuilder() { if (purchasableOffersBuilder_ == null) { - purchasableOffersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.PurchasableOffer, - com.google.cloud.channel.v1.PurchasableOffer.Builder, - com.google.cloud.channel.v1.PurchasableOfferOrBuilder>( + purchasableOffersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.PurchasableOffer, com.google.cloud.channel.v1.PurchasableOffer.Builder, com.google.cloud.channel.v1.PurchasableOfferOrBuilder>( purchasableOffers_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -951,20 +858,18 @@ public com.google.cloud.channel.v1.PurchasableOffer.Builder addPurchasableOffers private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * 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; @@ -973,21 +878,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * 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 { @@ -995,68 +899,61 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * 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 to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * 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); } @@ -1066,12 +963,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListPurchasableOffersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListPurchasableOffersResponse) private static final com.google.cloud.channel.v1.ListPurchasableOffersResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListPurchasableOffersResponse(); } @@ -1080,27 +977,27 @@ public static com.google.cloud.channel.v1.ListPurchasableOffersResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPurchasableOffersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPurchasableOffersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1115,4 +1012,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.channel.v1.ListPurchasableOffersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponseOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponseOrBuilder.java similarity index 65% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponseOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponseOrBuilder.java index 485e62df127f..f59f9a8bf83e 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponseOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponseOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListPurchasableOffersResponseOrBuilder - extends +public interface ListPurchasableOffersResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListPurchasableOffersResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of Offers requested.
    * 
* * repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1; */ - java.util.List getPurchasableOffersList(); + java.util.List + getPurchasableOffersList(); /** - * - * *
    * The list of Offers requested.
    * 
@@ -44,8 +25,6 @@ public interface ListPurchasableOffersResponseOrBuilder */ com.google.cloud.channel.v1.PurchasableOffer getPurchasableOffers(int index); /** - * - * *
    * The list of Offers requested.
    * 
@@ -54,49 +33,41 @@ public interface ListPurchasableOffersResponseOrBuilder */ int getPurchasableOffersCount(); /** - * - * *
    * The list of Offers requested.
    * 
* * repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1; */ - java.util.List + java.util.List getPurchasableOffersOrBuilderList(); /** - * - * *
    * The list of Offers requested.
    * 
* * repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1; */ - com.google.cloud.channel.v1.PurchasableOfferOrBuilder getPurchasableOffersOrBuilder(int index); + com.google.cloud.channel.v1.PurchasableOfferOrBuilder getPurchasableOffersOrBuilder( + int index); /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequest.java similarity index 60% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequest.java index 10f99d381552..5b794d856b7b 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
  * Request message for ListPurchasableSkus.
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListPurchasableSkusRequest} */ -public final class ListPurchasableSkusRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListPurchasableSkusRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListPurchasableSkusRequest) ListPurchasableSkusRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListPurchasableSkusRequest.newBuilder() to construct. private ListPurchasableSkusRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPurchasableSkusRequest() { customer_ = ""; pageToken_ = ""; @@ -45,38 +27,34 @@ private ListPurchasableSkusRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPurchasableSkusRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListPurchasableSkusRequest.class, - com.google.cloud.channel.v1.ListPurchasableSkusRequest.Builder.class); + com.google.cloud.channel.v1.ListPurchasableSkusRequest.class, com.google.cloud.channel.v1.ListPurchasableSkusRequest.Builder.class); } - public interface CreateEntitlementPurchaseOrBuilder - extends + public interface CreateEntitlementPurchaseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. List SKUs belonging to this Product.
      * Format: products/{product_id}.
@@ -84,13 +62,10 @@ public interface CreateEntitlementPurchaseOrBuilder
      * 
* * string product = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The product. */ java.lang.String getProduct(); /** - * - * *
      * Required. List SKUs belonging to this Product.
      * Format: products/{product_id}.
@@ -98,69 +73,60 @@ public interface CreateEntitlementPurchaseOrBuilder
      * 
* * string product = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for product. */ - com.google.protobuf.ByteString getProductBytes(); + com.google.protobuf.ByteString + getProductBytes(); } /** - * - * *
    * List SKUs for a new entitlement. Make the purchase using
    * [CloudChannelService.CreateEntitlement][google.cloud.channel.v1.CloudChannelService.CreateEntitlement].
    * 
* - * Protobuf type {@code - * google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase} + * Protobuf type {@code google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase} */ - public static final class CreateEntitlementPurchase extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CreateEntitlementPurchase extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) CreateEntitlementPurchaseOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateEntitlementPurchase.newBuilder() to construct. private CreateEntitlementPurchase(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateEntitlementPurchase() { product_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateEntitlementPurchase(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - .class, - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - .Builder.class); + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.class, com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder.class); } public static final int PRODUCT_FIELD_NUMBER = 1; private volatile java.lang.Object product_; /** - * - * *
      * Required. List SKUs belonging to this Product.
      * Format: products/{product_id}.
@@ -168,7 +134,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string product = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The product. */ @java.lang.Override @@ -177,15 +142,14 @@ public java.lang.String getProduct() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); product_ = s; return s; } } /** - * - * *
      * Required. List SKUs belonging to this Product.
      * Format: products/{product_id}.
@@ -193,15 +157,16 @@ public java.lang.String getProduct() {
      * 
* * string product = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for product. */ @java.lang.Override - public com.google.protobuf.ByteString getProductBytes() { + public com.google.protobuf.ByteString + getProductBytes() { java.lang.Object ref = product_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); product_ = b; return b; } else { @@ -210,7 +175,6 @@ public com.google.protobuf.ByteString getProductBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -222,7 +186,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(product_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, product_); } @@ -246,17 +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.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase)) { + if (!(obj instanceof com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase other = - (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) obj; + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase other = (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) obj; - if (!getProduct().equals(other.getProduct())) return false; + if (!getProduct() + .equals(other.getProduct())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -275,102 +238,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - 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.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase 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.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -380,46 +329,40 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * List SKUs for a new entitlement. Make the purchase using
      * [CloudChannelService.CreateEntitlement][google.cloud.channel.v1.CloudChannelService.CreateEntitlement].
      * 
* - * Protobuf type {@code - * google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase} + * Protobuf type {@code google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchaseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - .class, - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - .Builder.class); + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.class, com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder.class); } - // Construct using - // com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.newBuilder() - private Builder() {} + // Construct using com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -429,23 +372,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_descriptor; } @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - getDefaultInstanceForType() { - return com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - .getDefaultInstance(); + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase getDefaultInstanceForType() { + return com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - build() { - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase result = - buildPartial(); + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase build() { + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -453,11 +392,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - buildPartial() { - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase result = - new com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase( - this); + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase buildPartial() { + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase result = new com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase(this); result.product_ = product_; onBuilt(); return result; @@ -467,56 +403,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) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) { - return mergeFrom( - (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) - other); + if (other instanceof com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) { + return mergeFrom((com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase other) { - if (other - == com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase other) { + if (other == com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.getDefaultInstance()) return this; if (!other.getProduct().isEmpty()) { product_ = other.product_; onChanged(); @@ -547,19 +473,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - product_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + product_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -572,8 +496,6 @@ public Builder mergeFrom( private java.lang.Object product_ = ""; /** - * - * *
        * Required. List SKUs belonging to this Product.
        * Format: products/{product_id}.
@@ -581,13 +503,13 @@ public Builder mergeFrom(
        * 
* * string product = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The product. */ public java.lang.String getProduct() { java.lang.Object ref = product_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); product_ = s; return s; @@ -596,8 +518,6 @@ public java.lang.String getProduct() { } } /** - * - * *
        * Required. List SKUs belonging to this Product.
        * Format: products/{product_id}.
@@ -605,14 +525,15 @@ public java.lang.String getProduct() {
        * 
* * string product = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for product. */ - public com.google.protobuf.ByteString getProductBytes() { + public com.google.protobuf.ByteString + getProductBytes() { java.lang.Object ref = product_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); product_ = b; return b; } else { @@ -620,8 +541,6 @@ public com.google.protobuf.ByteString getProductBytes() { } } /** - * - * *
        * Required. List SKUs belonging to this Product.
        * Format: products/{product_id}.
@@ -629,22 +548,20 @@ public com.google.protobuf.ByteString getProductBytes() {
        * 
* * string product = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The product to set. * @return This builder for chaining. */ - public Builder setProduct(java.lang.String value) { + public Builder setProduct( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + product_ = value; onChanged(); return this; } /** - * - * *
        * Required. List SKUs belonging to this Product.
        * Format: products/{product_id}.
@@ -652,18 +569,15 @@ public Builder setProduct(java.lang.String value) {
        * 
* * string product = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearProduct() { - + product_ = getDefaultInstance().getProduct(); onChanged(); return this; } /** - * - * *
        * Required. List SKUs belonging to this Product.
        * Format: products/{product_id}.
@@ -671,21 +585,20 @@ public Builder clearProduct() {
        * 
* * string product = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for product to set. * @return This builder for chaining. */ - public Builder setProductBytes(com.google.protobuf.ByteString value) { + public Builder setProductBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + product_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -698,46 +611,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) - private static final com.google.cloud.channel.v1.ListPurchasableSkusRequest - .CreateEntitlementPurchase - DEFAULT_INSTANCE; - + private static final com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase(); + DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase(); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - getDefaultInstance() { + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateEntitlementPurchase parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateEntitlementPurchase parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -749,20 +657,17 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - getDefaultInstanceForType() { + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ChangeOfferPurchaseOrBuilder - extends + public interface ChangeOfferPurchaseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Resource name of the entitlement.
      * Format:
@@ -770,13 +675,10 @@ public interface ChangeOfferPurchaseOrBuilder
      * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The entitlement. */ java.lang.String getEntitlement(); /** - * - * *
      * Required. Resource name of the entitlement.
      * Format:
@@ -784,61 +686,48 @@ public interface ChangeOfferPurchaseOrBuilder
      * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for entitlement. */ - com.google.protobuf.ByteString getEntitlementBytes(); + com.google.protobuf.ByteString + getEntitlementBytes(); /** - * - * *
      * Required. Change Type for the entitlement.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for changeType. */ int getChangeTypeValue(); /** - * - * *
      * Required. Change Type for the entitlement.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The changeType. */ - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType - getChangeType(); + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType getChangeType(); } /** - * - * *
    * List SKUs for upgrading or downgrading an entitlement. Make the purchase
-   * using [CloudChannelService.ChangeOffer][google.cloud.channel.v1.CloudChannelService.ChangeOffer].
+   * using
+   * [CloudChannelService.ChangeOffer][google.cloud.channel.v1.CloudChannelService.ChangeOffer].
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase} */ - public static final class ChangeOfferPurchase extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ChangeOfferPurchase extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) ChangeOfferPurchaseOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ChangeOfferPurchase.newBuilder() to construct. private ChangeOfferPurchase(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ChangeOfferPurchase() { entitlement_ = ""; changeType_ = 0; @@ -846,45 +735,39 @@ private ChangeOfferPurchase() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ChangeOfferPurchase(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.class, - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.Builder - .class); + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.class, com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.Builder.class); } /** - * - * *
      * Change Type enum.
      * 
* - * Protobuf enum {@code - * google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType} + * Protobuf enum {@code google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType} */ - public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { + public enum ChangeType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Not used.
        * 
@@ -893,8 +776,6 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { */ CHANGE_TYPE_UNSPECIFIED(0), /** - * - * *
        * SKU is an upgrade on the current entitlement.
        * 
@@ -903,8 +784,6 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { */ UPGRADE(1), /** - * - * *
        * SKU is a downgrade on the current entitlement.
        * 
@@ -916,8 +795,6 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Not used.
        * 
@@ -926,8 +803,6 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CHANGE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * SKU is an upgrade on the current entitlement.
        * 
@@ -936,8 +811,6 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPGRADE_VALUE = 1; /** - * - * *
        * SKU is a downgrade on the current entitlement.
        * 
@@ -946,6 +819,7 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DOWNGRADE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -970,52 +844,49 @@ public static ChangeType valueOf(int value) { */ public static ChangeType forNumber(int value) { switch (value) { - case 0: - return CHANGE_TYPE_UNSPECIFIED; - case 1: - return UPGRADE; - case 2: - return DOWNGRADE; - default: - return null; + case 0: return CHANGE_TYPE_UNSPECIFIED; + case 1: return UPGRADE; + case 2: return DOWNGRADE; + 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< + ChangeType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ChangeType findValueByNumber(int number) { + return ChangeType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ChangeType findValueByNumber(int number) { - return ChangeType.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.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase - .getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.getDescriptor().getEnumTypes().get(0); } private static final ChangeType[] VALUES = values(); - public static ChangeType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ChangeType 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; @@ -1035,8 +906,6 @@ private ChangeType(int value) { public static final int ENTITLEMENT_FIELD_NUMBER = 1; private volatile java.lang.Object entitlement_; /** - * - * *
      * Required. Resource name of the entitlement.
      * Format:
@@ -1044,7 +913,6 @@ private ChangeType(int value) {
      * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The entitlement. */ @java.lang.Override @@ -1053,15 +921,14 @@ public java.lang.String getEntitlement() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entitlement_ = s; return s; } } /** - * - * *
      * Required. Resource name of the entitlement.
      * Format:
@@ -1069,15 +936,16 @@ public java.lang.String getEntitlement() {
      * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for entitlement. */ @java.lang.Override - public com.google.protobuf.ByteString getEntitlementBytes() { + public com.google.protobuf.ByteString + getEntitlementBytes() { java.lang.Object ref = entitlement_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); entitlement_ = b; return b; } else { @@ -1088,50 +956,31 @@ public com.google.protobuf.ByteString getEntitlementBytes() { public static final int CHANGE_TYPE_FIELD_NUMBER = 2; private int changeType_; /** - * - * *
      * Required. Change Type for the entitlement.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for changeType. */ - @java.lang.Override - public int getChangeTypeValue() { + @java.lang.Override public int getChangeTypeValue() { return changeType_; } /** - * - * *
      * Required. Change Type for the entitlement.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The changeType. */ - @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType - getChangeType() { + @java.lang.Override public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType getChangeType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType result = - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType - .valueOf(changeType_); - return result == null - ? com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType - .UNRECOGNIZED - : result; + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType result = com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType.valueOf(changeType_); + return result == null ? com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1143,14 +992,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(entitlement_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entitlement_); } - if (changeType_ - != com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType - .CHANGE_TYPE_UNSPECIFIED - .getNumber()) { + if (changeType_ != com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType.CHANGE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, changeType_); } getUnknownFields().writeTo(output); @@ -1165,11 +1012,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entitlement_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, entitlement_); } - if (changeType_ - != com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType - .CHANGE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, changeType_); + if (changeType_ != com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType.CHANGE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, changeType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1179,16 +1024,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase)) { + if (!(obj instanceof com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase other = - (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) obj; + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase other = (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) obj; - if (!getEntitlement().equals(other.getEntitlement())) return false; + if (!getEntitlement() + .equals(other.getEntitlement())) return false; if (changeType_ != other.changeType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1210,101 +1054,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase - 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.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase 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.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1314,44 +1145,41 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * List SKUs for upgrading or downgrading an entitlement. Make the purchase
-     * using [CloudChannelService.ChangeOffer][google.cloud.channel.v1.CloudChannelService.ChangeOffer].
+     * using
+     * [CloudChannelService.ChangeOffer][google.cloud.channel.v1.CloudChannelService.ChangeOffer].
      * 
* * Protobuf type {@code google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchaseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.class, - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.Builder - .class); + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.class, com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.Builder.class); } - // Construct using - // com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.newBuilder() - private Builder() {} + // Construct using com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1363,22 +1191,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_descriptor; } @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase - getDefaultInstanceForType() { - return com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase - .getDefaultInstance(); + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase getDefaultInstanceForType() { + return com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.getDefaultInstance(); } @java.lang.Override public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase build() { - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase result = - buildPartial(); + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1386,10 +1211,8 @@ public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchas } @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase - buildPartial() { - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase result = - new com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase(this); + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase buildPartial() { + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase result = new com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase(this); result.entitlement_ = entitlement_; result.changeType_ = changeType_; onBuilt(); @@ -1400,54 +1223,46 @@ public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchas public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) { - return mergeFrom( - (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) other); + if (other instanceof com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) { + return mergeFrom((com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase other) { - if (other - == com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase other) { + if (other == com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.getDefaultInstance()) return this; if (!other.getEntitlement().isEmpty()) { entitlement_ = other.entitlement_; onChanged(); @@ -1481,25 +1296,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - entitlement_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - changeType_ = input.readEnum(); - - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + entitlement_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: { + changeType_ = input.readEnum(); + + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1512,8 +1324,6 @@ public Builder mergeFrom( private java.lang.Object entitlement_ = ""; /** - * - * *
        * Required. Resource name of the entitlement.
        * Format:
@@ -1521,13 +1331,13 @@ public Builder mergeFrom(
        * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The entitlement. */ public java.lang.String getEntitlement() { java.lang.Object ref = entitlement_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entitlement_ = s; return s; @@ -1536,8 +1346,6 @@ public java.lang.String getEntitlement() { } } /** - * - * *
        * Required. Resource name of the entitlement.
        * Format:
@@ -1545,14 +1353,15 @@ public java.lang.String getEntitlement() {
        * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for entitlement. */ - public com.google.protobuf.ByteString getEntitlementBytes() { + public com.google.protobuf.ByteString + getEntitlementBytes() { java.lang.Object ref = entitlement_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); entitlement_ = b; return b; } else { @@ -1560,8 +1369,6 @@ public com.google.protobuf.ByteString getEntitlementBytes() { } } /** - * - * *
        * Required. Resource name of the entitlement.
        * Format:
@@ -1569,22 +1376,20 @@ public com.google.protobuf.ByteString getEntitlementBytes() {
        * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The entitlement to set. * @return This builder for chaining. */ - public Builder setEntitlement(java.lang.String value) { + public Builder setEntitlement( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entitlement_ = value; onChanged(); return this; } /** - * - * *
        * Required. Resource name of the entitlement.
        * Format:
@@ -1592,18 +1397,15 @@ public Builder setEntitlement(java.lang.String value) {
        * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearEntitlement() { - + entitlement_ = getDefaultInstance().getEntitlement(); onChanged(); return this; } /** - * - * *
        * Required. Resource name of the entitlement.
        * Format:
@@ -1611,16 +1413,16 @@ public Builder clearEntitlement() {
        * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for entitlement to set. * @return This builder for chaining. */ - public Builder setEntitlementBytes(com.google.protobuf.ByteString value) { + public Builder setEntitlementBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entitlement_ = value; onChanged(); return this; @@ -1628,113 +1430,77 @@ public Builder setEntitlementBytes(com.google.protobuf.ByteString value) { private int changeType_ = 0; /** - * - * *
        * Required. Change Type for the entitlement.
        * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for changeType. */ - @java.lang.Override - public int getChangeTypeValue() { + @java.lang.Override public int getChangeTypeValue() { return changeType_; } /** - * - * *
        * Required. Change Type for the entitlement.
        * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for changeType to set. * @return This builder for chaining. */ public Builder setChangeTypeValue(int value) { - + changeType_ = value; onChanged(); return this; } /** - * - * *
        * Required. Change Type for the entitlement.
        * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The changeType. */ @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType - getChangeType() { + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType getChangeType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType - result = - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase - .ChangeType.valueOf(changeType_); - return result == null - ? com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType - .UNRECOGNIZED - : result; + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType result = com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType.valueOf(changeType_); + return result == null ? com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType.UNRECOGNIZED : result; } /** - * - * *
        * Required. Change Type for the entitlement.
        * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The changeType to set. * @return This builder for chaining. */ - public Builder setChangeType( - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType - value) { + public Builder setChangeType(com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType value) { if (value == null) { throw new NullPointerException(); } - + changeType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Required. Change Type for the entitlement.
        * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearChangeType() { - + changeType_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1747,45 +1513,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) - private static final com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase - DEFAULT_INSTANCE; - + private static final com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase(); + DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase(); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase - getDefaultInstance() { + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChangeOfferPurchase parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChangeOfferPurchase parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1797,24 +1559,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase - getDefaultInstanceForType() { + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int purchaseOptionCase_ = 0; private java.lang.Object purchaseOption_; - public enum PurchaseOptionCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CREATE_ENTITLEMENT_PURCHASE(2), CHANGE_OFFER_PURCHASE(3), PURCHASEOPTION_NOT_SET(0); private final int value; - private PurchaseOptionCase(int value) { this.value = value; } @@ -1830,38 +1589,30 @@ public static PurchaseOptionCase valueOf(int value) { public static PurchaseOptionCase forNumber(int value) { switch (value) { - case 2: - return CREATE_ENTITLEMENT_PURCHASE; - case 3: - return CHANGE_OFFER_PURCHASE; - case 0: - return PURCHASEOPTION_NOT_SET; - default: - return null; + case 2: return CREATE_ENTITLEMENT_PURCHASE; + case 3: return CHANGE_OFFER_PURCHASE; + case 0: return PURCHASEOPTION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public PurchaseOptionCase getPurchaseOptionCase() { - return PurchaseOptionCase.forNumber(purchaseOptionCase_); + public PurchaseOptionCase + getPurchaseOptionCase() { + return PurchaseOptionCase.forNumber( + purchaseOptionCase_); } public static final int CREATE_ENTITLEMENT_PURCHASE_FIELD_NUMBER = 2; /** - * - * *
    * List SKUs for CreateEntitlement purchase.
    * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; - * - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; * @return Whether the createEntitlementPurchase field is set. */ @java.lang.Override @@ -1869,62 +1620,42 @@ public boolean hasCreateEntitlementPurchase() { return purchaseOptionCase_ == 2; } /** - * - * *
    * List SKUs for CreateEntitlement purchase.
    * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; - * - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; * @return The createEntitlementPurchase. */ @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - getCreateEntitlementPurchase() { + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase getCreateEntitlementPurchase() { if (purchaseOptionCase_ == 2) { - return (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) - purchaseOption_; + return (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) purchaseOption_; } - return com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - .getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.getDefaultInstance(); } /** - * - * *
    * List SKUs for CreateEntitlement purchase.
    * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; */ @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchaseOrBuilder - getCreateEntitlementPurchaseOrBuilder() { + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchaseOrBuilder getCreateEntitlementPurchaseOrBuilder() { if (purchaseOptionCase_ == 2) { - return (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) - purchaseOption_; + return (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) purchaseOption_; } - return com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - .getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.getDefaultInstance(); } public static final int CHANGE_OFFER_PURCHASE_FIELD_NUMBER = 3; /** - * - * *
    * List SKUs for ChangeOffer purchase with a new SKU.
    * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; - * - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; * @return Whether the changeOfferPurchase field is set. */ @java.lang.Override @@ -1932,64 +1663,44 @@ public boolean hasChangeOfferPurchase() { return purchaseOptionCase_ == 3; } /** - * - * *
    * List SKUs for ChangeOffer purchase with a new SKU.
    * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; - * - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; * @return The changeOfferPurchase. */ @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase - getChangeOfferPurchase() { + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase getChangeOfferPurchase() { if (purchaseOptionCase_ == 3) { - return (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) - purchaseOption_; + return (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) purchaseOption_; } - return com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase - .getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.getDefaultInstance(); } /** - * - * *
    * List SKUs for ChangeOffer purchase with a new SKU.
    * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; */ @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchaseOrBuilder - getChangeOfferPurchaseOrBuilder() { + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchaseOrBuilder getChangeOfferPurchaseOrBuilder() { if (purchaseOptionCase_ == 3) { - return (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) - purchaseOption_; + return (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) purchaseOption_; } - return com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase - .getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.getDefaultInstance(); } public static final int CUSTOMER_FIELD_NUMBER = 1; private volatile java.lang.Object customer_; /** - * - * *
    * Required. The resource name of the customer to list SKUs for.
    * Format: accounts/{account_id}/customers/{customer_id}.
    * 
* - * - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The customer. */ @java.lang.Override @@ -1998,32 +1709,30 @@ public java.lang.String getCustomer() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customer_ = s; return s; } } /** - * - * *
    * Required. The resource name of the customer to list SKUs for.
    * Format: accounts/{account_id}/customers/{customer_id}.
    * 
* - * - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for customer. */ @java.lang.Override - public com.google.protobuf.ByteString getCustomerBytes() { + public com.google.protobuf.ByteString + getCustomerBytes() { java.lang.Object ref = customer_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); customer_ = b; return b; } else { @@ -2034,16 +1743,13 @@ public com.google.protobuf.ByteString getCustomerBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_; /** - * - * *
-   * Optional. Requested page size. Server might return fewer results than requested.
-   * If unspecified, returns at most 100 SKUs.
-   * The maximum value is 1000; the server will coerce values above 1000.
+   * Optional. Requested page size. Server might return fewer results than
+   * requested. If unspecified, returns at most 100 SKUs. The maximum value is
+   * 1000; the server will coerce values above 1000.
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -2054,14 +1760,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 5; private volatile java.lang.Object pageToken_; /** - * - * *
    * Optional. A token for a page of results other than the first page.
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -2070,29 +1773,29 @@ 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 token for a page of results other than the first page.
    * 
* * string page_token = 5 [(.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 { @@ -2103,8 +1806,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 6; private volatile java.lang.Object languageCode_; /** - * - * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -2112,7 +1813,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ @java.lang.Override @@ -2121,15 +1821,14 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** - * - * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -2137,15 +1836,16 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -2154,7 +1854,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2166,21 +1865,16 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(customer_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, customer_); } if (purchaseOptionCase_ == 2) { - output.writeMessage( - 2, - (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) - purchaseOption_); + output.writeMessage(2, (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) purchaseOption_); } if (purchaseOptionCase_ == 3) { - output.writeMessage( - 3, - (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) - purchaseOption_); + output.writeMessage(3, (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) purchaseOption_); } if (pageSize_ != 0) { output.writeInt32(4, pageSize_); @@ -2204,21 +1898,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, customer_); } if (purchaseOptionCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, - (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) - purchaseOption_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) purchaseOption_); } if (purchaseOptionCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, - (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) - purchaseOption_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) purchaseOption_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pageToken_); @@ -2234,26 +1923,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.cloud.channel.v1.ListPurchasableSkusRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListPurchasableSkusRequest other = - (com.google.cloud.channel.v1.ListPurchasableSkusRequest) obj; + com.google.cloud.channel.v1.ListPurchasableSkusRequest other = (com.google.cloud.channel.v1.ListPurchasableSkusRequest) obj; - if (!getCustomer().equals(other.getCustomer())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getLanguageCode().equals(other.getLanguageCode())) return false; + if (!getCustomer() + .equals(other.getCustomer())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getLanguageCode() + .equals(other.getLanguageCode())) return false; if (!getPurchaseOptionCase().equals(other.getPurchaseOptionCase())) return false; switch (purchaseOptionCase_) { case 2: - if (!getCreateEntitlementPurchase().equals(other.getCreateEntitlementPurchase())) - return false; + if (!getCreateEntitlementPurchase() + .equals(other.getCreateEntitlementPurchase())) return false; break; case 3: - if (!getChangeOfferPurchase().equals(other.getChangeOfferPurchase())) return false; + if (!getChangeOfferPurchase() + .equals(other.getChangeOfferPurchase())) return false; break; case 0: default: @@ -2295,136 +1988,129 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListPurchasableSkusRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.ListPurchasableSkusRequest prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.ListPurchasableSkusRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListPurchasableSkus.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListPurchasableSkusRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListPurchasableSkusRequest) com.google.cloud.channel.v1.ListPurchasableSkusRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListPurchasableSkusRequest.class, - com.google.cloud.channel.v1.ListPurchasableSkusRequest.Builder.class); + com.google.cloud.channel.v1.ListPurchasableSkusRequest.class, com.google.cloud.channel.v1.ListPurchasableSkusRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.ListPurchasableSkusRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2448,9 +2134,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_descriptor; } @java.lang.Override @@ -2469,8 +2155,7 @@ public com.google.cloud.channel.v1.ListPurchasableSkusRequest build() { @java.lang.Override public com.google.cloud.channel.v1.ListPurchasableSkusRequest buildPartial() { - com.google.cloud.channel.v1.ListPurchasableSkusRequest result = - new com.google.cloud.channel.v1.ListPurchasableSkusRequest(this); + com.google.cloud.channel.v1.ListPurchasableSkusRequest result = new com.google.cloud.channel.v1.ListPurchasableSkusRequest(this); if (purchaseOptionCase_ == 2) { if (createEntitlementPurchaseBuilder_ == null) { result.purchaseOption_ = purchaseOption_; @@ -2498,39 +2183,38 @@ public com.google.cloud.channel.v1.ListPurchasableSkusRequest 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.cloud.channel.v1.ListPurchasableSkusRequest) { - return mergeFrom((com.google.cloud.channel.v1.ListPurchasableSkusRequest) other); + return mergeFrom((com.google.cloud.channel.v1.ListPurchasableSkusRequest)other); } else { super.mergeFrom(other); return this; @@ -2538,8 +2222,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ListPurchasableSkusRequest other) { - if (other == com.google.cloud.channel.v1.ListPurchasableSkusRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.ListPurchasableSkusRequest.getDefaultInstance()) return this; if (!other.getCustomer().isEmpty()) { customer_ = other.customer_; onChanged(); @@ -2556,20 +2239,17 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ListPurchasableSkusRequest onChanged(); } switch (other.getPurchaseOptionCase()) { - case CREATE_ENTITLEMENT_PURCHASE: - { - mergeCreateEntitlementPurchase(other.getCreateEntitlementPurchase()); - break; - } - case CHANGE_OFFER_PURCHASE: - { - mergeChangeOfferPurchase(other.getChangeOfferPurchase()); - break; - } - case PURCHASEOPTION_NOT_SET: - { - break; - } + case CREATE_ENTITLEMENT_PURCHASE: { + mergeCreateEntitlementPurchase(other.getCreateEntitlementPurchase()); + break; + } + case CHANGE_OFFER_PURCHASE: { + mergeChangeOfferPurchase(other.getChangeOfferPurchase()); + break; + } + case PURCHASEOPTION_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2597,51 +2277,46 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - customer_ = input.readStringRequireUtf8(); + case 10: { + customer_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - input.readMessage( - getCreateEntitlementPurchaseFieldBuilder().getBuilder(), extensionRegistry); - purchaseOptionCase_ = 2; - break; - } // case 18 - case 26: - { - input.readMessage( - getChangeOfferPurchaseFieldBuilder().getBuilder(), extensionRegistry); - purchaseOptionCase_ = 3; - break; - } // case 26 - case 32: - { - pageSize_ = input.readInt32(); + break; + } // case 10 + case 18: { + input.readMessage( + getCreateEntitlementPurchaseFieldBuilder().getBuilder(), + extensionRegistry); + purchaseOptionCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getChangeOfferPurchaseFieldBuilder().getBuilder(), + extensionRegistry); + purchaseOptionCase_ = 3; + break; + } // case 26 + case 32: { + pageSize_ = input.readInt32(); - break; - } // case 32 - case 42: - { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 32 + case 42: { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 42 - case 50: - { - languageCode_ = input.readStringRequireUtf8(); + break; + } // case 42 + case 50: { + languageCode_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2651,12 +2326,12 @@ public Builder mergeFrom( } // finally return this; } - private int purchaseOptionCase_ = 0; private java.lang.Object purchaseOption_; - - public PurchaseOptionCase getPurchaseOptionCase() { - return PurchaseOptionCase.forNumber(purchaseOptionCase_); + public PurchaseOptionCase + getPurchaseOptionCase() { + return PurchaseOptionCase.forNumber( + purchaseOptionCase_); } public Builder clearPurchaseOption() { @@ -2666,24 +2341,15 @@ public Builder clearPurchaseOption() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase, - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - .Builder, - com.google.cloud.channel.v1.ListPurchasableSkusRequest - .CreateEntitlementPurchaseOrBuilder> - createEntitlementPurchaseBuilder_; + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase, com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder, com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchaseOrBuilder> createEntitlementPurchaseBuilder_; /** - * - * *
      * List SKUs for CreateEntitlement purchase.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; - * - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; * @return Whether the createEntitlementPurchase field is set. */ @java.lang.Override @@ -2691,49 +2357,35 @@ public boolean hasCreateEntitlementPurchase() { return purchaseOptionCase_ == 2; } /** - * - * *
      * List SKUs for CreateEntitlement purchase.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; - * - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; * @return The createEntitlementPurchase. */ @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - getCreateEntitlementPurchase() { + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase getCreateEntitlementPurchase() { if (createEntitlementPurchaseBuilder_ == null) { if (purchaseOptionCase_ == 2) { - return (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) - purchaseOption_; + return (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) purchaseOption_; } - return com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - .getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.getDefaultInstance(); } else { if (purchaseOptionCase_ == 2) { return createEntitlementPurchaseBuilder_.getMessage(); } - return com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - .getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.getDefaultInstance(); } } /** - * - * *
      * List SKUs for CreateEntitlement purchase.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; */ - public Builder setCreateEntitlementPurchase( - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase value) { + public Builder setCreateEntitlementPurchase(com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase value) { if (createEntitlementPurchaseBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2747,19 +2399,14 @@ public Builder setCreateEntitlementPurchase( return this; } /** - * - * *
      * List SKUs for CreateEntitlement purchase.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; */ public Builder setCreateEntitlementPurchase( - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder - builderForValue) { + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder builderForValue) { if (createEntitlementPurchaseBuilder_ == null) { purchaseOption_ = builderForValue.build(); onChanged(); @@ -2770,31 +2417,18 @@ public Builder setCreateEntitlementPurchase( return this; } /** - * - * *
      * List SKUs for CreateEntitlement purchase.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; */ - public Builder mergeCreateEntitlementPurchase( - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase value) { + public Builder mergeCreateEntitlementPurchase(com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase value) { if (createEntitlementPurchaseBuilder_ == null) { - if (purchaseOptionCase_ == 2 - && purchaseOption_ - != com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - .getDefaultInstance()) { - purchaseOption_ = - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - .newBuilder( - (com.google.cloud.channel.v1.ListPurchasableSkusRequest - .CreateEntitlementPurchase) - purchaseOption_) - .mergeFrom(value) - .buildPartial(); + if (purchaseOptionCase_ == 2 && + purchaseOption_ != com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.getDefaultInstance()) { + purchaseOption_ = com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.newBuilder((com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) purchaseOption_) + .mergeFrom(value).buildPartial(); } else { purchaseOption_ = value; } @@ -2810,15 +2444,11 @@ public Builder mergeCreateEntitlementPurchase( return this; } /** - * - * *
      * List SKUs for CreateEntitlement purchase.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; */ public Builder clearCreateEntitlementPurchase() { if (createEntitlementPurchaseBuilder_ == null) { @@ -2837,104 +2467,67 @@ public Builder clearCreateEntitlementPurchase() { return this; } /** - * - * *
      * List SKUs for CreateEntitlement purchase.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; */ - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder - getCreateEntitlementPurchaseBuilder() { + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder getCreateEntitlementPurchaseBuilder() { return getCreateEntitlementPurchaseFieldBuilder().getBuilder(); } /** - * - * *
      * List SKUs for CreateEntitlement purchase.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; */ @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchaseOrBuilder - getCreateEntitlementPurchaseOrBuilder() { + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchaseOrBuilder getCreateEntitlementPurchaseOrBuilder() { if ((purchaseOptionCase_ == 2) && (createEntitlementPurchaseBuilder_ != null)) { return createEntitlementPurchaseBuilder_.getMessageOrBuilder(); } else { if (purchaseOptionCase_ == 2) { - return (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) - purchaseOption_; + return (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) purchaseOption_; } - return com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - .getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.getDefaultInstance(); } } /** - * - * *
      * List SKUs for CreateEntitlement purchase.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase, - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - .Builder, - com.google.cloud.channel.v1.ListPurchasableSkusRequest - .CreateEntitlementPurchaseOrBuilder> + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase, com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder, com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchaseOrBuilder> getCreateEntitlementPurchaseFieldBuilder() { if (createEntitlementPurchaseBuilder_ == null) { if (!(purchaseOptionCase_ == 2)) { - purchaseOption_ = - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - .getDefaultInstance(); + purchaseOption_ = com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.getDefaultInstance(); } - createEntitlementPurchaseBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase, - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - .Builder, - com.google.cloud.channel.v1.ListPurchasableSkusRequest - .CreateEntitlementPurchaseOrBuilder>( - (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) - purchaseOption_, + createEntitlementPurchaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase, com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder, com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchaseOrBuilder>( + (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) purchaseOption_, getParentForChildren(), isClean()); purchaseOption_ = null; } purchaseOptionCase_ = 2; - onChanged(); - ; + onChanged();; return createEntitlementPurchaseBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase, - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.Builder, - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchaseOrBuilder> - changeOfferPurchaseBuilder_; + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase, com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.Builder, com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchaseOrBuilder> changeOfferPurchaseBuilder_; /** - * - * *
      * List SKUs for ChangeOffer purchase with a new SKU.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; - * - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; * @return Whether the changeOfferPurchase field is set. */ @java.lang.Override @@ -2942,49 +2535,35 @@ public boolean hasChangeOfferPurchase() { return purchaseOptionCase_ == 3; } /** - * - * *
      * List SKUs for ChangeOffer purchase with a new SKU.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; - * - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; * @return The changeOfferPurchase. */ @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase - getChangeOfferPurchase() { + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase getChangeOfferPurchase() { if (changeOfferPurchaseBuilder_ == null) { if (purchaseOptionCase_ == 3) { - return (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) - purchaseOption_; + return (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) purchaseOption_; } - return com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase - .getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.getDefaultInstance(); } else { if (purchaseOptionCase_ == 3) { return changeOfferPurchaseBuilder_.getMessage(); } - return com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase - .getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.getDefaultInstance(); } } /** - * - * *
      * List SKUs for ChangeOffer purchase with a new SKU.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; */ - public Builder setChangeOfferPurchase( - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase value) { + public Builder setChangeOfferPurchase(com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase value) { if (changeOfferPurchaseBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2998,19 +2577,14 @@ public Builder setChangeOfferPurchase( return this; } /** - * - * *
      * List SKUs for ChangeOffer purchase with a new SKU.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; */ public Builder setChangeOfferPurchase( - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.Builder - builderForValue) { + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.Builder builderForValue) { if (changeOfferPurchaseBuilder_ == null) { purchaseOption_ = builderForValue.build(); onChanged(); @@ -3021,29 +2595,18 @@ public Builder setChangeOfferPurchase( return this; } /** - * - * *
      * List SKUs for ChangeOffer purchase with a new SKU.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; */ - public Builder mergeChangeOfferPurchase( - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase value) { + public Builder mergeChangeOfferPurchase(com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase value) { if (changeOfferPurchaseBuilder_ == null) { - if (purchaseOptionCase_ == 3 - && purchaseOption_ - != com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase - .getDefaultInstance()) { - purchaseOption_ = - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.newBuilder( - (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) - purchaseOption_) - .mergeFrom(value) - .buildPartial(); + if (purchaseOptionCase_ == 3 && + purchaseOption_ != com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.getDefaultInstance()) { + purchaseOption_ = com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.newBuilder((com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) purchaseOption_) + .mergeFrom(value).buildPartial(); } else { purchaseOption_ = value; } @@ -3059,15 +2622,11 @@ public Builder mergeChangeOfferPurchase( return this; } /** - * - * *
      * List SKUs for ChangeOffer purchase with a new SKU.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; */ public Builder clearChangeOfferPurchase() { if (changeOfferPurchaseBuilder_ == null) { @@ -3086,104 +2645,74 @@ public Builder clearChangeOfferPurchase() { return this; } /** - * - * *
      * List SKUs for ChangeOffer purchase with a new SKU.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; */ - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.Builder - getChangeOfferPurchaseBuilder() { + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.Builder getChangeOfferPurchaseBuilder() { return getChangeOfferPurchaseFieldBuilder().getBuilder(); } /** - * - * *
      * List SKUs for ChangeOffer purchase with a new SKU.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; */ @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchaseOrBuilder - getChangeOfferPurchaseOrBuilder() { + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchaseOrBuilder getChangeOfferPurchaseOrBuilder() { if ((purchaseOptionCase_ == 3) && (changeOfferPurchaseBuilder_ != null)) { return changeOfferPurchaseBuilder_.getMessageOrBuilder(); } else { if (purchaseOptionCase_ == 3) { - return (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) - purchaseOption_; + return (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) purchaseOption_; } - return com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase - .getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.getDefaultInstance(); } } /** - * - * *
      * List SKUs for ChangeOffer purchase with a new SKU.
      * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase, - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.Builder, - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchaseOrBuilder> + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase, com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.Builder, com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchaseOrBuilder> getChangeOfferPurchaseFieldBuilder() { if (changeOfferPurchaseBuilder_ == null) { if (!(purchaseOptionCase_ == 3)) { - purchaseOption_ = - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase - .getDefaultInstance(); + purchaseOption_ = com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.getDefaultInstance(); } - changeOfferPurchaseBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase, - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.Builder, - com.google.cloud.channel.v1.ListPurchasableSkusRequest - .ChangeOfferPurchaseOrBuilder>( - (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) - purchaseOption_, + changeOfferPurchaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase, com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.Builder, com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchaseOrBuilder>( + (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) purchaseOption_, getParentForChildren(), isClean()); purchaseOption_ = null; } purchaseOptionCase_ = 3; - onChanged(); - ; + onChanged();; return changeOfferPurchaseBuilder_; } private java.lang.Object customer_ = ""; /** - * - * *
      * Required. The resource name of the customer to list SKUs for.
      * Format: accounts/{account_id}/customers/{customer_id}.
      * 
* - * - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The customer. */ public java.lang.String getCustomer() { java.lang.Object ref = customer_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customer_ = s; return s; @@ -3192,24 +2721,21 @@ public java.lang.String getCustomer() { } } /** - * - * *
      * Required. The resource name of the customer to list SKUs for.
      * Format: accounts/{account_id}/customers/{customer_id}.
      * 
* - * - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for customer. */ - public com.google.protobuf.ByteString getCustomerBytes() { + public com.google.protobuf.ByteString + getCustomerBytes() { java.lang.Object ref = customer_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); customer_ = b; return b; } else { @@ -3217,87 +2743,71 @@ public com.google.protobuf.ByteString getCustomerBytes() { } } /** - * - * *
      * Required. The resource name of the customer to list SKUs for.
      * Format: accounts/{account_id}/customers/{customer_id}.
      * 
* - * - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The customer to set. * @return This builder for chaining. */ - public Builder setCustomer(java.lang.String value) { + public Builder setCustomer( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + customer_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the customer to list SKUs for.
      * Format: accounts/{account_id}/customers/{customer_id}.
      * 
* - * - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearCustomer() { - + customer_ = getDefaultInstance().getCustomer(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the customer to list SKUs for.
      * Format: accounts/{account_id}/customers/{customer_id}.
      * 
* - * - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for customer to set. * @return This builder for chaining. */ - public Builder setCustomerBytes(com.google.protobuf.ByteString value) { + public Builder setCustomerBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + customer_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
-     * Optional. Requested page size. Server might return fewer results than requested.
-     * If unspecified, returns at most 100 SKUs.
-     * The maximum value is 1000; the server will coerce values above 1000.
+     * Optional. Requested page size. Server might return fewer results than
+     * requested. If unspecified, returns at most 100 SKUs. The maximum value is
+     * 1000; the server will coerce values above 1000.
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -3305,40 +2815,34 @@ public int getPageSize() { return pageSize_; } /** - * - * *
-     * Optional. Requested page size. Server might return fewer results than requested.
-     * If unspecified, returns at most 100 SKUs.
-     * The maximum value is 1000; the server will coerce values above 1000.
+     * Optional. Requested page size. Server might return fewer results than
+     * requested. If unspecified, returns at most 100 SKUs. The maximum value is
+     * 1000; the server will coerce values above 1000.
      * 
* * int32 page_size = 4 [(.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. Requested page size. Server might return fewer results than requested.
-     * If unspecified, returns at most 100 SKUs.
-     * The maximum value is 1000; the server will coerce values above 1000.
+     * Optional. Requested page size. Server might return fewer results than
+     * requested. If unspecified, returns at most 100 SKUs. The maximum value is
+     * 1000; the server will coerce values above 1000.
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -3346,20 +2850,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 5 [(.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; @@ -3368,21 +2870,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 5 [(.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 { @@ -3390,61 +2891,54 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 5 [(.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 token for a page of results other than the first page.
      * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 5 [(.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; @@ -3452,8 +2946,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object languageCode_ = ""; /** - * - * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -3461,13 +2953,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -3476,8 +2968,6 @@ public java.lang.String getLanguageCode() { } } /** - * - * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -3485,14 +2975,15 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -3500,8 +2991,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } } /** - * - * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -3509,22 +2998,20 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode(java.lang.String value) { + public Builder setLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -3532,18 +3019,15 @@ public Builder setLanguageCode(java.lang.String value) {
      * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** - * - * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -3551,23 +3035,23 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = 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); } @@ -3577,12 +3061,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListPurchasableSkusRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListPurchasableSkusRequest) private static final com.google.cloud.channel.v1.ListPurchasableSkusRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListPurchasableSkusRequest(); } @@ -3591,27 +3075,27 @@ public static com.google.cloud.channel.v1.ListPurchasableSkusRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPurchasableSkusRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPurchasableSkusRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3626,4 +3110,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.channel.v1.ListPurchasableSkusRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequestOrBuilder.java similarity index 56% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequestOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequestOrBuilder.java index e43f580cb6c5..0ef6e2a89238 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequestOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequestOrBuilder.java @@ -1,188 +1,121 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListPurchasableSkusRequestOrBuilder - extends +public interface ListPurchasableSkusRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListPurchasableSkusRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List SKUs for CreateEntitlement purchase.
    * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; - * - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; * @return Whether the createEntitlementPurchase field is set. */ boolean hasCreateEntitlementPurchase(); /** - * - * *
    * List SKUs for CreateEntitlement purchase.
    * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; - * - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; * @return The createEntitlementPurchase. */ - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase - getCreateEntitlementPurchase(); + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase getCreateEntitlementPurchase(); /** - * - * *
    * List SKUs for CreateEntitlement purchase.
    * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; */ - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchaseOrBuilder - getCreateEntitlementPurchaseOrBuilder(); + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchaseOrBuilder getCreateEntitlementPurchaseOrBuilder(); /** - * - * *
    * List SKUs for ChangeOffer purchase with a new SKU.
    * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; - * - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; * @return Whether the changeOfferPurchase field is set. */ boolean hasChangeOfferPurchase(); /** - * - * *
    * List SKUs for ChangeOffer purchase with a new SKU.
    * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; - * - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; * @return The changeOfferPurchase. */ - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase - getChangeOfferPurchase(); + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase getChangeOfferPurchase(); /** - * - * *
    * List SKUs for ChangeOffer purchase with a new SKU.
    * 
* - * - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; - * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; */ - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchaseOrBuilder - getChangeOfferPurchaseOrBuilder(); + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchaseOrBuilder getChangeOfferPurchaseOrBuilder(); /** - * - * *
    * Required. The resource name of the customer to list SKUs for.
    * Format: accounts/{account_id}/customers/{customer_id}.
    * 
* - * - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The customer. */ java.lang.String getCustomer(); /** - * - * *
    * Required. The resource name of the customer to list SKUs for.
    * Format: accounts/{account_id}/customers/{customer_id}.
    * 
* - * - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for customer. */ - com.google.protobuf.ByteString getCustomerBytes(); + com.google.protobuf.ByteString + getCustomerBytes(); /** - * - * *
-   * Optional. Requested page size. Server might return fewer results than requested.
-   * If unspecified, returns at most 100 SKUs.
-   * The maximum value is 1000; the server will coerce values above 1000.
+   * Optional. Requested page size. Server might return fewer results than
+   * requested. If unspecified, returns at most 100 SKUs. The maximum value is
+   * 1000; the server will coerce values above 1000.
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. A token for a page of results other than the first page.
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. A token for a page of results other than the first page.
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -190,13 +123,10 @@ public interface ListPurchasableSkusRequestOrBuilder
    * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ java.lang.String getLanguageCode(); /** - * - * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -204,11 +134,10 @@ public interface ListPurchasableSkusRequestOrBuilder
    * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString getLanguageCodeBytes(); + com.google.protobuf.ByteString + getLanguageCodeBytes(); - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.PurchaseOptionCase - getPurchaseOptionCase(); + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.PurchaseOptionCase getPurchaseOptionCase(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponse.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponse.java similarity index 71% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponse.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponse.java index 5fcf8e45e249..9da6c986144f 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponse.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponse.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
  * Response message for ListPurchasableSkus.
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListPurchasableSkusResponse} */ -public final class ListPurchasableSkusResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListPurchasableSkusResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListPurchasableSkusResponse) ListPurchasableSkusResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListPurchasableSkusResponse.newBuilder() to construct. private ListPurchasableSkusResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPurchasableSkusResponse() { purchasableSkus_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,35 +26,32 @@ private ListPurchasableSkusResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPurchasableSkusResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListPurchasableSkusResponse.class, - com.google.cloud.channel.v1.ListPurchasableSkusResponse.Builder.class); + com.google.cloud.channel.v1.ListPurchasableSkusResponse.class, com.google.cloud.channel.v1.ListPurchasableSkusResponse.Builder.class); } public static final int PURCHASABLE_SKUS_FIELD_NUMBER = 1; private java.util.List purchasableSkus_; /** - * - * *
    * The list of SKUs requested.
    * 
@@ -84,8 +63,6 @@ public java.util.List getPurchasable return purchasableSkus_; } /** - * - * *
    * The list of SKUs requested.
    * 
@@ -93,13 +70,11 @@ public java.util.List getPurchasable * repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPurchasableSkusOrBuilderList() { return purchasableSkus_; } /** - * - * *
    * The list of SKUs requested.
    * 
@@ -111,8 +86,6 @@ public int getPurchasableSkusCount() { return purchasableSkus_.size(); } /** - * - * *
    * The list of SKUs requested.
    * 
@@ -124,8 +97,6 @@ public com.google.cloud.channel.v1.PurchasableSku getPurchasableSkus(int index) return purchasableSkus_.get(index); } /** - * - * *
    * The list of SKUs requested.
    * 
@@ -141,14 +112,11 @@ public com.google.cloud.channel.v1.PurchasableSkuOrBuilder getPurchasableSkusOrB public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -157,29 +125,29 @@ 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 to retrieve the next page of results.
    * 
* * 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 { @@ -188,7 +156,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,7 +167,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < purchasableSkus_.size(); i++) { output.writeMessage(1, purchasableSkus_.get(i)); } @@ -217,7 +185,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < purchasableSkus_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, purchasableSkus_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, purchasableSkus_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -230,16 +199,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.cloud.channel.v1.ListPurchasableSkusResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListPurchasableSkusResponse other = - (com.google.cloud.channel.v1.ListPurchasableSkusResponse) obj; + com.google.cloud.channel.v1.ListPurchasableSkusResponse other = (com.google.cloud.channel.v1.ListPurchasableSkusResponse) obj; - if (!getPurchasableSkusList().equals(other.getPurchasableSkusList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getPurchasableSkusList() + .equals(other.getPurchasableSkusList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -263,136 +233,129 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListPurchasableSkusResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListPurchasableSkusResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableSkusResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListPurchasableSkusResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableSkusResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListPurchasableSkusResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListPurchasableSkusResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListPurchasableSkusResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListPurchasableSkusResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListPurchasableSkusResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListPurchasableSkusResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListPurchasableSkusResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableSkusResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListPurchasableSkusResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.ListPurchasableSkusResponse prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.ListPurchasableSkusResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 ListPurchasableSkus.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListPurchasableSkusResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListPurchasableSkusResponse) com.google.cloud.channel.v1.ListPurchasableSkusResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListPurchasableSkusResponse.class, - com.google.cloud.channel.v1.ListPurchasableSkusResponse.Builder.class); + com.google.cloud.channel.v1.ListPurchasableSkusResponse.class, com.google.cloud.channel.v1.ListPurchasableSkusResponse.Builder.class); } // Construct using com.google.cloud.channel.v1.ListPurchasableSkusResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -409,9 +372,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_descriptor; } @java.lang.Override @@ -430,8 +393,7 @@ public com.google.cloud.channel.v1.ListPurchasableSkusResponse build() { @java.lang.Override public com.google.cloud.channel.v1.ListPurchasableSkusResponse buildPartial() { - com.google.cloud.channel.v1.ListPurchasableSkusResponse result = - new com.google.cloud.channel.v1.ListPurchasableSkusResponse(this); + com.google.cloud.channel.v1.ListPurchasableSkusResponse result = new com.google.cloud.channel.v1.ListPurchasableSkusResponse(this); int from_bitField0_ = bitField0_; if (purchasableSkusBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -451,39 +413,38 @@ public com.google.cloud.channel.v1.ListPurchasableSkusResponse 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.cloud.channel.v1.ListPurchasableSkusResponse) { - return mergeFrom((com.google.cloud.channel.v1.ListPurchasableSkusResponse) other); + return mergeFrom((com.google.cloud.channel.v1.ListPurchasableSkusResponse)other); } else { super.mergeFrom(other); return this; @@ -491,8 +452,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ListPurchasableSkusResponse other) { - if (other == com.google.cloud.channel.v1.ListPurchasableSkusResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.ListPurchasableSkusResponse.getDefaultInstance()) return this; if (purchasableSkusBuilder_ == null) { if (!other.purchasableSkus_.isEmpty()) { if (purchasableSkus_.isEmpty()) { @@ -511,10 +471,9 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ListPurchasableSkusResponse purchasableSkusBuilder_ = null; purchasableSkus_ = other.purchasableSkus_; bitField0_ = (bitField0_ & ~0x00000001); - purchasableSkusBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPurchasableSkusFieldBuilder() - : null; + purchasableSkusBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPurchasableSkusFieldBuilder() : null; } else { purchasableSkusBuilder_.addAllMessages(other.purchasableSkus_); } @@ -550,32 +509,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.channel.v1.PurchasableSku m = - input.readMessage( - com.google.cloud.channel.v1.PurchasableSku.parser(), extensionRegistry); - if (purchasableSkusBuilder_ == null) { - ensurePurchasableSkusIsMutable(); - purchasableSkus_.add(m); - } else { - purchasableSkusBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.cloud.channel.v1.PurchasableSku m = + input.readMessage( + com.google.cloud.channel.v1.PurchasableSku.parser(), + extensionRegistry); + if (purchasableSkusBuilder_ == null) { + ensurePurchasableSkusIsMutable(); + purchasableSkus_.add(m); + } else { + purchasableSkusBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -585,29 +542,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List purchasableSkus_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePurchasableSkusIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - purchasableSkus_ = - new java.util.ArrayList(purchasableSkus_); + purchasableSkus_ = new java.util.ArrayList(purchasableSkus_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.PurchasableSku, - com.google.cloud.channel.v1.PurchasableSku.Builder, - com.google.cloud.channel.v1.PurchasableSkuOrBuilder> - purchasableSkusBuilder_; + com.google.cloud.channel.v1.PurchasableSku, com.google.cloud.channel.v1.PurchasableSku.Builder, com.google.cloud.channel.v1.PurchasableSkuOrBuilder> purchasableSkusBuilder_; /** - * - * *
      * The list of SKUs requested.
      * 
@@ -622,8 +571,6 @@ public java.util.List getPurchasable } } /** - * - * *
      * The list of SKUs requested.
      * 
@@ -638,8 +585,6 @@ public int getPurchasableSkusCount() { } } /** - * - * *
      * The list of SKUs requested.
      * 
@@ -654,15 +599,14 @@ public com.google.cloud.channel.v1.PurchasableSku getPurchasableSkus(int index) } } /** - * - * *
      * The list of SKUs requested.
      * 
* * repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1; */ - public Builder setPurchasableSkus(int index, com.google.cloud.channel.v1.PurchasableSku value) { + public Builder setPurchasableSkus( + int index, com.google.cloud.channel.v1.PurchasableSku value) { if (purchasableSkusBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -676,8 +620,6 @@ public Builder setPurchasableSkus(int index, com.google.cloud.channel.v1.Purchas return this; } /** - * - * *
      * The list of SKUs requested.
      * 
@@ -696,8 +638,6 @@ public Builder setPurchasableSkus( return this; } /** - * - * *
      * The list of SKUs requested.
      * 
@@ -718,15 +658,14 @@ public Builder addPurchasableSkus(com.google.cloud.channel.v1.PurchasableSku val return this; } /** - * - * *
      * The list of SKUs requested.
      * 
* * repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1; */ - public Builder addPurchasableSkus(int index, com.google.cloud.channel.v1.PurchasableSku value) { + public Builder addPurchasableSkus( + int index, com.google.cloud.channel.v1.PurchasableSku value) { if (purchasableSkusBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -740,8 +679,6 @@ public Builder addPurchasableSkus(int index, com.google.cloud.channel.v1.Purchas return this; } /** - * - * *
      * The list of SKUs requested.
      * 
@@ -760,8 +697,6 @@ public Builder addPurchasableSkus( return this; } /** - * - * *
      * The list of SKUs requested.
      * 
@@ -780,8 +715,6 @@ public Builder addPurchasableSkus( return this; } /** - * - * *
      * The list of SKUs requested.
      * 
@@ -792,7 +725,8 @@ public Builder addAllPurchasableSkus( java.lang.Iterable values) { if (purchasableSkusBuilder_ == null) { ensurePurchasableSkusIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, purchasableSkus_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, purchasableSkus_); onChanged(); } else { purchasableSkusBuilder_.addAllMessages(values); @@ -800,8 +734,6 @@ public Builder addAllPurchasableSkus( return this; } /** - * - * *
      * The list of SKUs requested.
      * 
@@ -819,8 +751,6 @@ public Builder clearPurchasableSkus() { return this; } /** - * - * *
      * The list of SKUs requested.
      * 
@@ -838,20 +768,17 @@ public Builder removePurchasableSkus(int index) { return this; } /** - * - * *
      * The list of SKUs requested.
      * 
* * repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1; */ - public com.google.cloud.channel.v1.PurchasableSku.Builder getPurchasableSkusBuilder(int index) { + public com.google.cloud.channel.v1.PurchasableSku.Builder getPurchasableSkusBuilder( + int index) { return getPurchasableSkusFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of SKUs requested.
      * 
@@ -861,22 +788,19 @@ public com.google.cloud.channel.v1.PurchasableSku.Builder getPurchasableSkusBuil public com.google.cloud.channel.v1.PurchasableSkuOrBuilder getPurchasableSkusOrBuilder( int index) { if (purchasableSkusBuilder_ == null) { - return purchasableSkus_.get(index); - } else { + return purchasableSkus_.get(index); } else { return purchasableSkusBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of SKUs requested.
      * 
* * repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1; */ - public java.util.List - getPurchasableSkusOrBuilderList() { + public java.util.List + getPurchasableSkusOrBuilderList() { if (purchasableSkusBuilder_ != null) { return purchasableSkusBuilder_.getMessageOrBuilderList(); } else { @@ -884,8 +808,6 @@ public com.google.cloud.channel.v1.PurchasableSkuOrBuilder getPurchasableSkusOrB } } /** - * - * *
      * The list of SKUs requested.
      * 
@@ -893,47 +815,38 @@ public com.google.cloud.channel.v1.PurchasableSkuOrBuilder getPurchasableSkusOrB * repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1; */ public com.google.cloud.channel.v1.PurchasableSku.Builder addPurchasableSkusBuilder() { - return getPurchasableSkusFieldBuilder() - .addBuilder(com.google.cloud.channel.v1.PurchasableSku.getDefaultInstance()); + return getPurchasableSkusFieldBuilder().addBuilder( + com.google.cloud.channel.v1.PurchasableSku.getDefaultInstance()); } /** - * - * *
      * The list of SKUs requested.
      * 
* * repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1; */ - public com.google.cloud.channel.v1.PurchasableSku.Builder addPurchasableSkusBuilder(int index) { - return getPurchasableSkusFieldBuilder() - .addBuilder(index, com.google.cloud.channel.v1.PurchasableSku.getDefaultInstance()); + public com.google.cloud.channel.v1.PurchasableSku.Builder addPurchasableSkusBuilder( + int index) { + return getPurchasableSkusFieldBuilder().addBuilder( + index, com.google.cloud.channel.v1.PurchasableSku.getDefaultInstance()); } /** - * - * *
      * The list of SKUs requested.
      * 
* * repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1; */ - public java.util.List - getPurchasableSkusBuilderList() { + public java.util.List + getPurchasableSkusBuilderList() { return getPurchasableSkusFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.PurchasableSku, - com.google.cloud.channel.v1.PurchasableSku.Builder, - com.google.cloud.channel.v1.PurchasableSkuOrBuilder> + com.google.cloud.channel.v1.PurchasableSku, com.google.cloud.channel.v1.PurchasableSku.Builder, com.google.cloud.channel.v1.PurchasableSkuOrBuilder> getPurchasableSkusFieldBuilder() { if (purchasableSkusBuilder_ == null) { - purchasableSkusBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.PurchasableSku, - com.google.cloud.channel.v1.PurchasableSku.Builder, - com.google.cloud.channel.v1.PurchasableSkuOrBuilder>( + purchasableSkusBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.PurchasableSku, com.google.cloud.channel.v1.PurchasableSku.Builder, com.google.cloud.channel.v1.PurchasableSkuOrBuilder>( purchasableSkus_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -945,20 +858,18 @@ public com.google.cloud.channel.v1.PurchasableSku.Builder addPurchasableSkusBuil private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * 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; @@ -967,21 +878,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * 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 { @@ -989,68 +899,61 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * 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 to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * 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); } @@ -1060,12 +963,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListPurchasableSkusResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListPurchasableSkusResponse) private static final com.google.cloud.channel.v1.ListPurchasableSkusResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListPurchasableSkusResponse(); } @@ -1074,27 +977,27 @@ public static com.google.cloud.channel.v1.ListPurchasableSkusResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPurchasableSkusResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPurchasableSkusResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1109,4 +1012,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.channel.v1.ListPurchasableSkusResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponseOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponseOrBuilder.java similarity index 65% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponseOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponseOrBuilder.java index be43459a1f18..13738b4f5e8a 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponseOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponseOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListPurchasableSkusResponseOrBuilder - extends +public interface ListPurchasableSkusResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListPurchasableSkusResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of SKUs requested.
    * 
* * repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1; */ - java.util.List getPurchasableSkusList(); + java.util.List + getPurchasableSkusList(); /** - * - * *
    * The list of SKUs requested.
    * 
@@ -44,8 +25,6 @@ public interface ListPurchasableSkusResponseOrBuilder */ com.google.cloud.channel.v1.PurchasableSku getPurchasableSkus(int index); /** - * - * *
    * The list of SKUs requested.
    * 
@@ -54,49 +33,41 @@ public interface ListPurchasableSkusResponseOrBuilder */ int getPurchasableSkusCount(); /** - * - * *
    * The list of SKUs requested.
    * 
* * repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1; */ - java.util.List + java.util.List getPurchasableSkusOrBuilderList(); /** - * - * *
    * The list of SKUs requested.
    * 
* * repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1; */ - com.google.cloud.channel.v1.PurchasableSkuOrBuilder getPurchasableSkusOrBuilder(int index); + com.google.cloud.channel.v1.PurchasableSkuOrBuilder getPurchasableSkusOrBuilder( + int index); /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsRequest.java similarity index 68% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsRequest.java index 70e5240ff526..832f4a5226ff 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsRequest.java @@ -1,42 +1,25 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Request message for [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports].
+ * Request message for
+ * [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports].
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListReportsRequest} */ -public final class ListReportsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListReportsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListReportsRequest) ListReportsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListReportsRequest.newBuilder() to construct. private ListReportsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListReportsRequest() { parent_ = ""; pageToken_ = ""; @@ -45,43 +28,38 @@ private ListReportsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListReportsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_ListReportsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ListReportsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_ListReportsRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ListReportsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListReportsRequest.class, - com.google.cloud.channel.v1.ListReportsRequest.Builder.class); + com.google.cloud.channel.v1.ListReportsRequest.class, com.google.cloud.channel.v1.ListReportsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
-   * Required. The resource name of the partner account to list available reports for.
-   * Parent uses the format:
-   * accounts/{account_id}
+   * Required. The resource name of the partner account to list available
+   * reports for. Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -90,31 +68,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 partner account to list available reports for.
-   * Parent uses the format:
-   * accounts/{account_id}
+   * Required. The resource name of the partner account to list available
+   * reports for. Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -125,16 +102,13 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
-   * Optional. Requested page size of the report. The server might return fewer results
-   * than requested. If unspecified, returns 20 reports.
-   * The maximum value is 100.
+   * Optional. Requested page size of the report. The server might return fewer
+   * results than requested. If unspecified, returns 20 reports. The maximum
+   * value is 100.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -145,17 +119,16 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Optional. A token that specifies a page of results beyond the first page.
    * Obtained through
-   * [ListReportsResponse.next_page_token][google.cloud.channel.v1.ListReportsResponse.next_page_token] of the previous
-   * [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports] call.
+   * [ListReportsResponse.next_page_token][google.cloud.channel.v1.ListReportsResponse.next_page_token]
+   * of the previous
+   * [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports]
+   * call.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -164,32 +137,34 @@ 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 token that specifies a page of results beyond the first page.
    * Obtained through
-   * [ListReportsResponse.next_page_token][google.cloud.channel.v1.ListReportsResponse.next_page_token] of the previous
-   * [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports] call.
+   * [ListReportsResponse.next_page_token][google.cloud.channel.v1.ListReportsResponse.next_page_token]
+   * of the previous
+   * [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports]
+   * call.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -200,8 +175,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 4; private volatile java.lang.Object languageCode_; /** - * - * *
    * Optional. The BCP-47 language code, such as "en-US".  If specified, the
    * response is localized to the corresponding language code if the
@@ -210,7 +183,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ @java.lang.Override @@ -219,15 +191,14 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** - * - * *
    * Optional. The BCP-47 language code, such as "en-US".  If specified, the
    * response is localized to the corresponding language code if the
@@ -236,15 +207,16 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -253,7 +225,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,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_); } @@ -291,7 +263,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_); @@ -307,18 +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.cloud.channel.v1.ListReportsRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListReportsRequest other = - (com.google.cloud.channel.v1.ListReportsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getLanguageCode().equals(other.getLanguageCode())) return false; + com.google.cloud.channel.v1.ListReportsRequest other = (com.google.cloud.channel.v1.ListReportsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getLanguageCode() + .equals(other.getLanguageCode())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -343,136 +319,131 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ListReportsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.ListReportsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListReportsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListReportsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListReportsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListReportsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListReportsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListReportsRequest 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.cloud.channel.v1.ListReportsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListReportsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListReportsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListReportsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListReportsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListReportsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ListReportsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Request message for [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports].
+   * Request message for
+   * [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports].
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListReportsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListReportsRequest) com.google.cloud.channel.v1.ListReportsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_ListReportsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ListReportsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_ListReportsRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ListReportsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListReportsRequest.class, - com.google.cloud.channel.v1.ListReportsRequest.Builder.class); + com.google.cloud.channel.v1.ListReportsRequest.class, com.google.cloud.channel.v1.ListReportsRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.ListReportsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -488,9 +459,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_ListReportsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ListReportsRequest_descriptor; } @java.lang.Override @@ -509,8 +480,7 @@ public com.google.cloud.channel.v1.ListReportsRequest build() { @java.lang.Override public com.google.cloud.channel.v1.ListReportsRequest buildPartial() { - com.google.cloud.channel.v1.ListReportsRequest result = - new com.google.cloud.channel.v1.ListReportsRequest(this); + com.google.cloud.channel.v1.ListReportsRequest result = new com.google.cloud.channel.v1.ListReportsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -523,39 +493,38 @@ public com.google.cloud.channel.v1.ListReportsRequest 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.cloud.channel.v1.ListReportsRequest) { - return mergeFrom((com.google.cloud.channel.v1.ListReportsRequest) other); + return mergeFrom((com.google.cloud.channel.v1.ListReportsRequest)other); } else { super.mergeFrom(other); return this; @@ -605,37 +574,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - languageCode_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: { + languageCode_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -648,22 +612,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
-     * Required. The resource name of the partner account to list available reports for.
-     * Parent uses the format:
-     * accounts/{account_id}
+     * Required. The resource name of the partner account to list available
+     * reports for. Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -672,23 +633,21 @@ public java.lang.String getParent() { } } /** - * - * *
-     * Required. The resource name of the partner account to list available reports for.
-     * Parent uses the format:
-     * accounts/{account_id}
+     * Required. The resource name of the partner account to list available
+     * reports for. Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -696,84 +655,71 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
-     * Required. The resource name of the partner account to list available reports for.
-     * Parent uses the format:
-     * accounts/{account_id}
+     * Required. The resource name of the partner account to list available
+     * reports for. Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 partner account to list available reports for.
-     * Parent uses the format:
-     * accounts/{account_id}
+     * Required. The resource name of the partner account to list available
+     * reports for. Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
-     * Required. The resource name of the partner account to list available reports for.
-     * Parent uses the format:
-     * accounts/{account_id}
+     * Required. The resource name of the partner account to list available
+     * reports for. Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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_ ; /** - * - * *
-     * Optional. Requested page size of the report. The server might return fewer results
-     * than requested. If unspecified, returns 20 reports.
-     * The maximum value is 100.
+     * Optional. Requested page size of the report. The server might return fewer
+     * results than requested. If unspecified, returns 20 reports. The maximum
+     * value is 100.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -781,40 +727,34 @@ public int getPageSize() { return pageSize_; } /** - * - * *
-     * Optional. Requested page size of the report. The server might return fewer results
-     * than requested. If unspecified, returns 20 reports.
-     * The maximum value is 100.
+     * Optional. Requested page size of the report. The server might return fewer
+     * results than requested. If unspecified, returns 20 reports. The maximum
+     * value is 100.
      * 
* * int32 page_size = 2 [(.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. Requested page size of the report. The server might return fewer results
-     * than requested. If unspecified, returns 20 reports.
-     * The maximum value is 100.
+     * Optional. Requested page size of the report. The server might return fewer
+     * results than requested. If unspecified, returns 20 reports. The maximum
+     * value is 100.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -822,23 +762,23 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. A token that specifies a page of results beyond the first page.
      * Obtained through
-     * [ListReportsResponse.next_page_token][google.cloud.channel.v1.ListReportsResponse.next_page_token] of the previous
-     * [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports] call.
+     * [ListReportsResponse.next_page_token][google.cloud.channel.v1.ListReportsResponse.next_page_token]
+     * of the previous
+     * [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -847,24 +787,25 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. A token that specifies a page of results beyond the first page.
      * Obtained through
-     * [ListReportsResponse.next_page_token][google.cloud.channel.v1.ListReportsResponse.next_page_token] of the previous
-     * [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports] call.
+     * [ListReportsResponse.next_page_token][google.cloud.channel.v1.ListReportsResponse.next_page_token]
+     * of the previous
+     * [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -872,70 +813,69 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. A token that specifies a page of results beyond the first page.
      * Obtained through
-     * [ListReportsResponse.next_page_token][google.cloud.channel.v1.ListReportsResponse.next_page_token] of the previous
-     * [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports] call.
+     * [ListReportsResponse.next_page_token][google.cloud.channel.v1.ListReportsResponse.next_page_token]
+     * of the previous
+     * [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A token that specifies a page of results beyond the first page.
      * Obtained through
-     * [ListReportsResponse.next_page_token][google.cloud.channel.v1.ListReportsResponse.next_page_token] of the previous
-     * [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports] call.
+     * [ListReportsResponse.next_page_token][google.cloud.channel.v1.ListReportsResponse.next_page_token]
+     * of the previous
+     * [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Optional. A token that specifies a page of results beyond the first page.
      * Obtained through
-     * [ListReportsResponse.next_page_token][google.cloud.channel.v1.ListReportsResponse.next_page_token] of the previous
-     * [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports] call.
+     * [ListReportsResponse.next_page_token][google.cloud.channel.v1.ListReportsResponse.next_page_token]
+     * of the previous
+     * [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports]
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + 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; @@ -943,8 +883,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object languageCode_ = ""; /** - * - * *
      * Optional. The BCP-47 language code, such as "en-US".  If specified, the
      * response is localized to the corresponding language code if the
@@ -953,13 +891,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -968,8 +906,6 @@ public java.lang.String getLanguageCode() { } } /** - * - * *
      * Optional. The BCP-47 language code, such as "en-US".  If specified, the
      * response is localized to the corresponding language code if the
@@ -978,14 +914,15 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -993,8 +930,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } } /** - * - * *
      * Optional. The BCP-47 language code, such as "en-US".  If specified, the
      * response is localized to the corresponding language code if the
@@ -1003,22 +938,20 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode(java.lang.String value) { + public Builder setLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The BCP-47 language code, such as "en-US".  If specified, the
      * response is localized to the corresponding language code if the
@@ -1027,18 +960,15 @@ public Builder setLanguageCode(java.lang.String value) {
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** - * - * *
      * Optional. The BCP-47 language code, such as "en-US".  If specified, the
      * response is localized to the corresponding language code if the
@@ -1047,23 +977,23 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = 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); } @@ -1073,12 +1003,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListReportsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListReportsRequest) private static final com.google.cloud.channel.v1.ListReportsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListReportsRequest(); } @@ -1087,27 +1017,27 @@ public static com.google.cloud.channel.v1.ListReportsRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListReportsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListReportsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1122,4 +1052,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListReportsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsRequestOrBuilder.java similarity index 64% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsRequestOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsRequestOrBuilder.java index 7b322367684d..3ea5b2d63d42 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsRequestOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsRequestOrBuilder.java @@ -1,106 +1,77 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; -public interface ListReportsRequestOrBuilder - extends +public interface ListReportsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListReportsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
-   * Required. The resource name of the partner account to list available reports for.
-   * Parent uses the format:
-   * accounts/{account_id}
+   * Required. The resource name of the partner account to list available
+   * reports for. Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
-   * Required. The resource name of the partner account to list available reports for.
-   * Parent uses the format:
-   * accounts/{account_id}
+   * Required. The resource name of the partner account to list available
+   * reports for. Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
-   * Optional. Requested page size of the report. The server might return fewer results
-   * than requested. If unspecified, returns 20 reports.
-   * The maximum value is 100.
+   * Optional. Requested page size of the report. The server might return fewer
+   * results than requested. If unspecified, returns 20 reports. The maximum
+   * value is 100.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. A token that specifies a page of results beyond the first page.
    * Obtained through
-   * [ListReportsResponse.next_page_token][google.cloud.channel.v1.ListReportsResponse.next_page_token] of the previous
-   * [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports] call.
+   * [ListReportsResponse.next_page_token][google.cloud.channel.v1.ListReportsResponse.next_page_token]
+   * of the previous
+   * [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports]
+   * call.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. A token that specifies a page of results beyond the first page.
    * Obtained through
-   * [ListReportsResponse.next_page_token][google.cloud.channel.v1.ListReportsResponse.next_page_token] of the previous
-   * [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports] call.
+   * [ListReportsResponse.next_page_token][google.cloud.channel.v1.ListReportsResponse.next_page_token]
+   * of the previous
+   * [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports]
+   * call.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. The BCP-47 language code, such as "en-US".  If specified, the
    * response is localized to the corresponding language code if the
@@ -109,13 +80,10 @@ public interface ListReportsRequestOrBuilder
    * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ java.lang.String getLanguageCode(); /** - * - * *
    * Optional. The BCP-47 language code, such as "en-US".  If specified, the
    * response is localized to the corresponding language code if the
@@ -124,8 +92,8 @@ public interface ListReportsRequestOrBuilder
    * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString getLanguageCodeBytes(); + com.google.protobuf.ByteString + getLanguageCodeBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsResponse.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsResponse.java similarity index 68% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsResponse.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsResponse.java index 273e2d6042eb..4d2aaea57678 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsResponse.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsResponse.java @@ -1,42 +1,25 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Response message for [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports].
+ * Response message for
+ * [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports].
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListReportsResponse} */ -public final class ListReportsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListReportsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListReportsResponse) ListReportsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListReportsResponse.newBuilder() to construct. private ListReportsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListReportsResponse() { reports_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,35 +27,32 @@ private ListReportsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListReportsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_ListReportsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ListReportsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_ListReportsResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ListReportsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListReportsResponse.class, - com.google.cloud.channel.v1.ListReportsResponse.Builder.class); + com.google.cloud.channel.v1.ListReportsResponse.class, com.google.cloud.channel.v1.ListReportsResponse.Builder.class); } public static final int REPORTS_FIELD_NUMBER = 1; private java.util.List reports_; /** - * - * *
    * The reports available to the partner.
    * 
@@ -84,8 +64,6 @@ public java.util.List getReportsList() { return reports_; } /** - * - * *
    * The reports available to the partner.
    * 
@@ -93,13 +71,11 @@ public java.util.List getReportsList() { * repeated .google.cloud.channel.v1.Report reports = 1; */ @java.lang.Override - public java.util.List + public java.util.List getReportsOrBuilderList() { return reports_; } /** - * - * *
    * The reports available to the partner.
    * 
@@ -111,8 +87,6 @@ public int getReportsCount() { return reports_.size(); } /** - * - * *
    * The reports available to the partner.
    * 
@@ -124,8 +98,6 @@ public com.google.cloud.channel.v1.Report getReports(int index) { return reports_.get(index); } /** - * - * *
    * The reports available to the partner.
    * 
@@ -133,22 +105,21 @@ public com.google.cloud.channel.v1.Report getReports(int index) { * repeated .google.cloud.channel.v1.Report reports = 1; */ @java.lang.Override - public com.google.cloud.channel.v1.ReportOrBuilder getReportsOrBuilder(int index) { + public com.google.cloud.channel.v1.ReportOrBuilder getReportsOrBuilder( + int index) { return reports_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
-   * Pass this token to [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token] to retrieve
-   * the next page of results.
+   * Pass this token to
+   * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
+   * to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -157,30 +128,31 @@ 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; } } /** - * - * *
-   * Pass this token to [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token] to retrieve
-   * the next page of results.
+   * Pass this token to
+   * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
+   * to retrieve the next page of results.
    * 
* * 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 { @@ -189,7 +161,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +172,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < reports_.size(); i++) { output.writeMessage(1, reports_.get(i)); } @@ -218,7 +190,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < reports_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, reports_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, reports_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -231,16 +204,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.cloud.channel.v1.ListReportsResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListReportsResponse other = - (com.google.cloud.channel.v1.ListReportsResponse) obj; + com.google.cloud.channel.v1.ListReportsResponse other = (com.google.cloud.channel.v1.ListReportsResponse) obj; - if (!getReportsList().equals(other.getReportsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getReportsList() + .equals(other.getReportsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -263,136 +237,131 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ListReportsResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.ListReportsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListReportsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListReportsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListReportsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListReportsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListReportsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListReportsResponse 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.cloud.channel.v1.ListReportsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListReportsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListReportsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListReportsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListReportsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListReportsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ListReportsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports].
+   * Response message for
+   * [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports].
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListReportsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListReportsResponse) com.google.cloud.channel.v1.ListReportsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_ListReportsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ListReportsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_ListReportsResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ListReportsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListReportsResponse.class, - com.google.cloud.channel.v1.ListReportsResponse.Builder.class); + com.google.cloud.channel.v1.ListReportsResponse.class, com.google.cloud.channel.v1.ListReportsResponse.Builder.class); } // Construct using com.google.cloud.channel.v1.ListReportsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -409,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_ListReportsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ListReportsResponse_descriptor; } @java.lang.Override @@ -430,8 +399,7 @@ public com.google.cloud.channel.v1.ListReportsResponse build() { @java.lang.Override public com.google.cloud.channel.v1.ListReportsResponse buildPartial() { - com.google.cloud.channel.v1.ListReportsResponse result = - new com.google.cloud.channel.v1.ListReportsResponse(this); + com.google.cloud.channel.v1.ListReportsResponse result = new com.google.cloud.channel.v1.ListReportsResponse(this); int from_bitField0_ = bitField0_; if (reportsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -451,39 +419,38 @@ public com.google.cloud.channel.v1.ListReportsResponse 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.cloud.channel.v1.ListReportsResponse) { - return mergeFrom((com.google.cloud.channel.v1.ListReportsResponse) other); + return mergeFrom((com.google.cloud.channel.v1.ListReportsResponse)other); } else { super.mergeFrom(other); return this; @@ -491,8 +458,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ListReportsResponse other) { - if (other == com.google.cloud.channel.v1.ListReportsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.ListReportsResponse.getDefaultInstance()) return this; if (reportsBuilder_ == null) { if (!other.reports_.isEmpty()) { if (reports_.isEmpty()) { @@ -511,10 +477,9 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ListReportsResponse other) reportsBuilder_ = null; reports_ = other.reports_; bitField0_ = (bitField0_ & ~0x00000001); - reportsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getReportsFieldBuilder() - : null; + reportsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getReportsFieldBuilder() : null; } else { reportsBuilder_.addAllMessages(other.reports_); } @@ -550,32 +515,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.channel.v1.Report m = - input.readMessage( - com.google.cloud.channel.v1.Report.parser(), extensionRegistry); - if (reportsBuilder_ == null) { - ensureReportsIsMutable(); - reports_.add(m); - } else { - reportsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.cloud.channel.v1.Report m = + input.readMessage( + com.google.cloud.channel.v1.Report.parser(), + extensionRegistry); + if (reportsBuilder_ == null) { + ensureReportsIsMutable(); + reports_.add(m); + } else { + reportsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -585,28 +548,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List reports_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureReportsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { reports_ = new java.util.ArrayList(reports_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Report, - com.google.cloud.channel.v1.Report.Builder, - com.google.cloud.channel.v1.ReportOrBuilder> - reportsBuilder_; + com.google.cloud.channel.v1.Report, com.google.cloud.channel.v1.Report.Builder, com.google.cloud.channel.v1.ReportOrBuilder> reportsBuilder_; /** - * - * *
      * The reports available to the partner.
      * 
@@ -621,8 +577,6 @@ public java.util.List getReportsList() { } } /** - * - * *
      * The reports available to the partner.
      * 
@@ -637,8 +591,6 @@ public int getReportsCount() { } } /** - * - * *
      * The reports available to the partner.
      * 
@@ -653,15 +605,14 @@ public com.google.cloud.channel.v1.Report getReports(int index) { } } /** - * - * *
      * The reports available to the partner.
      * 
* * repeated .google.cloud.channel.v1.Report reports = 1; */ - public Builder setReports(int index, com.google.cloud.channel.v1.Report value) { + public Builder setReports( + int index, com.google.cloud.channel.v1.Report value) { if (reportsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -675,8 +626,6 @@ public Builder setReports(int index, com.google.cloud.channel.v1.Report value) { return this; } /** - * - * *
      * The reports available to the partner.
      * 
@@ -695,8 +644,6 @@ public Builder setReports( return this; } /** - * - * *
      * The reports available to the partner.
      * 
@@ -717,15 +664,14 @@ public Builder addReports(com.google.cloud.channel.v1.Report value) { return this; } /** - * - * *
      * The reports available to the partner.
      * 
* * repeated .google.cloud.channel.v1.Report reports = 1; */ - public Builder addReports(int index, com.google.cloud.channel.v1.Report value) { + public Builder addReports( + int index, com.google.cloud.channel.v1.Report value) { if (reportsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -739,15 +685,14 @@ public Builder addReports(int index, com.google.cloud.channel.v1.Report value) { return this; } /** - * - * *
      * The reports available to the partner.
      * 
* * repeated .google.cloud.channel.v1.Report reports = 1; */ - public Builder addReports(com.google.cloud.channel.v1.Report.Builder builderForValue) { + public Builder addReports( + com.google.cloud.channel.v1.Report.Builder builderForValue) { if (reportsBuilder_ == null) { ensureReportsIsMutable(); reports_.add(builderForValue.build()); @@ -758,8 +703,6 @@ public Builder addReports(com.google.cloud.channel.v1.Report.Builder builderForV return this; } /** - * - * *
      * The reports available to the partner.
      * 
@@ -778,8 +721,6 @@ public Builder addReports( return this; } /** - * - * *
      * The reports available to the partner.
      * 
@@ -790,7 +731,8 @@ public Builder addAllReports( java.lang.Iterable values) { if (reportsBuilder_ == null) { ensureReportsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, reports_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, reports_); onChanged(); } else { reportsBuilder_.addAllMessages(values); @@ -798,8 +740,6 @@ public Builder addAllReports( return this; } /** - * - * *
      * The reports available to the partner.
      * 
@@ -817,8 +757,6 @@ public Builder clearReports() { return this; } /** - * - * *
      * The reports available to the partner.
      * 
@@ -836,44 +774,39 @@ public Builder removeReports(int index) { return this; } /** - * - * *
      * The reports available to the partner.
      * 
* * repeated .google.cloud.channel.v1.Report reports = 1; */ - public com.google.cloud.channel.v1.Report.Builder getReportsBuilder(int index) { + public com.google.cloud.channel.v1.Report.Builder getReportsBuilder( + int index) { return getReportsFieldBuilder().getBuilder(index); } /** - * - * *
      * The reports available to the partner.
      * 
* * repeated .google.cloud.channel.v1.Report reports = 1; */ - public com.google.cloud.channel.v1.ReportOrBuilder getReportsOrBuilder(int index) { + public com.google.cloud.channel.v1.ReportOrBuilder getReportsOrBuilder( + int index) { if (reportsBuilder_ == null) { - return reports_.get(index); - } else { + return reports_.get(index); } else { return reportsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The reports available to the partner.
      * 
* * repeated .google.cloud.channel.v1.Report reports = 1; */ - public java.util.List - getReportsOrBuilderList() { + public java.util.List + getReportsOrBuilderList() { if (reportsBuilder_ != null) { return reportsBuilder_.getMessageOrBuilderList(); } else { @@ -881,8 +814,6 @@ public com.google.cloud.channel.v1.ReportOrBuilder getReportsOrBuilder(int index } } /** - * - * *
      * The reports available to the partner.
      * 
@@ -890,47 +821,42 @@ public com.google.cloud.channel.v1.ReportOrBuilder getReportsOrBuilder(int index * repeated .google.cloud.channel.v1.Report reports = 1; */ public com.google.cloud.channel.v1.Report.Builder addReportsBuilder() { - return getReportsFieldBuilder() - .addBuilder(com.google.cloud.channel.v1.Report.getDefaultInstance()); + return getReportsFieldBuilder().addBuilder( + com.google.cloud.channel.v1.Report.getDefaultInstance()); } /** - * - * *
      * The reports available to the partner.
      * 
* * repeated .google.cloud.channel.v1.Report reports = 1; */ - public com.google.cloud.channel.v1.Report.Builder addReportsBuilder(int index) { - return getReportsFieldBuilder() - .addBuilder(index, com.google.cloud.channel.v1.Report.getDefaultInstance()); + public com.google.cloud.channel.v1.Report.Builder addReportsBuilder( + int index) { + return getReportsFieldBuilder().addBuilder( + index, com.google.cloud.channel.v1.Report.getDefaultInstance()); } /** - * - * *
      * The reports available to the partner.
      * 
* * repeated .google.cloud.channel.v1.Report reports = 1; */ - public java.util.List getReportsBuilderList() { + public java.util.List + getReportsBuilderList() { return getReportsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Report, - com.google.cloud.channel.v1.Report.Builder, - com.google.cloud.channel.v1.ReportOrBuilder> + com.google.cloud.channel.v1.Report, com.google.cloud.channel.v1.Report.Builder, com.google.cloud.channel.v1.ReportOrBuilder> getReportsFieldBuilder() { if (reportsBuilder_ == null) { - reportsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Report, - com.google.cloud.channel.v1.Report.Builder, - com.google.cloud.channel.v1.ReportOrBuilder>( - reports_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + reportsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.Report, com.google.cloud.channel.v1.Report.Builder, com.google.cloud.channel.v1.ReportOrBuilder>( + reports_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); reports_ = null; } return reportsBuilder_; @@ -938,21 +864,20 @@ public java.util.List getReportsBuil private java.lang.Object nextPageToken_ = ""; /** - * - * *
-     * Pass this token to [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token] to retrieve
-     * the next page of results.
+     * Pass this token to
+     * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
+     * to retrieve the next page of results.
      * 
* * 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; @@ -961,22 +886,22 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
-     * Pass this token to [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token] to retrieve
-     * the next page of results.
+     * Pass this token to
+     * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
+     * to retrieve the next page of results.
      * 
* * 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 { @@ -984,71 +909,67 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
-     * Pass this token to [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token] to retrieve
-     * the next page of results.
+     * Pass this token to
+     * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
+     * to retrieve the next page of results.
      * 
* * 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; } /** - * - * *
-     * Pass this token to [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token] to retrieve
-     * the next page of results.
+     * Pass this token to
+     * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
+     * to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
-     * Pass this token to [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token] to retrieve
-     * the next page of results.
+     * Pass this token to
+     * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
+     * to retrieve the next page of results.
      * 
* * 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); } @@ -1058,12 +979,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListReportsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListReportsResponse) private static final com.google.cloud.channel.v1.ListReportsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListReportsResponse(); } @@ -1072,27 +993,27 @@ public static com.google.cloud.channel.v1.ListReportsResponse getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListReportsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListReportsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1107,4 +1028,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListReportsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsResponseOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsResponseOrBuilder.java similarity index 55% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsResponseOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsResponseOrBuilder.java index de9008a39cb3..74cd728836c1 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsResponseOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsResponseOrBuilder.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/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; -public interface ListReportsResponseOrBuilder - extends +public interface ListReportsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListReportsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The reports available to the partner.
    * 
* * repeated .google.cloud.channel.v1.Report reports = 1; */ - java.util.List getReportsList(); + java.util.List + getReportsList(); /** - * - * *
    * The reports available to the partner.
    * 
@@ -44,8 +25,6 @@ public interface ListReportsResponseOrBuilder */ com.google.cloud.channel.v1.Report getReports(int index); /** - * - * *
    * The reports available to the partner.
    * 
@@ -54,50 +33,45 @@ public interface ListReportsResponseOrBuilder */ int getReportsCount(); /** - * - * *
    * The reports available to the partner.
    * 
* * repeated .google.cloud.channel.v1.Report reports = 1; */ - java.util.List getReportsOrBuilderList(); + java.util.List + getReportsOrBuilderList(); /** - * - * *
    * The reports available to the partner.
    * 
* * repeated .google.cloud.channel.v1.Report reports = 1; */ - com.google.cloud.channel.v1.ReportOrBuilder getReportsOrBuilder(int index); + com.google.cloud.channel.v1.ReportOrBuilder getReportsOrBuilder( + int index); /** - * - * *
-   * Pass this token to [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token] to retrieve
-   * the next page of results.
+   * Pass this token to
+   * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
+   * to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
-   * Pass this token to [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token] to retrieve
-   * the next page of results.
+   * Pass this token to
+   * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
+   * to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequest.java similarity index 69% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequest.java index d5e61cc65732..0f7a36382325 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
  * Request message for ListSkus.
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListSkusRequest} */ -public final class ListSkusRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListSkusRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListSkusRequest) ListSkusRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListSkusRequest.newBuilder() to construct. private ListSkusRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListSkusRequest() { parent_ = ""; account_ = ""; @@ -46,45 +28,39 @@ private ListSkusRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListSkusRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListSkusRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSkusRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListSkusRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSkusRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListSkusRequest.class, - com.google.cloud.channel.v1.ListSkusRequest.Builder.class); + com.google.cloud.channel.v1.ListSkusRequest.class, com.google.cloud.channel.v1.ListSkusRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource name of the Product to list SKUs for.
    * Parent uses the format: products/{product_id}.
    * Supports products/- to retrieve SKUs for all products.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -93,33 +69,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the Product to list SKUs for.
    * Parent uses the format: products/{product_id}.
    * Supports products/- to retrieve SKUs for all products.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -130,15 +104,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int ACCOUNT_FIELD_NUMBER = 2; private volatile java.lang.Object account_; /** - * - * *
    * Required. Resource name of the reseller.
    * Format: accounts/{account_id}.
    * 
* * string account = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The account. */ @java.lang.Override @@ -147,30 +118,30 @@ public java.lang.String getAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); account_ = s; return s; } } /** - * - * *
    * Required. Resource name of the reseller.
    * Format: accounts/{account_id}.
    * 
* * string account = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -181,16 +152,13 @@ public com.google.protobuf.ByteString getAccountBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
-   * Optional. Requested page size. Server might return fewer results than requested.
-   * If unspecified, returns at most 100 SKUs.
-   * The maximum value is 1000; the server will coerce values above 1000.
+   * Optional. Requested page size. Server might return fewer results than
+   * requested. If unspecified, returns at most 100 SKUs. The maximum value is
+   * 1000; the server will coerce values above 1000.
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -201,15 +169,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * Optional. A token for a page of results other than the first page.
    * Optional.
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -218,30 +183,30 @@ 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 token for a page of results other than the first page.
    * Optional.
    * 
* * string page_token = 4 [(.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 { @@ -252,8 +217,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 5; private volatile java.lang.Object languageCode_; /** - * - * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -261,7 +224,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ @java.lang.Override @@ -270,15 +232,14 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** - * - * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -286,15 +247,16 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -303,7 +265,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -315,7 +276,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -347,7 +309,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, account_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -363,19 +326,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.cloud.channel.v1.ListSkusRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListSkusRequest other = - (com.google.cloud.channel.v1.ListSkusRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getAccount().equals(other.getAccount())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getLanguageCode().equals(other.getLanguageCode())) return false; + com.google.cloud.channel.v1.ListSkusRequest other = (com.google.cloud.channel.v1.ListSkusRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getAccount() + .equals(other.getAccount())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getLanguageCode() + .equals(other.getLanguageCode())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -402,136 +369,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ListSkusRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.ListSkusRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListSkusRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListSkusRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListSkusRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListSkusRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListSkusRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListSkusRequest 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.cloud.channel.v1.ListSkusRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListSkusRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListSkusRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListSkusRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListSkusRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListSkusRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ListSkusRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListSkus.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListSkusRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListSkusRequest) com.google.cloud.channel.v1.ListSkusRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListSkusRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSkusRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListSkusRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSkusRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListSkusRequest.class, - com.google.cloud.channel.v1.ListSkusRequest.Builder.class); + com.google.cloud.channel.v1.ListSkusRequest.class, com.google.cloud.channel.v1.ListSkusRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.ListSkusRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -549,9 +510,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListSkusRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSkusRequest_descriptor; } @java.lang.Override @@ -570,8 +531,7 @@ public com.google.cloud.channel.v1.ListSkusRequest build() { @java.lang.Override public com.google.cloud.channel.v1.ListSkusRequest buildPartial() { - com.google.cloud.channel.v1.ListSkusRequest result = - new com.google.cloud.channel.v1.ListSkusRequest(this); + com.google.cloud.channel.v1.ListSkusRequest result = new com.google.cloud.channel.v1.ListSkusRequest(this); result.parent_ = parent_; result.account_ = account_; result.pageSize_ = pageSize_; @@ -585,39 +545,38 @@ public com.google.cloud.channel.v1.ListSkusRequest 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.cloud.channel.v1.ListSkusRequest) { - return mergeFrom((com.google.cloud.channel.v1.ListSkusRequest) other); + return mergeFrom((com.google.cloud.channel.v1.ListSkusRequest)other); } else { super.mergeFrom(other); return this; @@ -671,43 +630,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - account_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + account_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 24: - { - pageSize_ = input.readInt32(); + break; + } // case 18 + case 24: { + pageSize_ = input.readInt32(); - break; - } // case 24 - case 34: - { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 24 + case 34: { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 42: - { - languageCode_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 42: { + languageCode_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -720,24 +673,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the Product to list SKUs for.
      * Parent uses the format: products/{product_id}.
      * Supports products/- to retrieve SKUs for all products.
      * 
* - * - * string parent = 1 [(.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; @@ -746,25 +695,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the Product to list SKUs for.
      * Parent uses the format: products/{product_id}.
      * Supports products/- to retrieve SKUs for all products.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -772,73 +718,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the Product to list SKUs for.
      * Parent uses the format: products/{product_id}.
      * Supports products/- to retrieve SKUs for all products.
      * 
* - * - * string parent = 1 [(.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 Product to list SKUs for.
      * Parent uses the format: products/{product_id}.
      * Supports products/- to retrieve SKUs for all products.
      * 
* - * - * string 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 Product to list SKUs for.
      * Parent uses the format: products/{product_id}.
      * Supports products/- to retrieve SKUs for all products.
      * 
* - * - * string parent = 1 [(.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; @@ -846,21 +779,19 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object account_ = ""; /** - * - * *
      * Required. Resource name of the reseller.
      * Format: accounts/{account_id}.
      * 
* * string account = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -869,22 +800,21 @@ public java.lang.String getAccount() { } } /** - * - * *
      * Required. Resource name of the reseller.
      * Format: accounts/{account_id}.
      * 
* * string account = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -892,81 +822,71 @@ public com.google.protobuf.ByteString getAccountBytes() { } } /** - * - * *
      * Required. Resource name of the reseller.
      * Format: accounts/{account_id}.
      * 
* * string account = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @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. Resource name of the reseller.
      * Format: accounts/{account_id}.
      * 
* * string account = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearAccount() { - + account_ = getDefaultInstance().getAccount(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the reseller.
      * Format: accounts/{account_id}.
      * 
* * string account = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @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; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
-     * Optional. Requested page size. Server might return fewer results than requested.
-     * If unspecified, returns at most 100 SKUs.
-     * The maximum value is 1000; the server will coerce values above 1000.
+     * Optional. Requested page size. Server might return fewer results than
+     * requested. If unspecified, returns at most 100 SKUs. The maximum value is
+     * 1000; the server will coerce values above 1000.
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -974,40 +894,34 @@ public int getPageSize() { return pageSize_; } /** - * - * *
-     * Optional. Requested page size. Server might return fewer results than requested.
-     * If unspecified, returns at most 100 SKUs.
-     * The maximum value is 1000; the server will coerce values above 1000.
+     * Optional. Requested page size. Server might return fewer results than
+     * requested. If unspecified, returns at most 100 SKUs. The maximum value is
+     * 1000; the server will coerce values above 1000.
      * 
* * int32 page_size = 3 [(.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. Requested page size. Server might return fewer results than requested.
-     * If unspecified, returns at most 100 SKUs.
-     * The maximum value is 1000; the server will coerce values above 1000.
+     * Optional. Requested page size. Server might return fewer results than
+     * requested. If unspecified, returns at most 100 SKUs. The maximum value is
+     * 1000; the server will coerce values above 1000.
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1015,21 +929,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. A token for a page of results other than the first page.
      * Optional.
      * 
* * string page_token = 4 [(.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; @@ -1038,22 +950,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. A token for a page of results other than the first page.
      * Optional.
      * 
* * string page_token = 4 [(.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 { @@ -1061,64 +972,57 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. A token for a page of results other than the first page.
      * Optional.
      * 
* * string page_token = 4 [(.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 token for a page of results other than the first page.
      * Optional.
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Optional. A token for a page of results other than the first page.
      * Optional.
      * 
* * string page_token = 4 [(.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; @@ -1126,8 +1030,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object languageCode_ = ""; /** - * - * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1135,13 +1037,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -1150,8 +1052,6 @@ public java.lang.String getLanguageCode() { } } /** - * - * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1159,14 +1059,15 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -1174,8 +1075,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } } /** - * - * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1183,22 +1082,20 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode(java.lang.String value) { + public Builder setLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1206,18 +1103,15 @@ public Builder setLanguageCode(java.lang.String value) {
      * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** - * - * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1225,23 +1119,23 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = 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); } @@ -1251,12 +1145,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListSkusRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListSkusRequest) private static final com.google.cloud.channel.v1.ListSkusRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListSkusRequest(); } @@ -1265,27 +1159,27 @@ public static com.google.cloud.channel.v1.ListSkusRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSkusRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSkusRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1300,4 +1194,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListSkusRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequestOrBuilder.java similarity index 66% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequestOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequestOrBuilder.java index c315d5410810..e8dbdf358121 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequestOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequestOrBuilder.java @@ -1,133 +1,93 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListSkusRequestOrBuilder - extends +public interface ListSkusRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListSkusRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the Product to list SKUs for.
    * Parent uses the format: products/{product_id}.
    * Supports products/- to retrieve SKUs for all products.
    * 
* - * - * string parent = 1 [(.google.api.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 Product to list SKUs for.
    * Parent uses the format: products/{product_id}.
    * Supports products/- to retrieve SKUs for all products.
    * 
* - * - * string parent = 1 [(.google.api.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. Resource name of the reseller.
    * Format: accounts/{account_id}.
    * 
* * string account = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The account. */ java.lang.String getAccount(); /** - * - * *
    * Required. Resource name of the reseller.
    * Format: accounts/{account_id}.
    * 
* * string account = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for account. */ - com.google.protobuf.ByteString getAccountBytes(); + com.google.protobuf.ByteString + getAccountBytes(); /** - * - * *
-   * Optional. Requested page size. Server might return fewer results than requested.
-   * If unspecified, returns at most 100 SKUs.
-   * The maximum value is 1000; the server will coerce values above 1000.
+   * Optional. Requested page size. Server might return fewer results than
+   * requested. If unspecified, returns at most 100 SKUs. The maximum value is
+   * 1000; the server will coerce values above 1000.
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. A token for a page of results other than the first page.
    * Optional.
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. A token for a page of results other than the first page.
    * Optional.
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -135,13 +95,10 @@ public interface ListSkusRequestOrBuilder
    * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ java.lang.String getLanguageCode(); /** - * - * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -149,8 +106,8 @@ public interface ListSkusRequestOrBuilder
    * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString getLanguageCodeBytes(); + com.google.protobuf.ByteString + getLanguageCodeBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponse.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponse.java similarity index 70% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponse.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponse.java index 0e782601b8c2..f058fa83e6e0 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponse.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponse.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
  * Response message for ListSkus.
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListSkusResponse} */ -public final class ListSkusResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListSkusResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListSkusResponse) ListSkusResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListSkusResponse.newBuilder() to construct. private ListSkusResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListSkusResponse() { skus_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,35 +26,32 @@ private ListSkusResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListSkusResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListSkusResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSkusResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListSkusResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSkusResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListSkusResponse.class, - com.google.cloud.channel.v1.ListSkusResponse.Builder.class); + com.google.cloud.channel.v1.ListSkusResponse.class, com.google.cloud.channel.v1.ListSkusResponse.Builder.class); } public static final int SKUS_FIELD_NUMBER = 1; private java.util.List skus_; /** - * - * *
    * The list of SKUs requested.
    * 
@@ -84,8 +63,6 @@ public java.util.List getSkusList() { return skus_; } /** - * - * *
    * The list of SKUs requested.
    * 
@@ -93,12 +70,11 @@ public java.util.List getSkusList() { * repeated .google.cloud.channel.v1.Sku skus = 1; */ @java.lang.Override - public java.util.List getSkusOrBuilderList() { + public java.util.List + getSkusOrBuilderList() { return skus_; } /** - * - * *
    * The list of SKUs requested.
    * 
@@ -110,8 +86,6 @@ public int getSkusCount() { return skus_.size(); } /** - * - * *
    * The list of SKUs requested.
    * 
@@ -123,8 +97,6 @@ public com.google.cloud.channel.v1.Sku getSkus(int index) { return skus_.get(index); } /** - * - * *
    * The list of SKUs requested.
    * 
@@ -132,21 +104,19 @@ public com.google.cloud.channel.v1.Sku getSkus(int index) { * repeated .google.cloud.channel.v1.Sku skus = 1; */ @java.lang.Override - public com.google.cloud.channel.v1.SkuOrBuilder getSkusOrBuilder(int index) { + public com.google.cloud.channel.v1.SkuOrBuilder getSkusOrBuilder( + int index) { return skus_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -155,29 +125,29 @@ 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 to retrieve the next page of results.
    * 
* * 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 { @@ -186,7 +156,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -198,7 +167,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < skus_.size(); i++) { output.writeMessage(1, skus_.get(i)); } @@ -215,7 +185,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < skus_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, skus_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, skus_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -228,16 +199,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.cloud.channel.v1.ListSkusResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListSkusResponse other = - (com.google.cloud.channel.v1.ListSkusResponse) obj; + com.google.cloud.channel.v1.ListSkusResponse other = (com.google.cloud.channel.v1.ListSkusResponse) obj; - if (!getSkusList().equals(other.getSkusList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getSkusList() + .equals(other.getSkusList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -260,136 +232,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ListSkusResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.ListSkusResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListSkusResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListSkusResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListSkusResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListSkusResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListSkusResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListSkusResponse 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.cloud.channel.v1.ListSkusResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListSkusResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListSkusResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListSkusResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListSkusResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListSkusResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ListSkusResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 ListSkus.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListSkusResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListSkusResponse) com.google.cloud.channel.v1.ListSkusResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListSkusResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSkusResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListSkusResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSkusResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListSkusResponse.class, - com.google.cloud.channel.v1.ListSkusResponse.Builder.class); + com.google.cloud.channel.v1.ListSkusResponse.class, com.google.cloud.channel.v1.ListSkusResponse.Builder.class); } // Construct using com.google.cloud.channel.v1.ListSkusResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -406,9 +372,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListSkusResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSkusResponse_descriptor; } @java.lang.Override @@ -427,8 +393,7 @@ public com.google.cloud.channel.v1.ListSkusResponse build() { @java.lang.Override public com.google.cloud.channel.v1.ListSkusResponse buildPartial() { - com.google.cloud.channel.v1.ListSkusResponse result = - new com.google.cloud.channel.v1.ListSkusResponse(this); + com.google.cloud.channel.v1.ListSkusResponse result = new com.google.cloud.channel.v1.ListSkusResponse(this); int from_bitField0_ = bitField0_; if (skusBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -448,39 +413,38 @@ public com.google.cloud.channel.v1.ListSkusResponse 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.cloud.channel.v1.ListSkusResponse) { - return mergeFrom((com.google.cloud.channel.v1.ListSkusResponse) other); + return mergeFrom((com.google.cloud.channel.v1.ListSkusResponse)other); } else { super.mergeFrom(other); return this; @@ -507,10 +471,9 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ListSkusResponse other) { skusBuilder_ = null; skus_ = other.skus_; bitField0_ = (bitField0_ & ~0x00000001); - skusBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSkusFieldBuilder() - : null; + skusBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSkusFieldBuilder() : null; } else { skusBuilder_.addAllMessages(other.skus_); } @@ -546,31 +509,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.channel.v1.Sku m = - input.readMessage(com.google.cloud.channel.v1.Sku.parser(), extensionRegistry); - if (skusBuilder_ == null) { - ensureSkusIsMutable(); - skus_.add(m); - } else { - skusBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.cloud.channel.v1.Sku m = + input.readMessage( + com.google.cloud.channel.v1.Sku.parser(), + extensionRegistry); + if (skusBuilder_ == null) { + ensureSkusIsMutable(); + skus_.add(m); + } else { + skusBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -580,28 +542,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List skus_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureSkusIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { skus_ = new java.util.ArrayList(skus_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Sku, - com.google.cloud.channel.v1.Sku.Builder, - com.google.cloud.channel.v1.SkuOrBuilder> - skusBuilder_; + com.google.cloud.channel.v1.Sku, com.google.cloud.channel.v1.Sku.Builder, com.google.cloud.channel.v1.SkuOrBuilder> skusBuilder_; /** - * - * *
      * The list of SKUs requested.
      * 
@@ -616,8 +571,6 @@ public java.util.List getSkusList() { } } /** - * - * *
      * The list of SKUs requested.
      * 
@@ -632,8 +585,6 @@ public int getSkusCount() { } } /** - * - * *
      * The list of SKUs requested.
      * 
@@ -648,15 +599,14 @@ public com.google.cloud.channel.v1.Sku getSkus(int index) { } } /** - * - * *
      * The list of SKUs requested.
      * 
* * repeated .google.cloud.channel.v1.Sku skus = 1; */ - public Builder setSkus(int index, com.google.cloud.channel.v1.Sku value) { + public Builder setSkus( + int index, com.google.cloud.channel.v1.Sku value) { if (skusBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -670,15 +620,14 @@ public Builder setSkus(int index, com.google.cloud.channel.v1.Sku value) { return this; } /** - * - * *
      * The list of SKUs requested.
      * 
* * repeated .google.cloud.channel.v1.Sku skus = 1; */ - public Builder setSkus(int index, com.google.cloud.channel.v1.Sku.Builder builderForValue) { + public Builder setSkus( + int index, com.google.cloud.channel.v1.Sku.Builder builderForValue) { if (skusBuilder_ == null) { ensureSkusIsMutable(); skus_.set(index, builderForValue.build()); @@ -689,8 +638,6 @@ public Builder setSkus(int index, com.google.cloud.channel.v1.Sku.Builder builde return this; } /** - * - * *
      * The list of SKUs requested.
      * 
@@ -711,15 +658,14 @@ public Builder addSkus(com.google.cloud.channel.v1.Sku value) { return this; } /** - * - * *
      * The list of SKUs requested.
      * 
* * repeated .google.cloud.channel.v1.Sku skus = 1; */ - public Builder addSkus(int index, com.google.cloud.channel.v1.Sku value) { + public Builder addSkus( + int index, com.google.cloud.channel.v1.Sku value) { if (skusBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -733,15 +679,14 @@ public Builder addSkus(int index, com.google.cloud.channel.v1.Sku value) { return this; } /** - * - * *
      * The list of SKUs requested.
      * 
* * repeated .google.cloud.channel.v1.Sku skus = 1; */ - public Builder addSkus(com.google.cloud.channel.v1.Sku.Builder builderForValue) { + public Builder addSkus( + com.google.cloud.channel.v1.Sku.Builder builderForValue) { if (skusBuilder_ == null) { ensureSkusIsMutable(); skus_.add(builderForValue.build()); @@ -752,15 +697,14 @@ public Builder addSkus(com.google.cloud.channel.v1.Sku.Builder builderForValue) return this; } /** - * - * *
      * The list of SKUs requested.
      * 
* * repeated .google.cloud.channel.v1.Sku skus = 1; */ - public Builder addSkus(int index, com.google.cloud.channel.v1.Sku.Builder builderForValue) { + public Builder addSkus( + int index, com.google.cloud.channel.v1.Sku.Builder builderForValue) { if (skusBuilder_ == null) { ensureSkusIsMutable(); skus_.add(index, builderForValue.build()); @@ -771,8 +715,6 @@ public Builder addSkus(int index, com.google.cloud.channel.v1.Sku.Builder builde return this; } /** - * - * *
      * The list of SKUs requested.
      * 
@@ -783,7 +725,8 @@ public Builder addAllSkus( java.lang.Iterable values) { if (skusBuilder_ == null) { ensureSkusIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, skus_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, skus_); onChanged(); } else { skusBuilder_.addAllMessages(values); @@ -791,8 +734,6 @@ public Builder addAllSkus( return this; } /** - * - * *
      * The list of SKUs requested.
      * 
@@ -810,8 +751,6 @@ public Builder clearSkus() { return this; } /** - * - * *
      * The list of SKUs requested.
      * 
@@ -829,44 +768,39 @@ public Builder removeSkus(int index) { return this; } /** - * - * *
      * The list of SKUs requested.
      * 
* * repeated .google.cloud.channel.v1.Sku skus = 1; */ - public com.google.cloud.channel.v1.Sku.Builder getSkusBuilder(int index) { + public com.google.cloud.channel.v1.Sku.Builder getSkusBuilder( + int index) { return getSkusFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of SKUs requested.
      * 
* * repeated .google.cloud.channel.v1.Sku skus = 1; */ - public com.google.cloud.channel.v1.SkuOrBuilder getSkusOrBuilder(int index) { + public com.google.cloud.channel.v1.SkuOrBuilder getSkusOrBuilder( + int index) { if (skusBuilder_ == null) { - return skus_.get(index); - } else { + return skus_.get(index); } else { return skusBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of SKUs requested.
      * 
* * repeated .google.cloud.channel.v1.Sku skus = 1; */ - public java.util.List - getSkusOrBuilderList() { + public java.util.List + getSkusOrBuilderList() { if (skusBuilder_ != null) { return skusBuilder_.getMessageOrBuilderList(); } else { @@ -874,8 +808,6 @@ public com.google.cloud.channel.v1.SkuOrBuilder getSkusOrBuilder(int index) { } } /** - * - * *
      * The list of SKUs requested.
      * 
@@ -883,46 +815,42 @@ public com.google.cloud.channel.v1.SkuOrBuilder getSkusOrBuilder(int index) { * repeated .google.cloud.channel.v1.Sku skus = 1; */ public com.google.cloud.channel.v1.Sku.Builder addSkusBuilder() { - return getSkusFieldBuilder().addBuilder(com.google.cloud.channel.v1.Sku.getDefaultInstance()); + return getSkusFieldBuilder().addBuilder( + com.google.cloud.channel.v1.Sku.getDefaultInstance()); } /** - * - * *
      * The list of SKUs requested.
      * 
* * repeated .google.cloud.channel.v1.Sku skus = 1; */ - public com.google.cloud.channel.v1.Sku.Builder addSkusBuilder(int index) { - return getSkusFieldBuilder() - .addBuilder(index, com.google.cloud.channel.v1.Sku.getDefaultInstance()); + public com.google.cloud.channel.v1.Sku.Builder addSkusBuilder( + int index) { + return getSkusFieldBuilder().addBuilder( + index, com.google.cloud.channel.v1.Sku.getDefaultInstance()); } /** - * - * *
      * The list of SKUs requested.
      * 
* * repeated .google.cloud.channel.v1.Sku skus = 1; */ - public java.util.List getSkusBuilderList() { + public java.util.List + getSkusBuilderList() { return getSkusFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Sku, - com.google.cloud.channel.v1.Sku.Builder, - com.google.cloud.channel.v1.SkuOrBuilder> + com.google.cloud.channel.v1.Sku, com.google.cloud.channel.v1.Sku.Builder, com.google.cloud.channel.v1.SkuOrBuilder> getSkusFieldBuilder() { if (skusBuilder_ == null) { - skusBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Sku, - com.google.cloud.channel.v1.Sku.Builder, - com.google.cloud.channel.v1.SkuOrBuilder>( - skus_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + skusBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.Sku, com.google.cloud.channel.v1.Sku.Builder, com.google.cloud.channel.v1.SkuOrBuilder>( + skus_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); skus_ = null; } return skusBuilder_; @@ -930,20 +858,18 @@ public java.util.List getSkusBuilderLis private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * 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; @@ -952,21 +878,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * 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 { @@ -974,68 +899,61 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * 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 to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * 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); } @@ -1045,12 +963,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListSkusResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListSkusResponse) private static final com.google.cloud.channel.v1.ListSkusResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListSkusResponse(); } @@ -1059,27 +977,27 @@ public static com.google.cloud.channel.v1.ListSkusResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSkusResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSkusResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1094,4 +1012,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListSkusResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponseOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponseOrBuilder.java similarity index 61% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponseOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponseOrBuilder.java index 0af82b1bc8dc..7f465a8a8b04 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponseOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponseOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListSkusResponseOrBuilder - extends +public interface ListSkusResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListSkusResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of SKUs requested.
    * 
* * repeated .google.cloud.channel.v1.Sku skus = 1; */ - java.util.List getSkusList(); + java.util.List + getSkusList(); /** - * - * *
    * The list of SKUs requested.
    * 
@@ -44,8 +25,6 @@ public interface ListSkusResponseOrBuilder */ com.google.cloud.channel.v1.Sku getSkus(int index); /** - * - * *
    * The list of SKUs requested.
    * 
@@ -54,48 +33,41 @@ public interface ListSkusResponseOrBuilder */ int getSkusCount(); /** - * - * *
    * The list of SKUs requested.
    * 
* * repeated .google.cloud.channel.v1.Sku skus = 1; */ - java.util.List getSkusOrBuilderList(); + java.util.List + getSkusOrBuilderList(); /** - * - * *
    * The list of SKUs requested.
    * 
* * repeated .google.cloud.channel.v1.Sku skus = 1; */ - com.google.cloud.channel.v1.SkuOrBuilder getSkusOrBuilder(int index); + com.google.cloud.channel.v1.SkuOrBuilder getSkusOrBuilder( + int index); /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequest.java similarity index 68% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequest.java index 4f0030a22eb3..3a64c1aa393b 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
  * Request Message for ListSubscribers.
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListSubscribersRequest} */ -public final class ListSubscribersRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListSubscribersRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListSubscribersRequest) ListSubscribersRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListSubscribersRequest.newBuilder() to construct. private ListSubscribersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListSubscribersRequest() { account_ = ""; pageToken_ = ""; @@ -44,41 +26,37 @@ private ListSubscribersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListSubscribersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListSubscribersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSubscribersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListSubscribersRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSubscribersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListSubscribersRequest.class, - com.google.cloud.channel.v1.ListSubscribersRequest.Builder.class); + com.google.cloud.channel.v1.ListSubscribersRequest.class, com.google.cloud.channel.v1.ListSubscribersRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private volatile java.lang.Object account_; /** - * - * *
    * Required. Resource name of the account.
    * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The account. */ @java.lang.Override @@ -87,29 +65,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. Resource name of the account.
    * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -120,17 +98,14 @@ public com.google.protobuf.ByteString getAccountBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
-   * Optional. The maximum number of service accounts to return. The service may return
-   * fewer than this value.
-   * If unspecified, returns at most 100 service accounts.
-   * The maximum value is 1000; the server will coerce values above 1000.
+   * Optional. The maximum number of service accounts to return. The service may
+   * return fewer than this value. If unspecified, returns at most 100 service
+   * accounts. The maximum value is 1000; the server will coerce values above
+   * 1000.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -141,8 +116,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Optional. A page token, received from a previous `ListSubscribers` call.
    * Provide this to retrieve the subsequent page.
@@ -151,7 +124,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -160,15 +132,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 `ListSubscribers` call.
    * Provide this to retrieve the subsequent page.
@@ -177,15 +148,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -194,7 +166,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +177,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(account_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, account_); } @@ -229,7 +201,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, account_); } 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_); @@ -242,17 +215,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.cloud.channel.v1.ListSubscribersRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListSubscribersRequest other = - (com.google.cloud.channel.v1.ListSubscribersRequest) obj; + com.google.cloud.channel.v1.ListSubscribersRequest other = (com.google.cloud.channel.v1.ListSubscribersRequest) obj; - if (!getAccount().equals(other.getAccount())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getAccount() + .equals(other.getAccount())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -276,135 +251,129 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListSubscribersRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListSubscribersRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListSubscribersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListSubscribersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListSubscribersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListSubscribersRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListSubscribersRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListSubscribersRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListSubscribersRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListSubscribersRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListSubscribersRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListSubscribersRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListSubscribersRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListSubscribersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ListSubscribersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request Message for ListSubscribers.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListSubscribersRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListSubscribersRequest) com.google.cloud.channel.v1.ListSubscribersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListSubscribersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSubscribersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListSubscribersRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSubscribersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListSubscribersRequest.class, - com.google.cloud.channel.v1.ListSubscribersRequest.Builder.class); + com.google.cloud.channel.v1.ListSubscribersRequest.class, com.google.cloud.channel.v1.ListSubscribersRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.ListSubscribersRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -418,9 +387,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListSubscribersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSubscribersRequest_descriptor; } @java.lang.Override @@ -439,8 +408,7 @@ public com.google.cloud.channel.v1.ListSubscribersRequest build() { @java.lang.Override public com.google.cloud.channel.v1.ListSubscribersRequest buildPartial() { - com.google.cloud.channel.v1.ListSubscribersRequest result = - new com.google.cloud.channel.v1.ListSubscribersRequest(this); + com.google.cloud.channel.v1.ListSubscribersRequest result = new com.google.cloud.channel.v1.ListSubscribersRequest(this); result.account_ = account_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -452,39 +420,38 @@ public com.google.cloud.channel.v1.ListSubscribersRequest 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.cloud.channel.v1.ListSubscribersRequest) { - return mergeFrom((com.google.cloud.channel.v1.ListSubscribersRequest) other); + return mergeFrom((com.google.cloud.channel.v1.ListSubscribersRequest)other); } else { super.mergeFrom(other); return this; @@ -492,8 +459,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ListSubscribersRequest other) { - if (other == com.google.cloud.channel.v1.ListSubscribersRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.ListSubscribersRequest.getDefaultInstance()) return this; if (!other.getAccount().isEmpty()) { account_ = other.account_; onChanged(); @@ -531,31 +497,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - account_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + account_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -568,20 +530,18 @@ public Builder mergeFrom( private java.lang.Object account_ = ""; /** - * - * *
      * Required. Resource name of the account.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -590,21 +550,20 @@ public java.lang.String getAccount() { } } /** - * - * *
      * Required. Resource name of the account.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -612,79 +571,69 @@ public com.google.protobuf.ByteString getAccountBytes() { } } /** - * - * *
      * Required. Resource name of the account.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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. Resource name of the account.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearAccount() { - + account_ = getDefaultInstance().getAccount(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the account.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
-     * Optional. The maximum number of service accounts to return. The service may return
-     * fewer than this value.
-     * If unspecified, returns at most 100 service accounts.
-     * The maximum value is 1000; the server will coerce values above 1000.
+     * Optional. The maximum number of service accounts to return. The service may
+     * return fewer than this value. If unspecified, returns at most 100 service
+     * accounts. The maximum value is 1000; the server will coerce values above
+     * 1000.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -692,42 +641,36 @@ public int getPageSize() { return pageSize_; } /** - * - * *
-     * Optional. The maximum number of service accounts to return. The service may return
-     * fewer than this value.
-     * If unspecified, returns at most 100 service accounts.
-     * The maximum value is 1000; the server will coerce values above 1000.
+     * Optional. The maximum number of service accounts to return. The service may
+     * return fewer than this value. If unspecified, returns at most 100 service
+     * accounts. The maximum value is 1000; the server will coerce values above
+     * 1000.
      * 
* * int32 page_size = 2 [(.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 service accounts to return. The service may return
-     * fewer than this value.
-     * If unspecified, returns at most 100 service accounts.
-     * The maximum value is 1000; the server will coerce values above 1000.
+     * Optional. The maximum number of service accounts to return. The service may
+     * return fewer than this value. If unspecified, returns at most 100 service
+     * accounts. The maximum value is 1000; the server will coerce values above
+     * 1000.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -735,8 +678,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. A page token, received from a previous `ListSubscribers` call.
      * Provide this to retrieve the subsequent page.
@@ -745,13 +686,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -760,8 +701,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. A page token, received from a previous `ListSubscribers` call.
      * Provide this to retrieve the subsequent page.
@@ -770,14 +709,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -785,8 +725,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. A page token, received from a previous `ListSubscribers` call.
      * Provide this to retrieve the subsequent page.
@@ -795,22 +733,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + 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 `ListSubscribers` call.
      * Provide this to retrieve the subsequent page.
@@ -819,18 +755,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.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 `ListSubscribers` call.
      * Provide this to retrieve the subsequent page.
@@ -839,23 +772,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + 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); } @@ -865,12 +798,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListSubscribersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListSubscribersRequest) private static final com.google.cloud.channel.v1.ListSubscribersRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListSubscribersRequest(); } @@ -879,27 +812,27 @@ public static com.google.cloud.channel.v1.ListSubscribersRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSubscribersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSubscribersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -914,4 +847,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListSubscribersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequestOrBuilder.java similarity index 63% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequestOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequestOrBuilder.java index 5426586db033..26fe01542683 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequestOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequestOrBuilder.java @@ -1,72 +1,46 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListSubscribersRequestOrBuilder - extends +public interface ListSubscribersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListSubscribersRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the account.
    * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The account. */ java.lang.String getAccount(); /** - * - * *
    * Required. Resource name of the account.
    * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for account. */ - com.google.protobuf.ByteString getAccountBytes(); + com.google.protobuf.ByteString + getAccountBytes(); /** - * - * *
-   * Optional. The maximum number of service accounts to return. The service may return
-   * fewer than this value.
-   * If unspecified, returns at most 100 service accounts.
-   * The maximum value is 1000; the server will coerce values above 1000.
+   * Optional. The maximum number of service accounts to return. The service may
+   * return fewer than this value. If unspecified, returns at most 100 service
+   * accounts. The maximum value is 1000; the server will coerce values above
+   * 1000.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. A page token, received from a previous `ListSubscribers` call.
    * Provide this to retrieve the subsequent page.
@@ -75,13 +49,10 @@ public interface ListSubscribersRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. A page token, received from a previous `ListSubscribers` call.
    * Provide this to retrieve the subsequent page.
@@ -90,8 +61,8 @@ public interface ListSubscribersRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponse.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponse.java similarity index 70% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponse.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponse.java index 640b6dc03456..01095f59b2e2 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponse.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponse.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
  * Response Message for ListSubscribers.
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListSubscribersResponse} */ -public final class ListSubscribersResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListSubscribersResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListSubscribersResponse) ListSubscribersResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListSubscribersResponse.newBuilder() to construct. private ListSubscribersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListSubscribersResponse() { topic_ = ""; serviceAccounts_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -45,41 +27,37 @@ private ListSubscribersResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListSubscribersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListSubscribersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSubscribersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListSubscribersResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSubscribersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListSubscribersResponse.class, - com.google.cloud.channel.v1.ListSubscribersResponse.Builder.class); + com.google.cloud.channel.v1.ListSubscribersResponse.class, com.google.cloud.channel.v1.ListSubscribersResponse.Builder.class); } public static final int TOPIC_FIELD_NUMBER = 1; private volatile java.lang.Object topic_; /** - * - * *
    * Name of the topic registered with the reseller.
    * 
* * string topic = 1; - * * @return The topic. */ @java.lang.Override @@ -88,29 +66,29 @@ public java.lang.String getTopic() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; } } /** - * - * *
    * Name of the topic registered with the reseller.
    * 
* * string topic = 1; - * * @return The bytes for topic. */ @java.lang.Override - public com.google.protobuf.ByteString getTopicBytes() { + public com.google.protobuf.ByteString + getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); topic_ = b; return b; } else { @@ -121,42 +99,34 @@ public com.google.protobuf.ByteString getTopicBytes() { public static final int SERVICE_ACCOUNTS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList serviceAccounts_; /** - * - * *
    * List of service accounts which have subscriber access to the topic.
    * 
* * repeated string service_accounts = 2; - * * @return A list containing the serviceAccounts. */ - public com.google.protobuf.ProtocolStringList getServiceAccountsList() { + public com.google.protobuf.ProtocolStringList + getServiceAccountsList() { return serviceAccounts_; } /** - * - * *
    * List of service accounts which have subscriber access to the topic.
    * 
* * repeated string service_accounts = 2; - * * @return The count of serviceAccounts. */ public int getServiceAccountsCount() { return serviceAccounts_.size(); } /** - * - * *
    * List of service accounts which have subscriber access to the topic.
    * 
* * repeated string service_accounts = 2; - * * @param index The index of the element to return. * @return The serviceAccounts at the given index. */ @@ -164,33 +134,28 @@ public java.lang.String getServiceAccounts(int index) { return serviceAccounts_.get(index); } /** - * - * *
    * List of service accounts which have subscriber access to the topic.
    * 
* * repeated string service_accounts = 2; - * * @param index The index of the value to return. * @return The bytes of the serviceAccounts at the given index. */ - public com.google.protobuf.ByteString getServiceAccountsBytes(int index) { + public com.google.protobuf.ByteString + getServiceAccountsBytes(int index) { return serviceAccounts_.getByteString(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token that can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ @java.lang.Override @@ -199,30 +164,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token that can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 3; - * * @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 { @@ -231,7 +196,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -243,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(topic_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, topic_); } @@ -284,17 +249,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.cloud.channel.v1.ListSubscribersResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListSubscribersResponse other = - (com.google.cloud.channel.v1.ListSubscribersResponse) obj; + com.google.cloud.channel.v1.ListSubscribersResponse other = (com.google.cloud.channel.v1.ListSubscribersResponse) obj; - if (!getTopic().equals(other.getTopic())) return false; - if (!getServiceAccountsList().equals(other.getServiceAccountsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getTopic() + .equals(other.getTopic())) return false; + if (!getServiceAccountsList() + .equals(other.getServiceAccountsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -320,135 +287,129 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListSubscribersResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListSubscribersResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListSubscribersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListSubscribersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListSubscribersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListSubscribersResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListSubscribersResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListSubscribersResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListSubscribersResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListSubscribersResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListSubscribersResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListSubscribersResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListSubscribersResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListSubscribersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ListSubscribersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 ListSubscribers.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListSubscribersResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListSubscribersResponse) com.google.cloud.channel.v1.ListSubscribersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListSubscribersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSubscribersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListSubscribersResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSubscribersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListSubscribersResponse.class, - com.google.cloud.channel.v1.ListSubscribersResponse.Builder.class); + com.google.cloud.channel.v1.ListSubscribersResponse.class, com.google.cloud.channel.v1.ListSubscribersResponse.Builder.class); } // Construct using com.google.cloud.channel.v1.ListSubscribersResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -462,9 +423,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListSubscribersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSubscribersResponse_descriptor; } @java.lang.Override @@ -483,8 +444,7 @@ public com.google.cloud.channel.v1.ListSubscribersResponse build() { @java.lang.Override public com.google.cloud.channel.v1.ListSubscribersResponse buildPartial() { - com.google.cloud.channel.v1.ListSubscribersResponse result = - new com.google.cloud.channel.v1.ListSubscribersResponse(this); + com.google.cloud.channel.v1.ListSubscribersResponse result = new com.google.cloud.channel.v1.ListSubscribersResponse(this); int from_bitField0_ = bitField0_; result.topic_ = topic_; if (((bitField0_ & 0x00000001) != 0)) { @@ -501,39 +461,38 @@ public com.google.cloud.channel.v1.ListSubscribersResponse 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.cloud.channel.v1.ListSubscribersResponse) { - return mergeFrom((com.google.cloud.channel.v1.ListSubscribersResponse) other); + return mergeFrom((com.google.cloud.channel.v1.ListSubscribersResponse)other); } else { super.mergeFrom(other); return this; @@ -541,8 +500,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ListSubscribersResponse other) { - if (other == com.google.cloud.channel.v1.ListSubscribersResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.ListSubscribersResponse.getDefaultInstance()) return this; if (!other.getTopic().isEmpty()) { topic_ = other.topic_; onChanged(); @@ -587,32 +545,28 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - topic_ = input.readStringRequireUtf8(); + case 10: { + topic_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureServiceAccountsIsMutable(); - serviceAccounts_.add(s); - break; - } // case 18 - case 26: - { - nextPageToken_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureServiceAccountsIsMutable(); + serviceAccounts_.add(s); + break; + } // case 18 + case 26: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -622,25 +576,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object topic_ = ""; /** - * - * *
      * Name of the topic registered with the reseller.
      * 
* * string topic = 1; - * * @return The topic. */ public java.lang.String getTopic() { java.lang.Object ref = topic_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; @@ -649,21 +600,20 @@ public java.lang.String getTopic() { } } /** - * - * *
      * Name of the topic registered with the reseller.
      * 
* * string topic = 1; - * * @return The bytes for topic. */ - public com.google.protobuf.ByteString getTopicBytes() { + public com.google.protobuf.ByteString + getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); topic_ = b; return b; } else { @@ -671,112 +621,95 @@ public com.google.protobuf.ByteString getTopicBytes() { } } /** - * - * *
      * Name of the topic registered with the reseller.
      * 
* * string topic = 1; - * * @param value The topic to set. * @return This builder for chaining. */ - public Builder setTopic(java.lang.String value) { + public Builder setTopic( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + topic_ = value; onChanged(); return this; } /** - * - * *
      * Name of the topic registered with the reseller.
      * 
* * string topic = 1; - * * @return This builder for chaining. */ public Builder clearTopic() { - + topic_ = getDefaultInstance().getTopic(); onChanged(); return this; } /** - * - * *
      * Name of the topic registered with the reseller.
      * 
* * string topic = 1; - * * @param value The bytes for topic to set. * @return This builder for chaining. */ - public Builder setTopicBytes(com.google.protobuf.ByteString value) { + public Builder setTopicBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + topic_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList serviceAccounts_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList serviceAccounts_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureServiceAccountsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { serviceAccounts_ = new com.google.protobuf.LazyStringArrayList(serviceAccounts_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * List of service accounts which have subscriber access to the topic.
      * 
* * repeated string service_accounts = 2; - * * @return A list containing the serviceAccounts. */ - public com.google.protobuf.ProtocolStringList getServiceAccountsList() { + public com.google.protobuf.ProtocolStringList + getServiceAccountsList() { return serviceAccounts_.getUnmodifiableView(); } /** - * - * *
      * List of service accounts which have subscriber access to the topic.
      * 
* * repeated string service_accounts = 2; - * * @return The count of serviceAccounts. */ public int getServiceAccountsCount() { return serviceAccounts_.size(); } /** - * - * *
      * List of service accounts which have subscriber access to the topic.
      * 
* * repeated string service_accounts = 2; - * * @param index The index of the element to return. * @return The serviceAccounts at the given index. */ @@ -784,90 +717,80 @@ public java.lang.String getServiceAccounts(int index) { return serviceAccounts_.get(index); } /** - * - * *
      * List of service accounts which have subscriber access to the topic.
      * 
* * repeated string service_accounts = 2; - * * @param index The index of the value to return. * @return The bytes of the serviceAccounts at the given index. */ - public com.google.protobuf.ByteString getServiceAccountsBytes(int index) { + public com.google.protobuf.ByteString + getServiceAccountsBytes(int index) { return serviceAccounts_.getByteString(index); } /** - * - * *
      * List of service accounts which have subscriber access to the topic.
      * 
* * repeated string service_accounts = 2; - * * @param index The index to set the value at. * @param value The serviceAccounts to set. * @return This builder for chaining. */ - public Builder setServiceAccounts(int index, java.lang.String value) { + public Builder setServiceAccounts( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureServiceAccountsIsMutable(); + throw new NullPointerException(); + } + ensureServiceAccountsIsMutable(); serviceAccounts_.set(index, value); onChanged(); return this; } /** - * - * *
      * List of service accounts which have subscriber access to the topic.
      * 
* * repeated string service_accounts = 2; - * * @param value The serviceAccounts to add. * @return This builder for chaining. */ - public Builder addServiceAccounts(java.lang.String value) { + public Builder addServiceAccounts( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureServiceAccountsIsMutable(); + throw new NullPointerException(); + } + ensureServiceAccountsIsMutable(); serviceAccounts_.add(value); onChanged(); return this; } /** - * - * *
      * List of service accounts which have subscriber access to the topic.
      * 
* * repeated string service_accounts = 2; - * * @param values The serviceAccounts to add. * @return This builder for chaining. */ - public Builder addAllServiceAccounts(java.lang.Iterable values) { + public Builder addAllServiceAccounts( + java.lang.Iterable values) { ensureServiceAccountsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, serviceAccounts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, serviceAccounts_); onChanged(); return this; } /** - * - * *
      * List of service accounts which have subscriber access to the topic.
      * 
* * repeated string service_accounts = 2; - * * @return This builder for chaining. */ public Builder clearServiceAccounts() { @@ -877,22 +800,20 @@ public Builder clearServiceAccounts() { return this; } /** - * - * *
      * List of service accounts which have subscriber access to the topic.
      * 
* * repeated string service_accounts = 2; - * * @param value The bytes of the serviceAccounts to add. * @return This builder for chaining. */ - public Builder addServiceAccountsBytes(com.google.protobuf.ByteString value) { + public Builder addServiceAccountsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureServiceAccountsIsMutable(); serviceAccounts_.add(value); onChanged(); @@ -901,21 +822,19 @@ public Builder addServiceAccountsBytes(com.google.protobuf.ByteString value) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 3; - * * @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; @@ -924,22 +843,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 3; - * * @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 { @@ -947,71 +865,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 3; - * * @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 that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 3; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 3; - * * @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); } @@ -1021,12 +932,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListSubscribersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListSubscribersResponse) private static final com.google.cloud.channel.v1.ListSubscribersResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListSubscribersResponse(); } @@ -1035,27 +946,27 @@ public static com.google.cloud.channel.v1.ListSubscribersResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSubscribersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSubscribersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1070,4 +981,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListSubscribersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponseOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponseOrBuilder.java similarity index 69% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponseOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponseOrBuilder.java index 9993f1afcfe1..21c49ff294bb 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponseOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponseOrBuilder.java @@ -1,128 +1,92 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListSubscribersResponseOrBuilder - extends +public interface ListSubscribersResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListSubscribersResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of the topic registered with the reseller.
    * 
* * string topic = 1; - * * @return The topic. */ java.lang.String getTopic(); /** - * - * *
    * Name of the topic registered with the reseller.
    * 
* * string topic = 1; - * * @return The bytes for topic. */ - com.google.protobuf.ByteString getTopicBytes(); + com.google.protobuf.ByteString + getTopicBytes(); /** - * - * *
    * List of service accounts which have subscriber access to the topic.
    * 
* * repeated string service_accounts = 2; - * * @return A list containing the serviceAccounts. */ - java.util.List getServiceAccountsList(); + java.util.List + getServiceAccountsList(); /** - * - * *
    * List of service accounts which have subscriber access to the topic.
    * 
* * repeated string service_accounts = 2; - * * @return The count of serviceAccounts. */ int getServiceAccountsCount(); /** - * - * *
    * List of service accounts which have subscriber access to the topic.
    * 
* * repeated string service_accounts = 2; - * * @param index The index of the element to return. * @return The serviceAccounts at the given index. */ java.lang.String getServiceAccounts(int index); /** - * - * *
    * List of service accounts which have subscriber access to the topic.
    * 
* * repeated string service_accounts = 2; - * * @param index The index of the value to return. * @return The bytes of the serviceAccounts at the given index. */ - com.google.protobuf.ByteString getServiceAccountsBytes(int index); + com.google.protobuf.ByteString + getServiceAccountsBytes(int index); /** - * - * *
    * A token that can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token that can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequest.java similarity index 70% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequest.java index 91bc8acb1fa0..6b0a3d8ce05a 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequest.java @@ -1,42 +1,25 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Request message for [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers]
+ * Request message for
+ * [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers]
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListTransferableOffersRequest} */ -public final class ListTransferableOffersRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTransferableOffersRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListTransferableOffersRequest) ListTransferableOffersRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTransferableOffersRequest.newBuilder() to construct. private ListTransferableOffersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTransferableOffersRequest() { parent_ = ""; pageToken_ = ""; @@ -46,42 +29,38 @@ private ListTransferableOffersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTransferableOffersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListTransferableOffersRequest.class, - com.google.cloud.channel.v1.ListTransferableOffersRequest.Builder.class); + com.google.cloud.channel.v1.ListTransferableOffersRequest.class, com.google.cloud.channel.v1.ListTransferableOffersRequest.Builder.class); } private int transferredCustomerIdentityCase_ = 0; private java.lang.Object transferredCustomerIdentity_; - public enum TransferredCustomerIdentityCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CLOUD_IDENTITY_ID(4), CUSTOMER_NAME(5), TRANSFERREDCUSTOMERIDENTITY_NOT_SET(0); private final int value; - private TransferredCustomerIdentityCase(int value) { this.value = value; } @@ -97,50 +76,41 @@ public static TransferredCustomerIdentityCase valueOf(int value) { public static TransferredCustomerIdentityCase forNumber(int value) { switch (value) { - case 4: - return CLOUD_IDENTITY_ID; - case 5: - return CUSTOMER_NAME; - case 0: - return TRANSFERREDCUSTOMERIDENTITY_NOT_SET; - default: - return null; + case 4: return CLOUD_IDENTITY_ID; + case 5: return CUSTOMER_NAME; + case 0: return TRANSFERREDCUSTOMERIDENTITY_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TransferredCustomerIdentityCase getTransferredCustomerIdentityCase() { - return TransferredCustomerIdentityCase.forNumber(transferredCustomerIdentityCase_); + public TransferredCustomerIdentityCase + getTransferredCustomerIdentityCase() { + return TransferredCustomerIdentityCase.forNumber( + transferredCustomerIdentityCase_); } public static final int CLOUD_IDENTITY_ID_FIELD_NUMBER = 4; /** - * - * *
    * Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 4; - * * @return Whether the cloudIdentityId field is set. */ public boolean hasCloudIdentityId() { return transferredCustomerIdentityCase_ == 4; } /** - * - * *
    * Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 4; - * * @return The cloudIdentityId. */ public java.lang.String getCloudIdentityId() { @@ -151,7 +121,8 @@ public java.lang.String getCloudIdentityId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (transferredCustomerIdentityCase_ == 4) { transferredCustomerIdentity_ = s; @@ -160,24 +131,23 @@ public java.lang.String getCloudIdentityId() { } } /** - * - * *
    * Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 4; - * * @return The bytes for cloudIdentityId. */ - public com.google.protobuf.ByteString getCloudIdentityIdBytes() { + public com.google.protobuf.ByteString + getCloudIdentityIdBytes() { java.lang.Object ref = ""; if (transferredCustomerIdentityCase_ == 4) { ref = transferredCustomerIdentity_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (transferredCustomerIdentityCase_ == 4) { transferredCustomerIdentity_ = b; } @@ -189,30 +159,24 @@ public com.google.protobuf.ByteString getCloudIdentityIdBytes() { public static final int CUSTOMER_NAME_FIELD_NUMBER = 5; /** - * - * *
    * A reseller should create a customer and use the resource name of
    * that customer here.
    * 
* * string customer_name = 5; - * * @return Whether the customerName field is set. */ public boolean hasCustomerName() { return transferredCustomerIdentityCase_ == 5; } /** - * - * *
    * A reseller should create a customer and use the resource name of
    * that customer here.
    * 
* * string customer_name = 5; - * * @return The customerName. */ public java.lang.String getCustomerName() { @@ -223,7 +187,8 @@ public java.lang.String getCustomerName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (transferredCustomerIdentityCase_ == 5) { transferredCustomerIdentity_ = s; @@ -232,25 +197,24 @@ public java.lang.String getCustomerName() { } } /** - * - * *
    * A reseller should create a customer and use the resource name of
    * that customer here.
    * 
* * string customer_name = 5; - * * @return The bytes for customerName. */ - public com.google.protobuf.ByteString getCustomerNameBytes() { + public com.google.protobuf.ByteString + getCustomerNameBytes() { java.lang.Object ref = ""; if (transferredCustomerIdentityCase_ == 5) { ref = transferredCustomerIdentity_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (transferredCustomerIdentityCase_ == 5) { transferredCustomerIdentity_ = b; } @@ -263,14 +227,11 @@ public com.google.protobuf.ByteString getCustomerNameBytes() { public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource name of the reseller's account.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -279,29 +240,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. The resource name of the reseller's account.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -312,8 +273,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Requested page size. Server might return fewer results than requested.
    * If unspecified, returns at most 100 offers.
@@ -321,7 +280,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -332,17 +290,16 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A token for a page of results other than the first page.
    * Obtained using
-   * [ListTransferableOffersResponse.next_page_token][google.cloud.channel.v1.ListTransferableOffersResponse.next_page_token] of the previous
-   * [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers] call.
+   * [ListTransferableOffersResponse.next_page_token][google.cloud.channel.v1.ListTransferableOffersResponse.next_page_token]
+   * of the previous
+   * [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers]
+   * call.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -351,32 +308,34 @@ 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 token for a page of results other than the first page.
    * Obtained using
-   * [ListTransferableOffersResponse.next_page_token][google.cloud.channel.v1.ListTransferableOffersResponse.next_page_token] of the previous
-   * [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers] call.
+   * [ListTransferableOffersResponse.next_page_token][google.cloud.channel.v1.ListTransferableOffersResponse.next_page_token]
+   * of the previous
+   * [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers]
+   * call.
    * 
* * 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 { @@ -387,14 +346,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int SKU_FIELD_NUMBER = 6; private volatile java.lang.Object sku_; /** - * - * *
    * Required. The SKU to look up Offers for.
    * 
* * string sku = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sku. */ @java.lang.Override @@ -403,29 +359,29 @@ public java.lang.String getSku() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sku_ = s; return s; } } /** - * - * *
    * Required. The SKU to look up Offers for.
    * 
* * string sku = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for sku. */ @java.lang.Override - public com.google.protobuf.ByteString getSkuBytes() { + public com.google.protobuf.ByteString + getSkuBytes() { java.lang.Object ref = sku_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sku_ = b; return b; } else { @@ -436,8 +392,6 @@ public com.google.protobuf.ByteString getSkuBytes() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 7; private volatile java.lang.Object languageCode_; /** - * - * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -445,7 +399,6 @@ public com.google.protobuf.ByteString getSkuBytes() {
    * 
* * string language_code = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ @java.lang.Override @@ -454,15 +407,14 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** - * - * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -470,15 +422,16 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -487,7 +440,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -499,7 +451,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -534,18 +487,17 @@ 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_); } if (transferredCustomerIdentityCase_ == 4) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(4, transferredCustomerIdentity_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, transferredCustomerIdentity_); } if (transferredCustomerIdentityCase_ == 5) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(5, transferredCustomerIdentity_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, transferredCustomerIdentity_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sku_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, sku_); @@ -561,27 +513,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.ListTransferableOffersRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListTransferableOffersRequest other = - (com.google.cloud.channel.v1.ListTransferableOffersRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getSku().equals(other.getSku())) return false; - if (!getLanguageCode().equals(other.getLanguageCode())) return false; - if (!getTransferredCustomerIdentityCase().equals(other.getTransferredCustomerIdentityCase())) - return false; + com.google.cloud.channel.v1.ListTransferableOffersRequest other = (com.google.cloud.channel.v1.ListTransferableOffersRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getSku() + .equals(other.getSku())) return false; + if (!getLanguageCode() + .equals(other.getLanguageCode())) return false; + if (!getTransferredCustomerIdentityCase().equals(other.getTransferredCustomerIdentityCase())) return false; switch (transferredCustomerIdentityCase_) { case 4: - if (!getCloudIdentityId().equals(other.getCloudIdentityId())) return false; + if (!getCloudIdentityId() + .equals(other.getCloudIdentityId())) return false; break; case 5: - if (!getCustomerName().equals(other.getCustomerName())) return false; + if (!getCustomerName() + .equals(other.getCustomerName())) return false; break; case 0: default: @@ -625,136 +582,130 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListTransferableOffersRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListTransferableOffersRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListTransferableOffersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListTransferableOffersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListTransferableOffersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListTransferableOffersRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListTransferableOffersRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListTransferableOffersRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListTransferableOffersRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListTransferableOffersRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListTransferableOffersRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListTransferableOffersRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListTransferableOffersRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListTransferableOffersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.ListTransferableOffersRequest prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.ListTransferableOffersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Request message for [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers]
+   * Request message for
+   * [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers]
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListTransferableOffersRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListTransferableOffersRequest) com.google.cloud.channel.v1.ListTransferableOffersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListTransferableOffersRequest.class, - com.google.cloud.channel.v1.ListTransferableOffersRequest.Builder.class); + com.google.cloud.channel.v1.ListTransferableOffersRequest.class, com.google.cloud.channel.v1.ListTransferableOffersRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.ListTransferableOffersRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -774,9 +725,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_descriptor; } @java.lang.Override @@ -795,8 +746,7 @@ public com.google.cloud.channel.v1.ListTransferableOffersRequest build() { @java.lang.Override public com.google.cloud.channel.v1.ListTransferableOffersRequest buildPartial() { - com.google.cloud.channel.v1.ListTransferableOffersRequest result = - new com.google.cloud.channel.v1.ListTransferableOffersRequest(this); + com.google.cloud.channel.v1.ListTransferableOffersRequest result = new com.google.cloud.channel.v1.ListTransferableOffersRequest(this); if (transferredCustomerIdentityCase_ == 4) { result.transferredCustomerIdentity_ = transferredCustomerIdentity_; } @@ -817,39 +767,38 @@ public com.google.cloud.channel.v1.ListTransferableOffersRequest 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.cloud.channel.v1.ListTransferableOffersRequest) { - return mergeFrom((com.google.cloud.channel.v1.ListTransferableOffersRequest) other); + return mergeFrom((com.google.cloud.channel.v1.ListTransferableOffersRequest)other); } else { super.mergeFrom(other); return this; @@ -857,8 +806,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ListTransferableOffersRequest other) { - if (other == com.google.cloud.channel.v1.ListTransferableOffersRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.ListTransferableOffersRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -879,24 +827,21 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ListTransferableOffersReque onChanged(); } switch (other.getTransferredCustomerIdentityCase()) { - case CLOUD_IDENTITY_ID: - { - transferredCustomerIdentityCase_ = 4; - transferredCustomerIdentity_ = other.transferredCustomerIdentity_; - onChanged(); - break; - } - case CUSTOMER_NAME: - { - transferredCustomerIdentityCase_ = 5; - transferredCustomerIdentity_ = other.transferredCustomerIdentity_; - onChanged(); - break; - } - case TRANSFERREDCUSTOMERIDENTITY_NOT_SET: - { - break; - } + case CLOUD_IDENTITY_ID: { + transferredCustomerIdentityCase_ = 4; + transferredCustomerIdentity_ = other.transferredCustomerIdentity_; + onChanged(); + break; + } + case CUSTOMER_NAME: { + transferredCustomerIdentityCase_ = 5; + transferredCustomerIdentity_ = other.transferredCustomerIdentity_; + onChanged(); + break; + } + case TRANSFERREDCUSTOMERIDENTITY_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -924,57 +869,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - transferredCustomerIdentityCase_ = 4; - transferredCustomerIdentity_ = s; - break; - } // case 34 - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - transferredCustomerIdentityCase_ = 5; - transferredCustomerIdentity_ = s; - break; - } // case 42 - case 50: - { - sku_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 58: - { - languageCode_ = input.readStringRequireUtf8(); - - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + transferredCustomerIdentityCase_ = 4; + transferredCustomerIdentity_ = s; + break; + } // case 34 + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + transferredCustomerIdentityCase_ = 5; + transferredCustomerIdentity_ = s; + break; + } // case 42 + case 50: { + sku_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 58: { + languageCode_ = input.readStringRequireUtf8(); + + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -984,12 +921,12 @@ public Builder mergeFrom( } // finally return this; } - private int transferredCustomerIdentityCase_ = 0; private java.lang.Object transferredCustomerIdentity_; - - public TransferredCustomerIdentityCase getTransferredCustomerIdentityCase() { - return TransferredCustomerIdentityCase.forNumber(transferredCustomerIdentityCase_); + public TransferredCustomerIdentityCase + getTransferredCustomerIdentityCase() { + return TransferredCustomerIdentityCase.forNumber( + transferredCustomerIdentityCase_); } public Builder clearTransferredCustomerIdentity() { @@ -999,15 +936,13 @@ public Builder clearTransferredCustomerIdentity() { return this; } + /** - * - * *
      * Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 4; - * * @return Whether the cloudIdentityId field is set. */ @java.lang.Override @@ -1015,14 +950,11 @@ public boolean hasCloudIdentityId() { return transferredCustomerIdentityCase_ == 4; } /** - * - * *
      * Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 4; - * * @return The cloudIdentityId. */ @java.lang.Override @@ -1032,7 +964,8 @@ public java.lang.String getCloudIdentityId() { ref = transferredCustomerIdentity_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (transferredCustomerIdentityCase_ == 4) { transferredCustomerIdentity_ = s; @@ -1043,25 +976,24 @@ public java.lang.String getCloudIdentityId() { } } /** - * - * *
      * Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 4; - * * @return The bytes for cloudIdentityId. */ @java.lang.Override - public com.google.protobuf.ByteString getCloudIdentityIdBytes() { + public com.google.protobuf.ByteString + getCloudIdentityIdBytes() { java.lang.Object ref = ""; if (transferredCustomerIdentityCase_ == 4) { ref = transferredCustomerIdentity_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (transferredCustomerIdentityCase_ == 4) { transferredCustomerIdentity_ = b; } @@ -1071,35 +1003,30 @@ public com.google.protobuf.ByteString getCloudIdentityIdBytes() { } } /** - * - * *
      * Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 4; - * * @param value The cloudIdentityId to set. * @return This builder for chaining. */ - public Builder setCloudIdentityId(java.lang.String value) { + public Builder setCloudIdentityId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - transferredCustomerIdentityCase_ = 4; + throw new NullPointerException(); + } + transferredCustomerIdentityCase_ = 4; transferredCustomerIdentity_ = value; onChanged(); return this; } /** - * - * *
      * Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 4; - * * @return This builder for chaining. */ public Builder clearCloudIdentityId() { @@ -1111,22 +1038,20 @@ public Builder clearCloudIdentityId() { return this; } /** - * - * *
      * Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 4; - * * @param value The bytes for cloudIdentityId to set. * @return This builder for chaining. */ - public Builder setCloudIdentityIdBytes(com.google.protobuf.ByteString value) { + public Builder setCloudIdentityIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); transferredCustomerIdentityCase_ = 4; transferredCustomerIdentity_ = value; onChanged(); @@ -1134,15 +1059,12 @@ public Builder setCloudIdentityIdBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * A reseller should create a customer and use the resource name of
      * that customer here.
      * 
* * string customer_name = 5; - * * @return Whether the customerName field is set. */ @java.lang.Override @@ -1150,15 +1072,12 @@ public boolean hasCustomerName() { return transferredCustomerIdentityCase_ == 5; } /** - * - * *
      * A reseller should create a customer and use the resource name of
      * that customer here.
      * 
* * string customer_name = 5; - * * @return The customerName. */ @java.lang.Override @@ -1168,7 +1087,8 @@ public java.lang.String getCustomerName() { ref = transferredCustomerIdentity_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (transferredCustomerIdentityCase_ == 5) { transferredCustomerIdentity_ = s; @@ -1179,26 +1099,25 @@ public java.lang.String getCustomerName() { } } /** - * - * *
      * A reseller should create a customer and use the resource name of
      * that customer here.
      * 
* * string customer_name = 5; - * * @return The bytes for customerName. */ @java.lang.Override - public com.google.protobuf.ByteString getCustomerNameBytes() { + public com.google.protobuf.ByteString + getCustomerNameBytes() { java.lang.Object ref = ""; if (transferredCustomerIdentityCase_ == 5) { ref = transferredCustomerIdentity_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (transferredCustomerIdentityCase_ == 5) { transferredCustomerIdentity_ = b; } @@ -1208,37 +1127,32 @@ public com.google.protobuf.ByteString getCustomerNameBytes() { } } /** - * - * *
      * A reseller should create a customer and use the resource name of
      * that customer here.
      * 
* * string customer_name = 5; - * * @param value The customerName to set. * @return This builder for chaining. */ - public Builder setCustomerName(java.lang.String value) { + public Builder setCustomerName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - transferredCustomerIdentityCase_ = 5; + throw new NullPointerException(); + } + transferredCustomerIdentityCase_ = 5; transferredCustomerIdentity_ = value; onChanged(); return this; } /** - * - * *
      * A reseller should create a customer and use the resource name of
      * that customer here.
      * 
* * string customer_name = 5; - * * @return This builder for chaining. */ public Builder clearCustomerName() { @@ -1250,23 +1164,21 @@ public Builder clearCustomerName() { return this; } /** - * - * *
      * A reseller should create a customer and use the resource name of
      * that customer here.
      * 
* * string customer_name = 5; - * * @param value The bytes for customerName to set. * @return This builder for chaining. */ - public Builder setCustomerNameBytes(com.google.protobuf.ByteString value) { + public Builder setCustomerNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); transferredCustomerIdentityCase_ = 5; transferredCustomerIdentity_ = value; onChanged(); @@ -1275,20 +1187,18 @@ public Builder setCustomerNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the reseller's account.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -1297,21 +1207,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the reseller's account.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -1319,70 +1228,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the reseller's account.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 reseller's account.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the reseller's account.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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_ ; /** - * - * *
      * Requested page size. Server might return fewer results than requested.
      * If unspecified, returns at most 100 offers.
@@ -1390,7 +1290,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -1398,8 +1297,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Requested page size. Server might return fewer results than requested.
      * If unspecified, returns at most 100 offers.
@@ -1407,19 +1304,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; } /** - * - * *
      * Requested page size. Server might return fewer results than requested.
      * If unspecified, returns at most 100 offers.
@@ -1427,11 +1321,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1439,23 +1332,23 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token for a page of results other than the first page.
      * Obtained using
-     * [ListTransferableOffersResponse.next_page_token][google.cloud.channel.v1.ListTransferableOffersResponse.next_page_token] of the previous
-     * [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers] call.
+     * [ListTransferableOffersResponse.next_page_token][google.cloud.channel.v1.ListTransferableOffersResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers]
+     * call.
      * 
* * 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; @@ -1464,24 +1357,25 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token for a page of results other than the first page.
      * Obtained using
-     * [ListTransferableOffersResponse.next_page_token][google.cloud.channel.v1.ListTransferableOffersResponse.next_page_token] of the previous
-     * [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers] call.
+     * [ListTransferableOffersResponse.next_page_token][google.cloud.channel.v1.ListTransferableOffersResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers]
+     * call.
      * 
* * 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 { @@ -1489,70 +1383,69 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token for a page of results other than the first page.
      * Obtained using
-     * [ListTransferableOffersResponse.next_page_token][google.cloud.channel.v1.ListTransferableOffersResponse.next_page_token] of the previous
-     * [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers] call.
+     * [ListTransferableOffersResponse.next_page_token][google.cloud.channel.v1.ListTransferableOffersResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers]
+     * call.
      * 
* * 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 token for a page of results other than the first page.
      * Obtained using
-     * [ListTransferableOffersResponse.next_page_token][google.cloud.channel.v1.ListTransferableOffersResponse.next_page_token] of the previous
-     * [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers] call.
+     * [ListTransferableOffersResponse.next_page_token][google.cloud.channel.v1.ListTransferableOffersResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers]
+     * call.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A token for a page of results other than the first page.
      * Obtained using
-     * [ListTransferableOffersResponse.next_page_token][google.cloud.channel.v1.ListTransferableOffersResponse.next_page_token] of the previous
-     * [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers] call.
+     * [ListTransferableOffersResponse.next_page_token][google.cloud.channel.v1.ListTransferableOffersResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers]
+     * call.
      * 
* * 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; @@ -1560,20 +1453,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object sku_ = ""; /** - * - * *
      * Required. The SKU to look up Offers for.
      * 
* * string sku = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sku. */ public java.lang.String getSku() { java.lang.Object ref = sku_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sku_ = s; return s; @@ -1582,21 +1473,20 @@ public java.lang.String getSku() { } } /** - * - * *
      * Required. The SKU to look up Offers for.
      * 
* * string sku = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for sku. */ - public com.google.protobuf.ByteString getSkuBytes() { + public com.google.protobuf.ByteString + getSkuBytes() { java.lang.Object ref = sku_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sku_ = b; return b; } else { @@ -1604,61 +1494,54 @@ public com.google.protobuf.ByteString getSkuBytes() { } } /** - * - * *
      * Required. The SKU to look up Offers for.
      * 
* * string sku = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The sku to set. * @return This builder for chaining. */ - public Builder setSku(java.lang.String value) { + public Builder setSku( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sku_ = value; onChanged(); return this; } /** - * - * *
      * Required. The SKU to look up Offers for.
      * 
* * string sku = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSku() { - + sku_ = getDefaultInstance().getSku(); onChanged(); return this; } /** - * - * *
      * Required. The SKU to look up Offers for.
      * 
* * string sku = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for sku to set. * @return This builder for chaining. */ - public Builder setSkuBytes(com.google.protobuf.ByteString value) { + public Builder setSkuBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sku_ = value; onChanged(); return this; @@ -1666,8 +1549,6 @@ public Builder setSkuBytes(com.google.protobuf.ByteString value) { private java.lang.Object languageCode_ = ""; /** - * - * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1675,13 +1556,13 @@ public Builder setSkuBytes(com.google.protobuf.ByteString value) {
      * 
* * string language_code = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -1690,8 +1571,6 @@ public java.lang.String getLanguageCode() { } } /** - * - * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1699,14 +1578,15 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -1714,8 +1594,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } } /** - * - * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1723,22 +1601,20 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      * 
* * string language_code = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode(java.lang.String value) { + public Builder setLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1746,18 +1622,15 @@ public Builder setLanguageCode(java.lang.String value) {
      * 
* * string language_code = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** - * - * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1765,23 +1638,23 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = 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); } @@ -1791,12 +1664,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListTransferableOffersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListTransferableOffersRequest) private static final com.google.cloud.channel.v1.ListTransferableOffersRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListTransferableOffersRequest(); } @@ -1805,27 +1678,27 @@ public static com.google.cloud.channel.v1.ListTransferableOffersRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferableOffersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferableOffersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1840,4 +1713,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.channel.v1.ListTransferableOffersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequestOrBuilder.java similarity index 73% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequestOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequestOrBuilder.java index 35809e11af4c..88c0d5e2fb18 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequestOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequestOrBuilder.java @@ -1,133 +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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListTransferableOffersRequestOrBuilder - extends +public interface ListTransferableOffersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListTransferableOffersRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 4; - * * @return Whether the cloudIdentityId field is set. */ boolean hasCloudIdentityId(); /** - * - * *
    * Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 4; - * * @return The cloudIdentityId. */ java.lang.String getCloudIdentityId(); /** - * - * *
    * Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 4; - * * @return The bytes for cloudIdentityId. */ - com.google.protobuf.ByteString getCloudIdentityIdBytes(); + com.google.protobuf.ByteString + getCloudIdentityIdBytes(); /** - * - * *
    * A reseller should create a customer and use the resource name of
    * that customer here.
    * 
* * string customer_name = 5; - * * @return Whether the customerName field is set. */ boolean hasCustomerName(); /** - * - * *
    * A reseller should create a customer and use the resource name of
    * that customer here.
    * 
* * string customer_name = 5; - * * @return The customerName. */ java.lang.String getCustomerName(); /** - * - * *
    * A reseller should create a customer and use the resource name of
    * that customer here.
    * 
* * string customer_name = 5; - * * @return The bytes for customerName. */ - com.google.protobuf.ByteString getCustomerNameBytes(); + com.google.protobuf.ByteString + getCustomerNameBytes(); /** - * - * *
    * Required. The resource name of the reseller's account.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the reseller's account.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Requested page size. Server might return fewer results than requested.
    * If unspecified, returns at most 100 offers.
@@ -135,70 +96,61 @@ public interface ListTransferableOffersRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token for a page of results other than the first page.
    * Obtained using
-   * [ListTransferableOffersResponse.next_page_token][google.cloud.channel.v1.ListTransferableOffersResponse.next_page_token] of the previous
-   * [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers] call.
+   * [ListTransferableOffersResponse.next_page_token][google.cloud.channel.v1.ListTransferableOffersResponse.next_page_token]
+   * of the previous
+   * [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers]
+   * call.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token for a page of results other than the first page.
    * Obtained using
-   * [ListTransferableOffersResponse.next_page_token][google.cloud.channel.v1.ListTransferableOffersResponse.next_page_token] of the previous
-   * [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers] call.
+   * [ListTransferableOffersResponse.next_page_token][google.cloud.channel.v1.ListTransferableOffersResponse.next_page_token]
+   * of the previous
+   * [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers]
+   * call.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Required. The SKU to look up Offers for.
    * 
* * string sku = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sku. */ java.lang.String getSku(); /** - * - * *
    * Required. The SKU to look up Offers for.
    * 
* * string sku = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for sku. */ - com.google.protobuf.ByteString getSkuBytes(); + com.google.protobuf.ByteString + getSkuBytes(); /** - * - * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -206,13 +158,10 @@ public interface ListTransferableOffersRequestOrBuilder
    * 
* * string language_code = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ java.lang.String getLanguageCode(); /** - * - * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -220,11 +169,10 @@ public interface ListTransferableOffersRequestOrBuilder
    * 
* * string language_code = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString getLanguageCodeBytes(); + com.google.protobuf.ByteString + getLanguageCodeBytes(); - public com.google.cloud.channel.v1.ListTransferableOffersRequest.TransferredCustomerIdentityCase - getTransferredCustomerIdentityCase(); + public com.google.cloud.channel.v1.ListTransferableOffersRequest.TransferredCustomerIdentityCase getTransferredCustomerIdentityCase(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponse.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponse.java similarity index 70% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponse.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponse.java index d728aa7bda01..ffc977484d99 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponse.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponse.java @@ -1,43 +1,25 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Response message for [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers].
+ * Response message for
+ * [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers].
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListTransferableOffersResponse} */ -public final class ListTransferableOffersResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTransferableOffersResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListTransferableOffersResponse) ListTransferableOffersResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTransferableOffersResponse.newBuilder() to construct. - private ListTransferableOffersResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListTransferableOffersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTransferableOffersResponse() { transferableOffers_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,35 +27,32 @@ private ListTransferableOffersResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTransferableOffersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListTransferableOffersResponse.class, - com.google.cloud.channel.v1.ListTransferableOffersResponse.Builder.class); + com.google.cloud.channel.v1.ListTransferableOffersResponse.class, com.google.cloud.channel.v1.ListTransferableOffersResponse.Builder.class); } public static final int TRANSFERABLE_OFFERS_FIELD_NUMBER = 1; private java.util.List transferableOffers_; /** - * - * *
    * Information about Offers for a customer that can be used for
    * transfer.
@@ -86,8 +65,6 @@ public java.util.List getTransfer
     return transferableOffers_;
   }
   /**
-   *
-   *
    * 
    * Information about Offers for a customer that can be used for
    * transfer.
@@ -96,13 +73,11 @@ public java.util.List getTransfer
    * repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getTransferableOffersOrBuilderList() {
     return transferableOffers_;
   }
   /**
-   *
-   *
    * 
    * Information about Offers for a customer that can be used for
    * transfer.
@@ -115,8 +90,6 @@ public int getTransferableOffersCount() {
     return transferableOffers_.size();
   }
   /**
-   *
-   *
    * 
    * Information about Offers for a customer that can be used for
    * transfer.
@@ -129,8 +102,6 @@ public com.google.cloud.channel.v1.TransferableOffer getTransferableOffers(int i
     return transferableOffers_.get(index);
   }
   /**
-   *
-   *
    * 
    * Information about Offers for a customer that can be used for
    * transfer.
@@ -147,16 +118,14 @@ public com.google.cloud.channel.v1.TransferableOfferOrBuilder getTransferableOff
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
   private volatile java.lang.Object nextPageToken_;
   /**
-   *
-   *
    * 
    * A token to retrieve the next page of results.
-   * Pass to [ListTransferableOffersRequest.page_token][google.cloud.channel.v1.ListTransferableOffersRequest.page_token] to obtain
-   * that page.
+   * Pass to
+   * [ListTransferableOffersRequest.page_token][google.cloud.channel.v1.ListTransferableOffersRequest.page_token]
+   * to obtain that page.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -165,31 +134,32 @@ 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 to retrieve the next page of results.
-   * Pass to [ListTransferableOffersRequest.page_token][google.cloud.channel.v1.ListTransferableOffersRequest.page_token] to obtain
-   * that page.
+   * Pass to
+   * [ListTransferableOffersRequest.page_token][google.cloud.channel.v1.ListTransferableOffersRequest.page_token]
+   * to obtain that page.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -198,7 +168,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -210,7 +179,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < transferableOffers_.size(); i++) { output.writeMessage(1, transferableOffers_.get(i)); } @@ -227,8 +197,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < transferableOffers_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, transferableOffers_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, transferableOffers_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -241,16 +211,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.cloud.channel.v1.ListTransferableOffersResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListTransferableOffersResponse other = - (com.google.cloud.channel.v1.ListTransferableOffersResponse) obj; + com.google.cloud.channel.v1.ListTransferableOffersResponse other = (com.google.cloud.channel.v1.ListTransferableOffersResponse) obj; - if (!getTransferableOffersList().equals(other.getTransferableOffersList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getTransferableOffersList() + .equals(other.getTransferableOffersList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -274,136 +245,130 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListTransferableOffersResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListTransferableOffersResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListTransferableOffersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListTransferableOffersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListTransferableOffersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListTransferableOffersResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListTransferableOffersResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListTransferableOffersResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListTransferableOffersResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListTransferableOffersResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListTransferableOffersResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListTransferableOffersResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListTransferableOffersResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListTransferableOffersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.ListTransferableOffersResponse prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.ListTransferableOffersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers].
+   * Response message for
+   * [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers].
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListTransferableOffersResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListTransferableOffersResponse) com.google.cloud.channel.v1.ListTransferableOffersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListTransferableOffersResponse.class, - com.google.cloud.channel.v1.ListTransferableOffersResponse.Builder.class); + com.google.cloud.channel.v1.ListTransferableOffersResponse.class, com.google.cloud.channel.v1.ListTransferableOffersResponse.Builder.class); } // Construct using com.google.cloud.channel.v1.ListTransferableOffersResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -420,9 +385,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_descriptor; } @java.lang.Override @@ -441,8 +406,7 @@ public com.google.cloud.channel.v1.ListTransferableOffersResponse build() { @java.lang.Override public com.google.cloud.channel.v1.ListTransferableOffersResponse buildPartial() { - com.google.cloud.channel.v1.ListTransferableOffersResponse result = - new com.google.cloud.channel.v1.ListTransferableOffersResponse(this); + com.google.cloud.channel.v1.ListTransferableOffersResponse result = new com.google.cloud.channel.v1.ListTransferableOffersResponse(this); int from_bitField0_ = bitField0_; if (transferableOffersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -462,39 +426,38 @@ public com.google.cloud.channel.v1.ListTransferableOffersResponse 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.cloud.channel.v1.ListTransferableOffersResponse) { - return mergeFrom((com.google.cloud.channel.v1.ListTransferableOffersResponse) other); + return mergeFrom((com.google.cloud.channel.v1.ListTransferableOffersResponse)other); } else { super.mergeFrom(other); return this; @@ -502,8 +465,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ListTransferableOffersResponse other) { - if (other == com.google.cloud.channel.v1.ListTransferableOffersResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.ListTransferableOffersResponse.getDefaultInstance()) return this; if (transferableOffersBuilder_ == null) { if (!other.transferableOffers_.isEmpty()) { if (transferableOffers_.isEmpty()) { @@ -522,10 +484,9 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ListTransferableOffersRespo transferableOffersBuilder_ = null; transferableOffers_ = other.transferableOffers_; bitField0_ = (bitField0_ & ~0x00000001); - transferableOffersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTransferableOffersFieldBuilder() - : null; + transferableOffersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTransferableOffersFieldBuilder() : null; } else { transferableOffersBuilder_.addAllMessages(other.transferableOffers_); } @@ -561,32 +522,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.channel.v1.TransferableOffer m = - input.readMessage( - com.google.cloud.channel.v1.TransferableOffer.parser(), extensionRegistry); - if (transferableOffersBuilder_ == null) { - ensureTransferableOffersIsMutable(); - transferableOffers_.add(m); - } else { - transferableOffersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.cloud.channel.v1.TransferableOffer m = + input.readMessage( + com.google.cloud.channel.v1.TransferableOffer.parser(), + extensionRegistry); + if (transferableOffersBuilder_ == null) { + ensureTransferableOffersIsMutable(); + transferableOffers_.add(m); + } else { + transferableOffersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -596,30 +555,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List transferableOffers_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTransferableOffersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - transferableOffers_ = - new java.util.ArrayList( - transferableOffers_); + transferableOffers_ = new java.util.ArrayList(transferableOffers_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.TransferableOffer, - com.google.cloud.channel.v1.TransferableOffer.Builder, - com.google.cloud.channel.v1.TransferableOfferOrBuilder> - transferableOffersBuilder_; + com.google.cloud.channel.v1.TransferableOffer, com.google.cloud.channel.v1.TransferableOffer.Builder, com.google.cloud.channel.v1.TransferableOfferOrBuilder> transferableOffersBuilder_; /** - * - * *
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -627,8 +577,7 @@ private void ensureTransferableOffersIsMutable() {
      *
      * repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;
      */
-    public java.util.List
-        getTransferableOffersList() {
+    public java.util.List getTransferableOffersList() {
       if (transferableOffersBuilder_ == null) {
         return java.util.Collections.unmodifiableList(transferableOffers_);
       } else {
@@ -636,8 +585,6 @@ private void ensureTransferableOffersIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -653,8 +600,6 @@ public int getTransferableOffersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -670,8 +615,6 @@ public com.google.cloud.channel.v1.TransferableOffer getTransferableOffers(int i
       }
     }
     /**
-     *
-     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -694,8 +637,6 @@ public Builder setTransferableOffers(
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -715,8 +656,6 @@ public Builder setTransferableOffers(
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -738,8 +677,6 @@ public Builder addTransferableOffers(com.google.cloud.channel.v1.TransferableOff
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -762,8 +699,6 @@ public Builder addTransferableOffers(
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -783,8 +718,6 @@ public Builder addTransferableOffers(
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -804,8 +737,6 @@ public Builder addTransferableOffers(
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -817,7 +748,8 @@ public Builder addAllTransferableOffers(
         java.lang.Iterable values) {
       if (transferableOffersBuilder_ == null) {
         ensureTransferableOffersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, transferableOffers_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, transferableOffers_);
         onChanged();
       } else {
         transferableOffersBuilder_.addAllMessages(values);
@@ -825,8 +757,6 @@ public Builder addAllTransferableOffers(
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -845,8 +775,6 @@ public Builder clearTransferableOffers() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -865,8 +793,6 @@ public Builder removeTransferableOffers(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -879,8 +805,6 @@ public com.google.cloud.channel.v1.TransferableOffer.Builder getTransferableOffe
       return getTransferableOffersFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -891,14 +815,11 @@ public com.google.cloud.channel.v1.TransferableOffer.Builder getTransferableOffe
     public com.google.cloud.channel.v1.TransferableOfferOrBuilder getTransferableOffersOrBuilder(
         int index) {
       if (transferableOffersBuilder_ == null) {
-        return transferableOffers_.get(index);
-      } else {
+        return transferableOffers_.get(index);  } else {
         return transferableOffersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -906,8 +827,8 @@ public com.google.cloud.channel.v1.TransferableOfferOrBuilder getTransferableOff
      *
      * repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;
      */
-    public java.util.List
-        getTransferableOffersOrBuilderList() {
+    public java.util.List 
+         getTransferableOffersOrBuilderList() {
       if (transferableOffersBuilder_ != null) {
         return transferableOffersBuilder_.getMessageOrBuilderList();
       } else {
@@ -915,8 +836,6 @@ public com.google.cloud.channel.v1.TransferableOfferOrBuilder getTransferableOff
       }
     }
     /**
-     *
-     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -925,12 +844,10 @@ public com.google.cloud.channel.v1.TransferableOfferOrBuilder getTransferableOff
      * repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;
      */
     public com.google.cloud.channel.v1.TransferableOffer.Builder addTransferableOffersBuilder() {
-      return getTransferableOffersFieldBuilder()
-          .addBuilder(com.google.cloud.channel.v1.TransferableOffer.getDefaultInstance());
+      return getTransferableOffersFieldBuilder().addBuilder(
+          com.google.cloud.channel.v1.TransferableOffer.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -940,12 +857,10 @@ public com.google.cloud.channel.v1.TransferableOffer.Builder addTransferableOffe
      */
     public com.google.cloud.channel.v1.TransferableOffer.Builder addTransferableOffersBuilder(
         int index) {
-      return getTransferableOffersFieldBuilder()
-          .addBuilder(index, com.google.cloud.channel.v1.TransferableOffer.getDefaultInstance());
+      return getTransferableOffersFieldBuilder().addBuilder(
+          index, com.google.cloud.channel.v1.TransferableOffer.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -953,22 +868,16 @@ public com.google.cloud.channel.v1.TransferableOffer.Builder addTransferableOffe
      *
      * repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;
      */
-    public java.util.List
-        getTransferableOffersBuilderList() {
+    public java.util.List 
+         getTransferableOffersBuilderList() {
       return getTransferableOffersFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.channel.v1.TransferableOffer,
-            com.google.cloud.channel.v1.TransferableOffer.Builder,
-            com.google.cloud.channel.v1.TransferableOfferOrBuilder>
+        com.google.cloud.channel.v1.TransferableOffer, com.google.cloud.channel.v1.TransferableOffer.Builder, com.google.cloud.channel.v1.TransferableOfferOrBuilder> 
         getTransferableOffersFieldBuilder() {
       if (transferableOffersBuilder_ == null) {
-        transferableOffersBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.channel.v1.TransferableOffer,
-                com.google.cloud.channel.v1.TransferableOffer.Builder,
-                com.google.cloud.channel.v1.TransferableOfferOrBuilder>(
+        transferableOffersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.channel.v1.TransferableOffer, com.google.cloud.channel.v1.TransferableOffer.Builder, com.google.cloud.channel.v1.TransferableOfferOrBuilder>(
                 transferableOffers_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -980,22 +889,21 @@ public com.google.cloud.channel.v1.TransferableOffer.Builder addTransferableOffe
 
     private java.lang.Object nextPageToken_ = "";
     /**
-     *
-     *
      * 
      * A token to retrieve the next page of results.
-     * Pass to [ListTransferableOffersRequest.page_token][google.cloud.channel.v1.ListTransferableOffersRequest.page_token] to obtain
-     * that page.
+     * Pass to
+     * [ListTransferableOffersRequest.page_token][google.cloud.channel.v1.ListTransferableOffersRequest.page_token]
+     * to obtain that page.
      * 
* * 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; @@ -1004,23 +912,23 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve the next page of results.
-     * Pass to [ListTransferableOffersRequest.page_token][google.cloud.channel.v1.ListTransferableOffersRequest.page_token] to obtain
-     * that page.
+     * Pass to
+     * [ListTransferableOffersRequest.page_token][google.cloud.channel.v1.ListTransferableOffersRequest.page_token]
+     * to obtain that page.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1028,74 +936,70 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve the next page of results.
-     * Pass to [ListTransferableOffersRequest.page_token][google.cloud.channel.v1.ListTransferableOffersRequest.page_token] to obtain
-     * that page.
+     * Pass to
+     * [ListTransferableOffersRequest.page_token][google.cloud.channel.v1.ListTransferableOffersRequest.page_token]
+     * to obtain that page.
      * 
* * 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 to retrieve the next page of results.
-     * Pass to [ListTransferableOffersRequest.page_token][google.cloud.channel.v1.ListTransferableOffersRequest.page_token] to obtain
-     * that page.
+     * Pass to
+     * [ListTransferableOffersRequest.page_token][google.cloud.channel.v1.ListTransferableOffersRequest.page_token]
+     * to obtain that page.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
-     * Pass to [ListTransferableOffersRequest.page_token][google.cloud.channel.v1.ListTransferableOffersRequest.page_token] to obtain
-     * that page.
+     * Pass to
+     * [ListTransferableOffersRequest.page_token][google.cloud.channel.v1.ListTransferableOffersRequest.page_token]
+     * to obtain that page.
      * 
* * 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); } @@ -1105,12 +1009,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListTransferableOffersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListTransferableOffersResponse) private static final com.google.cloud.channel.v1.ListTransferableOffersResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListTransferableOffersResponse(); } @@ -1119,27 +1023,27 @@ public static com.google.cloud.channel.v1.ListTransferableOffersResponse getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferableOffersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferableOffersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1154,4 +1058,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.cloud.channel.v1.ListTransferableOffersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponseOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponseOrBuilder.java similarity index 64% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponseOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponseOrBuilder.java index 36f0dddbe912..656beab17c71 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponseOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponseOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListTransferableOffersResponseOrBuilder - extends +public interface ListTransferableOffersResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListTransferableOffersResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Information about Offers for a customer that can be used for
    * transfer.
@@ -33,10 +15,9 @@ public interface ListTransferableOffersResponseOrBuilder
    *
    * repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;
    */
-  java.util.List getTransferableOffersList();
+  java.util.List 
+      getTransferableOffersList();
   /**
-   *
-   *
    * 
    * Information about Offers for a customer that can be used for
    * transfer.
@@ -46,8 +27,6 @@ public interface ListTransferableOffersResponseOrBuilder
    */
   com.google.cloud.channel.v1.TransferableOffer getTransferableOffers(int index);
   /**
-   *
-   *
    * 
    * Information about Offers for a customer that can be used for
    * transfer.
@@ -57,8 +36,6 @@ public interface ListTransferableOffersResponseOrBuilder
    */
   int getTransferableOffersCount();
   /**
-   *
-   *
    * 
    * Information about Offers for a customer that can be used for
    * transfer.
@@ -66,11 +43,9 @@ public interface ListTransferableOffersResponseOrBuilder
    *
    * repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;
    */
-  java.util.List
+  java.util.List 
       getTransferableOffersOrBuilderList();
   /**
-   *
-   *
    * 
    * Information about Offers for a customer that can be used for
    * transfer.
@@ -78,34 +53,32 @@ public interface ListTransferableOffersResponseOrBuilder
    *
    * repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;
    */
-  com.google.cloud.channel.v1.TransferableOfferOrBuilder getTransferableOffersOrBuilder(int index);
+  com.google.cloud.channel.v1.TransferableOfferOrBuilder getTransferableOffersOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * A token to retrieve the next page of results.
-   * Pass to [ListTransferableOffersRequest.page_token][google.cloud.channel.v1.ListTransferableOffersRequest.page_token] to obtain
-   * that page.
+   * Pass to
+   * [ListTransferableOffersRequest.page_token][google.cloud.channel.v1.ListTransferableOffersRequest.page_token]
+   * to obtain that page.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve the next page of results.
-   * Pass to [ListTransferableOffersRequest.page_token][google.cloud.channel.v1.ListTransferableOffersRequest.page_token] to obtain
-   * that page.
+   * Pass to
+   * [ListTransferableOffersRequest.page_token][google.cloud.channel.v1.ListTransferableOffersRequest.page_token]
+   * to obtain that page.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequest.java similarity index 72% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequest.java index 4ae5aca2aaf0..18be780adc34 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequest.java @@ -1,42 +1,25 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Request message for [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus]
+ * Request message for
+ * [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus]
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListTransferableSkusRequest} */ -public final class ListTransferableSkusRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTransferableSkusRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListTransferableSkusRequest) ListTransferableSkusRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTransferableSkusRequest.newBuilder() to construct. private ListTransferableSkusRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTransferableSkusRequest() { parent_ = ""; pageToken_ = ""; @@ -46,42 +29,38 @@ private ListTransferableSkusRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTransferableSkusRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListTransferableSkusRequest.class, - com.google.cloud.channel.v1.ListTransferableSkusRequest.Builder.class); + com.google.cloud.channel.v1.ListTransferableSkusRequest.class, com.google.cloud.channel.v1.ListTransferableSkusRequest.Builder.class); } private int transferredCustomerIdentityCase_ = 0; private java.lang.Object transferredCustomerIdentity_; - public enum TransferredCustomerIdentityCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CLOUD_IDENTITY_ID(4), CUSTOMER_NAME(7), TRANSFERREDCUSTOMERIDENTITY_NOT_SET(0); private final int value; - private TransferredCustomerIdentityCase(int value) { this.value = value; } @@ -97,50 +76,41 @@ public static TransferredCustomerIdentityCase valueOf(int value) { public static TransferredCustomerIdentityCase forNumber(int value) { switch (value) { - case 4: - return CLOUD_IDENTITY_ID; - case 7: - return CUSTOMER_NAME; - case 0: - return TRANSFERREDCUSTOMERIDENTITY_NOT_SET; - default: - return null; + case 4: return CLOUD_IDENTITY_ID; + case 7: return CUSTOMER_NAME; + case 0: return TRANSFERREDCUSTOMERIDENTITY_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TransferredCustomerIdentityCase getTransferredCustomerIdentityCase() { - return TransferredCustomerIdentityCase.forNumber(transferredCustomerIdentityCase_); + public TransferredCustomerIdentityCase + getTransferredCustomerIdentityCase() { + return TransferredCustomerIdentityCase.forNumber( + transferredCustomerIdentityCase_); } public static final int CLOUD_IDENTITY_ID_FIELD_NUMBER = 4; /** - * - * *
    * Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 4; - * * @return Whether the cloudIdentityId field is set. */ public boolean hasCloudIdentityId() { return transferredCustomerIdentityCase_ == 4; } /** - * - * *
    * Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 4; - * * @return The cloudIdentityId. */ public java.lang.String getCloudIdentityId() { @@ -151,7 +121,8 @@ public java.lang.String getCloudIdentityId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (transferredCustomerIdentityCase_ == 4) { transferredCustomerIdentity_ = s; @@ -160,24 +131,23 @@ public java.lang.String getCloudIdentityId() { } } /** - * - * *
    * Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 4; - * * @return The bytes for cloudIdentityId. */ - public com.google.protobuf.ByteString getCloudIdentityIdBytes() { + public com.google.protobuf.ByteString + getCloudIdentityIdBytes() { java.lang.Object ref = ""; if (transferredCustomerIdentityCase_ == 4) { ref = transferredCustomerIdentity_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (transferredCustomerIdentityCase_ == 4) { transferredCustomerIdentity_ = b; } @@ -189,8 +159,6 @@ public com.google.protobuf.ByteString getCloudIdentityIdBytes() { public static final int CUSTOMER_NAME_FIELD_NUMBER = 7; /** - * - * *
    * A reseller is required to create a customer and use the resource name of
    * the created customer here.
@@ -199,15 +167,12 @@ public com.google.protobuf.ByteString getCloudIdentityIdBytes() {
    * 
* * string customer_name = 7; - * * @return Whether the customerName field is set. */ public boolean hasCustomerName() { return transferredCustomerIdentityCase_ == 7; } /** - * - * *
    * A reseller is required to create a customer and use the resource name of
    * the created customer here.
@@ -216,7 +181,6 @@ public boolean hasCustomerName() {
    * 
* * string customer_name = 7; - * * @return The customerName. */ public java.lang.String getCustomerName() { @@ -227,7 +191,8 @@ public java.lang.String getCustomerName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (transferredCustomerIdentityCase_ == 7) { transferredCustomerIdentity_ = s; @@ -236,8 +201,6 @@ public java.lang.String getCustomerName() { } } /** - * - * *
    * A reseller is required to create a customer and use the resource name of
    * the created customer here.
@@ -246,17 +209,18 @@ public java.lang.String getCustomerName() {
    * 
* * string customer_name = 7; - * * @return The bytes for customerName. */ - public com.google.protobuf.ByteString getCustomerNameBytes() { + public com.google.protobuf.ByteString + getCustomerNameBytes() { java.lang.Object ref = ""; if (transferredCustomerIdentityCase_ == 7) { ref = transferredCustomerIdentity_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (transferredCustomerIdentityCase_ == 7) { transferredCustomerIdentity_ = b; } @@ -269,15 +233,12 @@ public com.google.protobuf.ByteString getCustomerNameBytes() { public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The reseller account's resource name.
    * Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -286,30 +247,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 reseller account's resource name.
    * Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -320,8 +281,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The requested page size. Server might return fewer results than requested.
    * If unspecified, returns at most 100 SKUs.
@@ -330,7 +289,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -341,18 +299,16 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A token for a page of results other than the first page.
    * Obtained using
-   * [ListTransferableSkusResponse.next_page_token][google.cloud.channel.v1.ListTransferableSkusResponse.next_page_token] of the previous
-   * [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus] call.
-   * Optional.
+   * [ListTransferableSkusResponse.next_page_token][google.cloud.channel.v1.ListTransferableSkusResponse.next_page_token]
+   * of the previous
+   * [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus]
+   * call. Optional.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -361,33 +317,34 @@ 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 token for a page of results other than the first page.
    * Obtained using
-   * [ListTransferableSkusResponse.next_page_token][google.cloud.channel.v1.ListTransferableSkusResponse.next_page_token] of the previous
-   * [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus] call.
-   * Optional.
+   * [ListTransferableSkusResponse.next_page_token][google.cloud.channel.v1.ListTransferableSkusResponse.next_page_token]
+   * of the previous
+   * [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus]
+   * call. Optional.
    * 
* * 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 { @@ -398,8 +355,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int AUTH_TOKEN_FIELD_NUMBER = 5; private volatile java.lang.Object authToken_; /** - * - * *
    * Optional. The super admin of the resold customer generates this token to
    * authorize a reseller to access their Cloud Identity and purchase
@@ -408,7 +363,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string auth_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The authToken. */ @java.lang.Override @@ -417,15 +371,14 @@ public java.lang.String getAuthToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authToken_ = s; return s; } } /** - * - * *
    * Optional. The super admin of the resold customer generates this token to
    * authorize a reseller to access their Cloud Identity and purchase
@@ -434,15 +387,16 @@ public java.lang.String getAuthToken() {
    * 
* * string auth_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for authToken. */ @java.lang.Override - public com.google.protobuf.ByteString getAuthTokenBytes() { + public com.google.protobuf.ByteString + getAuthTokenBytes() { java.lang.Object ref = authToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); authToken_ = b; return b; } else { @@ -453,8 +407,6 @@ public com.google.protobuf.ByteString getAuthTokenBytes() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 6; private volatile java.lang.Object languageCode_; /** - * - * *
    * The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -463,7 +415,6 @@ public com.google.protobuf.ByteString getAuthTokenBytes() {
    * 
* * string language_code = 6; - * * @return The languageCode. */ @java.lang.Override @@ -472,15 +423,14 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** - * - * *
    * The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -489,15 +439,16 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 6; - * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -506,7 +457,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -518,7 +468,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -553,14 +504,14 @@ 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_); } if (transferredCustomerIdentityCase_ == 4) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(4, transferredCustomerIdentity_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, transferredCustomerIdentity_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, authToken_); @@ -569,8 +520,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, languageCode_); } if (transferredCustomerIdentityCase_ == 7) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(7, transferredCustomerIdentity_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, transferredCustomerIdentity_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -580,27 +530,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.ListTransferableSkusRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListTransferableSkusRequest other = - (com.google.cloud.channel.v1.ListTransferableSkusRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getAuthToken().equals(other.getAuthToken())) return false; - if (!getLanguageCode().equals(other.getLanguageCode())) return false; - if (!getTransferredCustomerIdentityCase().equals(other.getTransferredCustomerIdentityCase())) - return false; + com.google.cloud.channel.v1.ListTransferableSkusRequest other = (com.google.cloud.channel.v1.ListTransferableSkusRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getAuthToken() + .equals(other.getAuthToken())) return false; + if (!getLanguageCode() + .equals(other.getLanguageCode())) return false; + if (!getTransferredCustomerIdentityCase().equals(other.getTransferredCustomerIdentityCase())) return false; switch (transferredCustomerIdentityCase_) { case 4: - if (!getCloudIdentityId().equals(other.getCloudIdentityId())) return false; + if (!getCloudIdentityId() + .equals(other.getCloudIdentityId())) return false; break; case 7: - if (!getCustomerName().equals(other.getCustomerName())) return false; + if (!getCustomerName() + .equals(other.getCustomerName())) return false; break; case 0: default: @@ -644,136 +599,130 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListTransferableSkusRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListTransferableSkusRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListTransferableSkusRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListTransferableSkusRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListTransferableSkusRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListTransferableSkusRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListTransferableSkusRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListTransferableSkusRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListTransferableSkusRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListTransferableSkusRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListTransferableSkusRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListTransferableSkusRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListTransferableSkusRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListTransferableSkusRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.ListTransferableSkusRequest prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.ListTransferableSkusRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Request message for [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus]
+   * Request message for
+   * [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus]
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListTransferableSkusRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListTransferableSkusRequest) com.google.cloud.channel.v1.ListTransferableSkusRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListTransferableSkusRequest.class, - com.google.cloud.channel.v1.ListTransferableSkusRequest.Builder.class); + com.google.cloud.channel.v1.ListTransferableSkusRequest.class, com.google.cloud.channel.v1.ListTransferableSkusRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.ListTransferableSkusRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -793,9 +742,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_descriptor; } @java.lang.Override @@ -814,8 +763,7 @@ public com.google.cloud.channel.v1.ListTransferableSkusRequest build() { @java.lang.Override public com.google.cloud.channel.v1.ListTransferableSkusRequest buildPartial() { - com.google.cloud.channel.v1.ListTransferableSkusRequest result = - new com.google.cloud.channel.v1.ListTransferableSkusRequest(this); + com.google.cloud.channel.v1.ListTransferableSkusRequest result = new com.google.cloud.channel.v1.ListTransferableSkusRequest(this); if (transferredCustomerIdentityCase_ == 4) { result.transferredCustomerIdentity_ = transferredCustomerIdentity_; } @@ -836,39 +784,38 @@ public com.google.cloud.channel.v1.ListTransferableSkusRequest 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.cloud.channel.v1.ListTransferableSkusRequest) { - return mergeFrom((com.google.cloud.channel.v1.ListTransferableSkusRequest) other); + return mergeFrom((com.google.cloud.channel.v1.ListTransferableSkusRequest)other); } else { super.mergeFrom(other); return this; @@ -876,8 +823,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ListTransferableSkusRequest other) { - if (other == com.google.cloud.channel.v1.ListTransferableSkusRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.ListTransferableSkusRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -898,24 +844,21 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ListTransferableSkusRequest onChanged(); } switch (other.getTransferredCustomerIdentityCase()) { - case CLOUD_IDENTITY_ID: - { - transferredCustomerIdentityCase_ = 4; - transferredCustomerIdentity_ = other.transferredCustomerIdentity_; - onChanged(); - break; - } - case CUSTOMER_NAME: - { - transferredCustomerIdentityCase_ = 7; - transferredCustomerIdentity_ = other.transferredCustomerIdentity_; - onChanged(); - break; - } - case TRANSFERREDCUSTOMERIDENTITY_NOT_SET: - { - break; - } + case CLOUD_IDENTITY_ID: { + transferredCustomerIdentityCase_ = 4; + transferredCustomerIdentity_ = other.transferredCustomerIdentity_; + onChanged(); + break; + } + case CUSTOMER_NAME: { + transferredCustomerIdentityCase_ = 7; + transferredCustomerIdentity_ = other.transferredCustomerIdentity_; + onChanged(); + break; + } + case TRANSFERREDCUSTOMERIDENTITY_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -943,57 +886,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - transferredCustomerIdentityCase_ = 4; - transferredCustomerIdentity_ = s; - break; - } // case 34 - case 42: - { - authToken_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 50: - { - languageCode_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - transferredCustomerIdentityCase_ = 7; - transferredCustomerIdentity_ = s; - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + transferredCustomerIdentityCase_ = 4; + transferredCustomerIdentity_ = s; + break; + } // case 34 + case 42: { + authToken_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 50: { + languageCode_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + transferredCustomerIdentityCase_ = 7; + transferredCustomerIdentity_ = s; + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1003,12 +938,12 @@ public Builder mergeFrom( } // finally return this; } - private int transferredCustomerIdentityCase_ = 0; private java.lang.Object transferredCustomerIdentity_; - - public TransferredCustomerIdentityCase getTransferredCustomerIdentityCase() { - return TransferredCustomerIdentityCase.forNumber(transferredCustomerIdentityCase_); + public TransferredCustomerIdentityCase + getTransferredCustomerIdentityCase() { + return TransferredCustomerIdentityCase.forNumber( + transferredCustomerIdentityCase_); } public Builder clearTransferredCustomerIdentity() { @@ -1018,15 +953,13 @@ public Builder clearTransferredCustomerIdentity() { return this; } + /** - * - * *
      * Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 4; - * * @return Whether the cloudIdentityId field is set. */ @java.lang.Override @@ -1034,14 +967,11 @@ public boolean hasCloudIdentityId() { return transferredCustomerIdentityCase_ == 4; } /** - * - * *
      * Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 4; - * * @return The cloudIdentityId. */ @java.lang.Override @@ -1051,7 +981,8 @@ public java.lang.String getCloudIdentityId() { ref = transferredCustomerIdentity_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (transferredCustomerIdentityCase_ == 4) { transferredCustomerIdentity_ = s; @@ -1062,25 +993,24 @@ public java.lang.String getCloudIdentityId() { } } /** - * - * *
      * Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 4; - * * @return The bytes for cloudIdentityId. */ @java.lang.Override - public com.google.protobuf.ByteString getCloudIdentityIdBytes() { + public com.google.protobuf.ByteString + getCloudIdentityIdBytes() { java.lang.Object ref = ""; if (transferredCustomerIdentityCase_ == 4) { ref = transferredCustomerIdentity_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (transferredCustomerIdentityCase_ == 4) { transferredCustomerIdentity_ = b; } @@ -1090,35 +1020,30 @@ public com.google.protobuf.ByteString getCloudIdentityIdBytes() { } } /** - * - * *
      * Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 4; - * * @param value The cloudIdentityId to set. * @return This builder for chaining. */ - public Builder setCloudIdentityId(java.lang.String value) { + public Builder setCloudIdentityId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - transferredCustomerIdentityCase_ = 4; + throw new NullPointerException(); + } + transferredCustomerIdentityCase_ = 4; transferredCustomerIdentity_ = value; onChanged(); return this; } /** - * - * *
      * Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 4; - * * @return This builder for chaining. */ public Builder clearCloudIdentityId() { @@ -1130,22 +1055,20 @@ public Builder clearCloudIdentityId() { return this; } /** - * - * *
      * Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 4; - * * @param value The bytes for cloudIdentityId to set. * @return This builder for chaining. */ - public Builder setCloudIdentityIdBytes(com.google.protobuf.ByteString value) { + public Builder setCloudIdentityIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); transferredCustomerIdentityCase_ = 4; transferredCustomerIdentity_ = value; onChanged(); @@ -1153,8 +1076,6 @@ public Builder setCloudIdentityIdBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * A reseller is required to create a customer and use the resource name of
      * the created customer here.
@@ -1163,7 +1084,6 @@ public Builder setCloudIdentityIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string customer_name = 7; - * * @return Whether the customerName field is set. */ @java.lang.Override @@ -1171,8 +1091,6 @@ public boolean hasCustomerName() { return transferredCustomerIdentityCase_ == 7; } /** - * - * *
      * A reseller is required to create a customer and use the resource name of
      * the created customer here.
@@ -1181,7 +1099,6 @@ public boolean hasCustomerName() {
      * 
* * string customer_name = 7; - * * @return The customerName. */ @java.lang.Override @@ -1191,7 +1108,8 @@ public java.lang.String getCustomerName() { ref = transferredCustomerIdentity_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (transferredCustomerIdentityCase_ == 7) { transferredCustomerIdentity_ = s; @@ -1202,8 +1120,6 @@ public java.lang.String getCustomerName() { } } /** - * - * *
      * A reseller is required to create a customer and use the resource name of
      * the created customer here.
@@ -1212,18 +1128,19 @@ public java.lang.String getCustomerName() {
      * 
* * string customer_name = 7; - * * @return The bytes for customerName. */ @java.lang.Override - public com.google.protobuf.ByteString getCustomerNameBytes() { + public com.google.protobuf.ByteString + getCustomerNameBytes() { java.lang.Object ref = ""; if (transferredCustomerIdentityCase_ == 7) { ref = transferredCustomerIdentity_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (transferredCustomerIdentityCase_ == 7) { transferredCustomerIdentity_ = b; } @@ -1233,8 +1150,6 @@ public com.google.protobuf.ByteString getCustomerNameBytes() { } } /** - * - * *
      * A reseller is required to create a customer and use the resource name of
      * the created customer here.
@@ -1243,22 +1158,20 @@ public com.google.protobuf.ByteString getCustomerNameBytes() {
      * 
* * string customer_name = 7; - * * @param value The customerName to set. * @return This builder for chaining. */ - public Builder setCustomerName(java.lang.String value) { + public Builder setCustomerName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - transferredCustomerIdentityCase_ = 7; + throw new NullPointerException(); + } + transferredCustomerIdentityCase_ = 7; transferredCustomerIdentity_ = value; onChanged(); return this; } /** - * - * *
      * A reseller is required to create a customer and use the resource name of
      * the created customer here.
@@ -1267,7 +1180,6 @@ public Builder setCustomerName(java.lang.String value) {
      * 
* * string customer_name = 7; - * * @return This builder for chaining. */ public Builder clearCustomerName() { @@ -1279,8 +1191,6 @@ public Builder clearCustomerName() { return this; } /** - * - * *
      * A reseller is required to create a customer and use the resource name of
      * the created customer here.
@@ -1289,15 +1199,15 @@ public Builder clearCustomerName() {
      * 
* * string customer_name = 7; - * * @param value The bytes for customerName to set. * @return This builder for chaining. */ - public Builder setCustomerNameBytes(com.google.protobuf.ByteString value) { + public Builder setCustomerNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); transferredCustomerIdentityCase_ = 7; transferredCustomerIdentity_ = value; onChanged(); @@ -1306,21 +1216,19 @@ public Builder setCustomerNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The reseller account's resource name.
      * Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -1329,22 +1237,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The reseller account's resource name.
      * Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -1352,73 +1259,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The reseller account's resource name.
      * Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 reseller account's resource name.
      * Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The reseller account's resource name.
      * Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 requested page size. Server might return fewer results than requested.
      * If unspecified, returns at most 100 SKUs.
@@ -1427,7 +1325,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -1435,8 +1332,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The requested page size. Server might return fewer results than requested.
      * If unspecified, returns at most 100 SKUs.
@@ -1445,19 +1340,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 requested page size. Server might return fewer results than requested.
      * If unspecified, returns at most 100 SKUs.
@@ -1466,11 +1358,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1478,24 +1369,23 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token for a page of results other than the first page.
      * Obtained using
-     * [ListTransferableSkusResponse.next_page_token][google.cloud.channel.v1.ListTransferableSkusResponse.next_page_token] of the previous
-     * [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus] call.
-     * Optional.
+     * [ListTransferableSkusResponse.next_page_token][google.cloud.channel.v1.ListTransferableSkusResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus]
+     * call. Optional.
      * 
* * 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; @@ -1504,25 +1394,25 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token for a page of results other than the first page.
      * Obtained using
-     * [ListTransferableSkusResponse.next_page_token][google.cloud.channel.v1.ListTransferableSkusResponse.next_page_token] of the previous
-     * [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus] call.
-     * Optional.
+     * [ListTransferableSkusResponse.next_page_token][google.cloud.channel.v1.ListTransferableSkusResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus]
+     * call. Optional.
      * 
* * 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 { @@ -1530,73 +1420,69 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token for a page of results other than the first page.
      * Obtained using
-     * [ListTransferableSkusResponse.next_page_token][google.cloud.channel.v1.ListTransferableSkusResponse.next_page_token] of the previous
-     * [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus] call.
-     * Optional.
+     * [ListTransferableSkusResponse.next_page_token][google.cloud.channel.v1.ListTransferableSkusResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus]
+     * call. Optional.
      * 
* * 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 token for a page of results other than the first page.
      * Obtained using
-     * [ListTransferableSkusResponse.next_page_token][google.cloud.channel.v1.ListTransferableSkusResponse.next_page_token] of the previous
-     * [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus] call.
-     * Optional.
+     * [ListTransferableSkusResponse.next_page_token][google.cloud.channel.v1.ListTransferableSkusResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus]
+     * call. Optional.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A token for a page of results other than the first page.
      * Obtained using
-     * [ListTransferableSkusResponse.next_page_token][google.cloud.channel.v1.ListTransferableSkusResponse.next_page_token] of the previous
-     * [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus] call.
-     * Optional.
+     * [ListTransferableSkusResponse.next_page_token][google.cloud.channel.v1.ListTransferableSkusResponse.next_page_token]
+     * of the previous
+     * [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus]
+     * call. Optional.
      * 
* * 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; @@ -1604,8 +1490,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object authToken_ = ""; /** - * - * *
      * Optional. The super admin of the resold customer generates this token to
      * authorize a reseller to access their Cloud Identity and purchase
@@ -1614,13 +1498,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string auth_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The authToken. */ public java.lang.String getAuthToken() { java.lang.Object ref = authToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authToken_ = s; return s; @@ -1629,8 +1513,6 @@ public java.lang.String getAuthToken() { } } /** - * - * *
      * Optional. The super admin of the resold customer generates this token to
      * authorize a reseller to access their Cloud Identity and purchase
@@ -1639,14 +1521,15 @@ public java.lang.String getAuthToken() {
      * 
* * string auth_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for authToken. */ - public com.google.protobuf.ByteString getAuthTokenBytes() { + public com.google.protobuf.ByteString + getAuthTokenBytes() { java.lang.Object ref = authToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); authToken_ = b; return b; } else { @@ -1654,8 +1537,6 @@ public com.google.protobuf.ByteString getAuthTokenBytes() { } } /** - * - * *
      * Optional. The super admin of the resold customer generates this token to
      * authorize a reseller to access their Cloud Identity and purchase
@@ -1664,22 +1545,20 @@ public com.google.protobuf.ByteString getAuthTokenBytes() {
      * 
* * string auth_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The authToken to set. * @return This builder for chaining. */ - public Builder setAuthToken(java.lang.String value) { + public Builder setAuthToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + authToken_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The super admin of the resold customer generates this token to
      * authorize a reseller to access their Cloud Identity and purchase
@@ -1688,18 +1567,15 @@ public Builder setAuthToken(java.lang.String value) {
      * 
* * string auth_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearAuthToken() { - + authToken_ = getDefaultInstance().getAuthToken(); onChanged(); return this; } /** - * - * *
      * Optional. The super admin of the resold customer generates this token to
      * authorize a reseller to access their Cloud Identity and purchase
@@ -1708,16 +1584,16 @@ public Builder clearAuthToken() {
      * 
* * string auth_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for authToken to set. * @return This builder for chaining. */ - public Builder setAuthTokenBytes(com.google.protobuf.ByteString value) { + public Builder setAuthTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + authToken_ = value; onChanged(); return this; @@ -1725,8 +1601,6 @@ public Builder setAuthTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object languageCode_ = ""; /** - * - * *
      * The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1735,13 +1609,13 @@ public Builder setAuthTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string language_code = 6; - * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -1750,8 +1624,6 @@ public java.lang.String getLanguageCode() { } } /** - * - * *
      * The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1760,14 +1632,15 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 6; - * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -1775,8 +1648,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } } /** - * - * *
      * The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1785,22 +1656,20 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      * 
* * string language_code = 6; - * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode(java.lang.String value) { + public Builder setLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** - * - * *
      * The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1809,18 +1678,15 @@ public Builder setLanguageCode(java.lang.String value) {
      * 
* * string language_code = 6; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** - * - * *
      * The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1829,23 +1695,23 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 6; - * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = 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); } @@ -1855,12 +1721,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListTransferableSkusRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListTransferableSkusRequest) private static final com.google.cloud.channel.v1.ListTransferableSkusRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListTransferableSkusRequest(); } @@ -1869,27 +1735,27 @@ public static com.google.cloud.channel.v1.ListTransferableSkusRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferableSkusRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferableSkusRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1904,4 +1770,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.channel.v1.ListTransferableSkusRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequestOrBuilder.java similarity index 76% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequestOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequestOrBuilder.java index 7198bc6c19a1..88e75546cbf3 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequestOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequestOrBuilder.java @@ -1,68 +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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListTransferableSkusRequestOrBuilder - extends +public interface ListTransferableSkusRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListTransferableSkusRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 4; - * * @return Whether the cloudIdentityId field is set. */ boolean hasCloudIdentityId(); /** - * - * *
    * Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 4; - * * @return The cloudIdentityId. */ java.lang.String getCloudIdentityId(); /** - * - * *
    * Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 4; - * * @return The bytes for cloudIdentityId. */ - com.google.protobuf.ByteString getCloudIdentityIdBytes(); + com.google.protobuf.ByteString + getCloudIdentityIdBytes(); /** - * - * *
    * A reseller is required to create a customer and use the resource name of
    * the created customer here.
@@ -71,13 +45,10 @@ public interface ListTransferableSkusRequestOrBuilder
    * 
* * string customer_name = 7; - * * @return Whether the customerName field is set. */ boolean hasCustomerName(); /** - * - * *
    * A reseller is required to create a customer and use the resource name of
    * the created customer here.
@@ -86,13 +57,10 @@ public interface ListTransferableSkusRequestOrBuilder
    * 
* * string customer_name = 7; - * * @return The customerName. */ java.lang.String getCustomerName(); /** - * - * *
    * A reseller is required to create a customer and use the resource name of
    * the created customer here.
@@ -101,41 +69,34 @@ public interface ListTransferableSkusRequestOrBuilder
    * 
* * string customer_name = 7; - * * @return The bytes for customerName. */ - com.google.protobuf.ByteString getCustomerNameBytes(); + com.google.protobuf.ByteString + getCustomerNameBytes(); /** - * - * *
    * Required. The reseller account's resource name.
    * Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The reseller account's resource name.
    * Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The requested page size. Server might return fewer results than requested.
    * If unspecified, returns at most 100 SKUs.
@@ -144,47 +105,41 @@ public interface ListTransferableSkusRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token for a page of results other than the first page.
    * Obtained using
-   * [ListTransferableSkusResponse.next_page_token][google.cloud.channel.v1.ListTransferableSkusResponse.next_page_token] of the previous
-   * [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus] call.
-   * Optional.
+   * [ListTransferableSkusResponse.next_page_token][google.cloud.channel.v1.ListTransferableSkusResponse.next_page_token]
+   * of the previous
+   * [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus]
+   * call. Optional.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token for a page of results other than the first page.
    * Obtained using
-   * [ListTransferableSkusResponse.next_page_token][google.cloud.channel.v1.ListTransferableSkusResponse.next_page_token] of the previous
-   * [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus] call.
-   * Optional.
+   * [ListTransferableSkusResponse.next_page_token][google.cloud.channel.v1.ListTransferableSkusResponse.next_page_token]
+   * of the previous
+   * [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus]
+   * call. Optional.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. The super admin of the resold customer generates this token to
    * authorize a reseller to access their Cloud Identity and purchase
@@ -193,13 +148,10 @@ public interface ListTransferableSkusRequestOrBuilder
    * 
* * string auth_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The authToken. */ java.lang.String getAuthToken(); /** - * - * *
    * Optional. The super admin of the resold customer generates this token to
    * authorize a reseller to access their Cloud Identity and purchase
@@ -208,14 +160,12 @@ public interface ListTransferableSkusRequestOrBuilder
    * 
* * string auth_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for authToken. */ - com.google.protobuf.ByteString getAuthTokenBytes(); + com.google.protobuf.ByteString + getAuthTokenBytes(); /** - * - * *
    * The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -224,13 +174,10 @@ public interface ListTransferableSkusRequestOrBuilder
    * 
* * string language_code = 6; - * * @return The languageCode. */ java.lang.String getLanguageCode(); /** - * - * *
    * The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -239,11 +186,10 @@ public interface ListTransferableSkusRequestOrBuilder
    * 
* * string language_code = 6; - * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString getLanguageCodeBytes(); + com.google.protobuf.ByteString + getLanguageCodeBytes(); - public com.google.cloud.channel.v1.ListTransferableSkusRequest.TransferredCustomerIdentityCase - getTransferredCustomerIdentityCase(); + public com.google.cloud.channel.v1.ListTransferableSkusRequest.TransferredCustomerIdentityCase getTransferredCustomerIdentityCase(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponse.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponse.java similarity index 71% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponse.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponse.java index 90d0b5176bfa..aa67f0dd18ae 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponse.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponse.java @@ -1,42 +1,25 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Response message for [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus].
+ * Response message for
+ * [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus].
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListTransferableSkusResponse} */ -public final class ListTransferableSkusResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTransferableSkusResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListTransferableSkusResponse) ListTransferableSkusResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTransferableSkusResponse.newBuilder() to construct. private ListTransferableSkusResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTransferableSkusResponse() { transferableSkus_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,35 +27,32 @@ private ListTransferableSkusResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTransferableSkusResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListTransferableSkusResponse.class, - com.google.cloud.channel.v1.ListTransferableSkusResponse.Builder.class); + com.google.cloud.channel.v1.ListTransferableSkusResponse.class, com.google.cloud.channel.v1.ListTransferableSkusResponse.Builder.class); } public static final int TRANSFERABLE_SKUS_FIELD_NUMBER = 1; private java.util.List transferableSkus_; /** - * - * *
    * Information about existing SKUs for a customer that needs a transfer.
    * 
@@ -84,8 +64,6 @@ public java.util.List getTransferab return transferableSkus_; } /** - * - * *
    * Information about existing SKUs for a customer that needs a transfer.
    * 
@@ -93,13 +71,11 @@ public java.util.List getTransferab * repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTransferableSkusOrBuilderList() { return transferableSkus_; } /** - * - * *
    * Information about existing SKUs for a customer that needs a transfer.
    * 
@@ -111,8 +87,6 @@ public int getTransferableSkusCount() { return transferableSkus_.size(); } /** - * - * *
    * Information about existing SKUs for a customer that needs a transfer.
    * 
@@ -124,8 +98,6 @@ public com.google.cloud.channel.v1.TransferableSku getTransferableSkus(int index return transferableSkus_.get(index); } /** - * - * *
    * Information about existing SKUs for a customer that needs a transfer.
    * 
@@ -141,16 +113,14 @@ public com.google.cloud.channel.v1.TransferableSkuOrBuilder getTransferableSkusO public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token to retrieve the next page of results.
-   * Pass to [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token] to obtain
-   * that page.
+   * Pass to
+   * [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token]
+   * to obtain that page.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -159,31 +129,32 @@ 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 to retrieve the next page of results.
-   * Pass to [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token] to obtain
-   * that page.
+   * Pass to
+   * [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token]
+   * to obtain that page.
    * 
* * 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 { @@ -192,7 +163,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,7 +174,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < transferableSkus_.size(); i++) { output.writeMessage(1, transferableSkus_.get(i)); } @@ -221,7 +192,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < transferableSkus_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, transferableSkus_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, transferableSkus_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -234,16 +206,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.cloud.channel.v1.ListTransferableSkusResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListTransferableSkusResponse other = - (com.google.cloud.channel.v1.ListTransferableSkusResponse) obj; + com.google.cloud.channel.v1.ListTransferableSkusResponse other = (com.google.cloud.channel.v1.ListTransferableSkusResponse) obj; - if (!getTransferableSkusList().equals(other.getTransferableSkusList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getTransferableSkusList() + .equals(other.getTransferableSkusList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -267,136 +240,130 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListTransferableSkusResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListTransferableSkusResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListTransferableSkusResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListTransferableSkusResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListTransferableSkusResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListTransferableSkusResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListTransferableSkusResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListTransferableSkusResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListTransferableSkusResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ListTransferableSkusResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ListTransferableSkusResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListTransferableSkusResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListTransferableSkusResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListTransferableSkusResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.ListTransferableSkusResponse prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.ListTransferableSkusResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus].
+   * Response message for
+   * [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus].
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListTransferableSkusResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListTransferableSkusResponse) com.google.cloud.channel.v1.ListTransferableSkusResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListTransferableSkusResponse.class, - com.google.cloud.channel.v1.ListTransferableSkusResponse.Builder.class); + com.google.cloud.channel.v1.ListTransferableSkusResponse.class, com.google.cloud.channel.v1.ListTransferableSkusResponse.Builder.class); } // Construct using com.google.cloud.channel.v1.ListTransferableSkusResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -413,9 +380,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_descriptor; } @java.lang.Override @@ -434,8 +401,7 @@ public com.google.cloud.channel.v1.ListTransferableSkusResponse build() { @java.lang.Override public com.google.cloud.channel.v1.ListTransferableSkusResponse buildPartial() { - com.google.cloud.channel.v1.ListTransferableSkusResponse result = - new com.google.cloud.channel.v1.ListTransferableSkusResponse(this); + com.google.cloud.channel.v1.ListTransferableSkusResponse result = new com.google.cloud.channel.v1.ListTransferableSkusResponse(this); int from_bitField0_ = bitField0_; if (transferableSkusBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -455,39 +421,38 @@ public com.google.cloud.channel.v1.ListTransferableSkusResponse 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.cloud.channel.v1.ListTransferableSkusResponse) { - return mergeFrom((com.google.cloud.channel.v1.ListTransferableSkusResponse) other); + return mergeFrom((com.google.cloud.channel.v1.ListTransferableSkusResponse)other); } else { super.mergeFrom(other); return this; @@ -495,8 +460,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ListTransferableSkusResponse other) { - if (other == com.google.cloud.channel.v1.ListTransferableSkusResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.ListTransferableSkusResponse.getDefaultInstance()) return this; if (transferableSkusBuilder_ == null) { if (!other.transferableSkus_.isEmpty()) { if (transferableSkus_.isEmpty()) { @@ -515,10 +479,9 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ListTransferableSkusRespons transferableSkusBuilder_ = null; transferableSkus_ = other.transferableSkus_; bitField0_ = (bitField0_ & ~0x00000001); - transferableSkusBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTransferableSkusFieldBuilder() - : null; + transferableSkusBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTransferableSkusFieldBuilder() : null; } else { transferableSkusBuilder_.addAllMessages(other.transferableSkus_); } @@ -554,32 +517,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.channel.v1.TransferableSku m = - input.readMessage( - com.google.cloud.channel.v1.TransferableSku.parser(), extensionRegistry); - if (transferableSkusBuilder_ == null) { - ensureTransferableSkusIsMutable(); - transferableSkus_.add(m); - } else { - transferableSkusBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.cloud.channel.v1.TransferableSku m = + input.readMessage( + com.google.cloud.channel.v1.TransferableSku.parser(), + extensionRegistry); + if (transferableSkusBuilder_ == null) { + ensureTransferableSkusIsMutable(); + transferableSkus_.add(m); + } else { + transferableSkusBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -589,29 +550,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List transferableSkus_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTransferableSkusIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - transferableSkus_ = - new java.util.ArrayList(transferableSkus_); + transferableSkus_ = new java.util.ArrayList(transferableSkus_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.TransferableSku, - com.google.cloud.channel.v1.TransferableSku.Builder, - com.google.cloud.channel.v1.TransferableSkuOrBuilder> - transferableSkusBuilder_; + com.google.cloud.channel.v1.TransferableSku, com.google.cloud.channel.v1.TransferableSku.Builder, com.google.cloud.channel.v1.TransferableSkuOrBuilder> transferableSkusBuilder_; /** - * - * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
@@ -626,8 +579,6 @@ public java.util.List getTransferab } } /** - * - * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
@@ -642,8 +593,6 @@ public int getTransferableSkusCount() { } } /** - * - * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
@@ -658,8 +607,6 @@ public com.google.cloud.channel.v1.TransferableSku getTransferableSkus(int index } } /** - * - * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
@@ -681,8 +628,6 @@ public Builder setTransferableSkus( return this; } /** - * - * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
@@ -701,8 +646,6 @@ public Builder setTransferableSkus( return this; } /** - * - * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
@@ -723,8 +666,6 @@ public Builder addTransferableSkus(com.google.cloud.channel.v1.TransferableSku v return this; } /** - * - * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
@@ -746,8 +687,6 @@ public Builder addTransferableSkus( return this; } /** - * - * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
@@ -766,8 +705,6 @@ public Builder addTransferableSkus( return this; } /** - * - * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
@@ -786,8 +723,6 @@ public Builder addTransferableSkus( return this; } /** - * - * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
@@ -798,7 +733,8 @@ public Builder addAllTransferableSkus( java.lang.Iterable values) { if (transferableSkusBuilder_ == null) { ensureTransferableSkusIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, transferableSkus_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, transferableSkus_); onChanged(); } else { transferableSkusBuilder_.addAllMessages(values); @@ -806,8 +742,6 @@ public Builder addAllTransferableSkus( return this; } /** - * - * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
@@ -825,8 +759,6 @@ public Builder clearTransferableSkus() { return this; } /** - * - * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
@@ -844,8 +776,6 @@ public Builder removeTransferableSkus(int index) { return this; } /** - * - * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
@@ -857,8 +787,6 @@ public com.google.cloud.channel.v1.TransferableSku.Builder getTransferableSkusBu return getTransferableSkusFieldBuilder().getBuilder(index); } /** - * - * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
@@ -868,22 +796,19 @@ public com.google.cloud.channel.v1.TransferableSku.Builder getTransferableSkusBu public com.google.cloud.channel.v1.TransferableSkuOrBuilder getTransferableSkusOrBuilder( int index) { if (transferableSkusBuilder_ == null) { - return transferableSkus_.get(index); - } else { + return transferableSkus_.get(index); } else { return transferableSkusBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
* * repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1; */ - public java.util.List - getTransferableSkusOrBuilderList() { + public java.util.List + getTransferableSkusOrBuilderList() { if (transferableSkusBuilder_ != null) { return transferableSkusBuilder_.getMessageOrBuilderList(); } else { @@ -891,8 +816,6 @@ public com.google.cloud.channel.v1.TransferableSkuOrBuilder getTransferableSkusO } } /** - * - * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
@@ -900,12 +823,10 @@ public com.google.cloud.channel.v1.TransferableSkuOrBuilder getTransferableSkusO * repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1; */ public com.google.cloud.channel.v1.TransferableSku.Builder addTransferableSkusBuilder() { - return getTransferableSkusFieldBuilder() - .addBuilder(com.google.cloud.channel.v1.TransferableSku.getDefaultInstance()); + return getTransferableSkusFieldBuilder().addBuilder( + com.google.cloud.channel.v1.TransferableSku.getDefaultInstance()); } /** - * - * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
@@ -914,34 +835,26 @@ public com.google.cloud.channel.v1.TransferableSku.Builder addTransferableSkusBu */ public com.google.cloud.channel.v1.TransferableSku.Builder addTransferableSkusBuilder( int index) { - return getTransferableSkusFieldBuilder() - .addBuilder(index, com.google.cloud.channel.v1.TransferableSku.getDefaultInstance()); + return getTransferableSkusFieldBuilder().addBuilder( + index, com.google.cloud.channel.v1.TransferableSku.getDefaultInstance()); } /** - * - * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
* * repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1; */ - public java.util.List - getTransferableSkusBuilderList() { + public java.util.List + getTransferableSkusBuilderList() { return getTransferableSkusFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.TransferableSku, - com.google.cloud.channel.v1.TransferableSku.Builder, - com.google.cloud.channel.v1.TransferableSkuOrBuilder> + com.google.cloud.channel.v1.TransferableSku, com.google.cloud.channel.v1.TransferableSku.Builder, com.google.cloud.channel.v1.TransferableSkuOrBuilder> getTransferableSkusFieldBuilder() { if (transferableSkusBuilder_ == null) { - transferableSkusBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.TransferableSku, - com.google.cloud.channel.v1.TransferableSku.Builder, - com.google.cloud.channel.v1.TransferableSkuOrBuilder>( + transferableSkusBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.TransferableSku, com.google.cloud.channel.v1.TransferableSku.Builder, com.google.cloud.channel.v1.TransferableSkuOrBuilder>( transferableSkus_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -953,22 +866,21 @@ public com.google.cloud.channel.v1.TransferableSku.Builder addTransferableSkusBu private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve the next page of results.
-     * Pass to [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token] to obtain
-     * that page.
+     * Pass to
+     * [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token]
+     * to obtain that page.
      * 
* * 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; @@ -977,23 +889,23 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve the next page of results.
-     * Pass to [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token] to obtain
-     * that page.
+     * Pass to
+     * [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token]
+     * to obtain that page.
      * 
* * 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 { @@ -1001,74 +913,70 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve the next page of results.
-     * Pass to [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token] to obtain
-     * that page.
+     * Pass to
+     * [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token]
+     * to obtain that page.
      * 
* * 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 to retrieve the next page of results.
-     * Pass to [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token] to obtain
-     * that page.
+     * Pass to
+     * [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token]
+     * to obtain that page.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
-     * Pass to [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token] to obtain
-     * that page.
+     * Pass to
+     * [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token]
+     * to obtain that page.
      * 
* * 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); } @@ -1078,12 +986,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListTransferableSkusResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListTransferableSkusResponse) private static final com.google.cloud.channel.v1.ListTransferableSkusResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListTransferableSkusResponse(); } @@ -1092,27 +1000,27 @@ public static com.google.cloud.channel.v1.ListTransferableSkusResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferableSkusResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferableSkusResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1127,4 +1035,6 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.channel.v1.ListTransferableSkusResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponseOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponseOrBuilder.java similarity index 61% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponseOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponseOrBuilder.java index d959f0167fcd..7d714bafbd8a 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponseOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponseOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListTransferableSkusResponseOrBuilder - extends +public interface ListTransferableSkusResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListTransferableSkusResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Information about existing SKUs for a customer that needs a transfer.
    * 
* * repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1; */ - java.util.List getTransferableSkusList(); + java.util.List + getTransferableSkusList(); /** - * - * *
    * Information about existing SKUs for a customer that needs a transfer.
    * 
@@ -44,8 +25,6 @@ public interface ListTransferableSkusResponseOrBuilder */ com.google.cloud.channel.v1.TransferableSku getTransferableSkus(int index); /** - * - * *
    * Information about existing SKUs for a customer that needs a transfer.
    * 
@@ -54,53 +33,47 @@ public interface ListTransferableSkusResponseOrBuilder */ int getTransferableSkusCount(); /** - * - * *
    * Information about existing SKUs for a customer that needs a transfer.
    * 
* * repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1; */ - java.util.List + java.util.List getTransferableSkusOrBuilderList(); /** - * - * *
    * Information about existing SKUs for a customer that needs a transfer.
    * 
* * repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1; */ - com.google.cloud.channel.v1.TransferableSkuOrBuilder getTransferableSkusOrBuilder(int index); + com.google.cloud.channel.v1.TransferableSkuOrBuilder getTransferableSkusOrBuilder( + int index); /** - * - * *
    * A token to retrieve the next page of results.
-   * Pass to [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token] to obtain
-   * that page.
+   * Pass to
+   * [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token]
+   * to obtain that page.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve the next page of results.
-   * Pass to [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token] to obtain
-   * that page.
+   * Pass to
+   * [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token]
+   * to obtain that page.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequest.java similarity index 63% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequest.java index 8bc449133599..a143c426d0ab 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequest.java @@ -1,87 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
  * Request message for LookupOffer.
  * 
* * Protobuf type {@code google.cloud.channel.v1.LookupOfferRequest} */ -public final class LookupOfferRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LookupOfferRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.LookupOfferRequest) LookupOfferRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LookupOfferRequest.newBuilder() to construct. private LookupOfferRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LookupOfferRequest() { entitlement_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LookupOfferRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_LookupOfferRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_LookupOfferRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_LookupOfferRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_LookupOfferRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.LookupOfferRequest.class, - com.google.cloud.channel.v1.LookupOfferRequest.Builder.class); + com.google.cloud.channel.v1.LookupOfferRequest.class, com.google.cloud.channel.v1.LookupOfferRequest.Builder.class); } public static final int ENTITLEMENT_FIELD_NUMBER = 1; private volatile java.lang.Object entitlement_; /** - * - * *
    * Required. The resource name of the entitlement to retrieve the Offer.
    * Entitlement uses the format:
    * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
    * 
* - * - * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The entitlement. */ @java.lang.Override @@ -90,33 +66,31 @@ public java.lang.String getEntitlement() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entitlement_ = s; return s; } } /** - * - * *
    * Required. The resource name of the entitlement to retrieve the Offer.
    * Entitlement uses the format:
    * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
    * 
* - * - * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for entitlement. */ @java.lang.Override - public com.google.protobuf.ByteString getEntitlementBytes() { + public com.google.protobuf.ByteString + getEntitlementBytes() { java.lang.Object ref = entitlement_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); entitlement_ = b; return b; } else { @@ -125,7 +99,6 @@ public com.google.protobuf.ByteString getEntitlementBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +110,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entitlement_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entitlement_); } @@ -161,15 +135,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.LookupOfferRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.LookupOfferRequest other = - (com.google.cloud.channel.v1.LookupOfferRequest) obj; + com.google.cloud.channel.v1.LookupOfferRequest other = (com.google.cloud.channel.v1.LookupOfferRequest) obj; - if (!getEntitlement().equals(other.getEntitlement())) return false; + if (!getEntitlement() + .equals(other.getEntitlement())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -188,136 +162,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.LookupOfferRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.LookupOfferRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.LookupOfferRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.LookupOfferRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.LookupOfferRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.LookupOfferRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.LookupOfferRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.LookupOfferRequest 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.cloud.channel.v1.LookupOfferRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.LookupOfferRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.LookupOfferRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.LookupOfferRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.LookupOfferRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.LookupOfferRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.LookupOfferRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for LookupOffer.
    * 
* * Protobuf type {@code google.cloud.channel.v1.LookupOfferRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.LookupOfferRequest) com.google.cloud.channel.v1.LookupOfferRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_LookupOfferRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_LookupOfferRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_LookupOfferRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_LookupOfferRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.LookupOfferRequest.class, - com.google.cloud.channel.v1.LookupOfferRequest.Builder.class); + com.google.cloud.channel.v1.LookupOfferRequest.class, com.google.cloud.channel.v1.LookupOfferRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.LookupOfferRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -327,9 +295,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_LookupOfferRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_LookupOfferRequest_descriptor; } @java.lang.Override @@ -348,8 +316,7 @@ public com.google.cloud.channel.v1.LookupOfferRequest build() { @java.lang.Override public com.google.cloud.channel.v1.LookupOfferRequest buildPartial() { - com.google.cloud.channel.v1.LookupOfferRequest result = - new com.google.cloud.channel.v1.LookupOfferRequest(this); + com.google.cloud.channel.v1.LookupOfferRequest result = new com.google.cloud.channel.v1.LookupOfferRequest(this); result.entitlement_ = entitlement_; onBuilt(); return result; @@ -359,39 +326,38 @@ public com.google.cloud.channel.v1.LookupOfferRequest 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.cloud.channel.v1.LookupOfferRequest) { - return mergeFrom((com.google.cloud.channel.v1.LookupOfferRequest) other); + return mergeFrom((com.google.cloud.channel.v1.LookupOfferRequest)other); } else { super.mergeFrom(other); return this; @@ -430,19 +396,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - entitlement_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + entitlement_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -455,24 +419,20 @@ public Builder mergeFrom( private java.lang.Object entitlement_ = ""; /** - * - * *
      * Required. The resource name of the entitlement to retrieve the Offer.
      * Entitlement uses the format:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
      * 
* - * - * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The entitlement. */ public java.lang.String getEntitlement() { java.lang.Object ref = entitlement_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entitlement_ = s; return s; @@ -481,25 +441,22 @@ public java.lang.String getEntitlement() { } } /** - * - * *
      * Required. The resource name of the entitlement to retrieve the Offer.
      * Entitlement uses the format:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
      * 
* - * - * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for entitlement. */ - public com.google.protobuf.ByteString getEntitlementBytes() { + public com.google.protobuf.ByteString + getEntitlementBytes() { java.lang.Object ref = entitlement_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); entitlement_ = b; return b; } else { @@ -507,80 +464,67 @@ public com.google.protobuf.ByteString getEntitlementBytes() { } } /** - * - * *
      * Required. The resource name of the entitlement to retrieve the Offer.
      * Entitlement uses the format:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
      * 
* - * - * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The entitlement to set. * @return This builder for chaining. */ - public Builder setEntitlement(java.lang.String value) { + public Builder setEntitlement( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entitlement_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the entitlement to retrieve the Offer.
      * Entitlement uses the format:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
      * 
* - * - * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearEntitlement() { - + entitlement_ = getDefaultInstance().getEntitlement(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the entitlement to retrieve the Offer.
      * Entitlement uses the format:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
      * 
* - * - * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for entitlement to set. * @return This builder for chaining. */ - public Builder setEntitlementBytes(com.google.protobuf.ByteString value) { + public Builder setEntitlementBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entitlement_ = 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); } @@ -590,12 +534,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.LookupOfferRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.LookupOfferRequest) private static final com.google.cloud.channel.v1.LookupOfferRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.LookupOfferRequest(); } @@ -604,27 +548,27 @@ public static com.google.cloud.channel.v1.LookupOfferRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LookupOfferRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LookupOfferRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -639,4 +583,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.LookupOfferRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequestOrBuilder.java new file mode 100644 index 000000000000..09154c389a75 --- /dev/null +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/service.proto + +package com.google.cloud.channel.v1; + +public interface LookupOfferRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.LookupOfferRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the entitlement to retrieve the Offer.
+   * Entitlement uses the format:
+   * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
+   * 
+ * + * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The entitlement. + */ + java.lang.String getEntitlement(); + /** + *
+   * Required. The resource name of the entitlement to retrieve the Offer.
+   * Entitlement uses the format:
+   * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
+   * 
+ * + * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for entitlement. + */ + com.google.protobuf.ByteString + getEntitlementBytes(); +} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfo.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfo.java similarity index 68% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfo.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfo.java index 6e9c8efda408..b2dc88fa2f6b 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfo.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfo.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/cloud/channel/v1/products.proto package com.google.cloud.channel.v1; /** - * - * *
  * Represents the marketing information for a Product, SKU or Offer.
  * 
* * Protobuf type {@code google.cloud.channel.v1.MarketingInfo} */ -public final class MarketingInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MarketingInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.MarketingInfo) MarketingInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MarketingInfo.newBuilder() to construct. private MarketingInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MarketingInfo() { displayName_ = ""; description_ = ""; @@ -44,41 +26,37 @@ private MarketingInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MarketingInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ProductsProto - .internal_static_google_cloud_channel_v1_MarketingInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_MarketingInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ProductsProto - .internal_static_google_cloud_channel_v1_MarketingInfo_fieldAccessorTable + return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_MarketingInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.MarketingInfo.class, - com.google.cloud.channel.v1.MarketingInfo.Builder.class); + com.google.cloud.channel.v1.MarketingInfo.class, com.google.cloud.channel.v1.MarketingInfo.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object displayName_; /** - * - * *
    * Human readable name.
    * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -87,29 +65,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; } } /** - * - * *
    * Human readable name.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -120,14 +98,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
    * Human readable description. Description can contain HTML.
    * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -136,29 +111,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; } } /** - * - * *
    * Human readable description. Description can contain HTML.
    * 
* * string description = 2; - * * @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 { @@ -169,14 +144,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int DEFAULT_LOGO_FIELD_NUMBER = 3; private com.google.cloud.channel.v1.Media defaultLogo_; /** - * - * *
    * Default logo.
    * 
* * .google.cloud.channel.v1.Media default_logo = 3; - * * @return Whether the defaultLogo field is set. */ @java.lang.Override @@ -184,25 +156,18 @@ public boolean hasDefaultLogo() { return defaultLogo_ != null; } /** - * - * *
    * Default logo.
    * 
* * .google.cloud.channel.v1.Media default_logo = 3; - * * @return The defaultLogo. */ @java.lang.Override public com.google.cloud.channel.v1.Media getDefaultLogo() { - return defaultLogo_ == null - ? com.google.cloud.channel.v1.Media.getDefaultInstance() - : defaultLogo_; + return defaultLogo_ == null ? com.google.cloud.channel.v1.Media.getDefaultInstance() : defaultLogo_; } /** - * - * *
    * Default logo.
    * 
@@ -215,7 +180,6 @@ public com.google.cloud.channel.v1.MediaOrBuilder getDefaultLogoOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,7 +191,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -253,7 +218,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (defaultLogo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDefaultLogo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getDefaultLogo()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -263,19 +229,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.MarketingInfo)) { return super.equals(obj); } - com.google.cloud.channel.v1.MarketingInfo other = - (com.google.cloud.channel.v1.MarketingInfo) obj; + com.google.cloud.channel.v1.MarketingInfo other = (com.google.cloud.channel.v1.MarketingInfo) obj; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (hasDefaultLogo() != other.hasDefaultLogo()) return false; if (hasDefaultLogo()) { - if (!getDefaultLogo().equals(other.getDefaultLogo())) return false; + if (!getDefaultLogo() + .equals(other.getDefaultLogo())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -301,136 +269,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.MarketingInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.MarketingInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.MarketingInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.MarketingInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.MarketingInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.MarketingInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.MarketingInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.MarketingInfo 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.cloud.channel.v1.MarketingInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.MarketingInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.MarketingInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.MarketingInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.MarketingInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.MarketingInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.MarketingInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents the marketing information for a Product, SKU or Offer.
    * 
* * Protobuf type {@code google.cloud.channel.v1.MarketingInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.MarketingInfo) com.google.cloud.channel.v1.MarketingInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ProductsProto - .internal_static_google_cloud_channel_v1_MarketingInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_MarketingInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ProductsProto - .internal_static_google_cloud_channel_v1_MarketingInfo_fieldAccessorTable + return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_MarketingInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.MarketingInfo.class, - com.google.cloud.channel.v1.MarketingInfo.Builder.class); + com.google.cloud.channel.v1.MarketingInfo.class, com.google.cloud.channel.v1.MarketingInfo.Builder.class); } // Construct using com.google.cloud.channel.v1.MarketingInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -448,9 +410,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ProductsProto - .internal_static_google_cloud_channel_v1_MarketingInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_MarketingInfo_descriptor; } @java.lang.Override @@ -469,8 +431,7 @@ public com.google.cloud.channel.v1.MarketingInfo build() { @java.lang.Override public com.google.cloud.channel.v1.MarketingInfo buildPartial() { - com.google.cloud.channel.v1.MarketingInfo result = - new com.google.cloud.channel.v1.MarketingInfo(this); + com.google.cloud.channel.v1.MarketingInfo result = new com.google.cloud.channel.v1.MarketingInfo(this); result.displayName_ = displayName_; result.description_ = description_; if (defaultLogoBuilder_ == null) { @@ -486,39 +447,38 @@ public com.google.cloud.channel.v1.MarketingInfo 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.cloud.channel.v1.MarketingInfo) { - return mergeFrom((com.google.cloud.channel.v1.MarketingInfo) other); + return mergeFrom((com.google.cloud.channel.v1.MarketingInfo)other); } else { super.mergeFrom(other); return this; @@ -564,31 +524,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); + case 10: { + displayName_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - description_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + description_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - input.readMessage(getDefaultLogoFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getDefaultLogoFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -601,20 +559,18 @@ public Builder mergeFrom( private java.lang.Object displayName_ = ""; /** - * - * *
      * Human readable name.
      * 
* * string display_name = 1; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -623,21 +579,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Human readable name.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -645,61 +600,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Human readable name.
      * 
* * string display_name = 1; - * * @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 name.
      * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Human readable name.
      * 
* * string display_name = 1; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + 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; @@ -707,20 +655,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Human readable description. Description can contain HTML.
      * 
* * string description = 2; - * * @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; @@ -729,21 +675,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Human readable description. Description can contain HTML.
      * 
* * string description = 2; - * * @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 { @@ -751,61 +696,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Human readable description. Description can contain HTML.
      * 
* * string description = 2; - * * @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; } /** - * - * *
      * Human readable description. Description can contain HTML.
      * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Human readable description. Description can contain HTML.
      * 
* * string description = 2; - * * @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; @@ -813,47 +751,34 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private com.google.cloud.channel.v1.Media defaultLogo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Media, - com.google.cloud.channel.v1.Media.Builder, - com.google.cloud.channel.v1.MediaOrBuilder> - defaultLogoBuilder_; + com.google.cloud.channel.v1.Media, com.google.cloud.channel.v1.Media.Builder, com.google.cloud.channel.v1.MediaOrBuilder> defaultLogoBuilder_; /** - * - * *
      * Default logo.
      * 
* * .google.cloud.channel.v1.Media default_logo = 3; - * * @return Whether the defaultLogo field is set. */ public boolean hasDefaultLogo() { return defaultLogoBuilder_ != null || defaultLogo_ != null; } /** - * - * *
      * Default logo.
      * 
* * .google.cloud.channel.v1.Media default_logo = 3; - * * @return The defaultLogo. */ public com.google.cloud.channel.v1.Media getDefaultLogo() { if (defaultLogoBuilder_ == null) { - return defaultLogo_ == null - ? com.google.cloud.channel.v1.Media.getDefaultInstance() - : defaultLogo_; + return defaultLogo_ == null ? com.google.cloud.channel.v1.Media.getDefaultInstance() : defaultLogo_; } else { return defaultLogoBuilder_.getMessage(); } } /** - * - * *
      * Default logo.
      * 
@@ -874,15 +799,14 @@ public Builder setDefaultLogo(com.google.cloud.channel.v1.Media value) { return this; } /** - * - * *
      * Default logo.
      * 
* * .google.cloud.channel.v1.Media default_logo = 3; */ - public Builder setDefaultLogo(com.google.cloud.channel.v1.Media.Builder builderForValue) { + public Builder setDefaultLogo( + com.google.cloud.channel.v1.Media.Builder builderForValue) { if (defaultLogoBuilder_ == null) { defaultLogo_ = builderForValue.build(); onChanged(); @@ -893,8 +817,6 @@ public Builder setDefaultLogo(com.google.cloud.channel.v1.Media.Builder builderF return this; } /** - * - * *
      * Default logo.
      * 
@@ -905,9 +827,7 @@ public Builder mergeDefaultLogo(com.google.cloud.channel.v1.Media value) { if (defaultLogoBuilder_ == null) { if (defaultLogo_ != null) { defaultLogo_ = - com.google.cloud.channel.v1.Media.newBuilder(defaultLogo_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.Media.newBuilder(defaultLogo_).mergeFrom(value).buildPartial(); } else { defaultLogo_ = value; } @@ -919,8 +839,6 @@ public Builder mergeDefaultLogo(com.google.cloud.channel.v1.Media value) { return this; } /** - * - * *
      * Default logo.
      * 
@@ -939,8 +857,6 @@ public Builder clearDefaultLogo() { return this; } /** - * - * *
      * Default logo.
      * 
@@ -948,13 +864,11 @@ public Builder clearDefaultLogo() { * .google.cloud.channel.v1.Media default_logo = 3; */ public com.google.cloud.channel.v1.Media.Builder getDefaultLogoBuilder() { - + onChanged(); return getDefaultLogoFieldBuilder().getBuilder(); } /** - * - * *
      * Default logo.
      * 
@@ -965,14 +879,11 @@ public com.google.cloud.channel.v1.MediaOrBuilder getDefaultLogoOrBuilder() { if (defaultLogoBuilder_ != null) { return defaultLogoBuilder_.getMessageOrBuilder(); } else { - return defaultLogo_ == null - ? com.google.cloud.channel.v1.Media.getDefaultInstance() - : defaultLogo_; + return defaultLogo_ == null ? + com.google.cloud.channel.v1.Media.getDefaultInstance() : defaultLogo_; } } /** - * - * *
      * Default logo.
      * 
@@ -980,24 +891,21 @@ public com.google.cloud.channel.v1.MediaOrBuilder getDefaultLogoOrBuilder() { * .google.cloud.channel.v1.Media default_logo = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Media, - com.google.cloud.channel.v1.Media.Builder, - com.google.cloud.channel.v1.MediaOrBuilder> + com.google.cloud.channel.v1.Media, com.google.cloud.channel.v1.Media.Builder, com.google.cloud.channel.v1.MediaOrBuilder> getDefaultLogoFieldBuilder() { if (defaultLogoBuilder_ == null) { - defaultLogoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Media, - com.google.cloud.channel.v1.Media.Builder, - com.google.cloud.channel.v1.MediaOrBuilder>( - getDefaultLogo(), getParentForChildren(), isClean()); + defaultLogoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Media, com.google.cloud.channel.v1.Media.Builder, com.google.cloud.channel.v1.MediaOrBuilder>( + getDefaultLogo(), + getParentForChildren(), + isClean()); defaultLogo_ = null; } return defaultLogoBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1007,12 +915,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.MarketingInfo) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.MarketingInfo) private static final com.google.cloud.channel.v1.MarketingInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.MarketingInfo(); } @@ -1021,27 +929,27 @@ public static com.google.cloud.channel.v1.MarketingInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MarketingInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MarketingInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1056,4 +964,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.MarketingInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfoOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfoOrBuilder.java similarity index 65% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfoOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfoOrBuilder.java index 43db2fbd651b..100bef7afd48 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfoOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfoOrBuilder.java @@ -1,105 +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/cloud/channel/v1/products.proto package com.google.cloud.channel.v1; -public interface MarketingInfoOrBuilder - extends +public interface MarketingInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.MarketingInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Human readable name.
    * 
* * string display_name = 1; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Human readable name.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Human readable description. Description can contain HTML.
    * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Human readable description. Description can contain HTML.
    * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Default logo.
    * 
* * .google.cloud.channel.v1.Media default_logo = 3; - * * @return Whether the defaultLogo field is set. */ boolean hasDefaultLogo(); /** - * - * *
    * Default logo.
    * 
* * .google.cloud.channel.v1.Media default_logo = 3; - * * @return The defaultLogo. */ com.google.cloud.channel.v1.Media getDefaultLogo(); /** - * - * *
    * Default logo.
    * 
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Media.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Media.java similarity index 67% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Media.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Media.java index c2fc0715f04a..9cc26943d667 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Media.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Media.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/cloud/channel/v1/products.proto package com.google.cloud.channel.v1; /** - * - * *
  * Represents media information.
  * 
* * Protobuf type {@code google.cloud.channel.v1.Media} */ -public final class Media extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Media extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.Media) MediaOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Media.newBuilder() to construct. private Media(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Media() { title_ = ""; content_ = ""; @@ -45,41 +27,37 @@ private Media() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Media(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ProductsProto - .internal_static_google_cloud_channel_v1_Media_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_Media_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ProductsProto - .internal_static_google_cloud_channel_v1_Media_fieldAccessorTable + return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_Media_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Media.class, - com.google.cloud.channel.v1.Media.Builder.class); + com.google.cloud.channel.v1.Media.class, com.google.cloud.channel.v1.Media.Builder.class); } public static final int TITLE_FIELD_NUMBER = 1; private volatile java.lang.Object title_; /** - * - * *
    * Title of the media.
    * 
* * string title = 1; - * * @return The title. */ @java.lang.Override @@ -88,29 +66,29 @@ public java.lang.String getTitle() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; } } /** - * - * *
    * Title of the media.
    * 
* * string title = 1; - * * @return The bytes for title. */ @java.lang.Override - public com.google.protobuf.ByteString getTitleBytes() { + public com.google.protobuf.ByteString + getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); title_ = b; return b; } else { @@ -121,14 +99,11 @@ public com.google.protobuf.ByteString getTitleBytes() { public static final int CONTENT_FIELD_NUMBER = 2; private volatile java.lang.Object content_; /** - * - * *
    * URL of the media.
    * 
* * string content = 2; - * * @return The content. */ @java.lang.Override @@ -137,29 +112,29 @@ public java.lang.String getContent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); content_ = s; return s; } } /** - * - * *
    * URL of the media.
    * 
* * string content = 2; - * * @return The bytes for content. */ @java.lang.Override - public com.google.protobuf.ByteString getContentBytes() { + public com.google.protobuf.ByteString + getContentBytes() { java.lang.Object ref = content_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); content_ = b; return b; } else { @@ -170,41 +145,31 @@ public com.google.protobuf.ByteString getContentBytes() { public static final int TYPE_FIELD_NUMBER = 3; private int type_; /** - * - * *
    * Type of the media.
    * 
* * .google.cloud.channel.v1.MediaType type = 3; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Type of the media.
    * 
* * .google.cloud.channel.v1.MediaType type = 3; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.channel.v1.MediaType getType() { + @java.lang.Override public com.google.cloud.channel.v1.MediaType getType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.MediaType result = - com.google.cloud.channel.v1.MediaType.valueOf(type_); + com.google.cloud.channel.v1.MediaType result = com.google.cloud.channel.v1.MediaType.valueOf(type_); return result == null ? com.google.cloud.channel.v1.MediaType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,7 +181,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, title_); } @@ -242,7 +208,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, content_); } if (type_ != com.google.cloud.channel.v1.MediaType.MEDIA_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, type_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -252,15 +219,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.cloud.channel.v1.Media)) { return super.equals(obj); } com.google.cloud.channel.v1.Media other = (com.google.cloud.channel.v1.Media) obj; - if (!getTitle().equals(other.getTitle())) return false; - if (!getContent().equals(other.getContent())) return false; + if (!getTitle() + .equals(other.getTitle())) return false; + if (!getContent() + .equals(other.getContent())) return false; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -284,135 +253,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.Media parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.Media parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Media parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.Media parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.channel.v1.Media parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Media parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Media parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Media parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Media 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.cloud.channel.v1.Media parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.Media parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.Media parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.Media parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.Media parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.Media prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents media information.
    * 
* * Protobuf type {@code google.cloud.channel.v1.Media} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.Media) com.google.cloud.channel.v1.MediaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ProductsProto - .internal_static_google_cloud_channel_v1_Media_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_Media_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ProductsProto - .internal_static_google_cloud_channel_v1_Media_fieldAccessorTable + return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_Media_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Media.class, - com.google.cloud.channel.v1.Media.Builder.class); + com.google.cloud.channel.v1.Media.class, com.google.cloud.channel.v1.Media.Builder.class); } // Construct using com.google.cloud.channel.v1.Media.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -426,9 +390,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ProductsProto - .internal_static_google_cloud_channel_v1_Media_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_Media_descriptor; } @java.lang.Override @@ -459,39 +423,38 @@ public com.google.cloud.channel.v1.Media 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.cloud.channel.v1.Media) { - return mergeFrom((com.google.cloud.channel.v1.Media) other); + return mergeFrom((com.google.cloud.channel.v1.Media)other); } else { super.mergeFrom(other); return this; @@ -537,31 +500,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - title_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - content_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: - { - type_ = input.readEnum(); - - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + title_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + content_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: { + type_ = input.readEnum(); + + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -574,20 +533,18 @@ public Builder mergeFrom( private java.lang.Object title_ = ""; /** - * - * *
      * Title of the media.
      * 
* * string title = 1; - * * @return The title. */ public java.lang.String getTitle() { java.lang.Object ref = title_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; @@ -596,21 +553,20 @@ public java.lang.String getTitle() { } } /** - * - * *
      * Title of the media.
      * 
* * string title = 1; - * * @return The bytes for title. */ - public com.google.protobuf.ByteString getTitleBytes() { + public com.google.protobuf.ByteString + getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); title_ = b; return b; } else { @@ -618,61 +574,54 @@ public com.google.protobuf.ByteString getTitleBytes() { } } /** - * - * *
      * Title of the media.
      * 
* * string title = 1; - * * @param value The title to set. * @return This builder for chaining. */ - public Builder setTitle(java.lang.String value) { + public Builder setTitle( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + title_ = value; onChanged(); return this; } /** - * - * *
      * Title of the media.
      * 
* * string title = 1; - * * @return This builder for chaining. */ public Builder clearTitle() { - + title_ = getDefaultInstance().getTitle(); onChanged(); return this; } /** - * - * *
      * Title of the media.
      * 
* * string title = 1; - * * @param value The bytes for title to set. * @return This builder for chaining. */ - public Builder setTitleBytes(com.google.protobuf.ByteString value) { + public Builder setTitleBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + title_ = value; onChanged(); return this; @@ -680,20 +629,18 @@ public Builder setTitleBytes(com.google.protobuf.ByteString value) { private java.lang.Object content_ = ""; /** - * - * *
      * URL of the media.
      * 
* * string content = 2; - * * @return The content. */ public java.lang.String getContent() { java.lang.Object ref = content_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); content_ = s; return s; @@ -702,21 +649,20 @@ public java.lang.String getContent() { } } /** - * - * *
      * URL of the media.
      * 
* * string content = 2; - * * @return The bytes for content. */ - public com.google.protobuf.ByteString getContentBytes() { + public com.google.protobuf.ByteString + getContentBytes() { java.lang.Object ref = content_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); content_ = b; return b; } else { @@ -724,61 +670,54 @@ public com.google.protobuf.ByteString getContentBytes() { } } /** - * - * *
      * URL of the media.
      * 
* * string content = 2; - * * @param value The content to set. * @return This builder for chaining. */ - public Builder setContent(java.lang.String value) { + public Builder setContent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + content_ = value; onChanged(); return this; } /** - * - * *
      * URL of the media.
      * 
* * string content = 2; - * * @return This builder for chaining. */ public Builder clearContent() { - + content_ = getDefaultInstance().getContent(); onChanged(); return this; } /** - * - * *
      * URL of the media.
      * 
* * string content = 2; - * * @param value The bytes for content to set. * @return This builder for chaining. */ - public Builder setContentBytes(com.google.protobuf.ByteString value) { + public Builder setContentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + content_ = value; onChanged(); return this; @@ -786,65 +725,51 @@ public Builder setContentBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
      * Type of the media.
      * 
* * .google.cloud.channel.v1.MediaType type = 3; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Type of the media.
      * 
* * .google.cloud.channel.v1.MediaType type = 3; - * * @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; } /** - * - * *
      * Type of the media.
      * 
* * .google.cloud.channel.v1.MediaType type = 3; - * * @return The type. */ @java.lang.Override public com.google.cloud.channel.v1.MediaType getType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.MediaType result = - com.google.cloud.channel.v1.MediaType.valueOf(type_); + com.google.cloud.channel.v1.MediaType result = com.google.cloud.channel.v1.MediaType.valueOf(type_); return result == null ? com.google.cloud.channel.v1.MediaType.UNRECOGNIZED : result; } /** - * - * *
      * Type of the media.
      * 
* * .google.cloud.channel.v1.MediaType type = 3; - * * @param value The type to set. * @return This builder for chaining. */ @@ -852,31 +777,28 @@ public Builder setType(com.google.cloud.channel.v1.MediaType value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Type of the media.
      * 
* * .google.cloud.channel.v1.MediaType type = 3; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 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); } @@ -886,12 +808,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.Media) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.Media) private static final com.google.cloud.channel.v1.Media DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.Media(); } @@ -900,27 +822,27 @@ public static com.google.cloud.channel.v1.Media getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Media parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Media parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -935,4 +857,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Media getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaOrBuilder.java similarity index 60% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaOrBuilder.java index 8c8622d89b73..9a308ba27a4a 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaOrBuilder.java @@ -1,99 +1,67 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/products.proto package com.google.cloud.channel.v1; -public interface MediaOrBuilder - extends +public interface MediaOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Media) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Title of the media.
    * 
* * string title = 1; - * * @return The title. */ java.lang.String getTitle(); /** - * - * *
    * Title of the media.
    * 
* * string title = 1; - * * @return The bytes for title. */ - com.google.protobuf.ByteString getTitleBytes(); + com.google.protobuf.ByteString + getTitleBytes(); /** - * - * *
    * URL of the media.
    * 
* * string content = 2; - * * @return The content. */ java.lang.String getContent(); /** - * - * *
    * URL of the media.
    * 
* * string content = 2; - * * @return The bytes for content. */ - com.google.protobuf.ByteString getContentBytes(); + com.google.protobuf.ByteString + getContentBytes(); /** - * - * *
    * Type of the media.
    * 
* * .google.cloud.channel.v1.MediaType type = 3; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Type of the media.
    * 
* * .google.cloud.channel.v1.MediaType type = 3; - * * @return The type. */ com.google.cloud.channel.v1.MediaType getType(); diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaType.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaType.java similarity index 64% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaType.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaType.java index 81c8e6febb94..6feb49ddf19b 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaType.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaType.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/cloud/channel/v1/products.proto package com.google.cloud.channel.v1; /** - * - * *
  * Type of media used.
  * 
* * Protobuf enum {@code google.cloud.channel.v1.MediaType} */ -public enum MediaType implements com.google.protobuf.ProtocolMessageEnum { +public enum MediaType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Not used.
    * 
@@ -39,8 +21,6 @@ public enum MediaType implements com.google.protobuf.ProtocolMessageEnum { */ MEDIA_TYPE_UNSPECIFIED(0), /** - * - * *
    * Type of image.
    * 
@@ -52,8 +32,6 @@ public enum MediaType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Not used.
    * 
@@ -62,8 +40,6 @@ public enum MediaType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MEDIA_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Type of image.
    * 
@@ -72,6 +48,7 @@ public enum MediaType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MEDIA_TYPE_IMAGE_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -96,47 +73,48 @@ public static MediaType valueOf(int value) { */ public static MediaType forNumber(int value) { switch (value) { - case 0: - return MEDIA_TYPE_UNSPECIFIED; - case 1: - return MEDIA_TYPE_IMAGE; - default: - return null; + case 0: return MEDIA_TYPE_UNSPECIFIED; + case 1: return MEDIA_TYPE_IMAGE; + 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 MediaType findValueByNumber(int number) { - return MediaType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + MediaType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MediaType findValueByNumber(int number) { + return MediaType.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.cloud.channel.v1.ProductsProto.getDescriptor().getEnumTypes().get(0); } private static final MediaType[] VALUES = values(); - public static MediaType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static MediaType 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,3 +130,4 @@ private MediaType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.channel.v1.MediaType) } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Offer.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Offer.java similarity index 76% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Offer.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Offer.java index 60d5ec541c4c..8e03457e3c69 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Offer.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Offer.java @@ -1,44 +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/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; /** - * - * *
  * Represents an offer made to resellers for purchase.
- * An offer is associated with a [Sku][google.cloud.channel.v1.Sku], has a plan for payment, a price, and
- * defines the constraints for buying.
+ * An offer is associated with a [Sku][google.cloud.channel.v1.Sku], has a plan
+ * for payment, a price, and defines the constraints for buying.
  * 
* * Protobuf type {@code google.cloud.channel.v1.Offer} */ -public final class Offer extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Offer extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.Offer) OfferOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Offer.newBuilder() to construct. private Offer(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Offer() { name_ = ""; priceByResources_ = java.util.Collections.emptyList(); @@ -48,42 +30,38 @@ private Offer() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Offer(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_Offer_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Offer_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_Offer_fieldAccessorTable + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Offer_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Offer.class, - com.google.cloud.channel.v1.Offer.Builder.class); + com.google.cloud.channel.v1.Offer.class, com.google.cloud.channel.v1.Offer.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Resource Name of the Offer.
    * Format: accounts/{account_id}/offers/{offer_id}
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -92,30 +70,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; } } /** - * - * *
    * Resource Name of the Offer.
    * Format: accounts/{account_id}/offers/{offer_id}
    * 
* * 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 { @@ -126,14 +104,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int MARKETING_INFO_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.MarketingInfo marketingInfo_; /** - * - * *
    * Marketing information for the Offer.
    * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; - * * @return Whether the marketingInfo field is set. */ @java.lang.Override @@ -141,25 +116,18 @@ public boolean hasMarketingInfo() { return marketingInfo_ != null; } /** - * - * *
    * Marketing information for the Offer.
    * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; - * * @return The marketingInfo. */ @java.lang.Override public com.google.cloud.channel.v1.MarketingInfo getMarketingInfo() { - return marketingInfo_ == null - ? com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() - : marketingInfo_; + return marketingInfo_ == null ? com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() : marketingInfo_; } /** - * - * *
    * Marketing information for the Offer.
    * 
@@ -174,14 +142,11 @@ public com.google.cloud.channel.v1.MarketingInfoOrBuilder getMarketingInfoOrBuil public static final int SKU_FIELD_NUMBER = 3; private com.google.cloud.channel.v1.Sku sku_; /** - * - * *
    * SKU the offer is associated with.
    * 
* * .google.cloud.channel.v1.Sku sku = 3; - * * @return Whether the sku field is set. */ @java.lang.Override @@ -189,14 +154,11 @@ public boolean hasSku() { return sku_ != null; } /** - * - * *
    * SKU the offer is associated with.
    * 
* * .google.cloud.channel.v1.Sku sku = 3; - * * @return The sku. */ @java.lang.Override @@ -204,8 +166,6 @@ public com.google.cloud.channel.v1.Sku getSku() { return sku_ == null ? com.google.cloud.channel.v1.Sku.getDefaultInstance() : sku_; } /** - * - * *
    * SKU the offer is associated with.
    * 
@@ -220,14 +180,11 @@ public com.google.cloud.channel.v1.SkuOrBuilder getSkuOrBuilder() { public static final int PLAN_FIELD_NUMBER = 4; private com.google.cloud.channel.v1.Plan plan_; /** - * - * *
    * Describes the payment plan for the Offer.
    * 
* * .google.cloud.channel.v1.Plan plan = 4; - * * @return Whether the plan field is set. */ @java.lang.Override @@ -235,14 +192,11 @@ public boolean hasPlan() { return plan_ != null; } /** - * - * *
    * Describes the payment plan for the Offer.
    * 
* * .google.cloud.channel.v1.Plan plan = 4; - * * @return The plan. */ @java.lang.Override @@ -250,8 +204,6 @@ public com.google.cloud.channel.v1.Plan getPlan() { return plan_ == null ? com.google.cloud.channel.v1.Plan.getDefaultInstance() : plan_; } /** - * - * *
    * Describes the payment plan for the Offer.
    * 
@@ -266,14 +218,11 @@ public com.google.cloud.channel.v1.PlanOrBuilder getPlanOrBuilder() { public static final int CONSTRAINTS_FIELD_NUMBER = 5; private com.google.cloud.channel.v1.Constraints constraints_; /** - * - * *
    * Constraints on transacting the Offer.
    * 
* * .google.cloud.channel.v1.Constraints constraints = 5; - * * @return Whether the constraints field is set. */ @java.lang.Override @@ -281,25 +230,18 @@ public boolean hasConstraints() { return constraints_ != null; } /** - * - * *
    * Constraints on transacting the Offer.
    * 
* * .google.cloud.channel.v1.Constraints constraints = 5; - * * @return The constraints. */ @java.lang.Override public com.google.cloud.channel.v1.Constraints getConstraints() { - return constraints_ == null - ? com.google.cloud.channel.v1.Constraints.getDefaultInstance() - : constraints_; + return constraints_ == null ? com.google.cloud.channel.v1.Constraints.getDefaultInstance() : constraints_; } /** - * - * *
    * Constraints on transacting the Offer.
    * 
@@ -314,8 +256,6 @@ public com.google.cloud.channel.v1.ConstraintsOrBuilder getConstraintsOrBuilder( public static final int PRICE_BY_RESOURCES_FIELD_NUMBER = 6; private java.util.List priceByResources_; /** - * - * *
    * Price for each monetizable resource type.
    * 
@@ -327,8 +267,6 @@ public java.util.List getPriceByRes return priceByResources_; } /** - * - * *
    * Price for each monetizable resource type.
    * 
@@ -336,13 +274,11 @@ public java.util.List getPriceByRes * repeated .google.cloud.channel.v1.PriceByResource price_by_resources = 6; */ @java.lang.Override - public java.util.List + public java.util.List getPriceByResourcesOrBuilderList() { return priceByResources_; } /** - * - * *
    * Price for each monetizable resource type.
    * 
@@ -354,8 +290,6 @@ public int getPriceByResourcesCount() { return priceByResources_.size(); } /** - * - * *
    * Price for each monetizable resource type.
    * 
@@ -367,8 +301,6 @@ public com.google.cloud.channel.v1.PriceByResource getPriceByResources(int index return priceByResources_.get(index); } /** - * - * *
    * Price for each monetizable resource type.
    * 
@@ -384,14 +316,11 @@ public com.google.cloud.channel.v1.PriceByResourceOrBuilder getPriceByResourcesO public static final int START_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Start of the Offer validity time.
    * 
* * .google.protobuf.Timestamp start_time = 7; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -399,14 +328,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Start of the Offer validity time.
    * 
* * .google.protobuf.Timestamp start_time = 7; - * * @return The startTime. */ @java.lang.Override @@ -414,8 +340,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Start of the Offer validity time.
    * 
@@ -430,15 +354,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Output only. End of the Offer validity time.
    * 
* - * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -446,15 +366,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Output only. End of the Offer validity time.
    * 
* - * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ @java.lang.Override @@ -462,14 +378,11 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Output only. End of the Offer validity time.
    * 
* - * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -479,8 +392,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int PARAMETER_DEFINITIONS_FIELD_NUMBER = 9; private java.util.List parameterDefinitions_; /** - * - * *
    * Parameters required to use current Offer to purchase.
    * 
@@ -488,13 +399,10 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9; */ @java.lang.Override - public java.util.List - getParameterDefinitionsList() { + public java.util.List getParameterDefinitionsList() { return parameterDefinitions_; } /** - * - * *
    * Parameters required to use current Offer to purchase.
    * 
@@ -502,13 +410,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9; */ @java.lang.Override - public java.util.List + public java.util.List getParameterDefinitionsOrBuilderList() { return parameterDefinitions_; } /** - * - * *
    * Parameters required to use current Offer to purchase.
    * 
@@ -520,8 +426,6 @@ public int getParameterDefinitionsCount() { return parameterDefinitions_.size(); } /** - * - * *
    * Parameters required to use current Offer to purchase.
    * 
@@ -533,8 +437,6 @@ public com.google.cloud.channel.v1.ParameterDefinition getParameterDefinitions(i return parameterDefinitions_.get(index); } /** - * - * *
    * Parameters required to use current Offer to purchase.
    * 
@@ -550,14 +452,11 @@ public com.google.cloud.channel.v1.ParameterDefinitionOrBuilder getParameterDefi public static final int DEAL_CODE_FIELD_NUMBER = 12; private volatile java.lang.Object dealCode_; /** - * - * *
    * The deal code of the offer to get a special promotion or discount.
    * 
* * string deal_code = 12; - * * @return The dealCode. */ @java.lang.Override @@ -566,29 +465,29 @@ public java.lang.String getDealCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dealCode_ = s; return s; } } /** - * - * *
    * The deal code of the offer to get a special promotion or discount.
    * 
* * string deal_code = 12; - * * @return The bytes for dealCode. */ @java.lang.Override - public com.google.protobuf.ByteString getDealCodeBytes() { + public com.google.protobuf.ByteString + getDealCodeBytes() { java.lang.Object ref = dealCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dealCode_ = b; return b; } else { @@ -597,7 +496,6 @@ public com.google.protobuf.ByteString getDealCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -609,7 +507,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -653,29 +552,36 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (marketingInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMarketingInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getMarketingInfo()); } if (sku_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getSku()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getSku()); } if (plan_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPlan()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getPlan()); } if (constraints_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getConstraints()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getConstraints()); } for (int i = 0; i < priceByResources_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, priceByResources_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, priceByResources_.get(i)); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getEndTime()); } for (int i = 0; i < parameterDefinitions_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(9, parameterDefinitions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, parameterDefinitions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dealCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, dealCode_); @@ -688,41 +594,51 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.Offer)) { return super.equals(obj); } com.google.cloud.channel.v1.Offer other = (com.google.cloud.channel.v1.Offer) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasMarketingInfo() != other.hasMarketingInfo()) return false; if (hasMarketingInfo()) { - if (!getMarketingInfo().equals(other.getMarketingInfo())) return false; + if (!getMarketingInfo() + .equals(other.getMarketingInfo())) return false; } if (hasSku() != other.hasSku()) return false; if (hasSku()) { - if (!getSku().equals(other.getSku())) return false; + if (!getSku() + .equals(other.getSku())) return false; } if (hasPlan() != other.hasPlan()) return false; if (hasPlan()) { - if (!getPlan().equals(other.getPlan())) return false; + if (!getPlan() + .equals(other.getPlan())) return false; } if (hasConstraints() != other.hasConstraints()) return false; if (hasConstraints()) { - if (!getConstraints().equals(other.getConstraints())) return false; + if (!getConstraints() + .equals(other.getConstraints())) return false; } - if (!getPriceByResourcesList().equals(other.getPriceByResourcesList())) return false; + if (!getPriceByResourcesList() + .equals(other.getPriceByResourcesList())) return false; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } - if (!getParameterDefinitionsList().equals(other.getParameterDefinitionsList())) return false; - if (!getDealCode().equals(other.getDealCode())) return false; + if (!getParameterDefinitionsList() + .equals(other.getParameterDefinitionsList())) return false; + if (!getDealCode() + .equals(other.getDealCode())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -775,137 +691,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.Offer parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.Offer parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Offer parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.Offer parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.channel.v1.Offer parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Offer parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Offer parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Offer parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Offer 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.cloud.channel.v1.Offer parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.Offer parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.Offer parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.Offer parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.Offer parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.Offer prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents an offer made to resellers for purchase.
-   * An offer is associated with a [Sku][google.cloud.channel.v1.Sku], has a plan for payment, a price, and
-   * defines the constraints for buying.
+   * An offer is associated with a [Sku][google.cloud.channel.v1.Sku], has a plan
+   * for payment, a price, and defines the constraints for buying.
    * 
* * Protobuf type {@code google.cloud.channel.v1.Offer} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.Offer) com.google.cloud.channel.v1.OfferOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_Offer_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Offer_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_Offer_fieldAccessorTable + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Offer_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Offer.class, - com.google.cloud.channel.v1.Offer.Builder.class); + com.google.cloud.channel.v1.Offer.class, com.google.cloud.channel.v1.Offer.Builder.class); } // Construct using com.google.cloud.channel.v1.Offer.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -967,9 +878,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_Offer_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Offer_descriptor; } @java.lang.Override @@ -1048,39 +959,38 @@ public com.google.cloud.channel.v1.Offer 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.cloud.channel.v1.Offer) { - return mergeFrom((com.google.cloud.channel.v1.Offer) other); + return mergeFrom((com.google.cloud.channel.v1.Offer)other); } else { super.mergeFrom(other); return this; @@ -1123,10 +1033,9 @@ public Builder mergeFrom(com.google.cloud.channel.v1.Offer other) { priceByResourcesBuilder_ = null; priceByResources_ = other.priceByResources_; bitField0_ = (bitField0_ & ~0x00000001); - priceByResourcesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPriceByResourcesFieldBuilder() - : null; + priceByResourcesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPriceByResourcesFieldBuilder() : null; } else { priceByResourcesBuilder_.addAllMessages(other.priceByResources_); } @@ -1156,10 +1065,9 @@ public Builder mergeFrom(com.google.cloud.channel.v1.Offer other) { parameterDefinitionsBuilder_ = null; parameterDefinitions_ = other.parameterDefinitions_; bitField0_ = (bitField0_ & ~0x00000002); - parameterDefinitionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getParameterDefinitionsFieldBuilder() - : null; + parameterDefinitionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getParameterDefinitionsFieldBuilder() : null; } else { parameterDefinitionsBuilder_.addAllMessages(other.parameterDefinitions_); } @@ -1195,88 +1103,90 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getMarketingInfoFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - case 26: - { - input.readMessage(getSkuFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 34: - { - input.readMessage(getPlanFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 34 - case 42: - { - input.readMessage(getConstraintsFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 42 - case 50: - { - com.google.cloud.channel.v1.PriceByResource m = - input.readMessage( - com.google.cloud.channel.v1.PriceByResource.parser(), extensionRegistry); - if (priceByResourcesBuilder_ == null) { - ensurePriceByResourcesIsMutable(); - priceByResources_.add(m); - } else { - priceByResourcesBuilder_.addMessage(m); - } - break; - } // case 50 - case 58: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 58 - case 66: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 66 - case 74: - { - com.google.cloud.channel.v1.ParameterDefinition m = - input.readMessage( - com.google.cloud.channel.v1.ParameterDefinition.parser(), - extensionRegistry); - if (parameterDefinitionsBuilder_ == null) { - ensureParameterDefinitionsIsMutable(); - parameterDefinitions_.add(m); - } else { - parameterDefinitionsBuilder_.addMessage(m); - } - break; - } // case 74 - case 98: - { - dealCode_ = input.readStringRequireUtf8(); - - break; - } // case 98 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getMarketingInfoFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 26: { + input.readMessage( + getSkuFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 34: { + input.readMessage( + getPlanFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 34 + case 42: { + input.readMessage( + getConstraintsFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 42 + case 50: { + com.google.cloud.channel.v1.PriceByResource m = + input.readMessage( + com.google.cloud.channel.v1.PriceByResource.parser(), + extensionRegistry); + if (priceByResourcesBuilder_ == null) { + ensurePriceByResourcesIsMutable(); + priceByResources_.add(m); + } else { + priceByResourcesBuilder_.addMessage(m); + } + break; + } // case 50 + case 58: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 58 + case 66: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 66 + case 74: { + com.google.cloud.channel.v1.ParameterDefinition m = + input.readMessage( + com.google.cloud.channel.v1.ParameterDefinition.parser(), + extensionRegistry); + if (parameterDefinitionsBuilder_ == null) { + ensureParameterDefinitionsIsMutable(); + parameterDefinitions_.add(m); + } else { + parameterDefinitionsBuilder_.addMessage(m); + } + break; + } // case 74 + case 98: { + dealCode_ = input.readStringRequireUtf8(); + + break; + } // case 98 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1286,26 +1196,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Resource Name of the Offer.
      * Format: accounts/{account_id}/offers/{offer_id}
      * 
* * 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; @@ -1314,22 +1221,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Resource Name of the Offer.
      * Format: accounts/{account_id}/offers/{offer_id}
      * 
* * 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 { @@ -1337,64 +1243,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Resource Name of the Offer.
      * Format: accounts/{account_id}/offers/{offer_id}
      * 
* * 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 of the Offer.
      * Format: accounts/{account_id}/offers/{offer_id}
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Resource Name of the Offer.
      * Format: accounts/{account_id}/offers/{offer_id}
      * 
* * 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; @@ -1402,47 +1301,34 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.channel.v1.MarketingInfo marketingInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.MarketingInfo, - com.google.cloud.channel.v1.MarketingInfo.Builder, - com.google.cloud.channel.v1.MarketingInfoOrBuilder> - marketingInfoBuilder_; + com.google.cloud.channel.v1.MarketingInfo, com.google.cloud.channel.v1.MarketingInfo.Builder, com.google.cloud.channel.v1.MarketingInfoOrBuilder> marketingInfoBuilder_; /** - * - * *
      * Marketing information for the Offer.
      * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; - * * @return Whether the marketingInfo field is set. */ public boolean hasMarketingInfo() { return marketingInfoBuilder_ != null || marketingInfo_ != null; } /** - * - * *
      * Marketing information for the Offer.
      * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; - * * @return The marketingInfo. */ public com.google.cloud.channel.v1.MarketingInfo getMarketingInfo() { if (marketingInfoBuilder_ == null) { - return marketingInfo_ == null - ? com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() - : marketingInfo_; + return marketingInfo_ == null ? com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() : marketingInfo_; } else { return marketingInfoBuilder_.getMessage(); } } /** - * - * *
      * Marketing information for the Offer.
      * 
@@ -1463,8 +1349,6 @@ public Builder setMarketingInfo(com.google.cloud.channel.v1.MarketingInfo value) return this; } /** - * - * *
      * Marketing information for the Offer.
      * 
@@ -1483,8 +1367,6 @@ public Builder setMarketingInfo( return this; } /** - * - * *
      * Marketing information for the Offer.
      * 
@@ -1495,9 +1377,7 @@ public Builder mergeMarketingInfo(com.google.cloud.channel.v1.MarketingInfo valu if (marketingInfoBuilder_ == null) { if (marketingInfo_ != null) { marketingInfo_ = - com.google.cloud.channel.v1.MarketingInfo.newBuilder(marketingInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.MarketingInfo.newBuilder(marketingInfo_).mergeFrom(value).buildPartial(); } else { marketingInfo_ = value; } @@ -1509,8 +1389,6 @@ public Builder mergeMarketingInfo(com.google.cloud.channel.v1.MarketingInfo valu return this; } /** - * - * *
      * Marketing information for the Offer.
      * 
@@ -1529,8 +1407,6 @@ public Builder clearMarketingInfo() { return this; } /** - * - * *
      * Marketing information for the Offer.
      * 
@@ -1538,13 +1414,11 @@ public Builder clearMarketingInfo() { * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; */ public com.google.cloud.channel.v1.MarketingInfo.Builder getMarketingInfoBuilder() { - + onChanged(); return getMarketingInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Marketing information for the Offer.
      * 
@@ -1555,14 +1429,11 @@ public com.google.cloud.channel.v1.MarketingInfoOrBuilder getMarketingInfoOrBuil if (marketingInfoBuilder_ != null) { return marketingInfoBuilder_.getMessageOrBuilder(); } else { - return marketingInfo_ == null - ? com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() - : marketingInfo_; + return marketingInfo_ == null ? + com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() : marketingInfo_; } } /** - * - * *
      * Marketing information for the Offer.
      * 
@@ -1570,17 +1441,14 @@ public com.google.cloud.channel.v1.MarketingInfoOrBuilder getMarketingInfoOrBuil * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.MarketingInfo, - com.google.cloud.channel.v1.MarketingInfo.Builder, - com.google.cloud.channel.v1.MarketingInfoOrBuilder> + com.google.cloud.channel.v1.MarketingInfo, com.google.cloud.channel.v1.MarketingInfo.Builder, com.google.cloud.channel.v1.MarketingInfoOrBuilder> getMarketingInfoFieldBuilder() { if (marketingInfoBuilder_ == null) { - marketingInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.MarketingInfo, - com.google.cloud.channel.v1.MarketingInfo.Builder, - com.google.cloud.channel.v1.MarketingInfoOrBuilder>( - getMarketingInfo(), getParentForChildren(), isClean()); + marketingInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.MarketingInfo, com.google.cloud.channel.v1.MarketingInfo.Builder, com.google.cloud.channel.v1.MarketingInfoOrBuilder>( + getMarketingInfo(), + getParentForChildren(), + isClean()); marketingInfo_ = null; } return marketingInfoBuilder_; @@ -1588,33 +1456,24 @@ public com.google.cloud.channel.v1.MarketingInfoOrBuilder getMarketingInfoOrBuil private com.google.cloud.channel.v1.Sku sku_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Sku, - com.google.cloud.channel.v1.Sku.Builder, - com.google.cloud.channel.v1.SkuOrBuilder> - skuBuilder_; + com.google.cloud.channel.v1.Sku, com.google.cloud.channel.v1.Sku.Builder, com.google.cloud.channel.v1.SkuOrBuilder> skuBuilder_; /** - * - * *
      * SKU the offer is associated with.
      * 
* * .google.cloud.channel.v1.Sku sku = 3; - * * @return Whether the sku field is set. */ public boolean hasSku() { return skuBuilder_ != null || sku_ != null; } /** - * - * *
      * SKU the offer is associated with.
      * 
* * .google.cloud.channel.v1.Sku sku = 3; - * * @return The sku. */ public com.google.cloud.channel.v1.Sku getSku() { @@ -1625,8 +1484,6 @@ public com.google.cloud.channel.v1.Sku getSku() { } } /** - * - * *
      * SKU the offer is associated with.
      * 
@@ -1647,15 +1504,14 @@ public Builder setSku(com.google.cloud.channel.v1.Sku value) { return this; } /** - * - * *
      * SKU the offer is associated with.
      * 
* * .google.cloud.channel.v1.Sku sku = 3; */ - public Builder setSku(com.google.cloud.channel.v1.Sku.Builder builderForValue) { + public Builder setSku( + com.google.cloud.channel.v1.Sku.Builder builderForValue) { if (skuBuilder_ == null) { sku_ = builderForValue.build(); onChanged(); @@ -1666,8 +1522,6 @@ public Builder setSku(com.google.cloud.channel.v1.Sku.Builder builderForValue) { return this; } /** - * - * *
      * SKU the offer is associated with.
      * 
@@ -1677,7 +1531,8 @@ public Builder setSku(com.google.cloud.channel.v1.Sku.Builder builderForValue) { public Builder mergeSku(com.google.cloud.channel.v1.Sku value) { if (skuBuilder_ == null) { if (sku_ != null) { - sku_ = com.google.cloud.channel.v1.Sku.newBuilder(sku_).mergeFrom(value).buildPartial(); + sku_ = + com.google.cloud.channel.v1.Sku.newBuilder(sku_).mergeFrom(value).buildPartial(); } else { sku_ = value; } @@ -1689,8 +1544,6 @@ public Builder mergeSku(com.google.cloud.channel.v1.Sku value) { return this; } /** - * - * *
      * SKU the offer is associated with.
      * 
@@ -1709,8 +1562,6 @@ public Builder clearSku() { return this; } /** - * - * *
      * SKU the offer is associated with.
      * 
@@ -1718,13 +1569,11 @@ public Builder clearSku() { * .google.cloud.channel.v1.Sku sku = 3; */ public com.google.cloud.channel.v1.Sku.Builder getSkuBuilder() { - + onChanged(); return getSkuFieldBuilder().getBuilder(); } /** - * - * *
      * SKU the offer is associated with.
      * 
@@ -1735,12 +1584,11 @@ public com.google.cloud.channel.v1.SkuOrBuilder getSkuOrBuilder() { if (skuBuilder_ != null) { return skuBuilder_.getMessageOrBuilder(); } else { - return sku_ == null ? com.google.cloud.channel.v1.Sku.getDefaultInstance() : sku_; + return sku_ == null ? + com.google.cloud.channel.v1.Sku.getDefaultInstance() : sku_; } } /** - * - * *
      * SKU the offer is associated with.
      * 
@@ -1748,17 +1596,14 @@ public com.google.cloud.channel.v1.SkuOrBuilder getSkuOrBuilder() { * .google.cloud.channel.v1.Sku sku = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Sku, - com.google.cloud.channel.v1.Sku.Builder, - com.google.cloud.channel.v1.SkuOrBuilder> + com.google.cloud.channel.v1.Sku, com.google.cloud.channel.v1.Sku.Builder, com.google.cloud.channel.v1.SkuOrBuilder> getSkuFieldBuilder() { if (skuBuilder_ == null) { - skuBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Sku, - com.google.cloud.channel.v1.Sku.Builder, - com.google.cloud.channel.v1.SkuOrBuilder>( - getSku(), getParentForChildren(), isClean()); + skuBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Sku, com.google.cloud.channel.v1.Sku.Builder, com.google.cloud.channel.v1.SkuOrBuilder>( + getSku(), + getParentForChildren(), + isClean()); sku_ = null; } return skuBuilder_; @@ -1766,33 +1611,24 @@ public com.google.cloud.channel.v1.SkuOrBuilder getSkuOrBuilder() { private com.google.cloud.channel.v1.Plan plan_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Plan, - com.google.cloud.channel.v1.Plan.Builder, - com.google.cloud.channel.v1.PlanOrBuilder> - planBuilder_; + com.google.cloud.channel.v1.Plan, com.google.cloud.channel.v1.Plan.Builder, com.google.cloud.channel.v1.PlanOrBuilder> planBuilder_; /** - * - * *
      * Describes the payment plan for the Offer.
      * 
* * .google.cloud.channel.v1.Plan plan = 4; - * * @return Whether the plan field is set. */ public boolean hasPlan() { return planBuilder_ != null || plan_ != null; } /** - * - * *
      * Describes the payment plan for the Offer.
      * 
* * .google.cloud.channel.v1.Plan plan = 4; - * * @return The plan. */ public com.google.cloud.channel.v1.Plan getPlan() { @@ -1803,8 +1639,6 @@ public com.google.cloud.channel.v1.Plan getPlan() { } } /** - * - * *
      * Describes the payment plan for the Offer.
      * 
@@ -1825,15 +1659,14 @@ public Builder setPlan(com.google.cloud.channel.v1.Plan value) { return this; } /** - * - * *
      * Describes the payment plan for the Offer.
      * 
* * .google.cloud.channel.v1.Plan plan = 4; */ - public Builder setPlan(com.google.cloud.channel.v1.Plan.Builder builderForValue) { + public Builder setPlan( + com.google.cloud.channel.v1.Plan.Builder builderForValue) { if (planBuilder_ == null) { plan_ = builderForValue.build(); onChanged(); @@ -1844,8 +1677,6 @@ public Builder setPlan(com.google.cloud.channel.v1.Plan.Builder builderForValue) return this; } /** - * - * *
      * Describes the payment plan for the Offer.
      * 
@@ -1856,7 +1687,7 @@ public Builder mergePlan(com.google.cloud.channel.v1.Plan value) { if (planBuilder_ == null) { if (plan_ != null) { plan_ = - com.google.cloud.channel.v1.Plan.newBuilder(plan_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.Plan.newBuilder(plan_).mergeFrom(value).buildPartial(); } else { plan_ = value; } @@ -1868,8 +1699,6 @@ public Builder mergePlan(com.google.cloud.channel.v1.Plan value) { return this; } /** - * - * *
      * Describes the payment plan for the Offer.
      * 
@@ -1888,8 +1717,6 @@ public Builder clearPlan() { return this; } /** - * - * *
      * Describes the payment plan for the Offer.
      * 
@@ -1897,13 +1724,11 @@ public Builder clearPlan() { * .google.cloud.channel.v1.Plan plan = 4; */ public com.google.cloud.channel.v1.Plan.Builder getPlanBuilder() { - + onChanged(); return getPlanFieldBuilder().getBuilder(); } /** - * - * *
      * Describes the payment plan for the Offer.
      * 
@@ -1914,12 +1739,11 @@ public com.google.cloud.channel.v1.PlanOrBuilder getPlanOrBuilder() { if (planBuilder_ != null) { return planBuilder_.getMessageOrBuilder(); } else { - return plan_ == null ? com.google.cloud.channel.v1.Plan.getDefaultInstance() : plan_; + return plan_ == null ? + com.google.cloud.channel.v1.Plan.getDefaultInstance() : plan_; } } /** - * - * *
      * Describes the payment plan for the Offer.
      * 
@@ -1927,17 +1751,14 @@ public com.google.cloud.channel.v1.PlanOrBuilder getPlanOrBuilder() { * .google.cloud.channel.v1.Plan plan = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Plan, - com.google.cloud.channel.v1.Plan.Builder, - com.google.cloud.channel.v1.PlanOrBuilder> + com.google.cloud.channel.v1.Plan, com.google.cloud.channel.v1.Plan.Builder, com.google.cloud.channel.v1.PlanOrBuilder> getPlanFieldBuilder() { if (planBuilder_ == null) { - planBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Plan, - com.google.cloud.channel.v1.Plan.Builder, - com.google.cloud.channel.v1.PlanOrBuilder>( - getPlan(), getParentForChildren(), isClean()); + planBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Plan, com.google.cloud.channel.v1.Plan.Builder, com.google.cloud.channel.v1.PlanOrBuilder>( + getPlan(), + getParentForChildren(), + isClean()); plan_ = null; } return planBuilder_; @@ -1945,47 +1766,34 @@ public com.google.cloud.channel.v1.PlanOrBuilder getPlanOrBuilder() { private com.google.cloud.channel.v1.Constraints constraints_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Constraints, - com.google.cloud.channel.v1.Constraints.Builder, - com.google.cloud.channel.v1.ConstraintsOrBuilder> - constraintsBuilder_; + com.google.cloud.channel.v1.Constraints, com.google.cloud.channel.v1.Constraints.Builder, com.google.cloud.channel.v1.ConstraintsOrBuilder> constraintsBuilder_; /** - * - * *
      * Constraints on transacting the Offer.
      * 
* * .google.cloud.channel.v1.Constraints constraints = 5; - * * @return Whether the constraints field is set. */ public boolean hasConstraints() { return constraintsBuilder_ != null || constraints_ != null; } /** - * - * *
      * Constraints on transacting the Offer.
      * 
* * .google.cloud.channel.v1.Constraints constraints = 5; - * * @return The constraints. */ public com.google.cloud.channel.v1.Constraints getConstraints() { if (constraintsBuilder_ == null) { - return constraints_ == null - ? com.google.cloud.channel.v1.Constraints.getDefaultInstance() - : constraints_; + return constraints_ == null ? com.google.cloud.channel.v1.Constraints.getDefaultInstance() : constraints_; } else { return constraintsBuilder_.getMessage(); } } /** - * - * *
      * Constraints on transacting the Offer.
      * 
@@ -2006,15 +1814,14 @@ public Builder setConstraints(com.google.cloud.channel.v1.Constraints value) { return this; } /** - * - * *
      * Constraints on transacting the Offer.
      * 
* * .google.cloud.channel.v1.Constraints constraints = 5; */ - public Builder setConstraints(com.google.cloud.channel.v1.Constraints.Builder builderForValue) { + public Builder setConstraints( + com.google.cloud.channel.v1.Constraints.Builder builderForValue) { if (constraintsBuilder_ == null) { constraints_ = builderForValue.build(); onChanged(); @@ -2025,8 +1832,6 @@ public Builder setConstraints(com.google.cloud.channel.v1.Constraints.Builder bu return this; } /** - * - * *
      * Constraints on transacting the Offer.
      * 
@@ -2037,9 +1842,7 @@ public Builder mergeConstraints(com.google.cloud.channel.v1.Constraints value) { if (constraintsBuilder_ == null) { if (constraints_ != null) { constraints_ = - com.google.cloud.channel.v1.Constraints.newBuilder(constraints_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.Constraints.newBuilder(constraints_).mergeFrom(value).buildPartial(); } else { constraints_ = value; } @@ -2051,8 +1854,6 @@ public Builder mergeConstraints(com.google.cloud.channel.v1.Constraints value) { return this; } /** - * - * *
      * Constraints on transacting the Offer.
      * 
@@ -2071,8 +1872,6 @@ public Builder clearConstraints() { return this; } /** - * - * *
      * Constraints on transacting the Offer.
      * 
@@ -2080,13 +1879,11 @@ public Builder clearConstraints() { * .google.cloud.channel.v1.Constraints constraints = 5; */ public com.google.cloud.channel.v1.Constraints.Builder getConstraintsBuilder() { - + onChanged(); return getConstraintsFieldBuilder().getBuilder(); } /** - * - * *
      * Constraints on transacting the Offer.
      * 
@@ -2097,14 +1894,11 @@ public com.google.cloud.channel.v1.ConstraintsOrBuilder getConstraintsOrBuilder( if (constraintsBuilder_ != null) { return constraintsBuilder_.getMessageOrBuilder(); } else { - return constraints_ == null - ? com.google.cloud.channel.v1.Constraints.getDefaultInstance() - : constraints_; + return constraints_ == null ? + com.google.cloud.channel.v1.Constraints.getDefaultInstance() : constraints_; } } /** - * - * *
      * Constraints on transacting the Offer.
      * 
@@ -2112,42 +1906,32 @@ public com.google.cloud.channel.v1.ConstraintsOrBuilder getConstraintsOrBuilder( * .google.cloud.channel.v1.Constraints constraints = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Constraints, - com.google.cloud.channel.v1.Constraints.Builder, - com.google.cloud.channel.v1.ConstraintsOrBuilder> + com.google.cloud.channel.v1.Constraints, com.google.cloud.channel.v1.Constraints.Builder, com.google.cloud.channel.v1.ConstraintsOrBuilder> getConstraintsFieldBuilder() { if (constraintsBuilder_ == null) { - constraintsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Constraints, - com.google.cloud.channel.v1.Constraints.Builder, - com.google.cloud.channel.v1.ConstraintsOrBuilder>( - getConstraints(), getParentForChildren(), isClean()); + constraintsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Constraints, com.google.cloud.channel.v1.Constraints.Builder, com.google.cloud.channel.v1.ConstraintsOrBuilder>( + getConstraints(), + getParentForChildren(), + isClean()); constraints_ = null; } return constraintsBuilder_; } private java.util.List priceByResources_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePriceByResourcesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - priceByResources_ = - new java.util.ArrayList(priceByResources_); + priceByResources_ = new java.util.ArrayList(priceByResources_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.PriceByResource, - com.google.cloud.channel.v1.PriceByResource.Builder, - com.google.cloud.channel.v1.PriceByResourceOrBuilder> - priceByResourcesBuilder_; + com.google.cloud.channel.v1.PriceByResource, com.google.cloud.channel.v1.PriceByResource.Builder, com.google.cloud.channel.v1.PriceByResourceOrBuilder> priceByResourcesBuilder_; /** - * - * *
      * Price for each monetizable resource type.
      * 
@@ -2162,8 +1946,6 @@ public java.util.List getPriceByRes } } /** - * - * *
      * Price for each monetizable resource type.
      * 
@@ -2178,8 +1960,6 @@ public int getPriceByResourcesCount() { } } /** - * - * *
      * Price for each monetizable resource type.
      * 
@@ -2194,8 +1974,6 @@ public com.google.cloud.channel.v1.PriceByResource getPriceByResources(int index } } /** - * - * *
      * Price for each monetizable resource type.
      * 
@@ -2217,8 +1995,6 @@ public Builder setPriceByResources( return this; } /** - * - * *
      * Price for each monetizable resource type.
      * 
@@ -2237,8 +2013,6 @@ public Builder setPriceByResources( return this; } /** - * - * *
      * Price for each monetizable resource type.
      * 
@@ -2259,8 +2033,6 @@ public Builder addPriceByResources(com.google.cloud.channel.v1.PriceByResource v return this; } /** - * - * *
      * Price for each monetizable resource type.
      * 
@@ -2282,8 +2054,6 @@ public Builder addPriceByResources( return this; } /** - * - * *
      * Price for each monetizable resource type.
      * 
@@ -2302,8 +2072,6 @@ public Builder addPriceByResources( return this; } /** - * - * *
      * Price for each monetizable resource type.
      * 
@@ -2322,8 +2090,6 @@ public Builder addPriceByResources( return this; } /** - * - * *
      * Price for each monetizable resource type.
      * 
@@ -2334,7 +2100,8 @@ public Builder addAllPriceByResources( java.lang.Iterable values) { if (priceByResourcesBuilder_ == null) { ensurePriceByResourcesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, priceByResources_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, priceByResources_); onChanged(); } else { priceByResourcesBuilder_.addAllMessages(values); @@ -2342,8 +2109,6 @@ public Builder addAllPriceByResources( return this; } /** - * - * *
      * Price for each monetizable resource type.
      * 
@@ -2361,8 +2126,6 @@ public Builder clearPriceByResources() { return this; } /** - * - * *
      * Price for each monetizable resource type.
      * 
@@ -2380,8 +2143,6 @@ public Builder removePriceByResources(int index) { return this; } /** - * - * *
      * Price for each monetizable resource type.
      * 
@@ -2393,8 +2154,6 @@ public com.google.cloud.channel.v1.PriceByResource.Builder getPriceByResourcesBu return getPriceByResourcesFieldBuilder().getBuilder(index); } /** - * - * *
      * Price for each monetizable resource type.
      * 
@@ -2404,22 +2163,19 @@ public com.google.cloud.channel.v1.PriceByResource.Builder getPriceByResourcesBu public com.google.cloud.channel.v1.PriceByResourceOrBuilder getPriceByResourcesOrBuilder( int index) { if (priceByResourcesBuilder_ == null) { - return priceByResources_.get(index); - } else { + return priceByResources_.get(index); } else { return priceByResourcesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Price for each monetizable resource type.
      * 
* * repeated .google.cloud.channel.v1.PriceByResource price_by_resources = 6; */ - public java.util.List - getPriceByResourcesOrBuilderList() { + public java.util.List + getPriceByResourcesOrBuilderList() { if (priceByResourcesBuilder_ != null) { return priceByResourcesBuilder_.getMessageOrBuilderList(); } else { @@ -2427,8 +2183,6 @@ public com.google.cloud.channel.v1.PriceByResourceOrBuilder getPriceByResourcesO } } /** - * - * *
      * Price for each monetizable resource type.
      * 
@@ -2436,12 +2190,10 @@ public com.google.cloud.channel.v1.PriceByResourceOrBuilder getPriceByResourcesO * repeated .google.cloud.channel.v1.PriceByResource price_by_resources = 6; */ public com.google.cloud.channel.v1.PriceByResource.Builder addPriceByResourcesBuilder() { - return getPriceByResourcesFieldBuilder() - .addBuilder(com.google.cloud.channel.v1.PriceByResource.getDefaultInstance()); + return getPriceByResourcesFieldBuilder().addBuilder( + com.google.cloud.channel.v1.PriceByResource.getDefaultInstance()); } /** - * - * *
      * Price for each monetizable resource type.
      * 
@@ -2450,34 +2202,26 @@ public com.google.cloud.channel.v1.PriceByResource.Builder addPriceByResourcesBu */ public com.google.cloud.channel.v1.PriceByResource.Builder addPriceByResourcesBuilder( int index) { - return getPriceByResourcesFieldBuilder() - .addBuilder(index, com.google.cloud.channel.v1.PriceByResource.getDefaultInstance()); + return getPriceByResourcesFieldBuilder().addBuilder( + index, com.google.cloud.channel.v1.PriceByResource.getDefaultInstance()); } /** - * - * *
      * Price for each monetizable resource type.
      * 
* * repeated .google.cloud.channel.v1.PriceByResource price_by_resources = 6; */ - public java.util.List - getPriceByResourcesBuilderList() { + public java.util.List + getPriceByResourcesBuilderList() { return getPriceByResourcesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.PriceByResource, - com.google.cloud.channel.v1.PriceByResource.Builder, - com.google.cloud.channel.v1.PriceByResourceOrBuilder> + com.google.cloud.channel.v1.PriceByResource, com.google.cloud.channel.v1.PriceByResource.Builder, com.google.cloud.channel.v1.PriceByResourceOrBuilder> getPriceByResourcesFieldBuilder() { if (priceByResourcesBuilder_ == null) { - priceByResourcesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.PriceByResource, - com.google.cloud.channel.v1.PriceByResource.Builder, - com.google.cloud.channel.v1.PriceByResourceOrBuilder>( + priceByResourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.PriceByResource, com.google.cloud.channel.v1.PriceByResource.Builder, com.google.cloud.channel.v1.PriceByResourceOrBuilder>( priceByResources_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2489,33 +2233,24 @@ public com.google.cloud.channel.v1.PriceByResource.Builder addPriceByResourcesBu private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Start of the Offer validity time.
      * 
* * .google.protobuf.Timestamp start_time = 7; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * Start of the Offer validity time.
      * 
* * .google.protobuf.Timestamp start_time = 7; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -2526,8 +2261,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Start of the Offer validity time.
      * 
@@ -2548,15 +2281,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Start of the Offer validity time.
      * 
* * .google.protobuf.Timestamp start_time = 7; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -2567,8 +2299,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Start of the Offer validity time.
      * 
@@ -2579,7 +2309,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -2591,8 +2321,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Start of the Offer validity time.
      * 
@@ -2611,8 +2339,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Start of the Offer validity time.
      * 
@@ -2620,13 +2346,11 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 7; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Start of the Offer validity time.
      * 
@@ -2637,12 +2361,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * Start of the Offer validity time.
      * 
@@ -2650,17 +2373,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 7; */ 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> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -2668,35 +2388,24 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * Output only. End of the Offer validity time.
      * 
* - * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * Output only. End of the Offer validity time.
      * 
* - * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -2707,14 +2416,11 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Output only. End of the Offer validity time.
      * 
* - * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -2730,16 +2436,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. End of the Offer validity time.
      * 
* - * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -2750,20 +2454,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. End of the Offer validity time.
      * 
* - * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -2775,14 +2476,11 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. End of the Offer validity time.
      * 
* - * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { if (endTimeBuilder_ == null) { @@ -2796,93 +2494,73 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. End of the Offer validity time.
      * 
* - * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. End of the Offer validity time.
      * 
* - * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Output only. End of the Offer validity time.
      * 
* - * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_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> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; } private java.util.List parameterDefinitions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureParameterDefinitionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - parameterDefinitions_ = - new java.util.ArrayList( - parameterDefinitions_); + parameterDefinitions_ = new java.util.ArrayList(parameterDefinitions_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.ParameterDefinition, - com.google.cloud.channel.v1.ParameterDefinition.Builder, - com.google.cloud.channel.v1.ParameterDefinitionOrBuilder> - parameterDefinitionsBuilder_; + com.google.cloud.channel.v1.ParameterDefinition, com.google.cloud.channel.v1.ParameterDefinition.Builder, com.google.cloud.channel.v1.ParameterDefinitionOrBuilder> parameterDefinitionsBuilder_; /** - * - * *
      * Parameters required to use current Offer to purchase.
      * 
* * repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9; */ - public java.util.List - getParameterDefinitionsList() { + public java.util.List getParameterDefinitionsList() { if (parameterDefinitionsBuilder_ == null) { return java.util.Collections.unmodifiableList(parameterDefinitions_); } else { @@ -2890,8 +2568,6 @@ private void ensureParameterDefinitionsIsMutable() { } } /** - * - * *
      * Parameters required to use current Offer to purchase.
      * 
@@ -2906,8 +2582,6 @@ public int getParameterDefinitionsCount() { } } /** - * - * *
      * Parameters required to use current Offer to purchase.
      * 
@@ -2922,8 +2596,6 @@ public com.google.cloud.channel.v1.ParameterDefinition getParameterDefinitions(i } } /** - * - * *
      * Parameters required to use current Offer to purchase.
      * 
@@ -2945,8 +2617,6 @@ public Builder setParameterDefinitions( return this; } /** - * - * *
      * Parameters required to use current Offer to purchase.
      * 
@@ -2965,8 +2635,6 @@ public Builder setParameterDefinitions( return this; } /** - * - * *
      * Parameters required to use current Offer to purchase.
      * 
@@ -2987,8 +2655,6 @@ public Builder addParameterDefinitions(com.google.cloud.channel.v1.ParameterDefi return this; } /** - * - * *
      * Parameters required to use current Offer to purchase.
      * 
@@ -3010,8 +2676,6 @@ public Builder addParameterDefinitions( return this; } /** - * - * *
      * Parameters required to use current Offer to purchase.
      * 
@@ -3030,8 +2694,6 @@ public Builder addParameterDefinitions( return this; } /** - * - * *
      * Parameters required to use current Offer to purchase.
      * 
@@ -3050,8 +2712,6 @@ public Builder addParameterDefinitions( return this; } /** - * - * *
      * Parameters required to use current Offer to purchase.
      * 
@@ -3062,7 +2722,8 @@ public Builder addAllParameterDefinitions( java.lang.Iterable values) { if (parameterDefinitionsBuilder_ == null) { ensureParameterDefinitionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, parameterDefinitions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, parameterDefinitions_); onChanged(); } else { parameterDefinitionsBuilder_.addAllMessages(values); @@ -3070,8 +2731,6 @@ public Builder addAllParameterDefinitions( return this; } /** - * - * *
      * Parameters required to use current Offer to purchase.
      * 
@@ -3089,8 +2748,6 @@ public Builder clearParameterDefinitions() { return this; } /** - * - * *
      * Parameters required to use current Offer to purchase.
      * 
@@ -3108,8 +2765,6 @@ public Builder removeParameterDefinitions(int index) { return this; } /** - * - * *
      * Parameters required to use current Offer to purchase.
      * 
@@ -3121,33 +2776,28 @@ public com.google.cloud.channel.v1.ParameterDefinition.Builder getParameterDefin return getParameterDefinitionsFieldBuilder().getBuilder(index); } /** - * - * *
      * Parameters required to use current Offer to purchase.
      * 
* * repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9; */ - public com.google.cloud.channel.v1.ParameterDefinitionOrBuilder - getParameterDefinitionsOrBuilder(int index) { + public com.google.cloud.channel.v1.ParameterDefinitionOrBuilder getParameterDefinitionsOrBuilder( + int index) { if (parameterDefinitionsBuilder_ == null) { - return parameterDefinitions_.get(index); - } else { + return parameterDefinitions_.get(index); } else { return parameterDefinitionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Parameters required to use current Offer to purchase.
      * 
* * repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9; */ - public java.util.List - getParameterDefinitionsOrBuilderList() { + public java.util.List + getParameterDefinitionsOrBuilderList() { if (parameterDefinitionsBuilder_ != null) { return parameterDefinitionsBuilder_.getMessageOrBuilderList(); } else { @@ -3155,22 +2805,17 @@ public com.google.cloud.channel.v1.ParameterDefinition.Builder getParameterDefin } } /** - * - * *
      * Parameters required to use current Offer to purchase.
      * 
* * repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9; */ - public com.google.cloud.channel.v1.ParameterDefinition.Builder - addParameterDefinitionsBuilder() { - return getParameterDefinitionsFieldBuilder() - .addBuilder(com.google.cloud.channel.v1.ParameterDefinition.getDefaultInstance()); + public com.google.cloud.channel.v1.ParameterDefinition.Builder addParameterDefinitionsBuilder() { + return getParameterDefinitionsFieldBuilder().addBuilder( + com.google.cloud.channel.v1.ParameterDefinition.getDefaultInstance()); } /** - * - * *
      * Parameters required to use current Offer to purchase.
      * 
@@ -3179,34 +2824,26 @@ public com.google.cloud.channel.v1.ParameterDefinition.Builder getParameterDefin */ public com.google.cloud.channel.v1.ParameterDefinition.Builder addParameterDefinitionsBuilder( int index) { - return getParameterDefinitionsFieldBuilder() - .addBuilder(index, com.google.cloud.channel.v1.ParameterDefinition.getDefaultInstance()); + return getParameterDefinitionsFieldBuilder().addBuilder( + index, com.google.cloud.channel.v1.ParameterDefinition.getDefaultInstance()); } /** - * - * *
      * Parameters required to use current Offer to purchase.
      * 
* * repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9; */ - public java.util.List - getParameterDefinitionsBuilderList() { + public java.util.List + getParameterDefinitionsBuilderList() { return getParameterDefinitionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.ParameterDefinition, - com.google.cloud.channel.v1.ParameterDefinition.Builder, - com.google.cloud.channel.v1.ParameterDefinitionOrBuilder> + com.google.cloud.channel.v1.ParameterDefinition, com.google.cloud.channel.v1.ParameterDefinition.Builder, com.google.cloud.channel.v1.ParameterDefinitionOrBuilder> getParameterDefinitionsFieldBuilder() { if (parameterDefinitionsBuilder_ == null) { - parameterDefinitionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.ParameterDefinition, - com.google.cloud.channel.v1.ParameterDefinition.Builder, - com.google.cloud.channel.v1.ParameterDefinitionOrBuilder>( + parameterDefinitionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.ParameterDefinition, com.google.cloud.channel.v1.ParameterDefinition.Builder, com.google.cloud.channel.v1.ParameterDefinitionOrBuilder>( parameterDefinitions_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -3218,20 +2855,18 @@ public com.google.cloud.channel.v1.ParameterDefinition.Builder addParameterDefin private java.lang.Object dealCode_ = ""; /** - * - * *
      * The deal code of the offer to get a special promotion or discount.
      * 
* * string deal_code = 12; - * * @return The dealCode. */ public java.lang.String getDealCode() { java.lang.Object ref = dealCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dealCode_ = s; return s; @@ -3240,21 +2875,20 @@ public java.lang.String getDealCode() { } } /** - * - * *
      * The deal code of the offer to get a special promotion or discount.
      * 
* * string deal_code = 12; - * * @return The bytes for dealCode. */ - public com.google.protobuf.ByteString getDealCodeBytes() { + public com.google.protobuf.ByteString + getDealCodeBytes() { java.lang.Object ref = dealCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dealCode_ = b; return b; } else { @@ -3262,68 +2896,61 @@ public com.google.protobuf.ByteString getDealCodeBytes() { } } /** - * - * *
      * The deal code of the offer to get a special promotion or discount.
      * 
* * string deal_code = 12; - * * @param value The dealCode to set. * @return This builder for chaining. */ - public Builder setDealCode(java.lang.String value) { + public Builder setDealCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dealCode_ = value; onChanged(); return this; } /** - * - * *
      * The deal code of the offer to get a special promotion or discount.
      * 
* * string deal_code = 12; - * * @return This builder for chaining. */ public Builder clearDealCode() { - + dealCode_ = getDefaultInstance().getDealCode(); onChanged(); return this; } /** - * - * *
      * The deal code of the offer to get a special promotion or discount.
      * 
* * string deal_code = 12; - * * @param value The bytes for dealCode to set. * @return This builder for chaining. */ - public Builder setDealCodeBytes(com.google.protobuf.ByteString value) { + public Builder setDealCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dealCode_ = 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); } @@ -3333,12 +2960,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.Offer) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.Offer) private static final com.google.cloud.channel.v1.Offer DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.Offer(); } @@ -3347,27 +2974,27 @@ public static com.google.cloud.channel.v1.Offer getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Offer parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Offer parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3382,4 +3009,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Offer getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferName.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferName.java similarity index 100% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferName.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferName.java diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferOrBuilder.java similarity index 83% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferOrBuilder.java index d5b870a67723..02454aea3258 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferOrBuilder.java @@ -1,82 +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/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; -public interface OfferOrBuilder - extends +public interface OfferOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Offer) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Resource Name of the Offer.
    * Format: accounts/{account_id}/offers/{offer_id}
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Resource Name of the Offer.
    * Format: accounts/{account_id}/offers/{offer_id}
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Marketing information for the Offer.
    * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; - * * @return Whether the marketingInfo field is set. */ boolean hasMarketingInfo(); /** - * - * *
    * Marketing information for the Offer.
    * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; - * * @return The marketingInfo. */ com.google.cloud.channel.v1.MarketingInfo getMarketingInfo(); /** - * - * *
    * Marketing information for the Offer.
    * 
@@ -86,32 +57,24 @@ public interface OfferOrBuilder com.google.cloud.channel.v1.MarketingInfoOrBuilder getMarketingInfoOrBuilder(); /** - * - * *
    * SKU the offer is associated with.
    * 
* * .google.cloud.channel.v1.Sku sku = 3; - * * @return Whether the sku field is set. */ boolean hasSku(); /** - * - * *
    * SKU the offer is associated with.
    * 
* * .google.cloud.channel.v1.Sku sku = 3; - * * @return The sku. */ com.google.cloud.channel.v1.Sku getSku(); /** - * - * *
    * SKU the offer is associated with.
    * 
@@ -121,32 +84,24 @@ public interface OfferOrBuilder com.google.cloud.channel.v1.SkuOrBuilder getSkuOrBuilder(); /** - * - * *
    * Describes the payment plan for the Offer.
    * 
* * .google.cloud.channel.v1.Plan plan = 4; - * * @return Whether the plan field is set. */ boolean hasPlan(); /** - * - * *
    * Describes the payment plan for the Offer.
    * 
* * .google.cloud.channel.v1.Plan plan = 4; - * * @return The plan. */ com.google.cloud.channel.v1.Plan getPlan(); /** - * - * *
    * Describes the payment plan for the Offer.
    * 
@@ -156,32 +111,24 @@ public interface OfferOrBuilder com.google.cloud.channel.v1.PlanOrBuilder getPlanOrBuilder(); /** - * - * *
    * Constraints on transacting the Offer.
    * 
* * .google.cloud.channel.v1.Constraints constraints = 5; - * * @return Whether the constraints field is set. */ boolean hasConstraints(); /** - * - * *
    * Constraints on transacting the Offer.
    * 
* * .google.cloud.channel.v1.Constraints constraints = 5; - * * @return The constraints. */ com.google.cloud.channel.v1.Constraints getConstraints(); /** - * - * *
    * Constraints on transacting the Offer.
    * 
@@ -191,18 +138,15 @@ public interface OfferOrBuilder com.google.cloud.channel.v1.ConstraintsOrBuilder getConstraintsOrBuilder(); /** - * - * *
    * Price for each monetizable resource type.
    * 
* * repeated .google.cloud.channel.v1.PriceByResource price_by_resources = 6; */ - java.util.List getPriceByResourcesList(); + java.util.List + getPriceByResourcesList(); /** - * - * *
    * Price for each monetizable resource type.
    * 
@@ -211,8 +155,6 @@ public interface OfferOrBuilder */ com.google.cloud.channel.v1.PriceByResource getPriceByResources(int index); /** - * - * *
    * Price for each monetizable resource type.
    * 
@@ -221,54 +163,43 @@ public interface OfferOrBuilder */ int getPriceByResourcesCount(); /** - * - * *
    * Price for each monetizable resource type.
    * 
* * repeated .google.cloud.channel.v1.PriceByResource price_by_resources = 6; */ - java.util.List + java.util.List getPriceByResourcesOrBuilderList(); /** - * - * *
    * Price for each monetizable resource type.
    * 
* * repeated .google.cloud.channel.v1.PriceByResource price_by_resources = 6; */ - com.google.cloud.channel.v1.PriceByResourceOrBuilder getPriceByResourcesOrBuilder(int index); + com.google.cloud.channel.v1.PriceByResourceOrBuilder getPriceByResourcesOrBuilder( + int index); /** - * - * *
    * Start of the Offer validity time.
    * 
* * .google.protobuf.Timestamp start_time = 7; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Start of the Offer validity time.
    * 
* * .google.protobuf.Timestamp start_time = 7; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Start of the Offer validity time.
    * 
@@ -278,56 +209,42 @@ public interface OfferOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * Output only. End of the Offer validity time.
    * 
* - * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Output only. End of the Offer validity time.
    * 
* - * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Output only. End of the Offer validity time.
    * 
* - * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Parameters required to use current Offer to purchase.
    * 
* * repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9; */ - java.util.List getParameterDefinitionsList(); + java.util.List + getParameterDefinitionsList(); /** - * - * *
    * Parameters required to use current Offer to purchase.
    * 
@@ -336,8 +253,6 @@ public interface OfferOrBuilder */ com.google.cloud.channel.v1.ParameterDefinition getParameterDefinitions(int index); /** - * - * *
    * Parameters required to use current Offer to purchase.
    * 
@@ -346,19 +261,15 @@ public interface OfferOrBuilder */ int getParameterDefinitionsCount(); /** - * - * *
    * Parameters required to use current Offer to purchase.
    * 
* * repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9; */ - java.util.List + java.util.List getParameterDefinitionsOrBuilderList(); /** - * - * *
    * Parameters required to use current Offer to purchase.
    * 
@@ -369,27 +280,22 @@ com.google.cloud.channel.v1.ParameterDefinitionOrBuilder getParameterDefinitions int index); /** - * - * *
    * The deal code of the offer to get a special promotion or discount.
    * 
* * string deal_code = 12; - * * @return The dealCode. */ java.lang.String getDealCode(); /** - * - * *
    * The deal code of the offer to get a special promotion or discount.
    * 
* * string deal_code = 12; - * * @return The bytes for dealCode. */ - com.google.protobuf.ByteString getDealCodeBytes(); + com.google.protobuf.ByteString + getDealCodeBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java new file mode 100644 index 000000000000..38e55111dc12 --- /dev/null +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java @@ -0,0 +1,241 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/offers.proto + +package com.google.cloud.channel.v1; + +public final class OffersProto { + private OffersProto() {} + 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_cloud_channel_v1_Offer_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_Offer_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_ParameterDefinition_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_ParameterDefinition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_Constraints_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_Constraints_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_CustomerConstraints_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_CustomerConstraints_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_Plan_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_Plan_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_PriceByResource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_PriceByResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_Price_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_Price_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_PricePhase_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_PricePhase_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_PriceTier_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_PriceTier_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_Period_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_Period_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/cloud/channel/v1/offers.proto\022\027" + + "google.cloud.channel.v1\032\037google/api/fiel" + + "d_behavior.proto\032\031google/api/resource.pr" + + "oto\032$google/cloud/channel/v1/common.prot" + + "o\032&google/cloud/channel/v1/products.prot" + + "o\032\037google/protobuf/timestamp.proto\032\027goog" + + "le/type/money.proto\"\274\004\n\005Offer\022\014\n\004name\030\001 " + + "\001(\t\022>\n\016marketing_info\030\002 \001(\0132&.google.clo" + + "ud.channel.v1.MarketingInfo\022)\n\003sku\030\003 \001(\013" + + "2\034.google.cloud.channel.v1.Sku\022+\n\004plan\030\004" + + " \001(\0132\035.google.cloud.channel.v1.Plan\0229\n\013c" + + "onstraints\030\005 \001(\0132$.google.cloud.channel." + + "v1.Constraints\022D\n\022price_by_resources\030\006 \003" + + "(\0132(.google.cloud.channel.v1.PriceByReso" + + "urce\022.\n\nstart_time\030\007 \001(\0132\032.google.protob" + + "uf.Timestamp\0221\n\010end_time\030\010 \001(\0132\032.google." + + "protobuf.TimestampB\003\340A\003\022K\n\025parameter_def" + + "initions\030\t \003(\0132,.google.cloud.channel.v1" + + ".ParameterDefinition\022\021\n\tdeal_code\030\014 \001(\t:" + + "I\352AF\n!cloudchannel.googleapis.com/Offer\022" + + "!accounts/{account}/offers/{offer}\"\373\002\n\023P" + + "arameterDefinition\022\014\n\004name\030\001 \001(\t\022R\n\016para" + + "meter_type\030\002 \001(\0162:.google.cloud.channel." + + "v1.ParameterDefinition.ParameterType\0221\n\t" + + "min_value\030\003 \001(\0132\036.google.cloud.channel.v" + + "1.Value\0221\n\tmax_value\030\004 \001(\0132\036.google.clou" + + "d.channel.v1.Value\0226\n\016allowed_values\030\005 \003" + + "(\0132\036.google.cloud.channel.v1.Value\022\020\n\010op" + + "tional\030\006 \001(\010\"R\n\rParameterType\022\036\n\032PARAMET" + + "ER_TYPE_UNSPECIFIED\020\000\022\t\n\005INT64\020\001\022\n\n\006STRI" + + "NG\020\002\022\n\n\006DOUBLE\020\003\"Y\n\013Constraints\022J\n\024custo" + + "mer_constraints\030\001 \001(\0132,.google.cloud.cha" + + "nnel.v1.CustomerConstraints\"\327\001\n\023Customer" + + "Constraints\022\027\n\017allowed_regions\030\001 \003(\t\022W\n\026" + + "allowed_customer_types\030\002 \003(\01627.google.cl" + + "oud.channel.v1.CloudIdentityInfo.Custome" + + "rType\022N\n\027promotional_order_types\030\003 \003(\0162-" + + ".google.cloud.channel.v1.PromotionalOrde" + + "rType\"\206\002\n\004Plan\022:\n\014payment_plan\030\001 \001(\0162$.g" + + "oogle.cloud.channel.v1.PaymentPlan\022:\n\014pa" + + "yment_type\030\002 \001(\0162$.google.cloud.channel." + + "v1.PaymentType\0226\n\rpayment_cycle\030\003 \001(\0132\037." + + "google.cloud.channel.v1.Period\0225\n\014trial_" + + "period\030\004 \001(\0132\037.google.cloud.channel.v1.P" + + "eriod\022\027\n\017billing_account\030\005 \001(\t\"\271\001\n\017Price" + + "ByResource\022<\n\rresource_type\030\001 \001(\0162%.goog" + + "le.cloud.channel.v1.ResourceType\022-\n\005pric" + + "e\030\002 \001(\0132\036.google.cloud.channel.v1.Price\022" + + "9\n\014price_phases\030\003 \003(\0132#.google.cloud.cha" + + "nnel.v1.PricePhase\"\212\001\n\005Price\022&\n\nbase_pri" + + "ce\030\001 \001(\0132\022.google.type.Money\022\020\n\010discount" + + "\030\002 \001(\001\022+\n\017effective_price\030\003 \001(\0132\022.google" + + ".type.Money\022\032\n\022external_price_uri\030\004 \001(\t\"" + + "\331\001\n\nPricePhase\0228\n\013period_type\030\001 \001(\0162#.go" + + "ogle.cloud.channel.v1.PeriodType\022\024\n\014firs" + + "t_period\030\002 \001(\005\022\023\n\013last_period\030\003 \001(\005\022-\n\005p" + + "rice\030\004 \001(\0132\036.google.cloud.channel.v1.Pri" + + "ce\0227\n\013price_tiers\030\005 \003(\0132\".google.cloud.c" + + "hannel.v1.PriceTier\"i\n\tPriceTier\022\026\n\016firs" + + "t_resource\030\001 \001(\005\022\025\n\rlast_resource\030\002 \001(\005\022" + + "-\n\005price\030\003 \001(\0132\036.google.cloud.channel.v1" + + ".Price\"T\n\006Period\022\020\n\010duration\030\001 \001(\005\0228\n\013pe" + + "riod_type\030\002 \001(\0162#.google.cloud.channel.v" + + "1.PeriodType*m\n\024PromotionalOrderType\022 \n\034" + + "PROMOTIONAL_TYPE_UNSPECIFIED\020\000\022\017\n\013NEW_UP" + + "GRADE\020\001\022\014\n\010TRANSFER\020\002\022\024\n\020PROMOTION_SWITC" + + "H\020\003*k\n\013PaymentPlan\022\034\n\030PAYMENT_PLAN_UNSPE" + + "CIFIED\020\000\022\016\n\nCOMMITMENT\020\001\022\014\n\010FLEXIBLE\020\002\022\010" + + "\n\004FREE\020\003\022\t\n\005TRIAL\020\004\022\013\n\007OFFLINE\020\005*D\n\013Paym" + + "entType\022\034\n\030PAYMENT_TYPE_UNSPECIFIED\020\000\022\n\n" + + "\006PREPAY\020\001\022\013\n\007POSTPAY\020\002*\212\001\n\014ResourceType\022" + + "\035\n\031RESOURCE_TYPE_UNSPECIFIED\020\000\022\010\n\004SEAT\020\001" + + "\022\007\n\003MAU\020\002\022\006\n\002GB\020\003\022\021\n\rLICENSED_USER\020\004\022\013\n\007" + + "MINUTES\020\005\022\016\n\nIAAS_USAGE\020\006\022\020\n\014SUBSCRIPTIO" + + "N\020\007*G\n\nPeriodType\022\033\n\027PERIOD_TYPE_UNSPECI" + + "FIED\020\000\022\007\n\003DAY\020\001\022\t\n\005MONTH\020\002\022\010\n\004YEAR\020\003Bl\n\033" + + "com.google.cloud.channel.v1B\013OffersProto" + + "P\001Z>google.golang.org/genproto/googleapi" + + "s/cloud/channel/v1;channelb\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.cloud.channel.v1.CommonProto.getDescriptor(), + com.google.cloud.channel.v1.ProductsProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.type.MoneyProto.getDescriptor(), + }); + internal_static_google_cloud_channel_v1_Offer_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_channel_v1_Offer_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_Offer_descriptor, + new java.lang.String[] { "Name", "MarketingInfo", "Sku", "Plan", "Constraints", "PriceByResources", "StartTime", "EndTime", "ParameterDefinitions", "DealCode", }); + internal_static_google_cloud_channel_v1_ParameterDefinition_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_channel_v1_ParameterDefinition_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_ParameterDefinition_descriptor, + new java.lang.String[] { "Name", "ParameterType", "MinValue", "MaxValue", "AllowedValues", "Optional", }); + internal_static_google_cloud_channel_v1_Constraints_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_channel_v1_Constraints_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_Constraints_descriptor, + new java.lang.String[] { "CustomerConstraints", }); + internal_static_google_cloud_channel_v1_CustomerConstraints_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_channel_v1_CustomerConstraints_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_CustomerConstraints_descriptor, + new java.lang.String[] { "AllowedRegions", "AllowedCustomerTypes", "PromotionalOrderTypes", }); + internal_static_google_cloud_channel_v1_Plan_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_channel_v1_Plan_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_Plan_descriptor, + new java.lang.String[] { "PaymentPlan", "PaymentType", "PaymentCycle", "TrialPeriod", "BillingAccount", }); + internal_static_google_cloud_channel_v1_PriceByResource_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_channel_v1_PriceByResource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_PriceByResource_descriptor, + new java.lang.String[] { "ResourceType", "Price", "PricePhases", }); + internal_static_google_cloud_channel_v1_Price_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_channel_v1_Price_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_Price_descriptor, + new java.lang.String[] { "BasePrice", "Discount", "EffectivePrice", "ExternalPriceUri", }); + internal_static_google_cloud_channel_v1_PricePhase_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_channel_v1_PricePhase_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_PricePhase_descriptor, + new java.lang.String[] { "PeriodType", "FirstPeriod", "LastPeriod", "Price", "PriceTiers", }); + internal_static_google_cloud_channel_v1_PriceTier_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_channel_v1_PriceTier_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_PriceTier_descriptor, + new java.lang.String[] { "FirstResource", "LastResource", "Price", }); + internal_static_google_cloud_channel_v1_Period_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_channel_v1_Period_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_Period_descriptor, + new java.lang.String[] { "Duration", "PeriodType", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.channel.v1.CommonProto.getDescriptor(); + com.google.cloud.channel.v1.ProductsProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.type.MoneyProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadata.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadata.java similarity index 68% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadata.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadata.java index 1015e7df0b91..bbc5f6969eb7 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadata.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadata.java @@ -1,85 +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/cloud/channel/v1/operations.proto package com.google.cloud.channel.v1; /** - * - * *
- * Provides contextual information about a [google.longrunning.Operation][google.longrunning.Operation].
+ * Provides contextual information about a
+ * [google.longrunning.Operation][google.longrunning.Operation].
  * 
* * Protobuf type {@code google.cloud.channel.v1.OperationMetadata} */ -public final class OperationMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OperationMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.OperationMetadata) OperationMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OperationMetadata.newBuilder() to construct. private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OperationMetadata() { operationType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.OperationsProto - .internal_static_google_cloud_channel_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.OperationsProto.internal_static_google_cloud_channel_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.OperationsProto - .internal_static_google_cloud_channel_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.channel.v1.OperationsProto.internal_static_google_cloud_channel_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.OperationMetadata.class, - com.google.cloud.channel.v1.OperationMetadata.Builder.class); + com.google.cloud.channel.v1.OperationMetadata.class, com.google.cloud.channel.v1.OperationMetadata.Builder.class); } /** - * - * *
    * RPCs that return a Long Running Operation.
    * 
* * Protobuf enum {@code google.cloud.channel.v1.OperationMetadata.OperationType} */ - public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { + public enum OperationType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not used.
      * 
@@ -88,8 +67,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ OPERATION_TYPE_UNSPECIFIED(0), /** - * - * *
      * Long Running Operation was triggered by CreateEntitlement.
      * 
@@ -98,8 +75,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ CREATE_ENTITLEMENT(1), /** - * - * *
      * Long Running Operation was triggered by ChangeRenewalSettings.
      * 
@@ -108,8 +83,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ CHANGE_RENEWAL_SETTINGS(3), /** - * - * *
      * Long Running Operation was triggered by StartPaidService.
      * 
@@ -118,8 +91,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ START_PAID_SERVICE(5), /** - * - * *
      * Long Running Operation was triggered by ActivateEntitlement.
      * 
@@ -128,8 +99,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ ACTIVATE_ENTITLEMENT(7), /** - * - * *
      * Long Running Operation was triggered by SuspendEntitlement.
      * 
@@ -138,8 +107,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ SUSPEND_ENTITLEMENT(8), /** - * - * *
      * Long Running Operation was triggered by CancelEntitlement.
      * 
@@ -148,8 +115,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ CANCEL_ENTITLEMENT(9), /** - * - * *
      * Long Running Operation was triggered by TransferEntitlements.
      * 
@@ -158,8 +123,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ TRANSFER_ENTITLEMENTS(10), /** - * - * *
      * Long Running Operation was triggered by TransferEntitlementsToGoogle.
      * 
@@ -168,8 +131,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ TRANSFER_ENTITLEMENTS_TO_GOOGLE(11), /** - * - * *
      * Long Running Operation was triggered by ChangeOffer.
      * 
@@ -178,8 +139,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ CHANGE_OFFER(14), /** - * - * *
      * Long Running Operation was triggered by ChangeParameters.
      * 
@@ -188,8 +147,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ CHANGE_PARAMETERS(15), /** - * - * *
      * Long Running Operation was triggered by ProvisionCloudIdentity.
      * 
@@ -201,8 +158,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Not used.
      * 
@@ -211,8 +166,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OPERATION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Long Running Operation was triggered by CreateEntitlement.
      * 
@@ -221,8 +174,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATE_ENTITLEMENT_VALUE = 1; /** - * - * *
      * Long Running Operation was triggered by ChangeRenewalSettings.
      * 
@@ -231,8 +182,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CHANGE_RENEWAL_SETTINGS_VALUE = 3; /** - * - * *
      * Long Running Operation was triggered by StartPaidService.
      * 
@@ -241,8 +190,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int START_PAID_SERVICE_VALUE = 5; /** - * - * *
      * Long Running Operation was triggered by ActivateEntitlement.
      * 
@@ -251,8 +198,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTIVATE_ENTITLEMENT_VALUE = 7; /** - * - * *
      * Long Running Operation was triggered by SuspendEntitlement.
      * 
@@ -261,8 +206,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUSPEND_ENTITLEMENT_VALUE = 8; /** - * - * *
      * Long Running Operation was triggered by CancelEntitlement.
      * 
@@ -271,8 +214,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCEL_ENTITLEMENT_VALUE = 9; /** - * - * *
      * Long Running Operation was triggered by TransferEntitlements.
      * 
@@ -281,8 +222,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TRANSFER_ENTITLEMENTS_VALUE = 10; /** - * - * *
      * Long Running Operation was triggered by TransferEntitlementsToGoogle.
      * 
@@ -291,8 +230,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TRANSFER_ENTITLEMENTS_TO_GOOGLE_VALUE = 11; /** - * - * *
      * Long Running Operation was triggered by ChangeOffer.
      * 
@@ -301,8 +238,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CHANGE_OFFER_VALUE = 14; /** - * - * *
      * Long Running Operation was triggered by ChangeParameters.
      * 
@@ -311,8 +246,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CHANGE_PARAMETERS_VALUE = 15; /** - * - * *
      * Long Running Operation was triggered by ProvisionCloudIdentity.
      * 
@@ -321,6 +254,7 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROVISION_CLOUD_IDENTITY_VALUE = 16; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -345,67 +279,58 @@ public static OperationType valueOf(int value) { */ public static OperationType forNumber(int value) { switch (value) { - case 0: - return OPERATION_TYPE_UNSPECIFIED; - case 1: - return CREATE_ENTITLEMENT; - case 3: - return CHANGE_RENEWAL_SETTINGS; - case 5: - return START_PAID_SERVICE; - case 7: - return ACTIVATE_ENTITLEMENT; - case 8: - return SUSPEND_ENTITLEMENT; - case 9: - return CANCEL_ENTITLEMENT; - case 10: - return TRANSFER_ENTITLEMENTS; - case 11: - return TRANSFER_ENTITLEMENTS_TO_GOOGLE; - case 14: - return CHANGE_OFFER; - case 15: - return CHANGE_PARAMETERS; - case 16: - return PROVISION_CLOUD_IDENTITY; - default: - return null; + case 0: return OPERATION_TYPE_UNSPECIFIED; + case 1: return CREATE_ENTITLEMENT; + case 3: return CHANGE_RENEWAL_SETTINGS; + case 5: return START_PAID_SERVICE; + case 7: return ACTIVATE_ENTITLEMENT; + case 8: return SUSPEND_ENTITLEMENT; + case 9: return CANCEL_ENTITLEMENT; + case 10: return TRANSFER_ENTITLEMENTS; + case 11: return TRANSFER_ENTITLEMENTS_TO_GOOGLE; + case 14: return CHANGE_OFFER; + case 15: return CHANGE_PARAMETERS; + case 16: return PROVISION_CLOUD_IDENTITY; + 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< + OperationType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public OperationType findValueByNumber(int number) { + return OperationType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public OperationType findValueByNumber(int number) { - return OperationType.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.cloud.channel.v1.OperationMetadata.getDescriptor().getEnumTypes().get(0); } private static final OperationType[] VALUES = values(); - public static OperationType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static OperationType 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; @@ -425,43 +350,31 @@ private OperationType(int value) { public static final int OPERATION_TYPE_FIELD_NUMBER = 1; private int operationType_; /** - * - * *
    * The RPC that initiated this Long Running Operation.
    * 
* * .google.cloud.channel.v1.OperationMetadata.OperationType operation_type = 1; - * * @return The enum numeric value on the wire for operationType. */ - @java.lang.Override - public int getOperationTypeValue() { + @java.lang.Override public int getOperationTypeValue() { return operationType_; } /** - * - * *
    * The RPC that initiated this Long Running Operation.
    * 
* * .google.cloud.channel.v1.OperationMetadata.OperationType operation_type = 1; - * * @return The operationType. */ - @java.lang.Override - public com.google.cloud.channel.v1.OperationMetadata.OperationType getOperationType() { + @java.lang.Override public com.google.cloud.channel.v1.OperationMetadata.OperationType getOperationType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.OperationMetadata.OperationType result = - com.google.cloud.channel.v1.OperationMetadata.OperationType.valueOf(operationType_); - return result == null - ? com.google.cloud.channel.v1.OperationMetadata.OperationType.UNRECOGNIZED - : result; + com.google.cloud.channel.v1.OperationMetadata.OperationType result = com.google.cloud.channel.v1.OperationMetadata.OperationType.valueOf(operationType_); + return result == null ? com.google.cloud.channel.v1.OperationMetadata.OperationType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -473,10 +386,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (operationType_ - != com.google.cloud.channel.v1.OperationMetadata.OperationType.OPERATION_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (operationType_ != com.google.cloud.channel.v1.OperationMetadata.OperationType.OPERATION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, operationType_); } getUnknownFields().writeTo(output); @@ -488,10 +400,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (operationType_ - != com.google.cloud.channel.v1.OperationMetadata.OperationType.OPERATION_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, operationType_); + if (operationType_ != com.google.cloud.channel.v1.OperationMetadata.OperationType.OPERATION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, operationType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -501,13 +412,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.channel.v1.OperationMetadata other = - (com.google.cloud.channel.v1.OperationMetadata) obj; + com.google.cloud.channel.v1.OperationMetadata other = (com.google.cloud.channel.v1.OperationMetadata) obj; if (operationType_ != other.operationType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -528,136 +438,131 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.OperationMetadata parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.OperationMetadata parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.OperationMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.OperationMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.OperationMetadata 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.cloud.channel.v1.OperationMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.OperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.OperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.OperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Provides contextual information about a [google.longrunning.Operation][google.longrunning.Operation].
+   * Provides contextual information about a
+   * [google.longrunning.Operation][google.longrunning.Operation].
    * 
* * Protobuf type {@code google.cloud.channel.v1.OperationMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.OperationMetadata) com.google.cloud.channel.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.OperationsProto - .internal_static_google_cloud_channel_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.OperationsProto.internal_static_google_cloud_channel_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.OperationsProto - .internal_static_google_cloud_channel_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.channel.v1.OperationsProto.internal_static_google_cloud_channel_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.OperationMetadata.class, - com.google.cloud.channel.v1.OperationMetadata.Builder.class); + com.google.cloud.channel.v1.OperationMetadata.class, com.google.cloud.channel.v1.OperationMetadata.Builder.class); } // Construct using com.google.cloud.channel.v1.OperationMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -667,9 +572,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.OperationsProto - .internal_static_google_cloud_channel_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.OperationsProto.internal_static_google_cloud_channel_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -688,8 +593,7 @@ public com.google.cloud.channel.v1.OperationMetadata build() { @java.lang.Override public com.google.cloud.channel.v1.OperationMetadata buildPartial() { - com.google.cloud.channel.v1.OperationMetadata result = - new com.google.cloud.channel.v1.OperationMetadata(this); + com.google.cloud.channel.v1.OperationMetadata result = new com.google.cloud.channel.v1.OperationMetadata(this); result.operationType_ = operationType_; onBuilt(); return result; @@ -699,39 +603,38 @@ public com.google.cloud.channel.v1.OperationMetadata 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.cloud.channel.v1.OperationMetadata) { - return mergeFrom((com.google.cloud.channel.v1.OperationMetadata) other); + return mergeFrom((com.google.cloud.channel.v1.OperationMetadata)other); } else { super.mergeFrom(other); return this; @@ -769,19 +672,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - operationType_ = input.readEnum(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + operationType_ = input.readEnum(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -794,100 +695,80 @@ public Builder mergeFrom( private int operationType_ = 0; /** - * - * *
      * The RPC that initiated this Long Running Operation.
      * 
* * .google.cloud.channel.v1.OperationMetadata.OperationType operation_type = 1; - * * @return The enum numeric value on the wire for operationType. */ - @java.lang.Override - public int getOperationTypeValue() { + @java.lang.Override public int getOperationTypeValue() { return operationType_; } /** - * - * *
      * The RPC that initiated this Long Running Operation.
      * 
* * .google.cloud.channel.v1.OperationMetadata.OperationType operation_type = 1; - * * @param value The enum numeric value on the wire for operationType to set. * @return This builder for chaining. */ public Builder setOperationTypeValue(int value) { - + operationType_ = value; onChanged(); return this; } /** - * - * *
      * The RPC that initiated this Long Running Operation.
      * 
* * .google.cloud.channel.v1.OperationMetadata.OperationType operation_type = 1; - * * @return The operationType. */ @java.lang.Override public com.google.cloud.channel.v1.OperationMetadata.OperationType getOperationType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.OperationMetadata.OperationType result = - com.google.cloud.channel.v1.OperationMetadata.OperationType.valueOf(operationType_); - return result == null - ? com.google.cloud.channel.v1.OperationMetadata.OperationType.UNRECOGNIZED - : result; + com.google.cloud.channel.v1.OperationMetadata.OperationType result = com.google.cloud.channel.v1.OperationMetadata.OperationType.valueOf(operationType_); + return result == null ? com.google.cloud.channel.v1.OperationMetadata.OperationType.UNRECOGNIZED : result; } /** - * - * *
      * The RPC that initiated this Long Running Operation.
      * 
* * .google.cloud.channel.v1.OperationMetadata.OperationType operation_type = 1; - * * @param value The operationType to set. * @return This builder for chaining. */ - public Builder setOperationType( - com.google.cloud.channel.v1.OperationMetadata.OperationType value) { + public Builder setOperationType(com.google.cloud.channel.v1.OperationMetadata.OperationType value) { if (value == null) { throw new NullPointerException(); } - + operationType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The RPC that initiated this Long Running Operation.
      * 
* * .google.cloud.channel.v1.OperationMetadata.OperationType operation_type = 1; - * * @return This builder for chaining. */ public Builder clearOperationType() { - + operationType_ = 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); } @@ -897,12 +778,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.OperationMetadata) private static final com.google.cloud.channel.v1.OperationMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.OperationMetadata(); } @@ -911,27 +792,27 @@ public static com.google.cloud.channel.v1.OperationMetadata getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -946,4 +827,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadataOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadataOrBuilder.java similarity index 56% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadataOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadataOrBuilder.java index 02e241df7d36..dacf2ba1cf0c 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadataOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadataOrBuilder.java @@ -1,49 +1,27 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/operations.proto package com.google.cloud.channel.v1; -public interface OperationMetadataOrBuilder - extends +public interface OperationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The RPC that initiated this Long Running Operation.
    * 
* * .google.cloud.channel.v1.OperationMetadata.OperationType operation_type = 1; - * * @return The enum numeric value on the wire for operationType. */ int getOperationTypeValue(); /** - * - * *
    * The RPC that initiated this Long Running Operation.
    * 
* * .google.cloud.channel.v1.OperationMetadata.OperationType operation_type = 1; - * * @return The operationType. */ com.google.cloud.channel.v1.OperationMetadata.OperationType getOperationType(); diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationsProto.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationsProto.java new file mode 100644 index 000000000000..728e1686f358 --- /dev/null +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationsProto.java @@ -0,0 +1,61 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/operations.proto + +package com.google.cloud.channel.v1; + +public final class OperationsProto { + private OperationsProto() {} + 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_cloud_channel_v1_OperationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_OperationMetadata_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/cloud/channel/v1/operations.pro" + + "to\022\027google.cloud.channel.v1\"\266\003\n\021Operatio" + + "nMetadata\022P\n\016operation_type\030\001 \001(\01628.goog" + + "le.cloud.channel.v1.OperationMetadata.Op" + + "erationType\"\316\002\n\rOperationType\022\036\n\032OPERATI" + + "ON_TYPE_UNSPECIFIED\020\000\022\026\n\022CREATE_ENTITLEM" + + "ENT\020\001\022\033\n\027CHANGE_RENEWAL_SETTINGS\020\003\022\026\n\022ST" + + "ART_PAID_SERVICE\020\005\022\030\n\024ACTIVATE_ENTITLEME" + + "NT\020\007\022\027\n\023SUSPEND_ENTITLEMENT\020\010\022\026\n\022CANCEL_" + + "ENTITLEMENT\020\t\022\031\n\025TRANSFER_ENTITLEMENTS\020\n" + + "\022#\n\037TRANSFER_ENTITLEMENTS_TO_GOOGLE\020\013\022\020\n" + + "\014CHANGE_OFFER\020\016\022\025\n\021CHANGE_PARAMETERS\020\017\022\034" + + "\n\030PROVISION_CLOUD_IDENTITY\020\020Bp\n\033com.goog" + + "le.cloud.channel.v1B\017OperationsProtoP\001Z>" + + "google.golang.org/genproto/googleapis/cl" + + "oud/channel/v1;channelb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_cloud_channel_v1_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_channel_v1_OperationMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_OperationMetadata_descriptor, + new java.lang.String[] { "OperationType", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Parameter.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Parameter.java similarity index 67% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Parameter.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Parameter.java index 8e03775a0943..43893047bfd8 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Parameter.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Parameter.java @@ -1,83 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/entitlements.proto package com.google.cloud.channel.v1; /** - * - * *
  * Definition for extended entitlement parameters.
  * 
* * Protobuf type {@code google.cloud.channel.v1.Parameter} */ -public final class Parameter extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Parameter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.Parameter) ParameterOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Parameter.newBuilder() to construct. private Parameter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Parameter() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Parameter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_Parameter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_Parameter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_Parameter_fieldAccessorTable + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_Parameter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Parameter.class, - com.google.cloud.channel.v1.Parameter.Builder.class); + com.google.cloud.channel.v1.Parameter.class, com.google.cloud.channel.v1.Parameter.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Name of the parameter.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -86,29 +64,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; } } /** - * - * *
    * Name of the parameter.
    * 
* * 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 { @@ -119,14 +97,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VALUE_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.Value value_; /** - * - * *
    * Value of the parameter.
    * 
* * .google.cloud.channel.v1.Value value = 2; - * * @return Whether the value field is set. */ @java.lang.Override @@ -134,14 +109,11 @@ public boolean hasValue() { return value_ != null; } /** - * - * *
    * Value of the parameter.
    * 
* * .google.cloud.channel.v1.Value value = 2; - * * @return The value. */ @java.lang.Override @@ -149,8 +121,6 @@ public com.google.cloud.channel.v1.Value getValue() { return value_ == null ? com.google.cloud.channel.v1.Value.getDefaultInstance() : value_; } /** - * - * *
    * Value of the parameter.
    * 
@@ -165,16 +135,13 @@ public com.google.cloud.channel.v1.ValueOrBuilder getValueOrBuilder() { public static final int EDITABLE_FIELD_NUMBER = 3; private boolean editable_; /** - * - * *
-   * Output only. Specifies whether this parameter is allowed to be changed. For example, for
-   * a Google Workspace Business Starter entitlement in commitment plan,
-   * num_units is editable when entitlement is active.
+   * Output only. Specifies whether this parameter is allowed to be changed. For
+   * example, for a Google Workspace Business Starter entitlement in commitment
+   * plan, num_units is editable when entitlement is active.
    * 
* * bool editable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The editable. */ @java.lang.Override @@ -183,7 +150,6 @@ public boolean getEditable() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -195,7 +161,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -218,10 +185,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (value_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getValue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getValue()); } if (editable_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, editable_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, editable_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -231,19 +200,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.cloud.channel.v1.Parameter)) { return super.equals(obj); } com.google.cloud.channel.v1.Parameter other = (com.google.cloud.channel.v1.Parameter) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasValue() != other.hasValue()) return false; if (hasValue()) { - if (!getValue().equals(other.getValue())) return false; + if (!getValue() + .equals(other.getValue())) return false; } - if (getEditable() != other.getEditable()) return false; + if (getEditable() + != other.getEditable()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -262,141 +234,137 @@ public int hashCode() { hash = (53 * hash) + getValue().hashCode(); } hash = (37 * hash) + EDITABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEditable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEditable()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.channel.v1.Parameter parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.Parameter parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Parameter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.Parameter parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.channel.v1.Parameter parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Parameter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Parameter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Parameter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Parameter 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.cloud.channel.v1.Parameter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.Parameter parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.Parameter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.Parameter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.Parameter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.Parameter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Definition for extended entitlement parameters.
    * 
* * Protobuf type {@code google.cloud.channel.v1.Parameter} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.Parameter) com.google.cloud.channel.v1.ParameterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_Parameter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_Parameter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_Parameter_fieldAccessorTable + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_Parameter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Parameter.class, - com.google.cloud.channel.v1.Parameter.Builder.class); + com.google.cloud.channel.v1.Parameter.class, com.google.cloud.channel.v1.Parameter.Builder.class); } // Construct using com.google.cloud.channel.v1.Parameter.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -414,9 +382,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_Parameter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_Parameter_descriptor; } @java.lang.Override @@ -435,8 +403,7 @@ public com.google.cloud.channel.v1.Parameter build() { @java.lang.Override public com.google.cloud.channel.v1.Parameter buildPartial() { - com.google.cloud.channel.v1.Parameter result = - new com.google.cloud.channel.v1.Parameter(this); + com.google.cloud.channel.v1.Parameter result = new com.google.cloud.channel.v1.Parameter(this); result.name_ = name_; if (valueBuilder_ == null) { result.value_ = value_; @@ -452,39 +419,38 @@ public com.google.cloud.channel.v1.Parameter 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.cloud.channel.v1.Parameter) { - return mergeFrom((com.google.cloud.channel.v1.Parameter) other); + return mergeFrom((com.google.cloud.channel.v1.Parameter)other); } else { super.mergeFrom(other); return this; @@ -529,31 +495,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getValueFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - case 24: - { - editable_ = input.readBool(); - - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getValueFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 24: { + editable_ = input.readBool(); + + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -566,20 +530,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Name of the parameter.
      * 
* * 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; @@ -588,21 +550,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Name of the parameter.
      * 
* * 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 { @@ -610,61 +571,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Name of the parameter.
      * 
* * 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; } /** - * - * *
      * Name of the parameter.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Name of the parameter.
      * 
* * 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; @@ -672,33 +626,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.channel.v1.Value value_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Value, - com.google.cloud.channel.v1.Value.Builder, - com.google.cloud.channel.v1.ValueOrBuilder> - valueBuilder_; + com.google.cloud.channel.v1.Value, com.google.cloud.channel.v1.Value.Builder, com.google.cloud.channel.v1.ValueOrBuilder> valueBuilder_; /** - * - * *
      * Value of the parameter.
      * 
* * .google.cloud.channel.v1.Value value = 2; - * * @return Whether the value field is set. */ public boolean hasValue() { return valueBuilder_ != null || value_ != null; } /** - * - * *
      * Value of the parameter.
      * 
* * .google.cloud.channel.v1.Value value = 2; - * * @return The value. */ public com.google.cloud.channel.v1.Value getValue() { @@ -709,8 +654,6 @@ public com.google.cloud.channel.v1.Value getValue() { } } /** - * - * *
      * Value of the parameter.
      * 
@@ -731,15 +674,14 @@ public Builder setValue(com.google.cloud.channel.v1.Value value) { return this; } /** - * - * *
      * Value of the parameter.
      * 
* * .google.cloud.channel.v1.Value value = 2; */ - public Builder setValue(com.google.cloud.channel.v1.Value.Builder builderForValue) { + public Builder setValue( + com.google.cloud.channel.v1.Value.Builder builderForValue) { if (valueBuilder_ == null) { value_ = builderForValue.build(); onChanged(); @@ -750,8 +692,6 @@ public Builder setValue(com.google.cloud.channel.v1.Value.Builder builderForValu return this; } /** - * - * *
      * Value of the parameter.
      * 
@@ -762,7 +702,7 @@ public Builder mergeValue(com.google.cloud.channel.v1.Value value) { if (valueBuilder_ == null) { if (value_ != null) { value_ = - com.google.cloud.channel.v1.Value.newBuilder(value_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.Value.newBuilder(value_).mergeFrom(value).buildPartial(); } else { value_ = value; } @@ -774,8 +714,6 @@ public Builder mergeValue(com.google.cloud.channel.v1.Value value) { return this; } /** - * - * *
      * Value of the parameter.
      * 
@@ -794,8 +732,6 @@ public Builder clearValue() { return this; } /** - * - * *
      * Value of the parameter.
      * 
@@ -803,13 +739,11 @@ public Builder clearValue() { * .google.cloud.channel.v1.Value value = 2; */ public com.google.cloud.channel.v1.Value.Builder getValueBuilder() { - + onChanged(); return getValueFieldBuilder().getBuilder(); } /** - * - * *
      * Value of the parameter.
      * 
@@ -820,12 +754,11 @@ public com.google.cloud.channel.v1.ValueOrBuilder getValueOrBuilder() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { - return value_ == null ? com.google.cloud.channel.v1.Value.getDefaultInstance() : value_; + return value_ == null ? + com.google.cloud.channel.v1.Value.getDefaultInstance() : value_; } } /** - * - * *
      * Value of the parameter.
      * 
@@ -833,34 +766,28 @@ public com.google.cloud.channel.v1.ValueOrBuilder getValueOrBuilder() { * .google.cloud.channel.v1.Value value = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Value, - com.google.cloud.channel.v1.Value.Builder, - com.google.cloud.channel.v1.ValueOrBuilder> + com.google.cloud.channel.v1.Value, com.google.cloud.channel.v1.Value.Builder, com.google.cloud.channel.v1.ValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { - valueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Value, - com.google.cloud.channel.v1.Value.Builder, - com.google.cloud.channel.v1.ValueOrBuilder>( - getValue(), getParentForChildren(), isClean()); + valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Value, com.google.cloud.channel.v1.Value.Builder, com.google.cloud.channel.v1.ValueOrBuilder>( + getValue(), + getParentForChildren(), + isClean()); value_ = null; } return valueBuilder_; } - private boolean editable_; + private boolean editable_ ; /** - * - * *
-     * Output only. Specifies whether this parameter is allowed to be changed. For example, for
-     * a Google Workspace Business Starter entitlement in commitment plan,
-     * num_units is editable when entitlement is active.
+     * Output only. Specifies whether this parameter is allowed to be changed. For
+     * example, for a Google Workspace Business Starter entitlement in commitment
+     * plan, num_units is editable when entitlement is active.
      * 
* * bool editable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The editable. */ @java.lang.Override @@ -868,47 +795,41 @@ public boolean getEditable() { return editable_; } /** - * - * *
-     * Output only. Specifies whether this parameter is allowed to be changed. For example, for
-     * a Google Workspace Business Starter entitlement in commitment plan,
-     * num_units is editable when entitlement is active.
+     * Output only. Specifies whether this parameter is allowed to be changed. For
+     * example, for a Google Workspace Business Starter entitlement in commitment
+     * plan, num_units is editable when entitlement is active.
      * 
* * bool editable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The editable to set. * @return This builder for chaining. */ public Builder setEditable(boolean value) { - + editable_ = value; onChanged(); return this; } /** - * - * *
-     * Output only. Specifies whether this parameter is allowed to be changed. For example, for
-     * a Google Workspace Business Starter entitlement in commitment plan,
-     * num_units is editable when entitlement is active.
+     * Output only. Specifies whether this parameter is allowed to be changed. For
+     * example, for a Google Workspace Business Starter entitlement in commitment
+     * plan, num_units is editable when entitlement is active.
      * 
* * bool editable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearEditable() { - + editable_ = 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); } @@ -918,12 +839,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.Parameter) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.Parameter) private static final com.google.cloud.channel.v1.Parameter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.Parameter(); } @@ -932,27 +853,27 @@ public static com.google.cloud.channel.v1.Parameter getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Parameter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Parameter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -967,4 +888,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Parameter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinition.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinition.java similarity index 76% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinition.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinition.java index c86b59e6ef61..fefdabf4115c 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinition.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinition.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/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; /** - * - * *
  * Parameter's definition. Specifies what parameter is required to use the
  * current Offer to purchase.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.ParameterDefinition}
  */
-public final class ParameterDefinition extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ParameterDefinition extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ParameterDefinition)
     ParameterDefinitionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ParameterDefinition.newBuilder() to construct.
   private ParameterDefinition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ParameterDefinition() {
     name_ = "";
     parameterType_ = 0;
@@ -46,43 +28,39 @@ private ParameterDefinition() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ParameterDefinition();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.channel.v1.OffersProto
-        .internal_static_google_cloud_channel_v1_ParameterDefinition_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_ParameterDefinition_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.OffersProto
-        .internal_static_google_cloud_channel_v1_ParameterDefinition_fieldAccessorTable
+    return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_ParameterDefinition_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.ParameterDefinition.class,
-            com.google.cloud.channel.v1.ParameterDefinition.Builder.class);
+            com.google.cloud.channel.v1.ParameterDefinition.class, com.google.cloud.channel.v1.ParameterDefinition.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Data type of the parameter.
    * 
* * Protobuf enum {@code google.cloud.channel.v1.ParameterDefinition.ParameterType} */ - public enum ParameterType implements com.google.protobuf.ProtocolMessageEnum { + public enum ParameterType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not used.
      * 
@@ -91,8 +69,6 @@ public enum ParameterType implements com.google.protobuf.ProtocolMessageEnum { */ PARAMETER_TYPE_UNSPECIFIED(0), /** - * - * *
      * Int64 type.
      * 
@@ -101,8 +77,6 @@ public enum ParameterType implements com.google.protobuf.ProtocolMessageEnum { */ INT64(1), /** - * - * *
      * String type.
      * 
@@ -111,8 +85,6 @@ public enum ParameterType implements com.google.protobuf.ProtocolMessageEnum { */ STRING(2), /** - * - * *
      * Double type.
      * 
@@ -124,8 +96,6 @@ public enum ParameterType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Not used.
      * 
@@ -134,8 +104,6 @@ public enum ParameterType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PARAMETER_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Int64 type.
      * 
@@ -144,8 +112,6 @@ public enum ParameterType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INT64_VALUE = 1; /** - * - * *
      * String type.
      * 
@@ -154,8 +120,6 @@ public enum ParameterType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STRING_VALUE = 2; /** - * - * *
      * Double type.
      * 
@@ -164,6 +128,7 @@ public enum ParameterType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DOUBLE_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -188,51 +153,50 @@ public static ParameterType valueOf(int value) { */ public static ParameterType forNumber(int value) { switch (value) { - case 0: - return PARAMETER_TYPE_UNSPECIFIED; - case 1: - return INT64; - case 2: - return STRING; - case 3: - return DOUBLE; - default: - return null; + case 0: return PARAMETER_TYPE_UNSPECIFIED; + case 1: return INT64; + case 2: return STRING; + case 3: return DOUBLE; + 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< + ParameterType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ParameterType findValueByNumber(int number) { + return ParameterType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ParameterType findValueByNumber(int number) { - return ParameterType.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.cloud.channel.v1.ParameterDefinition.getDescriptor().getEnumTypes().get(0); } private static final ParameterType[] VALUES = values(); - public static ParameterType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ParameterType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -252,14 +216,11 @@ private ParameterType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Name of the parameter.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -268,29 +229,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; } } /** - * - * *
    * Name of the parameter.
    * 
* * 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 { @@ -301,48 +262,35 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PARAMETER_TYPE_FIELD_NUMBER = 2; private int parameterType_; /** - * - * *
    * Data type of the parameter. Minimal value, Maximum value and allowed values
    * will use specified data type here.
    * 
* * .google.cloud.channel.v1.ParameterDefinition.ParameterType parameter_type = 2; - * * @return The enum numeric value on the wire for parameterType. */ - @java.lang.Override - public int getParameterTypeValue() { + @java.lang.Override public int getParameterTypeValue() { return parameterType_; } /** - * - * *
    * Data type of the parameter. Minimal value, Maximum value and allowed values
    * will use specified data type here.
    * 
* * .google.cloud.channel.v1.ParameterDefinition.ParameterType parameter_type = 2; - * * @return The parameterType. */ - @java.lang.Override - public com.google.cloud.channel.v1.ParameterDefinition.ParameterType getParameterType() { + @java.lang.Override public com.google.cloud.channel.v1.ParameterDefinition.ParameterType getParameterType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.ParameterDefinition.ParameterType result = - com.google.cloud.channel.v1.ParameterDefinition.ParameterType.valueOf(parameterType_); - return result == null - ? com.google.cloud.channel.v1.ParameterDefinition.ParameterType.UNRECOGNIZED - : result; + com.google.cloud.channel.v1.ParameterDefinition.ParameterType result = com.google.cloud.channel.v1.ParameterDefinition.ParameterType.valueOf(parameterType_); + return result == null ? com.google.cloud.channel.v1.ParameterDefinition.ParameterType.UNRECOGNIZED : result; } public static final int MIN_VALUE_FIELD_NUMBER = 3; private com.google.cloud.channel.v1.Value minValue_; /** - * - * *
    * Minimal value of the parameter, if applicable. Inclusive. For example,
    * minimal commitment when purchasing Anthos is 0.01.
@@ -350,7 +298,6 @@ public com.google.cloud.channel.v1.ParameterDefinition.ParameterType getParamete
    * 
* * .google.cloud.channel.v1.Value min_value = 3; - * * @return Whether the minValue field is set. */ @java.lang.Override @@ -358,8 +305,6 @@ public boolean hasMinValue() { return minValue_ != null; } /** - * - * *
    * Minimal value of the parameter, if applicable. Inclusive. For example,
    * minimal commitment when purchasing Anthos is 0.01.
@@ -367,7 +312,6 @@ public boolean hasMinValue() {
    * 
* * .google.cloud.channel.v1.Value min_value = 3; - * * @return The minValue. */ @java.lang.Override @@ -375,8 +319,6 @@ public com.google.cloud.channel.v1.Value getMinValue() { return minValue_ == null ? com.google.cloud.channel.v1.Value.getDefaultInstance() : minValue_; } /** - * - * *
    * Minimal value of the parameter, if applicable. Inclusive. For example,
    * minimal commitment when purchasing Anthos is 0.01.
@@ -393,8 +335,6 @@ public com.google.cloud.channel.v1.ValueOrBuilder getMinValueOrBuilder() {
   public static final int MAX_VALUE_FIELD_NUMBER = 4;
   private com.google.cloud.channel.v1.Value maxValue_;
   /**
-   *
-   *
    * 
    * Maximum value of the parameter, if applicable. Inclusive. For example,
    * maximum seats when purchasing Google Workspace Business Standard.
@@ -402,7 +342,6 @@ public com.google.cloud.channel.v1.ValueOrBuilder getMinValueOrBuilder() {
    * 
* * .google.cloud.channel.v1.Value max_value = 4; - * * @return Whether the maxValue field is set. */ @java.lang.Override @@ -410,8 +349,6 @@ public boolean hasMaxValue() { return maxValue_ != null; } /** - * - * *
    * Maximum value of the parameter, if applicable. Inclusive. For example,
    * maximum seats when purchasing Google Workspace Business Standard.
@@ -419,7 +356,6 @@ public boolean hasMaxValue() {
    * 
* * .google.cloud.channel.v1.Value max_value = 4; - * * @return The maxValue. */ @java.lang.Override @@ -427,8 +363,6 @@ public com.google.cloud.channel.v1.Value getMaxValue() { return maxValue_ == null ? com.google.cloud.channel.v1.Value.getDefaultInstance() : maxValue_; } /** - * - * *
    * Maximum value of the parameter, if applicable. Inclusive. For example,
    * maximum seats when purchasing Google Workspace Business Standard.
@@ -445,8 +379,6 @@ public com.google.cloud.channel.v1.ValueOrBuilder getMaxValueOrBuilder() {
   public static final int ALLOWED_VALUES_FIELD_NUMBER = 5;
   private java.util.List allowedValues_;
   /**
-   *
-   *
    * 
    * If not empty, parameter values must be drawn from this list.
    * For example, [us-west1, us-west2, ...]
@@ -460,8 +392,6 @@ public java.util.List getAllowedValuesList()
     return allowedValues_;
   }
   /**
-   *
-   *
    * 
    * If not empty, parameter values must be drawn from this list.
    * For example, [us-west1, us-west2, ...]
@@ -471,13 +401,11 @@ public java.util.List getAllowedValuesList()
    * repeated .google.cloud.channel.v1.Value allowed_values = 5;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getAllowedValuesOrBuilderList() {
     return allowedValues_;
   }
   /**
-   *
-   *
    * 
    * If not empty, parameter values must be drawn from this list.
    * For example, [us-west1, us-west2, ...]
@@ -491,8 +419,6 @@ public int getAllowedValuesCount() {
     return allowedValues_.size();
   }
   /**
-   *
-   *
    * 
    * If not empty, parameter values must be drawn from this list.
    * For example, [us-west1, us-west2, ...]
@@ -506,8 +432,6 @@ public com.google.cloud.channel.v1.Value getAllowedValues(int index) {
     return allowedValues_.get(index);
   }
   /**
-   *
-   *
    * 
    * If not empty, parameter values must be drawn from this list.
    * For example, [us-west1, us-west2, ...]
@@ -517,21 +441,19 @@ public com.google.cloud.channel.v1.Value getAllowedValues(int index) {
    * repeated .google.cloud.channel.v1.Value allowed_values = 5;
    */
   @java.lang.Override
-  public com.google.cloud.channel.v1.ValueOrBuilder getAllowedValuesOrBuilder(int index) {
+  public com.google.cloud.channel.v1.ValueOrBuilder getAllowedValuesOrBuilder(
+      int index) {
     return allowedValues_.get(index);
   }
 
   public static final int OPTIONAL_FIELD_NUMBER = 6;
   private boolean optional_;
   /**
-   *
-   *
    * 
    * If set to true, parameter is optional to purchase this Offer.
    * 
* * bool optional = 6; - * * @return The optional. */ @java.lang.Override @@ -540,7 +462,6 @@ public boolean getOptional() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -552,13 +473,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 (parameterType_ - != com.google.cloud.channel.v1.ParameterDefinition.ParameterType.PARAMETER_TYPE_UNSPECIFIED - .getNumber()) { + if (parameterType_ != com.google.cloud.channel.v1.ParameterDefinition.ParameterType.PARAMETER_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, parameterType_); } if (minValue_ != null) { @@ -585,22 +505,25 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (parameterType_ - != com.google.cloud.channel.v1.ParameterDefinition.ParameterType.PARAMETER_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, parameterType_); + if (parameterType_ != com.google.cloud.channel.v1.ParameterDefinition.ParameterType.PARAMETER_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, parameterType_); } if (minValue_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMinValue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getMinValue()); } if (maxValue_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getMaxValue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getMaxValue()); } for (int i = 0; i < allowedValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, allowedValues_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, allowedValues_.get(i)); } if (optional_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, optional_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, optional_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -610,26 +533,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.cloud.channel.v1.ParameterDefinition)) { return super.equals(obj); } - com.google.cloud.channel.v1.ParameterDefinition other = - (com.google.cloud.channel.v1.ParameterDefinition) obj; + com.google.cloud.channel.v1.ParameterDefinition other = (com.google.cloud.channel.v1.ParameterDefinition) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (parameterType_ != other.parameterType_) return false; if (hasMinValue() != other.hasMinValue()) return false; if (hasMinValue()) { - if (!getMinValue().equals(other.getMinValue())) return false; + if (!getMinValue() + .equals(other.getMinValue())) return false; } if (hasMaxValue() != other.hasMaxValue()) return false; if (hasMaxValue()) { - if (!getMaxValue().equals(other.getMaxValue())) return false; + if (!getMaxValue() + .equals(other.getMaxValue())) return false; } - if (!getAllowedValuesList().equals(other.getAllowedValuesList())) return false; - if (getOptional() != other.getOptional()) return false; + if (!getAllowedValuesList() + .equals(other.getAllowedValuesList())) return false; + if (getOptional() + != other.getOptional()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -658,110 +585,104 @@ public int hashCode() { hash = (53 * hash) + getAllowedValuesList().hashCode(); } hash = (37 * hash) + OPTIONAL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getOptional()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getOptional()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.channel.v1.ParameterDefinition parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.ParameterDefinition parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ParameterDefinition parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ParameterDefinition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ParameterDefinition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ParameterDefinition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ParameterDefinition parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ParameterDefinition 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.cloud.channel.v1.ParameterDefinition parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ParameterDefinition parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ParameterDefinition parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ParameterDefinition parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ParameterDefinition parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ParameterDefinition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ParameterDefinition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Parameter's definition. Specifies what parameter is required to use the
    * current Offer to purchase.
@@ -769,32 +690,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.channel.v1.ParameterDefinition}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ParameterDefinition)
       com.google.cloud.channel.v1.ParameterDefinitionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.channel.v1.OffersProto
-          .internal_static_google_cloud_channel_v1_ParameterDefinition_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_ParameterDefinition_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.OffersProto
-          .internal_static_google_cloud_channel_v1_ParameterDefinition_fieldAccessorTable
+      return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_ParameterDefinition_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.ParameterDefinition.class,
-              com.google.cloud.channel.v1.ParameterDefinition.Builder.class);
+              com.google.cloud.channel.v1.ParameterDefinition.class, com.google.cloud.channel.v1.ParameterDefinition.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.ParameterDefinition.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -827,9 +749,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.channel.v1.OffersProto
-          .internal_static_google_cloud_channel_v1_ParameterDefinition_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_ParameterDefinition_descriptor;
     }
 
     @java.lang.Override
@@ -848,8 +770,7 @@ public com.google.cloud.channel.v1.ParameterDefinition build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.ParameterDefinition buildPartial() {
-      com.google.cloud.channel.v1.ParameterDefinition result =
-          new com.google.cloud.channel.v1.ParameterDefinition(this);
+      com.google.cloud.channel.v1.ParameterDefinition result = new com.google.cloud.channel.v1.ParameterDefinition(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.parameterType_ = parameterType_;
@@ -881,39 +802,38 @@ public com.google.cloud.channel.v1.ParameterDefinition 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.cloud.channel.v1.ParameterDefinition) {
-        return mergeFrom((com.google.cloud.channel.v1.ParameterDefinition) other);
+        return mergeFrom((com.google.cloud.channel.v1.ParameterDefinition)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -921,8 +841,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.ParameterDefinition other) {
-      if (other == com.google.cloud.channel.v1.ParameterDefinition.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.channel.v1.ParameterDefinition.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -954,10 +873,9 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ParameterDefinition other)
             allowedValuesBuilder_ = null;
             allowedValues_ = other.allowedValues_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            allowedValuesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getAllowedValuesFieldBuilder()
-                    : null;
+            allowedValuesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getAllowedValuesFieldBuilder() : null;
           } else {
             allowedValuesBuilder_.addAllMessages(other.allowedValues_);
           }
@@ -992,56 +910,54 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 16:
-              {
-                parameterType_ = input.readEnum();
-
-                break;
-              } // case 16
-            case 26:
-              {
-                input.readMessage(getMinValueFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getMaxValueFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 34
-            case 42:
-              {
-                com.google.cloud.channel.v1.Value m =
-                    input.readMessage(
-                        com.google.cloud.channel.v1.Value.parser(), extensionRegistry);
-                if (allowedValuesBuilder_ == null) {
-                  ensureAllowedValuesIsMutable();
-                  allowedValues_.add(m);
-                } else {
-                  allowedValuesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 42
-            case 48:
-              {
-                optional_ = input.readBool();
-
-                break;
-              } // case 48
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 16: {
+              parameterType_ = input.readEnum();
+
+              break;
+            } // case 16
+            case 26: {
+              input.readMessage(
+                  getMinValueFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getMaxValueFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 34
+            case 42: {
+              com.google.cloud.channel.v1.Value m =
+                  input.readMessage(
+                      com.google.cloud.channel.v1.Value.parser(),
+                      extensionRegistry);
+              if (allowedValuesBuilder_ == null) {
+                ensureAllowedValuesIsMutable();
+                allowedValues_.add(m);
+              } else {
+                allowedValuesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 42
+            case 48: {
+              optional_ = input.readBool();
+
+              break;
+            } // case 48
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1051,25 +967,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Name of the parameter.
      * 
* * 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; @@ -1078,21 +991,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Name of the parameter.
      * 
* * 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 { @@ -1100,61 +1012,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Name of the parameter.
      * 
* * 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; } /** - * - * *
      * Name of the parameter.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Name of the parameter.
      * 
* * 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; @@ -1162,98 +1067,78 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int parameterType_ = 0; /** - * - * *
      * Data type of the parameter. Minimal value, Maximum value and allowed values
      * will use specified data type here.
      * 
* * .google.cloud.channel.v1.ParameterDefinition.ParameterType parameter_type = 2; - * * @return The enum numeric value on the wire for parameterType. */ - @java.lang.Override - public int getParameterTypeValue() { + @java.lang.Override public int getParameterTypeValue() { return parameterType_; } /** - * - * *
      * Data type of the parameter. Minimal value, Maximum value and allowed values
      * will use specified data type here.
      * 
* * .google.cloud.channel.v1.ParameterDefinition.ParameterType parameter_type = 2; - * * @param value The enum numeric value on the wire for parameterType to set. * @return This builder for chaining. */ public Builder setParameterTypeValue(int value) { - + parameterType_ = value; onChanged(); return this; } /** - * - * *
      * Data type of the parameter. Minimal value, Maximum value and allowed values
      * will use specified data type here.
      * 
* * .google.cloud.channel.v1.ParameterDefinition.ParameterType parameter_type = 2; - * * @return The parameterType. */ @java.lang.Override public com.google.cloud.channel.v1.ParameterDefinition.ParameterType getParameterType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.ParameterDefinition.ParameterType result = - com.google.cloud.channel.v1.ParameterDefinition.ParameterType.valueOf(parameterType_); - return result == null - ? com.google.cloud.channel.v1.ParameterDefinition.ParameterType.UNRECOGNIZED - : result; + com.google.cloud.channel.v1.ParameterDefinition.ParameterType result = com.google.cloud.channel.v1.ParameterDefinition.ParameterType.valueOf(parameterType_); + return result == null ? com.google.cloud.channel.v1.ParameterDefinition.ParameterType.UNRECOGNIZED : result; } /** - * - * *
      * Data type of the parameter. Minimal value, Maximum value and allowed values
      * will use specified data type here.
      * 
* * .google.cloud.channel.v1.ParameterDefinition.ParameterType parameter_type = 2; - * * @param value The parameterType to set. * @return This builder for chaining. */ - public Builder setParameterType( - com.google.cloud.channel.v1.ParameterDefinition.ParameterType value) { + public Builder setParameterType(com.google.cloud.channel.v1.ParameterDefinition.ParameterType value) { if (value == null) { throw new NullPointerException(); } - + parameterType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Data type of the parameter. Minimal value, Maximum value and allowed values
      * will use specified data type here.
      * 
* * .google.cloud.channel.v1.ParameterDefinition.ParameterType parameter_type = 2; - * * @return This builder for chaining. */ public Builder clearParameterType() { - + parameterType_ = 0; onChanged(); return this; @@ -1261,13 +1146,8 @@ public Builder clearParameterType() { private com.google.cloud.channel.v1.Value minValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Value, - com.google.cloud.channel.v1.Value.Builder, - com.google.cloud.channel.v1.ValueOrBuilder> - minValueBuilder_; + com.google.cloud.channel.v1.Value, com.google.cloud.channel.v1.Value.Builder, com.google.cloud.channel.v1.ValueOrBuilder> minValueBuilder_; /** - * - * *
      * Minimal value of the parameter, if applicable. Inclusive. For example,
      * minimal commitment when purchasing Anthos is 0.01.
@@ -1275,15 +1155,12 @@ public Builder clearParameterType() {
      * 
* * .google.cloud.channel.v1.Value min_value = 3; - * * @return Whether the minValue field is set. */ public boolean hasMinValue() { return minValueBuilder_ != null || minValue_ != null; } /** - * - * *
      * Minimal value of the parameter, if applicable. Inclusive. For example,
      * minimal commitment when purchasing Anthos is 0.01.
@@ -1291,21 +1168,16 @@ public boolean hasMinValue() {
      * 
* * .google.cloud.channel.v1.Value min_value = 3; - * * @return The minValue. */ public com.google.cloud.channel.v1.Value getMinValue() { if (minValueBuilder_ == null) { - return minValue_ == null - ? com.google.cloud.channel.v1.Value.getDefaultInstance() - : minValue_; + return minValue_ == null ? com.google.cloud.channel.v1.Value.getDefaultInstance() : minValue_; } else { return minValueBuilder_.getMessage(); } } /** - * - * *
      * Minimal value of the parameter, if applicable. Inclusive. For example,
      * minimal commitment when purchasing Anthos is 0.01.
@@ -1328,8 +1200,6 @@ public Builder setMinValue(com.google.cloud.channel.v1.Value value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Minimal value of the parameter, if applicable. Inclusive. For example,
      * minimal commitment when purchasing Anthos is 0.01.
@@ -1338,7 +1208,8 @@ public Builder setMinValue(com.google.cloud.channel.v1.Value value) {
      *
      * .google.cloud.channel.v1.Value min_value = 3;
      */
-    public Builder setMinValue(com.google.cloud.channel.v1.Value.Builder builderForValue) {
+    public Builder setMinValue(
+        com.google.cloud.channel.v1.Value.Builder builderForValue) {
       if (minValueBuilder_ == null) {
         minValue_ = builderForValue.build();
         onChanged();
@@ -1349,8 +1220,6 @@ public Builder setMinValue(com.google.cloud.channel.v1.Value.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Minimal value of the parameter, if applicable. Inclusive. For example,
      * minimal commitment when purchasing Anthos is 0.01.
@@ -1363,9 +1232,7 @@ public Builder mergeMinValue(com.google.cloud.channel.v1.Value value) {
       if (minValueBuilder_ == null) {
         if (minValue_ != null) {
           minValue_ =
-              com.google.cloud.channel.v1.Value.newBuilder(minValue_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.channel.v1.Value.newBuilder(minValue_).mergeFrom(value).buildPartial();
         } else {
           minValue_ = value;
         }
@@ -1377,8 +1244,6 @@ public Builder mergeMinValue(com.google.cloud.channel.v1.Value value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Minimal value of the parameter, if applicable. Inclusive. For example,
      * minimal commitment when purchasing Anthos is 0.01.
@@ -1399,8 +1264,6 @@ public Builder clearMinValue() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Minimal value of the parameter, if applicable. Inclusive. For example,
      * minimal commitment when purchasing Anthos is 0.01.
@@ -1410,13 +1273,11 @@ public Builder clearMinValue() {
      * .google.cloud.channel.v1.Value min_value = 3;
      */
     public com.google.cloud.channel.v1.Value.Builder getMinValueBuilder() {
-
+      
       onChanged();
       return getMinValueFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Minimal value of the parameter, if applicable. Inclusive. For example,
      * minimal commitment when purchasing Anthos is 0.01.
@@ -1429,14 +1290,11 @@ public com.google.cloud.channel.v1.ValueOrBuilder getMinValueOrBuilder() {
       if (minValueBuilder_ != null) {
         return minValueBuilder_.getMessageOrBuilder();
       } else {
-        return minValue_ == null
-            ? com.google.cloud.channel.v1.Value.getDefaultInstance()
-            : minValue_;
+        return minValue_ == null ?
+            com.google.cloud.channel.v1.Value.getDefaultInstance() : minValue_;
       }
     }
     /**
-     *
-     *
      * 
      * Minimal value of the parameter, if applicable. Inclusive. For example,
      * minimal commitment when purchasing Anthos is 0.01.
@@ -1446,17 +1304,14 @@ public com.google.cloud.channel.v1.ValueOrBuilder getMinValueOrBuilder() {
      * .google.cloud.channel.v1.Value min_value = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.channel.v1.Value,
-            com.google.cloud.channel.v1.Value.Builder,
-            com.google.cloud.channel.v1.ValueOrBuilder>
+        com.google.cloud.channel.v1.Value, com.google.cloud.channel.v1.Value.Builder, com.google.cloud.channel.v1.ValueOrBuilder> 
         getMinValueFieldBuilder() {
       if (minValueBuilder_ == null) {
-        minValueBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.channel.v1.Value,
-                com.google.cloud.channel.v1.Value.Builder,
-                com.google.cloud.channel.v1.ValueOrBuilder>(
-                getMinValue(), getParentForChildren(), isClean());
+        minValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.channel.v1.Value, com.google.cloud.channel.v1.Value.Builder, com.google.cloud.channel.v1.ValueOrBuilder>(
+                getMinValue(),
+                getParentForChildren(),
+                isClean());
         minValue_ = null;
       }
       return minValueBuilder_;
@@ -1464,13 +1319,8 @@ public com.google.cloud.channel.v1.ValueOrBuilder getMinValueOrBuilder() {
 
     private com.google.cloud.channel.v1.Value maxValue_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.channel.v1.Value,
-            com.google.cloud.channel.v1.Value.Builder,
-            com.google.cloud.channel.v1.ValueOrBuilder>
-        maxValueBuilder_;
+        com.google.cloud.channel.v1.Value, com.google.cloud.channel.v1.Value.Builder, com.google.cloud.channel.v1.ValueOrBuilder> maxValueBuilder_;
     /**
-     *
-     *
      * 
      * Maximum value of the parameter, if applicable. Inclusive. For example,
      * maximum seats when purchasing Google Workspace Business Standard.
@@ -1478,15 +1328,12 @@ public com.google.cloud.channel.v1.ValueOrBuilder getMinValueOrBuilder() {
      * 
* * .google.cloud.channel.v1.Value max_value = 4; - * * @return Whether the maxValue field is set. */ public boolean hasMaxValue() { return maxValueBuilder_ != null || maxValue_ != null; } /** - * - * *
      * Maximum value of the parameter, if applicable. Inclusive. For example,
      * maximum seats when purchasing Google Workspace Business Standard.
@@ -1494,21 +1341,16 @@ public boolean hasMaxValue() {
      * 
* * .google.cloud.channel.v1.Value max_value = 4; - * * @return The maxValue. */ public com.google.cloud.channel.v1.Value getMaxValue() { if (maxValueBuilder_ == null) { - return maxValue_ == null - ? com.google.cloud.channel.v1.Value.getDefaultInstance() - : maxValue_; + return maxValue_ == null ? com.google.cloud.channel.v1.Value.getDefaultInstance() : maxValue_; } else { return maxValueBuilder_.getMessage(); } } /** - * - * *
      * Maximum value of the parameter, if applicable. Inclusive. For example,
      * maximum seats when purchasing Google Workspace Business Standard.
@@ -1531,8 +1373,6 @@ public Builder setMaxValue(com.google.cloud.channel.v1.Value value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Maximum value of the parameter, if applicable. Inclusive. For example,
      * maximum seats when purchasing Google Workspace Business Standard.
@@ -1541,7 +1381,8 @@ public Builder setMaxValue(com.google.cloud.channel.v1.Value value) {
      *
      * .google.cloud.channel.v1.Value max_value = 4;
      */
-    public Builder setMaxValue(com.google.cloud.channel.v1.Value.Builder builderForValue) {
+    public Builder setMaxValue(
+        com.google.cloud.channel.v1.Value.Builder builderForValue) {
       if (maxValueBuilder_ == null) {
         maxValue_ = builderForValue.build();
         onChanged();
@@ -1552,8 +1393,6 @@ public Builder setMaxValue(com.google.cloud.channel.v1.Value.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Maximum value of the parameter, if applicable. Inclusive. For example,
      * maximum seats when purchasing Google Workspace Business Standard.
@@ -1566,9 +1405,7 @@ public Builder mergeMaxValue(com.google.cloud.channel.v1.Value value) {
       if (maxValueBuilder_ == null) {
         if (maxValue_ != null) {
           maxValue_ =
-              com.google.cloud.channel.v1.Value.newBuilder(maxValue_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.channel.v1.Value.newBuilder(maxValue_).mergeFrom(value).buildPartial();
         } else {
           maxValue_ = value;
         }
@@ -1580,8 +1417,6 @@ public Builder mergeMaxValue(com.google.cloud.channel.v1.Value value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Maximum value of the parameter, if applicable. Inclusive. For example,
      * maximum seats when purchasing Google Workspace Business Standard.
@@ -1602,8 +1437,6 @@ public Builder clearMaxValue() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Maximum value of the parameter, if applicable. Inclusive. For example,
      * maximum seats when purchasing Google Workspace Business Standard.
@@ -1613,13 +1446,11 @@ public Builder clearMaxValue() {
      * .google.cloud.channel.v1.Value max_value = 4;
      */
     public com.google.cloud.channel.v1.Value.Builder getMaxValueBuilder() {
-
+      
       onChanged();
       return getMaxValueFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Maximum value of the parameter, if applicable. Inclusive. For example,
      * maximum seats when purchasing Google Workspace Business Standard.
@@ -1632,14 +1463,11 @@ public com.google.cloud.channel.v1.ValueOrBuilder getMaxValueOrBuilder() {
       if (maxValueBuilder_ != null) {
         return maxValueBuilder_.getMessageOrBuilder();
       } else {
-        return maxValue_ == null
-            ? com.google.cloud.channel.v1.Value.getDefaultInstance()
-            : maxValue_;
+        return maxValue_ == null ?
+            com.google.cloud.channel.v1.Value.getDefaultInstance() : maxValue_;
       }
     }
     /**
-     *
-     *
      * 
      * Maximum value of the parameter, if applicable. Inclusive. For example,
      * maximum seats when purchasing Google Workspace Business Standard.
@@ -1649,41 +1477,32 @@ public com.google.cloud.channel.v1.ValueOrBuilder getMaxValueOrBuilder() {
      * .google.cloud.channel.v1.Value max_value = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.channel.v1.Value,
-            com.google.cloud.channel.v1.Value.Builder,
-            com.google.cloud.channel.v1.ValueOrBuilder>
+        com.google.cloud.channel.v1.Value, com.google.cloud.channel.v1.Value.Builder, com.google.cloud.channel.v1.ValueOrBuilder> 
         getMaxValueFieldBuilder() {
       if (maxValueBuilder_ == null) {
-        maxValueBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.channel.v1.Value,
-                com.google.cloud.channel.v1.Value.Builder,
-                com.google.cloud.channel.v1.ValueOrBuilder>(
-                getMaxValue(), getParentForChildren(), isClean());
+        maxValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.channel.v1.Value, com.google.cloud.channel.v1.Value.Builder, com.google.cloud.channel.v1.ValueOrBuilder>(
+                getMaxValue(),
+                getParentForChildren(),
+                isClean());
         maxValue_ = null;
       }
       return maxValueBuilder_;
     }
 
     private java.util.List allowedValues_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureAllowedValuesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         allowedValues_ = new java.util.ArrayList(allowedValues_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.channel.v1.Value,
-            com.google.cloud.channel.v1.Value.Builder,
-            com.google.cloud.channel.v1.ValueOrBuilder>
-        allowedValuesBuilder_;
+        com.google.cloud.channel.v1.Value, com.google.cloud.channel.v1.Value.Builder, com.google.cloud.channel.v1.ValueOrBuilder> allowedValuesBuilder_;
 
     /**
-     *
-     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -1700,8 +1519,6 @@ public java.util.List getAllowedValuesList()
       }
     }
     /**
-     *
-     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -1718,8 +1535,6 @@ public int getAllowedValuesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -1736,8 +1551,6 @@ public com.google.cloud.channel.v1.Value getAllowedValues(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -1746,7 +1559,8 @@ public com.google.cloud.channel.v1.Value getAllowedValues(int index) {
      *
      * repeated .google.cloud.channel.v1.Value allowed_values = 5;
      */
-    public Builder setAllowedValues(int index, com.google.cloud.channel.v1.Value value) {
+    public Builder setAllowedValues(
+        int index, com.google.cloud.channel.v1.Value value) {
       if (allowedValuesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1760,8 +1574,6 @@ public Builder setAllowedValues(int index, com.google.cloud.channel.v1.Value val
       return this;
     }
     /**
-     *
-     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -1782,8 +1594,6 @@ public Builder setAllowedValues(
       return this;
     }
     /**
-     *
-     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -1806,8 +1616,6 @@ public Builder addAllowedValues(com.google.cloud.channel.v1.Value value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -1816,7 +1624,8 @@ public Builder addAllowedValues(com.google.cloud.channel.v1.Value value) {
      *
      * repeated .google.cloud.channel.v1.Value allowed_values = 5;
      */
-    public Builder addAllowedValues(int index, com.google.cloud.channel.v1.Value value) {
+    public Builder addAllowedValues(
+        int index, com.google.cloud.channel.v1.Value value) {
       if (allowedValuesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1830,8 +1639,6 @@ public Builder addAllowedValues(int index, com.google.cloud.channel.v1.Value val
       return this;
     }
     /**
-     *
-     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -1840,7 +1647,8 @@ public Builder addAllowedValues(int index, com.google.cloud.channel.v1.Value val
      *
      * repeated .google.cloud.channel.v1.Value allowed_values = 5;
      */
-    public Builder addAllowedValues(com.google.cloud.channel.v1.Value.Builder builderForValue) {
+    public Builder addAllowedValues(
+        com.google.cloud.channel.v1.Value.Builder builderForValue) {
       if (allowedValuesBuilder_ == null) {
         ensureAllowedValuesIsMutable();
         allowedValues_.add(builderForValue.build());
@@ -1851,8 +1659,6 @@ public Builder addAllowedValues(com.google.cloud.channel.v1.Value.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -1873,8 +1679,6 @@ public Builder addAllowedValues(
       return this;
     }
     /**
-     *
-     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -1887,7 +1691,8 @@ public Builder addAllAllowedValues(
         java.lang.Iterable values) {
       if (allowedValuesBuilder_ == null) {
         ensureAllowedValuesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedValues_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, allowedValues_);
         onChanged();
       } else {
         allowedValuesBuilder_.addAllMessages(values);
@@ -1895,8 +1700,6 @@ public Builder addAllAllowedValues(
       return this;
     }
     /**
-     *
-     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -1916,8 +1719,6 @@ public Builder clearAllowedValues() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -1937,8 +1738,6 @@ public Builder removeAllowedValues(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -1947,12 +1746,11 @@ public Builder removeAllowedValues(int index) {
      *
      * repeated .google.cloud.channel.v1.Value allowed_values = 5;
      */
-    public com.google.cloud.channel.v1.Value.Builder getAllowedValuesBuilder(int index) {
+    public com.google.cloud.channel.v1.Value.Builder getAllowedValuesBuilder(
+        int index) {
       return getAllowedValuesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -1961,16 +1759,14 @@ public com.google.cloud.channel.v1.Value.Builder getAllowedValuesBuilder(int ind
      *
      * repeated .google.cloud.channel.v1.Value allowed_values = 5;
      */
-    public com.google.cloud.channel.v1.ValueOrBuilder getAllowedValuesOrBuilder(int index) {
+    public com.google.cloud.channel.v1.ValueOrBuilder getAllowedValuesOrBuilder(
+        int index) {
       if (allowedValuesBuilder_ == null) {
-        return allowedValues_.get(index);
-      } else {
+        return allowedValues_.get(index);  } else {
         return allowedValuesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -1979,8 +1775,8 @@ public com.google.cloud.channel.v1.ValueOrBuilder getAllowedValuesOrBuilder(int
      *
      * repeated .google.cloud.channel.v1.Value allowed_values = 5;
      */
-    public java.util.List
-        getAllowedValuesOrBuilderList() {
+    public java.util.List 
+         getAllowedValuesOrBuilderList() {
       if (allowedValuesBuilder_ != null) {
         return allowedValuesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1988,8 +1784,6 @@ public com.google.cloud.channel.v1.ValueOrBuilder getAllowedValuesOrBuilder(int
       }
     }
     /**
-     *
-     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -1999,12 +1793,10 @@ public com.google.cloud.channel.v1.ValueOrBuilder getAllowedValuesOrBuilder(int
      * repeated .google.cloud.channel.v1.Value allowed_values = 5;
      */
     public com.google.cloud.channel.v1.Value.Builder addAllowedValuesBuilder() {
-      return getAllowedValuesFieldBuilder()
-          .addBuilder(com.google.cloud.channel.v1.Value.getDefaultInstance());
+      return getAllowedValuesFieldBuilder().addBuilder(
+          com.google.cloud.channel.v1.Value.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -2013,13 +1805,12 @@ public com.google.cloud.channel.v1.Value.Builder addAllowedValuesBuilder() {
      *
      * repeated .google.cloud.channel.v1.Value allowed_values = 5;
      */
-    public com.google.cloud.channel.v1.Value.Builder addAllowedValuesBuilder(int index) {
-      return getAllowedValuesFieldBuilder()
-          .addBuilder(index, com.google.cloud.channel.v1.Value.getDefaultInstance());
+    public com.google.cloud.channel.v1.Value.Builder addAllowedValuesBuilder(
+        int index) {
+      return getAllowedValuesFieldBuilder().addBuilder(
+          index, com.google.cloud.channel.v1.Value.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -2028,21 +1819,16 @@ public com.google.cloud.channel.v1.Value.Builder addAllowedValuesBuilder(int ind
      *
      * repeated .google.cloud.channel.v1.Value allowed_values = 5;
      */
-    public java.util.List getAllowedValuesBuilderList() {
+    public java.util.List 
+         getAllowedValuesBuilderList() {
       return getAllowedValuesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.channel.v1.Value,
-            com.google.cloud.channel.v1.Value.Builder,
-            com.google.cloud.channel.v1.ValueOrBuilder>
+        com.google.cloud.channel.v1.Value, com.google.cloud.channel.v1.Value.Builder, com.google.cloud.channel.v1.ValueOrBuilder> 
         getAllowedValuesFieldBuilder() {
       if (allowedValuesBuilder_ == null) {
-        allowedValuesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.channel.v1.Value,
-                com.google.cloud.channel.v1.Value.Builder,
-                com.google.cloud.channel.v1.ValueOrBuilder>(
+        allowedValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.channel.v1.Value, com.google.cloud.channel.v1.Value.Builder, com.google.cloud.channel.v1.ValueOrBuilder>(
                 allowedValues_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -2052,16 +1838,13 @@ public java.util.List getAllowedValue
       return allowedValuesBuilder_;
     }
 
-    private boolean optional_;
+    private boolean optional_ ;
     /**
-     *
-     *
      * 
      * If set to true, parameter is optional to purchase this Offer.
      * 
* * bool optional = 6; - * * @return The optional. */ @java.lang.Override @@ -2069,43 +1852,37 @@ public boolean getOptional() { return optional_; } /** - * - * *
      * If set to true, parameter is optional to purchase this Offer.
      * 
* * bool optional = 6; - * * @param value The optional to set. * @return This builder for chaining. */ public Builder setOptional(boolean value) { - + optional_ = value; onChanged(); return this; } /** - * - * *
      * If set to true, parameter is optional to purchase this Offer.
      * 
* * bool optional = 6; - * * @return This builder for chaining. */ public Builder clearOptional() { - + optional_ = 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); } @@ -2115,12 +1892,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ParameterDefinition) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ParameterDefinition) private static final com.google.cloud.channel.v1.ParameterDefinition DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ParameterDefinition(); } @@ -2129,27 +1906,27 @@ public static com.google.cloud.channel.v1.ParameterDefinition getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ParameterDefinition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ParameterDefinition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2164,4 +1941,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ParameterDefinition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinitionOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinitionOrBuilder.java similarity index 84% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinitionOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinitionOrBuilder.java index fdfe16586406..6d8ab439fbd0 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinitionOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinitionOrBuilder.java @@ -1,83 +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/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; -public interface ParameterDefinitionOrBuilder - extends +public interface ParameterDefinitionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ParameterDefinition) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of the parameter.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Name of the parameter.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Data type of the parameter. Minimal value, Maximum value and allowed values
    * will use specified data type here.
    * 
* * .google.cloud.channel.v1.ParameterDefinition.ParameterType parameter_type = 2; - * * @return The enum numeric value on the wire for parameterType. */ int getParameterTypeValue(); /** - * - * *
    * Data type of the parameter. Minimal value, Maximum value and allowed values
    * will use specified data type here.
    * 
* * .google.cloud.channel.v1.ParameterDefinition.ParameterType parameter_type = 2; - * * @return The parameterType. */ com.google.cloud.channel.v1.ParameterDefinition.ParameterType getParameterType(); /** - * - * *
    * Minimal value of the parameter, if applicable. Inclusive. For example,
    * minimal commitment when purchasing Anthos is 0.01.
@@ -85,13 +56,10 @@ public interface ParameterDefinitionOrBuilder
    * 
* * .google.cloud.channel.v1.Value min_value = 3; - * * @return Whether the minValue field is set. */ boolean hasMinValue(); /** - * - * *
    * Minimal value of the parameter, if applicable. Inclusive. For example,
    * minimal commitment when purchasing Anthos is 0.01.
@@ -99,13 +67,10 @@ public interface ParameterDefinitionOrBuilder
    * 
* * .google.cloud.channel.v1.Value min_value = 3; - * * @return The minValue. */ com.google.cloud.channel.v1.Value getMinValue(); /** - * - * *
    * Minimal value of the parameter, if applicable. Inclusive. For example,
    * minimal commitment when purchasing Anthos is 0.01.
@@ -117,8 +82,6 @@ public interface ParameterDefinitionOrBuilder
   com.google.cloud.channel.v1.ValueOrBuilder getMinValueOrBuilder();
 
   /**
-   *
-   *
    * 
    * Maximum value of the parameter, if applicable. Inclusive. For example,
    * maximum seats when purchasing Google Workspace Business Standard.
@@ -126,13 +89,10 @@ public interface ParameterDefinitionOrBuilder
    * 
* * .google.cloud.channel.v1.Value max_value = 4; - * * @return Whether the maxValue field is set. */ boolean hasMaxValue(); /** - * - * *
    * Maximum value of the parameter, if applicable. Inclusive. For example,
    * maximum seats when purchasing Google Workspace Business Standard.
@@ -140,13 +100,10 @@ public interface ParameterDefinitionOrBuilder
    * 
* * .google.cloud.channel.v1.Value max_value = 4; - * * @return The maxValue. */ com.google.cloud.channel.v1.Value getMaxValue(); /** - * - * *
    * Maximum value of the parameter, if applicable. Inclusive. For example,
    * maximum seats when purchasing Google Workspace Business Standard.
@@ -158,8 +115,6 @@ public interface ParameterDefinitionOrBuilder
   com.google.cloud.channel.v1.ValueOrBuilder getMaxValueOrBuilder();
 
   /**
-   *
-   *
    * 
    * If not empty, parameter values must be drawn from this list.
    * For example, [us-west1, us-west2, ...]
@@ -168,10 +123,9 @@ public interface ParameterDefinitionOrBuilder
    *
    * repeated .google.cloud.channel.v1.Value allowed_values = 5;
    */
-  java.util.List getAllowedValuesList();
+  java.util.List 
+      getAllowedValuesList();
   /**
-   *
-   *
    * 
    * If not empty, parameter values must be drawn from this list.
    * For example, [us-west1, us-west2, ...]
@@ -182,8 +136,6 @@ public interface ParameterDefinitionOrBuilder
    */
   com.google.cloud.channel.v1.Value getAllowedValues(int index);
   /**
-   *
-   *
    * 
    * If not empty, parameter values must be drawn from this list.
    * For example, [us-west1, us-west2, ...]
@@ -194,8 +146,6 @@ public interface ParameterDefinitionOrBuilder
    */
   int getAllowedValuesCount();
   /**
-   *
-   *
    * 
    * If not empty, parameter values must be drawn from this list.
    * For example, [us-west1, us-west2, ...]
@@ -204,11 +154,9 @@ public interface ParameterDefinitionOrBuilder
    *
    * repeated .google.cloud.channel.v1.Value allowed_values = 5;
    */
-  java.util.List
+  java.util.List 
       getAllowedValuesOrBuilderList();
   /**
-   *
-   *
    * 
    * If not empty, parameter values must be drawn from this list.
    * For example, [us-west1, us-west2, ...]
@@ -217,17 +165,15 @@ public interface ParameterDefinitionOrBuilder
    *
    * repeated .google.cloud.channel.v1.Value allowed_values = 5;
    */
-  com.google.cloud.channel.v1.ValueOrBuilder getAllowedValuesOrBuilder(int index);
+  com.google.cloud.channel.v1.ValueOrBuilder getAllowedValuesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * If set to true, parameter is optional to purchase this Offer.
    * 
* * bool optional = 6; - * * @return The optional. */ boolean getOptional(); diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterOrBuilder.java similarity index 60% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterOrBuilder.java index db127f5608cb..fd5f23e3ae88 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterOrBuilder.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/cloud/channel/v1/entitlements.proto package com.google.cloud.channel.v1; -public interface ParameterOrBuilder - extends +public interface ParameterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Parameter) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of the parameter.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Name of the parameter.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Value of the parameter.
    * 
* * .google.cloud.channel.v1.Value value = 2; - * * @return Whether the value field is set. */ boolean hasValue(); /** - * - * *
    * Value of the parameter.
    * 
* * .google.cloud.channel.v1.Value value = 2; - * * @return The value. */ com.google.cloud.channel.v1.Value getValue(); /** - * - * *
    * Value of the parameter.
    * 
@@ -84,16 +55,13 @@ public interface ParameterOrBuilder com.google.cloud.channel.v1.ValueOrBuilder getValueOrBuilder(); /** - * - * *
-   * Output only. Specifies whether this parameter is allowed to be changed. For example, for
-   * a Google Workspace Business Starter entitlement in commitment plan,
-   * num_units is editable when entitlement is active.
+   * Output only. Specifies whether this parameter is allowed to be changed. For
+   * example, for a Google Workspace Business Starter entitlement in commitment
+   * plan, num_units is editable when entitlement is active.
    * 
* * bool editable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The editable. */ boolean getEditable(); diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentPlan.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentPlan.java similarity index 68% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentPlan.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentPlan.java index 494e3387d369..456fbda20591 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentPlan.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentPlan.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/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; /** - * - * *
  * Describes how the reseller will be billed.
  * 
* * Protobuf enum {@code google.cloud.channel.v1.PaymentPlan} */ -public enum PaymentPlan implements com.google.protobuf.ProtocolMessageEnum { +public enum PaymentPlan + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Not used.
    * 
@@ -39,8 +21,6 @@ public enum PaymentPlan implements com.google.protobuf.ProtocolMessageEnum { */ PAYMENT_PLAN_UNSPECIFIED(0), /** - * - * *
    * Commitment.
    * 
@@ -49,8 +29,6 @@ public enum PaymentPlan implements com.google.protobuf.ProtocolMessageEnum { */ COMMITMENT(1), /** - * - * *
    * No commitment.
    * 
@@ -59,8 +37,6 @@ public enum PaymentPlan implements com.google.protobuf.ProtocolMessageEnum { */ FLEXIBLE(2), /** - * - * *
    * Free.
    * 
@@ -69,8 +45,6 @@ public enum PaymentPlan implements com.google.protobuf.ProtocolMessageEnum { */ FREE(3), /** - * - * *
    * Trial.
    * 
@@ -79,8 +53,6 @@ public enum PaymentPlan implements com.google.protobuf.ProtocolMessageEnum { */ TRIAL(4), /** - * - * *
    * Price and ordering not available through API.
    * 
@@ -92,8 +64,6 @@ public enum PaymentPlan implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Not used.
    * 
@@ -102,8 +72,6 @@ public enum PaymentPlan implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PAYMENT_PLAN_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Commitment.
    * 
@@ -112,8 +80,6 @@ public enum PaymentPlan implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMMITMENT_VALUE = 1; /** - * - * *
    * No commitment.
    * 
@@ -122,8 +88,6 @@ public enum PaymentPlan implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FLEXIBLE_VALUE = 2; /** - * - * *
    * Free.
    * 
@@ -132,8 +96,6 @@ public enum PaymentPlan implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FREE_VALUE = 3; /** - * - * *
    * Trial.
    * 
@@ -142,8 +104,6 @@ public enum PaymentPlan implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TRIAL_VALUE = 4; /** - * - * *
    * Price and ordering not available through API.
    * 
@@ -152,6 +112,7 @@ public enum PaymentPlan implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OFFLINE_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -176,55 +137,52 @@ public static PaymentPlan valueOf(int value) { */ public static PaymentPlan forNumber(int value) { switch (value) { - case 0: - return PAYMENT_PLAN_UNSPECIFIED; - case 1: - return COMMITMENT; - case 2: - return FLEXIBLE; - case 3: - return FREE; - case 4: - return TRIAL; - case 5: - return OFFLINE; - default: - return null; + case 0: return PAYMENT_PLAN_UNSPECIFIED; + case 1: return COMMITMENT; + case 2: return FLEXIBLE; + case 3: return FREE; + case 4: return TRIAL; + case 5: return OFFLINE; + 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 PaymentPlan findValueByNumber(int number) { - return PaymentPlan.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + PaymentPlan> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PaymentPlan findValueByNumber(int number) { + return PaymentPlan.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.cloud.channel.v1.OffersProto.getDescriptor().getEnumTypes().get(1); } private static final PaymentPlan[] VALUES = values(); - public static PaymentPlan valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PaymentPlan valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -240,3 +198,4 @@ private PaymentPlan(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.channel.v1.PaymentPlan) } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentType.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentType.java similarity index 67% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentType.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentType.java index 818f78b6311f..32ef3aea6201 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentType.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentType.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/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; /** - * - * *
  * Specifies when the payment needs to happen.
  * 
* * Protobuf enum {@code google.cloud.channel.v1.PaymentType} */ -public enum PaymentType implements com.google.protobuf.ProtocolMessageEnum { +public enum PaymentType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Not used.
    * 
@@ -39,8 +21,6 @@ public enum PaymentType implements com.google.protobuf.ProtocolMessageEnum { */ PAYMENT_TYPE_UNSPECIFIED(0), /** - * - * *
    * Prepay. Amount has to be paid before service is rendered.
    * 
@@ -49,8 +29,6 @@ public enum PaymentType implements com.google.protobuf.ProtocolMessageEnum { */ PREPAY(1), /** - * - * *
    * Postpay. Reseller is charged at the end of the Payment cycle.
    * 
@@ -62,8 +40,6 @@ public enum PaymentType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Not used.
    * 
@@ -72,8 +48,6 @@ public enum PaymentType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PAYMENT_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Prepay. Amount has to be paid before service is rendered.
    * 
@@ -82,8 +56,6 @@ public enum PaymentType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PREPAY_VALUE = 1; /** - * - * *
    * Postpay. Reseller is charged at the end of the Payment cycle.
    * 
@@ -92,6 +64,7 @@ public enum PaymentType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POSTPAY_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -116,49 +89,49 @@ public static PaymentType valueOf(int value) { */ public static PaymentType forNumber(int value) { switch (value) { - case 0: - return PAYMENT_TYPE_UNSPECIFIED; - case 1: - return PREPAY; - case 2: - return POSTPAY; - default: - return null; + case 0: return PAYMENT_TYPE_UNSPECIFIED; + case 1: return PREPAY; + case 2: return POSTPAY; + 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 PaymentType findValueByNumber(int number) { - return PaymentType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + PaymentType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PaymentType findValueByNumber(int number) { + return PaymentType.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.cloud.channel.v1.OffersProto.getDescriptor().getEnumTypes().get(2); } private static final PaymentType[] VALUES = values(); - public static PaymentType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PaymentType 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 PaymentType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.channel.v1.PaymentType) } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustment.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustment.java similarity index 69% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustment.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustment.java index d081b812accf..4d74627222cd 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustment.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustment.java @@ -1,75 +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/cloud/channel/v1/repricing.proto package com.google.cloud.channel.v1; /** - * - * *
  * An adjustment that applies a flat markup or markdown to an entire bill.
  * 
* * Protobuf type {@code google.cloud.channel.v1.PercentageAdjustment} */ -public final class PercentageAdjustment extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PercentageAdjustment extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.PercentageAdjustment) PercentageAdjustmentOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PercentageAdjustment.newBuilder() to construct. private PercentageAdjustment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PercentageAdjustment() {} + private PercentageAdjustment() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PercentageAdjustment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.RepricingProto - .internal_static_google_cloud_channel_v1_PercentageAdjustment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_PercentageAdjustment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.RepricingProto - .internal_static_google_cloud_channel_v1_PercentageAdjustment_fieldAccessorTable + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_PercentageAdjustment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.PercentageAdjustment.class, - com.google.cloud.channel.v1.PercentageAdjustment.Builder.class); + com.google.cloud.channel.v1.PercentageAdjustment.class, com.google.cloud.channel.v1.PercentageAdjustment.Builder.class); } public static final int PERCENTAGE_FIELD_NUMBER = 2; private com.google.type.Decimal percentage_; /** - * - * *
    * The percentage of the bill to adjust.
    * For example:
@@ -79,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.type.Decimal percentage = 2; - * * @return Whether the percentage field is set. */ @java.lang.Override @@ -87,8 +66,6 @@ public boolean hasPercentage() { return percentage_ != null; } /** - * - * *
    * The percentage of the bill to adjust.
    * For example:
@@ -98,7 +75,6 @@ public boolean hasPercentage() {
    * 
* * .google.type.Decimal percentage = 2; - * * @return The percentage. */ @java.lang.Override @@ -106,8 +82,6 @@ public com.google.type.Decimal getPercentage() { return percentage_ == null ? com.google.type.Decimal.getDefaultInstance() : percentage_; } /** - * - * *
    * The percentage of the bill to adjust.
    * For example:
@@ -124,7 +98,6 @@ public com.google.type.DecimalOrBuilder getPercentageOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -136,7 +109,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (percentage_ != null) {
       output.writeMessage(2, getPercentage());
     }
@@ -150,7 +124,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (percentage_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPercentage());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getPercentage());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -160,17 +135,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.cloud.channel.v1.PercentageAdjustment)) {
       return super.equals(obj);
     }
-    com.google.cloud.channel.v1.PercentageAdjustment other =
-        (com.google.cloud.channel.v1.PercentageAdjustment) obj;
+    com.google.cloud.channel.v1.PercentageAdjustment other = (com.google.cloud.channel.v1.PercentageAdjustment) obj;
 
     if (hasPercentage() != other.hasPercentage()) return false;
     if (hasPercentage()) {
-      if (!getPercentage().equals(other.getPercentage())) return false;
+      if (!getPercentage()
+          .equals(other.getPercentage())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -192,136 +167,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.channel.v1.PercentageAdjustment parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.channel.v1.PercentageAdjustment parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.channel.v1.PercentageAdjustment parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.channel.v1.PercentageAdjustment parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.channel.v1.PercentageAdjustment parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.channel.v1.PercentageAdjustment parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.channel.v1.PercentageAdjustment parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.channel.v1.PercentageAdjustment parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.channel.v1.PercentageAdjustment parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.channel.v1.PercentageAdjustment parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.channel.v1.PercentageAdjustment parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.channel.v1.PercentageAdjustment parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.channel.v1.PercentageAdjustment parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.channel.v1.PercentageAdjustment parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.channel.v1.PercentageAdjustment parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.channel.v1.PercentageAdjustment prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * An adjustment that applies a flat markup or markdown to an entire bill.
    * 
* * Protobuf type {@code google.cloud.channel.v1.PercentageAdjustment} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.PercentageAdjustment) com.google.cloud.channel.v1.PercentageAdjustmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.RepricingProto - .internal_static_google_cloud_channel_v1_PercentageAdjustment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_PercentageAdjustment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.RepricingProto - .internal_static_google_cloud_channel_v1_PercentageAdjustment_fieldAccessorTable + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_PercentageAdjustment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.PercentageAdjustment.class, - com.google.cloud.channel.v1.PercentageAdjustment.Builder.class); + com.google.cloud.channel.v1.PercentageAdjustment.class, com.google.cloud.channel.v1.PercentageAdjustment.Builder.class); } // Construct using com.google.cloud.channel.v1.PercentageAdjustment.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -335,9 +304,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.RepricingProto - .internal_static_google_cloud_channel_v1_PercentageAdjustment_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_PercentageAdjustment_descriptor; } @java.lang.Override @@ -356,8 +325,7 @@ public com.google.cloud.channel.v1.PercentageAdjustment build() { @java.lang.Override public com.google.cloud.channel.v1.PercentageAdjustment buildPartial() { - com.google.cloud.channel.v1.PercentageAdjustment result = - new com.google.cloud.channel.v1.PercentageAdjustment(this); + com.google.cloud.channel.v1.PercentageAdjustment result = new com.google.cloud.channel.v1.PercentageAdjustment(this); if (percentageBuilder_ == null) { result.percentage_ = percentage_; } else { @@ -371,39 +339,38 @@ public com.google.cloud.channel.v1.PercentageAdjustment 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.cloud.channel.v1.PercentageAdjustment) { - return mergeFrom((com.google.cloud.channel.v1.PercentageAdjustment) other); + return mergeFrom((com.google.cloud.channel.v1.PercentageAdjustment)other); } else { super.mergeFrom(other); return this; @@ -411,8 +378,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.PercentageAdjustment other) { - if (other == com.google.cloud.channel.v1.PercentageAdjustment.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.PercentageAdjustment.getDefaultInstance()) return this; if (other.hasPercentage()) { mergePercentage(other.getPercentage()); } @@ -442,19 +408,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - input.readMessage(getPercentageFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + input.readMessage( + getPercentageFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -467,13 +433,8 @@ public Builder mergeFrom( private com.google.type.Decimal percentage_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Decimal, - com.google.type.Decimal.Builder, - com.google.type.DecimalOrBuilder> - percentageBuilder_; + com.google.type.Decimal, com.google.type.Decimal.Builder, com.google.type.DecimalOrBuilder> percentageBuilder_; /** - * - * *
      * The percentage of the bill to adjust.
      * For example:
@@ -483,15 +444,12 @@ public Builder mergeFrom(
      * 
* * .google.type.Decimal percentage = 2; - * * @return Whether the percentage field is set. */ public boolean hasPercentage() { return percentageBuilder_ != null || percentage_ != null; } /** - * - * *
      * The percentage of the bill to adjust.
      * For example:
@@ -501,7 +459,6 @@ public boolean hasPercentage() {
      * 
* * .google.type.Decimal percentage = 2; - * * @return The percentage. */ public com.google.type.Decimal getPercentage() { @@ -512,8 +469,6 @@ public com.google.type.Decimal getPercentage() { } } /** - * - * *
      * The percentage of the bill to adjust.
      * For example:
@@ -538,8 +493,6 @@ public Builder setPercentage(com.google.type.Decimal value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The percentage of the bill to adjust.
      * For example:
@@ -550,7 +503,8 @@ public Builder setPercentage(com.google.type.Decimal value) {
      *
      * .google.type.Decimal percentage = 2;
      */
-    public Builder setPercentage(com.google.type.Decimal.Builder builderForValue) {
+    public Builder setPercentage(
+        com.google.type.Decimal.Builder builderForValue) {
       if (percentageBuilder_ == null) {
         percentage_ = builderForValue.build();
         onChanged();
@@ -561,8 +515,6 @@ public Builder setPercentage(com.google.type.Decimal.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The percentage of the bill to adjust.
      * For example:
@@ -577,7 +529,7 @@ public Builder mergePercentage(com.google.type.Decimal value) {
       if (percentageBuilder_ == null) {
         if (percentage_ != null) {
           percentage_ =
-              com.google.type.Decimal.newBuilder(percentage_).mergeFrom(value).buildPartial();
+            com.google.type.Decimal.newBuilder(percentage_).mergeFrom(value).buildPartial();
         } else {
           percentage_ = value;
         }
@@ -589,8 +541,6 @@ public Builder mergePercentage(com.google.type.Decimal value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The percentage of the bill to adjust.
      * For example:
@@ -613,8 +563,6 @@ public Builder clearPercentage() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The percentage of the bill to adjust.
      * For example:
@@ -626,13 +574,11 @@ public Builder clearPercentage() {
      * .google.type.Decimal percentage = 2;
      */
     public com.google.type.Decimal.Builder getPercentageBuilder() {
-
+      
       onChanged();
       return getPercentageFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The percentage of the bill to adjust.
      * For example:
@@ -647,12 +593,11 @@ public com.google.type.DecimalOrBuilder getPercentageOrBuilder() {
       if (percentageBuilder_ != null) {
         return percentageBuilder_.getMessageOrBuilder();
       } else {
-        return percentage_ == null ? com.google.type.Decimal.getDefaultInstance() : percentage_;
+        return percentage_ == null ?
+            com.google.type.Decimal.getDefaultInstance() : percentage_;
       }
     }
     /**
-     *
-     *
      * 
      * The percentage of the bill to adjust.
      * For example:
@@ -664,24 +609,21 @@ public com.google.type.DecimalOrBuilder getPercentageOrBuilder() {
      * .google.type.Decimal percentage = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Decimal,
-            com.google.type.Decimal.Builder,
-            com.google.type.DecimalOrBuilder>
+        com.google.type.Decimal, com.google.type.Decimal.Builder, com.google.type.DecimalOrBuilder> 
         getPercentageFieldBuilder() {
       if (percentageBuilder_ == null) {
-        percentageBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.type.Decimal,
-                com.google.type.Decimal.Builder,
-                com.google.type.DecimalOrBuilder>(
-                getPercentage(), getParentForChildren(), isClean());
+        percentageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.type.Decimal, com.google.type.Decimal.Builder, com.google.type.DecimalOrBuilder>(
+                getPercentage(),
+                getParentForChildren(),
+                isClean());
         percentage_ = null;
       }
       return percentageBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -691,12 +633,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.PercentageAdjustment)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.PercentageAdjustment)
   private static final com.google.cloud.channel.v1.PercentageAdjustment DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.channel.v1.PercentageAdjustment();
   }
@@ -705,27 +647,27 @@ public static com.google.cloud.channel.v1.PercentageAdjustment getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public PercentageAdjustment parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public PercentageAdjustment parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -740,4 +682,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.channel.v1.PercentageAdjustment getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustmentOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustmentOrBuilder.java
similarity index 64%
rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustmentOrBuilder.java
rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustmentOrBuilder.java
index b29889601c02..7252b2272a22 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustmentOrBuilder.java
+++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustmentOrBuilder.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/cloud/channel/v1/repricing.proto
 
 package com.google.cloud.channel.v1;
 
-public interface PercentageAdjustmentOrBuilder
-    extends
+public interface PercentageAdjustmentOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.PercentageAdjustment)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The percentage of the bill to adjust.
    * For example:
@@ -35,13 +17,10 @@ public interface PercentageAdjustmentOrBuilder
    * 
* * .google.type.Decimal percentage = 2; - * * @return Whether the percentage field is set. */ boolean hasPercentage(); /** - * - * *
    * The percentage of the bill to adjust.
    * For example:
@@ -51,13 +30,10 @@ public interface PercentageAdjustmentOrBuilder
    * 
* * .google.type.Decimal percentage = 2; - * * @return The percentage. */ com.google.type.Decimal getPercentage(); /** - * - * *
    * The percentage of the bill to adjust.
    * For example:
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Period.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Period.java
similarity index 66%
rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Period.java
rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Period.java
index 84583c20bc8b..efd78c1f2107 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Period.java
+++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Period.java
@@ -1,83 +1,61 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/channel/v1/offers.proto
 
 package com.google.cloud.channel.v1;
 
 /**
- *
- *
  * 
  * Represents period in days/months/years.
  * 
* * Protobuf type {@code google.cloud.channel.v1.Period} */ -public final class Period extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Period extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.Period) PeriodOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Period.newBuilder() to construct. private Period(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Period() { periodType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Period(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_Period_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Period_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_Period_fieldAccessorTable + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Period_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Period.class, - com.google.cloud.channel.v1.Period.Builder.class); + com.google.cloud.channel.v1.Period.class, com.google.cloud.channel.v1.Period.Builder.class); } public static final int DURATION_FIELD_NUMBER = 1; private int duration_; /** - * - * *
    * Total duration of Period Type defined.
    * 
* * int32 duration = 1; - * * @return The duration. */ @java.lang.Override @@ -88,41 +66,31 @@ public int getDuration() { public static final int PERIOD_TYPE_FIELD_NUMBER = 2; private int periodType_; /** - * - * *
    * Period Type.
    * 
* * .google.cloud.channel.v1.PeriodType period_type = 2; - * * @return The enum numeric value on the wire for periodType. */ - @java.lang.Override - public int getPeriodTypeValue() { + @java.lang.Override public int getPeriodTypeValue() { return periodType_; } /** - * - * *
    * Period Type.
    * 
* * .google.cloud.channel.v1.PeriodType period_type = 2; - * * @return The periodType. */ - @java.lang.Override - public com.google.cloud.channel.v1.PeriodType getPeriodType() { + @java.lang.Override public com.google.cloud.channel.v1.PeriodType getPeriodType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.PeriodType result = - com.google.cloud.channel.v1.PeriodType.valueOf(periodType_); + com.google.cloud.channel.v1.PeriodType result = com.google.cloud.channel.v1.PeriodType.valueOf(periodType_); return result == null ? com.google.cloud.channel.v1.PeriodType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -134,7 +102,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (duration_ != 0) { output.writeInt32(1, duration_); } @@ -151,10 +120,12 @@ public int getSerializedSize() { size = 0; if (duration_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, duration_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, duration_); } if (periodType_ != com.google.cloud.channel.v1.PeriodType.PERIOD_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, periodType_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, periodType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -164,14 +135,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.Period)) { return super.equals(obj); } com.google.cloud.channel.v1.Period other = (com.google.cloud.channel.v1.Period) obj; - if (getDuration() != other.getDuration()) return false; + if (getDuration() + != other.getDuration()) return false; if (periodType_ != other.periodType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -193,135 +165,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.Period parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.Period parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Period parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.Period parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.channel.v1.Period parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Period parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Period parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Period parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Period 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.cloud.channel.v1.Period parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.Period parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.Period parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.Period parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.Period parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.Period prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents period in days/months/years.
    * 
* * Protobuf type {@code google.cloud.channel.v1.Period} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.Period) com.google.cloud.channel.v1.PeriodOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_Period_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Period_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_Period_fieldAccessorTable + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Period_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Period.class, - com.google.cloud.channel.v1.Period.Builder.class); + com.google.cloud.channel.v1.Period.class, com.google.cloud.channel.v1.Period.Builder.class); } // Construct using com.google.cloud.channel.v1.Period.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -333,9 +300,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_Period_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Period_descriptor; } @java.lang.Override @@ -365,39 +332,38 @@ public com.google.cloud.channel.v1.Period 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.cloud.channel.v1.Period) { - return mergeFrom((com.google.cloud.channel.v1.Period) other); + return mergeFrom((com.google.cloud.channel.v1.Period)other); } else { super.mergeFrom(other); return this; @@ -438,25 +404,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - duration_ = input.readInt32(); - - break; - } // case 8 - case 16: - { - periodType_ = input.readEnum(); - - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + duration_ = input.readInt32(); + + break; + } // case 8 + case 16: { + periodType_ = input.readEnum(); + + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -467,16 +430,13 @@ public Builder mergeFrom( return this; } - private int duration_; + private int duration_ ; /** - * - * *
      * Total duration of Period Type defined.
      * 
* * int32 duration = 1; - * * @return The duration. */ @java.lang.Override @@ -484,36 +444,30 @@ public int getDuration() { return duration_; } /** - * - * *
      * Total duration of Period Type defined.
      * 
* * int32 duration = 1; - * * @param value The duration to set. * @return This builder for chaining. */ public Builder setDuration(int value) { - + duration_ = value; onChanged(); return this; } /** - * - * *
      * Total duration of Period Type defined.
      * 
* * int32 duration = 1; - * * @return This builder for chaining. */ public Builder clearDuration() { - + duration_ = 0; onChanged(); return this; @@ -521,65 +475,51 @@ public Builder clearDuration() { private int periodType_ = 0; /** - * - * *
      * Period Type.
      * 
* * .google.cloud.channel.v1.PeriodType period_type = 2; - * * @return The enum numeric value on the wire for periodType. */ - @java.lang.Override - public int getPeriodTypeValue() { + @java.lang.Override public int getPeriodTypeValue() { return periodType_; } /** - * - * *
      * Period Type.
      * 
* * .google.cloud.channel.v1.PeriodType period_type = 2; - * * @param value The enum numeric value on the wire for periodType to set. * @return This builder for chaining. */ public Builder setPeriodTypeValue(int value) { - + periodType_ = value; onChanged(); return this; } /** - * - * *
      * Period Type.
      * 
* * .google.cloud.channel.v1.PeriodType period_type = 2; - * * @return The periodType. */ @java.lang.Override public com.google.cloud.channel.v1.PeriodType getPeriodType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.PeriodType result = - com.google.cloud.channel.v1.PeriodType.valueOf(periodType_); + com.google.cloud.channel.v1.PeriodType result = com.google.cloud.channel.v1.PeriodType.valueOf(periodType_); return result == null ? com.google.cloud.channel.v1.PeriodType.UNRECOGNIZED : result; } /** - * - * *
      * Period Type.
      * 
* * .google.cloud.channel.v1.PeriodType period_type = 2; - * * @param value The periodType to set. * @return This builder for chaining. */ @@ -587,31 +527,28 @@ public Builder setPeriodType(com.google.cloud.channel.v1.PeriodType value) { if (value == null) { throw new NullPointerException(); } - + periodType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Period Type.
      * 
* * .google.cloud.channel.v1.PeriodType period_type = 2; - * * @return This builder for chaining. */ public Builder clearPeriodType() { - + periodType_ = 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); } @@ -621,12 +558,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.Period) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.Period) private static final com.google.cloud.channel.v1.Period DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.Period(); } @@ -635,27 +572,27 @@ public static com.google.cloud.channel.v1.Period getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Period parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Period parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -670,4 +607,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Period getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodOrBuilder.java similarity index 56% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodOrBuilder.java index 4a687c5f0c46..807a4b336645 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodOrBuilder.java @@ -1,62 +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/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; -public interface PeriodOrBuilder - extends +public interface PeriodOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Period) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Total duration of Period Type defined.
    * 
* * int32 duration = 1; - * * @return The duration. */ int getDuration(); /** - * - * *
    * Period Type.
    * 
* * .google.cloud.channel.v1.PeriodType period_type = 2; - * * @return The enum numeric value on the wire for periodType. */ int getPeriodTypeValue(); /** - * - * *
    * Period Type.
    * 
* * .google.cloud.channel.v1.PeriodType period_type = 2; - * * @return The periodType. */ com.google.cloud.channel.v1.PeriodType getPeriodType(); diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodType.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodType.java similarity index 66% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodType.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodType.java index 3ce621558cdb..3a403c68dccb 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodType.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodType.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/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; /** - * - * *
  * Period Type.
  * 
* * Protobuf enum {@code google.cloud.channel.v1.PeriodType} */ -public enum PeriodType implements com.google.protobuf.ProtocolMessageEnum { +public enum PeriodType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Not used.
    * 
@@ -39,8 +21,6 @@ public enum PeriodType implements com.google.protobuf.ProtocolMessageEnum { */ PERIOD_TYPE_UNSPECIFIED(0), /** - * - * *
    * Day.
    * 
@@ -49,8 +29,6 @@ public enum PeriodType implements com.google.protobuf.ProtocolMessageEnum { */ DAY(1), /** - * - * *
    * Month.
    * 
@@ -59,8 +37,6 @@ public enum PeriodType implements com.google.protobuf.ProtocolMessageEnum { */ MONTH(2), /** - * - * *
    * Year.
    * 
@@ -72,8 +48,6 @@ public enum PeriodType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Not used.
    * 
@@ -82,8 +56,6 @@ public enum PeriodType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PERIOD_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Day.
    * 
@@ -92,8 +64,6 @@ public enum PeriodType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DAY_VALUE = 1; /** - * - * *
    * Month.
    * 
@@ -102,8 +72,6 @@ public enum PeriodType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MONTH_VALUE = 2; /** - * - * *
    * Year.
    * 
@@ -112,6 +80,7 @@ public enum PeriodType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int YEAR_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -136,51 +105,50 @@ public static PeriodType valueOf(int value) { */ public static PeriodType forNumber(int value) { switch (value) { - case 0: - return PERIOD_TYPE_UNSPECIFIED; - case 1: - return DAY; - case 2: - return MONTH; - case 3: - return YEAR; - default: - return null; + case 0: return PERIOD_TYPE_UNSPECIFIED; + case 1: return DAY; + case 2: return MONTH; + case 3: return YEAR; + 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 PeriodType findValueByNumber(int number) { - return PeriodType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + PeriodType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PeriodType findValueByNumber(int number) { + return PeriodType.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.cloud.channel.v1.OffersProto.getDescriptor().getEnumTypes().get(4); } private static final PeriodType[] VALUES = values(); - public static PeriodType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PeriodType 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 PeriodType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.channel.v1.PeriodType) } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Plan.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Plan.java similarity index 73% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Plan.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Plan.java index 34a31e58ed36..5ccdd876dd37 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Plan.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Plan.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/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; /** - * - * *
  * The payment plan for the Offer. Describes how to make a payment.
  * 
* * Protobuf type {@code google.cloud.channel.v1.Plan} */ -public final class Plan extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Plan extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.Plan) PlanOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Plan.newBuilder() to construct. private Plan(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Plan() { paymentPlan_ = 0; paymentType_ = 0; @@ -45,25 +27,25 @@ private Plan() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Plan(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_Plan_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Plan_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_Plan_fieldAccessorTable + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Plan_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.channel.v1.Plan.class, com.google.cloud.channel.v1.Plan.Builder.class); } @@ -71,87 +53,66 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public static final int PAYMENT_PLAN_FIELD_NUMBER = 1; private int paymentPlan_; /** - * - * *
    * Describes how a reseller will be billed.
    * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 1; - * * @return The enum numeric value on the wire for paymentPlan. */ - @java.lang.Override - public int getPaymentPlanValue() { + @java.lang.Override public int getPaymentPlanValue() { return paymentPlan_; } /** - * - * *
    * Describes how a reseller will be billed.
    * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 1; - * * @return The paymentPlan. */ - @java.lang.Override - public com.google.cloud.channel.v1.PaymentPlan getPaymentPlan() { + @java.lang.Override public com.google.cloud.channel.v1.PaymentPlan getPaymentPlan() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.PaymentPlan result = - com.google.cloud.channel.v1.PaymentPlan.valueOf(paymentPlan_); + com.google.cloud.channel.v1.PaymentPlan result = com.google.cloud.channel.v1.PaymentPlan.valueOf(paymentPlan_); return result == null ? com.google.cloud.channel.v1.PaymentPlan.UNRECOGNIZED : result; } public static final int PAYMENT_TYPE_FIELD_NUMBER = 2; private int paymentType_; /** - * - * *
    * Specifies when the payment needs to happen.
    * 
* * .google.cloud.channel.v1.PaymentType payment_type = 2; - * * @return The enum numeric value on the wire for paymentType. */ - @java.lang.Override - public int getPaymentTypeValue() { + @java.lang.Override public int getPaymentTypeValue() { return paymentType_; } /** - * - * *
    * Specifies when the payment needs to happen.
    * 
* * .google.cloud.channel.v1.PaymentType payment_type = 2; - * * @return The paymentType. */ - @java.lang.Override - public com.google.cloud.channel.v1.PaymentType getPaymentType() { + @java.lang.Override public com.google.cloud.channel.v1.PaymentType getPaymentType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.PaymentType result = - com.google.cloud.channel.v1.PaymentType.valueOf(paymentType_); + com.google.cloud.channel.v1.PaymentType result = com.google.cloud.channel.v1.PaymentType.valueOf(paymentType_); return result == null ? com.google.cloud.channel.v1.PaymentType.UNRECOGNIZED : result; } public static final int PAYMENT_CYCLE_FIELD_NUMBER = 3; private com.google.cloud.channel.v1.Period paymentCycle_; /** - * - * *
    * Describes how frequently the reseller will be billed, such as
    * once per month.
    * 
* * .google.cloud.channel.v1.Period payment_cycle = 3; - * * @return Whether the paymentCycle field is set. */ @java.lang.Override @@ -159,26 +120,19 @@ public boolean hasPaymentCycle() { return paymentCycle_ != null; } /** - * - * *
    * Describes how frequently the reseller will be billed, such as
    * once per month.
    * 
* * .google.cloud.channel.v1.Period payment_cycle = 3; - * * @return The paymentCycle. */ @java.lang.Override public com.google.cloud.channel.v1.Period getPaymentCycle() { - return paymentCycle_ == null - ? com.google.cloud.channel.v1.Period.getDefaultInstance() - : paymentCycle_; + return paymentCycle_ == null ? com.google.cloud.channel.v1.Period.getDefaultInstance() : paymentCycle_; } /** - * - * *
    * Describes how frequently the reseller will be billed, such as
    * once per month.
@@ -194,8 +148,6 @@ public com.google.cloud.channel.v1.PeriodOrBuilder getPaymentCycleOrBuilder() {
   public static final int TRIAL_PERIOD_FIELD_NUMBER = 4;
   private com.google.cloud.channel.v1.Period trialPeriod_;
   /**
-   *
-   *
    * 
    * Present for Offers with a trial period.
    * For trial-only Offers, a paid service needs to start before the trial
@@ -206,7 +158,6 @@ public com.google.cloud.channel.v1.PeriodOrBuilder getPaymentCycleOrBuilder() {
    * 
* * .google.cloud.channel.v1.Period trial_period = 4; - * * @return Whether the trialPeriod field is set. */ @java.lang.Override @@ -214,8 +165,6 @@ public boolean hasTrialPeriod() { return trialPeriod_ != null; } /** - * - * *
    * Present for Offers with a trial period.
    * For trial-only Offers, a paid service needs to start before the trial
@@ -226,18 +175,13 @@ public boolean hasTrialPeriod() {
    * 
* * .google.cloud.channel.v1.Period trial_period = 4; - * * @return The trialPeriod. */ @java.lang.Override public com.google.cloud.channel.v1.Period getTrialPeriod() { - return trialPeriod_ == null - ? com.google.cloud.channel.v1.Period.getDefaultInstance() - : trialPeriod_; + return trialPeriod_ == null ? com.google.cloud.channel.v1.Period.getDefaultInstance() : trialPeriod_; } /** - * - * *
    * Present for Offers with a trial period.
    * For trial-only Offers, a paid service needs to start before the trial
@@ -257,15 +201,12 @@ public com.google.cloud.channel.v1.PeriodOrBuilder getTrialPeriodOrBuilder() {
   public static final int BILLING_ACCOUNT_FIELD_NUMBER = 5;
   private volatile java.lang.Object billingAccount_;
   /**
-   *
-   *
    * 
    * Reseller Billing account to charge after an offer transaction.
    * Only present for Google Cloud Platform offers.
    * 
* * string billing_account = 5; - * * @return The billingAccount. */ @java.lang.Override @@ -274,30 +215,30 @@ public java.lang.String getBillingAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); billingAccount_ = s; return s; } } /** - * - * *
    * Reseller Billing account to charge after an offer transaction.
    * Only present for Google Cloud Platform offers.
    * 
* * string billing_account = 5; - * * @return The bytes for billingAccount. */ @java.lang.Override - public com.google.protobuf.ByteString getBillingAccountBytes() { + public com.google.protobuf.ByteString + getBillingAccountBytes() { java.lang.Object ref = billingAccount_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); billingAccount_ = b; return b; } else { @@ -306,7 +247,6 @@ public com.google.protobuf.ByteString getBillingAccountBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -318,13 +258,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (paymentPlan_ - != com.google.cloud.channel.v1.PaymentPlan.PAYMENT_PLAN_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (paymentPlan_ != com.google.cloud.channel.v1.PaymentPlan.PAYMENT_PLAN_UNSPECIFIED.getNumber()) { output.writeEnum(1, paymentPlan_); } - if (paymentType_ - != com.google.cloud.channel.v1.PaymentType.PAYMENT_TYPE_UNSPECIFIED.getNumber()) { + if (paymentType_ != com.google.cloud.channel.v1.PaymentType.PAYMENT_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, paymentType_); } if (paymentCycle_ != null) { @@ -345,19 +284,21 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (paymentPlan_ - != com.google.cloud.channel.v1.PaymentPlan.PAYMENT_PLAN_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, paymentPlan_); + if (paymentPlan_ != com.google.cloud.channel.v1.PaymentPlan.PAYMENT_PLAN_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, paymentPlan_); } - if (paymentType_ - != com.google.cloud.channel.v1.PaymentType.PAYMENT_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, paymentType_); + if (paymentType_ != com.google.cloud.channel.v1.PaymentType.PAYMENT_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, paymentType_); } if (paymentCycle_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPaymentCycle()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getPaymentCycle()); } if (trialPeriod_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getTrialPeriod()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getTrialPeriod()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(billingAccount_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, billingAccount_); @@ -370,7 +311,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.Plan)) { return super.equals(obj); @@ -381,13 +322,16 @@ public boolean equals(final java.lang.Object obj) { if (paymentType_ != other.paymentType_) return false; if (hasPaymentCycle() != other.hasPaymentCycle()) return false; if (hasPaymentCycle()) { - if (!getPaymentCycle().equals(other.getPaymentCycle())) return false; + if (!getPaymentCycle() + .equals(other.getPaymentCycle())) return false; } if (hasTrialPeriod() != other.hasTrialPeriod()) return false; if (hasTrialPeriod()) { - if (!getTrialPeriod().equals(other.getTrialPeriod())) return false; + if (!getTrialPeriod() + .equals(other.getTrialPeriod())) return false; } - if (!getBillingAccount().equals(other.getBillingAccount())) return false; + if (!getBillingAccount() + .equals(other.getBillingAccount())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -418,135 +362,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.Plan parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.Plan parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Plan parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.Plan parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.channel.v1.Plan parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Plan parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Plan parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Plan parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Plan 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.cloud.channel.v1.Plan parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.Plan parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.Plan parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.Plan parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.Plan parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.Plan prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The payment plan for the Offer. Describes how to make a payment.
    * 
* * Protobuf type {@code google.cloud.channel.v1.Plan} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.Plan) com.google.cloud.channel.v1.PlanOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_Plan_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Plan_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_Plan_fieldAccessorTable + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Plan_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Plan.class, - com.google.cloud.channel.v1.Plan.Builder.class); + com.google.cloud.channel.v1.Plan.class, com.google.cloud.channel.v1.Plan.Builder.class); } // Construct using com.google.cloud.channel.v1.Plan.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -572,9 +511,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_Plan_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Plan_descriptor; } @java.lang.Override @@ -615,39 +554,38 @@ public com.google.cloud.channel.v1.Plan 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.cloud.channel.v1.Plan) { - return mergeFrom((com.google.cloud.channel.v1.Plan) other); + return mergeFrom((com.google.cloud.channel.v1.Plan)other); } else { super.mergeFrom(other); return this; @@ -698,43 +636,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - paymentPlan_ = input.readEnum(); - - break; - } // case 8 - case 16: - { - paymentType_ = input.readEnum(); - - break; - } // case 16 - case 26: - { - input.readMessage(getPaymentCycleFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 34: - { - input.readMessage(getTrialPeriodFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 34 - case 42: - { - billingAccount_ = input.readStringRequireUtf8(); - - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + paymentPlan_ = input.readEnum(); + + break; + } // case 8 + case 16: { + paymentType_ = input.readEnum(); + + break; + } // case 16 + case 26: { + input.readMessage( + getPaymentCycleFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 34: { + input.readMessage( + getTrialPeriodFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 34 + case 42: { + billingAccount_ = input.readStringRequireUtf8(); + + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -747,65 +683,51 @@ public Builder mergeFrom( private int paymentPlan_ = 0; /** - * - * *
      * Describes how a reseller will be billed.
      * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 1; - * * @return The enum numeric value on the wire for paymentPlan. */ - @java.lang.Override - public int getPaymentPlanValue() { + @java.lang.Override public int getPaymentPlanValue() { return paymentPlan_; } /** - * - * *
      * Describes how a reseller will be billed.
      * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 1; - * * @param value The enum numeric value on the wire for paymentPlan to set. * @return This builder for chaining. */ public Builder setPaymentPlanValue(int value) { - + paymentPlan_ = value; onChanged(); return this; } /** - * - * *
      * Describes how a reseller will be billed.
      * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 1; - * * @return The paymentPlan. */ @java.lang.Override public com.google.cloud.channel.v1.PaymentPlan getPaymentPlan() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.PaymentPlan result = - com.google.cloud.channel.v1.PaymentPlan.valueOf(paymentPlan_); + com.google.cloud.channel.v1.PaymentPlan result = com.google.cloud.channel.v1.PaymentPlan.valueOf(paymentPlan_); return result == null ? com.google.cloud.channel.v1.PaymentPlan.UNRECOGNIZED : result; } /** - * - * *
      * Describes how a reseller will be billed.
      * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 1; - * * @param value The paymentPlan to set. * @return This builder for chaining. */ @@ -813,24 +735,21 @@ public Builder setPaymentPlan(com.google.cloud.channel.v1.PaymentPlan value) { if (value == null) { throw new NullPointerException(); } - + paymentPlan_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Describes how a reseller will be billed.
      * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 1; - * * @return This builder for chaining. */ public Builder clearPaymentPlan() { - + paymentPlan_ = 0; onChanged(); return this; @@ -838,65 +757,51 @@ public Builder clearPaymentPlan() { private int paymentType_ = 0; /** - * - * *
      * Specifies when the payment needs to happen.
      * 
* * .google.cloud.channel.v1.PaymentType payment_type = 2; - * * @return The enum numeric value on the wire for paymentType. */ - @java.lang.Override - public int getPaymentTypeValue() { + @java.lang.Override public int getPaymentTypeValue() { return paymentType_; } /** - * - * *
      * Specifies when the payment needs to happen.
      * 
* * .google.cloud.channel.v1.PaymentType payment_type = 2; - * * @param value The enum numeric value on the wire for paymentType to set. * @return This builder for chaining. */ public Builder setPaymentTypeValue(int value) { - + paymentType_ = value; onChanged(); return this; } /** - * - * *
      * Specifies when the payment needs to happen.
      * 
* * .google.cloud.channel.v1.PaymentType payment_type = 2; - * * @return The paymentType. */ @java.lang.Override public com.google.cloud.channel.v1.PaymentType getPaymentType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.PaymentType result = - com.google.cloud.channel.v1.PaymentType.valueOf(paymentType_); + com.google.cloud.channel.v1.PaymentType result = com.google.cloud.channel.v1.PaymentType.valueOf(paymentType_); return result == null ? com.google.cloud.channel.v1.PaymentType.UNRECOGNIZED : result; } /** - * - * *
      * Specifies when the payment needs to happen.
      * 
* * .google.cloud.channel.v1.PaymentType payment_type = 2; - * * @param value The paymentType to set. * @return This builder for chaining. */ @@ -904,24 +809,21 @@ public Builder setPaymentType(com.google.cloud.channel.v1.PaymentType value) { if (value == null) { throw new NullPointerException(); } - + paymentType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Specifies when the payment needs to happen.
      * 
* * .google.cloud.channel.v1.PaymentType payment_type = 2; - * * @return This builder for chaining. */ public Builder clearPaymentType() { - + paymentType_ = 0; onChanged(); return this; @@ -929,49 +831,36 @@ public Builder clearPaymentType() { private com.google.cloud.channel.v1.Period paymentCycle_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Period, - com.google.cloud.channel.v1.Period.Builder, - com.google.cloud.channel.v1.PeriodOrBuilder> - paymentCycleBuilder_; + com.google.cloud.channel.v1.Period, com.google.cloud.channel.v1.Period.Builder, com.google.cloud.channel.v1.PeriodOrBuilder> paymentCycleBuilder_; /** - * - * *
      * Describes how frequently the reseller will be billed, such as
      * once per month.
      * 
* * .google.cloud.channel.v1.Period payment_cycle = 3; - * * @return Whether the paymentCycle field is set. */ public boolean hasPaymentCycle() { return paymentCycleBuilder_ != null || paymentCycle_ != null; } /** - * - * *
      * Describes how frequently the reseller will be billed, such as
      * once per month.
      * 
* * .google.cloud.channel.v1.Period payment_cycle = 3; - * * @return The paymentCycle. */ public com.google.cloud.channel.v1.Period getPaymentCycle() { if (paymentCycleBuilder_ == null) { - return paymentCycle_ == null - ? com.google.cloud.channel.v1.Period.getDefaultInstance() - : paymentCycle_; + return paymentCycle_ == null ? com.google.cloud.channel.v1.Period.getDefaultInstance() : paymentCycle_; } else { return paymentCycleBuilder_.getMessage(); } } /** - * - * *
      * Describes how frequently the reseller will be billed, such as
      * once per month.
@@ -993,8 +882,6 @@ public Builder setPaymentCycle(com.google.cloud.channel.v1.Period value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes how frequently the reseller will be billed, such as
      * once per month.
@@ -1002,7 +889,8 @@ public Builder setPaymentCycle(com.google.cloud.channel.v1.Period value) {
      *
      * .google.cloud.channel.v1.Period payment_cycle = 3;
      */
-    public Builder setPaymentCycle(com.google.cloud.channel.v1.Period.Builder builderForValue) {
+    public Builder setPaymentCycle(
+        com.google.cloud.channel.v1.Period.Builder builderForValue) {
       if (paymentCycleBuilder_ == null) {
         paymentCycle_ = builderForValue.build();
         onChanged();
@@ -1013,8 +901,6 @@ public Builder setPaymentCycle(com.google.cloud.channel.v1.Period.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes how frequently the reseller will be billed, such as
      * once per month.
@@ -1026,9 +912,7 @@ public Builder mergePaymentCycle(com.google.cloud.channel.v1.Period value) {
       if (paymentCycleBuilder_ == null) {
         if (paymentCycle_ != null) {
           paymentCycle_ =
-              com.google.cloud.channel.v1.Period.newBuilder(paymentCycle_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.channel.v1.Period.newBuilder(paymentCycle_).mergeFrom(value).buildPartial();
         } else {
           paymentCycle_ = value;
         }
@@ -1040,8 +924,6 @@ public Builder mergePaymentCycle(com.google.cloud.channel.v1.Period value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes how frequently the reseller will be billed, such as
      * once per month.
@@ -1061,8 +943,6 @@ public Builder clearPaymentCycle() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes how frequently the reseller will be billed, such as
      * once per month.
@@ -1071,13 +951,11 @@ public Builder clearPaymentCycle() {
      * .google.cloud.channel.v1.Period payment_cycle = 3;
      */
     public com.google.cloud.channel.v1.Period.Builder getPaymentCycleBuilder() {
-
+      
       onChanged();
       return getPaymentCycleFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Describes how frequently the reseller will be billed, such as
      * once per month.
@@ -1089,14 +967,11 @@ public com.google.cloud.channel.v1.PeriodOrBuilder getPaymentCycleOrBuilder() {
       if (paymentCycleBuilder_ != null) {
         return paymentCycleBuilder_.getMessageOrBuilder();
       } else {
-        return paymentCycle_ == null
-            ? com.google.cloud.channel.v1.Period.getDefaultInstance()
-            : paymentCycle_;
+        return paymentCycle_ == null ?
+            com.google.cloud.channel.v1.Period.getDefaultInstance() : paymentCycle_;
       }
     }
     /**
-     *
-     *
      * 
      * Describes how frequently the reseller will be billed, such as
      * once per month.
@@ -1105,17 +980,14 @@ public com.google.cloud.channel.v1.PeriodOrBuilder getPaymentCycleOrBuilder() {
      * .google.cloud.channel.v1.Period payment_cycle = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.channel.v1.Period,
-            com.google.cloud.channel.v1.Period.Builder,
-            com.google.cloud.channel.v1.PeriodOrBuilder>
+        com.google.cloud.channel.v1.Period, com.google.cloud.channel.v1.Period.Builder, com.google.cloud.channel.v1.PeriodOrBuilder> 
         getPaymentCycleFieldBuilder() {
       if (paymentCycleBuilder_ == null) {
-        paymentCycleBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.channel.v1.Period,
-                com.google.cloud.channel.v1.Period.Builder,
-                com.google.cloud.channel.v1.PeriodOrBuilder>(
-                getPaymentCycle(), getParentForChildren(), isClean());
+        paymentCycleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.channel.v1.Period, com.google.cloud.channel.v1.Period.Builder, com.google.cloud.channel.v1.PeriodOrBuilder>(
+                getPaymentCycle(),
+                getParentForChildren(),
+                isClean());
         paymentCycle_ = null;
       }
       return paymentCycleBuilder_;
@@ -1123,13 +995,8 @@ public com.google.cloud.channel.v1.PeriodOrBuilder getPaymentCycleOrBuilder() {
 
     private com.google.cloud.channel.v1.Period trialPeriod_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.channel.v1.Period,
-            com.google.cloud.channel.v1.Period.Builder,
-            com.google.cloud.channel.v1.PeriodOrBuilder>
-        trialPeriodBuilder_;
+        com.google.cloud.channel.v1.Period, com.google.cloud.channel.v1.Period.Builder, com.google.cloud.channel.v1.PeriodOrBuilder> trialPeriodBuilder_;
     /**
-     *
-     *
      * 
      * Present for Offers with a trial period.
      * For trial-only Offers, a paid service needs to start before the trial
@@ -1140,15 +1007,12 @@ public com.google.cloud.channel.v1.PeriodOrBuilder getPaymentCycleOrBuilder() {
      * 
* * .google.cloud.channel.v1.Period trial_period = 4; - * * @return Whether the trialPeriod field is set. */ public boolean hasTrialPeriod() { return trialPeriodBuilder_ != null || trialPeriod_ != null; } /** - * - * *
      * Present for Offers with a trial period.
      * For trial-only Offers, a paid service needs to start before the trial
@@ -1159,21 +1023,16 @@ public boolean hasTrialPeriod() {
      * 
* * .google.cloud.channel.v1.Period trial_period = 4; - * * @return The trialPeriod. */ public com.google.cloud.channel.v1.Period getTrialPeriod() { if (trialPeriodBuilder_ == null) { - return trialPeriod_ == null - ? com.google.cloud.channel.v1.Period.getDefaultInstance() - : trialPeriod_; + return trialPeriod_ == null ? com.google.cloud.channel.v1.Period.getDefaultInstance() : trialPeriod_; } else { return trialPeriodBuilder_.getMessage(); } } /** - * - * *
      * Present for Offers with a trial period.
      * For trial-only Offers, a paid service needs to start before the trial
@@ -1199,8 +1058,6 @@ public Builder setTrialPeriod(com.google.cloud.channel.v1.Period value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Present for Offers with a trial period.
      * For trial-only Offers, a paid service needs to start before the trial
@@ -1212,7 +1069,8 @@ public Builder setTrialPeriod(com.google.cloud.channel.v1.Period value) {
      *
      * .google.cloud.channel.v1.Period trial_period = 4;
      */
-    public Builder setTrialPeriod(com.google.cloud.channel.v1.Period.Builder builderForValue) {
+    public Builder setTrialPeriod(
+        com.google.cloud.channel.v1.Period.Builder builderForValue) {
       if (trialPeriodBuilder_ == null) {
         trialPeriod_ = builderForValue.build();
         onChanged();
@@ -1223,8 +1081,6 @@ public Builder setTrialPeriod(com.google.cloud.channel.v1.Period.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * Present for Offers with a trial period.
      * For trial-only Offers, a paid service needs to start before the trial
@@ -1240,9 +1096,7 @@ public Builder mergeTrialPeriod(com.google.cloud.channel.v1.Period value) {
       if (trialPeriodBuilder_ == null) {
         if (trialPeriod_ != null) {
           trialPeriod_ =
-              com.google.cloud.channel.v1.Period.newBuilder(trialPeriod_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.channel.v1.Period.newBuilder(trialPeriod_).mergeFrom(value).buildPartial();
         } else {
           trialPeriod_ = value;
         }
@@ -1254,8 +1108,6 @@ public Builder mergeTrialPeriod(com.google.cloud.channel.v1.Period value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Present for Offers with a trial period.
      * For trial-only Offers, a paid service needs to start before the trial
@@ -1279,8 +1131,6 @@ public Builder clearTrialPeriod() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Present for Offers with a trial period.
      * For trial-only Offers, a paid service needs to start before the trial
@@ -1293,13 +1143,11 @@ public Builder clearTrialPeriod() {
      * .google.cloud.channel.v1.Period trial_period = 4;
      */
     public com.google.cloud.channel.v1.Period.Builder getTrialPeriodBuilder() {
-
+      
       onChanged();
       return getTrialPeriodFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Present for Offers with a trial period.
      * For trial-only Offers, a paid service needs to start before the trial
@@ -1315,14 +1163,11 @@ public com.google.cloud.channel.v1.PeriodOrBuilder getTrialPeriodOrBuilder() {
       if (trialPeriodBuilder_ != null) {
         return trialPeriodBuilder_.getMessageOrBuilder();
       } else {
-        return trialPeriod_ == null
-            ? com.google.cloud.channel.v1.Period.getDefaultInstance()
-            : trialPeriod_;
+        return trialPeriod_ == null ?
+            com.google.cloud.channel.v1.Period.getDefaultInstance() : trialPeriod_;
       }
     }
     /**
-     *
-     *
      * 
      * Present for Offers with a trial period.
      * For trial-only Offers, a paid service needs to start before the trial
@@ -1335,17 +1180,14 @@ public com.google.cloud.channel.v1.PeriodOrBuilder getTrialPeriodOrBuilder() {
      * .google.cloud.channel.v1.Period trial_period = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.channel.v1.Period,
-            com.google.cloud.channel.v1.Period.Builder,
-            com.google.cloud.channel.v1.PeriodOrBuilder>
+        com.google.cloud.channel.v1.Period, com.google.cloud.channel.v1.Period.Builder, com.google.cloud.channel.v1.PeriodOrBuilder> 
         getTrialPeriodFieldBuilder() {
       if (trialPeriodBuilder_ == null) {
-        trialPeriodBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.channel.v1.Period,
-                com.google.cloud.channel.v1.Period.Builder,
-                com.google.cloud.channel.v1.PeriodOrBuilder>(
-                getTrialPeriod(), getParentForChildren(), isClean());
+        trialPeriodBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.channel.v1.Period, com.google.cloud.channel.v1.Period.Builder, com.google.cloud.channel.v1.PeriodOrBuilder>(
+                getTrialPeriod(),
+                getParentForChildren(),
+                isClean());
         trialPeriod_ = null;
       }
       return trialPeriodBuilder_;
@@ -1353,21 +1195,19 @@ public com.google.cloud.channel.v1.PeriodOrBuilder getTrialPeriodOrBuilder() {
 
     private java.lang.Object billingAccount_ = "";
     /**
-     *
-     *
      * 
      * Reseller Billing account to charge after an offer transaction.
      * Only present for Google Cloud Platform offers.
      * 
* * string billing_account = 5; - * * @return The billingAccount. */ public java.lang.String getBillingAccount() { java.lang.Object ref = billingAccount_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); billingAccount_ = s; return s; @@ -1376,22 +1216,21 @@ public java.lang.String getBillingAccount() { } } /** - * - * *
      * Reseller Billing account to charge after an offer transaction.
      * Only present for Google Cloud Platform offers.
      * 
* * string billing_account = 5; - * * @return The bytes for billingAccount. */ - public com.google.protobuf.ByteString getBillingAccountBytes() { + public com.google.protobuf.ByteString + getBillingAccountBytes() { java.lang.Object ref = billingAccount_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); billingAccount_ = b; return b; } else { @@ -1399,71 +1238,64 @@ public com.google.protobuf.ByteString getBillingAccountBytes() { } } /** - * - * *
      * Reseller Billing account to charge after an offer transaction.
      * Only present for Google Cloud Platform offers.
      * 
* * string billing_account = 5; - * * @param value The billingAccount to set. * @return This builder for chaining. */ - public Builder setBillingAccount(java.lang.String value) { + public Builder setBillingAccount( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + billingAccount_ = value; onChanged(); return this; } /** - * - * *
      * Reseller Billing account to charge after an offer transaction.
      * Only present for Google Cloud Platform offers.
      * 
* * string billing_account = 5; - * * @return This builder for chaining. */ public Builder clearBillingAccount() { - + billingAccount_ = getDefaultInstance().getBillingAccount(); onChanged(); return this; } /** - * - * *
      * Reseller Billing account to charge after an offer transaction.
      * Only present for Google Cloud Platform offers.
      * 
* * string billing_account = 5; - * * @param value The bytes for billingAccount to set. * @return This builder for chaining. */ - public Builder setBillingAccountBytes(com.google.protobuf.ByteString value) { + public Builder setBillingAccountBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + billingAccount_ = 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); } @@ -1473,12 +1305,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.Plan) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.Plan) private static final com.google.cloud.channel.v1.Plan DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.Plan(); } @@ -1487,27 +1319,27 @@ public static com.google.cloud.channel.v1.Plan getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Plan parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Plan parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1522,4 +1354,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Plan getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PlanOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PlanOrBuilder.java similarity index 83% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PlanOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PlanOrBuilder.java index c353af6846b8..2604af096991 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PlanOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PlanOrBuilder.java @@ -1,107 +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/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; -public interface PlanOrBuilder - extends +public interface PlanOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Plan) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Describes how a reseller will be billed.
    * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 1; - * * @return The enum numeric value on the wire for paymentPlan. */ int getPaymentPlanValue(); /** - * - * *
    * Describes how a reseller will be billed.
    * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 1; - * * @return The paymentPlan. */ com.google.cloud.channel.v1.PaymentPlan getPaymentPlan(); /** - * - * *
    * Specifies when the payment needs to happen.
    * 
* * .google.cloud.channel.v1.PaymentType payment_type = 2; - * * @return The enum numeric value on the wire for paymentType. */ int getPaymentTypeValue(); /** - * - * *
    * Specifies when the payment needs to happen.
    * 
* * .google.cloud.channel.v1.PaymentType payment_type = 2; - * * @return The paymentType. */ com.google.cloud.channel.v1.PaymentType getPaymentType(); /** - * - * *
    * Describes how frequently the reseller will be billed, such as
    * once per month.
    * 
* * .google.cloud.channel.v1.Period payment_cycle = 3; - * * @return Whether the paymentCycle field is set. */ boolean hasPaymentCycle(); /** - * - * *
    * Describes how frequently the reseller will be billed, such as
    * once per month.
    * 
* * .google.cloud.channel.v1.Period payment_cycle = 3; - * * @return The paymentCycle. */ com.google.cloud.channel.v1.Period getPaymentCycle(); /** - * - * *
    * Describes how frequently the reseller will be billed, such as
    * once per month.
@@ -112,8 +76,6 @@ public interface PlanOrBuilder
   com.google.cloud.channel.v1.PeriodOrBuilder getPaymentCycleOrBuilder();
 
   /**
-   *
-   *
    * 
    * Present for Offers with a trial period.
    * For trial-only Offers, a paid service needs to start before the trial
@@ -124,13 +86,10 @@ public interface PlanOrBuilder
    * 
* * .google.cloud.channel.v1.Period trial_period = 4; - * * @return Whether the trialPeriod field is set. */ boolean hasTrialPeriod(); /** - * - * *
    * Present for Offers with a trial period.
    * For trial-only Offers, a paid service needs to start before the trial
@@ -141,13 +100,10 @@ public interface PlanOrBuilder
    * 
* * .google.cloud.channel.v1.Period trial_period = 4; - * * @return The trialPeriod. */ com.google.cloud.channel.v1.Period getTrialPeriod(); /** - * - * *
    * Present for Offers with a trial period.
    * For trial-only Offers, a paid service needs to start before the trial
@@ -162,29 +118,24 @@ public interface PlanOrBuilder
   com.google.cloud.channel.v1.PeriodOrBuilder getTrialPeriodOrBuilder();
 
   /**
-   *
-   *
    * 
    * Reseller Billing account to charge after an offer transaction.
    * Only present for Google Cloud Platform offers.
    * 
* * string billing_account = 5; - * * @return The billingAccount. */ java.lang.String getBillingAccount(); /** - * - * *
    * Reseller Billing account to charge after an offer transaction.
    * Only present for Google Cloud Platform offers.
    * 
* * string billing_account = 5; - * * @return The bytes for billingAccount. */ - com.google.protobuf.ByteString getBillingAccountBytes(); + com.google.protobuf.ByteString + getBillingAccountBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Price.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Price.java similarity index 71% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Price.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Price.java index 96406b9bc2ee..5502abea007b 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Price.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Price.java @@ -1,83 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; /** - * - * *
  * Represents the price of the Offer.
  * 
* * Protobuf type {@code google.cloud.channel.v1.Price} */ -public final class Price extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Price extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.Price) PriceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Price.newBuilder() to construct. private Price(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Price() { externalPriceUri_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Price(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_Price_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Price_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_Price_fieldAccessorTable + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Price_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Price.class, - com.google.cloud.channel.v1.Price.Builder.class); + com.google.cloud.channel.v1.Price.class, com.google.cloud.channel.v1.Price.Builder.class); } public static final int BASE_PRICE_FIELD_NUMBER = 1; private com.google.type.Money basePrice_; /** - * - * *
    * Base price.
    * 
* * .google.type.Money base_price = 1; - * * @return Whether the basePrice field is set. */ @java.lang.Override @@ -85,14 +63,11 @@ public boolean hasBasePrice() { return basePrice_ != null; } /** - * - * *
    * Base price.
    * 
* * .google.type.Money base_price = 1; - * * @return The basePrice. */ @java.lang.Override @@ -100,8 +75,6 @@ public com.google.type.Money getBasePrice() { return basePrice_ == null ? com.google.type.Money.getDefaultInstance() : basePrice_; } /** - * - * *
    * Base price.
    * 
@@ -116,15 +89,12 @@ public com.google.type.MoneyOrBuilder getBasePriceOrBuilder() { public static final int DISCOUNT_FIELD_NUMBER = 2; private double discount_; /** - * - * *
    * Discount percentage, represented as decimal.
    * For example, a 20% discount will be represent as 0.2.
    * 
* * double discount = 2; - * * @return The discount. */ @java.lang.Override @@ -135,14 +105,11 @@ public double getDiscount() { public static final int EFFECTIVE_PRICE_FIELD_NUMBER = 3; private com.google.type.Money effectivePrice_; /** - * - * *
    * Effective Price after applying the discounts.
    * 
* * .google.type.Money effective_price = 3; - * * @return Whether the effectivePrice field is set. */ @java.lang.Override @@ -150,14 +117,11 @@ public boolean hasEffectivePrice() { return effectivePrice_ != null; } /** - * - * *
    * Effective Price after applying the discounts.
    * 
* * .google.type.Money effective_price = 3; - * * @return The effectivePrice. */ @java.lang.Override @@ -165,8 +129,6 @@ public com.google.type.Money getEffectivePrice() { return effectivePrice_ == null ? com.google.type.Money.getDefaultInstance() : effectivePrice_; } /** - * - * *
    * Effective Price after applying the discounts.
    * 
@@ -181,14 +143,11 @@ public com.google.type.MoneyOrBuilder getEffectivePriceOrBuilder() { public static final int EXTERNAL_PRICE_URI_FIELD_NUMBER = 4; private volatile java.lang.Object externalPriceUri_; /** - * - * *
    * Link to external price list, such as link to Google Voice rate card.
    * 
* * string external_price_uri = 4; - * * @return The externalPriceUri. */ @java.lang.Override @@ -197,29 +156,29 @@ public java.lang.String getExternalPriceUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalPriceUri_ = s; return s; } } /** - * - * *
    * Link to external price list, such as link to Google Voice rate card.
    * 
* * string external_price_uri = 4; - * * @return The bytes for externalPriceUri. */ @java.lang.Override - public com.google.protobuf.ByteString getExternalPriceUriBytes() { + public com.google.protobuf.ByteString + getExternalPriceUriBytes() { java.lang.Object ref = externalPriceUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalPriceUri_ = b; return b; } else { @@ -228,7 +187,6 @@ public com.google.protobuf.ByteString getExternalPriceUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -240,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 (basePrice_ != null) { output.writeMessage(1, getBasePrice()); } @@ -263,13 +222,16 @@ public int getSerializedSize() { size = 0; if (basePrice_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBasePrice()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getBasePrice()); } if (java.lang.Double.doubleToRawLongBits(discount_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, discount_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(2, discount_); } if (effectivePrice_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEffectivePrice()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getEffectivePrice()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(externalPriceUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, externalPriceUri_); @@ -282,7 +244,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.Price)) { return super.equals(obj); @@ -291,15 +253,19 @@ public boolean equals(final java.lang.Object obj) { if (hasBasePrice() != other.hasBasePrice()) return false; if (hasBasePrice()) { - if (!getBasePrice().equals(other.getBasePrice())) return false; + if (!getBasePrice() + .equals(other.getBasePrice())) return false; } if (java.lang.Double.doubleToLongBits(getDiscount()) - != java.lang.Double.doubleToLongBits(other.getDiscount())) return false; + != java.lang.Double.doubleToLongBits( + other.getDiscount())) return false; if (hasEffectivePrice() != other.hasEffectivePrice()) return false; if (hasEffectivePrice()) { - if (!getEffectivePrice().equals(other.getEffectivePrice())) return false; + if (!getEffectivePrice() + .equals(other.getEffectivePrice())) return false; } - if (!getExternalPriceUri().equals(other.getExternalPriceUri())) return false; + if (!getExternalPriceUri() + .equals(other.getExternalPriceUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -316,10 +282,8 @@ public int hashCode() { hash = (53 * hash) + getBasePrice().hashCode(); } hash = (37 * hash) + DISCOUNT_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDiscount())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDiscount())); if (hasEffectivePrice()) { hash = (37 * hash) + EFFECTIVE_PRICE_FIELD_NUMBER; hash = (53 * hash) + getEffectivePrice().hashCode(); @@ -331,135 +295,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.Price parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.Price parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Price parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.Price parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.channel.v1.Price parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Price parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Price parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Price parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Price 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.cloud.channel.v1.Price parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.Price parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.Price parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.Price parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.Price parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.Price prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents the price of the Offer.
    * 
* * Protobuf type {@code google.cloud.channel.v1.Price} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.Price) com.google.cloud.channel.v1.PriceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_Price_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Price_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_Price_fieldAccessorTable + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Price_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Price.class, - com.google.cloud.channel.v1.Price.Builder.class); + com.google.cloud.channel.v1.Price.class, com.google.cloud.channel.v1.Price.Builder.class); } // Construct using com.google.cloud.channel.v1.Price.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -483,9 +442,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_Price_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Price_descriptor; } @java.lang.Override @@ -525,39 +484,38 @@ public com.google.cloud.channel.v1.Price 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.cloud.channel.v1.Price) { - return mergeFrom((com.google.cloud.channel.v1.Price) other); + return mergeFrom((com.google.cloud.channel.v1.Price)other); } else { super.mergeFrom(other); return this; @@ -605,37 +563,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getBasePriceFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getBasePriceFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - case 17: - { - discount_ = input.readDouble(); + break; + } // case 10 + case 17: { + discount_ = input.readDouble(); - break; - } // case 17 - case 26: - { - input.readMessage(getEffectivePriceFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 17 + case 26: { + input.readMessage( + getEffectivePriceFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - case 34: - { - externalPriceUri_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: { + externalPriceUri_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -648,31 +605,24 @@ public Builder mergeFrom( private com.google.type.Money basePrice_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> - basePriceBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> basePriceBuilder_; /** - * - * *
      * Base price.
      * 
* * .google.type.Money base_price = 1; - * * @return Whether the basePrice field is set. */ public boolean hasBasePrice() { return basePriceBuilder_ != null || basePrice_ != null; } /** - * - * *
      * Base price.
      * 
* * .google.type.Money base_price = 1; - * * @return The basePrice. */ public com.google.type.Money getBasePrice() { @@ -683,8 +633,6 @@ public com.google.type.Money getBasePrice() { } } /** - * - * *
      * Base price.
      * 
@@ -705,15 +653,14 @@ public Builder setBasePrice(com.google.type.Money value) { return this; } /** - * - * *
      * Base price.
      * 
* * .google.type.Money base_price = 1; */ - public Builder setBasePrice(com.google.type.Money.Builder builderForValue) { + public Builder setBasePrice( + com.google.type.Money.Builder builderForValue) { if (basePriceBuilder_ == null) { basePrice_ = builderForValue.build(); onChanged(); @@ -724,8 +671,6 @@ public Builder setBasePrice(com.google.type.Money.Builder builderForValue) { return this; } /** - * - * *
      * Base price.
      * 
@@ -735,7 +680,8 @@ public Builder setBasePrice(com.google.type.Money.Builder builderForValue) { public Builder mergeBasePrice(com.google.type.Money value) { if (basePriceBuilder_ == null) { if (basePrice_ != null) { - basePrice_ = com.google.type.Money.newBuilder(basePrice_).mergeFrom(value).buildPartial(); + basePrice_ = + com.google.type.Money.newBuilder(basePrice_).mergeFrom(value).buildPartial(); } else { basePrice_ = value; } @@ -747,8 +693,6 @@ public Builder mergeBasePrice(com.google.type.Money value) { return this; } /** - * - * *
      * Base price.
      * 
@@ -767,8 +711,6 @@ public Builder clearBasePrice() { return this; } /** - * - * *
      * Base price.
      * 
@@ -776,13 +718,11 @@ public Builder clearBasePrice() { * .google.type.Money base_price = 1; */ public com.google.type.Money.Builder getBasePriceBuilder() { - + onChanged(); return getBasePriceFieldBuilder().getBuilder(); } /** - * - * *
      * Base price.
      * 
@@ -793,12 +733,11 @@ public com.google.type.MoneyOrBuilder getBasePriceOrBuilder() { if (basePriceBuilder_ != null) { return basePriceBuilder_.getMessageOrBuilder(); } else { - return basePrice_ == null ? com.google.type.Money.getDefaultInstance() : basePrice_; + return basePrice_ == null ? + com.google.type.Money.getDefaultInstance() : basePrice_; } } /** - * - * *
      * Base price.
      * 
@@ -806,30 +745,27 @@ public com.google.type.MoneyOrBuilder getBasePriceOrBuilder() { * .google.type.Money base_price = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> getBasePriceFieldBuilder() { if (basePriceBuilder_ == null) { - basePriceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, - com.google.type.Money.Builder, - com.google.type.MoneyOrBuilder>(getBasePrice(), getParentForChildren(), isClean()); + basePriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>( + getBasePrice(), + getParentForChildren(), + isClean()); basePrice_ = null; } return basePriceBuilder_; } - private double discount_; + private double discount_ ; /** - * - * *
      * Discount percentage, represented as decimal.
      * For example, a 20% discount will be represent as 0.2.
      * 
* * double discount = 2; - * * @return The discount. */ @java.lang.Override @@ -837,38 +773,32 @@ public double getDiscount() { return discount_; } /** - * - * *
      * Discount percentage, represented as decimal.
      * For example, a 20% discount will be represent as 0.2.
      * 
* * double discount = 2; - * * @param value The discount to set. * @return This builder for chaining. */ public Builder setDiscount(double value) { - + discount_ = value; onChanged(); return this; } /** - * - * *
      * Discount percentage, represented as decimal.
      * For example, a 20% discount will be represent as 0.2.
      * 
* * double discount = 2; - * * @return This builder for chaining. */ public Builder clearDiscount() { - + discount_ = 0D; onChanged(); return this; @@ -876,45 +806,34 @@ public Builder clearDiscount() { private com.google.type.Money effectivePrice_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> - effectivePriceBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> effectivePriceBuilder_; /** - * - * *
      * Effective Price after applying the discounts.
      * 
* * .google.type.Money effective_price = 3; - * * @return Whether the effectivePrice field is set. */ public boolean hasEffectivePrice() { return effectivePriceBuilder_ != null || effectivePrice_ != null; } /** - * - * *
      * Effective Price after applying the discounts.
      * 
* * .google.type.Money effective_price = 3; - * * @return The effectivePrice. */ public com.google.type.Money getEffectivePrice() { if (effectivePriceBuilder_ == null) { - return effectivePrice_ == null - ? com.google.type.Money.getDefaultInstance() - : effectivePrice_; + return effectivePrice_ == null ? com.google.type.Money.getDefaultInstance() : effectivePrice_; } else { return effectivePriceBuilder_.getMessage(); } } /** - * - * *
      * Effective Price after applying the discounts.
      * 
@@ -935,15 +854,14 @@ public Builder setEffectivePrice(com.google.type.Money value) { return this; } /** - * - * *
      * Effective Price after applying the discounts.
      * 
* * .google.type.Money effective_price = 3; */ - public Builder setEffectivePrice(com.google.type.Money.Builder builderForValue) { + public Builder setEffectivePrice( + com.google.type.Money.Builder builderForValue) { if (effectivePriceBuilder_ == null) { effectivePrice_ = builderForValue.build(); onChanged(); @@ -954,8 +872,6 @@ public Builder setEffectivePrice(com.google.type.Money.Builder builderForValue) return this; } /** - * - * *
      * Effective Price after applying the discounts.
      * 
@@ -966,7 +882,7 @@ public Builder mergeEffectivePrice(com.google.type.Money value) { if (effectivePriceBuilder_ == null) { if (effectivePrice_ != null) { effectivePrice_ = - com.google.type.Money.newBuilder(effectivePrice_).mergeFrom(value).buildPartial(); + com.google.type.Money.newBuilder(effectivePrice_).mergeFrom(value).buildPartial(); } else { effectivePrice_ = value; } @@ -978,8 +894,6 @@ public Builder mergeEffectivePrice(com.google.type.Money value) { return this; } /** - * - * *
      * Effective Price after applying the discounts.
      * 
@@ -998,8 +912,6 @@ public Builder clearEffectivePrice() { return this; } /** - * - * *
      * Effective Price after applying the discounts.
      * 
@@ -1007,13 +919,11 @@ public Builder clearEffectivePrice() { * .google.type.Money effective_price = 3; */ public com.google.type.Money.Builder getEffectivePriceBuilder() { - + onChanged(); return getEffectivePriceFieldBuilder().getBuilder(); } /** - * - * *
      * Effective Price after applying the discounts.
      * 
@@ -1024,14 +934,11 @@ public com.google.type.MoneyOrBuilder getEffectivePriceOrBuilder() { if (effectivePriceBuilder_ != null) { return effectivePriceBuilder_.getMessageOrBuilder(); } else { - return effectivePrice_ == null - ? com.google.type.Money.getDefaultInstance() - : effectivePrice_; + return effectivePrice_ == null ? + com.google.type.Money.getDefaultInstance() : effectivePrice_; } } /** - * - * *
      * Effective Price after applying the discounts.
      * 
@@ -1039,15 +946,14 @@ public com.google.type.MoneyOrBuilder getEffectivePriceOrBuilder() { * .google.type.Money effective_price = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> getEffectivePriceFieldBuilder() { if (effectivePriceBuilder_ == null) { - effectivePriceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, - com.google.type.Money.Builder, - com.google.type.MoneyOrBuilder>( - getEffectivePrice(), getParentForChildren(), isClean()); + effectivePriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>( + getEffectivePrice(), + getParentForChildren(), + isClean()); effectivePrice_ = null; } return effectivePriceBuilder_; @@ -1055,20 +961,18 @@ public com.google.type.MoneyOrBuilder getEffectivePriceOrBuilder() { private java.lang.Object externalPriceUri_ = ""; /** - * - * *
      * Link to external price list, such as link to Google Voice rate card.
      * 
* * string external_price_uri = 4; - * * @return The externalPriceUri. */ public java.lang.String getExternalPriceUri() { java.lang.Object ref = externalPriceUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalPriceUri_ = s; return s; @@ -1077,21 +981,20 @@ public java.lang.String getExternalPriceUri() { } } /** - * - * *
      * Link to external price list, such as link to Google Voice rate card.
      * 
* * string external_price_uri = 4; - * * @return The bytes for externalPriceUri. */ - public com.google.protobuf.ByteString getExternalPriceUriBytes() { + public com.google.protobuf.ByteString + getExternalPriceUriBytes() { java.lang.Object ref = externalPriceUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalPriceUri_ = b; return b; } else { @@ -1099,68 +1002,61 @@ public com.google.protobuf.ByteString getExternalPriceUriBytes() { } } /** - * - * *
      * Link to external price list, such as link to Google Voice rate card.
      * 
* * string external_price_uri = 4; - * * @param value The externalPriceUri to set. * @return This builder for chaining. */ - public Builder setExternalPriceUri(java.lang.String value) { + public Builder setExternalPriceUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + externalPriceUri_ = value; onChanged(); return this; } /** - * - * *
      * Link to external price list, such as link to Google Voice rate card.
      * 
* * string external_price_uri = 4; - * * @return This builder for chaining. */ public Builder clearExternalPriceUri() { - + externalPriceUri_ = getDefaultInstance().getExternalPriceUri(); onChanged(); return this; } /** - * - * *
      * Link to external price list, such as link to Google Voice rate card.
      * 
* * string external_price_uri = 4; - * * @param value The bytes for externalPriceUri to set. * @return This builder for chaining. */ - public Builder setExternalPriceUriBytes(com.google.protobuf.ByteString value) { + public Builder setExternalPriceUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + externalPriceUri_ = 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); } @@ -1170,12 +1066,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.Price) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.Price) private static final com.google.cloud.channel.v1.Price DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.Price(); } @@ -1184,27 +1080,27 @@ public static com.google.cloud.channel.v1.Price getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Price parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Price parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1219,4 +1115,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Price getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResource.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResource.java similarity index 72% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResource.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResource.java index 4a8d8b6511a0..e137a6adaff3 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResource.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResource.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/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; /** - * - * *
  * Represents price by resource type.
  * 
* * Protobuf type {@code google.cloud.channel.v1.PriceByResource} */ -public final class PriceByResource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PriceByResource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.PriceByResource) PriceByResourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PriceByResource.newBuilder() to construct. private PriceByResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PriceByResource() { resourceType_ = 0; pricePhases_ = java.util.Collections.emptyList(); @@ -44,77 +26,64 @@ private PriceByResource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PriceByResource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_PriceByResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_PriceByResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_PriceByResource_fieldAccessorTable + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_PriceByResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.PriceByResource.class, - com.google.cloud.channel.v1.PriceByResource.Builder.class); + com.google.cloud.channel.v1.PriceByResource.class, com.google.cloud.channel.v1.PriceByResource.Builder.class); } public static final int RESOURCE_TYPE_FIELD_NUMBER = 1; private int resourceType_; /** - * - * *
    * Resource Type. Example: SEAT
    * 
* * .google.cloud.channel.v1.ResourceType resource_type = 1; - * * @return The enum numeric value on the wire for resourceType. */ - @java.lang.Override - public int getResourceTypeValue() { + @java.lang.Override public int getResourceTypeValue() { return resourceType_; } /** - * - * *
    * Resource Type. Example: SEAT
    * 
* * .google.cloud.channel.v1.ResourceType resource_type = 1; - * * @return The resourceType. */ - @java.lang.Override - public com.google.cloud.channel.v1.ResourceType getResourceType() { + @java.lang.Override public com.google.cloud.channel.v1.ResourceType getResourceType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.ResourceType result = - com.google.cloud.channel.v1.ResourceType.valueOf(resourceType_); + com.google.cloud.channel.v1.ResourceType result = com.google.cloud.channel.v1.ResourceType.valueOf(resourceType_); return result == null ? com.google.cloud.channel.v1.ResourceType.UNRECOGNIZED : result; } public static final int PRICE_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.Price price_; /** - * - * *
    * Price of the Offer. Present if there are no price phases.
    * 
* * .google.cloud.channel.v1.Price price = 2; - * * @return Whether the price field is set. */ @java.lang.Override @@ -122,14 +91,11 @@ public boolean hasPrice() { return price_ != null; } /** - * - * *
    * Price of the Offer. Present if there are no price phases.
    * 
* * .google.cloud.channel.v1.Price price = 2; - * * @return The price. */ @java.lang.Override @@ -137,8 +103,6 @@ public com.google.cloud.channel.v1.Price getPrice() { return price_ == null ? com.google.cloud.channel.v1.Price.getDefaultInstance() : price_; } /** - * - * *
    * Price of the Offer. Present if there are no price phases.
    * 
@@ -153,8 +117,6 @@ public com.google.cloud.channel.v1.PriceOrBuilder getPriceOrBuilder() { public static final int PRICE_PHASES_FIELD_NUMBER = 3; private java.util.List pricePhases_; /** - * - * *
    * Specifies the price by time range.
    * 
@@ -166,8 +128,6 @@ public java.util.List getPricePhasesList return pricePhases_; } /** - * - * *
    * Specifies the price by time range.
    * 
@@ -175,13 +135,11 @@ public java.util.List getPricePhasesList * repeated .google.cloud.channel.v1.PricePhase price_phases = 3; */ @java.lang.Override - public java.util.List + public java.util.List getPricePhasesOrBuilderList() { return pricePhases_; } /** - * - * *
    * Specifies the price by time range.
    * 
@@ -193,8 +151,6 @@ public int getPricePhasesCount() { return pricePhases_.size(); } /** - * - * *
    * Specifies the price by time range.
    * 
@@ -206,8 +162,6 @@ public com.google.cloud.channel.v1.PricePhase getPricePhases(int index) { return pricePhases_.get(index); } /** - * - * *
    * Specifies the price by time range.
    * 
@@ -215,12 +169,12 @@ public com.google.cloud.channel.v1.PricePhase getPricePhases(int index) { * repeated .google.cloud.channel.v1.PricePhase price_phases = 3; */ @java.lang.Override - public com.google.cloud.channel.v1.PricePhaseOrBuilder getPricePhasesOrBuilder(int index) { + public com.google.cloud.channel.v1.PricePhaseOrBuilder getPricePhasesOrBuilder( + int index) { return pricePhases_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,9 +186,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (resourceType_ - != com.google.cloud.channel.v1.ResourceType.RESOURCE_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (resourceType_ != com.google.cloud.channel.v1.ResourceType.RESOURCE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, resourceType_); } if (price_ != null) { @@ -252,15 +206,17 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (resourceType_ - != com.google.cloud.channel.v1.ResourceType.RESOURCE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, resourceType_); + if (resourceType_ != com.google.cloud.channel.v1.ResourceType.RESOURCE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, resourceType_); } if (price_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPrice()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getPrice()); } for (int i = 0; i < pricePhases_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, pricePhases_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, pricePhases_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -270,20 +226,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.cloud.channel.v1.PriceByResource)) { return super.equals(obj); } - com.google.cloud.channel.v1.PriceByResource other = - (com.google.cloud.channel.v1.PriceByResource) obj; + com.google.cloud.channel.v1.PriceByResource other = (com.google.cloud.channel.v1.PriceByResource) obj; if (resourceType_ != other.resourceType_) return false; if (hasPrice() != other.hasPrice()) return false; if (hasPrice()) { - if (!getPrice().equals(other.getPrice())) return false; + if (!getPrice() + .equals(other.getPrice())) return false; } - if (!getPricePhasesList().equals(other.getPricePhasesList())) return false; + if (!getPricePhasesList() + .equals(other.getPricePhasesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -310,136 +267,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.PriceByResource parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.PriceByResource parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.PriceByResource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.PriceByResource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.PriceByResource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.PriceByResource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.PriceByResource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.PriceByResource 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.cloud.channel.v1.PriceByResource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.PriceByResource parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.PriceByResource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.PriceByResource parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.PriceByResource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.PriceByResource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.PriceByResource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents price by resource type.
    * 
* * Protobuf type {@code google.cloud.channel.v1.PriceByResource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.PriceByResource) com.google.cloud.channel.v1.PriceByResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_PriceByResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_PriceByResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_PriceByResource_fieldAccessorTable + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_PriceByResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.PriceByResource.class, - com.google.cloud.channel.v1.PriceByResource.Builder.class); + com.google.cloud.channel.v1.PriceByResource.class, com.google.cloud.channel.v1.PriceByResource.Builder.class); } // Construct using com.google.cloud.channel.v1.PriceByResource.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -462,9 +413,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.OffersProto - .internal_static_google_cloud_channel_v1_PriceByResource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_PriceByResource_descriptor; } @java.lang.Override @@ -483,8 +434,7 @@ public com.google.cloud.channel.v1.PriceByResource build() { @java.lang.Override public com.google.cloud.channel.v1.PriceByResource buildPartial() { - com.google.cloud.channel.v1.PriceByResource result = - new com.google.cloud.channel.v1.PriceByResource(this); + com.google.cloud.channel.v1.PriceByResource result = new com.google.cloud.channel.v1.PriceByResource(this); int from_bitField0_ = bitField0_; result.resourceType_ = resourceType_; if (priceBuilder_ == null) { @@ -509,39 +459,38 @@ public com.google.cloud.channel.v1.PriceByResource 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.cloud.channel.v1.PriceByResource) { - return mergeFrom((com.google.cloud.channel.v1.PriceByResource) other); + return mergeFrom((com.google.cloud.channel.v1.PriceByResource)other); } else { super.mergeFrom(other); return this; @@ -574,10 +523,9 @@ public Builder mergeFrom(com.google.cloud.channel.v1.PriceByResource other) { pricePhasesBuilder_ = null; pricePhases_ = other.pricePhases_; bitField0_ = (bitField0_ & ~0x00000001); - pricePhasesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPricePhasesFieldBuilder() - : null; + pricePhasesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPricePhasesFieldBuilder() : null; } else { pricePhasesBuilder_.addAllMessages(other.pricePhases_); } @@ -609,38 +557,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - resourceType_ = input.readEnum(); + case 8: { + resourceType_ = input.readEnum(); - break; - } // case 8 - case 18: - { - input.readMessage(getPriceFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 8 + case 18: { + input.readMessage( + getPriceFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 26: - { - com.google.cloud.channel.v1.PricePhase m = - input.readMessage( - com.google.cloud.channel.v1.PricePhase.parser(), extensionRegistry); - if (pricePhasesBuilder_ == null) { - ensurePricePhasesIsMutable(); - pricePhases_.add(m); - } else { - pricePhasesBuilder_.addMessage(m); - } - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + case 26: { + com.google.cloud.channel.v1.PricePhase m = + input.readMessage( + com.google.cloud.channel.v1.PricePhase.parser(), + extensionRegistry); + if (pricePhasesBuilder_ == null) { + ensurePricePhasesIsMutable(); + pricePhases_.add(m); + } else { + pricePhasesBuilder_.addMessage(m); + } + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -650,70 +597,55 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int resourceType_ = 0; /** - * - * *
      * Resource Type. Example: SEAT
      * 
* * .google.cloud.channel.v1.ResourceType resource_type = 1; - * * @return The enum numeric value on the wire for resourceType. */ - @java.lang.Override - public int getResourceTypeValue() { + @java.lang.Override public int getResourceTypeValue() { return resourceType_; } /** - * - * *
      * Resource Type. Example: SEAT
      * 
* * .google.cloud.channel.v1.ResourceType resource_type = 1; - * * @param value The enum numeric value on the wire for resourceType to set. * @return This builder for chaining. */ public Builder setResourceTypeValue(int value) { - + resourceType_ = value; onChanged(); return this; } /** - * - * *
      * Resource Type. Example: SEAT
      * 
* * .google.cloud.channel.v1.ResourceType resource_type = 1; - * * @return The resourceType. */ @java.lang.Override public com.google.cloud.channel.v1.ResourceType getResourceType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.ResourceType result = - com.google.cloud.channel.v1.ResourceType.valueOf(resourceType_); + com.google.cloud.channel.v1.ResourceType result = com.google.cloud.channel.v1.ResourceType.valueOf(resourceType_); return result == null ? com.google.cloud.channel.v1.ResourceType.UNRECOGNIZED : result; } /** - * - * *
      * Resource Type. Example: SEAT
      * 
* * .google.cloud.channel.v1.ResourceType resource_type = 1; - * * @param value The resourceType to set. * @return This builder for chaining. */ @@ -721,24 +653,21 @@ public Builder setResourceType(com.google.cloud.channel.v1.ResourceType value) { if (value == null) { throw new NullPointerException(); } - + resourceType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Resource Type. Example: SEAT
      * 
* * .google.cloud.channel.v1.ResourceType resource_type = 1; - * * @return This builder for chaining. */ public Builder clearResourceType() { - + resourceType_ = 0; onChanged(); return this; @@ -746,33 +675,24 @@ public Builder clearResourceType() { private com.google.cloud.channel.v1.Price price_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Price, - com.google.cloud.channel.v1.Price.Builder, - com.google.cloud.channel.v1.PriceOrBuilder> - priceBuilder_; + com.google.cloud.channel.v1.Price, com.google.cloud.channel.v1.Price.Builder, com.google.cloud.channel.v1.PriceOrBuilder> priceBuilder_; /** - * - * *
      * Price of the Offer. Present if there are no price phases.
      * 
* * .google.cloud.channel.v1.Price price = 2; - * * @return Whether the price field is set. */ public boolean hasPrice() { return priceBuilder_ != null || price_ != null; } /** - * - * *
      * Price of the Offer. Present if there are no price phases.
      * 
* * .google.cloud.channel.v1.Price price = 2; - * * @return The price. */ public com.google.cloud.channel.v1.Price getPrice() { @@ -783,8 +703,6 @@ public com.google.cloud.channel.v1.Price getPrice() { } } /** - * - * *
      * Price of the Offer. Present if there are no price phases.
      * 
@@ -805,15 +723,14 @@ public Builder setPrice(com.google.cloud.channel.v1.Price value) { return this; } /** - * - * *
      * Price of the Offer. Present if there are no price phases.
      * 
* * .google.cloud.channel.v1.Price price = 2; */ - public Builder setPrice(com.google.cloud.channel.v1.Price.Builder builderForValue) { + public Builder setPrice( + com.google.cloud.channel.v1.Price.Builder builderForValue) { if (priceBuilder_ == null) { price_ = builderForValue.build(); onChanged(); @@ -824,8 +741,6 @@ public Builder setPrice(com.google.cloud.channel.v1.Price.Builder builderForValu return this; } /** - * - * *
      * Price of the Offer. Present if there are no price phases.
      * 
@@ -836,7 +751,7 @@ public Builder mergePrice(com.google.cloud.channel.v1.Price value) { if (priceBuilder_ == null) { if (price_ != null) { price_ = - com.google.cloud.channel.v1.Price.newBuilder(price_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.Price.newBuilder(price_).mergeFrom(value).buildPartial(); } else { price_ = value; } @@ -848,8 +763,6 @@ public Builder mergePrice(com.google.cloud.channel.v1.Price value) { return this; } /** - * - * *
      * Price of the Offer. Present if there are no price phases.
      * 
@@ -868,8 +781,6 @@ public Builder clearPrice() { return this; } /** - * - * *
      * Price of the Offer. Present if there are no price phases.
      * 
@@ -877,13 +788,11 @@ public Builder clearPrice() { * .google.cloud.channel.v1.Price price = 2; */ public com.google.cloud.channel.v1.Price.Builder getPriceBuilder() { - + onChanged(); return getPriceFieldBuilder().getBuilder(); } /** - * - * *
      * Price of the Offer. Present if there are no price phases.
      * 
@@ -894,12 +803,11 @@ public com.google.cloud.channel.v1.PriceOrBuilder getPriceOrBuilder() { if (priceBuilder_ != null) { return priceBuilder_.getMessageOrBuilder(); } else { - return price_ == null ? com.google.cloud.channel.v1.Price.getDefaultInstance() : price_; + return price_ == null ? + com.google.cloud.channel.v1.Price.getDefaultInstance() : price_; } } /** - * - * *
      * Price of the Offer. Present if there are no price phases.
      * 
@@ -907,42 +815,32 @@ public com.google.cloud.channel.v1.PriceOrBuilder getPriceOrBuilder() { * .google.cloud.channel.v1.Price price = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Price, - com.google.cloud.channel.v1.Price.Builder, - com.google.cloud.channel.v1.PriceOrBuilder> + com.google.cloud.channel.v1.Price, com.google.cloud.channel.v1.Price.Builder, com.google.cloud.channel.v1.PriceOrBuilder> getPriceFieldBuilder() { if (priceBuilder_ == null) { - priceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Price, - com.google.cloud.channel.v1.Price.Builder, - com.google.cloud.channel.v1.PriceOrBuilder>( - getPrice(), getParentForChildren(), isClean()); + priceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Price, com.google.cloud.channel.v1.Price.Builder, com.google.cloud.channel.v1.PriceOrBuilder>( + getPrice(), + getParentForChildren(), + isClean()); price_ = null; } return priceBuilder_; } private java.util.List pricePhases_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePricePhasesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - pricePhases_ = - new java.util.ArrayList(pricePhases_); + pricePhases_ = new java.util.ArrayList(pricePhases_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.PricePhase, - com.google.cloud.channel.v1.PricePhase.Builder, - com.google.cloud.channel.v1.PricePhaseOrBuilder> - pricePhasesBuilder_; + com.google.cloud.channel.v1.PricePhase, com.google.cloud.channel.v1.PricePhase.Builder, com.google.cloud.channel.v1.PricePhaseOrBuilder> pricePhasesBuilder_; /** - * - * *
      * Specifies the price by time range.
      * 
@@ -957,8 +855,6 @@ public java.util.List getPricePhasesList } } /** - * - * *
      * Specifies the price by time range.
      * 
@@ -973,8 +869,6 @@ public int getPricePhasesCount() { } } /** - * - * *
      * Specifies the price by time range.
      * 
@@ -989,15 +883,14 @@ public com.google.cloud.channel.v1.PricePhase getPricePhases(int index) { } } /** - * - * *
      * Specifies the price by time range.
      * 
* * repeated .google.cloud.channel.v1.PricePhase price_phases = 3; */ - public Builder setPricePhases(int index, com.google.cloud.channel.v1.PricePhase value) { + public Builder setPricePhases( + int index, com.google.cloud.channel.v1.PricePhase value) { if (pricePhasesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1011,8 +904,6 @@ public Builder setPricePhases(int index, com.google.cloud.channel.v1.PricePhase return this; } /** - * - * *
      * Specifies the price by time range.
      * 
@@ -1031,8 +922,6 @@ public Builder setPricePhases( return this; } /** - * - * *
      * Specifies the price by time range.
      * 
@@ -1053,15 +942,14 @@ public Builder addPricePhases(com.google.cloud.channel.v1.PricePhase value) { return this; } /** - * - * *
      * Specifies the price by time range.
      * 
* * repeated .google.cloud.channel.v1.PricePhase price_phases = 3; */ - public Builder addPricePhases(int index, com.google.cloud.channel.v1.PricePhase value) { + public Builder addPricePhases( + int index, com.google.cloud.channel.v1.PricePhase value) { if (pricePhasesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1075,15 +963,14 @@ public Builder addPricePhases(int index, com.google.cloud.channel.v1.PricePhase return this; } /** - * - * *
      * Specifies the price by time range.
      * 
* * repeated .google.cloud.channel.v1.PricePhase price_phases = 3; */ - public Builder addPricePhases(com.google.cloud.channel.v1.PricePhase.Builder builderForValue) { + public Builder addPricePhases( + com.google.cloud.channel.v1.PricePhase.Builder builderForValue) { if (pricePhasesBuilder_ == null) { ensurePricePhasesIsMutable(); pricePhases_.add(builderForValue.build()); @@ -1094,8 +981,6 @@ public Builder addPricePhases(com.google.cloud.channel.v1.PricePhase.Builder bui return this; } /** - * - * *
      * Specifies the price by time range.
      * 
@@ -1114,8 +999,6 @@ public Builder addPricePhases( return this; } /** - * - * *
      * Specifies the price by time range.
      * 
@@ -1126,7 +1009,8 @@ public Builder addAllPricePhases( java.lang.Iterable values) { if (pricePhasesBuilder_ == null) { ensurePricePhasesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pricePhases_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, pricePhases_); onChanged(); } else { pricePhasesBuilder_.addAllMessages(values); @@ -1134,8 +1018,6 @@ public Builder addAllPricePhases( return this; } /** - * - * *
      * Specifies the price by time range.
      * 
@@ -1153,8 +1035,6 @@ public Builder clearPricePhases() { return this; } /** - * - * *
      * Specifies the price by time range.
      * 
@@ -1172,44 +1052,39 @@ public Builder removePricePhases(int index) { return this; } /** - * - * *
      * Specifies the price by time range.
      * 
* * repeated .google.cloud.channel.v1.PricePhase price_phases = 3; */ - public com.google.cloud.channel.v1.PricePhase.Builder getPricePhasesBuilder(int index) { + public com.google.cloud.channel.v1.PricePhase.Builder getPricePhasesBuilder( + int index) { return getPricePhasesFieldBuilder().getBuilder(index); } /** - * - * *
      * Specifies the price by time range.
      * 
* * repeated .google.cloud.channel.v1.PricePhase price_phases = 3; */ - public com.google.cloud.channel.v1.PricePhaseOrBuilder getPricePhasesOrBuilder(int index) { + public com.google.cloud.channel.v1.PricePhaseOrBuilder getPricePhasesOrBuilder( + int index) { if (pricePhasesBuilder_ == null) { - return pricePhases_.get(index); - } else { + return pricePhases_.get(index); } else { return pricePhasesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Specifies the price by time range.
      * 
* * repeated .google.cloud.channel.v1.PricePhase price_phases = 3; */ - public java.util.List - getPricePhasesOrBuilderList() { + public java.util.List + getPricePhasesOrBuilderList() { if (pricePhasesBuilder_ != null) { return pricePhasesBuilder_.getMessageOrBuilderList(); } else { @@ -1217,8 +1092,6 @@ public com.google.cloud.channel.v1.PricePhaseOrBuilder getPricePhasesOrBuilder(i } } /** - * - * *
      * Specifies the price by time range.
      * 
@@ -1226,55 +1099,49 @@ public com.google.cloud.channel.v1.PricePhaseOrBuilder getPricePhasesOrBuilder(i * repeated .google.cloud.channel.v1.PricePhase price_phases = 3; */ public com.google.cloud.channel.v1.PricePhase.Builder addPricePhasesBuilder() { - return getPricePhasesFieldBuilder() - .addBuilder(com.google.cloud.channel.v1.PricePhase.getDefaultInstance()); + return getPricePhasesFieldBuilder().addBuilder( + com.google.cloud.channel.v1.PricePhase.getDefaultInstance()); } /** - * - * *
      * Specifies the price by time range.
      * 
* * repeated .google.cloud.channel.v1.PricePhase price_phases = 3; */ - public com.google.cloud.channel.v1.PricePhase.Builder addPricePhasesBuilder(int index) { - return getPricePhasesFieldBuilder() - .addBuilder(index, com.google.cloud.channel.v1.PricePhase.getDefaultInstance()); + public com.google.cloud.channel.v1.PricePhase.Builder addPricePhasesBuilder( + int index) { + return getPricePhasesFieldBuilder().addBuilder( + index, com.google.cloud.channel.v1.PricePhase.getDefaultInstance()); } /** - * - * *
      * Specifies the price by time range.
      * 
* * repeated .google.cloud.channel.v1.PricePhase price_phases = 3; */ - public java.util.List - getPricePhasesBuilderList() { + public java.util.List + getPricePhasesBuilderList() { return getPricePhasesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.PricePhase, - com.google.cloud.channel.v1.PricePhase.Builder, - com.google.cloud.channel.v1.PricePhaseOrBuilder> + com.google.cloud.channel.v1.PricePhase, com.google.cloud.channel.v1.PricePhase.Builder, com.google.cloud.channel.v1.PricePhaseOrBuilder> getPricePhasesFieldBuilder() { if (pricePhasesBuilder_ == null) { - pricePhasesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.PricePhase, - com.google.cloud.channel.v1.PricePhase.Builder, - com.google.cloud.channel.v1.PricePhaseOrBuilder>( - pricePhases_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + pricePhasesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.PricePhase, com.google.cloud.channel.v1.PricePhase.Builder, com.google.cloud.channel.v1.PricePhaseOrBuilder>( + pricePhases_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); pricePhases_ = null; } return pricePhasesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1284,12 +1151,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.PriceByResource) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.PriceByResource) private static final com.google.cloud.channel.v1.PriceByResource DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.PriceByResource(); } @@ -1298,27 +1165,27 @@ public static com.google.cloud.channel.v1.PriceByResource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PriceByResource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PriceByResource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1333,4 +1200,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.PriceByResource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResourceOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResourceOrBuilder.java similarity index 74% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResourceOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResourceOrBuilder.java index cf2f0b92195a..172c53815272 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResourceOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResourceOrBuilder.java @@ -1,80 +1,50 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; -public interface PriceByResourceOrBuilder - extends +public interface PriceByResourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.PriceByResource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Resource Type. Example: SEAT
    * 
* * .google.cloud.channel.v1.ResourceType resource_type = 1; - * * @return The enum numeric value on the wire for resourceType. */ int getResourceTypeValue(); /** - * - * *
    * Resource Type. Example: SEAT
    * 
* * .google.cloud.channel.v1.ResourceType resource_type = 1; - * * @return The resourceType. */ com.google.cloud.channel.v1.ResourceType getResourceType(); /** - * - * *
    * Price of the Offer. Present if there are no price phases.
    * 
* * .google.cloud.channel.v1.Price price = 2; - * * @return Whether the price field is set. */ boolean hasPrice(); /** - * - * *
    * Price of the Offer. Present if there are no price phases.
    * 
* * .google.cloud.channel.v1.Price price = 2; - * * @return The price. */ com.google.cloud.channel.v1.Price getPrice(); /** - * - * *
    * Price of the Offer. Present if there are no price phases.
    * 
@@ -84,18 +54,15 @@ public interface PriceByResourceOrBuilder com.google.cloud.channel.v1.PriceOrBuilder getPriceOrBuilder(); /** - * - * *
    * Specifies the price by time range.
    * 
* * repeated .google.cloud.channel.v1.PricePhase price_phases = 3; */ - java.util.List getPricePhasesList(); + java.util.List + getPricePhasesList(); /** - * - * *
    * Specifies the price by time range.
    * 
@@ -104,8 +71,6 @@ public interface PriceByResourceOrBuilder */ com.google.cloud.channel.v1.PricePhase getPricePhases(int index); /** - * - * *
    * Specifies the price by time range.
    * 
@@ -114,24 +79,21 @@ public interface PriceByResourceOrBuilder */ int getPricePhasesCount(); /** - * - * *
    * Specifies the price by time range.
    * 
* * repeated .google.cloud.channel.v1.PricePhase price_phases = 3; */ - java.util.List + java.util.List getPricePhasesOrBuilderList(); /** - * - * *
    * Specifies the price by time range.
    * 
* * repeated .google.cloud.channel.v1.PricePhase price_phases = 3; */ - com.google.cloud.channel.v1.PricePhaseOrBuilder getPricePhasesOrBuilder(int index); + com.google.cloud.channel.v1.PricePhaseOrBuilder getPricePhasesOrBuilder( + int index); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceOrBuilder.java similarity index 72% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceOrBuilder.java index 6c5fd36e5bd7..d9671660c1ec 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceOrBuilder.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/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; -public interface PriceOrBuilder - extends +public interface PriceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Price) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Base price.
    * 
* * .google.type.Money base_price = 1; - * * @return Whether the basePrice field is set. */ boolean hasBasePrice(); /** - * - * *
    * Base price.
    * 
* * .google.type.Money base_price = 1; - * * @return The basePrice. */ com.google.type.Money getBasePrice(); /** - * - * *
    * Base price.
    * 
@@ -59,46 +35,35 @@ public interface PriceOrBuilder com.google.type.MoneyOrBuilder getBasePriceOrBuilder(); /** - * - * *
    * Discount percentage, represented as decimal.
    * For example, a 20% discount will be represent as 0.2.
    * 
* * double discount = 2; - * * @return The discount. */ double getDiscount(); /** - * - * *
    * Effective Price after applying the discounts.
    * 
* * .google.type.Money effective_price = 3; - * * @return Whether the effectivePrice field is set. */ boolean hasEffectivePrice(); /** - * - * *
    * Effective Price after applying the discounts.
    * 
* * .google.type.Money effective_price = 3; - * * @return The effectivePrice. */ com.google.type.Money getEffectivePrice(); /** - * - * *
    * Effective Price after applying the discounts.
    * 
@@ -108,27 +73,22 @@ public interface PriceOrBuilder com.google.type.MoneyOrBuilder getEffectivePriceOrBuilder(); /** - * - * *
    * Link to external price list, such as link to Google Voice rate card.
    * 
* * string external_price_uri = 4; - * * @return The externalPriceUri. */ java.lang.String getExternalPriceUri(); /** - * - * *
    * Link to external price list, such as link to Google Voice rate card.
    * 
* * string external_price_uri = 4; - * * @return The bytes for externalPriceUri. */ - com.google.protobuf.ByteString getExternalPriceUriBytes(); + com.google.protobuf.ByteString + getExternalPriceUriBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhase.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhase.java similarity index 74% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhase.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhase.java index ba58b386df5b..996a511edcc3 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhase.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhase.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/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; /** - * - * *
  * Specifies the price by the duration of months.
  * For example, a 20% discount for the first six months, then a 10% discount
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.PricePhase}
  */
-public final class PricePhase extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class PricePhase extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.PricePhase)
     PricePhaseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use PricePhase.newBuilder() to construct.
   private PricePhase(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private PricePhase() {
     periodType_ = 0;
     priceTiers_ = java.util.Collections.emptyList();
@@ -46,77 +28,64 @@ private PricePhase() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new PricePhase();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.channel.v1.OffersProto
-        .internal_static_google_cloud_channel_v1_PricePhase_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_PricePhase_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.OffersProto
-        .internal_static_google_cloud_channel_v1_PricePhase_fieldAccessorTable
+    return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_PricePhase_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.PricePhase.class,
-            com.google.cloud.channel.v1.PricePhase.Builder.class);
+            com.google.cloud.channel.v1.PricePhase.class, com.google.cloud.channel.v1.PricePhase.Builder.class);
   }
 
   public static final int PERIOD_TYPE_FIELD_NUMBER = 1;
   private int periodType_;
   /**
-   *
-   *
    * 
    * Defines the phase period type.
    * 
* * .google.cloud.channel.v1.PeriodType period_type = 1; - * * @return The enum numeric value on the wire for periodType. */ - @java.lang.Override - public int getPeriodTypeValue() { + @java.lang.Override public int getPeriodTypeValue() { return periodType_; } /** - * - * *
    * Defines the phase period type.
    * 
* * .google.cloud.channel.v1.PeriodType period_type = 1; - * * @return The periodType. */ - @java.lang.Override - public com.google.cloud.channel.v1.PeriodType getPeriodType() { + @java.lang.Override public com.google.cloud.channel.v1.PeriodType getPeriodType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.PeriodType result = - com.google.cloud.channel.v1.PeriodType.valueOf(periodType_); + com.google.cloud.channel.v1.PeriodType result = com.google.cloud.channel.v1.PeriodType.valueOf(periodType_); return result == null ? com.google.cloud.channel.v1.PeriodType.UNRECOGNIZED : result; } public static final int FIRST_PERIOD_FIELD_NUMBER = 2; private int firstPeriod_; /** - * - * *
    * Defines first period for the phase.
    * 
* * int32 first_period = 2; - * * @return The firstPeriod. */ @java.lang.Override @@ -127,14 +96,11 @@ public int getFirstPeriod() { public static final int LAST_PERIOD_FIELD_NUMBER = 3; private int lastPeriod_; /** - * - * *
    * Defines first period for the phase.
    * 
* * int32 last_period = 3; - * * @return The lastPeriod. */ @java.lang.Override @@ -145,14 +111,11 @@ public int getLastPeriod() { public static final int PRICE_FIELD_NUMBER = 4; private com.google.cloud.channel.v1.Price price_; /** - * - * *
    * Price of the phase. Present if there are no price tiers.
    * 
* * .google.cloud.channel.v1.Price price = 4; - * * @return Whether the price field is set. */ @java.lang.Override @@ -160,14 +123,11 @@ public boolean hasPrice() { return price_ != null; } /** - * - * *
    * Price of the phase. Present if there are no price tiers.
    * 
* * .google.cloud.channel.v1.Price price = 4; - * * @return The price. */ @java.lang.Override @@ -175,8 +135,6 @@ public com.google.cloud.channel.v1.Price getPrice() { return price_ == null ? com.google.cloud.channel.v1.Price.getDefaultInstance() : price_; } /** - * - * *
    * Price of the phase. Present if there are no price tiers.
    * 
@@ -191,8 +149,6 @@ public com.google.cloud.channel.v1.PriceOrBuilder getPriceOrBuilder() { public static final int PRICE_TIERS_FIELD_NUMBER = 5; private java.util.List priceTiers_; /** - * - * *
    * Price by the resource tiers.
    * 
@@ -204,8 +160,6 @@ public java.util.List getPriceTiersList() return priceTiers_; } /** - * - * *
    * Price by the resource tiers.
    * 
@@ -213,13 +167,11 @@ public java.util.List getPriceTiersList() * repeated .google.cloud.channel.v1.PriceTier price_tiers = 5; */ @java.lang.Override - public java.util.List + public java.util.List getPriceTiersOrBuilderList() { return priceTiers_; } /** - * - * *
    * Price by the resource tiers.
    * 
@@ -231,8 +183,6 @@ public int getPriceTiersCount() { return priceTiers_.size(); } /** - * - * *
    * Price by the resource tiers.
    * 
@@ -244,8 +194,6 @@ public com.google.cloud.channel.v1.PriceTier getPriceTiers(int index) { return priceTiers_.get(index); } /** - * - * *
    * Price by the resource tiers.
    * 
@@ -253,12 +201,12 @@ public com.google.cloud.channel.v1.PriceTier getPriceTiers(int index) { * repeated .google.cloud.channel.v1.PriceTier price_tiers = 5; */ @java.lang.Override - public com.google.cloud.channel.v1.PriceTierOrBuilder getPriceTiersOrBuilder(int index) { + public com.google.cloud.channel.v1.PriceTierOrBuilder getPriceTiersOrBuilder( + int index) { return priceTiers_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -270,7 +218,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (periodType_ != com.google.cloud.channel.v1.PeriodType.PERIOD_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, periodType_); } @@ -296,19 +245,24 @@ public int getSerializedSize() { size = 0; if (periodType_ != com.google.cloud.channel.v1.PeriodType.PERIOD_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, periodType_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, periodType_); } if (firstPeriod_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, firstPeriod_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, firstPeriod_); } if (lastPeriod_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, lastPeriod_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, lastPeriod_); } if (price_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPrice()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getPrice()); } for (int i = 0; i < priceTiers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, priceTiers_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, priceTiers_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -318,7 +272,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.PricePhase)) { return super.equals(obj); @@ -326,13 +280,17 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.channel.v1.PricePhase other = (com.google.cloud.channel.v1.PricePhase) obj; if (periodType_ != other.periodType_) return false; - if (getFirstPeriod() != other.getFirstPeriod()) return false; - if (getLastPeriod() != other.getLastPeriod()) return false; + if (getFirstPeriod() + != other.getFirstPeriod()) return false; + if (getLastPeriod() + != other.getLastPeriod()) return false; if (hasPrice() != other.hasPrice()) return false; if (hasPrice()) { - if (!getPrice().equals(other.getPrice())) return false; + if (!getPrice() + .equals(other.getPrice())) return false; } - if (!getPriceTiersList().equals(other.getPriceTiersList())) return false; + if (!getPriceTiersList() + .equals(other.getPriceTiersList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -363,104 +321,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.PricePhase parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.PricePhase parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.PricePhase parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.PricePhase parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.PricePhase parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.PricePhase parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.PricePhase parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.PricePhase 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.cloud.channel.v1.PricePhase parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.PricePhase parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.PricePhase parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.PricePhase parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.PricePhase parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.PricePhase prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifies the price by the duration of months.
    * For example, a 20% discount for the first six months, then a 10% discount
@@ -469,32 +420,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.channel.v1.PricePhase}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.PricePhase)
       com.google.cloud.channel.v1.PricePhaseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.channel.v1.OffersProto
-          .internal_static_google_cloud_channel_v1_PricePhase_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_PricePhase_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.OffersProto
-          .internal_static_google_cloud_channel_v1_PricePhase_fieldAccessorTable
+      return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_PricePhase_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.PricePhase.class,
-              com.google.cloud.channel.v1.PricePhase.Builder.class);
+              com.google.cloud.channel.v1.PricePhase.class, com.google.cloud.channel.v1.PricePhase.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.PricePhase.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -521,9 +473,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.channel.v1.OffersProto
-          .internal_static_google_cloud_channel_v1_PricePhase_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_PricePhase_descriptor;
     }
 
     @java.lang.Override
@@ -542,8 +494,7 @@ public com.google.cloud.channel.v1.PricePhase build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.PricePhase buildPartial() {
-      com.google.cloud.channel.v1.PricePhase result =
-          new com.google.cloud.channel.v1.PricePhase(this);
+      com.google.cloud.channel.v1.PricePhase result = new com.google.cloud.channel.v1.PricePhase(this);
       int from_bitField0_ = bitField0_;
       result.periodType_ = periodType_;
       result.firstPeriod_ = firstPeriod_;
@@ -570,39 +521,38 @@ public com.google.cloud.channel.v1.PricePhase 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.cloud.channel.v1.PricePhase) {
-        return mergeFrom((com.google.cloud.channel.v1.PricePhase) other);
+        return mergeFrom((com.google.cloud.channel.v1.PricePhase)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -641,10 +591,9 @@ public Builder mergeFrom(com.google.cloud.channel.v1.PricePhase other) {
             priceTiersBuilder_ = null;
             priceTiers_ = other.priceTiers_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            priceTiersBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getPriceTiersFieldBuilder()
-                    : null;
+            priceTiersBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getPriceTiersFieldBuilder() : null;
           } else {
             priceTiersBuilder_.addAllMessages(other.priceTiers_);
           }
@@ -676,50 +625,47 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                periodType_ = input.readEnum();
+            case 8: {
+              periodType_ = input.readEnum();
 
-                break;
-              } // case 8
-            case 16:
-              {
-                firstPeriod_ = input.readInt32();
+              break;
+            } // case 8
+            case 16: {
+              firstPeriod_ = input.readInt32();
 
-                break;
-              } // case 16
-            case 24:
-              {
-                lastPeriod_ = input.readInt32();
+              break;
+            } // case 16
+            case 24: {
+              lastPeriod_ = input.readInt32();
 
-                break;
-              } // case 24
-            case 34:
-              {
-                input.readMessage(getPriceFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 24
+            case 34: {
+              input.readMessage(
+                  getPriceFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 34
-            case 42:
-              {
-                com.google.cloud.channel.v1.PriceTier m =
-                    input.readMessage(
-                        com.google.cloud.channel.v1.PriceTier.parser(), extensionRegistry);
-                if (priceTiersBuilder_ == null) {
-                  ensurePriceTiersIsMutable();
-                  priceTiers_.add(m);
-                } else {
-                  priceTiersBuilder_.addMessage(m);
-                }
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 34
+            case 42: {
+              com.google.cloud.channel.v1.PriceTier m =
+                  input.readMessage(
+                      com.google.cloud.channel.v1.PriceTier.parser(),
+                      extensionRegistry);
+              if (priceTiersBuilder_ == null) {
+                ensurePriceTiersIsMutable();
+                priceTiers_.add(m);
+              } else {
+                priceTiersBuilder_.addMessage(m);
+              }
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -729,70 +675,55 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private int periodType_ = 0;
     /**
-     *
-     *
      * 
      * Defines the phase period type.
      * 
* * .google.cloud.channel.v1.PeriodType period_type = 1; - * * @return The enum numeric value on the wire for periodType. */ - @java.lang.Override - public int getPeriodTypeValue() { + @java.lang.Override public int getPeriodTypeValue() { return periodType_; } /** - * - * *
      * Defines the phase period type.
      * 
* * .google.cloud.channel.v1.PeriodType period_type = 1; - * * @param value The enum numeric value on the wire for periodType to set. * @return This builder for chaining. */ public Builder setPeriodTypeValue(int value) { - + periodType_ = value; onChanged(); return this; } /** - * - * *
      * Defines the phase period type.
      * 
* * .google.cloud.channel.v1.PeriodType period_type = 1; - * * @return The periodType. */ @java.lang.Override public com.google.cloud.channel.v1.PeriodType getPeriodType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.PeriodType result = - com.google.cloud.channel.v1.PeriodType.valueOf(periodType_); + com.google.cloud.channel.v1.PeriodType result = com.google.cloud.channel.v1.PeriodType.valueOf(periodType_); return result == null ? com.google.cloud.channel.v1.PeriodType.UNRECOGNIZED : result; } /** - * - * *
      * Defines the phase period type.
      * 
* * .google.cloud.channel.v1.PeriodType period_type = 1; - * * @param value The periodType to set. * @return This builder for chaining. */ @@ -800,39 +731,33 @@ public Builder setPeriodType(com.google.cloud.channel.v1.PeriodType value) { if (value == null) { throw new NullPointerException(); } - + periodType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Defines the phase period type.
      * 
* * .google.cloud.channel.v1.PeriodType period_type = 1; - * * @return This builder for chaining. */ public Builder clearPeriodType() { - + periodType_ = 0; onChanged(); return this; } - private int firstPeriod_; + private int firstPeriod_ ; /** - * - * *
      * Defines first period for the phase.
      * 
* * int32 first_period = 2; - * * @return The firstPeriod. */ @java.lang.Override @@ -840,51 +765,42 @@ public int getFirstPeriod() { return firstPeriod_; } /** - * - * *
      * Defines first period for the phase.
      * 
* * int32 first_period = 2; - * * @param value The firstPeriod to set. * @return This builder for chaining. */ public Builder setFirstPeriod(int value) { - + firstPeriod_ = value; onChanged(); return this; } /** - * - * *
      * Defines first period for the phase.
      * 
* * int32 first_period = 2; - * * @return This builder for chaining. */ public Builder clearFirstPeriod() { - + firstPeriod_ = 0; onChanged(); return this; } - private int lastPeriod_; + private int lastPeriod_ ; /** - * - * *
      * Defines first period for the phase.
      * 
* * int32 last_period = 3; - * * @return The lastPeriod. */ @java.lang.Override @@ -892,36 +808,30 @@ public int getLastPeriod() { return lastPeriod_; } /** - * - * *
      * Defines first period for the phase.
      * 
* * int32 last_period = 3; - * * @param value The lastPeriod to set. * @return This builder for chaining. */ public Builder setLastPeriod(int value) { - + lastPeriod_ = value; onChanged(); return this; } /** - * - * *
      * Defines first period for the phase.
      * 
* * int32 last_period = 3; - * * @return This builder for chaining. */ public Builder clearLastPeriod() { - + lastPeriod_ = 0; onChanged(); return this; @@ -929,33 +839,24 @@ public Builder clearLastPeriod() { private com.google.cloud.channel.v1.Price price_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Price, - com.google.cloud.channel.v1.Price.Builder, - com.google.cloud.channel.v1.PriceOrBuilder> - priceBuilder_; + com.google.cloud.channel.v1.Price, com.google.cloud.channel.v1.Price.Builder, com.google.cloud.channel.v1.PriceOrBuilder> priceBuilder_; /** - * - * *
      * Price of the phase. Present if there are no price tiers.
      * 
* * .google.cloud.channel.v1.Price price = 4; - * * @return Whether the price field is set. */ public boolean hasPrice() { return priceBuilder_ != null || price_ != null; } /** - * - * *
      * Price of the phase. Present if there are no price tiers.
      * 
* * .google.cloud.channel.v1.Price price = 4; - * * @return The price. */ public com.google.cloud.channel.v1.Price getPrice() { @@ -966,8 +867,6 @@ public com.google.cloud.channel.v1.Price getPrice() { } } /** - * - * *
      * Price of the phase. Present if there are no price tiers.
      * 
@@ -988,15 +887,14 @@ public Builder setPrice(com.google.cloud.channel.v1.Price value) { return this; } /** - * - * *
      * Price of the phase. Present if there are no price tiers.
      * 
* * .google.cloud.channel.v1.Price price = 4; */ - public Builder setPrice(com.google.cloud.channel.v1.Price.Builder builderForValue) { + public Builder setPrice( + com.google.cloud.channel.v1.Price.Builder builderForValue) { if (priceBuilder_ == null) { price_ = builderForValue.build(); onChanged(); @@ -1007,8 +905,6 @@ public Builder setPrice(com.google.cloud.channel.v1.Price.Builder builderForValu return this; } /** - * - * *
      * Price of the phase. Present if there are no price tiers.
      * 
@@ -1019,7 +915,7 @@ public Builder mergePrice(com.google.cloud.channel.v1.Price value) { if (priceBuilder_ == null) { if (price_ != null) { price_ = - com.google.cloud.channel.v1.Price.newBuilder(price_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.Price.newBuilder(price_).mergeFrom(value).buildPartial(); } else { price_ = value; } @@ -1031,8 +927,6 @@ public Builder mergePrice(com.google.cloud.channel.v1.Price value) { return this; } /** - * - * *
      * Price of the phase. Present if there are no price tiers.
      * 
@@ -1051,8 +945,6 @@ public Builder clearPrice() { return this; } /** - * - * *
      * Price of the phase. Present if there are no price tiers.
      * 
@@ -1060,13 +952,11 @@ public Builder clearPrice() { * .google.cloud.channel.v1.Price price = 4; */ public com.google.cloud.channel.v1.Price.Builder getPriceBuilder() { - + onChanged(); return getPriceFieldBuilder().getBuilder(); } /** - * - * *
      * Price of the phase. Present if there are no price tiers.
      * 
@@ -1077,12 +967,11 @@ public com.google.cloud.channel.v1.PriceOrBuilder getPriceOrBuilder() { if (priceBuilder_ != null) { return priceBuilder_.getMessageOrBuilder(); } else { - return price_ == null ? com.google.cloud.channel.v1.Price.getDefaultInstance() : price_; + return price_ == null ? + com.google.cloud.channel.v1.Price.getDefaultInstance() : price_; } } /** - * - * *
      * Price of the phase. Present if there are no price tiers.
      * 
@@ -1090,41 +979,32 @@ public com.google.cloud.channel.v1.PriceOrBuilder getPriceOrBuilder() { * .google.cloud.channel.v1.Price price = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Price, - com.google.cloud.channel.v1.Price.Builder, - com.google.cloud.channel.v1.PriceOrBuilder> + com.google.cloud.channel.v1.Price, com.google.cloud.channel.v1.Price.Builder, com.google.cloud.channel.v1.PriceOrBuilder> getPriceFieldBuilder() { if (priceBuilder_ == null) { - priceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Price, - com.google.cloud.channel.v1.Price.Builder, - com.google.cloud.channel.v1.PriceOrBuilder>( - getPrice(), getParentForChildren(), isClean()); + priceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Price, com.google.cloud.channel.v1.Price.Builder, com.google.cloud.channel.v1.PriceOrBuilder>( + getPrice(), + getParentForChildren(), + isClean()); price_ = null; } return priceBuilder_; } private java.util.List priceTiers_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePriceTiersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { priceTiers_ = new java.util.ArrayList(priceTiers_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.PriceTier, - com.google.cloud.channel.v1.PriceTier.Builder, - com.google.cloud.channel.v1.PriceTierOrBuilder> - priceTiersBuilder_; + com.google.cloud.channel.v1.PriceTier, com.google.cloud.channel.v1.PriceTier.Builder, com.google.cloud.channel.v1.PriceTierOrBuilder> priceTiersBuilder_; /** - * - * *
      * Price by the resource tiers.
      * 
@@ -1139,8 +1019,6 @@ public java.util.List getPriceTiersList() } } /** - * - * *
      * Price by the resource tiers.
      * 
@@ -1155,8 +1033,6 @@ public int getPriceTiersCount() { } } /** - * - * *
      * Price by the resource tiers.
      * 
@@ -1171,15 +1047,14 @@ public com.google.cloud.channel.v1.PriceTier getPriceTiers(int index) { } } /** - * - * *
      * Price by the resource tiers.
      * 
* * repeated .google.cloud.channel.v1.PriceTier price_tiers = 5; */ - public Builder setPriceTiers(int index, com.google.cloud.channel.v1.PriceTier value) { + public Builder setPriceTiers( + int index, com.google.cloud.channel.v1.PriceTier value) { if (priceTiersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1193,8 +1068,6 @@ public Builder setPriceTiers(int index, com.google.cloud.channel.v1.PriceTier va return this; } /** - * - * *
      * Price by the resource tiers.
      * 
@@ -1213,8 +1086,6 @@ public Builder setPriceTiers( return this; } /** - * - * *
      * Price by the resource tiers.
      * 
@@ -1235,15 +1106,14 @@ public Builder addPriceTiers(com.google.cloud.channel.v1.PriceTier value) { return this; } /** - * - * *
      * Price by the resource tiers.
      * 
* * repeated .google.cloud.channel.v1.PriceTier price_tiers = 5; */ - public Builder addPriceTiers(int index, com.google.cloud.channel.v1.PriceTier value) { + public Builder addPriceTiers( + int index, com.google.cloud.channel.v1.PriceTier value) { if (priceTiersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1257,15 +1127,14 @@ public Builder addPriceTiers(int index, com.google.cloud.channel.v1.PriceTier va return this; } /** - * - * *
      * Price by the resource tiers.
      * 
* * repeated .google.cloud.channel.v1.PriceTier price_tiers = 5; */ - public Builder addPriceTiers(com.google.cloud.channel.v1.PriceTier.Builder builderForValue) { + public Builder addPriceTiers( + com.google.cloud.channel.v1.PriceTier.Builder builderForValue) { if (priceTiersBuilder_ == null) { ensurePriceTiersIsMutable(); priceTiers_.add(builderForValue.build()); @@ -1276,8 +1145,6 @@ public Builder addPriceTiers(com.google.cloud.channel.v1.PriceTier.Builder build return this; } /** - * - * *
      * Price by the resource tiers.
      * 
@@ -1296,8 +1163,6 @@ public Builder addPriceTiers( return this; } /** - * - * *
      * Price by the resource tiers.
      * 
@@ -1308,7 +1173,8 @@ public Builder addAllPriceTiers( java.lang.Iterable values) { if (priceTiersBuilder_ == null) { ensurePriceTiersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, priceTiers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, priceTiers_); onChanged(); } else { priceTiersBuilder_.addAllMessages(values); @@ -1316,8 +1182,6 @@ public Builder addAllPriceTiers( return this; } /** - * - * *
      * Price by the resource tiers.
      * 
@@ -1335,8 +1199,6 @@ public Builder clearPriceTiers() { return this; } /** - * - * *
      * Price by the resource tiers.
      * 
@@ -1354,44 +1216,39 @@ public Builder removePriceTiers(int index) { return this; } /** - * - * *
      * Price by the resource tiers.
      * 
* * repeated .google.cloud.channel.v1.PriceTier price_tiers = 5; */ - public com.google.cloud.channel.v1.PriceTier.Builder getPriceTiersBuilder(int index) { + public com.google.cloud.channel.v1.PriceTier.Builder getPriceTiersBuilder( + int index) { return getPriceTiersFieldBuilder().getBuilder(index); } /** - * - * *
      * Price by the resource tiers.
      * 
* * repeated .google.cloud.channel.v1.PriceTier price_tiers = 5; */ - public com.google.cloud.channel.v1.PriceTierOrBuilder getPriceTiersOrBuilder(int index) { + public com.google.cloud.channel.v1.PriceTierOrBuilder getPriceTiersOrBuilder( + int index) { if (priceTiersBuilder_ == null) { - return priceTiers_.get(index); - } else { + return priceTiers_.get(index); } else { return priceTiersBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Price by the resource tiers.
      * 
* * repeated .google.cloud.channel.v1.PriceTier price_tiers = 5; */ - public java.util.List - getPriceTiersOrBuilderList() { + public java.util.List + getPriceTiersOrBuilderList() { if (priceTiersBuilder_ != null) { return priceTiersBuilder_.getMessageOrBuilderList(); } else { @@ -1399,8 +1256,6 @@ public com.google.cloud.channel.v1.PriceTierOrBuilder getPriceTiersOrBuilder(int } } /** - * - * *
      * Price by the resource tiers.
      * 
@@ -1408,55 +1263,49 @@ public com.google.cloud.channel.v1.PriceTierOrBuilder getPriceTiersOrBuilder(int * repeated .google.cloud.channel.v1.PriceTier price_tiers = 5; */ public com.google.cloud.channel.v1.PriceTier.Builder addPriceTiersBuilder() { - return getPriceTiersFieldBuilder() - .addBuilder(com.google.cloud.channel.v1.PriceTier.getDefaultInstance()); + return getPriceTiersFieldBuilder().addBuilder( + com.google.cloud.channel.v1.PriceTier.getDefaultInstance()); } /** - * - * *
      * Price by the resource tiers.
      * 
* * repeated .google.cloud.channel.v1.PriceTier price_tiers = 5; */ - public com.google.cloud.channel.v1.PriceTier.Builder addPriceTiersBuilder(int index) { - return getPriceTiersFieldBuilder() - .addBuilder(index, com.google.cloud.channel.v1.PriceTier.getDefaultInstance()); + public com.google.cloud.channel.v1.PriceTier.Builder addPriceTiersBuilder( + int index) { + return getPriceTiersFieldBuilder().addBuilder( + index, com.google.cloud.channel.v1.PriceTier.getDefaultInstance()); } /** - * - * *
      * Price by the resource tiers.
      * 
* * repeated .google.cloud.channel.v1.PriceTier price_tiers = 5; */ - public java.util.List - getPriceTiersBuilderList() { + public java.util.List + getPriceTiersBuilderList() { return getPriceTiersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.PriceTier, - com.google.cloud.channel.v1.PriceTier.Builder, - com.google.cloud.channel.v1.PriceTierOrBuilder> + com.google.cloud.channel.v1.PriceTier, com.google.cloud.channel.v1.PriceTier.Builder, com.google.cloud.channel.v1.PriceTierOrBuilder> getPriceTiersFieldBuilder() { if (priceTiersBuilder_ == null) { - priceTiersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.PriceTier, - com.google.cloud.channel.v1.PriceTier.Builder, - com.google.cloud.channel.v1.PriceTierOrBuilder>( - priceTiers_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + priceTiersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.PriceTier, com.google.cloud.channel.v1.PriceTier.Builder, com.google.cloud.channel.v1.PriceTierOrBuilder>( + priceTiers_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); priceTiers_ = null; } return priceTiersBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1466,12 +1315,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.PricePhase) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.PricePhase) private static final com.google.cloud.channel.v1.PricePhase DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.PricePhase(); } @@ -1480,27 +1329,27 @@ public static com.google.cloud.channel.v1.PricePhase getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PricePhase parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PricePhase parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1515,4 +1364,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.PricePhase getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhaseOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhaseOrBuilder.java similarity index 75% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhaseOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhaseOrBuilder.java index 62aa966d9617..759d9205793d 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhaseOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhaseOrBuilder.java @@ -1,106 +1,70 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; -public interface PricePhaseOrBuilder - extends +public interface PricePhaseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.PricePhase) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Defines the phase period type.
    * 
* * .google.cloud.channel.v1.PeriodType period_type = 1; - * * @return The enum numeric value on the wire for periodType. */ int getPeriodTypeValue(); /** - * - * *
    * Defines the phase period type.
    * 
* * .google.cloud.channel.v1.PeriodType period_type = 1; - * * @return The periodType. */ com.google.cloud.channel.v1.PeriodType getPeriodType(); /** - * - * *
    * Defines first period for the phase.
    * 
* * int32 first_period = 2; - * * @return The firstPeriod. */ int getFirstPeriod(); /** - * - * *
    * Defines first period for the phase.
    * 
* * int32 last_period = 3; - * * @return The lastPeriod. */ int getLastPeriod(); /** - * - * *
    * Price of the phase. Present if there are no price tiers.
    * 
* * .google.cloud.channel.v1.Price price = 4; - * * @return Whether the price field is set. */ boolean hasPrice(); /** - * - * *
    * Price of the phase. Present if there are no price tiers.
    * 
* * .google.cloud.channel.v1.Price price = 4; - * * @return The price. */ com.google.cloud.channel.v1.Price getPrice(); /** - * - * *
    * Price of the phase. Present if there are no price tiers.
    * 
@@ -110,18 +74,15 @@ public interface PricePhaseOrBuilder com.google.cloud.channel.v1.PriceOrBuilder getPriceOrBuilder(); /** - * - * *
    * Price by the resource tiers.
    * 
* * repeated .google.cloud.channel.v1.PriceTier price_tiers = 5; */ - java.util.List getPriceTiersList(); + java.util.List + getPriceTiersList(); /** - * - * *
    * Price by the resource tiers.
    * 
@@ -130,8 +91,6 @@ public interface PricePhaseOrBuilder */ com.google.cloud.channel.v1.PriceTier getPriceTiers(int index); /** - * - * *
    * Price by the resource tiers.
    * 
@@ -140,24 +99,21 @@ public interface PricePhaseOrBuilder */ int getPriceTiersCount(); /** - * - * *
    * Price by the resource tiers.
    * 
* * repeated .google.cloud.channel.v1.PriceTier price_tiers = 5; */ - java.util.List + java.util.List getPriceTiersOrBuilderList(); /** - * - * *
    * Price by the resource tiers.
    * 
* * repeated .google.cloud.channel.v1.PriceTier price_tiers = 5; */ - com.google.cloud.channel.v1.PriceTierOrBuilder getPriceTiersOrBuilder(int index); + com.google.cloud.channel.v1.PriceTierOrBuilder getPriceTiersOrBuilder( + int index); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTier.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTier.java similarity index 69% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTier.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTier.java index 086164378a10..2baacb11cc73 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTier.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTier.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/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; /** - * - * *
  * Defines price at resource tier level.
  * For example, an offer with following definition :
@@ -32,55 +15,51 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.PriceTier}
  */
-public final class PriceTier extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class PriceTier extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.PriceTier)
     PriceTierOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use PriceTier.newBuilder() to construct.
   private PriceTier(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private PriceTier() {}
+  private PriceTier() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new PriceTier();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.channel.v1.OffersProto
-        .internal_static_google_cloud_channel_v1_PriceTier_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_PriceTier_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.OffersProto
-        .internal_static_google_cloud_channel_v1_PriceTier_fieldAccessorTable
+    return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_PriceTier_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.PriceTier.class,
-            com.google.cloud.channel.v1.PriceTier.Builder.class);
+            com.google.cloud.channel.v1.PriceTier.class, com.google.cloud.channel.v1.PriceTier.Builder.class);
   }
 
   public static final int FIRST_RESOURCE_FIELD_NUMBER = 1;
   private int firstResource_;
   /**
-   *
-   *
    * 
    * First resource for which the tier price applies.
    * 
* * int32 first_resource = 1; - * * @return The firstResource. */ @java.lang.Override @@ -91,14 +70,11 @@ public int getFirstResource() { public static final int LAST_RESOURCE_FIELD_NUMBER = 2; private int lastResource_; /** - * - * *
    * Last resource for which the tier price applies.
    * 
* * int32 last_resource = 2; - * * @return The lastResource. */ @java.lang.Override @@ -109,14 +85,11 @@ public int getLastResource() { public static final int PRICE_FIELD_NUMBER = 3; private com.google.cloud.channel.v1.Price price_; /** - * - * *
    * Price of the tier.
    * 
* * .google.cloud.channel.v1.Price price = 3; - * * @return Whether the price field is set. */ @java.lang.Override @@ -124,14 +97,11 @@ public boolean hasPrice() { return price_ != null; } /** - * - * *
    * Price of the tier.
    * 
* * .google.cloud.channel.v1.Price price = 3; - * * @return The price. */ @java.lang.Override @@ -139,8 +109,6 @@ public com.google.cloud.channel.v1.Price getPrice() { return price_ == null ? com.google.cloud.channel.v1.Price.getDefaultInstance() : price_; } /** - * - * *
    * Price of the tier.
    * 
@@ -153,7 +121,6 @@ public com.google.cloud.channel.v1.PriceOrBuilder getPriceOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -165,7 +132,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (firstResource_ != 0) { output.writeInt32(1, firstResource_); } @@ -185,13 +153,16 @@ public int getSerializedSize() { size = 0; if (firstResource_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, firstResource_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, firstResource_); } if (lastResource_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, lastResource_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, lastResource_); } if (price_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPrice()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getPrice()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -201,18 +172,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.cloud.channel.v1.PriceTier)) { return super.equals(obj); } com.google.cloud.channel.v1.PriceTier other = (com.google.cloud.channel.v1.PriceTier) obj; - if (getFirstResource() != other.getFirstResource()) return false; - if (getLastResource() != other.getLastResource()) return false; + if (getFirstResource() + != other.getFirstResource()) return false; + if (getLastResource() + != other.getLastResource()) return false; if (hasPrice() != other.hasPrice()) return false; if (hasPrice()) { - if (!getPrice().equals(other.getPrice())) return false; + if (!getPrice() + .equals(other.getPrice())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -238,103 +212,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.PriceTier parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.PriceTier parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.PriceTier parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.PriceTier parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.channel.v1.PriceTier parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.PriceTier parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.PriceTier parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.PriceTier parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.PriceTier 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.cloud.channel.v1.PriceTier parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.PriceTier parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.PriceTier parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.PriceTier parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.PriceTier parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.PriceTier prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Defines price at resource tier level.
    * For example, an offer with following definition :
@@ -346,32 +314,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.channel.v1.PriceTier}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.PriceTier)
       com.google.cloud.channel.v1.PriceTierOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.channel.v1.OffersProto
-          .internal_static_google_cloud_channel_v1_PriceTier_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_PriceTier_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.OffersProto
-          .internal_static_google_cloud_channel_v1_PriceTier_fieldAccessorTable
+      return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_PriceTier_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.PriceTier.class,
-              com.google.cloud.channel.v1.PriceTier.Builder.class);
+              com.google.cloud.channel.v1.PriceTier.class, com.google.cloud.channel.v1.PriceTier.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.PriceTier.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -389,9 +358,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.channel.v1.OffersProto
-          .internal_static_google_cloud_channel_v1_PriceTier_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_PriceTier_descriptor;
     }
 
     @java.lang.Override
@@ -410,8 +379,7 @@ public com.google.cloud.channel.v1.PriceTier build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.PriceTier buildPartial() {
-      com.google.cloud.channel.v1.PriceTier result =
-          new com.google.cloud.channel.v1.PriceTier(this);
+      com.google.cloud.channel.v1.PriceTier result = new com.google.cloud.channel.v1.PriceTier(this);
       result.firstResource_ = firstResource_;
       result.lastResource_ = lastResource_;
       if (priceBuilder_ == null) {
@@ -427,39 +395,38 @@ public com.google.cloud.channel.v1.PriceTier 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.cloud.channel.v1.PriceTier) {
-        return mergeFrom((com.google.cloud.channel.v1.PriceTier) other);
+        return mergeFrom((com.google.cloud.channel.v1.PriceTier)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -503,31 +470,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                firstResource_ = input.readInt32();
-
-                break;
-              } // case 8
-            case 16:
-              {
-                lastResource_ = input.readInt32();
-
-                break;
-              } // case 16
-            case 26:
-              {
-                input.readMessage(getPriceFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              firstResource_ = input.readInt32();
+
+              break;
+            } // case 8
+            case 16: {
+              lastResource_ = input.readInt32();
+
+              break;
+            } // case 16
+            case 26: {
+              input.readMessage(
+                  getPriceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -538,16 +503,13 @@ public Builder mergeFrom(
       return this;
     }
 
-    private int firstResource_;
+    private int firstResource_ ;
     /**
-     *
-     *
      * 
      * First resource for which the tier price applies.
      * 
* * int32 first_resource = 1; - * * @return The firstResource. */ @java.lang.Override @@ -555,51 +517,42 @@ public int getFirstResource() { return firstResource_; } /** - * - * *
      * First resource for which the tier price applies.
      * 
* * int32 first_resource = 1; - * * @param value The firstResource to set. * @return This builder for chaining. */ public Builder setFirstResource(int value) { - + firstResource_ = value; onChanged(); return this; } /** - * - * *
      * First resource for which the tier price applies.
      * 
* * int32 first_resource = 1; - * * @return This builder for chaining. */ public Builder clearFirstResource() { - + firstResource_ = 0; onChanged(); return this; } - private int lastResource_; + private int lastResource_ ; /** - * - * *
      * Last resource for which the tier price applies.
      * 
* * int32 last_resource = 2; - * * @return The lastResource. */ @java.lang.Override @@ -607,36 +560,30 @@ public int getLastResource() { return lastResource_; } /** - * - * *
      * Last resource for which the tier price applies.
      * 
* * int32 last_resource = 2; - * * @param value The lastResource to set. * @return This builder for chaining. */ public Builder setLastResource(int value) { - + lastResource_ = value; onChanged(); return this; } /** - * - * *
      * Last resource for which the tier price applies.
      * 
* * int32 last_resource = 2; - * * @return This builder for chaining. */ public Builder clearLastResource() { - + lastResource_ = 0; onChanged(); return this; @@ -644,33 +591,24 @@ public Builder clearLastResource() { private com.google.cloud.channel.v1.Price price_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Price, - com.google.cloud.channel.v1.Price.Builder, - com.google.cloud.channel.v1.PriceOrBuilder> - priceBuilder_; + com.google.cloud.channel.v1.Price, com.google.cloud.channel.v1.Price.Builder, com.google.cloud.channel.v1.PriceOrBuilder> priceBuilder_; /** - * - * *
      * Price of the tier.
      * 
* * .google.cloud.channel.v1.Price price = 3; - * * @return Whether the price field is set. */ public boolean hasPrice() { return priceBuilder_ != null || price_ != null; } /** - * - * *
      * Price of the tier.
      * 
* * .google.cloud.channel.v1.Price price = 3; - * * @return The price. */ public com.google.cloud.channel.v1.Price getPrice() { @@ -681,8 +619,6 @@ public com.google.cloud.channel.v1.Price getPrice() { } } /** - * - * *
      * Price of the tier.
      * 
@@ -703,15 +639,14 @@ public Builder setPrice(com.google.cloud.channel.v1.Price value) { return this; } /** - * - * *
      * Price of the tier.
      * 
* * .google.cloud.channel.v1.Price price = 3; */ - public Builder setPrice(com.google.cloud.channel.v1.Price.Builder builderForValue) { + public Builder setPrice( + com.google.cloud.channel.v1.Price.Builder builderForValue) { if (priceBuilder_ == null) { price_ = builderForValue.build(); onChanged(); @@ -722,8 +657,6 @@ public Builder setPrice(com.google.cloud.channel.v1.Price.Builder builderForValu return this; } /** - * - * *
      * Price of the tier.
      * 
@@ -734,7 +667,7 @@ public Builder mergePrice(com.google.cloud.channel.v1.Price value) { if (priceBuilder_ == null) { if (price_ != null) { price_ = - com.google.cloud.channel.v1.Price.newBuilder(price_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.Price.newBuilder(price_).mergeFrom(value).buildPartial(); } else { price_ = value; } @@ -746,8 +679,6 @@ public Builder mergePrice(com.google.cloud.channel.v1.Price value) { return this; } /** - * - * *
      * Price of the tier.
      * 
@@ -766,8 +697,6 @@ public Builder clearPrice() { return this; } /** - * - * *
      * Price of the tier.
      * 
@@ -775,13 +704,11 @@ public Builder clearPrice() { * .google.cloud.channel.v1.Price price = 3; */ public com.google.cloud.channel.v1.Price.Builder getPriceBuilder() { - + onChanged(); return getPriceFieldBuilder().getBuilder(); } /** - * - * *
      * Price of the tier.
      * 
@@ -792,12 +719,11 @@ public com.google.cloud.channel.v1.PriceOrBuilder getPriceOrBuilder() { if (priceBuilder_ != null) { return priceBuilder_.getMessageOrBuilder(); } else { - return price_ == null ? com.google.cloud.channel.v1.Price.getDefaultInstance() : price_; + return price_ == null ? + com.google.cloud.channel.v1.Price.getDefaultInstance() : price_; } } /** - * - * *
      * Price of the tier.
      * 
@@ -805,24 +731,21 @@ public com.google.cloud.channel.v1.PriceOrBuilder getPriceOrBuilder() { * .google.cloud.channel.v1.Price price = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Price, - com.google.cloud.channel.v1.Price.Builder, - com.google.cloud.channel.v1.PriceOrBuilder> + com.google.cloud.channel.v1.Price, com.google.cloud.channel.v1.Price.Builder, com.google.cloud.channel.v1.PriceOrBuilder> getPriceFieldBuilder() { if (priceBuilder_ == null) { - priceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Price, - com.google.cloud.channel.v1.Price.Builder, - com.google.cloud.channel.v1.PriceOrBuilder>( - getPrice(), getParentForChildren(), isClean()); + priceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Price, com.google.cloud.channel.v1.Price.Builder, com.google.cloud.channel.v1.PriceOrBuilder>( + getPrice(), + getParentForChildren(), + isClean()); price_ = null; } return priceBuilder_; } - @java.lang.Override - 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,12 +755,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.PriceTier) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.PriceTier) private static final com.google.cloud.channel.v1.PriceTier DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.PriceTier(); } @@ -846,27 +769,27 @@ public static com.google.cloud.channel.v1.PriceTier getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PriceTier parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PriceTier parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -881,4 +804,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.PriceTier getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTierOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTierOrBuilder.java similarity index 63% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTierOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTierOrBuilder.java index 4539e7f97a63..d9c440782dc6 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTierOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTierOrBuilder.java @@ -1,81 +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/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; -public interface PriceTierOrBuilder - extends +public interface PriceTierOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.PriceTier) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * First resource for which the tier price applies.
    * 
* * int32 first_resource = 1; - * * @return The firstResource. */ int getFirstResource(); /** - * - * *
    * Last resource for which the tier price applies.
    * 
* * int32 last_resource = 2; - * * @return The lastResource. */ int getLastResource(); /** - * - * *
    * Price of the tier.
    * 
* * .google.cloud.channel.v1.Price price = 3; - * * @return Whether the price field is set. */ boolean hasPrice(); /** - * - * *
    * Price of the tier.
    * 
* * .google.cloud.channel.v1.Price price = 3; - * * @return The price. */ com.google.cloud.channel.v1.Price getPrice(); /** - * - * *
    * Price of the tier.
    * 
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Product.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Product.java similarity index 68% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Product.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Product.java index 76ad3628c9d9..d9317e182116 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Product.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Product.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/cloud/channel/v1/products.proto package com.google.cloud.channel.v1; /** - * - * *
  * A Product is the entity a customer uses when placing an order. For example,
  * Google Workspace, Google Voice, etc.
@@ -28,58 +11,53 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.Product}
  */
-public final class Product extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Product extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.Product)
     ProductOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Product.newBuilder() to construct.
   private Product(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Product() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Product();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.channel.v1.ProductsProto
-        .internal_static_google_cloud_channel_v1_Product_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_Product_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ProductsProto
-        .internal_static_google_cloud_channel_v1_Product_fieldAccessorTable
+    return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_Product_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.Product.class,
-            com.google.cloud.channel.v1.Product.Builder.class);
+            com.google.cloud.channel.v1.Product.class, com.google.cloud.channel.v1.Product.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Resource Name of the Product.
    * Format: products/{product_id}
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -88,30 +66,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Resource Name of the Product.
    * Format: products/{product_id}
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -122,14 +100,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int MARKETING_INFO_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.MarketingInfo marketingInfo_; /** - * - * *
    * Marketing information for the product.
    * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; - * * @return Whether the marketingInfo field is set. */ @java.lang.Override @@ -137,25 +112,18 @@ public boolean hasMarketingInfo() { return marketingInfo_ != null; } /** - * - * *
    * Marketing information for the product.
    * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; - * * @return The marketingInfo. */ @java.lang.Override public com.google.cloud.channel.v1.MarketingInfo getMarketingInfo() { - return marketingInfo_ == null - ? com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() - : marketingInfo_; + return marketingInfo_ == null ? com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() : marketingInfo_; } /** - * - * *
    * Marketing information for the product.
    * 
@@ -168,7 +136,6 @@ public com.google.cloud.channel.v1.MarketingInfoOrBuilder getMarketingInfoOrBuil } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,7 +147,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -200,7 +168,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (marketingInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMarketingInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getMarketingInfo()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -210,17 +179,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.Product)) { return super.equals(obj); } com.google.cloud.channel.v1.Product other = (com.google.cloud.channel.v1.Product) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasMarketingInfo() != other.hasMarketingInfo()) return false; if (hasMarketingInfo()) { - if (!getMarketingInfo().equals(other.getMarketingInfo())) return false; + if (!getMarketingInfo() + .equals(other.getMarketingInfo())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -244,103 +215,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.Product parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.Product parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Product parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.Product parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.channel.v1.Product parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Product parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Product parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Product parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Product 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.cloud.channel.v1.Product parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.Product parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.Product parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.Product parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.Product parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.Product prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 Product is the entity a customer uses when placing an order. For example,
    * Google Workspace, Google Voice, etc.
@@ -348,32 +313,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.channel.v1.Product}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.Product)
       com.google.cloud.channel.v1.ProductOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.channel.v1.ProductsProto
-          .internal_static_google_cloud_channel_v1_Product_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_Product_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ProductsProto
-          .internal_static_google_cloud_channel_v1_Product_fieldAccessorTable
+      return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_Product_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.Product.class,
-              com.google.cloud.channel.v1.Product.Builder.class);
+              com.google.cloud.channel.v1.Product.class, com.google.cloud.channel.v1.Product.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.Product.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -389,9 +355,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.channel.v1.ProductsProto
-          .internal_static_google_cloud_channel_v1_Product_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_Product_descriptor;
     }
 
     @java.lang.Override
@@ -425,39 +391,38 @@ public com.google.cloud.channel.v1.Product 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.cloud.channel.v1.Product) {
-        return mergeFrom((com.google.cloud.channel.v1.Product) other);
+        return mergeFrom((com.google.cloud.channel.v1.Product)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -499,25 +464,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getMarketingInfoFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getMarketingInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -530,21 +494,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Resource Name of the Product.
      * Format: products/{product_id}
      * 
* * 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; @@ -553,22 +515,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Resource Name of the Product.
      * Format: products/{product_id}
      * 
* * 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 { @@ -576,64 +537,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Resource Name of the Product.
      * Format: products/{product_id}
      * 
* * 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 of the Product.
      * Format: products/{product_id}
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Resource Name of the Product.
      * Format: products/{product_id}
      * 
* * 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; @@ -641,47 +595,34 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.channel.v1.MarketingInfo marketingInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.MarketingInfo, - com.google.cloud.channel.v1.MarketingInfo.Builder, - com.google.cloud.channel.v1.MarketingInfoOrBuilder> - marketingInfoBuilder_; + com.google.cloud.channel.v1.MarketingInfo, com.google.cloud.channel.v1.MarketingInfo.Builder, com.google.cloud.channel.v1.MarketingInfoOrBuilder> marketingInfoBuilder_; /** - * - * *
      * Marketing information for the product.
      * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; - * * @return Whether the marketingInfo field is set. */ public boolean hasMarketingInfo() { return marketingInfoBuilder_ != null || marketingInfo_ != null; } /** - * - * *
      * Marketing information for the product.
      * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; - * * @return The marketingInfo. */ public com.google.cloud.channel.v1.MarketingInfo getMarketingInfo() { if (marketingInfoBuilder_ == null) { - return marketingInfo_ == null - ? com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() - : marketingInfo_; + return marketingInfo_ == null ? com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() : marketingInfo_; } else { return marketingInfoBuilder_.getMessage(); } } /** - * - * *
      * Marketing information for the product.
      * 
@@ -702,8 +643,6 @@ public Builder setMarketingInfo(com.google.cloud.channel.v1.MarketingInfo value) return this; } /** - * - * *
      * Marketing information for the product.
      * 
@@ -722,8 +661,6 @@ public Builder setMarketingInfo( return this; } /** - * - * *
      * Marketing information for the product.
      * 
@@ -734,9 +671,7 @@ public Builder mergeMarketingInfo(com.google.cloud.channel.v1.MarketingInfo valu if (marketingInfoBuilder_ == null) { if (marketingInfo_ != null) { marketingInfo_ = - com.google.cloud.channel.v1.MarketingInfo.newBuilder(marketingInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.MarketingInfo.newBuilder(marketingInfo_).mergeFrom(value).buildPartial(); } else { marketingInfo_ = value; } @@ -748,8 +683,6 @@ public Builder mergeMarketingInfo(com.google.cloud.channel.v1.MarketingInfo valu return this; } /** - * - * *
      * Marketing information for the product.
      * 
@@ -768,8 +701,6 @@ public Builder clearMarketingInfo() { return this; } /** - * - * *
      * Marketing information for the product.
      * 
@@ -777,13 +708,11 @@ public Builder clearMarketingInfo() { * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; */ public com.google.cloud.channel.v1.MarketingInfo.Builder getMarketingInfoBuilder() { - + onChanged(); return getMarketingInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Marketing information for the product.
      * 
@@ -794,14 +723,11 @@ public com.google.cloud.channel.v1.MarketingInfoOrBuilder getMarketingInfoOrBuil if (marketingInfoBuilder_ != null) { return marketingInfoBuilder_.getMessageOrBuilder(); } else { - return marketingInfo_ == null - ? com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() - : marketingInfo_; + return marketingInfo_ == null ? + com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() : marketingInfo_; } } /** - * - * *
      * Marketing information for the product.
      * 
@@ -809,24 +735,21 @@ public com.google.cloud.channel.v1.MarketingInfoOrBuilder getMarketingInfoOrBuil * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.MarketingInfo, - com.google.cloud.channel.v1.MarketingInfo.Builder, - com.google.cloud.channel.v1.MarketingInfoOrBuilder> + com.google.cloud.channel.v1.MarketingInfo, com.google.cloud.channel.v1.MarketingInfo.Builder, com.google.cloud.channel.v1.MarketingInfoOrBuilder> getMarketingInfoFieldBuilder() { if (marketingInfoBuilder_ == null) { - marketingInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.MarketingInfo, - com.google.cloud.channel.v1.MarketingInfo.Builder, - com.google.cloud.channel.v1.MarketingInfoOrBuilder>( - getMarketingInfo(), getParentForChildren(), isClean()); + marketingInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.MarketingInfo, com.google.cloud.channel.v1.MarketingInfo.Builder, com.google.cloud.channel.v1.MarketingInfoOrBuilder>( + getMarketingInfo(), + getParentForChildren(), + isClean()); marketingInfo_ = null; } return marketingInfoBuilder_; } - @java.lang.Override - 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 +759,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.Product) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.Product) private static final com.google.cloud.channel.v1.Product DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.Product(); } @@ -850,27 +773,27 @@ public static com.google.cloud.channel.v1.Product getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Product parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Product parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -885,4 +808,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Product getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductName.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductName.java similarity index 100% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductName.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductName.java diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductOrBuilder.java similarity index 64% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductOrBuilder.java index 9d65e89c8e35..92bfc57ba10f 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductOrBuilder.java @@ -1,82 +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/cloud/channel/v1/products.proto package com.google.cloud.channel.v1; -public interface ProductOrBuilder - extends +public interface ProductOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Product) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Resource Name of the Product.
    * Format: products/{product_id}
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Resource Name of the Product.
    * Format: products/{product_id}
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Marketing information for the product.
    * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; - * * @return Whether the marketingInfo field is set. */ boolean hasMarketingInfo(); /** - * - * *
    * Marketing information for the product.
    * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; - * * @return The marketingInfo. */ com.google.cloud.channel.v1.MarketingInfo getMarketingInfo(); /** - * - * *
    * Marketing information for the product.
    * 
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductsProto.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductsProto.java new file mode 100644 index 000000000000..5bc6db7a9fcc --- /dev/null +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductsProto.java @@ -0,0 +1,106 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/products.proto + +package com.google.cloud.channel.v1; + +public final class ProductsProto { + private ProductsProto() {} + 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_cloud_channel_v1_Product_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_Product_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_Sku_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_Sku_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_MarketingInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_MarketingInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_Media_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_Media_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/cloud/channel/v1/products.proto" + + "\022\027google.cloud.channel.v1\032\031google/api/re" + + "source.proto\"\225\001\n\007Product\022\014\n\004name\030\001 \001(\t\022>" + + "\n\016marketing_info\030\002 \001(\0132&.google.cloud.ch" + + "annel.v1.MarketingInfo:<\352A9\n#cloudchanne" + + "l.googleapis.com/Product\022\022products/{prod" + + "uct}\"\313\001\n\003Sku\022\014\n\004name\030\001 \001(\t\022>\n\016marketing_" + + "info\030\002 \001(\0132&.google.cloud.channel.v1.Mar" + + "ketingInfo\0221\n\007product\030\003 \001(\0132 .google.clo" + + "ud.channel.v1.Product:C\352A@\n\037cloudchannel" + + ".googleapis.com/Sku\022\035products/{product}/" + + "skus/{sku}\"p\n\rMarketingInfo\022\024\n\014display_n" + + "ame\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\0224\n\014defaul" + + "t_logo\030\003 \001(\0132\036.google.cloud.channel.v1.M" + + "edia\"Y\n\005Media\022\r\n\005title\030\001 \001(\t\022\017\n\007content\030" + + "\002 \001(\t\0220\n\004type\030\003 \001(\0162\".google.cloud.chann" + + "el.v1.MediaType*=\n\tMediaType\022\032\n\026MEDIA_TY" + + "PE_UNSPECIFIED\020\000\022\024\n\020MEDIA_TYPE_IMAGE\020\001Bn" + + "\n\033com.google.cloud.channel.v1B\rProductsP" + + "rotoP\001Z>google.golang.org/genproto/googl" + + "eapis/cloud/channel/v1;channelb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + }); + internal_static_google_cloud_channel_v1_Product_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_channel_v1_Product_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_Product_descriptor, + new java.lang.String[] { "Name", "MarketingInfo", }); + internal_static_google_cloud_channel_v1_Sku_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_channel_v1_Sku_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_Sku_descriptor, + new java.lang.String[] { "Name", "MarketingInfo", "Product", }); + internal_static_google_cloud_channel_v1_MarketingInfo_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_channel_v1_MarketingInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_MarketingInfo_descriptor, + new java.lang.String[] { "DisplayName", "Description", "DefaultLogo", }); + internal_static_google_cloud_channel_v1_Media_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_channel_v1_Media_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_Media_descriptor, + new java.lang.String[] { "Title", "Content", "Type", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PromotionalOrderType.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PromotionalOrderType.java similarity index 70% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PromotionalOrderType.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PromotionalOrderType.java index fc6528cf7d3e..b9ef5d74bd73 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PromotionalOrderType.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PromotionalOrderType.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/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; /** - * - * *
  * Constraints type for Promotional offers.
  * 
* * Protobuf enum {@code google.cloud.channel.v1.PromotionalOrderType} */ -public enum PromotionalOrderType implements com.google.protobuf.ProtocolMessageEnum { +public enum PromotionalOrderType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Not used.
    * 
@@ -39,8 +21,6 @@ public enum PromotionalOrderType implements com.google.protobuf.ProtocolMessageE */ PROMOTIONAL_TYPE_UNSPECIFIED(0), /** - * - * *
    * Order used for new customers, trial conversions and upgrades.
    * 
@@ -49,8 +29,6 @@ public enum PromotionalOrderType implements com.google.protobuf.ProtocolMessageE */ NEW_UPGRADE(1), /** - * - * *
    * All orders for transferring an existing customer.
    * 
@@ -59,8 +37,6 @@ public enum PromotionalOrderType implements com.google.protobuf.ProtocolMessageE */ TRANSFER(2), /** - * - * *
    * Orders for modifying an existing customer's promotion on the same SKU.
    * 
@@ -72,8 +48,6 @@ public enum PromotionalOrderType implements com.google.protobuf.ProtocolMessageE ; /** - * - * *
    * Not used.
    * 
@@ -82,8 +56,6 @@ public enum PromotionalOrderType implements com.google.protobuf.ProtocolMessageE */ public static final int PROMOTIONAL_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Order used for new customers, trial conversions and upgrades.
    * 
@@ -92,8 +64,6 @@ public enum PromotionalOrderType implements com.google.protobuf.ProtocolMessageE */ public static final int NEW_UPGRADE_VALUE = 1; /** - * - * *
    * All orders for transferring an existing customer.
    * 
@@ -102,8 +72,6 @@ public enum PromotionalOrderType implements com.google.protobuf.ProtocolMessageE */ public static final int TRANSFER_VALUE = 2; /** - * - * *
    * Orders for modifying an existing customer's promotion on the same SKU.
    * 
@@ -112,6 +80,7 @@ public enum PromotionalOrderType implements com.google.protobuf.ProtocolMessageE */ public static final int PROMOTION_SWITCH_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -136,16 +105,11 @@ public static PromotionalOrderType valueOf(int value) { */ public static PromotionalOrderType forNumber(int value) { switch (value) { - case 0: - return PROMOTIONAL_TYPE_UNSPECIFIED; - case 1: - return NEW_UPGRADE; - case 2: - return TRANSFER; - case 3: - return PROMOTION_SWITCH; - default: - return null; + case 0: return PROMOTIONAL_TYPE_UNSPECIFIED; + case 1: return NEW_UPGRADE; + case 2: return TRANSFER; + case 3: return PROMOTION_SWITCH; + default: return null; } } @@ -153,28 +117,28 @@ public static PromotionalOrderType forNumber(int value) { internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PromotionalOrderType findValueByNumber(int number) { - return PromotionalOrderType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + PromotionalOrderType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PromotionalOrderType findValueByNumber(int number) { + return PromotionalOrderType.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.cloud.channel.v1.OffersProto.getDescriptor().getEnumTypes().get(0); } @@ -183,7 +147,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static PromotionalOrderType 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; @@ -199,3 +164,4 @@ private PromotionalOrderType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.channel.v1.PromotionalOrderType) } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequest.java similarity index 68% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequest.java index ebb8f18d654e..564348a14067 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequest.java @@ -1,86 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Request message for [CloudChannelService.ProvisionCloudIdentity][google.cloud.channel.v1.CloudChannelService.ProvisionCloudIdentity]
+ * Request message for
+ * [CloudChannelService.ProvisionCloudIdentity][google.cloud.channel.v1.CloudChannelService.ProvisionCloudIdentity]
  * 
* * Protobuf type {@code google.cloud.channel.v1.ProvisionCloudIdentityRequest} */ -public final class ProvisionCloudIdentityRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ProvisionCloudIdentityRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ProvisionCloudIdentityRequest) ProvisionCloudIdentityRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ProvisionCloudIdentityRequest.newBuilder() to construct. private ProvisionCloudIdentityRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ProvisionCloudIdentityRequest() { customer_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ProvisionCloudIdentityRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ProvisionCloudIdentityRequest.class, - com.google.cloud.channel.v1.ProvisionCloudIdentityRequest.Builder.class); + com.google.cloud.channel.v1.ProvisionCloudIdentityRequest.class, com.google.cloud.channel.v1.ProvisionCloudIdentityRequest.Builder.class); } public static final int CUSTOMER_FIELD_NUMBER = 1; private volatile java.lang.Object customer_; /** - * - * *
    * Required. Resource name of the customer.
    * Format: accounts/{account_id}/customers/{customer_id}
    * 
* - * - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The customer. */ @java.lang.Override @@ -89,32 +66,30 @@ public java.lang.String getCustomer() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customer_ = s; return s; } } /** - * - * *
    * Required. Resource name of the customer.
    * Format: accounts/{account_id}/customers/{customer_id}
    * 
* - * - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for customer. */ @java.lang.Override - public com.google.protobuf.ByteString getCustomerBytes() { + public com.google.protobuf.ByteString + getCustomerBytes() { java.lang.Object ref = customer_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); customer_ = b; return b; } else { @@ -125,14 +100,11 @@ public com.google.protobuf.ByteString getCustomerBytes() { public static final int CLOUD_IDENTITY_INFO_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.CloudIdentityInfo cloudIdentityInfo_; /** - * - * *
    * CloudIdentity-specific customer information.
    * 
* * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 2; - * * @return Whether the cloudIdentityInfo field is set. */ @java.lang.Override @@ -140,25 +112,18 @@ public boolean hasCloudIdentityInfo() { return cloudIdentityInfo_ != null; } /** - * - * *
    * CloudIdentity-specific customer information.
    * 
* * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 2; - * * @return The cloudIdentityInfo. */ @java.lang.Override public com.google.cloud.channel.v1.CloudIdentityInfo getCloudIdentityInfo() { - return cloudIdentityInfo_ == null - ? com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() - : cloudIdentityInfo_; + return cloudIdentityInfo_ == null ? com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() : cloudIdentityInfo_; } /** - * - * *
    * CloudIdentity-specific customer information.
    * 
@@ -173,14 +138,11 @@ public com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder getCloudIdentityIn public static final int USER_FIELD_NUMBER = 3; private com.google.cloud.channel.v1.AdminUser user_; /** - * - * *
    * Admin user information.
    * 
* * .google.cloud.channel.v1.AdminUser user = 3; - * * @return Whether the user field is set. */ @java.lang.Override @@ -188,14 +150,11 @@ public boolean hasUser() { return user_ != null; } /** - * - * *
    * Admin user information.
    * 
* * .google.cloud.channel.v1.AdminUser user = 3; - * * @return The user. */ @java.lang.Override @@ -203,8 +162,6 @@ public com.google.cloud.channel.v1.AdminUser getUser() { return user_ == null ? com.google.cloud.channel.v1.AdminUser.getDefaultInstance() : user_; } /** - * - * *
    * Admin user information.
    * 
@@ -219,14 +176,11 @@ public com.google.cloud.channel.v1.AdminUserOrBuilder getUserOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_; /** - * - * *
    * Validate the request and preview the review, but do not post it.
    * 
* * bool validate_only = 4; - * * @return The validateOnly. */ @java.lang.Override @@ -235,7 +189,6 @@ public boolean getValidateOnly() { } 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(customer_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, customer_); } @@ -273,13 +227,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, customer_); } if (cloudIdentityInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCloudIdentityInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCloudIdentityInfo()); } if (user_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUser()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUser()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -289,24 +246,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.cloud.channel.v1.ProvisionCloudIdentityRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ProvisionCloudIdentityRequest other = - (com.google.cloud.channel.v1.ProvisionCloudIdentityRequest) obj; + com.google.cloud.channel.v1.ProvisionCloudIdentityRequest other = (com.google.cloud.channel.v1.ProvisionCloudIdentityRequest) obj; - if (!getCustomer().equals(other.getCustomer())) return false; + if (!getCustomer() + .equals(other.getCustomer())) return false; if (hasCloudIdentityInfo() != other.hasCloudIdentityInfo()) return false; if (hasCloudIdentityInfo()) { - if (!getCloudIdentityInfo().equals(other.getCloudIdentityInfo())) return false; + if (!getCloudIdentityInfo() + .equals(other.getCloudIdentityInfo())) return false; } if (hasUser() != other.hasUser()) return false; if (hasUser()) { - if (!getUser().equals(other.getUser())) return false; + if (!getUser() + .equals(other.getUser())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -329,143 +289,138 @@ public int hashCode() { hash = (53 * hash) + getUser().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.channel.v1.ProvisionCloudIdentityRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ProvisionCloudIdentityRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ProvisionCloudIdentityRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ProvisionCloudIdentityRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ProvisionCloudIdentityRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ProvisionCloudIdentityRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ProvisionCloudIdentityRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ProvisionCloudIdentityRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ProvisionCloudIdentityRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ProvisionCloudIdentityRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ProvisionCloudIdentityRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ProvisionCloudIdentityRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ProvisionCloudIdentityRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ProvisionCloudIdentityRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.ProvisionCloudIdentityRequest prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.ProvisionCloudIdentityRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Request message for [CloudChannelService.ProvisionCloudIdentity][google.cloud.channel.v1.CloudChannelService.ProvisionCloudIdentity]
+   * Request message for
+   * [CloudChannelService.ProvisionCloudIdentity][google.cloud.channel.v1.CloudChannelService.ProvisionCloudIdentity]
    * 
* * Protobuf type {@code google.cloud.channel.v1.ProvisionCloudIdentityRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ProvisionCloudIdentityRequest) com.google.cloud.channel.v1.ProvisionCloudIdentityRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ProvisionCloudIdentityRequest.class, - com.google.cloud.channel.v1.ProvisionCloudIdentityRequest.Builder.class); + com.google.cloud.channel.v1.ProvisionCloudIdentityRequest.class, com.google.cloud.channel.v1.ProvisionCloudIdentityRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.ProvisionCloudIdentityRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -489,9 +444,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_descriptor; } @java.lang.Override @@ -510,8 +465,7 @@ public com.google.cloud.channel.v1.ProvisionCloudIdentityRequest build() { @java.lang.Override public com.google.cloud.channel.v1.ProvisionCloudIdentityRequest buildPartial() { - com.google.cloud.channel.v1.ProvisionCloudIdentityRequest result = - new com.google.cloud.channel.v1.ProvisionCloudIdentityRequest(this); + com.google.cloud.channel.v1.ProvisionCloudIdentityRequest result = new com.google.cloud.channel.v1.ProvisionCloudIdentityRequest(this); result.customer_ = customer_; if (cloudIdentityInfoBuilder_ == null) { result.cloudIdentityInfo_ = cloudIdentityInfo_; @@ -532,39 +486,38 @@ public com.google.cloud.channel.v1.ProvisionCloudIdentityRequest 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.cloud.channel.v1.ProvisionCloudIdentityRequest) { - return mergeFrom((com.google.cloud.channel.v1.ProvisionCloudIdentityRequest) other); + return mergeFrom((com.google.cloud.channel.v1.ProvisionCloudIdentityRequest)other); } else { super.mergeFrom(other); return this; @@ -572,8 +525,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ProvisionCloudIdentityRequest other) { - if (other == com.google.cloud.channel.v1.ProvisionCloudIdentityRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.ProvisionCloudIdentityRequest.getDefaultInstance()) return this; if (!other.getCustomer().isEmpty()) { customer_ = other.customer_; onChanged(); @@ -613,38 +565,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - customer_ = input.readStringRequireUtf8(); + case 10: { + customer_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - input.readMessage( - getCloudIdentityInfoFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getCloudIdentityInfoFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 26: - { - input.readMessage(getUserFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getUserFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -657,23 +607,19 @@ public Builder mergeFrom( private java.lang.Object customer_ = ""; /** - * - * *
      * Required. Resource name of the customer.
      * Format: accounts/{account_id}/customers/{customer_id}
      * 
* - * - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The customer. */ public java.lang.String getCustomer() { java.lang.Object ref = customer_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customer_ = s; return s; @@ -682,24 +628,21 @@ public java.lang.String getCustomer() { } } /** - * - * *
      * Required. Resource name of the customer.
      * Format: accounts/{account_id}/customers/{customer_id}
      * 
* - * - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for customer. */ - public com.google.protobuf.ByteString getCustomerBytes() { + public com.google.protobuf.ByteString + getCustomerBytes() { java.lang.Object ref = customer_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); customer_ = b; return b; } else { @@ -707,70 +650,57 @@ public com.google.protobuf.ByteString getCustomerBytes() { } } /** - * - * *
      * Required. Resource name of the customer.
      * Format: accounts/{account_id}/customers/{customer_id}
      * 
* - * - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The customer to set. * @return This builder for chaining. */ - public Builder setCustomer(java.lang.String value) { + public Builder setCustomer( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + customer_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the customer.
      * Format: accounts/{account_id}/customers/{customer_id}
      * 
* - * - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearCustomer() { - + customer_ = getDefaultInstance().getCustomer(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the customer.
      * Format: accounts/{account_id}/customers/{customer_id}
      * 
* - * - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for customer to set. * @return This builder for chaining. */ - public Builder setCustomerBytes(com.google.protobuf.ByteString value) { + public Builder setCustomerBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + customer_ = value; onChanged(); return this; @@ -778,47 +708,34 @@ public Builder setCustomerBytes(com.google.protobuf.ByteString value) { private com.google.cloud.channel.v1.CloudIdentityInfo cloudIdentityInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CloudIdentityInfo, - com.google.cloud.channel.v1.CloudIdentityInfo.Builder, - com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder> - cloudIdentityInfoBuilder_; + com.google.cloud.channel.v1.CloudIdentityInfo, com.google.cloud.channel.v1.CloudIdentityInfo.Builder, com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder> cloudIdentityInfoBuilder_; /** - * - * *
      * CloudIdentity-specific customer information.
      * 
* * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 2; - * * @return Whether the cloudIdentityInfo field is set. */ public boolean hasCloudIdentityInfo() { return cloudIdentityInfoBuilder_ != null || cloudIdentityInfo_ != null; } /** - * - * *
      * CloudIdentity-specific customer information.
      * 
* * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 2; - * * @return The cloudIdentityInfo. */ public com.google.cloud.channel.v1.CloudIdentityInfo getCloudIdentityInfo() { if (cloudIdentityInfoBuilder_ == null) { - return cloudIdentityInfo_ == null - ? com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() - : cloudIdentityInfo_; + return cloudIdentityInfo_ == null ? com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() : cloudIdentityInfo_; } else { return cloudIdentityInfoBuilder_.getMessage(); } } /** - * - * *
      * CloudIdentity-specific customer information.
      * 
@@ -839,8 +756,6 @@ public Builder setCloudIdentityInfo(com.google.cloud.channel.v1.CloudIdentityInf return this; } /** - * - * *
      * CloudIdentity-specific customer information.
      * 
@@ -859,8 +774,6 @@ public Builder setCloudIdentityInfo( return this; } /** - * - * *
      * CloudIdentity-specific customer information.
      * 
@@ -871,9 +784,7 @@ public Builder mergeCloudIdentityInfo(com.google.cloud.channel.v1.CloudIdentityI if (cloudIdentityInfoBuilder_ == null) { if (cloudIdentityInfo_ != null) { cloudIdentityInfo_ = - com.google.cloud.channel.v1.CloudIdentityInfo.newBuilder(cloudIdentityInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.CloudIdentityInfo.newBuilder(cloudIdentityInfo_).mergeFrom(value).buildPartial(); } else { cloudIdentityInfo_ = value; } @@ -885,8 +796,6 @@ public Builder mergeCloudIdentityInfo(com.google.cloud.channel.v1.CloudIdentityI return this; } /** - * - * *
      * CloudIdentity-specific customer information.
      * 
@@ -905,8 +814,6 @@ public Builder clearCloudIdentityInfo() { return this; } /** - * - * *
      * CloudIdentity-specific customer information.
      * 
@@ -914,13 +821,11 @@ public Builder clearCloudIdentityInfo() { * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 2; */ public com.google.cloud.channel.v1.CloudIdentityInfo.Builder getCloudIdentityInfoBuilder() { - + onChanged(); return getCloudIdentityInfoFieldBuilder().getBuilder(); } /** - * - * *
      * CloudIdentity-specific customer information.
      * 
@@ -931,14 +836,11 @@ public com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder getCloudIdentityIn if (cloudIdentityInfoBuilder_ != null) { return cloudIdentityInfoBuilder_.getMessageOrBuilder(); } else { - return cloudIdentityInfo_ == null - ? com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() - : cloudIdentityInfo_; + return cloudIdentityInfo_ == null ? + com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() : cloudIdentityInfo_; } } /** - * - * *
      * CloudIdentity-specific customer information.
      * 
@@ -946,17 +848,14 @@ public com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder getCloudIdentityIn * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CloudIdentityInfo, - com.google.cloud.channel.v1.CloudIdentityInfo.Builder, - com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder> + com.google.cloud.channel.v1.CloudIdentityInfo, com.google.cloud.channel.v1.CloudIdentityInfo.Builder, com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder> getCloudIdentityInfoFieldBuilder() { if (cloudIdentityInfoBuilder_ == null) { - cloudIdentityInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CloudIdentityInfo, - com.google.cloud.channel.v1.CloudIdentityInfo.Builder, - com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder>( - getCloudIdentityInfo(), getParentForChildren(), isClean()); + cloudIdentityInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.CloudIdentityInfo, com.google.cloud.channel.v1.CloudIdentityInfo.Builder, com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder>( + getCloudIdentityInfo(), + getParentForChildren(), + isClean()); cloudIdentityInfo_ = null; } return cloudIdentityInfoBuilder_; @@ -964,33 +863,24 @@ public com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder getCloudIdentityIn private com.google.cloud.channel.v1.AdminUser user_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.AdminUser, - com.google.cloud.channel.v1.AdminUser.Builder, - com.google.cloud.channel.v1.AdminUserOrBuilder> - userBuilder_; + com.google.cloud.channel.v1.AdminUser, com.google.cloud.channel.v1.AdminUser.Builder, com.google.cloud.channel.v1.AdminUserOrBuilder> userBuilder_; /** - * - * *
      * Admin user information.
      * 
* * .google.cloud.channel.v1.AdminUser user = 3; - * * @return Whether the user field is set. */ public boolean hasUser() { return userBuilder_ != null || user_ != null; } /** - * - * *
      * Admin user information.
      * 
* * .google.cloud.channel.v1.AdminUser user = 3; - * * @return The user. */ public com.google.cloud.channel.v1.AdminUser getUser() { @@ -1001,8 +891,6 @@ public com.google.cloud.channel.v1.AdminUser getUser() { } } /** - * - * *
      * Admin user information.
      * 
@@ -1023,15 +911,14 @@ public Builder setUser(com.google.cloud.channel.v1.AdminUser value) { return this; } /** - * - * *
      * Admin user information.
      * 
* * .google.cloud.channel.v1.AdminUser user = 3; */ - public Builder setUser(com.google.cloud.channel.v1.AdminUser.Builder builderForValue) { + public Builder setUser( + com.google.cloud.channel.v1.AdminUser.Builder builderForValue) { if (userBuilder_ == null) { user_ = builderForValue.build(); onChanged(); @@ -1042,8 +929,6 @@ public Builder setUser(com.google.cloud.channel.v1.AdminUser.Builder builderForV return this; } /** - * - * *
      * Admin user information.
      * 
@@ -1054,9 +939,7 @@ public Builder mergeUser(com.google.cloud.channel.v1.AdminUser value) { if (userBuilder_ == null) { if (user_ != null) { user_ = - com.google.cloud.channel.v1.AdminUser.newBuilder(user_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.AdminUser.newBuilder(user_).mergeFrom(value).buildPartial(); } else { user_ = value; } @@ -1068,8 +951,6 @@ public Builder mergeUser(com.google.cloud.channel.v1.AdminUser value) { return this; } /** - * - * *
      * Admin user information.
      * 
@@ -1088,8 +969,6 @@ public Builder clearUser() { return this; } /** - * - * *
      * Admin user information.
      * 
@@ -1097,13 +976,11 @@ public Builder clearUser() { * .google.cloud.channel.v1.AdminUser user = 3; */ public com.google.cloud.channel.v1.AdminUser.Builder getUserBuilder() { - + onChanged(); return getUserFieldBuilder().getBuilder(); } /** - * - * *
      * Admin user information.
      * 
@@ -1114,12 +991,11 @@ public com.google.cloud.channel.v1.AdminUserOrBuilder getUserOrBuilder() { if (userBuilder_ != null) { return userBuilder_.getMessageOrBuilder(); } else { - return user_ == null ? com.google.cloud.channel.v1.AdminUser.getDefaultInstance() : user_; + return user_ == null ? + com.google.cloud.channel.v1.AdminUser.getDefaultInstance() : user_; } } /** - * - * *
      * Admin user information.
      * 
@@ -1127,32 +1003,26 @@ public com.google.cloud.channel.v1.AdminUserOrBuilder getUserOrBuilder() { * .google.cloud.channel.v1.AdminUser user = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.AdminUser, - com.google.cloud.channel.v1.AdminUser.Builder, - com.google.cloud.channel.v1.AdminUserOrBuilder> + com.google.cloud.channel.v1.AdminUser, com.google.cloud.channel.v1.AdminUser.Builder, com.google.cloud.channel.v1.AdminUserOrBuilder> getUserFieldBuilder() { if (userBuilder_ == null) { - userBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.AdminUser, - com.google.cloud.channel.v1.AdminUser.Builder, - com.google.cloud.channel.v1.AdminUserOrBuilder>( - getUser(), getParentForChildren(), isClean()); + userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.AdminUser, com.google.cloud.channel.v1.AdminUser.Builder, com.google.cloud.channel.v1.AdminUserOrBuilder>( + getUser(), + getParentForChildren(), + isClean()); user_ = null; } return userBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Validate the request and preview the review, but do not post it.
      * 
* * bool validate_only = 4; - * * @return The validateOnly. */ @java.lang.Override @@ -1160,43 +1030,37 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Validate the request and preview the review, but do not post it.
      * 
* * bool validate_only = 4; - * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** - * - * *
      * Validate the request and preview the review, but do not post it.
      * 
* * bool validate_only = 4; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = 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); } @@ -1206,12 +1070,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ProvisionCloudIdentityRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ProvisionCloudIdentityRequest) private static final com.google.cloud.channel.v1.ProvisionCloudIdentityRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ProvisionCloudIdentityRequest(); } @@ -1220,27 +1084,27 @@ public static com.google.cloud.channel.v1.ProvisionCloudIdentityRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProvisionCloudIdentityRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProvisionCloudIdentityRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1255,4 +1119,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.channel.v1.ProvisionCloudIdentityRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequestOrBuilder.java similarity index 67% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequestOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequestOrBuilder.java index 86b242bb6557..52d13172802b 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequestOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequestOrBuilder.java @@ -1,86 +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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ProvisionCloudIdentityRequestOrBuilder - extends +public interface ProvisionCloudIdentityRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ProvisionCloudIdentityRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the customer.
    * Format: accounts/{account_id}/customers/{customer_id}
    * 
* - * - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The customer. */ java.lang.String getCustomer(); /** - * - * *
    * Required. Resource name of the customer.
    * Format: accounts/{account_id}/customers/{customer_id}
    * 
* - * - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for customer. */ - com.google.protobuf.ByteString getCustomerBytes(); + com.google.protobuf.ByteString + getCustomerBytes(); /** - * - * *
    * CloudIdentity-specific customer information.
    * 
* * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 2; - * * @return Whether the cloudIdentityInfo field is set. */ boolean hasCloudIdentityInfo(); /** - * - * *
    * CloudIdentity-specific customer information.
    * 
* * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 2; - * * @return The cloudIdentityInfo. */ com.google.cloud.channel.v1.CloudIdentityInfo getCloudIdentityInfo(); /** - * - * *
    * CloudIdentity-specific customer information.
    * 
@@ -90,32 +57,24 @@ public interface ProvisionCloudIdentityRequestOrBuilder com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder getCloudIdentityInfoOrBuilder(); /** - * - * *
    * Admin user information.
    * 
* * .google.cloud.channel.v1.AdminUser user = 3; - * * @return Whether the user field is set. */ boolean hasUser(); /** - * - * *
    * Admin user information.
    * 
* * .google.cloud.channel.v1.AdminUser user = 3; - * * @return The user. */ com.google.cloud.channel.v1.AdminUser getUser(); /** - * - * *
    * Admin user information.
    * 
@@ -125,14 +84,11 @@ public interface ProvisionCloudIdentityRequestOrBuilder com.google.cloud.channel.v1.AdminUserOrBuilder getUserOrBuilder(); /** - * - * *
    * Validate the request and preview the review, but do not post it.
    * 
* * bool validate_only = 4; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedService.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedService.java similarity index 67% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedService.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedService.java index e864eb4243e3..5e598cddd4ce 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedService.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedService.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/cloud/channel/v1/entitlements.proto package com.google.cloud.channel.v1; /** - * - * *
  * Service provisioned for an entitlement.
  * 
* * Protobuf type {@code google.cloud.channel.v1.ProvisionedService} */ -public final class ProvisionedService extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ProvisionedService extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ProvisionedService) ProvisionedServiceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ProvisionedService.newBuilder() to construct. private ProvisionedService(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ProvisionedService() { provisioningId_ = ""; productId_ = ""; @@ -45,43 +27,39 @@ private ProvisionedService() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ProvisionedService(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_ProvisionedService_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_ProvisionedService_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_ProvisionedService_fieldAccessorTable + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_ProvisionedService_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ProvisionedService.class, - com.google.cloud.channel.v1.ProvisionedService.Builder.class); + com.google.cloud.channel.v1.ProvisionedService.class, com.google.cloud.channel.v1.ProvisionedService.Builder.class); } public static final int PROVISIONING_ID_FIELD_NUMBER = 1; private volatile java.lang.Object provisioningId_; /** - * - * *
-   * Output only. Provisioning ID of the entitlement. For Google Workspace, this is the
-   * underlying Subscription ID. For Google Cloud Platform, this is the
+   * Output only. Provisioning ID of the entitlement. For Google Workspace, this
+   * is the underlying Subscription ID. For Google Cloud Platform, this is the
    * Billing Account ID of the billing subaccount."
    * 
* * string provisioning_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The provisioningId. */ @java.lang.Override @@ -90,31 +68,31 @@ public java.lang.String getProvisioningId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); provisioningId_ = s; return s; } } /** - * - * *
-   * Output only. Provisioning ID of the entitlement. For Google Workspace, this is the
-   * underlying Subscription ID. For Google Cloud Platform, this is the
+   * Output only. Provisioning ID of the entitlement. For Google Workspace, this
+   * is the underlying Subscription ID. For Google Cloud Platform, this is the
    * Billing Account ID of the billing subaccount."
    * 
* * string provisioning_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for provisioningId. */ @java.lang.Override - public com.google.protobuf.ByteString getProvisioningIdBytes() { + public com.google.protobuf.ByteString + getProvisioningIdBytes() { java.lang.Object ref = provisioningId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); provisioningId_ = b; return b; } else { @@ -125,15 +103,12 @@ public com.google.protobuf.ByteString getProvisioningIdBytes() { public static final int PRODUCT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object productId_; /** - * - * *
-   * Output only. The product pertaining to the provisioning resource as specified in the
-   * Offer.
+   * Output only. The product pertaining to the provisioning resource as
+   * specified in the Offer.
    * 
* * string product_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The productId. */ @java.lang.Override @@ -142,30 +117,30 @@ public java.lang.String getProductId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productId_ = s; return s; } } /** - * - * *
-   * Output only. The product pertaining to the provisioning resource as specified in the
-   * Offer.
+   * Output only. The product pertaining to the provisioning resource as
+   * specified in the Offer.
    * 
* * string product_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for productId. */ @java.lang.Override - public com.google.protobuf.ByteString getProductIdBytes() { + public com.google.protobuf.ByteString + getProductIdBytes() { java.lang.Object ref = productId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); productId_ = b; return b; } else { @@ -176,14 +151,12 @@ public com.google.protobuf.ByteString getProductIdBytes() { public static final int SKU_ID_FIELD_NUMBER = 3; private volatile java.lang.Object skuId_; /** - * - * *
-   * Output only. The SKU pertaining to the provisioning resource as specified in the Offer.
+   * Output only. The SKU pertaining to the provisioning resource as specified
+   * in the Offer.
    * 
* * string sku_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The skuId. */ @java.lang.Override @@ -192,29 +165,30 @@ public java.lang.String getSkuId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); skuId_ = s; return s; } } /** - * - * *
-   * Output only. The SKU pertaining to the provisioning resource as specified in the Offer.
+   * Output only. The SKU pertaining to the provisioning resource as specified
+   * in the Offer.
    * 
* * string sku_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for skuId. */ @java.lang.Override - public com.google.protobuf.ByteString getSkuIdBytes() { + public com.google.protobuf.ByteString + getSkuIdBytes() { java.lang.Object ref = skuId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); skuId_ = b; return b; } else { @@ -223,7 +197,6 @@ public com.google.protobuf.ByteString getSkuIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -235,7 +208,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(provisioningId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, provisioningId_); } @@ -271,17 +245,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.cloud.channel.v1.ProvisionedService)) { return super.equals(obj); } - com.google.cloud.channel.v1.ProvisionedService other = - (com.google.cloud.channel.v1.ProvisionedService) obj; + com.google.cloud.channel.v1.ProvisionedService other = (com.google.cloud.channel.v1.ProvisionedService) obj; - if (!getProvisioningId().equals(other.getProvisioningId())) return false; - if (!getProductId().equals(other.getProductId())) return false; - if (!getSkuId().equals(other.getSkuId())) return false; + if (!getProvisioningId() + .equals(other.getProvisioningId())) return false; + if (!getProductId() + .equals(other.getProductId())) return false; + if (!getSkuId() + .equals(other.getSkuId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -304,136 +280,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ProvisionedService parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.ProvisionedService parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ProvisionedService parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ProvisionedService parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ProvisionedService parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ProvisionedService parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ProvisionedService parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ProvisionedService 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.cloud.channel.v1.ProvisionedService parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ProvisionedService parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ProvisionedService parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ProvisionedService parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ProvisionedService parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ProvisionedService parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ProvisionedService prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Service provisioned for an entitlement.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ProvisionedService} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ProvisionedService) com.google.cloud.channel.v1.ProvisionedServiceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_ProvisionedService_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_ProvisionedService_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_ProvisionedService_fieldAccessorTable + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_ProvisionedService_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ProvisionedService.class, - com.google.cloud.channel.v1.ProvisionedService.Builder.class); + com.google.cloud.channel.v1.ProvisionedService.class, com.google.cloud.channel.v1.ProvisionedService.Builder.class); } // Construct using com.google.cloud.channel.v1.ProvisionedService.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -447,9 +417,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_ProvisionedService_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_ProvisionedService_descriptor; } @java.lang.Override @@ -468,8 +438,7 @@ public com.google.cloud.channel.v1.ProvisionedService build() { @java.lang.Override public com.google.cloud.channel.v1.ProvisionedService buildPartial() { - com.google.cloud.channel.v1.ProvisionedService result = - new com.google.cloud.channel.v1.ProvisionedService(this); + com.google.cloud.channel.v1.ProvisionedService result = new com.google.cloud.channel.v1.ProvisionedService(this); result.provisioningId_ = provisioningId_; result.productId_ = productId_; result.skuId_ = skuId_; @@ -481,39 +450,38 @@ public com.google.cloud.channel.v1.ProvisionedService 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.cloud.channel.v1.ProvisionedService) { - return mergeFrom((com.google.cloud.channel.v1.ProvisionedService) other); + return mergeFrom((com.google.cloud.channel.v1.ProvisionedService)other); } else { super.mergeFrom(other); return this; @@ -560,31 +528,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - provisioningId_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - productId_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - skuId_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + provisioningId_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + productId_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + skuId_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -597,22 +561,20 @@ public Builder mergeFrom( private java.lang.Object provisioningId_ = ""; /** - * - * *
-     * Output only. Provisioning ID of the entitlement. For Google Workspace, this is the
-     * underlying Subscription ID. For Google Cloud Platform, this is the
+     * Output only. Provisioning ID of the entitlement. For Google Workspace, this
+     * is the underlying Subscription ID. For Google Cloud Platform, this is the
      * Billing Account ID of the billing subaccount."
      * 
* * string provisioning_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The provisioningId. */ public java.lang.String getProvisioningId() { java.lang.Object ref = provisioningId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); provisioningId_ = s; return s; @@ -621,23 +583,22 @@ public java.lang.String getProvisioningId() { } } /** - * - * *
-     * Output only. Provisioning ID of the entitlement. For Google Workspace, this is the
-     * underlying Subscription ID. For Google Cloud Platform, this is the
+     * Output only. Provisioning ID of the entitlement. For Google Workspace, this
+     * is the underlying Subscription ID. For Google Cloud Platform, this is the
      * Billing Account ID of the billing subaccount."
      * 
* * string provisioning_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for provisioningId. */ - public com.google.protobuf.ByteString getProvisioningIdBytes() { + public com.google.protobuf.ByteString + getProvisioningIdBytes() { java.lang.Object ref = provisioningId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); provisioningId_ = b; return b; } else { @@ -645,67 +606,60 @@ public com.google.protobuf.ByteString getProvisioningIdBytes() { } } /** - * - * *
-     * Output only. Provisioning ID of the entitlement. For Google Workspace, this is the
-     * underlying Subscription ID. For Google Cloud Platform, this is the
+     * Output only. Provisioning ID of the entitlement. For Google Workspace, this
+     * is the underlying Subscription ID. For Google Cloud Platform, this is the
      * Billing Account ID of the billing subaccount."
      * 
* * string provisioning_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The provisioningId to set. * @return This builder for chaining. */ - public Builder setProvisioningId(java.lang.String value) { + public Builder setProvisioningId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + provisioningId_ = value; onChanged(); return this; } /** - * - * *
-     * Output only. Provisioning ID of the entitlement. For Google Workspace, this is the
-     * underlying Subscription ID. For Google Cloud Platform, this is the
+     * Output only. Provisioning ID of the entitlement. For Google Workspace, this
+     * is the underlying Subscription ID. For Google Cloud Platform, this is the
      * Billing Account ID of the billing subaccount."
      * 
* * string provisioning_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearProvisioningId() { - + provisioningId_ = getDefaultInstance().getProvisioningId(); onChanged(); return this; } /** - * - * *
-     * Output only. Provisioning ID of the entitlement. For Google Workspace, this is the
-     * underlying Subscription ID. For Google Cloud Platform, this is the
+     * Output only. Provisioning ID of the entitlement. For Google Workspace, this
+     * is the underlying Subscription ID. For Google Cloud Platform, this is the
      * Billing Account ID of the billing subaccount."
      * 
* * string provisioning_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for provisioningId to set. * @return This builder for chaining. */ - public Builder setProvisioningIdBytes(com.google.protobuf.ByteString value) { + public Builder setProvisioningIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + provisioningId_ = value; onChanged(); return this; @@ -713,21 +667,19 @@ public Builder setProvisioningIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object productId_ = ""; /** - * - * *
-     * Output only. The product pertaining to the provisioning resource as specified in the
-     * Offer.
+     * Output only. The product pertaining to the provisioning resource as
+     * specified in the Offer.
      * 
* * string product_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The productId. */ public java.lang.String getProductId() { java.lang.Object ref = productId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productId_ = s; return s; @@ -736,22 +688,21 @@ public java.lang.String getProductId() { } } /** - * - * *
-     * Output only. The product pertaining to the provisioning resource as specified in the
-     * Offer.
+     * Output only. The product pertaining to the provisioning resource as
+     * specified in the Offer.
      * 
* * string product_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for productId. */ - public com.google.protobuf.ByteString getProductIdBytes() { + public com.google.protobuf.ByteString + getProductIdBytes() { java.lang.Object ref = productId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); productId_ = b; return b; } else { @@ -759,64 +710,57 @@ public com.google.protobuf.ByteString getProductIdBytes() { } } /** - * - * *
-     * Output only. The product pertaining to the provisioning resource as specified in the
-     * Offer.
+     * Output only. The product pertaining to the provisioning resource as
+     * specified in the Offer.
      * 
* * string product_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The productId to set. * @return This builder for chaining. */ - public Builder setProductId(java.lang.String value) { + public Builder setProductId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + productId_ = value; onChanged(); return this; } /** - * - * *
-     * Output only. The product pertaining to the provisioning resource as specified in the
-     * Offer.
+     * Output only. The product pertaining to the provisioning resource as
+     * specified in the Offer.
      * 
* * string product_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearProductId() { - + productId_ = getDefaultInstance().getProductId(); onChanged(); return this; } /** - * - * *
-     * Output only. The product pertaining to the provisioning resource as specified in the
-     * Offer.
+     * Output only. The product pertaining to the provisioning resource as
+     * specified in the Offer.
      * 
* * string product_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for productId to set. * @return This builder for chaining. */ - public Builder setProductIdBytes(com.google.protobuf.ByteString value) { + public Builder setProductIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + productId_ = value; onChanged(); return this; @@ -824,20 +768,19 @@ public Builder setProductIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object skuId_ = ""; /** - * - * *
-     * Output only. The SKU pertaining to the provisioning resource as specified in the Offer.
+     * Output only. The SKU pertaining to the provisioning resource as specified
+     * in the Offer.
      * 
* * string sku_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The skuId. */ public java.lang.String getSkuId() { java.lang.Object ref = skuId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); skuId_ = s; return s; @@ -846,21 +789,21 @@ public java.lang.String getSkuId() { } } /** - * - * *
-     * Output only. The SKU pertaining to the provisioning resource as specified in the Offer.
+     * Output only. The SKU pertaining to the provisioning resource as specified
+     * in the Offer.
      * 
* * string sku_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for skuId. */ - public com.google.protobuf.ByteString getSkuIdBytes() { + public com.google.protobuf.ByteString + getSkuIdBytes() { java.lang.Object ref = skuId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); skuId_ = b; return b; } else { @@ -868,68 +811,64 @@ public com.google.protobuf.ByteString getSkuIdBytes() { } } /** - * - * *
-     * Output only. The SKU pertaining to the provisioning resource as specified in the Offer.
+     * Output only. The SKU pertaining to the provisioning resource as specified
+     * in the Offer.
      * 
* * string sku_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The skuId to set. * @return This builder for chaining. */ - public Builder setSkuId(java.lang.String value) { + public Builder setSkuId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + skuId_ = value; onChanged(); return this; } /** - * - * *
-     * Output only. The SKU pertaining to the provisioning resource as specified in the Offer.
+     * Output only. The SKU pertaining to the provisioning resource as specified
+     * in the Offer.
      * 
* * string sku_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSkuId() { - + skuId_ = getDefaultInstance().getSkuId(); onChanged(); return this; } /** - * - * *
-     * Output only. The SKU pertaining to the provisioning resource as specified in the Offer.
+     * Output only. The SKU pertaining to the provisioning resource as specified
+     * in the Offer.
      * 
* * string sku_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for skuId to set. * @return This builder for chaining. */ - public Builder setSkuIdBytes(com.google.protobuf.ByteString value) { + public Builder setSkuIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + skuId_ = 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); } @@ -939,12 +878,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ProvisionedService) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ProvisionedService) private static final com.google.cloud.channel.v1.ProvisionedService DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ProvisionedService(); } @@ -953,27 +892,27 @@ public static com.google.cloud.channel.v1.ProvisionedService getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProvisionedService parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProvisionedService parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -988,4 +927,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ProvisionedService getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedServiceOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedServiceOrBuilder.java similarity index 60% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedServiceOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedServiceOrBuilder.java index 7c613a2c5457..e9bcc63a8e42 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedServiceOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedServiceOrBuilder.java @@ -1,106 +1,77 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/entitlements.proto package com.google.cloud.channel.v1; -public interface ProvisionedServiceOrBuilder - extends +public interface ProvisionedServiceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ProvisionedService) com.google.protobuf.MessageOrBuilder { /** - * - * *
-   * Output only. Provisioning ID of the entitlement. For Google Workspace, this is the
-   * underlying Subscription ID. For Google Cloud Platform, this is the
+   * Output only. Provisioning ID of the entitlement. For Google Workspace, this
+   * is the underlying Subscription ID. For Google Cloud Platform, this is the
    * Billing Account ID of the billing subaccount."
    * 
* * string provisioning_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The provisioningId. */ java.lang.String getProvisioningId(); /** - * - * *
-   * Output only. Provisioning ID of the entitlement. For Google Workspace, this is the
-   * underlying Subscription ID. For Google Cloud Platform, this is the
+   * Output only. Provisioning ID of the entitlement. For Google Workspace, this
+   * is the underlying Subscription ID. For Google Cloud Platform, this is the
    * Billing Account ID of the billing subaccount."
    * 
* * string provisioning_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for provisioningId. */ - com.google.protobuf.ByteString getProvisioningIdBytes(); + com.google.protobuf.ByteString + getProvisioningIdBytes(); /** - * - * *
-   * Output only. The product pertaining to the provisioning resource as specified in the
-   * Offer.
+   * Output only. The product pertaining to the provisioning resource as
+   * specified in the Offer.
    * 
* * string product_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The productId. */ java.lang.String getProductId(); /** - * - * *
-   * Output only. The product pertaining to the provisioning resource as specified in the
-   * Offer.
+   * Output only. The product pertaining to the provisioning resource as
+   * specified in the Offer.
    * 
* * string product_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for productId. */ - com.google.protobuf.ByteString getProductIdBytes(); + com.google.protobuf.ByteString + getProductIdBytes(); /** - * - * *
-   * Output only. The SKU pertaining to the provisioning resource as specified in the Offer.
+   * Output only. The SKU pertaining to the provisioning resource as specified
+   * in the Offer.
    * 
* * string sku_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The skuId. */ java.lang.String getSkuId(); /** - * - * *
-   * Output only. The SKU pertaining to the provisioning resource as specified in the Offer.
+   * Output only. The SKU pertaining to the provisioning resource as specified
+   * in the Offer.
    * 
* * string sku_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for skuId. */ - com.google.protobuf.ByteString getSkuIdBytes(); + com.google.protobuf.ByteString + getSkuIdBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOffer.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOffer.java similarity index 66% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOffer.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOffer.java index 03ed61952804..c7efda91ae31 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOffer.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOffer.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
  * Offer that you can purchase for a customer. This is used in the
  * ListPurchasableOffer API response.
@@ -28,55 +11,51 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.PurchasableOffer}
  */
-public final class PurchasableOffer extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class PurchasableOffer extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.PurchasableOffer)
     PurchasableOfferOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use PurchasableOffer.newBuilder() to construct.
   private PurchasableOffer(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private PurchasableOffer() {}
+  private PurchasableOffer() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new PurchasableOffer();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto
-        .internal_static_google_cloud_channel_v1_PurchasableOffer_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_PurchasableOffer_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto
-        .internal_static_google_cloud_channel_v1_PurchasableOffer_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_PurchasableOffer_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.PurchasableOffer.class,
-            com.google.cloud.channel.v1.PurchasableOffer.Builder.class);
+            com.google.cloud.channel.v1.PurchasableOffer.class, com.google.cloud.channel.v1.PurchasableOffer.Builder.class);
   }
 
   public static final int OFFER_FIELD_NUMBER = 1;
   private com.google.cloud.channel.v1.Offer offer_;
   /**
-   *
-   *
    * 
    * Offer.
    * 
* * .google.cloud.channel.v1.Offer offer = 1; - * * @return Whether the offer field is set. */ @java.lang.Override @@ -84,14 +63,11 @@ public boolean hasOffer() { return offer_ != null; } /** - * - * *
    * Offer.
    * 
* * .google.cloud.channel.v1.Offer offer = 1; - * * @return The offer. */ @java.lang.Override @@ -99,8 +75,6 @@ public com.google.cloud.channel.v1.Offer getOffer() { return offer_ == null ? com.google.cloud.channel.v1.Offer.getDefaultInstance() : offer_; } /** - * - * *
    * Offer.
    * 
@@ -113,7 +87,6 @@ public com.google.cloud.channel.v1.OfferOrBuilder getOfferOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -125,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (offer_ != null) { output.writeMessage(1, getOffer()); } @@ -139,7 +113,8 @@ public int getSerializedSize() { size = 0; if (offer_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOffer()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getOffer()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -149,17 +124,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.PurchasableOffer)) { return super.equals(obj); } - com.google.cloud.channel.v1.PurchasableOffer other = - (com.google.cloud.channel.v1.PurchasableOffer) obj; + com.google.cloud.channel.v1.PurchasableOffer other = (com.google.cloud.channel.v1.PurchasableOffer) obj; if (hasOffer() != other.hasOffer()) return false; if (hasOffer()) { - if (!getOffer().equals(other.getOffer())) return false; + if (!getOffer() + .equals(other.getOffer())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -181,104 +156,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.PurchasableOffer parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.PurchasableOffer parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.PurchasableOffer parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.PurchasableOffer parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.PurchasableOffer parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.PurchasableOffer parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.PurchasableOffer parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.PurchasableOffer 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.cloud.channel.v1.PurchasableOffer parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.PurchasableOffer parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.PurchasableOffer parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.PurchasableOffer parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.PurchasableOffer parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.PurchasableOffer parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.PurchasableOffer prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Offer that you can purchase for a customer. This is used in the
    * ListPurchasableOffer API response.
@@ -286,32 +254,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.channel.v1.PurchasableOffer}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.PurchasableOffer)
       com.google.cloud.channel.v1.PurchasableOfferOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto
-          .internal_static_google_cloud_channel_v1_PurchasableOffer_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_PurchasableOffer_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto
-          .internal_static_google_cloud_channel_v1_PurchasableOffer_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_PurchasableOffer_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.PurchasableOffer.class,
-              com.google.cloud.channel.v1.PurchasableOffer.Builder.class);
+              com.google.cloud.channel.v1.PurchasableOffer.class, com.google.cloud.channel.v1.PurchasableOffer.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.PurchasableOffer.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -325,9 +294,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto
-          .internal_static_google_cloud_channel_v1_PurchasableOffer_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_PurchasableOffer_descriptor;
     }
 
     @java.lang.Override
@@ -346,8 +315,7 @@ public com.google.cloud.channel.v1.PurchasableOffer build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.PurchasableOffer buildPartial() {
-      com.google.cloud.channel.v1.PurchasableOffer result =
-          new com.google.cloud.channel.v1.PurchasableOffer(this);
+      com.google.cloud.channel.v1.PurchasableOffer result = new com.google.cloud.channel.v1.PurchasableOffer(this);
       if (offerBuilder_ == null) {
         result.offer_ = offer_;
       } else {
@@ -361,39 +329,38 @@ public com.google.cloud.channel.v1.PurchasableOffer 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.cloud.channel.v1.PurchasableOffer) {
-        return mergeFrom((com.google.cloud.channel.v1.PurchasableOffer) other);
+        return mergeFrom((com.google.cloud.channel.v1.PurchasableOffer)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -431,19 +398,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getOfferFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getOfferFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -456,33 +423,24 @@ public Builder mergeFrom(
 
     private com.google.cloud.channel.v1.Offer offer_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.channel.v1.Offer,
-            com.google.cloud.channel.v1.Offer.Builder,
-            com.google.cloud.channel.v1.OfferOrBuilder>
-        offerBuilder_;
+        com.google.cloud.channel.v1.Offer, com.google.cloud.channel.v1.Offer.Builder, com.google.cloud.channel.v1.OfferOrBuilder> offerBuilder_;
     /**
-     *
-     *
      * 
      * Offer.
      * 
* * .google.cloud.channel.v1.Offer offer = 1; - * * @return Whether the offer field is set. */ public boolean hasOffer() { return offerBuilder_ != null || offer_ != null; } /** - * - * *
      * Offer.
      * 
* * .google.cloud.channel.v1.Offer offer = 1; - * * @return The offer. */ public com.google.cloud.channel.v1.Offer getOffer() { @@ -493,8 +451,6 @@ public com.google.cloud.channel.v1.Offer getOffer() { } } /** - * - * *
      * Offer.
      * 
@@ -515,15 +471,14 @@ public Builder setOffer(com.google.cloud.channel.v1.Offer value) { return this; } /** - * - * *
      * Offer.
      * 
* * .google.cloud.channel.v1.Offer offer = 1; */ - public Builder setOffer(com.google.cloud.channel.v1.Offer.Builder builderForValue) { + public Builder setOffer( + com.google.cloud.channel.v1.Offer.Builder builderForValue) { if (offerBuilder_ == null) { offer_ = builderForValue.build(); onChanged(); @@ -534,8 +489,6 @@ public Builder setOffer(com.google.cloud.channel.v1.Offer.Builder builderForValu return this; } /** - * - * *
      * Offer.
      * 
@@ -546,7 +499,7 @@ public Builder mergeOffer(com.google.cloud.channel.v1.Offer value) { if (offerBuilder_ == null) { if (offer_ != null) { offer_ = - com.google.cloud.channel.v1.Offer.newBuilder(offer_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.Offer.newBuilder(offer_).mergeFrom(value).buildPartial(); } else { offer_ = value; } @@ -558,8 +511,6 @@ public Builder mergeOffer(com.google.cloud.channel.v1.Offer value) { return this; } /** - * - * *
      * Offer.
      * 
@@ -578,8 +529,6 @@ public Builder clearOffer() { return this; } /** - * - * *
      * Offer.
      * 
@@ -587,13 +536,11 @@ public Builder clearOffer() { * .google.cloud.channel.v1.Offer offer = 1; */ public com.google.cloud.channel.v1.Offer.Builder getOfferBuilder() { - + onChanged(); return getOfferFieldBuilder().getBuilder(); } /** - * - * *
      * Offer.
      * 
@@ -604,12 +551,11 @@ public com.google.cloud.channel.v1.OfferOrBuilder getOfferOrBuilder() { if (offerBuilder_ != null) { return offerBuilder_.getMessageOrBuilder(); } else { - return offer_ == null ? com.google.cloud.channel.v1.Offer.getDefaultInstance() : offer_; + return offer_ == null ? + com.google.cloud.channel.v1.Offer.getDefaultInstance() : offer_; } } /** - * - * *
      * Offer.
      * 
@@ -617,24 +563,21 @@ public com.google.cloud.channel.v1.OfferOrBuilder getOfferOrBuilder() { * .google.cloud.channel.v1.Offer offer = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Offer, - com.google.cloud.channel.v1.Offer.Builder, - com.google.cloud.channel.v1.OfferOrBuilder> + com.google.cloud.channel.v1.Offer, com.google.cloud.channel.v1.Offer.Builder, com.google.cloud.channel.v1.OfferOrBuilder> getOfferFieldBuilder() { if (offerBuilder_ == null) { - offerBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Offer, - com.google.cloud.channel.v1.Offer.Builder, - com.google.cloud.channel.v1.OfferOrBuilder>( - getOffer(), getParentForChildren(), isClean()); + offerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Offer, com.google.cloud.channel.v1.Offer.Builder, com.google.cloud.channel.v1.OfferOrBuilder>( + getOffer(), + getParentForChildren(), + isClean()); offer_ = null; } return offerBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -644,12 +587,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.PurchasableOffer) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.PurchasableOffer) private static final com.google.cloud.channel.v1.PurchasableOffer DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.PurchasableOffer(); } @@ -658,27 +601,27 @@ public static com.google.cloud.channel.v1.PurchasableOffer getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PurchasableOffer parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PurchasableOffer parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -693,4 +636,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.PurchasableOffer getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOfferOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOfferOrBuilder.java similarity index 54% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOfferOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOfferOrBuilder.java index 975a709fa112..45333d896892 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOfferOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOfferOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface PurchasableOfferOrBuilder - extends +public interface PurchasableOfferOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.PurchasableOffer) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Offer.
    * 
* * .google.cloud.channel.v1.Offer offer = 1; - * * @return Whether the offer field is set. */ boolean hasOffer(); /** - * - * *
    * Offer.
    * 
* * .google.cloud.channel.v1.Offer offer = 1; - * * @return The offer. */ com.google.cloud.channel.v1.Offer getOffer(); /** - * - * *
    * Offer.
    * 
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSku.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSku.java similarity index 65% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSku.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSku.java index af49d2954dd1..d7b1f2b0ba64 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSku.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSku.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
  * SKU that you can purchase. This is used in ListPurchasableSku API
  * response.
@@ -28,55 +11,51 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.PurchasableSku}
  */
-public final class PurchasableSku extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class PurchasableSku extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.PurchasableSku)
     PurchasableSkuOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use PurchasableSku.newBuilder() to construct.
   private PurchasableSku(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private PurchasableSku() {}
+  private PurchasableSku() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new PurchasableSku();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto
-        .internal_static_google_cloud_channel_v1_PurchasableSku_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_PurchasableSku_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto
-        .internal_static_google_cloud_channel_v1_PurchasableSku_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_PurchasableSku_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.PurchasableSku.class,
-            com.google.cloud.channel.v1.PurchasableSku.Builder.class);
+            com.google.cloud.channel.v1.PurchasableSku.class, com.google.cloud.channel.v1.PurchasableSku.Builder.class);
   }
 
   public static final int SKU_FIELD_NUMBER = 1;
   private com.google.cloud.channel.v1.Sku sku_;
   /**
-   *
-   *
    * 
    * SKU
    * 
* * .google.cloud.channel.v1.Sku sku = 1; - * * @return Whether the sku field is set. */ @java.lang.Override @@ -84,14 +63,11 @@ public boolean hasSku() { return sku_ != null; } /** - * - * *
    * SKU
    * 
* * .google.cloud.channel.v1.Sku sku = 1; - * * @return The sku. */ @java.lang.Override @@ -99,8 +75,6 @@ public com.google.cloud.channel.v1.Sku getSku() { return sku_ == null ? com.google.cloud.channel.v1.Sku.getDefaultInstance() : sku_; } /** - * - * *
    * SKU
    * 
@@ -113,7 +87,6 @@ public com.google.cloud.channel.v1.SkuOrBuilder getSkuOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -125,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (sku_ != null) { output.writeMessage(1, getSku()); } @@ -139,7 +113,8 @@ public int getSerializedSize() { size = 0; if (sku_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSku()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getSku()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -149,17 +124,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.PurchasableSku)) { return super.equals(obj); } - com.google.cloud.channel.v1.PurchasableSku other = - (com.google.cloud.channel.v1.PurchasableSku) obj; + com.google.cloud.channel.v1.PurchasableSku other = (com.google.cloud.channel.v1.PurchasableSku) obj; if (hasSku() != other.hasSku()) return false; if (hasSku()) { - if (!getSku().equals(other.getSku())) return false; + if (!getSku() + .equals(other.getSku())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -181,104 +156,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.PurchasableSku parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.PurchasableSku parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.PurchasableSku parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.PurchasableSku parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.PurchasableSku parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.PurchasableSku parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.PurchasableSku parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.PurchasableSku 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.cloud.channel.v1.PurchasableSku parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.PurchasableSku parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.PurchasableSku parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.PurchasableSku parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.PurchasableSku parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.PurchasableSku parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.PurchasableSku prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SKU that you can purchase. This is used in ListPurchasableSku API
    * response.
@@ -286,32 +254,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.channel.v1.PurchasableSku}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.PurchasableSku)
       com.google.cloud.channel.v1.PurchasableSkuOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto
-          .internal_static_google_cloud_channel_v1_PurchasableSku_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_PurchasableSku_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto
-          .internal_static_google_cloud_channel_v1_PurchasableSku_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_PurchasableSku_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.PurchasableSku.class,
-              com.google.cloud.channel.v1.PurchasableSku.Builder.class);
+              com.google.cloud.channel.v1.PurchasableSku.class, com.google.cloud.channel.v1.PurchasableSku.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.PurchasableSku.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -325,9 +294,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto
-          .internal_static_google_cloud_channel_v1_PurchasableSku_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_PurchasableSku_descriptor;
     }
 
     @java.lang.Override
@@ -346,8 +315,7 @@ public com.google.cloud.channel.v1.PurchasableSku build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.PurchasableSku buildPartial() {
-      com.google.cloud.channel.v1.PurchasableSku result =
-          new com.google.cloud.channel.v1.PurchasableSku(this);
+      com.google.cloud.channel.v1.PurchasableSku result = new com.google.cloud.channel.v1.PurchasableSku(this);
       if (skuBuilder_ == null) {
         result.sku_ = sku_;
       } else {
@@ -361,39 +329,38 @@ public com.google.cloud.channel.v1.PurchasableSku 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.cloud.channel.v1.PurchasableSku) {
-        return mergeFrom((com.google.cloud.channel.v1.PurchasableSku) other);
+        return mergeFrom((com.google.cloud.channel.v1.PurchasableSku)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -431,19 +398,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getSkuFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getSkuFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -456,33 +423,24 @@ public Builder mergeFrom(
 
     private com.google.cloud.channel.v1.Sku sku_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.channel.v1.Sku,
-            com.google.cloud.channel.v1.Sku.Builder,
-            com.google.cloud.channel.v1.SkuOrBuilder>
-        skuBuilder_;
+        com.google.cloud.channel.v1.Sku, com.google.cloud.channel.v1.Sku.Builder, com.google.cloud.channel.v1.SkuOrBuilder> skuBuilder_;
     /**
-     *
-     *
      * 
      * SKU
      * 
* * .google.cloud.channel.v1.Sku sku = 1; - * * @return Whether the sku field is set. */ public boolean hasSku() { return skuBuilder_ != null || sku_ != null; } /** - * - * *
      * SKU
      * 
* * .google.cloud.channel.v1.Sku sku = 1; - * * @return The sku. */ public com.google.cloud.channel.v1.Sku getSku() { @@ -493,8 +451,6 @@ public com.google.cloud.channel.v1.Sku getSku() { } } /** - * - * *
      * SKU
      * 
@@ -515,15 +471,14 @@ public Builder setSku(com.google.cloud.channel.v1.Sku value) { return this; } /** - * - * *
      * SKU
      * 
* * .google.cloud.channel.v1.Sku sku = 1; */ - public Builder setSku(com.google.cloud.channel.v1.Sku.Builder builderForValue) { + public Builder setSku( + com.google.cloud.channel.v1.Sku.Builder builderForValue) { if (skuBuilder_ == null) { sku_ = builderForValue.build(); onChanged(); @@ -534,8 +489,6 @@ public Builder setSku(com.google.cloud.channel.v1.Sku.Builder builderForValue) { return this; } /** - * - * *
      * SKU
      * 
@@ -545,7 +498,8 @@ public Builder setSku(com.google.cloud.channel.v1.Sku.Builder builderForValue) { public Builder mergeSku(com.google.cloud.channel.v1.Sku value) { if (skuBuilder_ == null) { if (sku_ != null) { - sku_ = com.google.cloud.channel.v1.Sku.newBuilder(sku_).mergeFrom(value).buildPartial(); + sku_ = + com.google.cloud.channel.v1.Sku.newBuilder(sku_).mergeFrom(value).buildPartial(); } else { sku_ = value; } @@ -557,8 +511,6 @@ public Builder mergeSku(com.google.cloud.channel.v1.Sku value) { return this; } /** - * - * *
      * SKU
      * 
@@ -577,8 +529,6 @@ public Builder clearSku() { return this; } /** - * - * *
      * SKU
      * 
@@ -586,13 +536,11 @@ public Builder clearSku() { * .google.cloud.channel.v1.Sku sku = 1; */ public com.google.cloud.channel.v1.Sku.Builder getSkuBuilder() { - + onChanged(); return getSkuFieldBuilder().getBuilder(); } /** - * - * *
      * SKU
      * 
@@ -603,12 +551,11 @@ public com.google.cloud.channel.v1.SkuOrBuilder getSkuOrBuilder() { if (skuBuilder_ != null) { return skuBuilder_.getMessageOrBuilder(); } else { - return sku_ == null ? com.google.cloud.channel.v1.Sku.getDefaultInstance() : sku_; + return sku_ == null ? + com.google.cloud.channel.v1.Sku.getDefaultInstance() : sku_; } } /** - * - * *
      * SKU
      * 
@@ -616,24 +563,21 @@ public com.google.cloud.channel.v1.SkuOrBuilder getSkuOrBuilder() { * .google.cloud.channel.v1.Sku sku = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Sku, - com.google.cloud.channel.v1.Sku.Builder, - com.google.cloud.channel.v1.SkuOrBuilder> + com.google.cloud.channel.v1.Sku, com.google.cloud.channel.v1.Sku.Builder, com.google.cloud.channel.v1.SkuOrBuilder> getSkuFieldBuilder() { if (skuBuilder_ == null) { - skuBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Sku, - com.google.cloud.channel.v1.Sku.Builder, - com.google.cloud.channel.v1.SkuOrBuilder>( - getSku(), getParentForChildren(), isClean()); + skuBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Sku, com.google.cloud.channel.v1.Sku.Builder, com.google.cloud.channel.v1.SkuOrBuilder>( + getSku(), + getParentForChildren(), + isClean()); sku_ = null; } return skuBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -643,12 +587,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.PurchasableSku) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.PurchasableSku) private static final com.google.cloud.channel.v1.PurchasableSku DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.PurchasableSku(); } @@ -657,27 +601,27 @@ public static com.google.cloud.channel.v1.PurchasableSku getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PurchasableSku parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PurchasableSku parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -692,4 +636,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.PurchasableSku getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSkuOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSkuOrBuilder.java similarity index 53% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSkuOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSkuOrBuilder.java index 02e177e79877..cfafdc24647c 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSkuOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSkuOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface PurchasableSkuOrBuilder - extends +public interface PurchasableSkuOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.PurchasableSku) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * SKU
    * 
* * .google.cloud.channel.v1.Sku sku = 1; - * * @return Whether the sku field is set. */ boolean hasSku(); /** - * - * *
    * SKU
    * 
* * .google.cloud.channel.v1.Sku sku = 1; - * * @return The sku. */ com.google.cloud.channel.v1.Sku getSku(); /** - * - * *
    * SKU
    * 
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RebillingBasis.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RebillingBasis.java similarity index 69% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RebillingBasis.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RebillingBasis.java index c2fca099ebef..86c7170b1076 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RebillingBasis.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RebillingBasis.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/cloud/channel/v1/repricing.proto package com.google.cloud.channel.v1; /** - * - * *
  * Specifies the different costs that the modified bill can be based on.
  * 
* * Protobuf enum {@code google.cloud.channel.v1.RebillingBasis} */ -public enum RebillingBasis implements com.google.protobuf.ProtocolMessageEnum { +public enum RebillingBasis + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Not used.
    * 
@@ -39,8 +21,6 @@ public enum RebillingBasis implements com.google.protobuf.ProtocolMessageEnum { */ REBILLING_BASIS_UNSPECIFIED(0), /** - * - * *
    * Use the list cost, also known as the MSRP.
    * 
@@ -49,8 +29,6 @@ public enum RebillingBasis implements com.google.protobuf.ProtocolMessageEnum { */ COST_AT_LIST(1), /** - * - * *
    * Pass through all discounts except the Reseller Program Discount. If this is
    * the default cost base and no adjustments are specified, the output cost
@@ -65,8 +43,6 @@ public enum RebillingBasis implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * Not used.
    * 
@@ -75,8 +51,6 @@ public enum RebillingBasis implements com.google.protobuf.ProtocolMessageEnum { */ public static final int REBILLING_BASIS_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Use the list cost, also known as the MSRP.
    * 
@@ -85,8 +59,6 @@ public enum RebillingBasis implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COST_AT_LIST_VALUE = 1; /** - * - * *
    * Pass through all discounts except the Reseller Program Discount. If this is
    * the default cost base and no adjustments are specified, the output cost
@@ -98,6 +70,7 @@ public enum RebillingBasis implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int DIRECT_CUSTOMER_COST_VALUE = 2;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -122,49 +95,49 @@ public static RebillingBasis valueOf(int value) {
    */
   public static RebillingBasis forNumber(int value) {
     switch (value) {
-      case 0:
-        return REBILLING_BASIS_UNSPECIFIED;
-      case 1:
-        return COST_AT_LIST;
-      case 2:
-        return DIRECT_CUSTOMER_COST;
-      default:
-        return null;
+      case 0: return REBILLING_BASIS_UNSPECIFIED;
+      case 1: return COST_AT_LIST;
+      case 2: return DIRECT_CUSTOMER_COST;
+      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 RebillingBasis findValueByNumber(int number) {
-          return RebillingBasis.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      RebillingBasis> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public RebillingBasis findValueByNumber(int number) {
+            return RebillingBasis.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.cloud.channel.v1.RepricingProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final RebillingBasis[] VALUES = values();
 
-  public static RebillingBasis valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static RebillingBasis 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;
@@ -180,3 +153,4 @@ private RebillingBasis(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.channel.v1.RebillingBasis)
 }
+
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequest.java
similarity index 67%
rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequest.java
rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequest.java
index eaa3f2a746fb..a13b28d34ea1 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequest.java
+++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequest.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/cloud/channel/v1/service.proto
 
 package com.google.cloud.channel.v1;
 
 /**
- *
- *
  * 
  * Request Message for RegisterSubscriber.
  * 
* * Protobuf type {@code google.cloud.channel.v1.RegisterSubscriberRequest} */ -public final class RegisterSubscriberRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RegisterSubscriberRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.RegisterSubscriberRequest) RegisterSubscriberRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RegisterSubscriberRequest.newBuilder() to construct. private RegisterSubscriberRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RegisterSubscriberRequest() { account_ = ""; serviceAccount_ = ""; @@ -44,41 +26,37 @@ private RegisterSubscriberRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RegisterSubscriberRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.RegisterSubscriberRequest.class, - com.google.cloud.channel.v1.RegisterSubscriberRequest.Builder.class); + com.google.cloud.channel.v1.RegisterSubscriberRequest.class, com.google.cloud.channel.v1.RegisterSubscriberRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private volatile java.lang.Object account_; /** - * - * *
    * Required. Resource name of the account.
    * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The account. */ @java.lang.Override @@ -87,29 +65,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. Resource name of the account.
    * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -120,14 +98,12 @@ public com.google.protobuf.ByteString getAccountBytes() { public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 2; private volatile java.lang.Object serviceAccount_; /** - * - * *
-   * Required. Service account that provides subscriber access to the registered topic.
+   * Required. Service account that provides subscriber access to the registered
+   * topic.
    * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceAccount. */ @java.lang.Override @@ -136,29 +112,30 @@ public java.lang.String getServiceAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; } } /** - * - * *
-   * Required. Service account that provides subscriber access to the registered topic.
+   * Required. Service account that provides subscriber access to the registered
+   * topic.
    * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountBytes() { + public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -167,7 +144,6 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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(account_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, account_); } @@ -209,16 +186,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.cloud.channel.v1.RegisterSubscriberRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.RegisterSubscriberRequest other = - (com.google.cloud.channel.v1.RegisterSubscriberRequest) obj; + com.google.cloud.channel.v1.RegisterSubscriberRequest other = (com.google.cloud.channel.v1.RegisterSubscriberRequest) obj; - if (!getAccount().equals(other.getAccount())) return false; - if (!getServiceAccount().equals(other.getServiceAccount())) return false; + if (!getAccount() + .equals(other.getAccount())) return false; + if (!getServiceAccount() + .equals(other.getServiceAccount())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -240,136 +218,129 @@ public int hashCode() { } public static com.google.cloud.channel.v1.RegisterSubscriberRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.RegisterSubscriberRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.RegisterSubscriberRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.RegisterSubscriberRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.RegisterSubscriberRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.RegisterSubscriberRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.RegisterSubscriberRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.RegisterSubscriberRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.RegisterSubscriberRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.RegisterSubscriberRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.RegisterSubscriberRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.RegisterSubscriberRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.RegisterSubscriberRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.RegisterSubscriberRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.RegisterSubscriberRequest prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.RegisterSubscriberRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request Message for RegisterSubscriber.
    * 
* * Protobuf type {@code google.cloud.channel.v1.RegisterSubscriberRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.RegisterSubscriberRequest) com.google.cloud.channel.v1.RegisterSubscriberRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.RegisterSubscriberRequest.class, - com.google.cloud.channel.v1.RegisterSubscriberRequest.Builder.class); + com.google.cloud.channel.v1.RegisterSubscriberRequest.class, com.google.cloud.channel.v1.RegisterSubscriberRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.RegisterSubscriberRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -381,9 +352,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_descriptor; } @java.lang.Override @@ -402,8 +373,7 @@ public com.google.cloud.channel.v1.RegisterSubscriberRequest build() { @java.lang.Override public com.google.cloud.channel.v1.RegisterSubscriberRequest buildPartial() { - com.google.cloud.channel.v1.RegisterSubscriberRequest result = - new com.google.cloud.channel.v1.RegisterSubscriberRequest(this); + com.google.cloud.channel.v1.RegisterSubscriberRequest result = new com.google.cloud.channel.v1.RegisterSubscriberRequest(this); result.account_ = account_; result.serviceAccount_ = serviceAccount_; onBuilt(); @@ -414,39 +384,38 @@ public com.google.cloud.channel.v1.RegisterSubscriberRequest 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.cloud.channel.v1.RegisterSubscriberRequest) { - return mergeFrom((com.google.cloud.channel.v1.RegisterSubscriberRequest) other); + return mergeFrom((com.google.cloud.channel.v1.RegisterSubscriberRequest)other); } else { super.mergeFrom(other); return this; @@ -454,8 +423,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.RegisterSubscriberRequest other) { - if (other == com.google.cloud.channel.v1.RegisterSubscriberRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.RegisterSubscriberRequest.getDefaultInstance()) return this; if (!other.getAccount().isEmpty()) { account_ = other.account_; onChanged(); @@ -490,25 +458,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - account_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - serviceAccount_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + account_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + serviceAccount_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -521,20 +486,18 @@ public Builder mergeFrom( private java.lang.Object account_ = ""; /** - * - * *
      * Required. Resource name of the account.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -543,21 +506,20 @@ public java.lang.String getAccount() { } } /** - * - * *
      * Required. Resource name of the account.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -565,61 +527,54 @@ public com.google.protobuf.ByteString getAccountBytes() { } } /** - * - * *
      * Required. Resource name of the account.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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. Resource name of the account.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearAccount() { - + account_ = getDefaultInstance().getAccount(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the account.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -627,20 +582,19 @@ public Builder setAccountBytes(com.google.protobuf.ByteString value) { private java.lang.Object serviceAccount_ = ""; /** - * - * *
-     * Required. Service account that provides subscriber access to the registered topic.
+     * Required. Service account that provides subscriber access to the registered
+     * topic.
      * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; @@ -649,21 +603,21 @@ public java.lang.String getServiceAccount() { } } /** - * - * *
-     * Required. Service account that provides subscriber access to the registered topic.
+     * Required. Service account that provides subscriber access to the registered
+     * topic.
      * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString getServiceAccountBytes() { + public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -671,68 +625,64 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { } } /** - * - * *
-     * Required. Service account that provides subscriber access to the registered topic.
+     * Required. Service account that provides subscriber access to the registered
+     * topic.
      * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount(java.lang.String value) { + public Builder setServiceAccount( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccount_ = value; onChanged(); return this; } /** - * - * *
-     * Required. Service account that provides subscriber access to the registered topic.
+     * Required. Service account that provides subscriber access to the registered
+     * topic.
      * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearServiceAccount() { - + serviceAccount_ = getDefaultInstance().getServiceAccount(); onChanged(); return this; } /** - * - * *
-     * Required. Service account that provides subscriber access to the registered topic.
+     * Required. Service account that provides subscriber access to the registered
+     * topic.
      * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { + public Builder setServiceAccountBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccount_ = 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); } @@ -742,12 +692,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.RegisterSubscriberRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.RegisterSubscriberRequest) private static final com.google.cloud.channel.v1.RegisterSubscriberRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.RegisterSubscriberRequest(); } @@ -756,27 +706,27 @@ public static com.google.cloud.channel.v1.RegisterSubscriberRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RegisterSubscriberRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RegisterSubscriberRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -791,4 +741,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.channel.v1.RegisterSubscriberRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequestOrBuilder.java similarity index 58% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequestOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequestOrBuilder.java index 576543cb193f..df3353379068 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequestOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequestOrBuilder.java @@ -1,75 +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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface RegisterSubscriberRequestOrBuilder - extends +public interface RegisterSubscriberRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.RegisterSubscriberRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the account.
    * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The account. */ java.lang.String getAccount(); /** - * - * *
    * Required. Resource name of the account.
    * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for account. */ - com.google.protobuf.ByteString getAccountBytes(); + com.google.protobuf.ByteString + getAccountBytes(); /** - * - * *
-   * Required. Service account that provides subscriber access to the registered topic.
+   * Required. Service account that provides subscriber access to the registered
+   * topic.
    * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** - * - * *
-   * Required. Service account that provides subscriber access to the registered topic.
+   * Required. Service account that provides subscriber access to the registered
+   * topic.
    * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString getServiceAccountBytes(); + com.google.protobuf.ByteString + getServiceAccountBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponse.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponse.java similarity index 64% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponse.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponse.java index 81d9e851b57a..f57a267dc86f 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponse.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponse.java @@ -1,83 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
  * Response Message for RegisterSubscriber.
  * 
* * Protobuf type {@code google.cloud.channel.v1.RegisterSubscriberResponse} */ -public final class RegisterSubscriberResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RegisterSubscriberResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.RegisterSubscriberResponse) RegisterSubscriberResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RegisterSubscriberResponse.newBuilder() to construct. private RegisterSubscriberResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RegisterSubscriberResponse() { topic_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RegisterSubscriberResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.RegisterSubscriberResponse.class, - com.google.cloud.channel.v1.RegisterSubscriberResponse.Builder.class); + com.google.cloud.channel.v1.RegisterSubscriberResponse.class, com.google.cloud.channel.v1.RegisterSubscriberResponse.Builder.class); } public static final int TOPIC_FIELD_NUMBER = 1; private volatile java.lang.Object topic_; /** - * - * *
    * Name of the topic the subscriber will listen to.
    * 
* * string topic = 1; - * * @return The topic. */ @java.lang.Override @@ -86,29 +64,29 @@ public java.lang.String getTopic() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; } } /** - * - * *
    * Name of the topic the subscriber will listen to.
    * 
* * string topic = 1; - * * @return The bytes for topic. */ @java.lang.Override - public com.google.protobuf.ByteString getTopicBytes() { + public com.google.protobuf.ByteString + getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); topic_ = b; return b; } else { @@ -117,7 +95,6 @@ public com.google.protobuf.ByteString getTopicBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -129,7 +106,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, topic_); } @@ -153,15 +131,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.RegisterSubscriberResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.RegisterSubscriberResponse other = - (com.google.cloud.channel.v1.RegisterSubscriberResponse) obj; + com.google.cloud.channel.v1.RegisterSubscriberResponse other = (com.google.cloud.channel.v1.RegisterSubscriberResponse) obj; - if (!getTopic().equals(other.getTopic())) return false; + if (!getTopic() + .equals(other.getTopic())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -181,136 +159,129 @@ public int hashCode() { } public static com.google.cloud.channel.v1.RegisterSubscriberResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.RegisterSubscriberResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.RegisterSubscriberResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.RegisterSubscriberResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.RegisterSubscriberResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.RegisterSubscriberResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.RegisterSubscriberResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.RegisterSubscriberResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.RegisterSubscriberResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.RegisterSubscriberResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.RegisterSubscriberResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.RegisterSubscriberResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.RegisterSubscriberResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.RegisterSubscriberResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.RegisterSubscriberResponse prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.RegisterSubscriberResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 RegisterSubscriber.
    * 
* * Protobuf type {@code google.cloud.channel.v1.RegisterSubscriberResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.RegisterSubscriberResponse) com.google.cloud.channel.v1.RegisterSubscriberResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.RegisterSubscriberResponse.class, - com.google.cloud.channel.v1.RegisterSubscriberResponse.Builder.class); + com.google.cloud.channel.v1.RegisterSubscriberResponse.class, com.google.cloud.channel.v1.RegisterSubscriberResponse.Builder.class); } // Construct using com.google.cloud.channel.v1.RegisterSubscriberResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -320,9 +291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_descriptor; } @java.lang.Override @@ -341,8 +312,7 @@ public com.google.cloud.channel.v1.RegisterSubscriberResponse build() { @java.lang.Override public com.google.cloud.channel.v1.RegisterSubscriberResponse buildPartial() { - com.google.cloud.channel.v1.RegisterSubscriberResponse result = - new com.google.cloud.channel.v1.RegisterSubscriberResponse(this); + com.google.cloud.channel.v1.RegisterSubscriberResponse result = new com.google.cloud.channel.v1.RegisterSubscriberResponse(this); result.topic_ = topic_; onBuilt(); return result; @@ -352,39 +322,38 @@ public com.google.cloud.channel.v1.RegisterSubscriberResponse 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.cloud.channel.v1.RegisterSubscriberResponse) { - return mergeFrom((com.google.cloud.channel.v1.RegisterSubscriberResponse) other); + return mergeFrom((com.google.cloud.channel.v1.RegisterSubscriberResponse)other); } else { super.mergeFrom(other); return this; @@ -392,8 +361,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.RegisterSubscriberResponse other) { - if (other == com.google.cloud.channel.v1.RegisterSubscriberResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.RegisterSubscriberResponse.getDefaultInstance()) return this; if (!other.getTopic().isEmpty()) { topic_ = other.topic_; onChanged(); @@ -424,19 +392,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - topic_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + topic_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -449,20 +415,18 @@ public Builder mergeFrom( private java.lang.Object topic_ = ""; /** - * - * *
      * Name of the topic the subscriber will listen to.
      * 
* * string topic = 1; - * * @return The topic. */ public java.lang.String getTopic() { java.lang.Object ref = topic_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; @@ -471,21 +435,20 @@ public java.lang.String getTopic() { } } /** - * - * *
      * Name of the topic the subscriber will listen to.
      * 
* * string topic = 1; - * * @return The bytes for topic. */ - public com.google.protobuf.ByteString getTopicBytes() { + public com.google.protobuf.ByteString + getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); topic_ = b; return b; } else { @@ -493,68 +456,61 @@ public com.google.protobuf.ByteString getTopicBytes() { } } /** - * - * *
      * Name of the topic the subscriber will listen to.
      * 
* * string topic = 1; - * * @param value The topic to set. * @return This builder for chaining. */ - public Builder setTopic(java.lang.String value) { + public Builder setTopic( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + topic_ = value; onChanged(); return this; } /** - * - * *
      * Name of the topic the subscriber will listen to.
      * 
* * string topic = 1; - * * @return This builder for chaining. */ public Builder clearTopic() { - + topic_ = getDefaultInstance().getTopic(); onChanged(); return this; } /** - * - * *
      * Name of the topic the subscriber will listen to.
      * 
* * string topic = 1; - * * @param value The bytes for topic to set. * @return This builder for chaining. */ - public Builder setTopicBytes(com.google.protobuf.ByteString value) { + public Builder setTopicBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + topic_ = 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 +520,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.RegisterSubscriberResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.RegisterSubscriberResponse) private static final com.google.cloud.channel.v1.RegisterSubscriberResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.RegisterSubscriberResponse(); } @@ -578,27 +534,27 @@ public static com.google.cloud.channel.v1.RegisterSubscriberResponse getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RegisterSubscriberResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RegisterSubscriberResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -613,4 +569,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.channel.v1.RegisterSubscriberResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponseOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponseOrBuilder.java new file mode 100644 index 000000000000..8180179da9ad --- /dev/null +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponseOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/service.proto + +package com.google.cloud.channel.v1; + +public interface RegisterSubscriberResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.RegisterSubscriberResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Name of the topic the subscriber will listen to.
+   * 
+ * + * string topic = 1; + * @return The topic. + */ + java.lang.String getTopic(); + /** + *
+   * Name of the topic the subscriber will listen to.
+   * 
+ * + * string topic = 1; + * @return The bytes for topic. + */ + com.google.protobuf.ByteString + getTopicBytes(); +} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettings.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettings.java similarity index 70% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettings.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettings.java index a035dc11f677..f14bd43d739c 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettings.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettings.java @@ -1,83 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/entitlements.proto package com.google.cloud.channel.v1; /** - * - * *
  * Renewal settings for renewable Offers.
  * 
* * Protobuf type {@code google.cloud.channel.v1.RenewalSettings} */ -public final class RenewalSettings extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RenewalSettings extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.RenewalSettings) RenewalSettingsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RenewalSettings.newBuilder() to construct. private RenewalSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RenewalSettings() { paymentPlan_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RenewalSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_RenewalSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_RenewalSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_RenewalSettings_fieldAccessorTable + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_RenewalSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.RenewalSettings.class, - com.google.cloud.channel.v1.RenewalSettings.Builder.class); + com.google.cloud.channel.v1.RenewalSettings.class, com.google.cloud.channel.v1.RenewalSettings.Builder.class); } public static final int ENABLE_RENEWAL_FIELD_NUMBER = 1; private boolean enableRenewal_; /** - * - * *
    * If false, the plan will be completed at the end date.
    * 
* * bool enable_renewal = 1; - * * @return The enableRenewal. */ @java.lang.Override @@ -88,15 +66,12 @@ public boolean getEnableRenewal() { public static final int RESIZE_UNIT_COUNT_FIELD_NUMBER = 2; private boolean resizeUnitCount_; /** - * - * *
    * If true and enable_renewal = true, the unit (for example seats or licenses)
    * will be set to the number of active units at renewal time.
    * 
* * bool resize_unit_count = 2; - * * @return The resizeUnitCount. */ @java.lang.Override @@ -107,51 +82,39 @@ public boolean getResizeUnitCount() { public static final int PAYMENT_PLAN_FIELD_NUMBER = 5; private int paymentPlan_; /** - * - * *
    * Describes how a reseller will be billed.
    * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 5; - * * @return The enum numeric value on the wire for paymentPlan. */ - @java.lang.Override - public int getPaymentPlanValue() { + @java.lang.Override public int getPaymentPlanValue() { return paymentPlan_; } /** - * - * *
    * Describes how a reseller will be billed.
    * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 5; - * * @return The paymentPlan. */ - @java.lang.Override - public com.google.cloud.channel.v1.PaymentPlan getPaymentPlan() { + @java.lang.Override public com.google.cloud.channel.v1.PaymentPlan getPaymentPlan() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.PaymentPlan result = - com.google.cloud.channel.v1.PaymentPlan.valueOf(paymentPlan_); + com.google.cloud.channel.v1.PaymentPlan result = com.google.cloud.channel.v1.PaymentPlan.valueOf(paymentPlan_); return result == null ? com.google.cloud.channel.v1.PaymentPlan.UNRECOGNIZED : result; } public static final int PAYMENT_CYCLE_FIELD_NUMBER = 6; private com.google.cloud.channel.v1.Period paymentCycle_; /** - * - * *
    * Describes how frequently the reseller will be billed, such as
    * once per month.
    * 
* * .google.cloud.channel.v1.Period payment_cycle = 6; - * * @return Whether the paymentCycle field is set. */ @java.lang.Override @@ -159,26 +122,19 @@ public boolean hasPaymentCycle() { return paymentCycle_ != null; } /** - * - * *
    * Describes how frequently the reseller will be billed, such as
    * once per month.
    * 
* * .google.cloud.channel.v1.Period payment_cycle = 6; - * * @return The paymentCycle. */ @java.lang.Override public com.google.cloud.channel.v1.Period getPaymentCycle() { - return paymentCycle_ == null - ? com.google.cloud.channel.v1.Period.getDefaultInstance() - : paymentCycle_; + return paymentCycle_ == null ? com.google.cloud.channel.v1.Period.getDefaultInstance() : paymentCycle_; } /** - * - * *
    * Describes how frequently the reseller will be billed, such as
    * once per month.
@@ -192,7 +148,6 @@ public com.google.cloud.channel.v1.PeriodOrBuilder getPaymentCycleOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -204,15 +159,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 (enableRenewal_ != false) {
       output.writeBool(1, enableRenewal_);
     }
     if (resizeUnitCount_ != false) {
       output.writeBool(2, resizeUnitCount_);
     }
-    if (paymentPlan_
-        != com.google.cloud.channel.v1.PaymentPlan.PAYMENT_PLAN_UNSPECIFIED.getNumber()) {
+    if (paymentPlan_ != com.google.cloud.channel.v1.PaymentPlan.PAYMENT_PLAN_UNSPECIFIED.getNumber()) {
       output.writeEnum(5, paymentPlan_);
     }
     if (paymentCycle_ != null) {
@@ -228,17 +183,20 @@ public int getSerializedSize() {
 
     size = 0;
     if (enableRenewal_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enableRenewal_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(1, enableRenewal_);
     }
     if (resizeUnitCount_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, resizeUnitCount_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(2, resizeUnitCount_);
     }
-    if (paymentPlan_
-        != com.google.cloud.channel.v1.PaymentPlan.PAYMENT_PLAN_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, paymentPlan_);
+    if (paymentPlan_ != com.google.cloud.channel.v1.PaymentPlan.PAYMENT_PLAN_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(5, paymentPlan_);
     }
     if (paymentCycle_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getPaymentCycle());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getPaymentCycle());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -248,20 +206,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.cloud.channel.v1.RenewalSettings)) {
       return super.equals(obj);
     }
-    com.google.cloud.channel.v1.RenewalSettings other =
-        (com.google.cloud.channel.v1.RenewalSettings) obj;
+    com.google.cloud.channel.v1.RenewalSettings other = (com.google.cloud.channel.v1.RenewalSettings) obj;
 
-    if (getEnableRenewal() != other.getEnableRenewal()) return false;
-    if (getResizeUnitCount() != other.getResizeUnitCount()) return false;
+    if (getEnableRenewal()
+        != other.getEnableRenewal()) return false;
+    if (getResizeUnitCount()
+        != other.getResizeUnitCount()) return false;
     if (paymentPlan_ != other.paymentPlan_) return false;
     if (hasPaymentCycle() != other.hasPaymentCycle()) return false;
     if (hasPaymentCycle()) {
-      if (!getPaymentCycle().equals(other.getPaymentCycle())) return false;
+      if (!getPaymentCycle()
+          .equals(other.getPaymentCycle())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -275,9 +235,11 @@ public int hashCode() {
     int hash = 41;
     hash = (19 * hash) + getDescriptor().hashCode();
     hash = (37 * hash) + ENABLE_RENEWAL_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableRenewal());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getEnableRenewal());
     hash = (37 * hash) + RESIZE_UNIT_COUNT_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getResizeUnitCount());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getResizeUnitCount());
     hash = (37 * hash) + PAYMENT_PLAN_FIELD_NUMBER;
     hash = (53 * hash) + paymentPlan_;
     if (hasPaymentCycle()) {
@@ -289,136 +251,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.channel.v1.RenewalSettings parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.channel.v1.RenewalSettings parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.channel.v1.RenewalSettings parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.channel.v1.RenewalSettings parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.channel.v1.RenewalSettings parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.channel.v1.RenewalSettings parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.channel.v1.RenewalSettings parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.channel.v1.RenewalSettings 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.cloud.channel.v1.RenewalSettings parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.channel.v1.RenewalSettings parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.channel.v1.RenewalSettings parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.channel.v1.RenewalSettings parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.channel.v1.RenewalSettings parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.channel.v1.RenewalSettings parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.channel.v1.RenewalSettings prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Renewal settings for renewable Offers.
    * 
* * Protobuf type {@code google.cloud.channel.v1.RenewalSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.RenewalSettings) com.google.cloud.channel.v1.RenewalSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_RenewalSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_RenewalSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_RenewalSettings_fieldAccessorTable + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_RenewalSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.RenewalSettings.class, - com.google.cloud.channel.v1.RenewalSettings.Builder.class); + com.google.cloud.channel.v1.RenewalSettings.class, com.google.cloud.channel.v1.RenewalSettings.Builder.class); } // Construct using com.google.cloud.channel.v1.RenewalSettings.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -438,9 +394,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_RenewalSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_RenewalSettings_descriptor; } @java.lang.Override @@ -459,8 +415,7 @@ public com.google.cloud.channel.v1.RenewalSettings build() { @java.lang.Override public com.google.cloud.channel.v1.RenewalSettings buildPartial() { - com.google.cloud.channel.v1.RenewalSettings result = - new com.google.cloud.channel.v1.RenewalSettings(this); + com.google.cloud.channel.v1.RenewalSettings result = new com.google.cloud.channel.v1.RenewalSettings(this); result.enableRenewal_ = enableRenewal_; result.resizeUnitCount_ = resizeUnitCount_; result.paymentPlan_ = paymentPlan_; @@ -477,39 +432,38 @@ public com.google.cloud.channel.v1.RenewalSettings 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.cloud.channel.v1.RenewalSettings) { - return mergeFrom((com.google.cloud.channel.v1.RenewalSettings) other); + return mergeFrom((com.google.cloud.channel.v1.RenewalSettings)other); } else { super.mergeFrom(other); return this; @@ -556,37 +510,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enableRenewal_ = input.readBool(); + case 8: { + enableRenewal_ = input.readBool(); - break; - } // case 8 - case 16: - { - resizeUnitCount_ = input.readBool(); + break; + } // case 8 + case 16: { + resizeUnitCount_ = input.readBool(); - break; - } // case 16 - case 40: - { - paymentPlan_ = input.readEnum(); + break; + } // case 16 + case 40: { + paymentPlan_ = input.readEnum(); - break; - } // case 40 - case 50: - { - input.readMessage(getPaymentCycleFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 40 + case 50: { + input.readMessage( + getPaymentCycleFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -597,16 +548,13 @@ public Builder mergeFrom( return this; } - private boolean enableRenewal_; + private boolean enableRenewal_ ; /** - * - * *
      * If false, the plan will be completed at the end date.
      * 
* * bool enable_renewal = 1; - * * @return The enableRenewal. */ @java.lang.Override @@ -614,52 +562,43 @@ public boolean getEnableRenewal() { return enableRenewal_; } /** - * - * *
      * If false, the plan will be completed at the end date.
      * 
* * bool enable_renewal = 1; - * * @param value The enableRenewal to set. * @return This builder for chaining. */ public Builder setEnableRenewal(boolean value) { - + enableRenewal_ = value; onChanged(); return this; } /** - * - * *
      * If false, the plan will be completed at the end date.
      * 
* * bool enable_renewal = 1; - * * @return This builder for chaining. */ public Builder clearEnableRenewal() { - + enableRenewal_ = false; onChanged(); return this; } - private boolean resizeUnitCount_; + private boolean resizeUnitCount_ ; /** - * - * *
      * If true and enable_renewal = true, the unit (for example seats or licenses)
      * will be set to the number of active units at renewal time.
      * 
* * bool resize_unit_count = 2; - * * @return The resizeUnitCount. */ @java.lang.Override @@ -667,38 +606,32 @@ public boolean getResizeUnitCount() { return resizeUnitCount_; } /** - * - * *
      * If true and enable_renewal = true, the unit (for example seats or licenses)
      * will be set to the number of active units at renewal time.
      * 
* * bool resize_unit_count = 2; - * * @param value The resizeUnitCount to set. * @return This builder for chaining. */ public Builder setResizeUnitCount(boolean value) { - + resizeUnitCount_ = value; onChanged(); return this; } /** - * - * *
      * If true and enable_renewal = true, the unit (for example seats or licenses)
      * will be set to the number of active units at renewal time.
      * 
* * bool resize_unit_count = 2; - * * @return This builder for chaining. */ public Builder clearResizeUnitCount() { - + resizeUnitCount_ = false; onChanged(); return this; @@ -706,65 +639,51 @@ public Builder clearResizeUnitCount() { private int paymentPlan_ = 0; /** - * - * *
      * Describes how a reseller will be billed.
      * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 5; - * * @return The enum numeric value on the wire for paymentPlan. */ - @java.lang.Override - public int getPaymentPlanValue() { + @java.lang.Override public int getPaymentPlanValue() { return paymentPlan_; } /** - * - * *
      * Describes how a reseller will be billed.
      * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 5; - * * @param value The enum numeric value on the wire for paymentPlan to set. * @return This builder for chaining. */ public Builder setPaymentPlanValue(int value) { - + paymentPlan_ = value; onChanged(); return this; } /** - * - * *
      * Describes how a reseller will be billed.
      * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 5; - * * @return The paymentPlan. */ @java.lang.Override public com.google.cloud.channel.v1.PaymentPlan getPaymentPlan() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.PaymentPlan result = - com.google.cloud.channel.v1.PaymentPlan.valueOf(paymentPlan_); + com.google.cloud.channel.v1.PaymentPlan result = com.google.cloud.channel.v1.PaymentPlan.valueOf(paymentPlan_); return result == null ? com.google.cloud.channel.v1.PaymentPlan.UNRECOGNIZED : result; } /** - * - * *
      * Describes how a reseller will be billed.
      * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 5; - * * @param value The paymentPlan to set. * @return This builder for chaining. */ @@ -772,24 +691,21 @@ public Builder setPaymentPlan(com.google.cloud.channel.v1.PaymentPlan value) { if (value == null) { throw new NullPointerException(); } - + paymentPlan_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Describes how a reseller will be billed.
      * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 5; - * * @return This builder for chaining. */ public Builder clearPaymentPlan() { - + paymentPlan_ = 0; onChanged(); return this; @@ -797,49 +713,36 @@ public Builder clearPaymentPlan() { private com.google.cloud.channel.v1.Period paymentCycle_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Period, - com.google.cloud.channel.v1.Period.Builder, - com.google.cloud.channel.v1.PeriodOrBuilder> - paymentCycleBuilder_; + com.google.cloud.channel.v1.Period, com.google.cloud.channel.v1.Period.Builder, com.google.cloud.channel.v1.PeriodOrBuilder> paymentCycleBuilder_; /** - * - * *
      * Describes how frequently the reseller will be billed, such as
      * once per month.
      * 
* * .google.cloud.channel.v1.Period payment_cycle = 6; - * * @return Whether the paymentCycle field is set. */ public boolean hasPaymentCycle() { return paymentCycleBuilder_ != null || paymentCycle_ != null; } /** - * - * *
      * Describes how frequently the reseller will be billed, such as
      * once per month.
      * 
* * .google.cloud.channel.v1.Period payment_cycle = 6; - * * @return The paymentCycle. */ public com.google.cloud.channel.v1.Period getPaymentCycle() { if (paymentCycleBuilder_ == null) { - return paymentCycle_ == null - ? com.google.cloud.channel.v1.Period.getDefaultInstance() - : paymentCycle_; + return paymentCycle_ == null ? com.google.cloud.channel.v1.Period.getDefaultInstance() : paymentCycle_; } else { return paymentCycleBuilder_.getMessage(); } } /** - * - * *
      * Describes how frequently the reseller will be billed, such as
      * once per month.
@@ -861,8 +764,6 @@ public Builder setPaymentCycle(com.google.cloud.channel.v1.Period value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes how frequently the reseller will be billed, such as
      * once per month.
@@ -870,7 +771,8 @@ public Builder setPaymentCycle(com.google.cloud.channel.v1.Period value) {
      *
      * .google.cloud.channel.v1.Period payment_cycle = 6;
      */
-    public Builder setPaymentCycle(com.google.cloud.channel.v1.Period.Builder builderForValue) {
+    public Builder setPaymentCycle(
+        com.google.cloud.channel.v1.Period.Builder builderForValue) {
       if (paymentCycleBuilder_ == null) {
         paymentCycle_ = builderForValue.build();
         onChanged();
@@ -881,8 +783,6 @@ public Builder setPaymentCycle(com.google.cloud.channel.v1.Period.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes how frequently the reseller will be billed, such as
      * once per month.
@@ -894,9 +794,7 @@ public Builder mergePaymentCycle(com.google.cloud.channel.v1.Period value) {
       if (paymentCycleBuilder_ == null) {
         if (paymentCycle_ != null) {
           paymentCycle_ =
-              com.google.cloud.channel.v1.Period.newBuilder(paymentCycle_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.channel.v1.Period.newBuilder(paymentCycle_).mergeFrom(value).buildPartial();
         } else {
           paymentCycle_ = value;
         }
@@ -908,8 +806,6 @@ public Builder mergePaymentCycle(com.google.cloud.channel.v1.Period value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes how frequently the reseller will be billed, such as
      * once per month.
@@ -929,8 +825,6 @@ public Builder clearPaymentCycle() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Describes how frequently the reseller will be billed, such as
      * once per month.
@@ -939,13 +833,11 @@ public Builder clearPaymentCycle() {
      * .google.cloud.channel.v1.Period payment_cycle = 6;
      */
     public com.google.cloud.channel.v1.Period.Builder getPaymentCycleBuilder() {
-
+      
       onChanged();
       return getPaymentCycleFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Describes how frequently the reseller will be billed, such as
      * once per month.
@@ -957,14 +849,11 @@ public com.google.cloud.channel.v1.PeriodOrBuilder getPaymentCycleOrBuilder() {
       if (paymentCycleBuilder_ != null) {
         return paymentCycleBuilder_.getMessageOrBuilder();
       } else {
-        return paymentCycle_ == null
-            ? com.google.cloud.channel.v1.Period.getDefaultInstance()
-            : paymentCycle_;
+        return paymentCycle_ == null ?
+            com.google.cloud.channel.v1.Period.getDefaultInstance() : paymentCycle_;
       }
     }
     /**
-     *
-     *
      * 
      * Describes how frequently the reseller will be billed, such as
      * once per month.
@@ -973,24 +862,21 @@ public com.google.cloud.channel.v1.PeriodOrBuilder getPaymentCycleOrBuilder() {
      * .google.cloud.channel.v1.Period payment_cycle = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.channel.v1.Period,
-            com.google.cloud.channel.v1.Period.Builder,
-            com.google.cloud.channel.v1.PeriodOrBuilder>
+        com.google.cloud.channel.v1.Period, com.google.cloud.channel.v1.Period.Builder, com.google.cloud.channel.v1.PeriodOrBuilder> 
         getPaymentCycleFieldBuilder() {
       if (paymentCycleBuilder_ == null) {
-        paymentCycleBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.channel.v1.Period,
-                com.google.cloud.channel.v1.Period.Builder,
-                com.google.cloud.channel.v1.PeriodOrBuilder>(
-                getPaymentCycle(), getParentForChildren(), isClean());
+        paymentCycleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.channel.v1.Period, com.google.cloud.channel.v1.Period.Builder, com.google.cloud.channel.v1.PeriodOrBuilder>(
+                getPaymentCycle(),
+                getParentForChildren(),
+                isClean());
         paymentCycle_ = null;
       }
       return paymentCycleBuilder_;
     }
-
     @java.lang.Override
-    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 +886,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.RenewalSettings)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.RenewalSettings)
   private static final com.google.cloud.channel.v1.RenewalSettings DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.channel.v1.RenewalSettings();
   }
@@ -1014,27 +900,27 @@ public static com.google.cloud.channel.v1.RenewalSettings getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RenewalSettings parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public RenewalSettings parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1049,4 +935,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.channel.v1.RenewalSettings getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettingsOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettingsOrBuilder.java
similarity index 73%
rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettingsOrBuilder.java
rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettingsOrBuilder.java
index c4e16914ccbc..de39443911ad 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettingsOrBuilder.java
+++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettingsOrBuilder.java
@@ -1,109 +1,73 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/channel/v1/entitlements.proto
 
 package com.google.cloud.channel.v1;
 
-public interface RenewalSettingsOrBuilder
-    extends
+public interface RenewalSettingsOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.RenewalSettings)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * If false, the plan will be completed at the end date.
    * 
* * bool enable_renewal = 1; - * * @return The enableRenewal. */ boolean getEnableRenewal(); /** - * - * *
    * If true and enable_renewal = true, the unit (for example seats or licenses)
    * will be set to the number of active units at renewal time.
    * 
* * bool resize_unit_count = 2; - * * @return The resizeUnitCount. */ boolean getResizeUnitCount(); /** - * - * *
    * Describes how a reseller will be billed.
    * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 5; - * * @return The enum numeric value on the wire for paymentPlan. */ int getPaymentPlanValue(); /** - * - * *
    * Describes how a reseller will be billed.
    * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 5; - * * @return The paymentPlan. */ com.google.cloud.channel.v1.PaymentPlan getPaymentPlan(); /** - * - * *
    * Describes how frequently the reseller will be billed, such as
    * once per month.
    * 
* * .google.cloud.channel.v1.Period payment_cycle = 6; - * * @return Whether the paymentCycle field is set. */ boolean hasPaymentCycle(); /** - * - * *
    * Describes how frequently the reseller will be billed, such as
    * once per month.
    * 
* * .google.cloud.channel.v1.Period payment_cycle = 6; - * * @return The paymentCycle. */ com.google.cloud.channel.v1.Period getPaymentCycle(); /** - * - * *
    * Describes how frequently the reseller will be billed, such as
    * once per month.
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Report.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Report.java
similarity index 72%
rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Report.java
rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Report.java
index f6d5af07a40f..2bcd936fc00a 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Report.java
+++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Report.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/cloud/channel/v1/reports_service.proto
 
 package com.google.cloud.channel.v1;
 
 /**
- *
- *
  * 
  * The ID and description of a report that was used to generate report data.
  * For example, "GCP Daily Spend", "Google Workspace License Activity", etc.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.Report}
  */
-public final class Report extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Report extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.Report)
     ReportOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Report.newBuilder() to construct.
   private Report(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Report() {
     name_ = "";
     displayName_ = "";
@@ -47,45 +29,41 @@ private Report() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Report();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.channel.v1.ReportsServiceProto
-        .internal_static_google_cloud_channel_v1_Report_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_Report_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ReportsServiceProto
-        .internal_static_google_cloud_channel_v1_Report_fieldAccessorTable
+    return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_Report_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.Report.class,
-            com.google.cloud.channel.v1.Report.Builder.class);
+            com.google.cloud.channel.v1.Report.class, com.google.cloud.channel.v1.Report.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
-   * Required. The report's resource name. Specifies the account and report used to
-   * generate report data. The report_id identifier is a UID
-   * (for example, `613bf59q`).
+   * Required. The report's resource name. Specifies the account and report used
+   * to generate report data. The report_id identifier is a UID (for example,
+   * `613bf59q`).
    * Name uses the format:
    * accounts/{account_id}/reports/{report_id}
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -94,33 +72,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 report's resource name. Specifies the account and report used to
-   * generate report data. The report_id identifier is a UID
-   * (for example, `613bf59q`).
+   * Required. The report's resource name. Specifies the account and report used
+   * to generate report data. The report_id identifier is a UID (for example,
+   * `613bf59q`).
    * Name uses the format:
    * accounts/{account_id}/reports/{report_id}
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -131,14 +109,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * A human-readable name for this report.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -147,29 +122,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; } } /** - * - * *
    * A human-readable name for this report.
    * 
* * 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 { @@ -180,8 +155,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int COLUMNS_FIELD_NUMBER = 3; private java.util.List columns_; /** - * - * *
    * The list of columns included in the report. This defines the schema of
    * the report results.
@@ -194,8 +167,6 @@ public java.util.List getColumnsList() {
     return columns_;
   }
   /**
-   *
-   *
    * 
    * The list of columns included in the report. This defines the schema of
    * the report results.
@@ -204,13 +175,11 @@ public java.util.List getColumnsList() {
    * repeated .google.cloud.channel.v1.Column columns = 3;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getColumnsOrBuilderList() {
     return columns_;
   }
   /**
-   *
-   *
    * 
    * The list of columns included in the report. This defines the schema of
    * the report results.
@@ -223,8 +192,6 @@ public int getColumnsCount() {
     return columns_.size();
   }
   /**
-   *
-   *
    * 
    * The list of columns included in the report. This defines the schema of
    * the report results.
@@ -237,8 +204,6 @@ public com.google.cloud.channel.v1.Column getColumns(int index) {
     return columns_.get(index);
   }
   /**
-   *
-   *
    * 
    * The list of columns included in the report. This defines the schema of
    * the report results.
@@ -247,22 +212,20 @@ public com.google.cloud.channel.v1.Column getColumns(int index) {
    * repeated .google.cloud.channel.v1.Column columns = 3;
    */
   @java.lang.Override
-  public com.google.cloud.channel.v1.ColumnOrBuilder getColumnsOrBuilder(int index) {
+  public com.google.cloud.channel.v1.ColumnOrBuilder getColumnsOrBuilder(
+      int index) {
     return columns_.get(index);
   }
 
   public static final int DESCRIPTION_FIELD_NUMBER = 4;
   private volatile java.lang.Object description_;
   /**
-   *
-   *
    * 
    * A description of other aspects of the report, such as the products
    * it supports.
    * 
* * string description = 4; - * * @return The description. */ @java.lang.Override @@ -271,30 +234,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; } } /** - * - * *
    * A description of other aspects of the report, such as the products
    * it supports.
    * 
* * string description = 4; - * * @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 { @@ -303,7 +266,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -315,7 +277,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -344,7 +307,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); } for (int i = 0; i < columns_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, columns_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, columns_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); @@ -357,17 +321,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.cloud.channel.v1.Report)) { return super.equals(obj); } com.google.cloud.channel.v1.Report other = (com.google.cloud.channel.v1.Report) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getColumnsList().equals(other.getColumnsList())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getColumnsList() + .equals(other.getColumnsList())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -394,103 +362,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.Report parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.Report parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Report parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.Report parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.channel.v1.Report parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Report parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Report parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Report parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Report 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.cloud.channel.v1.Report parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.Report parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.Report parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.Report parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.Report parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.Report prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The ID and description of a report that was used to generate report data.
    * For example, "GCP Daily Spend", "Google Workspace License Activity", etc.
@@ -498,32 +460,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.channel.v1.Report}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.Report)
       com.google.cloud.channel.v1.ReportOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.channel.v1.ReportsServiceProto
-          .internal_static_google_cloud_channel_v1_Report_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_Report_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ReportsServiceProto
-          .internal_static_google_cloud_channel_v1_Report_fieldAccessorTable
+      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_Report_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.Report.class,
-              com.google.cloud.channel.v1.Report.Builder.class);
+              com.google.cloud.channel.v1.Report.class, com.google.cloud.channel.v1.Report.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.Report.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -544,9 +507,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.channel.v1.ReportsServiceProto
-          .internal_static_google_cloud_channel_v1_Report_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_Report_descriptor;
     }
 
     @java.lang.Override
@@ -587,39 +550,38 @@ public com.google.cloud.channel.v1.Report 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.cloud.channel.v1.Report) {
-        return mergeFrom((com.google.cloud.channel.v1.Report) other);
+        return mergeFrom((com.google.cloud.channel.v1.Report)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -654,10 +616,9 @@ public Builder mergeFrom(com.google.cloud.channel.v1.Report other) {
             columnsBuilder_ = null;
             columns_ = other.columns_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            columnsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getColumnsFieldBuilder()
-                    : null;
+            columnsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getColumnsFieldBuilder() : null;
           } else {
             columnsBuilder_.addAllMessages(other.columns_);
           }
@@ -693,44 +654,40 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                com.google.cloud.channel.v1.Column m =
-                    input.readMessage(
-                        com.google.cloud.channel.v1.Column.parser(), extensionRegistry);
-                if (columnsBuilder_ == null) {
-                  ensureColumnsIsMutable();
-                  columns_.add(m);
-                } else {
-                  columnsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 26
-            case 34:
-              {
-                description_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              com.google.cloud.channel.v1.Column m =
+                  input.readMessage(
+                      com.google.cloud.channel.v1.Column.parser(),
+                      extensionRegistry);
+              if (columnsBuilder_ == null) {
+                ensureColumnsIsMutable();
+                columns_.add(m);
+              } else {
+                columnsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 26
+            case 34: {
+              description_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -740,29 +697,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
-     * Required. The report's resource name. Specifies the account and report used to
-     * generate report data. The report_id identifier is a UID
-     * (for example, `613bf59q`).
+     * Required. The report's resource name. Specifies the account and report used
+     * to generate report data. The report_id identifier is a UID (for example,
+     * `613bf59q`).
      * Name uses the format:
      * accounts/{account_id}/reports/{report_id}
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -771,25 +725,24 @@ public java.lang.String getName() { } } /** - * - * *
-     * Required. The report's resource name. Specifies the account and report used to
-     * generate report data. The report_id identifier is a UID
-     * (for example, `613bf59q`).
+     * Required. The report's resource name. Specifies the account and report used
+     * to generate report data. The report_id identifier is a UID (for example,
+     * `613bf59q`).
      * Name uses the format:
      * accounts/{account_id}/reports/{report_id}
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -797,73 +750,66 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
-     * Required. The report's resource name. Specifies the account and report used to
-     * generate report data. The report_id identifier is a UID
-     * (for example, `613bf59q`).
+     * Required. The report's resource name. Specifies the account and report used
+     * to generate report data. The report_id identifier is a UID (for example,
+     * `613bf59q`).
      * Name uses the format:
      * accounts/{account_id}/reports/{report_id}
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 report's resource name. Specifies the account and report used to
-     * generate report data. The report_id identifier is a UID
-     * (for example, `613bf59q`).
+     * Required. The report's resource name. Specifies the account and report used
+     * to generate report data. The report_id identifier is a UID (for example,
+     * `613bf59q`).
      * Name uses the format:
      * accounts/{account_id}/reports/{report_id}
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
-     * Required. The report's resource name. Specifies the account and report used to
-     * generate report data. The report_id identifier is a UID
-     * (for example, `613bf59q`).
+     * Required. The report's resource name. Specifies the account and report used
+     * to generate report data. The report_id identifier is a UID (for example,
+     * `613bf59q`).
      * Name uses the format:
      * accounts/{account_id}/reports/{report_id}
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -871,20 +817,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * A human-readable name for this report.
      * 
* * 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; @@ -893,21 +837,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * A human-readable name for this report.
      * 
* * 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 { @@ -915,85 +858,72 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * A human-readable name for this report.
      * 
* * 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; } /** - * - * *
      * A human-readable name for this report.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * A human-readable name for this report.
      * 
* * 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; } private java.util.List columns_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureColumnsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { columns_ = new java.util.ArrayList(columns_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Column, - com.google.cloud.channel.v1.Column.Builder, - com.google.cloud.channel.v1.ColumnOrBuilder> - columnsBuilder_; + com.google.cloud.channel.v1.Column, com.google.cloud.channel.v1.Column.Builder, com.google.cloud.channel.v1.ColumnOrBuilder> columnsBuilder_; /** - * - * *
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -1009,8 +939,6 @@ public java.util.List getColumnsList() {
       }
     }
     /**
-     *
-     *
      * 
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -1026,8 +954,6 @@ public int getColumnsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -1043,8 +969,6 @@ public com.google.cloud.channel.v1.Column getColumns(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -1052,7 +976,8 @@ public com.google.cloud.channel.v1.Column getColumns(int index) {
      *
      * repeated .google.cloud.channel.v1.Column columns = 3;
      */
-    public Builder setColumns(int index, com.google.cloud.channel.v1.Column value) {
+    public Builder setColumns(
+        int index, com.google.cloud.channel.v1.Column value) {
       if (columnsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1066,8 +991,6 @@ public Builder setColumns(int index, com.google.cloud.channel.v1.Column value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -1087,8 +1010,6 @@ public Builder setColumns(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -1110,8 +1031,6 @@ public Builder addColumns(com.google.cloud.channel.v1.Column value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -1119,7 +1038,8 @@ public Builder addColumns(com.google.cloud.channel.v1.Column value) {
      *
      * repeated .google.cloud.channel.v1.Column columns = 3;
      */
-    public Builder addColumns(int index, com.google.cloud.channel.v1.Column value) {
+    public Builder addColumns(
+        int index, com.google.cloud.channel.v1.Column value) {
       if (columnsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1133,8 +1053,6 @@ public Builder addColumns(int index, com.google.cloud.channel.v1.Column value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -1142,7 +1060,8 @@ public Builder addColumns(int index, com.google.cloud.channel.v1.Column value) {
      *
      * repeated .google.cloud.channel.v1.Column columns = 3;
      */
-    public Builder addColumns(com.google.cloud.channel.v1.Column.Builder builderForValue) {
+    public Builder addColumns(
+        com.google.cloud.channel.v1.Column.Builder builderForValue) {
       if (columnsBuilder_ == null) {
         ensureColumnsIsMutable();
         columns_.add(builderForValue.build());
@@ -1153,8 +1072,6 @@ public Builder addColumns(com.google.cloud.channel.v1.Column.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -1174,8 +1091,6 @@ public Builder addColumns(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -1187,7 +1102,8 @@ public Builder addAllColumns(
         java.lang.Iterable values) {
       if (columnsBuilder_ == null) {
         ensureColumnsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, columns_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, columns_);
         onChanged();
       } else {
         columnsBuilder_.addAllMessages(values);
@@ -1195,8 +1111,6 @@ public Builder addAllColumns(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -1215,8 +1129,6 @@ public Builder clearColumns() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -1235,8 +1147,6 @@ public Builder removeColumns(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -1244,12 +1154,11 @@ public Builder removeColumns(int index) {
      *
      * repeated .google.cloud.channel.v1.Column columns = 3;
      */
-    public com.google.cloud.channel.v1.Column.Builder getColumnsBuilder(int index) {
+    public com.google.cloud.channel.v1.Column.Builder getColumnsBuilder(
+        int index) {
       return getColumnsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -1257,16 +1166,14 @@ public com.google.cloud.channel.v1.Column.Builder getColumnsBuilder(int index) {
      *
      * repeated .google.cloud.channel.v1.Column columns = 3;
      */
-    public com.google.cloud.channel.v1.ColumnOrBuilder getColumnsOrBuilder(int index) {
+    public com.google.cloud.channel.v1.ColumnOrBuilder getColumnsOrBuilder(
+        int index) {
       if (columnsBuilder_ == null) {
-        return columns_.get(index);
-      } else {
+        return columns_.get(index);  } else {
         return columnsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -1274,8 +1181,8 @@ public com.google.cloud.channel.v1.ColumnOrBuilder getColumnsOrBuilder(int index
      *
      * repeated .google.cloud.channel.v1.Column columns = 3;
      */
-    public java.util.List
-        getColumnsOrBuilderList() {
+    public java.util.List 
+         getColumnsOrBuilderList() {
       if (columnsBuilder_ != null) {
         return columnsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1283,8 +1190,6 @@ public com.google.cloud.channel.v1.ColumnOrBuilder getColumnsOrBuilder(int index
       }
     }
     /**
-     *
-     *
      * 
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -1293,12 +1198,10 @@ public com.google.cloud.channel.v1.ColumnOrBuilder getColumnsOrBuilder(int index
      * repeated .google.cloud.channel.v1.Column columns = 3;
      */
     public com.google.cloud.channel.v1.Column.Builder addColumnsBuilder() {
-      return getColumnsFieldBuilder()
-          .addBuilder(com.google.cloud.channel.v1.Column.getDefaultInstance());
+      return getColumnsFieldBuilder().addBuilder(
+          com.google.cloud.channel.v1.Column.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -1306,13 +1209,12 @@ public com.google.cloud.channel.v1.Column.Builder addColumnsBuilder() {
      *
      * repeated .google.cloud.channel.v1.Column columns = 3;
      */
-    public com.google.cloud.channel.v1.Column.Builder addColumnsBuilder(int index) {
-      return getColumnsFieldBuilder()
-          .addBuilder(index, com.google.cloud.channel.v1.Column.getDefaultInstance());
+    public com.google.cloud.channel.v1.Column.Builder addColumnsBuilder(
+        int index) {
+      return getColumnsFieldBuilder().addBuilder(
+          index, com.google.cloud.channel.v1.Column.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -1320,22 +1222,20 @@ public com.google.cloud.channel.v1.Column.Builder addColumnsBuilder(int index) {
      *
      * repeated .google.cloud.channel.v1.Column columns = 3;
      */
-    public java.util.List getColumnsBuilderList() {
+    public java.util.List 
+         getColumnsBuilderList() {
       return getColumnsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.channel.v1.Column,
-            com.google.cloud.channel.v1.Column.Builder,
-            com.google.cloud.channel.v1.ColumnOrBuilder>
+        com.google.cloud.channel.v1.Column, com.google.cloud.channel.v1.Column.Builder, com.google.cloud.channel.v1.ColumnOrBuilder> 
         getColumnsFieldBuilder() {
       if (columnsBuilder_ == null) {
-        columnsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.channel.v1.Column,
-                com.google.cloud.channel.v1.Column.Builder,
-                com.google.cloud.channel.v1.ColumnOrBuilder>(
-                columns_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        columnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.channel.v1.Column, com.google.cloud.channel.v1.Column.Builder, com.google.cloud.channel.v1.ColumnOrBuilder>(
+                columns_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         columns_ = null;
       }
       return columnsBuilder_;
@@ -1343,21 +1243,19 @@ public java.util.List getColumnsBuil
 
     private java.lang.Object description_ = "";
     /**
-     *
-     *
      * 
      * A description of other aspects of the report, such as the products
      * it supports.
      * 
* * string description = 4; - * * @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; @@ -1366,22 +1264,21 @@ public java.lang.String getDescription() { } } /** - * - * *
      * A description of other aspects of the report, such as the products
      * it supports.
      * 
* * string description = 4; - * * @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 { @@ -1389,71 +1286,64 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * A description of other aspects of the report, such as the products
      * it supports.
      * 
* * string description = 4; - * * @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; } /** - * - * *
      * A description of other aspects of the report, such as the products
      * it supports.
      * 
* * string description = 4; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * A description of other aspects of the report, such as the products
      * it supports.
      * 
* * string description = 4; - * * @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; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1463,12 +1353,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.Report) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.Report) private static final com.google.cloud.channel.v1.Report DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.Report(); } @@ -1477,27 +1367,27 @@ public static com.google.cloud.channel.v1.Report getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Report parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Report parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1512,4 +1402,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Report getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJob.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJob.java similarity index 68% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJob.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJob.java index 6afec865fef9..4deac184b6c3 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJob.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJob.java @@ -1,78 +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/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; /** - * - * *
  * The result of a [RunReportJob][] operation. Contains the name to use in
- * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job] and the status of the operation.
+ * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
+ * and the status of the operation.
  * 
* * Protobuf type {@code google.cloud.channel.v1.ReportJob} */ -public final class ReportJob extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReportJob extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ReportJob) ReportJobOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReportJob.newBuilder() to construct. private ReportJob(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReportJob() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReportJob(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_ReportJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_ReportJob_fieldAccessorTable + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ReportJob.class, - com.google.cloud.channel.v1.ReportJob.Builder.class); + com.google.cloud.channel.v1.ReportJob.class, com.google.cloud.channel.v1.ReportJob.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of a report job.
    * Name uses the format:
@@ -80,7 +60,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -89,15 +68,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of a report job.
    * Name uses the format:
@@ -105,15 +83,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -124,14 +103,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REPORT_STATUS_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.ReportStatus reportStatus_; /** - * - * *
    * The current status of report generation.
    * 
* * .google.cloud.channel.v1.ReportStatus report_status = 2; - * * @return Whether the reportStatus field is set. */ @java.lang.Override @@ -139,25 +115,18 @@ public boolean hasReportStatus() { return reportStatus_ != null; } /** - * - * *
    * The current status of report generation.
    * 
* * .google.cloud.channel.v1.ReportStatus report_status = 2; - * * @return The reportStatus. */ @java.lang.Override public com.google.cloud.channel.v1.ReportStatus getReportStatus() { - return reportStatus_ == null - ? com.google.cloud.channel.v1.ReportStatus.getDefaultInstance() - : reportStatus_; + return reportStatus_ == null ? com.google.cloud.channel.v1.ReportStatus.getDefaultInstance() : reportStatus_; } /** - * - * *
    * The current status of report generation.
    * 
@@ -170,7 +139,6 @@ public com.google.cloud.channel.v1.ReportStatusOrBuilder getReportStatusOrBuilde } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -202,7 +171,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (reportStatus_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReportStatus()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getReportStatus()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -212,17 +182,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.cloud.channel.v1.ReportJob)) { return super.equals(obj); } com.google.cloud.channel.v1.ReportJob other = (com.google.cloud.channel.v1.ReportJob) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasReportStatus() != other.hasReportStatus()) return false; if (hasReportStatus()) { - if (!getReportStatus().equals(other.getReportStatus())) return false; + if (!getReportStatus() + .equals(other.getReportStatus())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -246,136 +218,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ReportJob parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.ReportJob parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ReportJob parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.ReportJob parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.channel.v1.ReportJob parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ReportJob parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ReportJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ReportJob parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ReportJob 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.cloud.channel.v1.ReportJob parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ReportJob parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ReportJob parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ReportJob parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ReportJob parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ReportJob prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The result of a [RunReportJob][] operation. Contains the name to use in
-   * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job] and the status of the operation.
+   * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
+   * and the status of the operation.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ReportJob} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ReportJob) com.google.cloud.channel.v1.ReportJobOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_ReportJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_ReportJob_fieldAccessorTable + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ReportJob.class, - com.google.cloud.channel.v1.ReportJob.Builder.class); + com.google.cloud.channel.v1.ReportJob.class, com.google.cloud.channel.v1.ReportJob.Builder.class); } // Construct using com.google.cloud.channel.v1.ReportJob.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -391,9 +359,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_ReportJob_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportJob_descriptor; } @java.lang.Override @@ -412,8 +380,7 @@ public com.google.cloud.channel.v1.ReportJob build() { @java.lang.Override public com.google.cloud.channel.v1.ReportJob buildPartial() { - com.google.cloud.channel.v1.ReportJob result = - new com.google.cloud.channel.v1.ReportJob(this); + com.google.cloud.channel.v1.ReportJob result = new com.google.cloud.channel.v1.ReportJob(this); result.name_ = name_; if (reportStatusBuilder_ == null) { result.reportStatus_ = reportStatus_; @@ -428,39 +395,38 @@ public com.google.cloud.channel.v1.ReportJob 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.cloud.channel.v1.ReportJob) { - return mergeFrom((com.google.cloud.channel.v1.ReportJob) other); + return mergeFrom((com.google.cloud.channel.v1.ReportJob)other); } else { super.mergeFrom(other); return this; @@ -502,25 +468,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getReportStatusFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getReportStatusFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -533,8 +498,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of a report job.
      * Name uses the format:
@@ -542,13 +505,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -557,8 +520,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of a report job.
      * Name uses the format:
@@ -566,14 +527,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -581,8 +543,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of a report job.
      * Name uses the format:
@@ -590,22 +550,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 a report job.
      * Name uses the format:
@@ -613,18 +571,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of a report job.
      * Name uses the format:
@@ -632,16 +587,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -649,47 +604,34 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.channel.v1.ReportStatus reportStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ReportStatus, - com.google.cloud.channel.v1.ReportStatus.Builder, - com.google.cloud.channel.v1.ReportStatusOrBuilder> - reportStatusBuilder_; + com.google.cloud.channel.v1.ReportStatus, com.google.cloud.channel.v1.ReportStatus.Builder, com.google.cloud.channel.v1.ReportStatusOrBuilder> reportStatusBuilder_; /** - * - * *
      * The current status of report generation.
      * 
* * .google.cloud.channel.v1.ReportStatus report_status = 2; - * * @return Whether the reportStatus field is set. */ public boolean hasReportStatus() { return reportStatusBuilder_ != null || reportStatus_ != null; } /** - * - * *
      * The current status of report generation.
      * 
* * .google.cloud.channel.v1.ReportStatus report_status = 2; - * * @return The reportStatus. */ public com.google.cloud.channel.v1.ReportStatus getReportStatus() { if (reportStatusBuilder_ == null) { - return reportStatus_ == null - ? com.google.cloud.channel.v1.ReportStatus.getDefaultInstance() - : reportStatus_; + return reportStatus_ == null ? com.google.cloud.channel.v1.ReportStatus.getDefaultInstance() : reportStatus_; } else { return reportStatusBuilder_.getMessage(); } } /** - * - * *
      * The current status of report generation.
      * 
@@ -710,8 +652,6 @@ public Builder setReportStatus(com.google.cloud.channel.v1.ReportStatus value) { return this; } /** - * - * *
      * The current status of report generation.
      * 
@@ -730,8 +670,6 @@ public Builder setReportStatus( return this; } /** - * - * *
      * The current status of report generation.
      * 
@@ -742,9 +680,7 @@ public Builder mergeReportStatus(com.google.cloud.channel.v1.ReportStatus value) if (reportStatusBuilder_ == null) { if (reportStatus_ != null) { reportStatus_ = - com.google.cloud.channel.v1.ReportStatus.newBuilder(reportStatus_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.ReportStatus.newBuilder(reportStatus_).mergeFrom(value).buildPartial(); } else { reportStatus_ = value; } @@ -756,8 +692,6 @@ public Builder mergeReportStatus(com.google.cloud.channel.v1.ReportStatus value) return this; } /** - * - * *
      * The current status of report generation.
      * 
@@ -776,8 +710,6 @@ public Builder clearReportStatus() { return this; } /** - * - * *
      * The current status of report generation.
      * 
@@ -785,13 +717,11 @@ public Builder clearReportStatus() { * .google.cloud.channel.v1.ReportStatus report_status = 2; */ public com.google.cloud.channel.v1.ReportStatus.Builder getReportStatusBuilder() { - + onChanged(); return getReportStatusFieldBuilder().getBuilder(); } /** - * - * *
      * The current status of report generation.
      * 
@@ -802,14 +732,11 @@ public com.google.cloud.channel.v1.ReportStatusOrBuilder getReportStatusOrBuilde if (reportStatusBuilder_ != null) { return reportStatusBuilder_.getMessageOrBuilder(); } else { - return reportStatus_ == null - ? com.google.cloud.channel.v1.ReportStatus.getDefaultInstance() - : reportStatus_; + return reportStatus_ == null ? + com.google.cloud.channel.v1.ReportStatus.getDefaultInstance() : reportStatus_; } } /** - * - * *
      * The current status of report generation.
      * 
@@ -817,24 +744,21 @@ public com.google.cloud.channel.v1.ReportStatusOrBuilder getReportStatusOrBuilde * .google.cloud.channel.v1.ReportStatus report_status = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ReportStatus, - com.google.cloud.channel.v1.ReportStatus.Builder, - com.google.cloud.channel.v1.ReportStatusOrBuilder> + com.google.cloud.channel.v1.ReportStatus, com.google.cloud.channel.v1.ReportStatus.Builder, com.google.cloud.channel.v1.ReportStatusOrBuilder> getReportStatusFieldBuilder() { if (reportStatusBuilder_ == null) { - reportStatusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ReportStatus, - com.google.cloud.channel.v1.ReportStatus.Builder, - com.google.cloud.channel.v1.ReportStatusOrBuilder>( - getReportStatus(), getParentForChildren(), isClean()); + reportStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.ReportStatus, com.google.cloud.channel.v1.ReportStatus.Builder, com.google.cloud.channel.v1.ReportStatusOrBuilder>( + getReportStatus(), + getParentForChildren(), + isClean()); reportStatus_ = null; } return reportStatusBuilder_; } - @java.lang.Override - 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 +768,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ReportJob) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ReportJob) private static final com.google.cloud.channel.v1.ReportJob DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ReportJob(); } @@ -858,27 +782,27 @@ public static com.google.cloud.channel.v1.ReportJob getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReportJob parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReportJob parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -893,4 +817,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ReportJob getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJobName.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJobName.java similarity index 100% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJobName.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJobName.java diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJobOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJobOrBuilder.java similarity index 67% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJobOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJobOrBuilder.java index 3c055c6eabd1..b2bdb5a324bf 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJobOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJobOrBuilder.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/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; -public interface ReportJobOrBuilder - extends +public interface ReportJobOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ReportJob) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of a report job.
    * Name uses the format:
@@ -33,13 +15,10 @@ public interface ReportJobOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of a report job.
    * Name uses the format:
@@ -47,38 +26,30 @@ public interface ReportJobOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The current status of report generation.
    * 
* * .google.cloud.channel.v1.ReportStatus report_status = 2; - * * @return Whether the reportStatus field is set. */ boolean hasReportStatus(); /** - * - * *
    * The current status of report generation.
    * 
* * .google.cloud.channel.v1.ReportStatus report_status = 2; - * * @return The reportStatus. */ com.google.cloud.channel.v1.ReportStatus getReportStatus(); /** - * - * *
    * The current status of report generation.
    * 
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportName.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportName.java similarity index 100% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportName.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportName.java diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportOrBuilder.java similarity index 69% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportOrBuilder.java index a46fa3bc3af3..000d582471d3 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportOrBuilder.java @@ -1,89 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; -public interface ReportOrBuilder - extends +public interface ReportOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Report) com.google.protobuf.MessageOrBuilder { /** - * - * *
-   * Required. The report's resource name. Specifies the account and report used to
-   * generate report data. The report_id identifier is a UID
-   * (for example, `613bf59q`).
+   * Required. The report's resource name. Specifies the account and report used
+   * to generate report data. The report_id identifier is a UID (for example,
+   * `613bf59q`).
    * Name uses the format:
    * accounts/{account_id}/reports/{report_id}
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
-   * Required. The report's resource name. Specifies the account and report used to
-   * generate report data. The report_id identifier is a UID
-   * (for example, `613bf59q`).
+   * Required. The report's resource name. Specifies the account and report used
+   * to generate report data. The report_id identifier is a UID (for example,
+   * `613bf59q`).
    * Name uses the format:
    * accounts/{account_id}/reports/{report_id}
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * A human-readable name for this report.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * A human-readable name for this report.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * The list of columns included in the report. This defines the schema of
    * the report results.
@@ -91,10 +63,9 @@ public interface ReportOrBuilder
    *
    * repeated .google.cloud.channel.v1.Column columns = 3;
    */
-  java.util.List getColumnsList();
+  java.util.List 
+      getColumnsList();
   /**
-   *
-   *
    * 
    * The list of columns included in the report. This defines the schema of
    * the report results.
@@ -104,8 +75,6 @@ public interface ReportOrBuilder
    */
   com.google.cloud.channel.v1.Column getColumns(int index);
   /**
-   *
-   *
    * 
    * The list of columns included in the report. This defines the schema of
    * the report results.
@@ -115,8 +84,6 @@ public interface ReportOrBuilder
    */
   int getColumnsCount();
   /**
-   *
-   *
    * 
    * The list of columns included in the report. This defines the schema of
    * the report results.
@@ -124,10 +91,9 @@ public interface ReportOrBuilder
    *
    * repeated .google.cloud.channel.v1.Column columns = 3;
    */
-  java.util.List getColumnsOrBuilderList();
+  java.util.List 
+      getColumnsOrBuilderList();
   /**
-   *
-   *
    * 
    * The list of columns included in the report. This defines the schema of
    * the report results.
@@ -135,32 +101,28 @@ public interface ReportOrBuilder
    *
    * repeated .google.cloud.channel.v1.Column columns = 3;
    */
-  com.google.cloud.channel.v1.ColumnOrBuilder getColumnsOrBuilder(int index);
+  com.google.cloud.channel.v1.ColumnOrBuilder getColumnsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * A description of other aspects of the report, such as the products
    * it supports.
    * 
* * string description = 4; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * A description of other aspects of the report, such as the products
    * it supports.
    * 
* * string description = 4; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportResultsMetadata.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportResultsMetadata.java similarity index 72% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportResultsMetadata.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportResultsMetadata.java index 3a4aa1915148..c50ed6a06c91 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportResultsMetadata.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportResultsMetadata.java @@ -1,83 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; /** - * - * *
  * The features describing the data. Returned by
- * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob] and
+ * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob]
+ * and
  * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults].
  * 
* * Protobuf type {@code google.cloud.channel.v1.ReportResultsMetadata} */ -public final class ReportResultsMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReportResultsMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ReportResultsMetadata) ReportResultsMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReportResultsMetadata.newBuilder() to construct. private ReportResultsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ReportResultsMetadata() {} + private ReportResultsMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReportResultsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_ReportResultsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportResultsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_ReportResultsMetadata_fieldAccessorTable + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportResultsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ReportResultsMetadata.class, - com.google.cloud.channel.v1.ReportResultsMetadata.Builder.class); + com.google.cloud.channel.v1.ReportResultsMetadata.class, com.google.cloud.channel.v1.ReportResultsMetadata.Builder.class); } public static final int REPORT_FIELD_NUMBER = 1; private com.google.cloud.channel.v1.Report report_; /** - * - * *
    * Details of the completed report.
    * 
* * .google.cloud.channel.v1.Report report = 1; - * * @return Whether the report field is set. */ @java.lang.Override @@ -85,14 +65,11 @@ public boolean hasReport() { return report_ != null; } /** - * - * *
    * Details of the completed report.
    * 
* * .google.cloud.channel.v1.Report report = 1; - * * @return The report. */ @java.lang.Override @@ -100,8 +77,6 @@ public com.google.cloud.channel.v1.Report getReport() { return report_ == null ? com.google.cloud.channel.v1.Report.getDefaultInstance() : report_; } /** - * - * *
    * Details of the completed report.
    * 
@@ -116,14 +91,11 @@ public com.google.cloud.channel.v1.ReportOrBuilder getReportOrBuilder() { public static final int ROW_COUNT_FIELD_NUMBER = 2; private long rowCount_; /** - * - * *
    * The total number of rows of data in the final report.
    * 
* * int64 row_count = 2; - * * @return The rowCount. */ @java.lang.Override @@ -134,14 +106,11 @@ public long getRowCount() { public static final int DATE_RANGE_FIELD_NUMBER = 3; private com.google.cloud.channel.v1.DateRange dateRange_; /** - * - * *
    * The date range of reported usage.
    * 
* * .google.cloud.channel.v1.DateRange date_range = 3; - * * @return Whether the dateRange field is set. */ @java.lang.Override @@ -149,25 +118,18 @@ public boolean hasDateRange() { return dateRange_ != null; } /** - * - * *
    * The date range of reported usage.
    * 
* * .google.cloud.channel.v1.DateRange date_range = 3; - * * @return The dateRange. */ @java.lang.Override public com.google.cloud.channel.v1.DateRange getDateRange() { - return dateRange_ == null - ? com.google.cloud.channel.v1.DateRange.getDefaultInstance() - : dateRange_; + return dateRange_ == null ? com.google.cloud.channel.v1.DateRange.getDefaultInstance() : dateRange_; } /** - * - * *
    * The date range of reported usage.
    * 
@@ -182,8 +144,6 @@ public com.google.cloud.channel.v1.DateRangeOrBuilder getDateRangeOrBuilder() { public static final int PRECEDING_DATE_RANGE_FIELD_NUMBER = 4; private com.google.cloud.channel.v1.DateRange precedingDateRange_; /** - * - * *
    * The usage dates immediately preceding `date_range` with the same duration.
    * Use this to calculate trending usage and costs. This is only populated if
@@ -193,7 +153,6 @@ public com.google.cloud.channel.v1.DateRangeOrBuilder getDateRangeOrBuilder() {
    * 
* * .google.cloud.channel.v1.DateRange preceding_date_range = 4; - * * @return Whether the precedingDateRange field is set. */ @java.lang.Override @@ -201,8 +160,6 @@ public boolean hasPrecedingDateRange() { return precedingDateRange_ != null; } /** - * - * *
    * The usage dates immediately preceding `date_range` with the same duration.
    * Use this to calculate trending usage and costs. This is only populated if
@@ -212,18 +169,13 @@ public boolean hasPrecedingDateRange() {
    * 
* * .google.cloud.channel.v1.DateRange preceding_date_range = 4; - * * @return The precedingDateRange. */ @java.lang.Override public com.google.cloud.channel.v1.DateRange getPrecedingDateRange() { - return precedingDateRange_ == null - ? com.google.cloud.channel.v1.DateRange.getDefaultInstance() - : precedingDateRange_; + return precedingDateRange_ == null ? com.google.cloud.channel.v1.DateRange.getDefaultInstance() : precedingDateRange_; } /** - * - * *
    * The usage dates immediately preceding `date_range` with the same duration.
    * Use this to calculate trending usage and costs. This is only populated if
@@ -240,7 +192,6 @@ public com.google.cloud.channel.v1.DateRangeOrBuilder getPrecedingDateRangeOrBui
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -252,7 +203,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (report_ != null) {
       output.writeMessage(1, getReport());
     }
@@ -275,16 +227,20 @@ public int getSerializedSize() {
 
     size = 0;
     if (report_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReport());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getReport());
     }
     if (rowCount_ != 0L) {
-      size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, rowCount_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt64Size(2, rowCount_);
     }
     if (dateRange_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDateRange());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getDateRange());
     }
     if (precedingDateRange_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPrecedingDateRange());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getPrecedingDateRange());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -294,26 +250,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.cloud.channel.v1.ReportResultsMetadata)) {
       return super.equals(obj);
     }
-    com.google.cloud.channel.v1.ReportResultsMetadata other =
-        (com.google.cloud.channel.v1.ReportResultsMetadata) obj;
+    com.google.cloud.channel.v1.ReportResultsMetadata other = (com.google.cloud.channel.v1.ReportResultsMetadata) obj;
 
     if (hasReport() != other.hasReport()) return false;
     if (hasReport()) {
-      if (!getReport().equals(other.getReport())) return false;
+      if (!getReport()
+          .equals(other.getReport())) return false;
     }
-    if (getRowCount() != other.getRowCount()) return false;
+    if (getRowCount()
+        != other.getRowCount()) return false;
     if (hasDateRange() != other.hasDateRange()) return false;
     if (hasDateRange()) {
-      if (!getDateRange().equals(other.getDateRange())) return false;
+      if (!getDateRange()
+          .equals(other.getDateRange())) return false;
     }
     if (hasPrecedingDateRange() != other.hasPrecedingDateRange()) return false;
     if (hasPrecedingDateRange()) {
-      if (!getPrecedingDateRange().equals(other.getPrecedingDateRange())) return false;
+      if (!getPrecedingDateRange()
+          .equals(other.getPrecedingDateRange())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -331,7 +290,8 @@ public int hashCode() {
       hash = (53 * hash) + getReport().hashCode();
     }
     hash = (37 * hash) + ROW_COUNT_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowCount());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+        getRowCount());
     if (hasDateRange()) {
       hash = (37 * hash) + DATE_RANGE_FIELD_NUMBER;
       hash = (53 * hash) + getDateRange().hashCode();
@@ -346,137 +306,132 @@ public int hashCode() {
   }
 
   public static com.google.cloud.channel.v1.ReportResultsMetadata parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.channel.v1.ReportResultsMetadata parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.channel.v1.ReportResultsMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.channel.v1.ReportResultsMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.channel.v1.ReportResultsMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.channel.v1.ReportResultsMetadata parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.channel.v1.ReportResultsMetadata parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.channel.v1.ReportResultsMetadata parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.channel.v1.ReportResultsMetadata parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.channel.v1.ReportResultsMetadata parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.channel.v1.ReportResultsMetadata parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.channel.v1.ReportResultsMetadata parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.channel.v1.ReportResultsMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.channel.v1.ReportResultsMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.channel.v1.ReportResultsMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The features describing the data. Returned by
-   * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob] and
+   * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob]
+   * and
    * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults].
    * 
* * Protobuf type {@code google.cloud.channel.v1.ReportResultsMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ReportResultsMetadata) com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_ReportResultsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportResultsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_ReportResultsMetadata_fieldAccessorTable + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportResultsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ReportResultsMetadata.class, - com.google.cloud.channel.v1.ReportResultsMetadata.Builder.class); + com.google.cloud.channel.v1.ReportResultsMetadata.class, com.google.cloud.channel.v1.ReportResultsMetadata.Builder.class); } // Construct using com.google.cloud.channel.v1.ReportResultsMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -504,9 +459,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_ReportResultsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportResultsMetadata_descriptor; } @java.lang.Override @@ -525,8 +480,7 @@ public com.google.cloud.channel.v1.ReportResultsMetadata build() { @java.lang.Override public com.google.cloud.channel.v1.ReportResultsMetadata buildPartial() { - com.google.cloud.channel.v1.ReportResultsMetadata result = - new com.google.cloud.channel.v1.ReportResultsMetadata(this); + com.google.cloud.channel.v1.ReportResultsMetadata result = new com.google.cloud.channel.v1.ReportResultsMetadata(this); if (reportBuilder_ == null) { result.report_ = report_; } else { @@ -551,39 +505,38 @@ public com.google.cloud.channel.v1.ReportResultsMetadata 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.cloud.channel.v1.ReportResultsMetadata) { - return mergeFrom((com.google.cloud.channel.v1.ReportResultsMetadata) other); + return mergeFrom((com.google.cloud.channel.v1.ReportResultsMetadata)other); } else { super.mergeFrom(other); return this; @@ -591,8 +544,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ReportResultsMetadata other) { - if (other == com.google.cloud.channel.v1.ReportResultsMetadata.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.ReportResultsMetadata.getDefaultInstance()) return this; if (other.hasReport()) { mergeReport(other.getReport()); } @@ -631,38 +583,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getReportFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 16: - { - rowCount_ = input.readInt64(); - - break; - } // case 16 - case 26: - { - input.readMessage(getDateRangeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 34: - { - input.readMessage( - getPrecedingDateRangeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getReportFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 16: { + rowCount_ = input.readInt64(); + + break; + } // case 16 + case 26: { + input.readMessage( + getDateRangeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 34: { + input.readMessage( + getPrecedingDateRangeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -675,33 +627,24 @@ public Builder mergeFrom( private com.google.cloud.channel.v1.Report report_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Report, - com.google.cloud.channel.v1.Report.Builder, - com.google.cloud.channel.v1.ReportOrBuilder> - reportBuilder_; + com.google.cloud.channel.v1.Report, com.google.cloud.channel.v1.Report.Builder, com.google.cloud.channel.v1.ReportOrBuilder> reportBuilder_; /** - * - * *
      * Details of the completed report.
      * 
* * .google.cloud.channel.v1.Report report = 1; - * * @return Whether the report field is set. */ public boolean hasReport() { return reportBuilder_ != null || report_ != null; } /** - * - * *
      * Details of the completed report.
      * 
* * .google.cloud.channel.v1.Report report = 1; - * * @return The report. */ public com.google.cloud.channel.v1.Report getReport() { @@ -712,8 +655,6 @@ public com.google.cloud.channel.v1.Report getReport() { } } /** - * - * *
      * Details of the completed report.
      * 
@@ -734,15 +675,14 @@ public Builder setReport(com.google.cloud.channel.v1.Report value) { return this; } /** - * - * *
      * Details of the completed report.
      * 
* * .google.cloud.channel.v1.Report report = 1; */ - public Builder setReport(com.google.cloud.channel.v1.Report.Builder builderForValue) { + public Builder setReport( + com.google.cloud.channel.v1.Report.Builder builderForValue) { if (reportBuilder_ == null) { report_ = builderForValue.build(); onChanged(); @@ -753,8 +693,6 @@ public Builder setReport(com.google.cloud.channel.v1.Report.Builder builderForVa return this; } /** - * - * *
      * Details of the completed report.
      * 
@@ -765,9 +703,7 @@ public Builder mergeReport(com.google.cloud.channel.v1.Report value) { if (reportBuilder_ == null) { if (report_ != null) { report_ = - com.google.cloud.channel.v1.Report.newBuilder(report_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.Report.newBuilder(report_).mergeFrom(value).buildPartial(); } else { report_ = value; } @@ -779,8 +715,6 @@ public Builder mergeReport(com.google.cloud.channel.v1.Report value) { return this; } /** - * - * *
      * Details of the completed report.
      * 
@@ -799,8 +733,6 @@ public Builder clearReport() { return this; } /** - * - * *
      * Details of the completed report.
      * 
@@ -808,13 +740,11 @@ public Builder clearReport() { * .google.cloud.channel.v1.Report report = 1; */ public com.google.cloud.channel.v1.Report.Builder getReportBuilder() { - + onChanged(); return getReportFieldBuilder().getBuilder(); } /** - * - * *
      * Details of the completed report.
      * 
@@ -825,12 +755,11 @@ public com.google.cloud.channel.v1.ReportOrBuilder getReportOrBuilder() { if (reportBuilder_ != null) { return reportBuilder_.getMessageOrBuilder(); } else { - return report_ == null ? com.google.cloud.channel.v1.Report.getDefaultInstance() : report_; + return report_ == null ? + com.google.cloud.channel.v1.Report.getDefaultInstance() : report_; } } /** - * - * *
      * Details of the completed report.
      * 
@@ -838,32 +767,26 @@ public com.google.cloud.channel.v1.ReportOrBuilder getReportOrBuilder() { * .google.cloud.channel.v1.Report report = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Report, - com.google.cloud.channel.v1.Report.Builder, - com.google.cloud.channel.v1.ReportOrBuilder> + com.google.cloud.channel.v1.Report, com.google.cloud.channel.v1.Report.Builder, com.google.cloud.channel.v1.ReportOrBuilder> getReportFieldBuilder() { if (reportBuilder_ == null) { - reportBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Report, - com.google.cloud.channel.v1.Report.Builder, - com.google.cloud.channel.v1.ReportOrBuilder>( - getReport(), getParentForChildren(), isClean()); + reportBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Report, com.google.cloud.channel.v1.Report.Builder, com.google.cloud.channel.v1.ReportOrBuilder>( + getReport(), + getParentForChildren(), + isClean()); report_ = null; } return reportBuilder_; } - private long rowCount_; + private long rowCount_ ; /** - * - * *
      * The total number of rows of data in the final report.
      * 
* * int64 row_count = 2; - * * @return The rowCount. */ @java.lang.Override @@ -871,36 +794,30 @@ public long getRowCount() { return rowCount_; } /** - * - * *
      * The total number of rows of data in the final report.
      * 
* * int64 row_count = 2; - * * @param value The rowCount to set. * @return This builder for chaining. */ public Builder setRowCount(long value) { - + rowCount_ = value; onChanged(); return this; } /** - * - * *
      * The total number of rows of data in the final report.
      * 
* * int64 row_count = 2; - * * @return This builder for chaining. */ public Builder clearRowCount() { - + rowCount_ = 0L; onChanged(); return this; @@ -908,47 +825,34 @@ public Builder clearRowCount() { private com.google.cloud.channel.v1.DateRange dateRange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.DateRange, - com.google.cloud.channel.v1.DateRange.Builder, - com.google.cloud.channel.v1.DateRangeOrBuilder> - dateRangeBuilder_; + com.google.cloud.channel.v1.DateRange, com.google.cloud.channel.v1.DateRange.Builder, com.google.cloud.channel.v1.DateRangeOrBuilder> dateRangeBuilder_; /** - * - * *
      * The date range of reported usage.
      * 
* * .google.cloud.channel.v1.DateRange date_range = 3; - * * @return Whether the dateRange field is set. */ public boolean hasDateRange() { return dateRangeBuilder_ != null || dateRange_ != null; } /** - * - * *
      * The date range of reported usage.
      * 
* * .google.cloud.channel.v1.DateRange date_range = 3; - * * @return The dateRange. */ public com.google.cloud.channel.v1.DateRange getDateRange() { if (dateRangeBuilder_ == null) { - return dateRange_ == null - ? com.google.cloud.channel.v1.DateRange.getDefaultInstance() - : dateRange_; + return dateRange_ == null ? com.google.cloud.channel.v1.DateRange.getDefaultInstance() : dateRange_; } else { return dateRangeBuilder_.getMessage(); } } /** - * - * *
      * The date range of reported usage.
      * 
@@ -969,15 +873,14 @@ public Builder setDateRange(com.google.cloud.channel.v1.DateRange value) { return this; } /** - * - * *
      * The date range of reported usage.
      * 
* * .google.cloud.channel.v1.DateRange date_range = 3; */ - public Builder setDateRange(com.google.cloud.channel.v1.DateRange.Builder builderForValue) { + public Builder setDateRange( + com.google.cloud.channel.v1.DateRange.Builder builderForValue) { if (dateRangeBuilder_ == null) { dateRange_ = builderForValue.build(); onChanged(); @@ -988,8 +891,6 @@ public Builder setDateRange(com.google.cloud.channel.v1.DateRange.Builder builde return this; } /** - * - * *
      * The date range of reported usage.
      * 
@@ -1000,9 +901,7 @@ public Builder mergeDateRange(com.google.cloud.channel.v1.DateRange value) { if (dateRangeBuilder_ == null) { if (dateRange_ != null) { dateRange_ = - com.google.cloud.channel.v1.DateRange.newBuilder(dateRange_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.DateRange.newBuilder(dateRange_).mergeFrom(value).buildPartial(); } else { dateRange_ = value; } @@ -1014,8 +913,6 @@ public Builder mergeDateRange(com.google.cloud.channel.v1.DateRange value) { return this; } /** - * - * *
      * The date range of reported usage.
      * 
@@ -1034,8 +931,6 @@ public Builder clearDateRange() { return this; } /** - * - * *
      * The date range of reported usage.
      * 
@@ -1043,13 +938,11 @@ public Builder clearDateRange() { * .google.cloud.channel.v1.DateRange date_range = 3; */ public com.google.cloud.channel.v1.DateRange.Builder getDateRangeBuilder() { - + onChanged(); return getDateRangeFieldBuilder().getBuilder(); } /** - * - * *
      * The date range of reported usage.
      * 
@@ -1060,14 +953,11 @@ public com.google.cloud.channel.v1.DateRangeOrBuilder getDateRangeOrBuilder() { if (dateRangeBuilder_ != null) { return dateRangeBuilder_.getMessageOrBuilder(); } else { - return dateRange_ == null - ? com.google.cloud.channel.v1.DateRange.getDefaultInstance() - : dateRange_; + return dateRange_ == null ? + com.google.cloud.channel.v1.DateRange.getDefaultInstance() : dateRange_; } } /** - * - * *
      * The date range of reported usage.
      * 
@@ -1075,17 +965,14 @@ public com.google.cloud.channel.v1.DateRangeOrBuilder getDateRangeOrBuilder() { * .google.cloud.channel.v1.DateRange date_range = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.DateRange, - com.google.cloud.channel.v1.DateRange.Builder, - com.google.cloud.channel.v1.DateRangeOrBuilder> + com.google.cloud.channel.v1.DateRange, com.google.cloud.channel.v1.DateRange.Builder, com.google.cloud.channel.v1.DateRangeOrBuilder> getDateRangeFieldBuilder() { if (dateRangeBuilder_ == null) { - dateRangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.DateRange, - com.google.cloud.channel.v1.DateRange.Builder, - com.google.cloud.channel.v1.DateRangeOrBuilder>( - getDateRange(), getParentForChildren(), isClean()); + dateRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.DateRange, com.google.cloud.channel.v1.DateRange.Builder, com.google.cloud.channel.v1.DateRangeOrBuilder>( + getDateRange(), + getParentForChildren(), + isClean()); dateRange_ = null; } return dateRangeBuilder_; @@ -1093,13 +980,8 @@ public com.google.cloud.channel.v1.DateRangeOrBuilder getDateRangeOrBuilder() { private com.google.cloud.channel.v1.DateRange precedingDateRange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.DateRange, - com.google.cloud.channel.v1.DateRange.Builder, - com.google.cloud.channel.v1.DateRangeOrBuilder> - precedingDateRangeBuilder_; + com.google.cloud.channel.v1.DateRange, com.google.cloud.channel.v1.DateRange.Builder, com.google.cloud.channel.v1.DateRangeOrBuilder> precedingDateRangeBuilder_; /** - * - * *
      * The usage dates immediately preceding `date_range` with the same duration.
      * Use this to calculate trending usage and costs. This is only populated if
@@ -1109,15 +991,12 @@ public com.google.cloud.channel.v1.DateRangeOrBuilder getDateRangeOrBuilder() {
      * 
* * .google.cloud.channel.v1.DateRange preceding_date_range = 4; - * * @return Whether the precedingDateRange field is set. */ public boolean hasPrecedingDateRange() { return precedingDateRangeBuilder_ != null || precedingDateRange_ != null; } /** - * - * *
      * The usage dates immediately preceding `date_range` with the same duration.
      * Use this to calculate trending usage and costs. This is only populated if
@@ -1127,21 +1006,16 @@ public boolean hasPrecedingDateRange() {
      * 
* * .google.cloud.channel.v1.DateRange preceding_date_range = 4; - * * @return The precedingDateRange. */ public com.google.cloud.channel.v1.DateRange getPrecedingDateRange() { if (precedingDateRangeBuilder_ == null) { - return precedingDateRange_ == null - ? com.google.cloud.channel.v1.DateRange.getDefaultInstance() - : precedingDateRange_; + return precedingDateRange_ == null ? com.google.cloud.channel.v1.DateRange.getDefaultInstance() : precedingDateRange_; } else { return precedingDateRangeBuilder_.getMessage(); } } /** - * - * *
      * The usage dates immediately preceding `date_range` with the same duration.
      * Use this to calculate trending usage and costs. This is only populated if
@@ -1166,8 +1040,6 @@ public Builder setPrecedingDateRange(com.google.cloud.channel.v1.DateRange value
       return this;
     }
     /**
-     *
-     *
      * 
      * The usage dates immediately preceding `date_range` with the same duration.
      * Use this to calculate trending usage and costs. This is only populated if
@@ -1190,8 +1062,6 @@ public Builder setPrecedingDateRange(
       return this;
     }
     /**
-     *
-     *
      * 
      * The usage dates immediately preceding `date_range` with the same duration.
      * Use this to calculate trending usage and costs. This is only populated if
@@ -1206,9 +1076,7 @@ public Builder mergePrecedingDateRange(com.google.cloud.channel.v1.DateRange val
       if (precedingDateRangeBuilder_ == null) {
         if (precedingDateRange_ != null) {
           precedingDateRange_ =
-              com.google.cloud.channel.v1.DateRange.newBuilder(precedingDateRange_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.channel.v1.DateRange.newBuilder(precedingDateRange_).mergeFrom(value).buildPartial();
         } else {
           precedingDateRange_ = value;
         }
@@ -1220,8 +1088,6 @@ public Builder mergePrecedingDateRange(com.google.cloud.channel.v1.DateRange val
       return this;
     }
     /**
-     *
-     *
      * 
      * The usage dates immediately preceding `date_range` with the same duration.
      * Use this to calculate trending usage and costs. This is only populated if
@@ -1244,8 +1110,6 @@ public Builder clearPrecedingDateRange() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The usage dates immediately preceding `date_range` with the same duration.
      * Use this to calculate trending usage and costs. This is only populated if
@@ -1257,13 +1121,11 @@ public Builder clearPrecedingDateRange() {
      * .google.cloud.channel.v1.DateRange preceding_date_range = 4;
      */
     public com.google.cloud.channel.v1.DateRange.Builder getPrecedingDateRangeBuilder() {
-
+      
       onChanged();
       return getPrecedingDateRangeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The usage dates immediately preceding `date_range` with the same duration.
      * Use this to calculate trending usage and costs. This is only populated if
@@ -1278,14 +1140,11 @@ public com.google.cloud.channel.v1.DateRangeOrBuilder getPrecedingDateRangeOrBui
       if (precedingDateRangeBuilder_ != null) {
         return precedingDateRangeBuilder_.getMessageOrBuilder();
       } else {
-        return precedingDateRange_ == null
-            ? com.google.cloud.channel.v1.DateRange.getDefaultInstance()
-            : precedingDateRange_;
+        return precedingDateRange_ == null ?
+            com.google.cloud.channel.v1.DateRange.getDefaultInstance() : precedingDateRange_;
       }
     }
     /**
-     *
-     *
      * 
      * The usage dates immediately preceding `date_range` with the same duration.
      * Use this to calculate trending usage and costs. This is only populated if
@@ -1297,24 +1156,21 @@ public com.google.cloud.channel.v1.DateRangeOrBuilder getPrecedingDateRangeOrBui
      * .google.cloud.channel.v1.DateRange preceding_date_range = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.channel.v1.DateRange,
-            com.google.cloud.channel.v1.DateRange.Builder,
-            com.google.cloud.channel.v1.DateRangeOrBuilder>
+        com.google.cloud.channel.v1.DateRange, com.google.cloud.channel.v1.DateRange.Builder, com.google.cloud.channel.v1.DateRangeOrBuilder> 
         getPrecedingDateRangeFieldBuilder() {
       if (precedingDateRangeBuilder_ == null) {
-        precedingDateRangeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.channel.v1.DateRange,
-                com.google.cloud.channel.v1.DateRange.Builder,
-                com.google.cloud.channel.v1.DateRangeOrBuilder>(
-                getPrecedingDateRange(), getParentForChildren(), isClean());
+        precedingDateRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.channel.v1.DateRange, com.google.cloud.channel.v1.DateRange.Builder, com.google.cloud.channel.v1.DateRangeOrBuilder>(
+                getPrecedingDateRange(),
+                getParentForChildren(),
+                isClean());
         precedingDateRange_ = null;
       }
       return precedingDateRangeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1324,12 +1180,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ReportResultsMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ReportResultsMetadata)
   private static final com.google.cloud.channel.v1.ReportResultsMetadata DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ReportResultsMetadata();
   }
@@ -1338,27 +1194,27 @@ public static com.google.cloud.channel.v1.ReportResultsMetadata getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ReportResultsMetadata parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ReportResultsMetadata parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1373,4 +1229,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.channel.v1.ReportResultsMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportResultsMetadataOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportResultsMetadataOrBuilder.java
similarity index 80%
rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportResultsMetadataOrBuilder.java
rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportResultsMetadataOrBuilder.java
index 16541a4044c4..1a88badf9883 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportResultsMetadataOrBuilder.java
+++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportResultsMetadataOrBuilder.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/cloud/channel/v1/reports_service.proto
 
 package com.google.cloud.channel.v1;
 
-public interface ReportResultsMetadataOrBuilder
-    extends
+public interface ReportResultsMetadataOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ReportResultsMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Details of the completed report.
    * 
* * .google.cloud.channel.v1.Report report = 1; - * * @return Whether the report field is set. */ boolean hasReport(); /** - * - * *
    * Details of the completed report.
    * 
* * .google.cloud.channel.v1.Report report = 1; - * * @return The report. */ com.google.cloud.channel.v1.Report getReport(); /** - * - * *
    * Details of the completed report.
    * 
@@ -59,45 +35,34 @@ public interface ReportResultsMetadataOrBuilder com.google.cloud.channel.v1.ReportOrBuilder getReportOrBuilder(); /** - * - * *
    * The total number of rows of data in the final report.
    * 
* * int64 row_count = 2; - * * @return The rowCount. */ long getRowCount(); /** - * - * *
    * The date range of reported usage.
    * 
* * .google.cloud.channel.v1.DateRange date_range = 3; - * * @return Whether the dateRange field is set. */ boolean hasDateRange(); /** - * - * *
    * The date range of reported usage.
    * 
* * .google.cloud.channel.v1.DateRange date_range = 3; - * * @return The dateRange. */ com.google.cloud.channel.v1.DateRange getDateRange(); /** - * - * *
    * The date range of reported usage.
    * 
@@ -107,8 +72,6 @@ public interface ReportResultsMetadataOrBuilder com.google.cloud.channel.v1.DateRangeOrBuilder getDateRangeOrBuilder(); /** - * - * *
    * The usage dates immediately preceding `date_range` with the same duration.
    * Use this to calculate trending usage and costs. This is only populated if
@@ -118,13 +81,10 @@ public interface ReportResultsMetadataOrBuilder
    * 
* * .google.cloud.channel.v1.DateRange preceding_date_range = 4; - * * @return Whether the precedingDateRange field is set. */ boolean hasPrecedingDateRange(); /** - * - * *
    * The usage dates immediately preceding `date_range` with the same duration.
    * Use this to calculate trending usage and costs. This is only populated if
@@ -134,13 +94,10 @@ public interface ReportResultsMetadataOrBuilder
    * 
* * .google.cloud.channel.v1.DateRange preceding_date_range = 4; - * * @return The precedingDateRange. */ com.google.cloud.channel.v1.DateRange getPrecedingDateRange(); /** - * - * *
    * The usage dates immediately preceding `date_range` with the same duration.
    * Use this to calculate trending usage and costs. This is only populated if
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportStatus.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportStatus.java
similarity index 72%
rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportStatus.java
rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportStatus.java
index 272e1ad835b7..053f44da5d63 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportStatus.java
+++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportStatus.java
@@ -1,85 +1,63 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/channel/v1/reports_service.proto
 
 package com.google.cloud.channel.v1;
 
 /**
- *
- *
  * 
  * Status of a report generation process.
  * 
* * Protobuf type {@code google.cloud.channel.v1.ReportStatus} */ -public final class ReportStatus extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReportStatus extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ReportStatus) ReportStatusOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReportStatus.newBuilder() to construct. private ReportStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReportStatus() { state_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReportStatus(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_ReportStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_ReportStatus_fieldAccessorTable + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ReportStatus.class, - com.google.cloud.channel.v1.ReportStatus.Builder.class); + com.google.cloud.channel.v1.ReportStatus.class, com.google.cloud.channel.v1.ReportStatus.Builder.class); } /** - * - * *
    * Available states of report generation.
    * 
* * Protobuf enum {@code google.cloud.channel.v1.ReportStatus.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not used.
      * 
@@ -88,8 +66,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * Report processing started.
      * 
@@ -98,8 +74,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STARTED(1), /** - * - * *
      * Data generated from the report is being staged.
      * 
@@ -108,8 +82,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ WRITING(2), /** - * - * *
      * Report data is available for access.
      * 
@@ -118,8 +90,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ AVAILABLE(3), /** - * - * *
      * Report failed.
      * 
@@ -131,8 +101,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Not used.
      * 
@@ -141,8 +109,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Report processing started.
      * 
@@ -151,8 +117,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STARTED_VALUE = 1; /** - * - * *
      * Data generated from the report is being staged.
      * 
@@ -161,8 +125,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int WRITING_VALUE = 2; /** - * - * *
      * Report data is available for access.
      * 
@@ -171,8 +133,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AVAILABLE_VALUE = 3; /** - * - * *
      * Report failed.
      * 
@@ -181,6 +141,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -205,53 +166,51 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return STARTED; - case 2: - return WRITING; - case 3: - return AVAILABLE; - case 4: - return FAILED; - default: - return null; + case 0: return STATE_UNSPECIFIED; + case 1: return STARTED; + case 2: return WRITING; + case 3: return AVAILABLE; + case 4: return FAILED; + 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< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.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.cloud.channel.v1.ReportStatus.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State 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; @@ -271,50 +230,38 @@ private State(int value) { public static final int STATE_FIELD_NUMBER = 1; private int state_; /** - * - * *
    * The current state of the report generation process.
    * 
* * .google.cloud.channel.v1.ReportStatus.State state = 1; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * The current state of the report generation process.
    * 
* * .google.cloud.channel.v1.ReportStatus.State state = 1; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.channel.v1.ReportStatus.State getState() { + @java.lang.Override public com.google.cloud.channel.v1.ReportStatus.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.ReportStatus.State result = - com.google.cloud.channel.v1.ReportStatus.State.valueOf(state_); + com.google.cloud.channel.v1.ReportStatus.State result = com.google.cloud.channel.v1.ReportStatus.State.valueOf(state_); return result == null ? com.google.cloud.channel.v1.ReportStatus.State.UNRECOGNIZED : result; } public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * The report generation's start time.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -322,14 +269,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * The report generation's start time.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ @java.lang.Override @@ -337,8 +281,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The report generation's start time.
    * 
@@ -353,14 +295,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * The report generation's completion time.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -368,14 +307,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * The report generation's completion time.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ @java.lang.Override @@ -383,8 +319,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The report generation's completion time.
    * 
@@ -397,7 +331,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -409,7 +342,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (state_ != com.google.cloud.channel.v1.ReportStatus.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(1, state_); } @@ -429,13 +363,16 @@ public int getSerializedSize() { size = 0; if (state_ != com.google.cloud.channel.v1.ReportStatus.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, state_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getEndTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -445,7 +382,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.ReportStatus)) { return super.equals(obj); @@ -455,11 +392,13 @@ public boolean equals(final java.lang.Object obj) { if (state_ != other.state_) return false; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -487,136 +426,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ReportStatus parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.ReportStatus parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ReportStatus parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ReportStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ReportStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ReportStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ReportStatus parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ReportStatus 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.cloud.channel.v1.ReportStatus parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.ReportStatus parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.ReportStatus parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ReportStatus parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ReportStatus parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ReportStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ReportStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 of a report generation process.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ReportStatus} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ReportStatus) com.google.cloud.channel.v1.ReportStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_ReportStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_ReportStatus_fieldAccessorTable + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ReportStatus.class, - com.google.cloud.channel.v1.ReportStatus.Builder.class); + com.google.cloud.channel.v1.ReportStatus.class, com.google.cloud.channel.v1.ReportStatus.Builder.class); } // Construct using com.google.cloud.channel.v1.ReportStatus.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -638,9 +571,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_ReportStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportStatus_descriptor; } @java.lang.Override @@ -659,8 +592,7 @@ public com.google.cloud.channel.v1.ReportStatus build() { @java.lang.Override public com.google.cloud.channel.v1.ReportStatus buildPartial() { - com.google.cloud.channel.v1.ReportStatus result = - new com.google.cloud.channel.v1.ReportStatus(this); + com.google.cloud.channel.v1.ReportStatus result = new com.google.cloud.channel.v1.ReportStatus(this); result.state_ = state_; if (startTimeBuilder_ == null) { result.startTime_ = startTime_; @@ -680,39 +612,38 @@ public com.google.cloud.channel.v1.ReportStatus 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.cloud.channel.v1.ReportStatus) { - return mergeFrom((com.google.cloud.channel.v1.ReportStatus) other); + return mergeFrom((com.google.cloud.channel.v1.ReportStatus)other); } else { super.mergeFrom(other); return this; @@ -756,31 +687,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - state_ = input.readEnum(); - - break; - } // case 8 - case 18: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - case 26: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + state_ = input.readEnum(); + + break; + } // case 8 + case 18: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 26: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -793,65 +724,51 @@ public Builder mergeFrom( private int state_ = 0; /** - * - * *
      * The current state of the report generation process.
      * 
* * .google.cloud.channel.v1.ReportStatus.State state = 1; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * The current state of the report generation process.
      * 
* * .google.cloud.channel.v1.ReportStatus.State state = 1; - * * @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; } /** - * - * *
      * The current state of the report generation process.
      * 
* * .google.cloud.channel.v1.ReportStatus.State state = 1; - * * @return The state. */ @java.lang.Override public com.google.cloud.channel.v1.ReportStatus.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.ReportStatus.State result = - com.google.cloud.channel.v1.ReportStatus.State.valueOf(state_); + com.google.cloud.channel.v1.ReportStatus.State result = com.google.cloud.channel.v1.ReportStatus.State.valueOf(state_); return result == null ? com.google.cloud.channel.v1.ReportStatus.State.UNRECOGNIZED : result; } /** - * - * *
      * The current state of the report generation process.
      * 
* * .google.cloud.channel.v1.ReportStatus.State state = 1; - * * @param value The state to set. * @return This builder for chaining. */ @@ -859,24 +776,21 @@ public Builder setState(com.google.cloud.channel.v1.ReportStatus.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The current state of the report generation process.
      * 
* * .google.cloud.channel.v1.ReportStatus.State state = 1; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -884,33 +798,24 @@ public Builder clearState() { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * The report generation's start time.
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * The report generation's start time.
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -921,8 +826,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The report generation's start time.
      * 
@@ -943,15 +846,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The report generation's start time.
      * 
* * .google.protobuf.Timestamp start_time = 2; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -962,8 +864,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * The report generation's start time.
      * 
@@ -974,7 +874,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -986,8 +886,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The report generation's start time.
      * 
@@ -1006,8 +904,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * The report generation's start time.
      * 
@@ -1015,13 +911,11 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 2; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The report generation's start time.
      * 
@@ -1032,12 +926,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * The report generation's start time.
      * 
@@ -1045,17 +938,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_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> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -1063,33 +953,24 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * The report generation's completion time.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * The report generation's completion time.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1100,8 +981,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The report generation's completion time.
      * 
@@ -1122,15 +1001,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The report generation's completion time.
      * 
* * .google.protobuf.Timestamp end_time = 3; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -1141,8 +1019,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * The report generation's completion time.
      * 
@@ -1153,7 +1029,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1165,8 +1041,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The report generation's completion time.
      * 
@@ -1185,8 +1059,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * The report generation's completion time.
      * 
@@ -1194,13 +1066,11 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 3; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The report generation's completion time.
      * 
@@ -1211,12 +1081,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * The report generation's completion time.
      * 
@@ -1224,24 +1093,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 3; */ 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> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1251,12 +1117,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ReportStatus) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ReportStatus) private static final com.google.cloud.channel.v1.ReportStatus DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ReportStatus(); } @@ -1265,27 +1131,27 @@ public static com.google.cloud.channel.v1.ReportStatus getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReportStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReportStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1300,4 +1166,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ReportStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportStatusOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportStatusOrBuilder.java similarity index 73% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportStatusOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportStatusOrBuilder.java index a42d1e8d05bb..56a44feb3c95 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportStatusOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportStatusOrBuilder.java @@ -1,80 +1,50 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; -public interface ReportStatusOrBuilder - extends +public interface ReportStatusOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ReportStatus) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The current state of the report generation process.
    * 
* * .google.cloud.channel.v1.ReportStatus.State state = 1; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * The current state of the report generation process.
    * 
* * .google.cloud.channel.v1.ReportStatus.State state = 1; - * * @return The state. */ com.google.cloud.channel.v1.ReportStatus.State getState(); /** - * - * *
    * The report generation's start time.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * The report generation's start time.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * The report generation's start time.
    * 
@@ -84,32 +54,24 @@ public interface ReportStatusOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * The report generation's completion time.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The report generation's completion time.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The report generation's completion time.
    * 
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportValue.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportValue.java similarity index 73% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportValue.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportValue.java index d494953710cf..bb808c8a639d 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportValue.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportValue.java @@ -1,76 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; /** - * - * *
  * A single report value.
  * 
* * Protobuf type {@code google.cloud.channel.v1.ReportValue} */ -public final class ReportValue extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReportValue extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ReportValue) ReportValueOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReportValue.newBuilder() to construct. private ReportValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ReportValue() {} + private ReportValue() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReportValue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_ReportValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_ReportValue_fieldAccessorTable + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ReportValue.class, - com.google.cloud.channel.v1.ReportValue.Builder.class); + com.google.cloud.channel.v1.ReportValue.class, com.google.cloud.channel.v1.ReportValue.Builder.class); } private int valueCase_ = 0; private java.lang.Object value_; - public enum ValueCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRING_VALUE(1), INT_VALUE(2), @@ -80,7 +60,6 @@ public enum ValueCase DATE_TIME_VALUE(6), VALUE_NOT_SET(0); private final int value; - private ValueCase(int value) { this.value = value; } @@ -96,58 +75,45 @@ public static ValueCase valueOf(int value) { public static ValueCase forNumber(int value) { switch (value) { - case 1: - return STRING_VALUE; - case 2: - return INT_VALUE; - case 3: - return DECIMAL_VALUE; - case 4: - return MONEY_VALUE; - case 5: - return DATE_VALUE; - case 6: - return DATE_TIME_VALUE; - case 0: - return VALUE_NOT_SET; - default: - return null; + case 1: return STRING_VALUE; + case 2: return INT_VALUE; + case 3: return DECIMAL_VALUE; + case 4: return MONEY_VALUE; + case 5: return DATE_VALUE; + case 6: return DATE_TIME_VALUE; + case 0: return VALUE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ValueCase getValueCase() { - return ValueCase.forNumber(valueCase_); + public ValueCase + getValueCase() { + return ValueCase.forNumber( + valueCase_); } public static final int STRING_VALUE_FIELD_NUMBER = 1; /** - * - * *
    * A value of type `string`.
    * 
* * string string_value = 1; - * * @return Whether the stringValue field is set. */ public boolean hasStringValue() { return valueCase_ == 1; } /** - * - * *
    * A value of type `string`.
    * 
* * string string_value = 1; - * * @return The stringValue. */ public java.lang.String getStringValue() { @@ -158,7 +124,8 @@ public java.lang.String getStringValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueCase_ == 1) { value_ = s; @@ -167,24 +134,23 @@ public java.lang.String getStringValue() { } } /** - * - * *
    * A value of type `string`.
    * 
* * string string_value = 1; - * * @return The bytes for stringValue. */ - public com.google.protobuf.ByteString getStringValueBytes() { + public com.google.protobuf.ByteString + getStringValueBytes() { java.lang.Object ref = ""; if (valueCase_ == 1) { ref = value_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (valueCase_ == 1) { value_ = b; } @@ -196,14 +162,11 @@ public com.google.protobuf.ByteString getStringValueBytes() { public static final int INT_VALUE_FIELD_NUMBER = 2; /** - * - * *
    * A value of type `int`.
    * 
* * int64 int_value = 2; - * * @return Whether the intValue field is set. */ @java.lang.Override @@ -211,14 +174,11 @@ public boolean hasIntValue() { return valueCase_ == 2; } /** - * - * *
    * A value of type `int`.
    * 
* * int64 int_value = 2; - * * @return The intValue. */ @java.lang.Override @@ -231,15 +191,12 @@ public long getIntValue() { public static final int DECIMAL_VALUE_FIELD_NUMBER = 3; /** - * - * *
    * A value of type `google.type.Decimal`, representing non-integer numeric
    * values.
    * 
* * .google.type.Decimal decimal_value = 3; - * * @return Whether the decimalValue field is set. */ @java.lang.Override @@ -247,27 +204,22 @@ public boolean hasDecimalValue() { return valueCase_ == 3; } /** - * - * *
    * A value of type `google.type.Decimal`, representing non-integer numeric
    * values.
    * 
* * .google.type.Decimal decimal_value = 3; - * * @return The decimalValue. */ @java.lang.Override public com.google.type.Decimal getDecimalValue() { if (valueCase_ == 3) { - return (com.google.type.Decimal) value_; + return (com.google.type.Decimal) value_; } return com.google.type.Decimal.getDefaultInstance(); } /** - * - * *
    * A value of type `google.type.Decimal`, representing non-integer numeric
    * values.
@@ -278,22 +230,19 @@ public com.google.type.Decimal getDecimalValue() {
   @java.lang.Override
   public com.google.type.DecimalOrBuilder getDecimalValueOrBuilder() {
     if (valueCase_ == 3) {
-      return (com.google.type.Decimal) value_;
+       return (com.google.type.Decimal) value_;
     }
     return com.google.type.Decimal.getDefaultInstance();
   }
 
   public static final int MONEY_VALUE_FIELD_NUMBER = 4;
   /**
-   *
-   *
    * 
    * A value of type `google.type.Money` (currency code, whole units, decimal
    * units).
    * 
* * .google.type.Money money_value = 4; - * * @return Whether the moneyValue field is set. */ @java.lang.Override @@ -301,27 +250,22 @@ public boolean hasMoneyValue() { return valueCase_ == 4; } /** - * - * *
    * A value of type `google.type.Money` (currency code, whole units, decimal
    * units).
    * 
* * .google.type.Money money_value = 4; - * * @return The moneyValue. */ @java.lang.Override public com.google.type.Money getMoneyValue() { if (valueCase_ == 4) { - return (com.google.type.Money) value_; + return (com.google.type.Money) value_; } return com.google.type.Money.getDefaultInstance(); } /** - * - * *
    * A value of type `google.type.Money` (currency code, whole units, decimal
    * units).
@@ -332,21 +276,18 @@ public com.google.type.Money getMoneyValue() {
   @java.lang.Override
   public com.google.type.MoneyOrBuilder getMoneyValueOrBuilder() {
     if (valueCase_ == 4) {
-      return (com.google.type.Money) value_;
+       return (com.google.type.Money) value_;
     }
     return com.google.type.Money.getDefaultInstance();
   }
 
   public static final int DATE_VALUE_FIELD_NUMBER = 5;
   /**
-   *
-   *
    * 
    * A value of type `google.type.Date` (year, month, day).
    * 
* * .google.type.Date date_value = 5; - * * @return Whether the dateValue field is set. */ @java.lang.Override @@ -354,26 +295,21 @@ public boolean hasDateValue() { return valueCase_ == 5; } /** - * - * *
    * A value of type `google.type.Date` (year, month, day).
    * 
* * .google.type.Date date_value = 5; - * * @return The dateValue. */ @java.lang.Override public com.google.type.Date getDateValue() { if (valueCase_ == 5) { - return (com.google.type.Date) value_; + return (com.google.type.Date) value_; } return com.google.type.Date.getDefaultInstance(); } /** - * - * *
    * A value of type `google.type.Date` (year, month, day).
    * 
@@ -383,22 +319,19 @@ public com.google.type.Date getDateValue() { @java.lang.Override public com.google.type.DateOrBuilder getDateValueOrBuilder() { if (valueCase_ == 5) { - return (com.google.type.Date) value_; + return (com.google.type.Date) value_; } return com.google.type.Date.getDefaultInstance(); } public static final int DATE_TIME_VALUE_FIELD_NUMBER = 6; /** - * - * *
    * A value of type `google.type.DateTime` (year, month, day, hour, minute,
    * second, and UTC offset or timezone.)
    * 
* * .google.type.DateTime date_time_value = 6; - * * @return Whether the dateTimeValue field is set. */ @java.lang.Override @@ -406,27 +339,22 @@ public boolean hasDateTimeValue() { return valueCase_ == 6; } /** - * - * *
    * A value of type `google.type.DateTime` (year, month, day, hour, minute,
    * second, and UTC offset or timezone.)
    * 
* * .google.type.DateTime date_time_value = 6; - * * @return The dateTimeValue. */ @java.lang.Override public com.google.type.DateTime getDateTimeValue() { if (valueCase_ == 6) { - return (com.google.type.DateTime) value_; + return (com.google.type.DateTime) value_; } return com.google.type.DateTime.getDefaultInstance(); } /** - * - * *
    * A value of type `google.type.DateTime` (year, month, day, hour, minute,
    * second, and UTC offset or timezone.)
@@ -437,13 +365,12 @@ public com.google.type.DateTime getDateTimeValue() {
   @java.lang.Override
   public com.google.type.DateTimeOrBuilder getDateTimeValueOrBuilder() {
     if (valueCase_ == 6) {
-      return (com.google.type.DateTime) value_;
+       return (com.google.type.DateTime) value_;
     }
     return com.google.type.DateTime.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -455,12 +382,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 (valueCase_ == 1) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_);
     }
     if (valueCase_ == 2) {
-      output.writeInt64(2, (long) ((java.lang.Long) value_));
+      output.writeInt64(
+          2, (long)((java.lang.Long) value_));
     }
     if (valueCase_ == 3) {
       output.writeMessage(3, (com.google.type.Decimal) value_);
@@ -487,29 +416,25 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, value_);
     }
     if (valueCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeInt64Size(
-              2, (long) ((java.lang.Long) value_));
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt64Size(
+            2, (long)((java.lang.Long) value_));
     }
     if (valueCase_ == 3) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              3, (com.google.type.Decimal) value_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, (com.google.type.Decimal) value_);
     }
     if (valueCase_ == 4) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              4, (com.google.type.Money) value_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, (com.google.type.Money) value_);
     }
     if (valueCase_ == 5) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              5, (com.google.type.Date) value_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, (com.google.type.Date) value_);
     }
     if (valueCase_ == 6) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              6, (com.google.type.DateTime) value_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, (com.google.type.DateTime) value_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -519,7 +444,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.channel.v1.ReportValue)) {
       return super.equals(obj);
@@ -529,22 +454,28 @@ public boolean equals(final java.lang.Object obj) {
     if (!getValueCase().equals(other.getValueCase())) return false;
     switch (valueCase_) {
       case 1:
-        if (!getStringValue().equals(other.getStringValue())) return false;
+        if (!getStringValue()
+            .equals(other.getStringValue())) return false;
         break;
       case 2:
-        if (getIntValue() != other.getIntValue()) return false;
+        if (getIntValue()
+            != other.getIntValue()) return false;
         break;
       case 3:
-        if (!getDecimalValue().equals(other.getDecimalValue())) return false;
+        if (!getDecimalValue()
+            .equals(other.getDecimalValue())) return false;
         break;
       case 4:
-        if (!getMoneyValue().equals(other.getMoneyValue())) return false;
+        if (!getMoneyValue()
+            .equals(other.getMoneyValue())) return false;
         break;
       case 5:
-        if (!getDateValue().equals(other.getDateValue())) return false;
+        if (!getDateValue()
+            .equals(other.getDateValue())) return false;
         break;
       case 6:
-        if (!getDateTimeValue().equals(other.getDateTimeValue())) return false;
+        if (!getDateTimeValue()
+            .equals(other.getDateTimeValue())) return false;
         break;
       case 0:
       default:
@@ -567,7 +498,8 @@ public int hashCode() {
         break;
       case 2:
         hash = (37 * hash) + INT_VALUE_FIELD_NUMBER;
-        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getIntValue());
+        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+            getIntValue());
         break;
       case 3:
         hash = (37 * hash) + DECIMAL_VALUE_FIELD_NUMBER;
@@ -593,136 +525,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.channel.v1.ReportValue parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.channel.v1.ReportValue parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.channel.v1.ReportValue parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.channel.v1.ReportValue parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.channel.v1.ReportValue parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.channel.v1.ReportValue parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.channel.v1.ReportValue parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.channel.v1.ReportValue 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.cloud.channel.v1.ReportValue parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.channel.v1.ReportValue parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.channel.v1.ReportValue parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.channel.v1.ReportValue parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.channel.v1.ReportValue parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.channel.v1.ReportValue parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.channel.v1.ReportValue prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 single report value.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ReportValue} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ReportValue) com.google.cloud.channel.v1.ReportValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_ReportValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_ReportValue_fieldAccessorTable + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ReportValue.class, - com.google.cloud.channel.v1.ReportValue.Builder.class); + com.google.cloud.channel.v1.ReportValue.class, com.google.cloud.channel.v1.ReportValue.Builder.class); } // Construct using com.google.cloud.channel.v1.ReportValue.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -744,9 +670,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_ReportValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportValue_descriptor; } @java.lang.Override @@ -765,8 +691,7 @@ public com.google.cloud.channel.v1.ReportValue build() { @java.lang.Override public com.google.cloud.channel.v1.ReportValue buildPartial() { - com.google.cloud.channel.v1.ReportValue result = - new com.google.cloud.channel.v1.ReportValue(this); + com.google.cloud.channel.v1.ReportValue result = new com.google.cloud.channel.v1.ReportValue(this); if (valueCase_ == 1) { result.value_ = value_; } @@ -810,39 +735,38 @@ public com.google.cloud.channel.v1.ReportValue 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.cloud.channel.v1.ReportValue) { - return mergeFrom((com.google.cloud.channel.v1.ReportValue) other); + return mergeFrom((com.google.cloud.channel.v1.ReportValue)other); } else { super.mergeFrom(other); return this; @@ -852,42 +776,35 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.channel.v1.ReportValue other) { if (other == com.google.cloud.channel.v1.ReportValue.getDefaultInstance()) return this; switch (other.getValueCase()) { - case STRING_VALUE: - { - valueCase_ = 1; - value_ = other.value_; - onChanged(); - break; - } - case INT_VALUE: - { - setIntValue(other.getIntValue()); - break; - } - case DECIMAL_VALUE: - { - mergeDecimalValue(other.getDecimalValue()); - break; - } - case MONEY_VALUE: - { - mergeMoneyValue(other.getMoneyValue()); - break; - } - case DATE_VALUE: - { - mergeDateValue(other.getDateValue()); - break; - } - case DATE_TIME_VALUE: - { - mergeDateTimeValue(other.getDateTimeValue()); - break; - } - case VALUE_NOT_SET: - { - break; - } + case STRING_VALUE: { + valueCase_ = 1; + value_ = other.value_; + onChanged(); + break; + } + case INT_VALUE: { + setIntValue(other.getIntValue()); + break; + } + case DECIMAL_VALUE: { + mergeDecimalValue(other.getDecimalValue()); + break; + } + case MONEY_VALUE: { + mergeMoneyValue(other.getMoneyValue()); + break; + } + case DATE_VALUE: { + mergeDateValue(other.getDateValue()); + break; + } + case DATE_TIME_VALUE: { + mergeDateTimeValue(other.getDateTimeValue()); + break; + } + case VALUE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -915,50 +832,51 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - valueCase_ = 1; - value_ = s; - break; - } // case 10 - case 16: - { - value_ = input.readInt64(); - valueCase_ = 2; - break; - } // case 16 - case 26: - { - input.readMessage(getDecimalValueFieldBuilder().getBuilder(), extensionRegistry); - valueCase_ = 3; - break; - } // case 26 - case 34: - { - input.readMessage(getMoneyValueFieldBuilder().getBuilder(), extensionRegistry); - valueCase_ = 4; - break; - } // case 34 - case 42: - { - input.readMessage(getDateValueFieldBuilder().getBuilder(), extensionRegistry); - valueCase_ = 5; - break; - } // case 42 - case 50: - { - input.readMessage(getDateTimeValueFieldBuilder().getBuilder(), extensionRegistry); - valueCase_ = 6; - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + valueCase_ = 1; + value_ = s; + break; + } // case 10 + case 16: { + value_ = input.readInt64(); + valueCase_ = 2; + break; + } // case 16 + case 26: { + input.readMessage( + getDecimalValueFieldBuilder().getBuilder(), + extensionRegistry); + valueCase_ = 3; + break; + } // case 26 + case 34: { + input.readMessage( + getMoneyValueFieldBuilder().getBuilder(), + extensionRegistry); + valueCase_ = 4; + break; + } // case 34 + case 42: { + input.readMessage( + getDateValueFieldBuilder().getBuilder(), + extensionRegistry); + valueCase_ = 5; + break; + } // case 42 + case 50: { + input.readMessage( + getDateTimeValueFieldBuilder().getBuilder(), + extensionRegistry); + valueCase_ = 6; + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -968,12 +886,12 @@ public Builder mergeFrom( } // finally return this; } - private int valueCase_ = 0; private java.lang.Object value_; - - public ValueCase getValueCase() { - return ValueCase.forNumber(valueCase_); + public ValueCase + getValueCase() { + return ValueCase.forNumber( + valueCase_); } public Builder clearValue() { @@ -983,15 +901,13 @@ public Builder clearValue() { return this; } + /** - * - * *
      * A value of type `string`.
      * 
* * string string_value = 1; - * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -999,14 +915,11 @@ public boolean hasStringValue() { return valueCase_ == 1; } /** - * - * *
      * A value of type `string`.
      * 
* * string string_value = 1; - * * @return The stringValue. */ @java.lang.Override @@ -1016,7 +929,8 @@ public java.lang.String getStringValue() { ref = value_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueCase_ == 1) { value_ = s; @@ -1027,25 +941,24 @@ public java.lang.String getStringValue() { } } /** - * - * *
      * A value of type `string`.
      * 
* * string string_value = 1; - * * @return The bytes for stringValue. */ @java.lang.Override - public com.google.protobuf.ByteString getStringValueBytes() { + public com.google.protobuf.ByteString + getStringValueBytes() { java.lang.Object ref = ""; if (valueCase_ == 1) { ref = value_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (valueCase_ == 1) { value_ = b; } @@ -1055,35 +968,30 @@ public com.google.protobuf.ByteString getStringValueBytes() { } } /** - * - * *
      * A value of type `string`.
      * 
* * string string_value = 1; - * * @param value The stringValue to set. * @return This builder for chaining. */ - public Builder setStringValue(java.lang.String value) { + public Builder setStringValue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - valueCase_ = 1; + throw new NullPointerException(); + } + valueCase_ = 1; value_ = value; onChanged(); return this; } /** - * - * *
      * A value of type `string`.
      * 
* * string string_value = 1; - * * @return This builder for chaining. */ public Builder clearStringValue() { @@ -1095,22 +1003,20 @@ public Builder clearStringValue() { return this; } /** - * - * *
      * A value of type `string`.
      * 
* * string string_value = 1; - * * @param value The bytes for stringValue to set. * @return This builder for chaining. */ - public Builder setStringValueBytes(com.google.protobuf.ByteString value) { + public Builder setStringValueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); valueCase_ = 1; value_ = value; onChanged(); @@ -1118,28 +1024,22 @@ public Builder setStringValueBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * A value of type `int`.
      * 
* * int64 int_value = 2; - * * @return Whether the intValue field is set. */ public boolean hasIntValue() { return valueCase_ == 2; } /** - * - * *
      * A value of type `int`.
      * 
* * int64 int_value = 2; - * * @return The intValue. */ public long getIntValue() { @@ -1149,14 +1049,11 @@ public long getIntValue() { return 0L; } /** - * - * *
      * A value of type `int`.
      * 
* * int64 int_value = 2; - * * @param value The intValue to set. * @return This builder for chaining. */ @@ -1167,14 +1064,11 @@ public Builder setIntValue(long value) { return this; } /** - * - * *
      * A value of type `int`.
      * 
* * int64 int_value = 2; - * * @return This builder for chaining. */ public Builder clearIntValue() { @@ -1187,20 +1081,14 @@ public Builder clearIntValue() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Decimal, - com.google.type.Decimal.Builder, - com.google.type.DecimalOrBuilder> - decimalValueBuilder_; + com.google.type.Decimal, com.google.type.Decimal.Builder, com.google.type.DecimalOrBuilder> decimalValueBuilder_; /** - * - * *
      * A value of type `google.type.Decimal`, representing non-integer numeric
      * values.
      * 
* * .google.type.Decimal decimal_value = 3; - * * @return Whether the decimalValue field is set. */ @java.lang.Override @@ -1208,15 +1096,12 @@ public boolean hasDecimalValue() { return valueCase_ == 3; } /** - * - * *
      * A value of type `google.type.Decimal`, representing non-integer numeric
      * values.
      * 
* * .google.type.Decimal decimal_value = 3; - * * @return The decimalValue. */ @java.lang.Override @@ -1234,8 +1119,6 @@ public com.google.type.Decimal getDecimalValue() { } } /** - * - * *
      * A value of type `google.type.Decimal`, representing non-integer numeric
      * values.
@@ -1257,8 +1140,6 @@ public Builder setDecimalValue(com.google.type.Decimal value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A value of type `google.type.Decimal`, representing non-integer numeric
      * values.
@@ -1266,7 +1147,8 @@ public Builder setDecimalValue(com.google.type.Decimal value) {
      *
      * .google.type.Decimal decimal_value = 3;
      */
-    public Builder setDecimalValue(com.google.type.Decimal.Builder builderForValue) {
+    public Builder setDecimalValue(
+        com.google.type.Decimal.Builder builderForValue) {
       if (decimalValueBuilder_ == null) {
         value_ = builderForValue.build();
         onChanged();
@@ -1277,8 +1159,6 @@ public Builder setDecimalValue(com.google.type.Decimal.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * A value of type `google.type.Decimal`, representing non-integer numeric
      * values.
@@ -1288,11 +1168,10 @@ public Builder setDecimalValue(com.google.type.Decimal.Builder builderForValue)
      */
     public Builder mergeDecimalValue(com.google.type.Decimal value) {
       if (decimalValueBuilder_ == null) {
-        if (valueCase_ == 3 && value_ != com.google.type.Decimal.getDefaultInstance()) {
-          value_ =
-              com.google.type.Decimal.newBuilder((com.google.type.Decimal) value_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (valueCase_ == 3 &&
+            value_ != com.google.type.Decimal.getDefaultInstance()) {
+          value_ = com.google.type.Decimal.newBuilder((com.google.type.Decimal) value_)
+              .mergeFrom(value).buildPartial();
         } else {
           value_ = value;
         }
@@ -1308,8 +1187,6 @@ public Builder mergeDecimalValue(com.google.type.Decimal value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A value of type `google.type.Decimal`, representing non-integer numeric
      * values.
@@ -1334,8 +1211,6 @@ public Builder clearDecimalValue() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A value of type `google.type.Decimal`, representing non-integer numeric
      * values.
@@ -1347,8 +1222,6 @@ public com.google.type.Decimal.Builder getDecimalValueBuilder() {
       return getDecimalValueFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A value of type `google.type.Decimal`, representing non-integer numeric
      * values.
@@ -1368,8 +1241,6 @@ public com.google.type.DecimalOrBuilder getDecimalValueOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * A value of type `google.type.Decimal`, representing non-integer numeric
      * values.
@@ -1378,41 +1249,33 @@ public com.google.type.DecimalOrBuilder getDecimalValueOrBuilder() {
      * .google.type.Decimal decimal_value = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Decimal,
-            com.google.type.Decimal.Builder,
-            com.google.type.DecimalOrBuilder>
+        com.google.type.Decimal, com.google.type.Decimal.Builder, com.google.type.DecimalOrBuilder> 
         getDecimalValueFieldBuilder() {
       if (decimalValueBuilder_ == null) {
         if (!(valueCase_ == 3)) {
           value_ = com.google.type.Decimal.getDefaultInstance();
         }
-        decimalValueBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.type.Decimal,
-                com.google.type.Decimal.Builder,
-                com.google.type.DecimalOrBuilder>(
-                (com.google.type.Decimal) value_, getParentForChildren(), isClean());
+        decimalValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.type.Decimal, com.google.type.Decimal.Builder, com.google.type.DecimalOrBuilder>(
+                (com.google.type.Decimal) value_,
+                getParentForChildren(),
+                isClean());
         value_ = null;
       }
       valueCase_ = 3;
-      onChanged();
-      ;
+      onChanged();;
       return decimalValueBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
-        moneyValueBuilder_;
+        com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> moneyValueBuilder_;
     /**
-     *
-     *
      * 
      * A value of type `google.type.Money` (currency code, whole units, decimal
      * units).
      * 
* * .google.type.Money money_value = 4; - * * @return Whether the moneyValue field is set. */ @java.lang.Override @@ -1420,15 +1283,12 @@ public boolean hasMoneyValue() { return valueCase_ == 4; } /** - * - * *
      * A value of type `google.type.Money` (currency code, whole units, decimal
      * units).
      * 
* * .google.type.Money money_value = 4; - * * @return The moneyValue. */ @java.lang.Override @@ -1446,8 +1306,6 @@ public com.google.type.Money getMoneyValue() { } } /** - * - * *
      * A value of type `google.type.Money` (currency code, whole units, decimal
      * units).
@@ -1469,8 +1327,6 @@ public Builder setMoneyValue(com.google.type.Money value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A value of type `google.type.Money` (currency code, whole units, decimal
      * units).
@@ -1478,7 +1334,8 @@ public Builder setMoneyValue(com.google.type.Money value) {
      *
      * .google.type.Money money_value = 4;
      */
-    public Builder setMoneyValue(com.google.type.Money.Builder builderForValue) {
+    public Builder setMoneyValue(
+        com.google.type.Money.Builder builderForValue) {
       if (moneyValueBuilder_ == null) {
         value_ = builderForValue.build();
         onChanged();
@@ -1489,8 +1346,6 @@ public Builder setMoneyValue(com.google.type.Money.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A value of type `google.type.Money` (currency code, whole units, decimal
      * units).
@@ -1500,11 +1355,10 @@ public Builder setMoneyValue(com.google.type.Money.Builder builderForValue) {
      */
     public Builder mergeMoneyValue(com.google.type.Money value) {
       if (moneyValueBuilder_ == null) {
-        if (valueCase_ == 4 && value_ != com.google.type.Money.getDefaultInstance()) {
-          value_ =
-              com.google.type.Money.newBuilder((com.google.type.Money) value_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (valueCase_ == 4 &&
+            value_ != com.google.type.Money.getDefaultInstance()) {
+          value_ = com.google.type.Money.newBuilder((com.google.type.Money) value_)
+              .mergeFrom(value).buildPartial();
         } else {
           value_ = value;
         }
@@ -1520,8 +1374,6 @@ public Builder mergeMoneyValue(com.google.type.Money value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A value of type `google.type.Money` (currency code, whole units, decimal
      * units).
@@ -1546,8 +1398,6 @@ public Builder clearMoneyValue() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A value of type `google.type.Money` (currency code, whole units, decimal
      * units).
@@ -1559,8 +1409,6 @@ public com.google.type.Money.Builder getMoneyValueBuilder() {
       return getMoneyValueFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A value of type `google.type.Money` (currency code, whole units, decimal
      * units).
@@ -1580,8 +1428,6 @@ public com.google.type.MoneyOrBuilder getMoneyValueOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * A value of type `google.type.Money` (currency code, whole units, decimal
      * units).
@@ -1590,38 +1436,32 @@ public com.google.type.MoneyOrBuilder getMoneyValueOrBuilder() {
      * .google.type.Money money_value = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
+        com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> 
         getMoneyValueFieldBuilder() {
       if (moneyValueBuilder_ == null) {
         if (!(valueCase_ == 4)) {
           value_ = com.google.type.Money.getDefaultInstance();
         }
-        moneyValueBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.type.Money,
-                com.google.type.Money.Builder,
-                com.google.type.MoneyOrBuilder>(
-                (com.google.type.Money) value_, getParentForChildren(), isClean());
+        moneyValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>(
+                (com.google.type.Money) value_,
+                getParentForChildren(),
+                isClean());
         value_ = null;
       }
       valueCase_ = 4;
-      onChanged();
-      ;
+      onChanged();;
       return moneyValueBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
-        dateValueBuilder_;
+        com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> dateValueBuilder_;
     /**
-     *
-     *
      * 
      * A value of type `google.type.Date` (year, month, day).
      * 
* * .google.type.Date date_value = 5; - * * @return Whether the dateValue field is set. */ @java.lang.Override @@ -1629,14 +1469,11 @@ public boolean hasDateValue() { return valueCase_ == 5; } /** - * - * *
      * A value of type `google.type.Date` (year, month, day).
      * 
* * .google.type.Date date_value = 5; - * * @return The dateValue. */ @java.lang.Override @@ -1654,8 +1491,6 @@ public com.google.type.Date getDateValue() { } } /** - * - * *
      * A value of type `google.type.Date` (year, month, day).
      * 
@@ -1676,15 +1511,14 @@ public Builder setDateValue(com.google.type.Date value) { return this; } /** - * - * *
      * A value of type `google.type.Date` (year, month, day).
      * 
* * .google.type.Date date_value = 5; */ - public Builder setDateValue(com.google.type.Date.Builder builderForValue) { + public Builder setDateValue( + com.google.type.Date.Builder builderForValue) { if (dateValueBuilder_ == null) { value_ = builderForValue.build(); onChanged(); @@ -1695,8 +1529,6 @@ public Builder setDateValue(com.google.type.Date.Builder builderForValue) { return this; } /** - * - * *
      * A value of type `google.type.Date` (year, month, day).
      * 
@@ -1705,11 +1537,10 @@ public Builder setDateValue(com.google.type.Date.Builder builderForValue) { */ public Builder mergeDateValue(com.google.type.Date value) { if (dateValueBuilder_ == null) { - if (valueCase_ == 5 && value_ != com.google.type.Date.getDefaultInstance()) { - value_ = - com.google.type.Date.newBuilder((com.google.type.Date) value_) - .mergeFrom(value) - .buildPartial(); + if (valueCase_ == 5 && + value_ != com.google.type.Date.getDefaultInstance()) { + value_ = com.google.type.Date.newBuilder((com.google.type.Date) value_) + .mergeFrom(value).buildPartial(); } else { value_ = value; } @@ -1725,8 +1556,6 @@ public Builder mergeDateValue(com.google.type.Date value) { return this; } /** - * - * *
      * A value of type `google.type.Date` (year, month, day).
      * 
@@ -1750,8 +1579,6 @@ public Builder clearDateValue() { return this; } /** - * - * *
      * A value of type `google.type.Date` (year, month, day).
      * 
@@ -1762,8 +1589,6 @@ public com.google.type.Date.Builder getDateValueBuilder() { return getDateValueFieldBuilder().getBuilder(); } /** - * - * *
      * A value of type `google.type.Date` (year, month, day).
      * 
@@ -1782,8 +1607,6 @@ public com.google.type.DateOrBuilder getDateValueOrBuilder() { } } /** - * - * *
      * A value of type `google.type.Date` (year, month, day).
      * 
@@ -1791,39 +1614,33 @@ public com.google.type.DateOrBuilder getDateValueOrBuilder() { * .google.type.Date date_value = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> getDateValueFieldBuilder() { if (dateValueBuilder_ == null) { if (!(valueCase_ == 5)) { value_ = com.google.type.Date.getDefaultInstance(); } - dateValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( - (com.google.type.Date) value_, getParentForChildren(), isClean()); + dateValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( + (com.google.type.Date) value_, + getParentForChildren(), + isClean()); value_ = null; } valueCase_ = 5; - onChanged(); - ; + onChanged();; return dateValueBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.DateTime, - com.google.type.DateTime.Builder, - com.google.type.DateTimeOrBuilder> - dateTimeValueBuilder_; + com.google.type.DateTime, com.google.type.DateTime.Builder, com.google.type.DateTimeOrBuilder> dateTimeValueBuilder_; /** - * - * *
      * A value of type `google.type.DateTime` (year, month, day, hour, minute,
      * second, and UTC offset or timezone.)
      * 
* * .google.type.DateTime date_time_value = 6; - * * @return Whether the dateTimeValue field is set. */ @java.lang.Override @@ -1831,15 +1648,12 @@ public boolean hasDateTimeValue() { return valueCase_ == 6; } /** - * - * *
      * A value of type `google.type.DateTime` (year, month, day, hour, minute,
      * second, and UTC offset or timezone.)
      * 
* * .google.type.DateTime date_time_value = 6; - * * @return The dateTimeValue. */ @java.lang.Override @@ -1857,8 +1671,6 @@ public com.google.type.DateTime getDateTimeValue() { } } /** - * - * *
      * A value of type `google.type.DateTime` (year, month, day, hour, minute,
      * second, and UTC offset or timezone.)
@@ -1880,8 +1692,6 @@ public Builder setDateTimeValue(com.google.type.DateTime value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A value of type `google.type.DateTime` (year, month, day, hour, minute,
      * second, and UTC offset or timezone.)
@@ -1889,7 +1699,8 @@ public Builder setDateTimeValue(com.google.type.DateTime value) {
      *
      * .google.type.DateTime date_time_value = 6;
      */
-    public Builder setDateTimeValue(com.google.type.DateTime.Builder builderForValue) {
+    public Builder setDateTimeValue(
+        com.google.type.DateTime.Builder builderForValue) {
       if (dateTimeValueBuilder_ == null) {
         value_ = builderForValue.build();
         onChanged();
@@ -1900,8 +1711,6 @@ public Builder setDateTimeValue(com.google.type.DateTime.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * A value of type `google.type.DateTime` (year, month, day, hour, minute,
      * second, and UTC offset or timezone.)
@@ -1911,11 +1720,10 @@ public Builder setDateTimeValue(com.google.type.DateTime.Builder builderForValue
      */
     public Builder mergeDateTimeValue(com.google.type.DateTime value) {
       if (dateTimeValueBuilder_ == null) {
-        if (valueCase_ == 6 && value_ != com.google.type.DateTime.getDefaultInstance()) {
-          value_ =
-              com.google.type.DateTime.newBuilder((com.google.type.DateTime) value_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (valueCase_ == 6 &&
+            value_ != com.google.type.DateTime.getDefaultInstance()) {
+          value_ = com.google.type.DateTime.newBuilder((com.google.type.DateTime) value_)
+              .mergeFrom(value).buildPartial();
         } else {
           value_ = value;
         }
@@ -1931,8 +1739,6 @@ public Builder mergeDateTimeValue(com.google.type.DateTime value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A value of type `google.type.DateTime` (year, month, day, hour, minute,
      * second, and UTC offset or timezone.)
@@ -1957,8 +1763,6 @@ public Builder clearDateTimeValue() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A value of type `google.type.DateTime` (year, month, day, hour, minute,
      * second, and UTC offset or timezone.)
@@ -1970,8 +1774,6 @@ public com.google.type.DateTime.Builder getDateTimeValueBuilder() {
       return getDateTimeValueFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A value of type `google.type.DateTime` (year, month, day, hour, minute,
      * second, and UTC offset or timezone.)
@@ -1991,8 +1793,6 @@ public com.google.type.DateTimeOrBuilder getDateTimeValueOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * A value of type `google.type.DateTime` (year, month, day, hour, minute,
      * second, and UTC offset or timezone.)
@@ -2001,30 +1801,26 @@ public com.google.type.DateTimeOrBuilder getDateTimeValueOrBuilder() {
      * .google.type.DateTime date_time_value = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.DateTime,
-            com.google.type.DateTime.Builder,
-            com.google.type.DateTimeOrBuilder>
+        com.google.type.DateTime, com.google.type.DateTime.Builder, com.google.type.DateTimeOrBuilder> 
         getDateTimeValueFieldBuilder() {
       if (dateTimeValueBuilder_ == null) {
         if (!(valueCase_ == 6)) {
           value_ = com.google.type.DateTime.getDefaultInstance();
         }
-        dateTimeValueBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.type.DateTime,
-                com.google.type.DateTime.Builder,
-                com.google.type.DateTimeOrBuilder>(
-                (com.google.type.DateTime) value_, getParentForChildren(), isClean());
+        dateTimeValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.type.DateTime, com.google.type.DateTime.Builder, com.google.type.DateTimeOrBuilder>(
+                (com.google.type.DateTime) value_,
+                getParentForChildren(),
+                isClean());
         value_ = null;
       }
       valueCase_ = 6;
-      onChanged();
-      ;
+      onChanged();;
       return dateTimeValueBuilder_;
     }
-
     @java.lang.Override
-    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 +1830,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ReportValue)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ReportValue)
   private static final com.google.cloud.channel.v1.ReportValue DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ReportValue();
   }
@@ -2048,27 +1844,27 @@ public static com.google.cloud.channel.v1.ReportValue getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ReportValue parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ReportValue parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2083,4 +1879,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.channel.v1.ReportValue getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportValueOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportValueOrBuilder.java
similarity index 82%
rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportValueOrBuilder.java
rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportValueOrBuilder.java
index edb13cdf7d5c..540ff36736d9 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportValueOrBuilder.java
+++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportValueOrBuilder.java
@@ -1,119 +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/cloud/channel/v1/reports_service.proto
 
 package com.google.cloud.channel.v1;
 
-public interface ReportValueOrBuilder
-    extends
+public interface ReportValueOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ReportValue)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * A value of type `string`.
    * 
* * string string_value = 1; - * * @return Whether the stringValue field is set. */ boolean hasStringValue(); /** - * - * *
    * A value of type `string`.
    * 
* * string string_value = 1; - * * @return The stringValue. */ java.lang.String getStringValue(); /** - * - * *
    * A value of type `string`.
    * 
* * string string_value = 1; - * * @return The bytes for stringValue. */ - com.google.protobuf.ByteString getStringValueBytes(); + com.google.protobuf.ByteString + getStringValueBytes(); /** - * - * *
    * A value of type `int`.
    * 
* * int64 int_value = 2; - * * @return Whether the intValue field is set. */ boolean hasIntValue(); /** - * - * *
    * A value of type `int`.
    * 
* * int64 int_value = 2; - * * @return The intValue. */ long getIntValue(); /** - * - * *
    * A value of type `google.type.Decimal`, representing non-integer numeric
    * values.
    * 
* * .google.type.Decimal decimal_value = 3; - * * @return Whether the decimalValue field is set. */ boolean hasDecimalValue(); /** - * - * *
    * A value of type `google.type.Decimal`, representing non-integer numeric
    * values.
    * 
* * .google.type.Decimal decimal_value = 3; - * * @return The decimalValue. */ com.google.type.Decimal getDecimalValue(); /** - * - * *
    * A value of type `google.type.Decimal`, representing non-integer numeric
    * values.
@@ -124,34 +86,26 @@ public interface ReportValueOrBuilder
   com.google.type.DecimalOrBuilder getDecimalValueOrBuilder();
 
   /**
-   *
-   *
    * 
    * A value of type `google.type.Money` (currency code, whole units, decimal
    * units).
    * 
* * .google.type.Money money_value = 4; - * * @return Whether the moneyValue field is set. */ boolean hasMoneyValue(); /** - * - * *
    * A value of type `google.type.Money` (currency code, whole units, decimal
    * units).
    * 
* * .google.type.Money money_value = 4; - * * @return The moneyValue. */ com.google.type.Money getMoneyValue(); /** - * - * *
    * A value of type `google.type.Money` (currency code, whole units, decimal
    * units).
@@ -162,32 +116,24 @@ public interface ReportValueOrBuilder
   com.google.type.MoneyOrBuilder getMoneyValueOrBuilder();
 
   /**
-   *
-   *
    * 
    * A value of type `google.type.Date` (year, month, day).
    * 
* * .google.type.Date date_value = 5; - * * @return Whether the dateValue field is set. */ boolean hasDateValue(); /** - * - * *
    * A value of type `google.type.Date` (year, month, day).
    * 
* * .google.type.Date date_value = 5; - * * @return The dateValue. */ com.google.type.Date getDateValue(); /** - * - * *
    * A value of type `google.type.Date` (year, month, day).
    * 
@@ -197,34 +143,26 @@ public interface ReportValueOrBuilder com.google.type.DateOrBuilder getDateValueOrBuilder(); /** - * - * *
    * A value of type `google.type.DateTime` (year, month, day, hour, minute,
    * second, and UTC offset or timezone.)
    * 
* * .google.type.DateTime date_time_value = 6; - * * @return Whether the dateTimeValue field is set. */ boolean hasDateTimeValue(); /** - * - * *
    * A value of type `google.type.DateTime` (year, month, day, hour, minute,
    * second, and UTC offset or timezone.)
    * 
* * .google.type.DateTime date_time_value = 6; - * * @return The dateTimeValue. */ com.google.type.DateTime getDateTimeValue(); /** - * - * *
    * A value of type `google.type.DateTime` (year, month, day, hour, minute,
    * second, and UTC offset or timezone.)
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportsServiceProto.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportsServiceProto.java
new file mode 100644
index 000000000000..064af9c23df3
--- /dev/null
+++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportsServiceProto.java
@@ -0,0 +1,312 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/channel/v1/reports_service.proto
+
+package com.google.cloud.channel.v1;
+
+public final class ReportsServiceProto {
+  private ReportsServiceProto() {}
+  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_cloud_channel_v1_RunReportJobRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_RunReportJobRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_RunReportJobResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_RunReportJobResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_FetchReportResultsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_FetchReportResultsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_FetchReportResultsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_FetchReportResultsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ListReportsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListReportsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ListReportsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListReportsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ReportJob_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ReportJob_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ReportResultsMetadata_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ReportResultsMetadata_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_Column_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_Column_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_DateRange_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_DateRange_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_Row_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_Row_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ReportValue_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ReportValue_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ReportStatus_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ReportStatus_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_Report_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_Report_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/cloud/channel/v1/reports_servic" +
+      "e.proto\022\027google.cloud.channel.v1\032\034google" +
+      "/api/annotations.proto\032\027google/api/clien" +
+      "t.proto\032\037google/api/field_behavior.proto" +
+      "\032\031google/api/resource.proto\032#google/long" +
+      "running/operations.proto\032\037google/protobu" +
+      "f/timestamp.proto\032\026google/type/date.prot" +
+      "o\032\032google/type/datetime.proto\032\031google/ty" +
+      "pe/decimal.proto\032\027google/type/money.prot" +
+      "o\"\275\001\n\023RunReportJobRequest\0228\n\004name\030\001 \001(\tB" +
+      "*\340A\002\372A$\n\"cloudchannel.googleapis.com/Rep" +
+      "ort\022;\n\ndate_range\030\002 \001(\0132\".google.cloud.c" +
+      "hannel.v1.DateRangeB\003\340A\001\022\023\n\006filter\030\003 \001(\t" +
+      "B\003\340A\001\022\032\n\rlanguage_code\030\004 \001(\tB\003\340A\001\"\227\001\n\024Ru" +
+      "nReportJobResponse\0226\n\nreport_job\030\001 \001(\0132\"" +
+      ".google.cloud.channel.v1.ReportJob\022G\n\017re" +
+      "port_metadata\030\002 \001(\0132..google.cloud.chann" +
+      "el.v1.ReportResultsMetadata\"\217\001\n\031FetchRep" +
+      "ortResultsRequest\022A\n\nreport_job\030\001 \001(\tB-\340" +
+      "A\002\372A\'\n%cloudchannel.googleapis.com/Repor" +
+      "tJob\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_tok" +
+      "en\030\003 \001(\tB\003\340A\001\"\252\001\n\032FetchReportResultsResp" +
+      "onse\022G\n\017report_metadata\030\001 \001(\0132..google.c" +
+      "loud.channel.v1.ReportResultsMetadata\022*\n" +
+      "\004rows\030\002 \003(\0132\034.google.cloud.channel.v1.Ro" +
+      "w\022\027\n\017next_page_token\030\003 \001(\t\"v\n\022ListReport" +
+      "sRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\026\n\tpage_si" +
+      "ze\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\022\032" +
+      "\n\rlanguage_code\030\004 \001(\tB\003\340A\001\"`\n\023ListReport" +
+      "sResponse\0220\n\007reports\030\001 \003(\0132\037.google.clou" +
+      "d.channel.v1.Report\022\027\n\017next_page_token\030\002" +
+      " \001(\t\"\264\001\n\tReportJob\022\021\n\004name\030\001 \001(\tB\003\340A\002\022<\n" +
+      "\rreport_status\030\002 \001(\0132%.google.cloud.chan" +
+      "nel.v1.ReportStatus:V\352AS\n%cloudchannel.g" +
+      "oogleapis.com/ReportJob\022*accounts/{accou" +
+      "nt}/reportJobs/{report_job}\"\325\001\n\025ReportRe" +
+      "sultsMetadata\022/\n\006report\030\001 \001(\0132\037.google.c" +
+      "loud.channel.v1.Report\022\021\n\trow_count\030\002 \001(" +
+      "\003\0226\n\ndate_range\030\003 \001(\0132\".google.cloud.cha" +
+      "nnel.v1.DateRange\022@\n\024preceding_date_rang" +
+      "e\030\004 \001(\0132\".google.cloud.channel.v1.DateRa" +
+      "nge\"\333\001\n\006Column\022\021\n\tcolumn_id\030\001 \001(\t\022\024\n\014dis" +
+      "play_name\030\002 \001(\t\022;\n\tdata_type\030\003 \001(\0162(.goo" +
+      "gle.cloud.channel.v1.Column.DataType\"k\n\010" +
+      "DataType\022\031\n\025DATA_TYPE_UNSPECIFIED\020\000\022\n\n\006S" +
+      "TRING\020\001\022\007\n\003INT\020\002\022\013\n\007DECIMAL\020\003\022\t\n\005MONEY\020\004" +
+      "\022\010\n\004DATE\020\005\022\r\n\tDATE_TIME\020\006\"\321\001\n\tDateRange\022" +
+      "4\n\025usage_start_date_time\030\001 \001(\0132\025.google." +
+      "type.DateTime\0222\n\023usage_end_date_time\030\002 \001" +
+      "(\0132\025.google.type.DateTime\022-\n\022invoice_sta" +
+      "rt_date\030\003 \001(\0132\021.google.type.Date\022+\n\020invo" +
+      "ice_end_date\030\004 \001(\0132\021.google.type.Date\";\n" +
+      "\003Row\0224\n\006values\030\001 \003(\0132$.google.cloud.chan" +
+      "nel.v1.ReportValue\"\370\001\n\013ReportValue\022\026\n\014st" +
+      "ring_value\030\001 \001(\tH\000\022\023\n\tint_value\030\002 \001(\003H\000\022" +
+      "-\n\rdecimal_value\030\003 \001(\0132\024.google.type.Dec" +
+      "imalH\000\022)\n\013money_value\030\004 \001(\0132\022.google.typ" +
+      "e.MoneyH\000\022\'\n\ndate_value\030\005 \001(\0132\021.google.t" +
+      "ype.DateH\000\0220\n\017date_time_value\030\006 \001(\0132\025.go" +
+      "ogle.type.DateTimeH\000B\007\n\005value\"\375\001\n\014Report" +
+      "Status\022:\n\005state\030\001 \001(\0162+.google.cloud.cha" +
+      "nnel.v1.ReportStatus.State\022.\n\nstart_time" +
+      "\030\002 \001(\0132\032.google.protobuf.Timestamp\022,\n\010en" +
+      "d_time\030\003 \001(\0132\032.google.protobuf.Timestamp" +
+      "\"S\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007STAR" +
+      "TED\020\001\022\013\n\007WRITING\020\002\022\r\n\tAVAILABLE\020\003\022\n\n\006FAI" +
+      "LED\020\004\"\306\001\n\006Report\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\024\n\014d" +
+      "isplay_name\030\002 \001(\t\0220\n\007columns\030\003 \003(\0132\037.goo" +
+      "gle.cloud.channel.v1.Column\022\023\n\013descripti" +
+      "on\030\004 \001(\t:L\352AI\n\"cloudchannel.googleapis.c" +
+      "om/Report\022#accounts/{account}/reports/{r" +
+      "eport}2\246\005\n\032CloudChannelReportsService\022\267\001" +
+      "\n\014RunReportJob\022,.google.cloud.channel.v1" +
+      ".RunReportJobRequest\032\035.google.longrunnin" +
+      "g.Operation\"Z\202\323\344\223\002(\"#/v1/{name=accounts/" +
+      "*/reports/*}:run:\001*\312A)\n\024RunReportJobResp" +
+      "onse\022\021OperationMetadata\022\322\001\n\022FetchReportR" +
+      "esults\0222.google.cloud.channel.v1.FetchRe" +
+      "portResultsRequest\0323.google.cloud.channe" +
+      "l.v1.FetchReportResultsResponse\"S\202\323\344\223\002@\"" +
+      ";/v1/{report_job=accounts/*/reportJobs/*" +
+      "}:fetchReportResults:\001*\332A\nreport_job\022\232\001\n" +
+      "\013ListReports\022+.google.cloud.channel.v1.L" +
+      "istReportsRequest\032,.google.cloud.channel" +
+      ".v1.ListReportsResponse\"0\202\323\344\223\002!\022\037/v1/{pa" +
+      "rent=accounts/*}/reports\332A\006parent\032\\\312A\033cl" +
+      "oudchannel.googleapis.com\322A;https://www." +
+      "googleapis.com/auth/apps.reports.usage.r" +
+      "eadonlyBt\n\033com.google.cloud.channel.v1B\023" +
+      "ReportsServiceProtoP\001Z>google.golang.org" +
+      "/genproto/googleapis/cloud/channel/v1;ch" +
+      "annelb\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.AnnotationsProto.getDescriptor(),
+          com.google.api.ClientProto.getDescriptor(),
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.longrunning.OperationsProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+          com.google.type.DateProto.getDescriptor(),
+          com.google.type.DateTimeProto.getDescriptor(),
+          com.google.type.DecimalProto.getDescriptor(),
+          com.google.type.MoneyProto.getDescriptor(),
+        });
+    internal_static_google_cloud_channel_v1_RunReportJobRequest_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_channel_v1_RunReportJobRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_RunReportJobRequest_descriptor,
+        new java.lang.String[] { "Name", "DateRange", "Filter", "LanguageCode", });
+    internal_static_google_cloud_channel_v1_RunReportJobResponse_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_channel_v1_RunReportJobResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_RunReportJobResponse_descriptor,
+        new java.lang.String[] { "ReportJob", "ReportMetadata", });
+    internal_static_google_cloud_channel_v1_FetchReportResultsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_channel_v1_FetchReportResultsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_FetchReportResultsRequest_descriptor,
+        new java.lang.String[] { "ReportJob", "PageSize", "PageToken", });
+    internal_static_google_cloud_channel_v1_FetchReportResultsResponse_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_channel_v1_FetchReportResultsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_FetchReportResultsResponse_descriptor,
+        new java.lang.String[] { "ReportMetadata", "Rows", "NextPageToken", });
+    internal_static_google_cloud_channel_v1_ListReportsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_channel_v1_ListReportsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ListReportsRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", "LanguageCode", });
+    internal_static_google_cloud_channel_v1_ListReportsResponse_descriptor =
+      getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_channel_v1_ListReportsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ListReportsResponse_descriptor,
+        new java.lang.String[] { "Reports", "NextPageToken", });
+    internal_static_google_cloud_channel_v1_ReportJob_descriptor =
+      getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_channel_v1_ReportJob_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ReportJob_descriptor,
+        new java.lang.String[] { "Name", "ReportStatus", });
+    internal_static_google_cloud_channel_v1_ReportResultsMetadata_descriptor =
+      getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_channel_v1_ReportResultsMetadata_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ReportResultsMetadata_descriptor,
+        new java.lang.String[] { "Report", "RowCount", "DateRange", "PrecedingDateRange", });
+    internal_static_google_cloud_channel_v1_Column_descriptor =
+      getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_channel_v1_Column_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_Column_descriptor,
+        new java.lang.String[] { "ColumnId", "DisplayName", "DataType", });
+    internal_static_google_cloud_channel_v1_DateRange_descriptor =
+      getDescriptor().getMessageTypes().get(9);
+    internal_static_google_cloud_channel_v1_DateRange_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_DateRange_descriptor,
+        new java.lang.String[] { "UsageStartDateTime", "UsageEndDateTime", "InvoiceStartDate", "InvoiceEndDate", });
+    internal_static_google_cloud_channel_v1_Row_descriptor =
+      getDescriptor().getMessageTypes().get(10);
+    internal_static_google_cloud_channel_v1_Row_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_Row_descriptor,
+        new java.lang.String[] { "Values", });
+    internal_static_google_cloud_channel_v1_ReportValue_descriptor =
+      getDescriptor().getMessageTypes().get(11);
+    internal_static_google_cloud_channel_v1_ReportValue_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ReportValue_descriptor,
+        new java.lang.String[] { "StringValue", "IntValue", "DecimalValue", "MoneyValue", "DateValue", "DateTimeValue", "Value", });
+    internal_static_google_cloud_channel_v1_ReportStatus_descriptor =
+      getDescriptor().getMessageTypes().get(12);
+    internal_static_google_cloud_channel_v1_ReportStatus_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ReportStatus_descriptor,
+        new java.lang.String[] { "State", "StartTime", "EndTime", });
+    internal_static_google_cloud_channel_v1_Report_descriptor =
+      getDescriptor().getMessageTypes().get(13);
+    internal_static_google_cloud_channel_v1_Report_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_Report_descriptor,
+        new java.lang.String[] { "Name", "DisplayName", "Columns", "Description", });
+    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.resource);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    registry.add(com.google.longrunning.OperationsProto.operationInfo);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.longrunning.OperationsProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+    com.google.type.DateProto.getDescriptor();
+    com.google.type.DateTimeProto.getDescriptor();
+    com.google.type.DecimalProto.getDescriptor();
+    com.google.type.MoneyProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustment.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustment.java
similarity index 67%
rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustment.java
rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustment.java
index 6c4b2d14f3ed..652fc8e36269 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustment.java
+++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustment.java
@@ -1,81 +1,60 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/channel/v1/repricing.proto
 
 package com.google.cloud.channel.v1;
 
 /**
- *
- *
  * 
  * A type that represents the various adjustments you can apply to a bill.
  * 
* * Protobuf type {@code google.cloud.channel.v1.RepricingAdjustment} */ -public final class RepricingAdjustment extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RepricingAdjustment extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.RepricingAdjustment) RepricingAdjustmentOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RepricingAdjustment.newBuilder() to construct. private RepricingAdjustment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private RepricingAdjustment() {} + private RepricingAdjustment() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RepricingAdjustment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.RepricingProto - .internal_static_google_cloud_channel_v1_RepricingAdjustment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingAdjustment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.RepricingProto - .internal_static_google_cloud_channel_v1_RepricingAdjustment_fieldAccessorTable + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingAdjustment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.RepricingAdjustment.class, - com.google.cloud.channel.v1.RepricingAdjustment.Builder.class); + com.google.cloud.channel.v1.RepricingAdjustment.class, com.google.cloud.channel.v1.RepricingAdjustment.Builder.class); } private int adjustmentCase_ = 0; private java.lang.Object adjustment_; - public enum AdjustmentCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { PERCENTAGE_ADJUSTMENT(2), ADJUSTMENT_NOT_SET(0); private final int value; - private AdjustmentCase(int value) { this.value = value; } @@ -91,34 +70,29 @@ public static AdjustmentCase valueOf(int value) { public static AdjustmentCase forNumber(int value) { switch (value) { - case 2: - return PERCENTAGE_ADJUSTMENT; - case 0: - return ADJUSTMENT_NOT_SET; - default: - return null; + case 2: return PERCENTAGE_ADJUSTMENT; + case 0: return ADJUSTMENT_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public AdjustmentCase getAdjustmentCase() { - return AdjustmentCase.forNumber(adjustmentCase_); + public AdjustmentCase + getAdjustmentCase() { + return AdjustmentCase.forNumber( + adjustmentCase_); } public static final int PERCENTAGE_ADJUSTMENT_FIELD_NUMBER = 2; /** - * - * *
    * Flat markup or markdown on an entire bill.
    * 
* * .google.cloud.channel.v1.PercentageAdjustment percentage_adjustment = 2; - * * @return Whether the percentageAdjustment field is set. */ @java.lang.Override @@ -126,26 +100,21 @@ public boolean hasPercentageAdjustment() { return adjustmentCase_ == 2; } /** - * - * *
    * Flat markup or markdown on an entire bill.
    * 
* * .google.cloud.channel.v1.PercentageAdjustment percentage_adjustment = 2; - * * @return The percentageAdjustment. */ @java.lang.Override public com.google.cloud.channel.v1.PercentageAdjustment getPercentageAdjustment() { if (adjustmentCase_ == 2) { - return (com.google.cloud.channel.v1.PercentageAdjustment) adjustment_; + return (com.google.cloud.channel.v1.PercentageAdjustment) adjustment_; } return com.google.cloud.channel.v1.PercentageAdjustment.getDefaultInstance(); } /** - * - * *
    * Flat markup or markdown on an entire bill.
    * 
@@ -153,16 +122,14 @@ public com.google.cloud.channel.v1.PercentageAdjustment getPercentageAdjustment( * .google.cloud.channel.v1.PercentageAdjustment percentage_adjustment = 2; */ @java.lang.Override - public com.google.cloud.channel.v1.PercentageAdjustmentOrBuilder - getPercentageAdjustmentOrBuilder() { + public com.google.cloud.channel.v1.PercentageAdjustmentOrBuilder getPercentageAdjustmentOrBuilder() { if (adjustmentCase_ == 2) { - return (com.google.cloud.channel.v1.PercentageAdjustment) adjustment_; + return (com.google.cloud.channel.v1.PercentageAdjustment) adjustment_; } return com.google.cloud.channel.v1.PercentageAdjustment.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,7 +141,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (adjustmentCase_ == 2) { output.writeMessage(2, (com.google.cloud.channel.v1.PercentageAdjustment) adjustment_); } @@ -188,9 +156,8 @@ public int getSerializedSize() { size = 0; if (adjustmentCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.channel.v1.PercentageAdjustment) adjustment_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.channel.v1.PercentageAdjustment) adjustment_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -200,18 +167,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.cloud.channel.v1.RepricingAdjustment)) { return super.equals(obj); } - com.google.cloud.channel.v1.RepricingAdjustment other = - (com.google.cloud.channel.v1.RepricingAdjustment) obj; + com.google.cloud.channel.v1.RepricingAdjustment other = (com.google.cloud.channel.v1.RepricingAdjustment) obj; if (!getAdjustmentCase().equals(other.getAdjustmentCase())) return false; switch (adjustmentCase_) { case 2: - if (!getPercentageAdjustment().equals(other.getPercentageAdjustment())) return false; + if (!getPercentageAdjustment() + .equals(other.getPercentageAdjustment())) return false; break; case 0: default: @@ -240,136 +207,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.RepricingAdjustment parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.RepricingAdjustment parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.RepricingAdjustment parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.RepricingAdjustment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.RepricingAdjustment parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.RepricingAdjustment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.RepricingAdjustment parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.RepricingAdjustment 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.cloud.channel.v1.RepricingAdjustment parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.RepricingAdjustment parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.RepricingAdjustment parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.RepricingAdjustment parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.RepricingAdjustment parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.RepricingAdjustment parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.RepricingAdjustment prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 type that represents the various adjustments you can apply to a bill.
    * 
* * Protobuf type {@code google.cloud.channel.v1.RepricingAdjustment} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.RepricingAdjustment) com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.RepricingProto - .internal_static_google_cloud_channel_v1_RepricingAdjustment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingAdjustment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.RepricingProto - .internal_static_google_cloud_channel_v1_RepricingAdjustment_fieldAccessorTable + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingAdjustment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.RepricingAdjustment.class, - com.google.cloud.channel.v1.RepricingAdjustment.Builder.class); + com.google.cloud.channel.v1.RepricingAdjustment.class, com.google.cloud.channel.v1.RepricingAdjustment.Builder.class); } // Construct using com.google.cloud.channel.v1.RepricingAdjustment.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -382,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.RepricingProto - .internal_static_google_cloud_channel_v1_RepricingAdjustment_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingAdjustment_descriptor; } @java.lang.Override @@ -403,8 +364,7 @@ public com.google.cloud.channel.v1.RepricingAdjustment build() { @java.lang.Override public com.google.cloud.channel.v1.RepricingAdjustment buildPartial() { - com.google.cloud.channel.v1.RepricingAdjustment result = - new com.google.cloud.channel.v1.RepricingAdjustment(this); + com.google.cloud.channel.v1.RepricingAdjustment result = new com.google.cloud.channel.v1.RepricingAdjustment(this); if (adjustmentCase_ == 2) { if (percentageAdjustmentBuilder_ == null) { result.adjustment_ = adjustment_; @@ -421,39 +381,38 @@ public com.google.cloud.channel.v1.RepricingAdjustment 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.cloud.channel.v1.RepricingAdjustment) { - return mergeFrom((com.google.cloud.channel.v1.RepricingAdjustment) other); + return mergeFrom((com.google.cloud.channel.v1.RepricingAdjustment)other); } else { super.mergeFrom(other); return this; @@ -461,18 +420,15 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.RepricingAdjustment other) { - if (other == com.google.cloud.channel.v1.RepricingAdjustment.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.RepricingAdjustment.getDefaultInstance()) return this; switch (other.getAdjustmentCase()) { - case PERCENTAGE_ADJUSTMENT: - { - mergePercentageAdjustment(other.getPercentageAdjustment()); - break; - } - case ADJUSTMENT_NOT_SET: - { - break; - } + case PERCENTAGE_ADJUSTMENT: { + mergePercentageAdjustment(other.getPercentageAdjustment()); + break; + } + case ADJUSTMENT_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -500,20 +456,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - input.readMessage( - getPercentageAdjustmentFieldBuilder().getBuilder(), extensionRegistry); - adjustmentCase_ = 2; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + input.readMessage( + getPercentageAdjustmentFieldBuilder().getBuilder(), + extensionRegistry); + adjustmentCase_ = 2; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -523,12 +478,12 @@ public Builder mergeFrom( } // finally return this; } - private int adjustmentCase_ = 0; private java.lang.Object adjustment_; - - public AdjustmentCase getAdjustmentCase() { - return AdjustmentCase.forNumber(adjustmentCase_); + public AdjustmentCase + getAdjustmentCase() { + return AdjustmentCase.forNumber( + adjustmentCase_); } public Builder clearAdjustment() { @@ -538,20 +493,15 @@ public Builder clearAdjustment() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.PercentageAdjustment, - com.google.cloud.channel.v1.PercentageAdjustment.Builder, - com.google.cloud.channel.v1.PercentageAdjustmentOrBuilder> - percentageAdjustmentBuilder_; + com.google.cloud.channel.v1.PercentageAdjustment, com.google.cloud.channel.v1.PercentageAdjustment.Builder, com.google.cloud.channel.v1.PercentageAdjustmentOrBuilder> percentageAdjustmentBuilder_; /** - * - * *
      * Flat markup or markdown on an entire bill.
      * 
* * .google.cloud.channel.v1.PercentageAdjustment percentage_adjustment = 2; - * * @return Whether the percentageAdjustment field is set. */ @java.lang.Override @@ -559,14 +509,11 @@ public boolean hasPercentageAdjustment() { return adjustmentCase_ == 2; } /** - * - * *
      * Flat markup or markdown on an entire bill.
      * 
* * .google.cloud.channel.v1.PercentageAdjustment percentage_adjustment = 2; - * * @return The percentageAdjustment. */ @java.lang.Override @@ -584,8 +531,6 @@ public com.google.cloud.channel.v1.PercentageAdjustment getPercentageAdjustment( } } /** - * - * *
      * Flat markup or markdown on an entire bill.
      * 
@@ -606,8 +551,6 @@ public Builder setPercentageAdjustment(com.google.cloud.channel.v1.PercentageAdj return this; } /** - * - * *
      * Flat markup or markdown on an entire bill.
      * 
@@ -626,25 +569,18 @@ public Builder setPercentageAdjustment( return this; } /** - * - * *
      * Flat markup or markdown on an entire bill.
      * 
* * .google.cloud.channel.v1.PercentageAdjustment percentage_adjustment = 2; */ - public Builder mergePercentageAdjustment( - com.google.cloud.channel.v1.PercentageAdjustment value) { + public Builder mergePercentageAdjustment(com.google.cloud.channel.v1.PercentageAdjustment value) { if (percentageAdjustmentBuilder_ == null) { - if (adjustmentCase_ == 2 - && adjustment_ - != com.google.cloud.channel.v1.PercentageAdjustment.getDefaultInstance()) { - adjustment_ = - com.google.cloud.channel.v1.PercentageAdjustment.newBuilder( - (com.google.cloud.channel.v1.PercentageAdjustment) adjustment_) - .mergeFrom(value) - .buildPartial(); + if (adjustmentCase_ == 2 && + adjustment_ != com.google.cloud.channel.v1.PercentageAdjustment.getDefaultInstance()) { + adjustment_ = com.google.cloud.channel.v1.PercentageAdjustment.newBuilder((com.google.cloud.channel.v1.PercentageAdjustment) adjustment_) + .mergeFrom(value).buildPartial(); } else { adjustment_ = value; } @@ -660,8 +596,6 @@ public Builder mergePercentageAdjustment( return this; } /** - * - * *
      * Flat markup or markdown on an entire bill.
      * 
@@ -685,21 +619,16 @@ public Builder clearPercentageAdjustment() { return this; } /** - * - * *
      * Flat markup or markdown on an entire bill.
      * 
* * .google.cloud.channel.v1.PercentageAdjustment percentage_adjustment = 2; */ - public com.google.cloud.channel.v1.PercentageAdjustment.Builder - getPercentageAdjustmentBuilder() { + public com.google.cloud.channel.v1.PercentageAdjustment.Builder getPercentageAdjustmentBuilder() { return getPercentageAdjustmentFieldBuilder().getBuilder(); } /** - * - * *
      * Flat markup or markdown on an entire bill.
      * 
@@ -707,8 +636,7 @@ public Builder clearPercentageAdjustment() { * .google.cloud.channel.v1.PercentageAdjustment percentage_adjustment = 2; */ @java.lang.Override - public com.google.cloud.channel.v1.PercentageAdjustmentOrBuilder - getPercentageAdjustmentOrBuilder() { + public com.google.cloud.channel.v1.PercentageAdjustmentOrBuilder getPercentageAdjustmentOrBuilder() { if ((adjustmentCase_ == 2) && (percentageAdjustmentBuilder_ != null)) { return percentageAdjustmentBuilder_.getMessageOrBuilder(); } else { @@ -719,8 +647,6 @@ public Builder clearPercentageAdjustment() { } } /** - * - * *
      * Flat markup or markdown on an entire bill.
      * 
@@ -728,32 +654,26 @@ public Builder clearPercentageAdjustment() { * .google.cloud.channel.v1.PercentageAdjustment percentage_adjustment = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.PercentageAdjustment, - com.google.cloud.channel.v1.PercentageAdjustment.Builder, - com.google.cloud.channel.v1.PercentageAdjustmentOrBuilder> + com.google.cloud.channel.v1.PercentageAdjustment, com.google.cloud.channel.v1.PercentageAdjustment.Builder, com.google.cloud.channel.v1.PercentageAdjustmentOrBuilder> getPercentageAdjustmentFieldBuilder() { if (percentageAdjustmentBuilder_ == null) { if (!(adjustmentCase_ == 2)) { adjustment_ = com.google.cloud.channel.v1.PercentageAdjustment.getDefaultInstance(); } - percentageAdjustmentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.PercentageAdjustment, - com.google.cloud.channel.v1.PercentageAdjustment.Builder, - com.google.cloud.channel.v1.PercentageAdjustmentOrBuilder>( + percentageAdjustmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.PercentageAdjustment, com.google.cloud.channel.v1.PercentageAdjustment.Builder, com.google.cloud.channel.v1.PercentageAdjustmentOrBuilder>( (com.google.cloud.channel.v1.PercentageAdjustment) adjustment_, getParentForChildren(), isClean()); adjustment_ = null; } adjustmentCase_ = 2; - onChanged(); - ; + onChanged();; return percentageAdjustmentBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -763,12 +683,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.RepricingAdjustment) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.RepricingAdjustment) private static final com.google.cloud.channel.v1.RepricingAdjustment DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.RepricingAdjustment(); } @@ -777,27 +697,27 @@ public static com.google.cloud.channel.v1.RepricingAdjustment getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RepricingAdjustment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RepricingAdjustment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -812,4 +732,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.RepricingAdjustment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustmentOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustmentOrBuilder.java similarity index 64% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustmentOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustmentOrBuilder.java index 7612d68c2f52..cfae561e4c5e 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustmentOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustmentOrBuilder.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/cloud/channel/v1/repricing.proto package com.google.cloud.channel.v1; -public interface RepricingAdjustmentOrBuilder - extends +public interface RepricingAdjustmentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.RepricingAdjustment) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Flat markup or markdown on an entire bill.
    * 
* * .google.cloud.channel.v1.PercentageAdjustment percentage_adjustment = 2; - * * @return Whether the percentageAdjustment field is set. */ boolean hasPercentageAdjustment(); /** - * - * *
    * Flat markup or markdown on an entire bill.
    * 
* * .google.cloud.channel.v1.PercentageAdjustment percentage_adjustment = 2; - * * @return The percentageAdjustment. */ com.google.cloud.channel.v1.PercentageAdjustment getPercentageAdjustment(); /** - * - * *
    * Flat markup or markdown on an entire bill.
    * 
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingCondition.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingCondition.java new file mode 100644 index 000000000000..9ecdfc4430b4 --- /dev/null +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingCondition.java @@ -0,0 +1,739 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/repricing.proto + +package com.google.cloud.channel.v1; + +/** + *
+ * Represents the various repricing conditions you can use for a conditional
+ * override.
+ * 
+ * + * Protobuf type {@code google.cloud.channel.v1.RepricingCondition} + */ +public final class RepricingCondition extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.RepricingCondition) + RepricingConditionOrBuilder { +private static final long serialVersionUID = 0L; + // Use RepricingCondition.newBuilder() to construct. + private RepricingCondition(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private RepricingCondition() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new RepricingCondition(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingCondition_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingCondition_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.channel.v1.RepricingCondition.class, com.google.cloud.channel.v1.RepricingCondition.Builder.class); + } + + private int conditionCase_ = 0; + private java.lang.Object condition_; + public enum ConditionCase + implements com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + SKU_GROUP_CONDITION(1), + CONDITION_NOT_SET(0); + private final int value; + private ConditionCase(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 ConditionCase valueOf(int value) { + return forNumber(value); + } + + public static ConditionCase forNumber(int value) { + switch (value) { + case 1: return SKU_GROUP_CONDITION; + case 0: return CONDITION_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public ConditionCase + getConditionCase() { + return ConditionCase.forNumber( + conditionCase_); + } + + public static final int SKU_GROUP_CONDITION_FIELD_NUMBER = 1; + /** + *
+   * SKU Group condition for override.
+   * 
+ * + * .google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1; + * @return Whether the skuGroupCondition field is set. + */ + @java.lang.Override + public boolean hasSkuGroupCondition() { + return conditionCase_ == 1; + } + /** + *
+   * SKU Group condition for override.
+   * 
+ * + * .google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1; + * @return The skuGroupCondition. + */ + @java.lang.Override + public com.google.cloud.channel.v1.SkuGroupCondition getSkuGroupCondition() { + if (conditionCase_ == 1) { + return (com.google.cloud.channel.v1.SkuGroupCondition) condition_; + } + return com.google.cloud.channel.v1.SkuGroupCondition.getDefaultInstance(); + } + /** + *
+   * SKU Group condition for override.
+   * 
+ * + * .google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1; + */ + @java.lang.Override + public com.google.cloud.channel.v1.SkuGroupConditionOrBuilder getSkuGroupConditionOrBuilder() { + if (conditionCase_ == 1) { + return (com.google.cloud.channel.v1.SkuGroupCondition) condition_; + } + return com.google.cloud.channel.v1.SkuGroupCondition.getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (conditionCase_ == 1) { + output.writeMessage(1, (com.google.cloud.channel.v1.SkuGroupCondition) condition_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (conditionCase_ == 1) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.channel.v1.SkuGroupCondition) condition_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.channel.v1.RepricingCondition)) { + return super.equals(obj); + } + com.google.cloud.channel.v1.RepricingCondition other = (com.google.cloud.channel.v1.RepricingCondition) obj; + + if (!getConditionCase().equals(other.getConditionCase())) return false; + switch (conditionCase_) { + case 1: + if (!getSkuGroupCondition() + .equals(other.getSkuGroupCondition())) return false; + break; + case 0: + default: + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (conditionCase_) { + case 1: + hash = (37 * hash) + SKU_GROUP_CONDITION_FIELD_NUMBER; + hash = (53 * hash) + getSkuGroupCondition().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.channel.v1.RepricingCondition parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.channel.v1.RepricingCondition parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.channel.v1.RepricingCondition parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.channel.v1.RepricingCondition parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.channel.v1.RepricingCondition parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.channel.v1.RepricingCondition parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.channel.v1.RepricingCondition parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.channel.v1.RepricingCondition parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.channel.v1.RepricingCondition parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.channel.v1.RepricingCondition parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.channel.v1.RepricingCondition parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.channel.v1.RepricingCondition 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.cloud.channel.v1.RepricingCondition 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; + } + /** + *
+   * Represents the various repricing conditions you can use for a conditional
+   * override.
+   * 
+ * + * Protobuf type {@code google.cloud.channel.v1.RepricingCondition} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.RepricingCondition) + com.google.cloud.channel.v1.RepricingConditionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingCondition_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingCondition_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.channel.v1.RepricingCondition.class, com.google.cloud.channel.v1.RepricingCondition.Builder.class); + } + + // Construct using com.google.cloud.channel.v1.RepricingCondition.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (skuGroupConditionBuilder_ != null) { + skuGroupConditionBuilder_.clear(); + } + conditionCase_ = 0; + condition_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingCondition_descriptor; + } + + @java.lang.Override + public com.google.cloud.channel.v1.RepricingCondition getDefaultInstanceForType() { + return com.google.cloud.channel.v1.RepricingCondition.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.channel.v1.RepricingCondition build() { + com.google.cloud.channel.v1.RepricingCondition result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.channel.v1.RepricingCondition buildPartial() { + com.google.cloud.channel.v1.RepricingCondition result = new com.google.cloud.channel.v1.RepricingCondition(this); + if (conditionCase_ == 1) { + if (skuGroupConditionBuilder_ == null) { + result.condition_ = condition_; + } else { + result.condition_ = skuGroupConditionBuilder_.build(); + } + } + result.conditionCase_ = conditionCase_; + 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.cloud.channel.v1.RepricingCondition) { + return mergeFrom((com.google.cloud.channel.v1.RepricingCondition)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.channel.v1.RepricingCondition other) { + if (other == com.google.cloud.channel.v1.RepricingCondition.getDefaultInstance()) return this; + switch (other.getConditionCase()) { + case SKU_GROUP_CONDITION: { + mergeSkuGroupCondition(other.getSkuGroupCondition()); + break; + } + case CONDITION_NOT_SET: { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getSkuGroupConditionFieldBuilder().getBuilder(), + extensionRegistry); + conditionCase_ = 1; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int conditionCase_ = 0; + private java.lang.Object condition_; + public ConditionCase + getConditionCase() { + return ConditionCase.forNumber( + conditionCase_); + } + + public Builder clearCondition() { + conditionCase_ = 0; + condition_ = null; + onChanged(); + return this; + } + + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.SkuGroupCondition, com.google.cloud.channel.v1.SkuGroupCondition.Builder, com.google.cloud.channel.v1.SkuGroupConditionOrBuilder> skuGroupConditionBuilder_; + /** + *
+     * SKU Group condition for override.
+     * 
+ * + * .google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1; + * @return Whether the skuGroupCondition field is set. + */ + @java.lang.Override + public boolean hasSkuGroupCondition() { + return conditionCase_ == 1; + } + /** + *
+     * SKU Group condition for override.
+     * 
+ * + * .google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1; + * @return The skuGroupCondition. + */ + @java.lang.Override + public com.google.cloud.channel.v1.SkuGroupCondition getSkuGroupCondition() { + if (skuGroupConditionBuilder_ == null) { + if (conditionCase_ == 1) { + return (com.google.cloud.channel.v1.SkuGroupCondition) condition_; + } + return com.google.cloud.channel.v1.SkuGroupCondition.getDefaultInstance(); + } else { + if (conditionCase_ == 1) { + return skuGroupConditionBuilder_.getMessage(); + } + return com.google.cloud.channel.v1.SkuGroupCondition.getDefaultInstance(); + } + } + /** + *
+     * SKU Group condition for override.
+     * 
+ * + * .google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1; + */ + public Builder setSkuGroupCondition(com.google.cloud.channel.v1.SkuGroupCondition value) { + if (skuGroupConditionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + condition_ = value; + onChanged(); + } else { + skuGroupConditionBuilder_.setMessage(value); + } + conditionCase_ = 1; + return this; + } + /** + *
+     * SKU Group condition for override.
+     * 
+ * + * .google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1; + */ + public Builder setSkuGroupCondition( + com.google.cloud.channel.v1.SkuGroupCondition.Builder builderForValue) { + if (skuGroupConditionBuilder_ == null) { + condition_ = builderForValue.build(); + onChanged(); + } else { + skuGroupConditionBuilder_.setMessage(builderForValue.build()); + } + conditionCase_ = 1; + return this; + } + /** + *
+     * SKU Group condition for override.
+     * 
+ * + * .google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1; + */ + public Builder mergeSkuGroupCondition(com.google.cloud.channel.v1.SkuGroupCondition value) { + if (skuGroupConditionBuilder_ == null) { + if (conditionCase_ == 1 && + condition_ != com.google.cloud.channel.v1.SkuGroupCondition.getDefaultInstance()) { + condition_ = com.google.cloud.channel.v1.SkuGroupCondition.newBuilder((com.google.cloud.channel.v1.SkuGroupCondition) condition_) + .mergeFrom(value).buildPartial(); + } else { + condition_ = value; + } + onChanged(); + } else { + if (conditionCase_ == 1) { + skuGroupConditionBuilder_.mergeFrom(value); + } else { + skuGroupConditionBuilder_.setMessage(value); + } + } + conditionCase_ = 1; + return this; + } + /** + *
+     * SKU Group condition for override.
+     * 
+ * + * .google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1; + */ + public Builder clearSkuGroupCondition() { + if (skuGroupConditionBuilder_ == null) { + if (conditionCase_ == 1) { + conditionCase_ = 0; + condition_ = null; + onChanged(); + } + } else { + if (conditionCase_ == 1) { + conditionCase_ = 0; + condition_ = null; + } + skuGroupConditionBuilder_.clear(); + } + return this; + } + /** + *
+     * SKU Group condition for override.
+     * 
+ * + * .google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1; + */ + public com.google.cloud.channel.v1.SkuGroupCondition.Builder getSkuGroupConditionBuilder() { + return getSkuGroupConditionFieldBuilder().getBuilder(); + } + /** + *
+     * SKU Group condition for override.
+     * 
+ * + * .google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1; + */ + @java.lang.Override + public com.google.cloud.channel.v1.SkuGroupConditionOrBuilder getSkuGroupConditionOrBuilder() { + if ((conditionCase_ == 1) && (skuGroupConditionBuilder_ != null)) { + return skuGroupConditionBuilder_.getMessageOrBuilder(); + } else { + if (conditionCase_ == 1) { + return (com.google.cloud.channel.v1.SkuGroupCondition) condition_; + } + return com.google.cloud.channel.v1.SkuGroupCondition.getDefaultInstance(); + } + } + /** + *
+     * SKU Group condition for override.
+     * 
+ * + * .google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.SkuGroupCondition, com.google.cloud.channel.v1.SkuGroupCondition.Builder, com.google.cloud.channel.v1.SkuGroupConditionOrBuilder> + getSkuGroupConditionFieldBuilder() { + if (skuGroupConditionBuilder_ == null) { + if (!(conditionCase_ == 1)) { + condition_ = com.google.cloud.channel.v1.SkuGroupCondition.getDefaultInstance(); + } + skuGroupConditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.SkuGroupCondition, com.google.cloud.channel.v1.SkuGroupCondition.Builder, com.google.cloud.channel.v1.SkuGroupConditionOrBuilder>( + (com.google.cloud.channel.v1.SkuGroupCondition) condition_, + getParentForChildren(), + isClean()); + condition_ = null; + } + conditionCase_ = 1; + onChanged();; + return skuGroupConditionBuilder_; + } + @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.cloud.channel.v1.RepricingCondition) + } + + // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.RepricingCondition) + private static final com.google.cloud.channel.v1.RepricingCondition DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.channel.v1.RepricingCondition(); + } + + public static com.google.cloud.channel.v1.RepricingCondition getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RepricingCondition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.channel.v1.RepricingCondition getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConditionOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConditionOrBuilder.java new file mode 100644 index 000000000000..8233d28ed415 --- /dev/null +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConditionOrBuilder.java @@ -0,0 +1,38 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/repricing.proto + +package com.google.cloud.channel.v1; + +public interface RepricingConditionOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.RepricingCondition) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * SKU Group condition for override.
+   * 
+ * + * .google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1; + * @return Whether the skuGroupCondition field is set. + */ + boolean hasSkuGroupCondition(); + /** + *
+   * SKU Group condition for override.
+   * 
+ * + * .google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1; + * @return The skuGroupCondition. + */ + com.google.cloud.channel.v1.SkuGroupCondition getSkuGroupCondition(); + /** + *
+   * SKU Group condition for override.
+   * 
+ * + * .google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1; + */ + com.google.cloud.channel.v1.SkuGroupConditionOrBuilder getSkuGroupConditionOrBuilder(); + + public com.google.cloud.channel.v1.RepricingCondition.ConditionCase getConditionCase(); +} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfig.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfig.java similarity index 53% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfig.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfig.java index d9fbe3dc15dd..55b04ef370ba 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfig.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfig.java @@ -1,80 +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/cloud/channel/v1/repricing.proto package com.google.cloud.channel.v1; /** - * - * *
  * Configuration for repricing a Google bill over a period of time.
  * 
* * Protobuf type {@code google.cloud.channel.v1.RepricingConfig} */ -public final class RepricingConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RepricingConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.RepricingConfig) RepricingConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RepricingConfig.newBuilder() to construct. private RepricingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RepricingConfig() { rebillingBasis_ = 0; + conditionalOverrides_ = 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 RepricingConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.RepricingProto - .internal_static_google_cloud_channel_v1_RepricingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.RepricingProto - .internal_static_google_cloud_channel_v1_RepricingConfig_fieldAccessorTable + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.RepricingConfig.class, - com.google.cloud.channel.v1.RepricingConfig.Builder.class); + com.google.cloud.channel.v1.RepricingConfig.class, com.google.cloud.channel.v1.RepricingConfig.Builder.class); } - public interface EntitlementGranularityOrBuilder - extends + public interface EntitlementGranularityOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Resource name of the entitlement.
      * Format:
@@ -82,13 +61,10 @@ public interface EntitlementGranularityOrBuilder
      * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } - * * @return The entitlement. */ java.lang.String getEntitlement(); /** - * - * *
      * Resource name of the entitlement.
      * Format:
@@ -96,65 +72,59 @@ public interface EntitlementGranularityOrBuilder
      * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for entitlement. */ - com.google.protobuf.ByteString getEntitlementBytes(); + com.google.protobuf.ByteString + getEntitlementBytes(); } /** - * - * *
    * Applies the repricing configuration at the entitlement level.
    * 
* * Protobuf type {@code google.cloud.channel.v1.RepricingConfig.EntitlementGranularity} */ - public static final class EntitlementGranularity extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class EntitlementGranularity extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) EntitlementGranularityOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use EntitlementGranularity.newBuilder() to construct. private EntitlementGranularity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private EntitlementGranularity() { entitlement_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new EntitlementGranularity(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.RepricingProto - .internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.RepricingProto - .internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_fieldAccessorTable + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.class, - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.Builder.class); + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.class, com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.Builder.class); } public static final int ENTITLEMENT_FIELD_NUMBER = 1; private volatile java.lang.Object entitlement_; /** - * - * *
      * Resource name of the entitlement.
      * Format:
@@ -162,7 +132,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } - * * @return The entitlement. */ @java.lang.Override @@ -171,15 +140,14 @@ public java.lang.String getEntitlement() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entitlement_ = s; return s; } } /** - * - * *
      * Resource name of the entitlement.
      * Format:
@@ -187,15 +155,16 @@ public java.lang.String getEntitlement() {
      * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for entitlement. */ @java.lang.Override - public com.google.protobuf.ByteString getEntitlementBytes() { + public com.google.protobuf.ByteString + getEntitlementBytes() { java.lang.Object ref = entitlement_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); entitlement_ = b; return b; } else { @@ -204,7 +173,6 @@ public com.google.protobuf.ByteString getEntitlementBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,7 +184,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entitlement_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entitlement_); } @@ -240,15 +209,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity)) { return super.equals(obj); } - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity other = - (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) obj; + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity other = (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) obj; - if (!getEntitlement().equals(other.getEntitlement())) return false; + if (!getEntitlement() + .equals(other.getEntitlement())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -268,95 +237,87 @@ public int hashCode() { } public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -366,42 +327,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Applies the repricing configuration at the entitlement level.
      * 
* * Protobuf type {@code google.cloud.channel.v1.RepricingConfig.EntitlementGranularity} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.RepricingProto - .internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.RepricingProto - .internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_fieldAccessorTable + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.class, - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.Builder.class); + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.class, com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.Builder.class); } - // Construct using - // com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.newBuilder() - private Builder() {} + // Construct using com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -411,16 +369,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.RepricingProto - .internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_descriptor; } @java.lang.Override - public com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity - getDefaultInstanceForType() { - return com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity - .getDefaultInstance(); + public com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity getDefaultInstanceForType() { + return com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.getDefaultInstance(); } @java.lang.Override @@ -434,8 +390,7 @@ public com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity build( @java.lang.Override public com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity buildPartial() { - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity result = - new com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity(this); + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity result = new com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity(this); result.entitlement_ = entitlement_; onBuilt(); return result; @@ -445,53 +400,46 @@ public com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity 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) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) { - return mergeFrom( - (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) other); + return mergeFrom((com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity other) { - if (other - == com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity other) { + if (other == com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.getDefaultInstance()) return this; if (!other.getEntitlement().isEmpty()) { entitlement_ = other.entitlement_; onChanged(); @@ -522,19 +470,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - entitlement_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + entitlement_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -547,8 +493,6 @@ public Builder mergeFrom( private java.lang.Object entitlement_ = ""; /** - * - * *
        * Resource name of the entitlement.
        * Format:
@@ -556,13 +500,13 @@ public Builder mergeFrom(
        * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } - * * @return The entitlement. */ public java.lang.String getEntitlement() { java.lang.Object ref = entitlement_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entitlement_ = s; return s; @@ -571,8 +515,6 @@ public java.lang.String getEntitlement() { } } /** - * - * *
        * Resource name of the entitlement.
        * Format:
@@ -580,14 +522,15 @@ public java.lang.String getEntitlement() {
        * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for entitlement. */ - public com.google.protobuf.ByteString getEntitlementBytes() { + public com.google.protobuf.ByteString + getEntitlementBytes() { java.lang.Object ref = entitlement_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); entitlement_ = b; return b; } else { @@ -595,8 +538,6 @@ public com.google.protobuf.ByteString getEntitlementBytes() { } } /** - * - * *
        * Resource name of the entitlement.
        * Format:
@@ -604,22 +545,20 @@ public com.google.protobuf.ByteString getEntitlementBytes() {
        * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } - * * @param value The entitlement to set. * @return This builder for chaining. */ - public Builder setEntitlement(java.lang.String value) { + public Builder setEntitlement( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entitlement_ = value; onChanged(); return this; } /** - * - * *
        * Resource name of the entitlement.
        * Format:
@@ -627,18 +566,15 @@ public Builder setEntitlement(java.lang.String value) {
        * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearEntitlement() { - + entitlement_ = getDefaultInstance().getEntitlement(); onChanged(); return this; } /** - * - * *
        * Resource name of the entitlement.
        * Format:
@@ -646,21 +582,20 @@ public Builder clearEntitlement() {
        * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for entitlement to set. * @return This builder for chaining. */ - public Builder setEntitlementBytes(com.google.protobuf.ByteString value) { + public Builder setEntitlementBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entitlement_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -673,44 +608,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) - private static final com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity - DEFAULT_INSTANCE; - + private static final com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity(); } - public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity - getDefaultInstance() { + public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EntitlementGranularity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EntitlementGranularity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -722,19 +654,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity - getDefaultInstanceForType() { + public com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ChannelPartnerGranularityOrBuilder - extends + public interface ChannelPartnerGranularityOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) - com.google.protobuf.MessageOrBuilder {} + com.google.protobuf.MessageOrBuilder { + } /** - * - * *
    * Applies the repricing configuration at the channel partner level.
    * The channel partner value is derived from the resource name. Takes an
@@ -743,46 +673,44 @@ public interface ChannelPartnerGranularityOrBuilder
    *
    * Protobuf type {@code google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity}
    */
-  public static final class ChannelPartnerGranularity extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class ChannelPartnerGranularity extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity)
       ChannelPartnerGranularityOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use ChannelPartnerGranularity.newBuilder() to construct.
     private ChannelPartnerGranularity(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private ChannelPartnerGranularity() {}
+    private ChannelPartnerGranularity() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new ChannelPartnerGranularity();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.channel.v1.RepricingProto
-          .internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.RepricingProto
-          .internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_fieldAccessorTable
+      return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.class,
-              com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.Builder.class);
+              com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.class, com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.Builder.class);
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -794,7 +722,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       getUnknownFields().writeTo(output);
     }
 
@@ -812,13 +741,12 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity)) {
         return super.equals(obj);
       }
-      com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity other =
-          (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) obj;
+      com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity other = (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) obj;
 
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -837,95 +765,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity
-        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
-    public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity
-        parseDelimitedFrom(
-            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+    public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity parseDelimitedFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity prototype) {
+    public static Builder newBuilder(com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -935,8 +855,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Applies the repricing configuration at the channel partner level.
      * The channel partner value is derived from the resource name. Takes an
@@ -945,35 +863,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity)
         com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularityOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.channel.v1.RepricingProto
-            .internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.channel.v1.RepricingProto
-            .internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_fieldAccessorTable
+        return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.class,
-                com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.Builder
-                    .class);
+                com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.class, com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.newBuilder()
-      private Builder() {}
+      // Construct using com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.newBuilder()
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -981,22 +897,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.channel.v1.RepricingProto
-            .internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity
-          getDefaultInstanceForType() {
-        return com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity
-            .getDefaultInstance();
+      public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity getDefaultInstanceForType() {
+        return com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity build() {
-        com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity result =
-            buildPartial();
+        com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -1005,8 +918,7 @@ public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity bui
 
       @java.lang.Override
       public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity buildPartial() {
-        com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity result =
-            new com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity(this);
+        com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity result = new com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity(this);
         onBuilt();
         return result;
       }
@@ -1015,54 +927,46 @@ public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity 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) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other
-            instanceof com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) {
-          return mergeFrom(
-              (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) other);
+        if (other instanceof com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) {
+          return mergeFrom((com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity other) {
-        if (other
-            == com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity other) {
+        if (other == com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.getDefaultInstance()) return this;
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
         return this;
@@ -1089,13 +993,12 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1105,7 +1008,6 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1118,45 +1020,41 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity)
-    private static final com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE =
-          new com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity();
+      DEFAULT_INSTANCE = new com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity();
     }
 
-    public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity
-        getDefaultInstance() {
+    public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public ChannelPartnerGranularity parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public ChannelPartnerGranularity parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1168,24 +1066,21 @@ public com.google.protobuf.Parser getParserForType()
     }
 
     @java.lang.Override
-    public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity
-        getDefaultInstanceForType() {
+    public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   private int granularityCase_ = 0;
   private java.lang.Object granularity_;
-
   public enum GranularityCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     ENTITLEMENT_GRANULARITY(4),
     CHANNEL_PARTNER_GRANULARITY(5),
     GRANULARITY_NOT_SET(0);
     private final int value;
-
     private GranularityCase(int value) {
       this.value = value;
     }
@@ -1201,39 +1096,31 @@ public static GranularityCase valueOf(int value) {
 
     public static GranularityCase forNumber(int value) {
       switch (value) {
-        case 4:
-          return ENTITLEMENT_GRANULARITY;
-        case 5:
-          return CHANNEL_PARTNER_GRANULARITY;
-        case 0:
-          return GRANULARITY_NOT_SET;
-        default:
-          return null;
+        case 4: return ENTITLEMENT_GRANULARITY;
+        case 5: return CHANNEL_PARTNER_GRANULARITY;
+        case 0: return GRANULARITY_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public GranularityCase getGranularityCase() {
-    return GranularityCase.forNumber(granularityCase_);
+  public GranularityCase
+  getGranularityCase() {
+    return GranularityCase.forNumber(
+        granularityCase_);
   }
 
   public static final int ENTITLEMENT_GRANULARITY_FIELD_NUMBER = 4;
   /**
-   *
-   *
    * 
    * Applies the repricing configuration at the entitlement level. This is
    * the only supported value for CustomerRepricingConfig.
    * 
* - * - * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; - * - * + * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; * @return Whether the entitlementGranularity field is set. */ @java.lang.Override @@ -1241,61 +1128,45 @@ public boolean hasEntitlementGranularity() { return granularityCase_ == 4; } /** - * - * *
    * Applies the repricing configuration at the entitlement level. This is
    * the only supported value for CustomerRepricingConfig.
    * 
* - * - * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; - * - * + * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; * @return The entitlementGranularity. */ @java.lang.Override - public com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity - getEntitlementGranularity() { + public com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity getEntitlementGranularity() { if (granularityCase_ == 4) { - return (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) granularity_; + return (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) granularity_; } return com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.getDefaultInstance(); } /** - * - * *
    * Applies the repricing configuration at the entitlement level. This is
    * the only supported value for CustomerRepricingConfig.
    * 
* - * - * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; - * + * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; */ @java.lang.Override - public com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularityOrBuilder - getEntitlementGranularityOrBuilder() { + public com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularityOrBuilder getEntitlementGranularityOrBuilder() { if (granularityCase_ == 4) { - return (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) granularity_; + return (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) granularity_; } return com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.getDefaultInstance(); } public static final int CHANNEL_PARTNER_GRANULARITY_FIELD_NUMBER = 5; /** - * - * *
    * Applies the repricing configuration at the channel partner level.
    * This is the only supported value for ChannelPartnerRepricingConfig.
    * 
* - * - * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; - * - * + * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; * @return Whether the channelPartnerGranularity field is set. */ @java.lang.Override @@ -1303,63 +1174,46 @@ public boolean hasChannelPartnerGranularity() { return granularityCase_ == 5; } /** - * - * *
    * Applies the repricing configuration at the channel partner level.
    * This is the only supported value for ChannelPartnerRepricingConfig.
    * 
* - * - * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; - * - * + * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; * @return The channelPartnerGranularity. */ @java.lang.Override - public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity - getChannelPartnerGranularity() { + public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity getChannelPartnerGranularity() { if (granularityCase_ == 5) { - return (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) granularity_; + return (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) granularity_; } - return com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity - .getDefaultInstance(); + return com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.getDefaultInstance(); } /** - * - * *
    * Applies the repricing configuration at the channel partner level.
    * This is the only supported value for ChannelPartnerRepricingConfig.
    * 
* - * - * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; - * + * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; */ @java.lang.Override - public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularityOrBuilder - getChannelPartnerGranularityOrBuilder() { + public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularityOrBuilder getChannelPartnerGranularityOrBuilder() { if (granularityCase_ == 5) { - return (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) granularity_; + return (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) granularity_; } - return com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity - .getDefaultInstance(); + return com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.getDefaultInstance(); } public static final int EFFECTIVE_INVOICE_MONTH_FIELD_NUMBER = 1; private com.google.type.Date effectiveInvoiceMonth_; /** - * - * *
-   * Required. The YearMonth when these adjustments activate. The Day field needs to be
-   * "0" since we only accept YearMonth repricing boundaries.
+   * Required. The YearMonth when these adjustments activate. The Day field
+   * needs to be "0" since we only accept YearMonth repricing boundaries.
    * 
* - * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the effectiveInvoiceMonth field is set. */ @java.lang.Override @@ -1367,34 +1221,25 @@ public boolean hasEffectiveInvoiceMonth() { return effectiveInvoiceMonth_ != null; } /** - * - * *
-   * Required. The YearMonth when these adjustments activate. The Day field needs to be
-   * "0" since we only accept YearMonth repricing boundaries.
+   * Required. The YearMonth when these adjustments activate. The Day field
+   * needs to be "0" since we only accept YearMonth repricing boundaries.
    * 
* - * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The effectiveInvoiceMonth. */ @java.lang.Override public com.google.type.Date getEffectiveInvoiceMonth() { - return effectiveInvoiceMonth_ == null - ? com.google.type.Date.getDefaultInstance() - : effectiveInvoiceMonth_; + return effectiveInvoiceMonth_ == null ? com.google.type.Date.getDefaultInstance() : effectiveInvoiceMonth_; } /** - * - * *
-   * Required. The YearMonth when these adjustments activate. The Day field needs to be
-   * "0" since we only accept YearMonth repricing boundaries.
+   * Required. The YearMonth when these adjustments activate. The Day field
+   * needs to be "0" since we only accept YearMonth repricing boundaries.
    * 
* - * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.type.DateOrBuilder getEffectiveInvoiceMonthOrBuilder() { @@ -1404,16 +1249,11 @@ public com.google.type.DateOrBuilder getEffectiveInvoiceMonthOrBuilder() { public static final int ADJUSTMENT_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.RepricingAdjustment adjustment_; /** - * - * *
    * Required. Information about the adjustment.
    * 
* - * - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the adjustment field is set. */ @java.lang.Override @@ -1421,34 +1261,23 @@ public boolean hasAdjustment() { return adjustment_ != null; } /** - * - * *
    * Required. Information about the adjustment.
    * 
* - * - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The adjustment. */ @java.lang.Override public com.google.cloud.channel.v1.RepricingAdjustment getAdjustment() { - return adjustment_ == null - ? com.google.cloud.channel.v1.RepricingAdjustment.getDefaultInstance() - : adjustment_; + return adjustment_ == null ? com.google.cloud.channel.v1.RepricingAdjustment.getDefaultInstance() : adjustment_; } /** - * - * *
    * Required. Information about the adjustment.
    * 
* - * - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder getAdjustmentOrBuilder() { @@ -1458,76 +1287,135 @@ public com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder getAdjustmentOrB public static final int REBILLING_BASIS_FIELD_NUMBER = 3; private int rebillingBasis_; /** - * - * *
-   * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to use for this bill. Specifies the relative cost
-   * based on repricing costs you will apply.
+   * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
+   * use for this bill. Specifies the relative cost based on repricing costs you
+   * will apply.
    * 
* - * - * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for rebillingBasis. */ - @java.lang.Override - public int getRebillingBasisValue() { + @java.lang.Override public int getRebillingBasisValue() { return rebillingBasis_; } /** - * - * *
-   * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to use for this bill. Specifies the relative cost
-   * based on repricing costs you will apply.
+   * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
+   * use for this bill. Specifies the relative cost based on repricing costs you
+   * will apply.
    * 
* - * - * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The rebillingBasis. */ - @java.lang.Override - public com.google.cloud.channel.v1.RebillingBasis getRebillingBasis() { + @java.lang.Override public com.google.cloud.channel.v1.RebillingBasis getRebillingBasis() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.RebillingBasis result = - com.google.cloud.channel.v1.RebillingBasis.valueOf(rebillingBasis_); + com.google.cloud.channel.v1.RebillingBasis result = com.google.cloud.channel.v1.RebillingBasis.valueOf(rebillingBasis_); return result == null ? com.google.cloud.channel.v1.RebillingBasis.UNRECOGNIZED : result; } - private byte memoizedIsInitialized = -1; - + public static final int CONDITIONAL_OVERRIDES_FIELD_NUMBER = 6; + private java.util.List conditionalOverrides_; + /** + *
+   * The conditional overrides to apply for this configuration. If you list
+   * multiple overrides, only the first valid override is used.  If you don't
+   * list any overrides, the API uses the normal adjustment and rebilling basis.
+   * 
+ * + * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; + */ @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; + public java.util.List getConditionalOverridesList() { + return conditionalOverrides_; } - + /** + *
+   * The conditional overrides to apply for this configuration. If you list
+   * multiple overrides, only the first valid override is used.  If you don't
+   * list any overrides, the API uses the normal adjustment and rebilling basis.
+   * 
+ * + * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; + */ @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (effectiveInvoiceMonth_ != null) { - output.writeMessage(1, getEffectiveInvoiceMonth()); - } - if (adjustment_ != null) { + public java.util.List + getConditionalOverridesOrBuilderList() { + return conditionalOverrides_; + } + /** + *
+   * The conditional overrides to apply for this configuration. If you list
+   * multiple overrides, only the first valid override is used.  If you don't
+   * list any overrides, the API uses the normal adjustment and rebilling basis.
+   * 
+ * + * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; + */ + @java.lang.Override + public int getConditionalOverridesCount() { + return conditionalOverrides_.size(); + } + /** + *
+   * The conditional overrides to apply for this configuration. If you list
+   * multiple overrides, only the first valid override is used.  If you don't
+   * list any overrides, the API uses the normal adjustment and rebilling basis.
+   * 
+ * + * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; + */ + @java.lang.Override + public com.google.cloud.channel.v1.ConditionalOverride getConditionalOverrides(int index) { + return conditionalOverrides_.get(index); + } + /** + *
+   * The conditional overrides to apply for this configuration. If you list
+   * multiple overrides, only the first valid override is used.  If you don't
+   * list any overrides, the API uses the normal adjustment and rebilling basis.
+   * 
+ * + * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; + */ + @java.lang.Override + public com.google.cloud.channel.v1.ConditionalOverrideOrBuilder getConditionalOverridesOrBuilder( + int index) { + return conditionalOverrides_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (effectiveInvoiceMonth_ != null) { + output.writeMessage(1, getEffectiveInvoiceMonth()); + } + if (adjustment_ != null) { output.writeMessage(2, getAdjustment()); } - if (rebillingBasis_ - != com.google.cloud.channel.v1.RebillingBasis.REBILLING_BASIS_UNSPECIFIED.getNumber()) { + if (rebillingBasis_ != com.google.cloud.channel.v1.RebillingBasis.REBILLING_BASIS_UNSPECIFIED.getNumber()) { output.writeEnum(3, rebillingBasis_); } if (granularityCase_ == 4) { - output.writeMessage( - 4, (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) granularity_); + output.writeMessage(4, (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) granularity_); } if (granularityCase_ == 5) { - output.writeMessage( - 5, (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) granularity_); + output.writeMessage(5, (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) granularity_); + } + for (int i = 0; i < conditionalOverrides_.size(); i++) { + output.writeMessage(6, conditionalOverrides_.get(i)); } getUnknownFields().writeTo(output); } @@ -1539,26 +1427,28 @@ public int getSerializedSize() { size = 0; if (effectiveInvoiceMonth_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEffectiveInvoiceMonth()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getEffectiveInvoiceMonth()); } if (adjustment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAdjustment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAdjustment()); } - if (rebillingBasis_ - != com.google.cloud.channel.v1.RebillingBasis.REBILLING_BASIS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, rebillingBasis_); + if (rebillingBasis_ != com.google.cloud.channel.v1.RebillingBasis.REBILLING_BASIS_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, rebillingBasis_); } if (granularityCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) granularity_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) granularity_); } if (granularityCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, - (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) granularity_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) granularity_); + } + for (int i = 0; i < conditionalOverrides_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, conditionalOverrides_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1568,31 +1458,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.cloud.channel.v1.RepricingConfig)) { return super.equals(obj); } - com.google.cloud.channel.v1.RepricingConfig other = - (com.google.cloud.channel.v1.RepricingConfig) obj; + com.google.cloud.channel.v1.RepricingConfig other = (com.google.cloud.channel.v1.RepricingConfig) obj; if (hasEffectiveInvoiceMonth() != other.hasEffectiveInvoiceMonth()) return false; if (hasEffectiveInvoiceMonth()) { - if (!getEffectiveInvoiceMonth().equals(other.getEffectiveInvoiceMonth())) return false; + if (!getEffectiveInvoiceMonth() + .equals(other.getEffectiveInvoiceMonth())) return false; } if (hasAdjustment() != other.hasAdjustment()) return false; if (hasAdjustment()) { - if (!getAdjustment().equals(other.getAdjustment())) return false; + if (!getAdjustment() + .equals(other.getAdjustment())) return false; } if (rebillingBasis_ != other.rebillingBasis_) return false; + if (!getConditionalOverridesList() + .equals(other.getConditionalOverridesList())) return false; if (!getGranularityCase().equals(other.getGranularityCase())) return false; switch (granularityCase_) { case 4: - if (!getEntitlementGranularity().equals(other.getEntitlementGranularity())) return false; + if (!getEntitlementGranularity() + .equals(other.getEntitlementGranularity())) return false; break; case 5: - if (!getChannelPartnerGranularity().equals(other.getChannelPartnerGranularity())) - return false; + if (!getChannelPartnerGranularity() + .equals(other.getChannelPartnerGranularity())) return false; break; case 0: default: @@ -1618,6 +1512,10 @@ public int hashCode() { } hash = (37 * hash) + REBILLING_BASIS_FIELD_NUMBER; hash = (53 * hash) + rebillingBasis_; + if (getConditionalOverridesCount() > 0) { + hash = (37 * hash) + CONDITIONAL_OVERRIDES_FIELD_NUMBER; + hash = (53 * hash) + getConditionalOverridesList().hashCode(); + } switch (granularityCase_) { case 4: hash = (37 * hash) + ENTITLEMENT_GRANULARITY_FIELD_NUMBER; @@ -1635,136 +1533,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.RepricingConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.RepricingConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.RepricingConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.RepricingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.RepricingConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.RepricingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.RepricingConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.RepricingConfig 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.cloud.channel.v1.RepricingConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.RepricingConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.RepricingConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.RepricingConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.RepricingConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.RepricingConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.RepricingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for repricing a Google bill over a period of time.
    * 
* * Protobuf type {@code google.cloud.channel.v1.RepricingConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.RepricingConfig) com.google.cloud.channel.v1.RepricingConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.RepricingProto - .internal_static_google_cloud_channel_v1_RepricingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.RepricingProto - .internal_static_google_cloud_channel_v1_RepricingConfig_fieldAccessorTable + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.RepricingConfig.class, - com.google.cloud.channel.v1.RepricingConfig.Builder.class); + com.google.cloud.channel.v1.RepricingConfig.class, com.google.cloud.channel.v1.RepricingConfig.Builder.class); } // Construct using com.google.cloud.channel.v1.RepricingConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1788,15 +1680,22 @@ public Builder clear() { } rebillingBasis_ = 0; + if (conditionalOverridesBuilder_ == null) { + conditionalOverrides_ = java.util.Collections.emptyList(); + } else { + conditionalOverrides_ = null; + conditionalOverridesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); granularityCase_ = 0; granularity_ = null; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.RepricingProto - .internal_static_google_cloud_channel_v1_RepricingConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingConfig_descriptor; } @java.lang.Override @@ -1815,8 +1714,8 @@ public com.google.cloud.channel.v1.RepricingConfig build() { @java.lang.Override public com.google.cloud.channel.v1.RepricingConfig buildPartial() { - com.google.cloud.channel.v1.RepricingConfig result = - new com.google.cloud.channel.v1.RepricingConfig(this); + com.google.cloud.channel.v1.RepricingConfig result = new com.google.cloud.channel.v1.RepricingConfig(this); + int from_bitField0_ = bitField0_; if (granularityCase_ == 4) { if (entitlementGranularityBuilder_ == null) { result.granularity_ = granularity_; @@ -1842,6 +1741,15 @@ public com.google.cloud.channel.v1.RepricingConfig buildPartial() { result.adjustment_ = adjustmentBuilder_.build(); } result.rebillingBasis_ = rebillingBasis_; + if (conditionalOverridesBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + conditionalOverrides_ = java.util.Collections.unmodifiableList(conditionalOverrides_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.conditionalOverrides_ = conditionalOverrides_; + } else { + result.conditionalOverrides_ = conditionalOverridesBuilder_.build(); + } result.granularityCase_ = granularityCase_; onBuilt(); return result; @@ -1851,39 +1759,38 @@ public com.google.cloud.channel.v1.RepricingConfig 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.cloud.channel.v1.RepricingConfig) { - return mergeFrom((com.google.cloud.channel.v1.RepricingConfig) other); + return mergeFrom((com.google.cloud.channel.v1.RepricingConfig)other); } else { super.mergeFrom(other); return this; @@ -1901,21 +1808,44 @@ public Builder mergeFrom(com.google.cloud.channel.v1.RepricingConfig other) { if (other.rebillingBasis_ != 0) { setRebillingBasisValue(other.getRebillingBasisValue()); } - switch (other.getGranularityCase()) { - case ENTITLEMENT_GRANULARITY: - { - mergeEntitlementGranularity(other.getEntitlementGranularity()); - break; + if (conditionalOverridesBuilder_ == null) { + if (!other.conditionalOverrides_.isEmpty()) { + if (conditionalOverrides_.isEmpty()) { + conditionalOverrides_ = other.conditionalOverrides_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureConditionalOverridesIsMutable(); + conditionalOverrides_.addAll(other.conditionalOverrides_); } - case CHANNEL_PARTNER_GRANULARITY: - { - mergeChannelPartnerGranularity(other.getChannelPartnerGranularity()); - break; - } - case GRANULARITY_NOT_SET: - { - break; + onChanged(); + } + } else { + if (!other.conditionalOverrides_.isEmpty()) { + if (conditionalOverridesBuilder_.isEmpty()) { + conditionalOverridesBuilder_.dispose(); + conditionalOverridesBuilder_ = null; + conditionalOverrides_ = other.conditionalOverrides_; + bitField0_ = (bitField0_ & ~0x00000001); + conditionalOverridesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getConditionalOverridesFieldBuilder() : null; + } else { + conditionalOverridesBuilder_.addAllMessages(other.conditionalOverrides_); } + } + } + switch (other.getGranularityCase()) { + case ENTITLEMENT_GRANULARITY: { + mergeEntitlementGranularity(other.getEntitlementGranularity()); + break; + } + case CHANNEL_PARTNER_GRANULARITY: { + mergeChannelPartnerGranularity(other.getChannelPartnerGranularity()); + break; + } + case GRANULARITY_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1943,46 +1873,58 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getEffectiveInvoiceMonthFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getEffectiveInvoiceMonthFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - case 18: - { - input.readMessage(getAdjustmentFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getAdjustmentFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 24: - { - rebillingBasis_ = input.readEnum(); + break; + } // case 18 + case 24: { + rebillingBasis_ = input.readEnum(); - break; - } // case 24 - case 34: - { - input.readMessage( - getEntitlementGranularityFieldBuilder().getBuilder(), extensionRegistry); - granularityCase_ = 4; - break; - } // case 34 - case 42: - { - input.readMessage( - getChannelPartnerGranularityFieldBuilder().getBuilder(), extensionRegistry); - granularityCase_ = 5; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 24 + case 34: { + input.readMessage( + getEntitlementGranularityFieldBuilder().getBuilder(), + extensionRegistry); + granularityCase_ = 4; + break; + } // case 34 + case 42: { + input.readMessage( + getChannelPartnerGranularityFieldBuilder().getBuilder(), + extensionRegistry); + granularityCase_ = 5; + break; + } // case 42 + case 50: { + com.google.cloud.channel.v1.ConditionalOverride m = + input.readMessage( + com.google.cloud.channel.v1.ConditionalOverride.parser(), + extensionRegistry); + if (conditionalOverridesBuilder_ == null) { + ensureConditionalOverridesIsMutable(); + conditionalOverrides_.add(m); + } else { + conditionalOverridesBuilder_.addMessage(m); + } + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1992,12 +1934,12 @@ public Builder mergeFrom( } // finally return this; } - private int granularityCase_ = 0; private java.lang.Object granularity_; - - public GranularityCase getGranularityCase() { - return GranularityCase.forNumber(granularityCase_); + public GranularityCase + getGranularityCase() { + return GranularityCase.forNumber( + granularityCase_); } public Builder clearGranularity() { @@ -2007,23 +1949,17 @@ public Builder clearGranularity() { return this; } + private int bitField0_; + private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity, - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.Builder, - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularityOrBuilder> - entitlementGranularityBuilder_; + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity, com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.Builder, com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularityOrBuilder> entitlementGranularityBuilder_; /** - * - * *
      * Applies the repricing configuration at the entitlement level. This is
      * the only supported value for CustomerRepricingConfig.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; - * - * + * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; * @return Whether the entitlementGranularity field is set. */ @java.lang.Override @@ -2031,50 +1967,37 @@ public boolean hasEntitlementGranularity() { return granularityCase_ == 4; } /** - * - * *
      * Applies the repricing configuration at the entitlement level. This is
      * the only supported value for CustomerRepricingConfig.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; - * - * + * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; * @return The entitlementGranularity. */ @java.lang.Override - public com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity - getEntitlementGranularity() { + public com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity getEntitlementGranularity() { if (entitlementGranularityBuilder_ == null) { if (granularityCase_ == 4) { return (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) granularity_; } - return com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity - .getDefaultInstance(); + return com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.getDefaultInstance(); } else { if (granularityCase_ == 4) { return entitlementGranularityBuilder_.getMessage(); } - return com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity - .getDefaultInstance(); + return com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.getDefaultInstance(); } } /** - * - * *
      * Applies the repricing configuration at the entitlement level. This is
      * the only supported value for CustomerRepricingConfig.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; - * + * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; */ - public Builder setEntitlementGranularity( - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity value) { + public Builder setEntitlementGranularity(com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity value) { if (entitlementGranularityBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2088,20 +2011,15 @@ public Builder setEntitlementGranularity( return this; } /** - * - * *
      * Applies the repricing configuration at the entitlement level. This is
      * the only supported value for CustomerRepricingConfig.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; - * + * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; */ public Builder setEntitlementGranularity( - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.Builder - builderForValue) { + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.Builder builderForValue) { if (entitlementGranularityBuilder_ == null) { granularity_ = builderForValue.build(); onChanged(); @@ -2112,30 +2030,19 @@ public Builder setEntitlementGranularity( return this; } /** - * - * *
      * Applies the repricing configuration at the entitlement level. This is
      * the only supported value for CustomerRepricingConfig.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; - * + * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; */ - public Builder mergeEntitlementGranularity( - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity value) { + public Builder mergeEntitlementGranularity(com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity value) { if (entitlementGranularityBuilder_ == null) { - if (granularityCase_ == 4 - && granularity_ - != com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity - .getDefaultInstance()) { - granularity_ = - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.newBuilder( - (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) - granularity_) - .mergeFrom(value) - .buildPartial(); + if (granularityCase_ == 4 && + granularity_ != com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.getDefaultInstance()) { + granularity_ = com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.newBuilder((com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) granularity_) + .mergeFrom(value).buildPartial(); } else { granularity_ = value; } @@ -2151,16 +2058,12 @@ public Builder mergeEntitlementGranularity( return this; } /** - * - * *
      * Applies the repricing configuration at the entitlement level. This is
      * the only supported value for CustomerRepricingConfig.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; - * + * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; */ public Builder clearEntitlementGranularity() { if (entitlementGranularityBuilder_ == null) { @@ -2179,102 +2082,71 @@ public Builder clearEntitlementGranularity() { return this; } /** - * - * *
      * Applies the repricing configuration at the entitlement level. This is
      * the only supported value for CustomerRepricingConfig.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; - * + * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; */ - public com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.Builder - getEntitlementGranularityBuilder() { + public com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.Builder getEntitlementGranularityBuilder() { return getEntitlementGranularityFieldBuilder().getBuilder(); } /** - * - * *
      * Applies the repricing configuration at the entitlement level. This is
      * the only supported value for CustomerRepricingConfig.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; - * + * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; */ @java.lang.Override - public com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularityOrBuilder - getEntitlementGranularityOrBuilder() { + public com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularityOrBuilder getEntitlementGranularityOrBuilder() { if ((granularityCase_ == 4) && (entitlementGranularityBuilder_ != null)) { return entitlementGranularityBuilder_.getMessageOrBuilder(); } else { if (granularityCase_ == 4) { return (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) granularity_; } - return com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity - .getDefaultInstance(); + return com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.getDefaultInstance(); } } /** - * - * *
      * Applies the repricing configuration at the entitlement level. This is
      * the only supported value for CustomerRepricingConfig.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; - * + * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity, - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.Builder, - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularityOrBuilder> + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity, com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.Builder, com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularityOrBuilder> getEntitlementGranularityFieldBuilder() { if (entitlementGranularityBuilder_ == null) { if (!(granularityCase_ == 4)) { - granularity_ = - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity - .getDefaultInstance(); + granularity_ = com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.getDefaultInstance(); } - entitlementGranularityBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity, - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.Builder, - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularityOrBuilder>( + entitlementGranularityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity, com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.Builder, com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularityOrBuilder>( (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) granularity_, getParentForChildren(), isClean()); granularity_ = null; } granularityCase_ = 4; - onChanged(); - ; + onChanged();; return entitlementGranularityBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity, - com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.Builder, - com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularityOrBuilder> - channelPartnerGranularityBuilder_; + com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity, com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.Builder, com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularityOrBuilder> channelPartnerGranularityBuilder_; /** - * - * *
      * Applies the repricing configuration at the channel partner level.
      * This is the only supported value for ChannelPartnerRepricingConfig.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; - * - * + * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; * @return Whether the channelPartnerGranularity field is set. */ @java.lang.Override @@ -2282,51 +2154,37 @@ public boolean hasChannelPartnerGranularity() { return granularityCase_ == 5; } /** - * - * *
      * Applies the repricing configuration at the channel partner level.
      * This is the only supported value for ChannelPartnerRepricingConfig.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; - * - * + * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; * @return The channelPartnerGranularity. */ @java.lang.Override - public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity - getChannelPartnerGranularity() { + public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity getChannelPartnerGranularity() { if (channelPartnerGranularityBuilder_ == null) { if (granularityCase_ == 5) { - return (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) - granularity_; + return (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) granularity_; } - return com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity - .getDefaultInstance(); + return com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.getDefaultInstance(); } else { if (granularityCase_ == 5) { return channelPartnerGranularityBuilder_.getMessage(); } - return com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity - .getDefaultInstance(); + return com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.getDefaultInstance(); } } /** - * - * *
      * Applies the repricing configuration at the channel partner level.
      * This is the only supported value for ChannelPartnerRepricingConfig.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; - * + * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; */ - public Builder setChannelPartnerGranularity( - com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity value) { + public Builder setChannelPartnerGranularity(com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity value) { if (channelPartnerGranularityBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2340,20 +2198,15 @@ public Builder setChannelPartnerGranularity( return this; } /** - * - * *
      * Applies the repricing configuration at the channel partner level.
      * This is the only supported value for ChannelPartnerRepricingConfig.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; - * + * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; */ public Builder setChannelPartnerGranularity( - com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.Builder - builderForValue) { + com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.Builder builderForValue) { if (channelPartnerGranularityBuilder_ == null) { granularity_ = builderForValue.build(); onChanged(); @@ -2364,30 +2217,19 @@ public Builder setChannelPartnerGranularity( return this; } /** - * - * *
      * Applies the repricing configuration at the channel partner level.
      * This is the only supported value for ChannelPartnerRepricingConfig.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; - * + * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; */ - public Builder mergeChannelPartnerGranularity( - com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity value) { + public Builder mergeChannelPartnerGranularity(com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity value) { if (channelPartnerGranularityBuilder_ == null) { - if (granularityCase_ == 5 - && granularity_ - != com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity - .getDefaultInstance()) { - granularity_ = - com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.newBuilder( - (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) - granularity_) - .mergeFrom(value) - .buildPartial(); + if (granularityCase_ == 5 && + granularity_ != com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.getDefaultInstance()) { + granularity_ = com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.newBuilder((com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) granularity_) + .mergeFrom(value).buildPartial(); } else { granularity_ = value; } @@ -2403,16 +2245,12 @@ public Builder mergeChannelPartnerGranularity( return this; } /** - * - * *
      * Applies the repricing configuration at the channel partner level.
      * This is the only supported value for ChannelPartnerRepricingConfig.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; - * + * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; */ public Builder clearChannelPartnerGranularity() { if (channelPartnerGranularityBuilder_ == null) { @@ -2431,142 +2269,100 @@ public Builder clearChannelPartnerGranularity() { return this; } /** - * - * *
      * Applies the repricing configuration at the channel partner level.
      * This is the only supported value for ChannelPartnerRepricingConfig.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; - * + * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; */ - public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.Builder - getChannelPartnerGranularityBuilder() { + public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.Builder getChannelPartnerGranularityBuilder() { return getChannelPartnerGranularityFieldBuilder().getBuilder(); } /** - * - * *
      * Applies the repricing configuration at the channel partner level.
      * This is the only supported value for ChannelPartnerRepricingConfig.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; - * + * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; */ @java.lang.Override - public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularityOrBuilder - getChannelPartnerGranularityOrBuilder() { + public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularityOrBuilder getChannelPartnerGranularityOrBuilder() { if ((granularityCase_ == 5) && (channelPartnerGranularityBuilder_ != null)) { return channelPartnerGranularityBuilder_.getMessageOrBuilder(); } else { if (granularityCase_ == 5) { - return (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) - granularity_; + return (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) granularity_; } - return com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity - .getDefaultInstance(); + return com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.getDefaultInstance(); } } /** - * - * *
      * Applies the repricing configuration at the channel partner level.
      * This is the only supported value for ChannelPartnerRepricingConfig.
      * 
* - * - * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; - * + * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity, - com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.Builder, - com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularityOrBuilder> + com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity, com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.Builder, com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularityOrBuilder> getChannelPartnerGranularityFieldBuilder() { if (channelPartnerGranularityBuilder_ == null) { if (!(granularityCase_ == 5)) { - granularity_ = - com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity - .getDefaultInstance(); + granularity_ = com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.getDefaultInstance(); } - channelPartnerGranularityBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity, - com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.Builder, - com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularityOrBuilder>( - (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) - granularity_, + channelPartnerGranularityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity, com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.Builder, com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularityOrBuilder>( + (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) granularity_, getParentForChildren(), isClean()); granularity_ = null; } granularityCase_ = 5; - onChanged(); - ; + onChanged();; return channelPartnerGranularityBuilder_; } private com.google.type.Date effectiveInvoiceMonth_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> - effectiveInvoiceMonthBuilder_; + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> effectiveInvoiceMonthBuilder_; /** - * - * *
-     * Required. The YearMonth when these adjustments activate. The Day field needs to be
-     * "0" since we only accept YearMonth repricing boundaries.
+     * Required. The YearMonth when these adjustments activate. The Day field
+     * needs to be "0" since we only accept YearMonth repricing boundaries.
      * 
* - * - * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the effectiveInvoiceMonth field is set. */ public boolean hasEffectiveInvoiceMonth() { return effectiveInvoiceMonthBuilder_ != null || effectiveInvoiceMonth_ != null; } /** - * - * *
-     * Required. The YearMonth when these adjustments activate. The Day field needs to be
-     * "0" since we only accept YearMonth repricing boundaries.
+     * Required. The YearMonth when these adjustments activate. The Day field
+     * needs to be "0" since we only accept YearMonth repricing boundaries.
      * 
* - * - * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The effectiveInvoiceMonth. */ public com.google.type.Date getEffectiveInvoiceMonth() { if (effectiveInvoiceMonthBuilder_ == null) { - return effectiveInvoiceMonth_ == null - ? com.google.type.Date.getDefaultInstance() - : effectiveInvoiceMonth_; + return effectiveInvoiceMonth_ == null ? com.google.type.Date.getDefaultInstance() : effectiveInvoiceMonth_; } else { return effectiveInvoiceMonthBuilder_.getMessage(); } } /** - * - * *
-     * Required. The YearMonth when these adjustments activate. The Day field needs to be
-     * "0" since we only accept YearMonth repricing boundaries.
+     * Required. The YearMonth when these adjustments activate. The Day field
+     * needs to be "0" since we only accept YearMonth repricing boundaries.
      * 
* - * - * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setEffectiveInvoiceMonth(com.google.type.Date value) { if (effectiveInvoiceMonthBuilder_ == null) { @@ -2582,18 +2378,15 @@ public Builder setEffectiveInvoiceMonth(com.google.type.Date value) { return this; } /** - * - * *
-     * Required. The YearMonth when these adjustments activate. The Day field needs to be
-     * "0" since we only accept YearMonth repricing boundaries.
+     * Required. The YearMonth when these adjustments activate. The Day field
+     * needs to be "0" since we only accept YearMonth repricing boundaries.
      * 
* - * - * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setEffectiveInvoiceMonth(com.google.type.Date.Builder builderForValue) { + public Builder setEffectiveInvoiceMonth( + com.google.type.Date.Builder builderForValue) { if (effectiveInvoiceMonthBuilder_ == null) { effectiveInvoiceMonth_ = builderForValue.build(); onChanged(); @@ -2604,24 +2397,18 @@ public Builder setEffectiveInvoiceMonth(com.google.type.Date.Builder builderForV return this; } /** - * - * *
-     * Required. The YearMonth when these adjustments activate. The Day field needs to be
-     * "0" since we only accept YearMonth repricing boundaries.
+     * Required. The YearMonth when these adjustments activate. The Day field
+     * needs to be "0" since we only accept YearMonth repricing boundaries.
      * 
* - * - * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeEffectiveInvoiceMonth(com.google.type.Date value) { if (effectiveInvoiceMonthBuilder_ == null) { if (effectiveInvoiceMonth_ != null) { effectiveInvoiceMonth_ = - com.google.type.Date.newBuilder(effectiveInvoiceMonth_) - .mergeFrom(value) - .buildPartial(); + com.google.type.Date.newBuilder(effectiveInvoiceMonth_).mergeFrom(value).buildPartial(); } else { effectiveInvoiceMonth_ = value; } @@ -2633,16 +2420,12 @@ public Builder mergeEffectiveInvoiceMonth(com.google.type.Date value) { return this; } /** - * - * *
-     * Required. The YearMonth when these adjustments activate. The Day field needs to be
-     * "0" since we only accept YearMonth repricing boundaries.
+     * Required. The YearMonth when these adjustments activate. The Day field
+     * needs to be "0" since we only accept YearMonth repricing boundaries.
      * 
* - * - * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearEffectiveInvoiceMonth() { if (effectiveInvoiceMonthBuilder_ == null) { @@ -2656,63 +2439,51 @@ public Builder clearEffectiveInvoiceMonth() { return this; } /** - * - * *
-     * Required. The YearMonth when these adjustments activate. The Day field needs to be
-     * "0" since we only accept YearMonth repricing boundaries.
+     * Required. The YearMonth when these adjustments activate. The Day field
+     * needs to be "0" since we only accept YearMonth repricing boundaries.
      * 
* - * - * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.type.Date.Builder getEffectiveInvoiceMonthBuilder() { - + onChanged(); return getEffectiveInvoiceMonthFieldBuilder().getBuilder(); } /** - * - * *
-     * Required. The YearMonth when these adjustments activate. The Day field needs to be
-     * "0" since we only accept YearMonth repricing boundaries.
+     * Required. The YearMonth when these adjustments activate. The Day field
+     * needs to be "0" since we only accept YearMonth repricing boundaries.
      * 
* - * - * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.type.DateOrBuilder getEffectiveInvoiceMonthOrBuilder() { if (effectiveInvoiceMonthBuilder_ != null) { return effectiveInvoiceMonthBuilder_.getMessageOrBuilder(); } else { - return effectiveInvoiceMonth_ == null - ? com.google.type.Date.getDefaultInstance() - : effectiveInvoiceMonth_; + return effectiveInvoiceMonth_ == null ? + com.google.type.Date.getDefaultInstance() : effectiveInvoiceMonth_; } } /** - * - * *
-     * Required. The YearMonth when these adjustments activate. The Day field needs to be
-     * "0" since we only accept YearMonth repricing boundaries.
+     * Required. The YearMonth when these adjustments activate. The Day field
+     * needs to be "0" since we only accept YearMonth repricing boundaries.
      * 
* - * - * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> getEffectiveInvoiceMonthFieldBuilder() { if (effectiveInvoiceMonthBuilder_ == null) { - effectiveInvoiceMonthBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( - getEffectiveInvoiceMonth(), getParentForChildren(), isClean()); + effectiveInvoiceMonthBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( + getEffectiveInvoiceMonth(), + getParentForChildren(), + isClean()); effectiveInvoiceMonth_ = null; } return effectiveInvoiceMonthBuilder_; @@ -2720,58 +2491,39 @@ public com.google.type.DateOrBuilder getEffectiveInvoiceMonthOrBuilder() { private com.google.cloud.channel.v1.RepricingAdjustment adjustment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingAdjustment, - com.google.cloud.channel.v1.RepricingAdjustment.Builder, - com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder> - adjustmentBuilder_; + com.google.cloud.channel.v1.RepricingAdjustment, com.google.cloud.channel.v1.RepricingAdjustment.Builder, com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder> adjustmentBuilder_; /** - * - * *
      * Required. Information about the adjustment.
      * 
* - * - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the adjustment field is set. */ public boolean hasAdjustment() { return adjustmentBuilder_ != null || adjustment_ != null; } /** - * - * *
      * Required. Information about the adjustment.
      * 
* - * - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The adjustment. */ public com.google.cloud.channel.v1.RepricingAdjustment getAdjustment() { if (adjustmentBuilder_ == null) { - return adjustment_ == null - ? com.google.cloud.channel.v1.RepricingAdjustment.getDefaultInstance() - : adjustment_; + return adjustment_ == null ? com.google.cloud.channel.v1.RepricingAdjustment.getDefaultInstance() : adjustment_; } else { return adjustmentBuilder_.getMessage(); } } /** - * - * *
      * Required. Information about the adjustment.
      * 
* - * - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAdjustment(com.google.cloud.channel.v1.RepricingAdjustment value) { if (adjustmentBuilder_ == null) { @@ -2787,15 +2539,11 @@ public Builder setAdjustment(com.google.cloud.channel.v1.RepricingAdjustment val return this; } /** - * - * *
      * Required. Information about the adjustment.
      * 
* - * - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAdjustment( com.google.cloud.channel.v1.RepricingAdjustment.Builder builderForValue) { @@ -2809,23 +2557,17 @@ public Builder setAdjustment( return this; } /** - * - * *
      * Required. Information about the adjustment.
      * 
* - * - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAdjustment(com.google.cloud.channel.v1.RepricingAdjustment value) { if (adjustmentBuilder_ == null) { if (adjustment_ != null) { adjustment_ = - com.google.cloud.channel.v1.RepricingAdjustment.newBuilder(adjustment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.RepricingAdjustment.newBuilder(adjustment_).mergeFrom(value).buildPartial(); } else { adjustment_ = value; } @@ -2837,15 +2579,11 @@ public Builder mergeAdjustment(com.google.cloud.channel.v1.RepricingAdjustment v return this; } /** - * - * *
      * Required. Information about the adjustment.
      * 
* - * - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAdjustment() { if (adjustmentBuilder_ == null) { @@ -2859,64 +2597,48 @@ public Builder clearAdjustment() { return this; } /** - * - * *
      * Required. Information about the adjustment.
      * 
* - * - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.channel.v1.RepricingAdjustment.Builder getAdjustmentBuilder() { - + onChanged(); return getAdjustmentFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Information about the adjustment.
      * 
* - * - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder getAdjustmentOrBuilder() { if (adjustmentBuilder_ != null) { return adjustmentBuilder_.getMessageOrBuilder(); } else { - return adjustment_ == null - ? com.google.cloud.channel.v1.RepricingAdjustment.getDefaultInstance() - : adjustment_; + return adjustment_ == null ? + com.google.cloud.channel.v1.RepricingAdjustment.getDefaultInstance() : adjustment_; } } /** - * - * *
      * Required. Information about the adjustment.
      * 
* - * - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingAdjustment, - com.google.cloud.channel.v1.RepricingAdjustment.Builder, - com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder> + com.google.cloud.channel.v1.RepricingAdjustment, com.google.cloud.channel.v1.RepricingAdjustment.Builder, com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder> getAdjustmentFieldBuilder() { if (adjustmentBuilder_ == null) { - adjustmentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingAdjustment, - com.google.cloud.channel.v1.RepricingAdjustment.Builder, - com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder>( - getAdjustment(), getParentForChildren(), isClean()); + adjustmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.RepricingAdjustment, com.google.cloud.channel.v1.RepricingAdjustment.Builder, com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder>( + getAdjustment(), + getParentForChildren(), + isClean()); adjustment_ = null; } return adjustmentBuilder_; @@ -2924,77 +2646,59 @@ public com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder getAdjustmentOrB private int rebillingBasis_ = 0; /** - * - * *
-     * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to use for this bill. Specifies the relative cost
-     * based on repricing costs you will apply.
+     * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
+     * use for this bill. Specifies the relative cost based on repricing costs you
+     * will apply.
      * 
* - * - * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for rebillingBasis. */ - @java.lang.Override - public int getRebillingBasisValue() { + @java.lang.Override public int getRebillingBasisValue() { return rebillingBasis_; } /** - * - * *
-     * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to use for this bill. Specifies the relative cost
-     * based on repricing costs you will apply.
+     * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
+     * use for this bill. Specifies the relative cost based on repricing costs you
+     * will apply.
      * 
* - * - * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for rebillingBasis to set. * @return This builder for chaining. */ public Builder setRebillingBasisValue(int value) { - + rebillingBasis_ = value; onChanged(); return this; } /** - * - * *
-     * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to use for this bill. Specifies the relative cost
-     * based on repricing costs you will apply.
+     * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
+     * use for this bill. Specifies the relative cost based on repricing costs you
+     * will apply.
      * 
* - * - * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The rebillingBasis. */ @java.lang.Override public com.google.cloud.channel.v1.RebillingBasis getRebillingBasis() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.RebillingBasis result = - com.google.cloud.channel.v1.RebillingBasis.valueOf(rebillingBasis_); + com.google.cloud.channel.v1.RebillingBasis result = com.google.cloud.channel.v1.RebillingBasis.valueOf(rebillingBasis_); return result == null ? com.google.cloud.channel.v1.RebillingBasis.UNRECOGNIZED : result; } /** - * - * *
-     * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to use for this bill. Specifies the relative cost
-     * based on repricing costs you will apply.
+     * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
+     * use for this bill. Specifies the relative cost based on repricing costs you
+     * will apply.
      * 
* - * - * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The rebillingBasis to set. * @return This builder for chaining. */ @@ -3002,34 +2706,378 @@ public Builder setRebillingBasis(com.google.cloud.channel.v1.RebillingBasis valu if (value == null) { throw new NullPointerException(); } - + rebillingBasis_ = value.getNumber(); onChanged(); return this; } /** - * - * *
-     * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to use for this bill. Specifies the relative cost
-     * based on repricing costs you will apply.
+     * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
+     * use for this bill. Specifies the relative cost based on repricing costs you
+     * will apply.
      * 
* - * - * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearRebillingBasis() { - + rebillingBasis_ = 0; onChanged(); return this; } + private java.util.List conditionalOverrides_ = + java.util.Collections.emptyList(); + private void ensureConditionalOverridesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + conditionalOverrides_ = new java.util.ArrayList(conditionalOverrides_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.ConditionalOverride, com.google.cloud.channel.v1.ConditionalOverride.Builder, com.google.cloud.channel.v1.ConditionalOverrideOrBuilder> conditionalOverridesBuilder_; + + /** + *
+     * The conditional overrides to apply for this configuration. If you list
+     * multiple overrides, only the first valid override is used.  If you don't
+     * list any overrides, the API uses the normal adjustment and rebilling basis.
+     * 
+ * + * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; + */ + public java.util.List getConditionalOverridesList() { + if (conditionalOverridesBuilder_ == null) { + return java.util.Collections.unmodifiableList(conditionalOverrides_); + } else { + return conditionalOverridesBuilder_.getMessageList(); + } + } + /** + *
+     * The conditional overrides to apply for this configuration. If you list
+     * multiple overrides, only the first valid override is used.  If you don't
+     * list any overrides, the API uses the normal adjustment and rebilling basis.
+     * 
+ * + * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; + */ + public int getConditionalOverridesCount() { + if (conditionalOverridesBuilder_ == null) { + return conditionalOverrides_.size(); + } else { + return conditionalOverridesBuilder_.getCount(); + } + } + /** + *
+     * The conditional overrides to apply for this configuration. If you list
+     * multiple overrides, only the first valid override is used.  If you don't
+     * list any overrides, the API uses the normal adjustment and rebilling basis.
+     * 
+ * + * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; + */ + public com.google.cloud.channel.v1.ConditionalOverride getConditionalOverrides(int index) { + if (conditionalOverridesBuilder_ == null) { + return conditionalOverrides_.get(index); + } else { + return conditionalOverridesBuilder_.getMessage(index); + } + } + /** + *
+     * The conditional overrides to apply for this configuration. If you list
+     * multiple overrides, only the first valid override is used.  If you don't
+     * list any overrides, the API uses the normal adjustment and rebilling basis.
+     * 
+ * + * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; + */ + public Builder setConditionalOverrides( + int index, com.google.cloud.channel.v1.ConditionalOverride value) { + if (conditionalOverridesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureConditionalOverridesIsMutable(); + conditionalOverrides_.set(index, value); + onChanged(); + } else { + conditionalOverridesBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * The conditional overrides to apply for this configuration. If you list
+     * multiple overrides, only the first valid override is used.  If you don't
+     * list any overrides, the API uses the normal adjustment and rebilling basis.
+     * 
+ * + * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; + */ + public Builder setConditionalOverrides( + int index, com.google.cloud.channel.v1.ConditionalOverride.Builder builderForValue) { + if (conditionalOverridesBuilder_ == null) { + ensureConditionalOverridesIsMutable(); + conditionalOverrides_.set(index, builderForValue.build()); + onChanged(); + } else { + conditionalOverridesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * The conditional overrides to apply for this configuration. If you list
+     * multiple overrides, only the first valid override is used.  If you don't
+     * list any overrides, the API uses the normal adjustment and rebilling basis.
+     * 
+ * + * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; + */ + public Builder addConditionalOverrides(com.google.cloud.channel.v1.ConditionalOverride value) { + if (conditionalOverridesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureConditionalOverridesIsMutable(); + conditionalOverrides_.add(value); + onChanged(); + } else { + conditionalOverridesBuilder_.addMessage(value); + } + return this; + } + /** + *
+     * The conditional overrides to apply for this configuration. If you list
+     * multiple overrides, only the first valid override is used.  If you don't
+     * list any overrides, the API uses the normal adjustment and rebilling basis.
+     * 
+ * + * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; + */ + public Builder addConditionalOverrides( + int index, com.google.cloud.channel.v1.ConditionalOverride value) { + if (conditionalOverridesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureConditionalOverridesIsMutable(); + conditionalOverrides_.add(index, value); + onChanged(); + } else { + conditionalOverridesBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * The conditional overrides to apply for this configuration. If you list
+     * multiple overrides, only the first valid override is used.  If you don't
+     * list any overrides, the API uses the normal adjustment and rebilling basis.
+     * 
+ * + * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; + */ + public Builder addConditionalOverrides( + com.google.cloud.channel.v1.ConditionalOverride.Builder builderForValue) { + if (conditionalOverridesBuilder_ == null) { + ensureConditionalOverridesIsMutable(); + conditionalOverrides_.add(builderForValue.build()); + onChanged(); + } else { + conditionalOverridesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     * The conditional overrides to apply for this configuration. If you list
+     * multiple overrides, only the first valid override is used.  If you don't
+     * list any overrides, the API uses the normal adjustment and rebilling basis.
+     * 
+ * + * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; + */ + public Builder addConditionalOverrides( + int index, com.google.cloud.channel.v1.ConditionalOverride.Builder builderForValue) { + if (conditionalOverridesBuilder_ == null) { + ensureConditionalOverridesIsMutable(); + conditionalOverrides_.add(index, builderForValue.build()); + onChanged(); + } else { + conditionalOverridesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * The conditional overrides to apply for this configuration. If you list
+     * multiple overrides, only the first valid override is used.  If you don't
+     * list any overrides, the API uses the normal adjustment and rebilling basis.
+     * 
+ * + * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; + */ + public Builder addAllConditionalOverrides( + java.lang.Iterable values) { + if (conditionalOverridesBuilder_ == null) { + ensureConditionalOverridesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, conditionalOverrides_); + onChanged(); + } else { + conditionalOverridesBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * The conditional overrides to apply for this configuration. If you list
+     * multiple overrides, only the first valid override is used.  If you don't
+     * list any overrides, the API uses the normal adjustment and rebilling basis.
+     * 
+ * + * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; + */ + public Builder clearConditionalOverrides() { + if (conditionalOverridesBuilder_ == null) { + conditionalOverrides_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + conditionalOverridesBuilder_.clear(); + } + return this; + } + /** + *
+     * The conditional overrides to apply for this configuration. If you list
+     * multiple overrides, only the first valid override is used.  If you don't
+     * list any overrides, the API uses the normal adjustment and rebilling basis.
+     * 
+ * + * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; + */ + public Builder removeConditionalOverrides(int index) { + if (conditionalOverridesBuilder_ == null) { + ensureConditionalOverridesIsMutable(); + conditionalOverrides_.remove(index); + onChanged(); + } else { + conditionalOverridesBuilder_.remove(index); + } + return this; + } + /** + *
+     * The conditional overrides to apply for this configuration. If you list
+     * multiple overrides, only the first valid override is used.  If you don't
+     * list any overrides, the API uses the normal adjustment and rebilling basis.
+     * 
+ * + * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; + */ + public com.google.cloud.channel.v1.ConditionalOverride.Builder getConditionalOverridesBuilder( + int index) { + return getConditionalOverridesFieldBuilder().getBuilder(index); + } + /** + *
+     * The conditional overrides to apply for this configuration. If you list
+     * multiple overrides, only the first valid override is used.  If you don't
+     * list any overrides, the API uses the normal adjustment and rebilling basis.
+     * 
+ * + * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; + */ + public com.google.cloud.channel.v1.ConditionalOverrideOrBuilder getConditionalOverridesOrBuilder( + int index) { + if (conditionalOverridesBuilder_ == null) { + return conditionalOverrides_.get(index); } else { + return conditionalOverridesBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     * The conditional overrides to apply for this configuration. If you list
+     * multiple overrides, only the first valid override is used.  If you don't
+     * list any overrides, the API uses the normal adjustment and rebilling basis.
+     * 
+ * + * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; + */ + public java.util.List + getConditionalOverridesOrBuilderList() { + if (conditionalOverridesBuilder_ != null) { + return conditionalOverridesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(conditionalOverrides_); + } + } + /** + *
+     * The conditional overrides to apply for this configuration. If you list
+     * multiple overrides, only the first valid override is used.  If you don't
+     * list any overrides, the API uses the normal adjustment and rebilling basis.
+     * 
+ * + * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; + */ + public com.google.cloud.channel.v1.ConditionalOverride.Builder addConditionalOverridesBuilder() { + return getConditionalOverridesFieldBuilder().addBuilder( + com.google.cloud.channel.v1.ConditionalOverride.getDefaultInstance()); + } + /** + *
+     * The conditional overrides to apply for this configuration. If you list
+     * multiple overrides, only the first valid override is used.  If you don't
+     * list any overrides, the API uses the normal adjustment and rebilling basis.
+     * 
+ * + * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; + */ + public com.google.cloud.channel.v1.ConditionalOverride.Builder addConditionalOverridesBuilder( + int index) { + return getConditionalOverridesFieldBuilder().addBuilder( + index, com.google.cloud.channel.v1.ConditionalOverride.getDefaultInstance()); + } + /** + *
+     * The conditional overrides to apply for this configuration. If you list
+     * multiple overrides, only the first valid override is used.  If you don't
+     * list any overrides, the API uses the normal adjustment and rebilling basis.
+     * 
+ * + * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; + */ + public java.util.List + getConditionalOverridesBuilderList() { + return getConditionalOverridesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.ConditionalOverride, com.google.cloud.channel.v1.ConditionalOverride.Builder, com.google.cloud.channel.v1.ConditionalOverrideOrBuilder> + getConditionalOverridesFieldBuilder() { + if (conditionalOverridesBuilder_ == null) { + conditionalOverridesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.ConditionalOverride, com.google.cloud.channel.v1.ConditionalOverride.Builder, com.google.cloud.channel.v1.ConditionalOverrideOrBuilder>( + conditionalOverrides_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + conditionalOverrides_ = null; + } + return conditionalOverridesBuilder_; + } @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3039,12 +3087,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.RepricingConfig) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.RepricingConfig) private static final com.google.cloud.channel.v1.RepricingConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.RepricingConfig(); } @@ -3053,27 +3101,27 @@ public static com.google.cloud.channel.v1.RepricingConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RepricingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RepricingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3088,4 +3136,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.RepricingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfigOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfigOrBuilder.java new file mode 100644 index 000000000000..0f4cc420604e --- /dev/null +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfigOrBuilder.java @@ -0,0 +1,205 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/repricing.proto + +package com.google.cloud.channel.v1; + +public interface RepricingConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.RepricingConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Applies the repricing configuration at the entitlement level. This is
+   * the only supported value for CustomerRepricingConfig.
+   * 
+ * + * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; + * @return Whether the entitlementGranularity field is set. + */ + boolean hasEntitlementGranularity(); + /** + *
+   * Applies the repricing configuration at the entitlement level. This is
+   * the only supported value for CustomerRepricingConfig.
+   * 
+ * + * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; + * @return The entitlementGranularity. + */ + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity getEntitlementGranularity(); + /** + *
+   * Applies the repricing configuration at the entitlement level. This is
+   * the only supported value for CustomerRepricingConfig.
+   * 
+ * + * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; + */ + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularityOrBuilder getEntitlementGranularityOrBuilder(); + + /** + *
+   * Applies the repricing configuration at the channel partner level.
+   * This is the only supported value for ChannelPartnerRepricingConfig.
+   * 
+ * + * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; + * @return Whether the channelPartnerGranularity field is set. + */ + boolean hasChannelPartnerGranularity(); + /** + *
+   * Applies the repricing configuration at the channel partner level.
+   * This is the only supported value for ChannelPartnerRepricingConfig.
+   * 
+ * + * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; + * @return The channelPartnerGranularity. + */ + com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity getChannelPartnerGranularity(); + /** + *
+   * Applies the repricing configuration at the channel partner level.
+   * This is the only supported value for ChannelPartnerRepricingConfig.
+   * 
+ * + * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; + */ + com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularityOrBuilder getChannelPartnerGranularityOrBuilder(); + + /** + *
+   * Required. The YearMonth when these adjustments activate. The Day field
+   * needs to be "0" since we only accept YearMonth repricing boundaries.
+   * 
+ * + * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the effectiveInvoiceMonth field is set. + */ + boolean hasEffectiveInvoiceMonth(); + /** + *
+   * Required. The YearMonth when these adjustments activate. The Day field
+   * needs to be "0" since we only accept YearMonth repricing boundaries.
+   * 
+ * + * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The effectiveInvoiceMonth. + */ + com.google.type.Date getEffectiveInvoiceMonth(); + /** + *
+   * Required. The YearMonth when these adjustments activate. The Day field
+   * needs to be "0" since we only accept YearMonth repricing boundaries.
+   * 
+ * + * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.type.DateOrBuilder getEffectiveInvoiceMonthOrBuilder(); + + /** + *
+   * Required. Information about the adjustment.
+   * 
+ * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the adjustment field is set. + */ + boolean hasAdjustment(); + /** + *
+   * Required. Information about the adjustment.
+   * 
+ * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The adjustment. + */ + com.google.cloud.channel.v1.RepricingAdjustment getAdjustment(); + /** + *
+   * Required. Information about the adjustment.
+   * 
+ * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder getAdjustmentOrBuilder(); + + /** + *
+   * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
+   * use for this bill. Specifies the relative cost based on repricing costs you
+   * will apply.
+   * 
+ * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The enum numeric value on the wire for rebillingBasis. + */ + int getRebillingBasisValue(); + /** + *
+   * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
+   * use for this bill. Specifies the relative cost based on repricing costs you
+   * will apply.
+   * 
+ * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The rebillingBasis. + */ + com.google.cloud.channel.v1.RebillingBasis getRebillingBasis(); + + /** + *
+   * The conditional overrides to apply for this configuration. If you list
+   * multiple overrides, only the first valid override is used.  If you don't
+   * list any overrides, the API uses the normal adjustment and rebilling basis.
+   * 
+ * + * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; + */ + java.util.List + getConditionalOverridesList(); + /** + *
+   * The conditional overrides to apply for this configuration. If you list
+   * multiple overrides, only the first valid override is used.  If you don't
+   * list any overrides, the API uses the normal adjustment and rebilling basis.
+   * 
+ * + * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; + */ + com.google.cloud.channel.v1.ConditionalOverride getConditionalOverrides(int index); + /** + *
+   * The conditional overrides to apply for this configuration. If you list
+   * multiple overrides, only the first valid override is used.  If you don't
+   * list any overrides, the API uses the normal adjustment and rebilling basis.
+   * 
+ * + * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; + */ + int getConditionalOverridesCount(); + /** + *
+   * The conditional overrides to apply for this configuration. If you list
+   * multiple overrides, only the first valid override is used.  If you don't
+   * list any overrides, the API uses the normal adjustment and rebilling basis.
+   * 
+ * + * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; + */ + java.util.List + getConditionalOverridesOrBuilderList(); + /** + *
+   * The conditional overrides to apply for this configuration. If you list
+   * multiple overrides, only the first valid override is used.  If you don't
+   * list any overrides, the API uses the normal adjustment and rebilling basis.
+   * 
+ * + * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; + */ + com.google.cloud.channel.v1.ConditionalOverrideOrBuilder getConditionalOverridesOrBuilder( + int index); + + public com.google.cloud.channel.v1.RepricingConfig.GranularityCase getGranularityCase(); +} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java new file mode 100644 index 000000000000..cbea55c88df8 --- /dev/null +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java @@ -0,0 +1,220 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/repricing.proto + +package com.google.cloud.channel.v1; + +public final class RepricingProto { + private RepricingProto() {} + 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_cloud_channel_v1_CustomerRepricingConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_CustomerRepricingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_RepricingConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_RepricingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_RepricingAdjustment_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_RepricingAdjustment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_PercentageAdjustment_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_PercentageAdjustment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_ConditionalOverride_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_ConditionalOverride_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_RepricingCondition_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_RepricingCondition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_SkuGroupCondition_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_SkuGroupCondition_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/cloud/channel/v1/repricing.prot" + + "o\022\027google.cloud.channel.v1\032\037google/api/f" + + "ield_behavior.proto\032\031google/api/resource" + + ".proto\032\037google/protobuf/timestamp.proto\032" + + "\026google/type/date.proto\032\031google/type/dec" + + "imal.proto\"\305\002\n\027CustomerRepricingConfig\022\021" + + "\n\004name\030\001 \001(\tB\003\340A\003\022G\n\020repricing_config\030\002 " + + "\001(\0132(.google.cloud.channel.v1.RepricingC" + + "onfigB\003\340A\002\0224\n\013update_time\030\003 \001(\0132\032.google" + + ".protobuf.TimestampB\003\340A\003:\227\001\352A\223\001\n3cloudch" + + "annel.googleapis.com/CustomerRepricingCo" + + "nfig\022\\accounts/{account}/customers/{cust" + + "omer}/customerRepricingConfigs/{customer" + + "_repricing_config}\"\357\002\n\035ChannelPartnerRep" + + "ricingConfig\022\021\n\004name\030\001 \001(\tB\003\340A\003\022G\n\020repri" + + "cing_config\030\002 \001(\0132(.google.cloud.channel" + + ".v1.RepricingConfigB\003\340A\002\0224\n\013update_time\030" + + "\003 \001(\0132\032.google.protobuf.TimestampB\003\340A\003:\273" + + "\001\352A\267\001\n9cloudchannel.googleapis.com/Chann" + + "elPartnerRepricingConfig\022zaccounts/{acco" + + "unt}/channelPartnerLinks/{channel_partne" + + "r}/channelPartnerRepricingConfigs/{chann" + + "el_partner_repricing_config}\"\375\004\n\017Reprici" + + "ngConfig\022b\n\027entitlement_granularity\030\004 \001(" + + "\0132?.google.cloud.channel.v1.RepricingCon" + + "fig.EntitlementGranularityH\000\022i\n\033channel_" + + "partner_granularity\030\005 \001(\0132B.google.cloud" + + ".channel.v1.RepricingConfig.ChannelPartn" + + "erGranularityH\000\0227\n\027effective_invoice_mon" + + "th\030\001 \001(\0132\021.google.type.DateB\003\340A\002\022E\n\nadju" + + "stment\030\002 \001(\0132,.google.cloud.channel.v1.R" + + "epricingAdjustmentB\003\340A\002\022E\n\017rebilling_bas" + + "is\030\003 \001(\0162\'.google.cloud.channel.v1.Rebil" + + "lingBasisB\003\340A\002\022K\n\025conditional_overrides\030" + + "\006 \003(\0132,.google.cloud.channel.v1.Conditio" + + "nalOverride\032[\n\026EntitlementGranularity\022A\n" + + "\013entitlement\030\001 \001(\tB,\372A)\n\'cloudchannel.go" + + "ogleapis.com/Entitlement\032\033\n\031ChannelPartn" + + "erGranularityB\r\n\013granularity\"s\n\023Repricin" + + "gAdjustment\022N\n\025percentage_adjustment\030\002 \001" + + "(\0132-.google.cloud.channel.v1.PercentageA" + + "djustmentH\000B\014\n\nadjustment\"@\n\024PercentageA" + + "djustment\022(\n\npercentage\030\002 \001(\0132\024.google.t" + + "ype.Decimal\"\362\001\n\023ConditionalOverride\022E\n\na" + + "djustment\030\001 \001(\0132,.google.cloud.channel.v" + + "1.RepricingAdjustmentB\003\340A\002\022E\n\017rebilling_" + + "basis\030\002 \001(\0162\'.google.cloud.channel.v1.Re" + + "billingBasisB\003\340A\002\022M\n\023repricing_condition" + + "\030\003 \001(\0132+.google.cloud.channel.v1.Reprici" + + "ngConditionB\003\340A\002\"l\n\022RepricingCondition\022I" + + "\n\023sku_group_condition\030\001 \001(\0132*.google.clo" + + "ud.channel.v1.SkuGroupConditionH\000B\013\n\tcon" + + "dition\"&\n\021SkuGroupCondition\022\021\n\tsku_group" + + "\030\001 \001(\t*]\n\016RebillingBasis\022\037\n\033REBILLING_BA" + + "SIS_UNSPECIFIED\020\000\022\020\n\014COST_AT_LIST\020\001\022\030\n\024D" + + "IRECT_CUSTOMER_COST\020\002Bo\n\033com.google.clou" + + "d.channel.v1B\016RepricingProtoP\001Z>google.g" + + "olang.org/genproto/googleapis/cloud/chan" + + "nel/v1;channelb\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.type.DateProto.getDescriptor(), + com.google.type.DecimalProto.getDescriptor(), + }); + internal_static_google_cloud_channel_v1_CustomerRepricingConfig_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_channel_v1_CustomerRepricingConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_CustomerRepricingConfig_descriptor, + new java.lang.String[] { "Name", "RepricingConfig", "UpdateTime", }); + internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_descriptor, + new java.lang.String[] { "Name", "RepricingConfig", "UpdateTime", }); + internal_static_google_cloud_channel_v1_RepricingConfig_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_channel_v1_RepricingConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_RepricingConfig_descriptor, + new java.lang.String[] { "EntitlementGranularity", "ChannelPartnerGranularity", "EffectiveInvoiceMonth", "Adjustment", "RebillingBasis", "ConditionalOverrides", "Granularity", }); + internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_descriptor = + internal_static_google_cloud_channel_v1_RepricingConfig_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_descriptor, + new java.lang.String[] { "Entitlement", }); + internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_descriptor = + internal_static_google_cloud_channel_v1_RepricingConfig_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_channel_v1_RepricingAdjustment_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_channel_v1_RepricingAdjustment_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_RepricingAdjustment_descriptor, + new java.lang.String[] { "PercentageAdjustment", "Adjustment", }); + internal_static_google_cloud_channel_v1_PercentageAdjustment_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_channel_v1_PercentageAdjustment_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_PercentageAdjustment_descriptor, + new java.lang.String[] { "Percentage", }); + internal_static_google_cloud_channel_v1_ConditionalOverride_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_channel_v1_ConditionalOverride_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_ConditionalOverride_descriptor, + new java.lang.String[] { "Adjustment", "RebillingBasis", "RepricingCondition", }); + internal_static_google_cloud_channel_v1_RepricingCondition_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_channel_v1_RepricingCondition_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_RepricingCondition_descriptor, + new java.lang.String[] { "SkuGroupCondition", "Condition", }); + internal_static_google_cloud_channel_v1_SkuGroupCondition_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_channel_v1_SkuGroupCondition_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_SkuGroupCondition_descriptor, + new java.lang.String[] { "SkuGroup", }); + 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.type.DateProto.getDescriptor(); + com.google.type.DecimalProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ResourceType.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ResourceType.java similarity index 73% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ResourceType.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ResourceType.java index fae2a68b32c1..8874e98665e2 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ResourceType.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ResourceType.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/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; /** - * - * *
  * Represents the type for a monetizable resource(any entity on which billing
  * happens). For example, this could be MINUTES for Google Voice and GB for
@@ -29,10 +12,9 @@
  *
  * Protobuf enum {@code google.cloud.channel.v1.ResourceType}
  */
-public enum ResourceType implements com.google.protobuf.ProtocolMessageEnum {
+public enum ResourceType
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Not used.
    * 
@@ -41,8 +23,6 @@ public enum ResourceType implements com.google.protobuf.ProtocolMessageEnum { */ RESOURCE_TYPE_UNSPECIFIED(0), /** - * - * *
    * Seat.
    * 
@@ -51,8 +31,6 @@ public enum ResourceType implements com.google.protobuf.ProtocolMessageEnum { */ SEAT(1), /** - * - * *
    * Monthly active user.
    * 
@@ -61,8 +39,6 @@ public enum ResourceType implements com.google.protobuf.ProtocolMessageEnum { */ MAU(2), /** - * - * *
    * GB (used for storage SKUs).
    * 
@@ -71,8 +47,6 @@ public enum ResourceType implements com.google.protobuf.ProtocolMessageEnum { */ GB(3), /** - * - * *
    * Active licensed users(for Voice SKUs).
    * 
@@ -81,8 +55,6 @@ public enum ResourceType implements com.google.protobuf.ProtocolMessageEnum { */ LICENSED_USER(4), /** - * - * *
    * Voice usage.
    * 
@@ -91,8 +63,6 @@ public enum ResourceType implements com.google.protobuf.ProtocolMessageEnum { */ MINUTES(5), /** - * - * *
    * For IaaS SKUs like Google Cloud Platform, monetization is based on usage
    * accrued on your billing account irrespective of the type of monetizable
@@ -105,8 +75,6 @@ public enum ResourceType implements com.google.protobuf.ProtocolMessageEnum {
    */
   IAAS_USAGE(6),
   /**
-   *
-   *
    * 
    * For Google Cloud Platform subscriptions like Anthos or SAP.
    * 
@@ -118,8 +86,6 @@ public enum ResourceType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Not used.
    * 
@@ -128,8 +94,6 @@ public enum ResourceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RESOURCE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Seat.
    * 
@@ -138,8 +102,6 @@ public enum ResourceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SEAT_VALUE = 1; /** - * - * *
    * Monthly active user.
    * 
@@ -148,8 +110,6 @@ public enum ResourceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MAU_VALUE = 2; /** - * - * *
    * GB (used for storage SKUs).
    * 
@@ -158,8 +118,6 @@ public enum ResourceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GB_VALUE = 3; /** - * - * *
    * Active licensed users(for Voice SKUs).
    * 
@@ -168,8 +126,6 @@ public enum ResourceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LICENSED_USER_VALUE = 4; /** - * - * *
    * Voice usage.
    * 
@@ -178,8 +134,6 @@ public enum ResourceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MINUTES_VALUE = 5; /** - * - * *
    * For IaaS SKUs like Google Cloud Platform, monetization is based on usage
    * accrued on your billing account irrespective of the type of monetizable
@@ -192,8 +146,6 @@ public enum ResourceType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int IAAS_USAGE_VALUE = 6;
   /**
-   *
-   *
    * 
    * For Google Cloud Platform subscriptions like Anthos or SAP.
    * 
@@ -202,6 +154,7 @@ public enum ResourceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUBSCRIPTION_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -226,59 +179,54 @@ public static ResourceType valueOf(int value) { */ public static ResourceType forNumber(int value) { switch (value) { - case 0: - return RESOURCE_TYPE_UNSPECIFIED; - case 1: - return SEAT; - case 2: - return MAU; - case 3: - return GB; - case 4: - return LICENSED_USER; - case 5: - return MINUTES; - case 6: - return IAAS_USAGE; - case 7: - return SUBSCRIPTION; - default: - return null; + case 0: return RESOURCE_TYPE_UNSPECIFIED; + case 1: return SEAT; + case 2: return MAU; + case 3: return GB; + case 4: return LICENSED_USER; + case 5: return MINUTES; + case 6: return IAAS_USAGE; + case 7: return SUBSCRIPTION; + 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 ResourceType findValueByNumber(int number) { - return ResourceType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + ResourceType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ResourceType findValueByNumber(int number) { + return ResourceType.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.cloud.channel.v1.OffersProto.getDescriptor().getEnumTypes().get(3); } private static final ResourceType[] VALUES = values(); - public static ResourceType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ResourceType 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; @@ -294,3 +242,4 @@ private ResourceType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.channel.v1.ResourceType) } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Row.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Row.java similarity index 70% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Row.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Row.java index f1563a168b58..5a3f9f4e382b 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Row.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Row.java @@ -1,67 +1,49 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; /** - * - * *
  * A row of report values.
  * 
* * Protobuf type {@code google.cloud.channel.v1.Row} */ -public final class Row extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Row extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.Row) RowOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Row.newBuilder() to construct. private Row(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Row() { values_ = 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 Row(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_Row_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_Row_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_Row_fieldAccessorTable + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_Row_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.channel.v1.Row.class, com.google.cloud.channel.v1.Row.Builder.class); } @@ -69,8 +51,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public static final int VALUES_FIELD_NUMBER = 1; private java.util.List values_; /** - * - * *
    * The list of values in the row.
    * 
@@ -82,8 +62,6 @@ public java.util.List getValuesList() { return values_; } /** - * - * *
    * The list of values in the row.
    * 
@@ -91,13 +69,11 @@ public java.util.List getValuesList() { * repeated .google.cloud.channel.v1.ReportValue values = 1; */ @java.lang.Override - public java.util.List + public java.util.List getValuesOrBuilderList() { return values_; } /** - * - * *
    * The list of values in the row.
    * 
@@ -109,8 +85,6 @@ public int getValuesCount() { return values_.size(); } /** - * - * *
    * The list of values in the row.
    * 
@@ -122,8 +96,6 @@ public com.google.cloud.channel.v1.ReportValue getValues(int index) { return values_.get(index); } /** - * - * *
    * The list of values in the row.
    * 
@@ -131,12 +103,12 @@ public com.google.cloud.channel.v1.ReportValue getValues(int index) { * repeated .google.cloud.channel.v1.ReportValue values = 1; */ @java.lang.Override - public com.google.cloud.channel.v1.ReportValueOrBuilder getValuesOrBuilder(int index) { + public com.google.cloud.channel.v1.ReportValueOrBuilder getValuesOrBuilder( + int index) { return values_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -148,7 +120,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < values_.size(); i++) { output.writeMessage(1, values_.get(i)); } @@ -162,7 +135,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < values_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, values_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, values_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -172,14 +146,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.Row)) { return super.equals(obj); } com.google.cloud.channel.v1.Row other = (com.google.cloud.channel.v1.Row) obj; - if (!getValuesList().equals(other.getValuesList())) return false; + if (!getValuesList() + .equals(other.getValuesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -200,134 +175,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.Row parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.Row parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Row parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.Row parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.channel.v1.Row parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Row parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Row parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Row parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Row 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.cloud.channel.v1.Row parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.Row parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.Row parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.Row parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.Row parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.Row prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 row of report values.
    * 
* * Protobuf type {@code google.cloud.channel.v1.Row} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.Row) com.google.cloud.channel.v1.RowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_Row_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_Row_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_Row_fieldAccessorTable + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_Row_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.channel.v1.Row.class, com.google.cloud.channel.v1.Row.Builder.class); } // Construct using com.google.cloud.channel.v1.Row.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -342,9 +313,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_Row_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_Row_descriptor; } @java.lang.Override @@ -382,39 +353,38 @@ public com.google.cloud.channel.v1.Row 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.cloud.channel.v1.Row) { - return mergeFrom((com.google.cloud.channel.v1.Row) other); + return mergeFrom((com.google.cloud.channel.v1.Row)other); } else { super.mergeFrom(other); return this; @@ -441,10 +411,9 @@ public Builder mergeFrom(com.google.cloud.channel.v1.Row other) { valuesBuilder_ = null; values_ = other.values_; bitField0_ = (bitField0_ & ~0x00000001); - valuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getValuesFieldBuilder() - : null; + valuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getValuesFieldBuilder() : null; } else { valuesBuilder_.addAllMessages(other.values_); } @@ -476,26 +445,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.channel.v1.ReportValue m = - input.readMessage( - com.google.cloud.channel.v1.ReportValue.parser(), extensionRegistry); - if (valuesBuilder_ == null) { - ensureValuesIsMutable(); - values_.add(m); - } else { - valuesBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.channel.v1.ReportValue m = + input.readMessage( + com.google.cloud.channel.v1.ReportValue.parser(), + extensionRegistry); + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + values_.add(m); + } else { + valuesBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -505,28 +473,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List values_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { values_ = new java.util.ArrayList(values_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.ReportValue, - com.google.cloud.channel.v1.ReportValue.Builder, - com.google.cloud.channel.v1.ReportValueOrBuilder> - valuesBuilder_; + com.google.cloud.channel.v1.ReportValue, com.google.cloud.channel.v1.ReportValue.Builder, com.google.cloud.channel.v1.ReportValueOrBuilder> valuesBuilder_; /** - * - * *
      * The list of values in the row.
      * 
@@ -541,8 +502,6 @@ public java.util.List getValuesList() { } } /** - * - * *
      * The list of values in the row.
      * 
@@ -557,8 +516,6 @@ public int getValuesCount() { } } /** - * - * *
      * The list of values in the row.
      * 
@@ -573,15 +530,14 @@ public com.google.cloud.channel.v1.ReportValue getValues(int index) { } } /** - * - * *
      * The list of values in the row.
      * 
* * repeated .google.cloud.channel.v1.ReportValue values = 1; */ - public Builder setValues(int index, com.google.cloud.channel.v1.ReportValue value) { + public Builder setValues( + int index, com.google.cloud.channel.v1.ReportValue value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -595,8 +551,6 @@ public Builder setValues(int index, com.google.cloud.channel.v1.ReportValue valu return this; } /** - * - * *
      * The list of values in the row.
      * 
@@ -615,8 +569,6 @@ public Builder setValues( return this; } /** - * - * *
      * The list of values in the row.
      * 
@@ -637,15 +589,14 @@ public Builder addValues(com.google.cloud.channel.v1.ReportValue value) { return this; } /** - * - * *
      * The list of values in the row.
      * 
* * repeated .google.cloud.channel.v1.ReportValue values = 1; */ - public Builder addValues(int index, com.google.cloud.channel.v1.ReportValue value) { + public Builder addValues( + int index, com.google.cloud.channel.v1.ReportValue value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -659,15 +610,14 @@ public Builder addValues(int index, com.google.cloud.channel.v1.ReportValue valu return this; } /** - * - * *
      * The list of values in the row.
      * 
* * repeated .google.cloud.channel.v1.ReportValue values = 1; */ - public Builder addValues(com.google.cloud.channel.v1.ReportValue.Builder builderForValue) { + public Builder addValues( + com.google.cloud.channel.v1.ReportValue.Builder builderForValue) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.add(builderForValue.build()); @@ -678,8 +628,6 @@ public Builder addValues(com.google.cloud.channel.v1.ReportValue.Builder builder return this; } /** - * - * *
      * The list of values in the row.
      * 
@@ -698,8 +646,6 @@ public Builder addValues( return this; } /** - * - * *
      * The list of values in the row.
      * 
@@ -710,7 +656,8 @@ public Builder addAllValues( java.lang.Iterable values) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, values_); onChanged(); } else { valuesBuilder_.addAllMessages(values); @@ -718,8 +665,6 @@ public Builder addAllValues( return this; } /** - * - * *
      * The list of values in the row.
      * 
@@ -737,8 +682,6 @@ public Builder clearValues() { return this; } /** - * - * *
      * The list of values in the row.
      * 
@@ -756,44 +699,39 @@ public Builder removeValues(int index) { return this; } /** - * - * *
      * The list of values in the row.
      * 
* * repeated .google.cloud.channel.v1.ReportValue values = 1; */ - public com.google.cloud.channel.v1.ReportValue.Builder getValuesBuilder(int index) { + public com.google.cloud.channel.v1.ReportValue.Builder getValuesBuilder( + int index) { return getValuesFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of values in the row.
      * 
* * repeated .google.cloud.channel.v1.ReportValue values = 1; */ - public com.google.cloud.channel.v1.ReportValueOrBuilder getValuesOrBuilder(int index) { + public com.google.cloud.channel.v1.ReportValueOrBuilder getValuesOrBuilder( + int index) { if (valuesBuilder_ == null) { - return values_.get(index); - } else { + return values_.get(index); } else { return valuesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of values in the row.
      * 
* * repeated .google.cloud.channel.v1.ReportValue values = 1; */ - public java.util.List - getValuesOrBuilderList() { + public java.util.List + getValuesOrBuilderList() { if (valuesBuilder_ != null) { return valuesBuilder_.getMessageOrBuilderList(); } else { @@ -801,8 +739,6 @@ public com.google.cloud.channel.v1.ReportValueOrBuilder getValuesOrBuilder(int i } } /** - * - * *
      * The list of values in the row.
      * 
@@ -810,54 +746,49 @@ public com.google.cloud.channel.v1.ReportValueOrBuilder getValuesOrBuilder(int i * repeated .google.cloud.channel.v1.ReportValue values = 1; */ public com.google.cloud.channel.v1.ReportValue.Builder addValuesBuilder() { - return getValuesFieldBuilder() - .addBuilder(com.google.cloud.channel.v1.ReportValue.getDefaultInstance()); + return getValuesFieldBuilder().addBuilder( + com.google.cloud.channel.v1.ReportValue.getDefaultInstance()); } /** - * - * *
      * The list of values in the row.
      * 
* * repeated .google.cloud.channel.v1.ReportValue values = 1; */ - public com.google.cloud.channel.v1.ReportValue.Builder addValuesBuilder(int index) { - return getValuesFieldBuilder() - .addBuilder(index, com.google.cloud.channel.v1.ReportValue.getDefaultInstance()); + public com.google.cloud.channel.v1.ReportValue.Builder addValuesBuilder( + int index) { + return getValuesFieldBuilder().addBuilder( + index, com.google.cloud.channel.v1.ReportValue.getDefaultInstance()); } /** - * - * *
      * The list of values in the row.
      * 
* * repeated .google.cloud.channel.v1.ReportValue values = 1; */ - public java.util.List getValuesBuilderList() { + public java.util.List + getValuesBuilderList() { return getValuesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.ReportValue, - com.google.cloud.channel.v1.ReportValue.Builder, - com.google.cloud.channel.v1.ReportValueOrBuilder> + com.google.cloud.channel.v1.ReportValue, com.google.cloud.channel.v1.ReportValue.Builder, com.google.cloud.channel.v1.ReportValueOrBuilder> getValuesFieldBuilder() { if (valuesBuilder_ == null) { - valuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.ReportValue, - com.google.cloud.channel.v1.ReportValue.Builder, - com.google.cloud.channel.v1.ReportValueOrBuilder>( - values_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + valuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.ReportValue, com.google.cloud.channel.v1.ReportValue.Builder, com.google.cloud.channel.v1.ReportValueOrBuilder>( + values_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); values_ = null; } return valuesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -867,12 +798,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.Row) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.Row) private static final com.google.cloud.channel.v1.Row DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.Row(); } @@ -881,27 +812,27 @@ public static com.google.cloud.channel.v1.Row getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Row parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Row parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -916,4 +847,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Row getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RowOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RowOrBuilder.java similarity index 61% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RowOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RowOrBuilder.java index 972f770513c1..5aa4f8775c43 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RowOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RowOrBuilder.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/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; -public interface RowOrBuilder - extends +public interface RowOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Row) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of values in the row.
    * 
* * repeated .google.cloud.channel.v1.ReportValue values = 1; */ - java.util.List getValuesList(); + java.util.List + getValuesList(); /** - * - * *
    * The list of values in the row.
    * 
@@ -44,8 +25,6 @@ public interface RowOrBuilder */ com.google.cloud.channel.v1.ReportValue getValues(int index); /** - * - * *
    * The list of values in the row.
    * 
@@ -54,24 +33,21 @@ public interface RowOrBuilder */ int getValuesCount(); /** - * - * *
    * The list of values in the row.
    * 
* * repeated .google.cloud.channel.v1.ReportValue values = 1; */ - java.util.List + java.util.List getValuesOrBuilderList(); /** - * - * *
    * The list of values in the row.
    * 
* * repeated .google.cloud.channel.v1.ReportValue values = 1; */ - com.google.cloud.channel.v1.ReportValueOrBuilder getValuesOrBuilder(int index); + com.google.cloud.channel.v1.ReportValueOrBuilder getValuesOrBuilder( + int index); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobRequest.java similarity index 66% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobRequest.java index 504823feb8aa..d060b85aba88 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobRequest.java @@ -1,42 +1,25 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Request message for [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
+ * Request message for
+ * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
  * 
* * Protobuf type {@code google.cloud.channel.v1.RunReportJobRequest} */ -public final class RunReportJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RunReportJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.RunReportJobRequest) RunReportJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RunReportJobRequest.newBuilder() to construct. private RunReportJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RunReportJobRequest() { name_ = ""; filter_ = ""; @@ -45,47 +28,41 @@ private RunReportJobRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RunReportJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_RunReportJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_RunReportJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_RunReportJobRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_RunReportJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.RunReportJobRequest.class, - com.google.cloud.channel.v1.RunReportJobRequest.Builder.class); + com.google.cloud.channel.v1.RunReportJobRequest.class, com.google.cloud.channel.v1.RunReportJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
-   * Required. The report's resource name. Specifies the account and report used to
-   * generate report data. The report_id identifier is a UID (for example,
+   * Required. The report's resource name. Specifies the account and report used
+   * to generate report data. The report_id identifier is a UID (for example,
    * `613bf59q`).
    * Name uses the format:
    * accounts/{account_id}/reports/{report_id}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -94,35 +71,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 report's resource name. Specifies the account and report used to
-   * generate report data. The report_id identifier is a UID (for example,
+   * Required. The report's resource name. Specifies the account and report used
+   * to generate report data. The report_id identifier is a UID (for example,
    * `613bf59q`).
    * Name uses the format:
    * accounts/{account_id}/reports/{report_id}
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -133,16 +108,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DATE_RANGE_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.DateRange dateRange_; /** - * - * *
    * Optional. The range of usage or invoice dates to include in the result.
    * 
* - * - * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the dateRange field is set. */ @java.lang.Override @@ -150,34 +120,23 @@ public boolean hasDateRange() { return dateRange_ != null; } /** - * - * *
    * Optional. The range of usage or invoice dates to include in the result.
    * 
* - * - * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The dateRange. */ @java.lang.Override public com.google.cloud.channel.v1.DateRange getDateRange() { - return dateRange_ == null - ? com.google.cloud.channel.v1.DateRange.getDefaultInstance() - : dateRange_; + return dateRange_ == null ? com.google.cloud.channel.v1.DateRange.getDefaultInstance() : dateRange_; } /** - * - * *
    * Optional. The range of usage or invoice dates to include in the result.
    * 
* - * - * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.channel.v1.DateRangeOrBuilder getDateRangeOrBuilder() { @@ -187,11 +146,9 @@ public com.google.cloud.channel.v1.DateRangeOrBuilder getDateRangeOrBuilder() { public static final int FILTER_FIELD_NUMBER = 3; private volatile java.lang.Object filter_; /** - * - * *
-   * Optional. A structured string that defines conditions on dimension columns to
-   * restrict the report output.
+   * Optional. A structured string that defines conditions on dimension columns
+   * to restrict the report output.
    * Filters support logical operators (AND, OR, NOT) and conditional operators
    * (=, !=, <, >, <=, and >=) using `column_id` as keys.
    * For example:
@@ -201,7 +158,6 @@ public com.google.cloud.channel.v1.DateRangeOrBuilder getDateRangeOrBuilder() {
    * 
* * string filter = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -210,18 +166,17 @@ 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; } } /** - * - * *
-   * Optional. A structured string that defines conditions on dimension columns to
-   * restrict the report output.
+   * Optional. A structured string that defines conditions on dimension columns
+   * to restrict the report output.
    * Filters support logical operators (AND, OR, NOT) and conditional operators
    * (=, !=, <, >, <=, and >=) using `column_id` as keys.
    * For example:
@@ -231,15 +186,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -250,8 +206,6 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 4; private volatile java.lang.Object languageCode_; /** - * - * *
    * Optional. The BCP-47 language code, such as "en-US".  If specified, the
    * response is localized to the corresponding language code if the
@@ -260,7 +214,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ @java.lang.Override @@ -269,15 +222,14 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** - * - * *
    * Optional. The BCP-47 language code, such as "en-US".  If specified, the
    * response is localized to the corresponding language code if the
@@ -286,15 +238,16 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -303,7 +256,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -315,7 +267,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -341,7 +294,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (dateRange_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDateRange()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getDateRange()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filter_); @@ -357,21 +311,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.cloud.channel.v1.RunReportJobRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.RunReportJobRequest other = - (com.google.cloud.channel.v1.RunReportJobRequest) obj; + com.google.cloud.channel.v1.RunReportJobRequest other = (com.google.cloud.channel.v1.RunReportJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasDateRange() != other.hasDateRange()) return false; if (hasDateRange()) { - if (!getDateRange().equals(other.getDateRange())) return false; + if (!getDateRange() + .equals(other.getDateRange())) return false; } - if (!getFilter().equals(other.getFilter())) return false; - if (!getLanguageCode().equals(other.getLanguageCode())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getLanguageCode() + .equals(other.getLanguageCode())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -398,136 +355,131 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.RunReportJobRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.RunReportJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.RunReportJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.RunReportJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.RunReportJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.RunReportJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.RunReportJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.RunReportJobRequest 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.cloud.channel.v1.RunReportJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.RunReportJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.RunReportJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.RunReportJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.RunReportJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.RunReportJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.RunReportJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Request message for [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
+   * Request message for
+   * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
    * 
* * Protobuf type {@code google.cloud.channel.v1.RunReportJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.RunReportJobRequest) com.google.cloud.channel.v1.RunReportJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_RunReportJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_RunReportJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_RunReportJobRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_RunReportJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.RunReportJobRequest.class, - com.google.cloud.channel.v1.RunReportJobRequest.Builder.class); + com.google.cloud.channel.v1.RunReportJobRequest.class, com.google.cloud.channel.v1.RunReportJobRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.RunReportJobRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -547,9 +499,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_RunReportJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_RunReportJobRequest_descriptor; } @java.lang.Override @@ -568,8 +520,7 @@ public com.google.cloud.channel.v1.RunReportJobRequest build() { @java.lang.Override public com.google.cloud.channel.v1.RunReportJobRequest buildPartial() { - com.google.cloud.channel.v1.RunReportJobRequest result = - new com.google.cloud.channel.v1.RunReportJobRequest(this); + com.google.cloud.channel.v1.RunReportJobRequest result = new com.google.cloud.channel.v1.RunReportJobRequest(this); result.name_ = name_; if (dateRangeBuilder_ == null) { result.dateRange_ = dateRange_; @@ -586,39 +537,38 @@ public com.google.cloud.channel.v1.RunReportJobRequest 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.cloud.channel.v1.RunReportJobRequest) { - return mergeFrom((com.google.cloud.channel.v1.RunReportJobRequest) other); + return mergeFrom((com.google.cloud.channel.v1.RunReportJobRequest)other); } else { super.mergeFrom(other); return this; @@ -626,8 +576,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.RunReportJobRequest other) { - if (other == com.google.cloud.channel.v1.RunReportJobRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.RunReportJobRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -669,37 +618,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); + case 10: { + name_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - input.readMessage(getDateRangeFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getDateRangeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 26: - { - filter_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + filter_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - languageCode_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: { + languageCode_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -712,26 +658,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
-     * Required. The report's resource name. Specifies the account and report used to
-     * generate report data. The report_id identifier is a UID (for example,
+     * Required. The report's resource name. Specifies the account and report used
+     * to generate report data. The report_id identifier is a UID (for example,
      * `613bf59q`).
      * Name uses the format:
      * accounts/{account_id}/reports/{report_id}
      * 
* - * - * string name = 1 [(.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; @@ -740,27 +682,24 @@ public java.lang.String getName() { } } /** - * - * *
-     * Required. The report's resource name. Specifies the account and report used to
-     * generate report data. The report_id identifier is a UID (for example,
+     * Required. The report's resource name. Specifies the account and report used
+     * to generate report data. The report_id identifier is a UID (for example,
      * `613bf59q`).
      * Name uses the format:
      * accounts/{account_id}/reports/{report_id}
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -768,79 +707,66 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
-     * Required. The report's resource name. Specifies the account and report used to
-     * generate report data. The report_id identifier is a UID (for example,
+     * Required. The report's resource name. Specifies the account and report used
+     * to generate report data. The report_id identifier is a UID (for example,
      * `613bf59q`).
      * Name uses the format:
      * accounts/{account_id}/reports/{report_id}
      * 
* - * - * string name = 1 [(.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 report's resource name. Specifies the account and report used to
-     * generate report data. The report_id identifier is a UID (for example,
+     * Required. The report's resource name. Specifies the account and report used
+     * to generate report data. The report_id identifier is a UID (for example,
      * `613bf59q`).
      * Name uses the format:
      * accounts/{account_id}/reports/{report_id}
      * 
* - * - * string 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 report's resource name. Specifies the account and report used to
-     * generate report data. The report_id identifier is a UID (for example,
+     * Required. The report's resource name. Specifies the account and report used
+     * to generate report data. The report_id identifier is a UID (for example,
      * `613bf59q`).
      * Name uses the format:
      * accounts/{account_id}/reports/{report_id}
      * 
* - * - * string name = 1 [(.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; @@ -848,58 +774,39 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.channel.v1.DateRange dateRange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.DateRange, - com.google.cloud.channel.v1.DateRange.Builder, - com.google.cloud.channel.v1.DateRangeOrBuilder> - dateRangeBuilder_; + com.google.cloud.channel.v1.DateRange, com.google.cloud.channel.v1.DateRange.Builder, com.google.cloud.channel.v1.DateRangeOrBuilder> dateRangeBuilder_; /** - * - * *
      * Optional. The range of usage or invoice dates to include in the result.
      * 
* - * - * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the dateRange field is set. */ public boolean hasDateRange() { return dateRangeBuilder_ != null || dateRange_ != null; } /** - * - * *
      * Optional. The range of usage or invoice dates to include in the result.
      * 
* - * - * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The dateRange. */ public com.google.cloud.channel.v1.DateRange getDateRange() { if (dateRangeBuilder_ == null) { - return dateRange_ == null - ? com.google.cloud.channel.v1.DateRange.getDefaultInstance() - : dateRange_; + return dateRange_ == null ? com.google.cloud.channel.v1.DateRange.getDefaultInstance() : dateRange_; } else { return dateRangeBuilder_.getMessage(); } } /** - * - * *
      * Optional. The range of usage or invoice dates to include in the result.
      * 
* - * - * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setDateRange(com.google.cloud.channel.v1.DateRange value) { if (dateRangeBuilder_ == null) { @@ -915,17 +822,14 @@ public Builder setDateRange(com.google.cloud.channel.v1.DateRange value) { return this; } /** - * - * *
      * Optional. The range of usage or invoice dates to include in the result.
      * 
* - * - * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setDateRange(com.google.cloud.channel.v1.DateRange.Builder builderForValue) { + public Builder setDateRange( + com.google.cloud.channel.v1.DateRange.Builder builderForValue) { if (dateRangeBuilder_ == null) { dateRange_ = builderForValue.build(); onChanged(); @@ -936,23 +840,17 @@ public Builder setDateRange(com.google.cloud.channel.v1.DateRange.Builder builde return this; } /** - * - * *
      * Optional. The range of usage or invoice dates to include in the result.
      * 
* - * - * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeDateRange(com.google.cloud.channel.v1.DateRange value) { if (dateRangeBuilder_ == null) { if (dateRange_ != null) { dateRange_ = - com.google.cloud.channel.v1.DateRange.newBuilder(dateRange_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.DateRange.newBuilder(dateRange_).mergeFrom(value).buildPartial(); } else { dateRange_ = value; } @@ -964,15 +862,11 @@ public Builder mergeDateRange(com.google.cloud.channel.v1.DateRange value) { return this; } /** - * - * *
      * Optional. The range of usage or invoice dates to include in the result.
      * 
* - * - * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearDateRange() { if (dateRangeBuilder_ == null) { @@ -986,64 +880,48 @@ public Builder clearDateRange() { return this; } /** - * - * *
      * Optional. The range of usage or invoice dates to include in the result.
      * 
* - * - * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.channel.v1.DateRange.Builder getDateRangeBuilder() { - + onChanged(); return getDateRangeFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The range of usage or invoice dates to include in the result.
      * 
* - * - * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.channel.v1.DateRangeOrBuilder getDateRangeOrBuilder() { if (dateRangeBuilder_ != null) { return dateRangeBuilder_.getMessageOrBuilder(); } else { - return dateRange_ == null - ? com.google.cloud.channel.v1.DateRange.getDefaultInstance() - : dateRange_; + return dateRange_ == null ? + com.google.cloud.channel.v1.DateRange.getDefaultInstance() : dateRange_; } } /** - * - * *
      * Optional. The range of usage or invoice dates to include in the result.
      * 
* - * - * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.DateRange, - com.google.cloud.channel.v1.DateRange.Builder, - com.google.cloud.channel.v1.DateRangeOrBuilder> + com.google.cloud.channel.v1.DateRange, com.google.cloud.channel.v1.DateRange.Builder, com.google.cloud.channel.v1.DateRangeOrBuilder> getDateRangeFieldBuilder() { if (dateRangeBuilder_ == null) { - dateRangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.DateRange, - com.google.cloud.channel.v1.DateRange.Builder, - com.google.cloud.channel.v1.DateRangeOrBuilder>( - getDateRange(), getParentForChildren(), isClean()); + dateRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.DateRange, com.google.cloud.channel.v1.DateRange.Builder, com.google.cloud.channel.v1.DateRangeOrBuilder>( + getDateRange(), + getParentForChildren(), + isClean()); dateRange_ = null; } return dateRangeBuilder_; @@ -1051,11 +929,9 @@ public com.google.cloud.channel.v1.DateRangeOrBuilder getDateRangeOrBuilder() { private java.lang.Object filter_ = ""; /** - * - * *
-     * Optional. A structured string that defines conditions on dimension columns to
-     * restrict the report output.
+     * Optional. A structured string that defines conditions on dimension columns
+     * to restrict the report output.
      * Filters support logical operators (AND, OR, NOT) and conditional operators
      * (=, !=, <, >, <=, and >=) using `column_id` as keys.
      * For example:
@@ -1065,13 +941,13 @@ public com.google.cloud.channel.v1.DateRangeOrBuilder getDateRangeOrBuilder() {
      * 
* * string filter = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1080,11 +956,9 @@ public java.lang.String getFilter() { } } /** - * - * *
-     * Optional. A structured string that defines conditions on dimension columns to
-     * restrict the report output.
+     * Optional. A structured string that defines conditions on dimension columns
+     * to restrict the report output.
      * Filters support logical operators (AND, OR, NOT) and conditional operators
      * (=, !=, <, >, <=, and >=) using `column_id` as keys.
      * For example:
@@ -1094,14 +968,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1109,11 +984,9 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
-     * Optional. A structured string that defines conditions on dimension columns to
-     * restrict the report output.
+     * Optional. A structured string that defines conditions on dimension columns
+     * to restrict the report output.
      * Filters support logical operators (AND, OR, NOT) and conditional operators
      * (=, !=, <, >, <=, and >=) using `column_id` as keys.
      * For example:
@@ -1123,25 +996,23 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; } /** - * - * *
-     * Optional. A structured string that defines conditions on dimension columns to
-     * restrict the report output.
+     * Optional. A structured string that defines conditions on dimension columns
+     * to restrict the report output.
      * Filters support logical operators (AND, OR, NOT) and conditional operators
      * (=, !=, <, >, <=, and >=) using `column_id` as keys.
      * For example:
@@ -1151,21 +1022,18 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
-     * Optional. A structured string that defines conditions on dimension columns to
-     * restrict the report output.
+     * Optional. A structured string that defines conditions on dimension columns
+     * to restrict the report output.
      * Filters support logical operators (AND, OR, NOT) and conditional operators
      * (=, !=, <, >, <=, and >=) using `column_id` as keys.
      * For example:
@@ -1175,16 +1043,16 @@ public Builder clearFilter() {
      * 
* * string filter = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1192,8 +1060,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object languageCode_ = ""; /** - * - * *
      * Optional. The BCP-47 language code, such as "en-US".  If specified, the
      * response is localized to the corresponding language code if the
@@ -1202,13 +1068,13 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -1217,8 +1083,6 @@ public java.lang.String getLanguageCode() { } } /** - * - * *
      * Optional. The BCP-47 language code, such as "en-US".  If specified, the
      * response is localized to the corresponding language code if the
@@ -1227,14 +1091,15 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -1242,8 +1107,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } } /** - * - * *
      * Optional. The BCP-47 language code, such as "en-US".  If specified, the
      * response is localized to the corresponding language code if the
@@ -1252,22 +1115,20 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode(java.lang.String value) { + public Builder setLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The BCP-47 language code, such as "en-US".  If specified, the
      * response is localized to the corresponding language code if the
@@ -1276,18 +1137,15 @@ public Builder setLanguageCode(java.lang.String value) {
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** - * - * *
      * Optional. The BCP-47 language code, such as "en-US".  If specified, the
      * response is localized to the corresponding language code if the
@@ -1296,23 +1154,23 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = 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); } @@ -1322,12 +1180,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.RunReportJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.RunReportJobRequest) private static final com.google.cloud.channel.v1.RunReportJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.RunReportJobRequest(); } @@ -1336,27 +1194,27 @@ public static com.google.cloud.channel.v1.RunReportJobRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunReportJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunReportJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1371,4 +1229,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.RunReportJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobRequestOrBuilder.java similarity index 63% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobRequestOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobRequestOrBuilder.java index 60253fe1f725..293eac4cd9ac 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobRequestOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobRequestOrBuilder.java @@ -1,112 +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/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; -public interface RunReportJobRequestOrBuilder - extends +public interface RunReportJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.RunReportJobRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
-   * Required. The report's resource name. Specifies the account and report used to
-   * generate report data. The report_id identifier is a UID (for example,
+   * Required. The report's resource name. Specifies the account and report used
+   * to generate report data. The report_id identifier is a UID (for example,
    * `613bf59q`).
    * Name uses the format:
    * accounts/{account_id}/reports/{report_id}
    * 
* - * - * string name = 1 [(.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 report's resource name. Specifies the account and report used to
-   * generate report data. The report_id identifier is a UID (for example,
+   * Required. The report's resource name. Specifies the account and report used
+   * to generate report data. The report_id identifier is a UID (for example,
    * `613bf59q`).
    * Name uses the format:
    * accounts/{account_id}/reports/{report_id}
    * 
* - * - * string name = 1 [(.google.api.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(); /** - * - * *
    * Optional. The range of usage or invoice dates to include in the result.
    * 
* - * - * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the dateRange field is set. */ boolean hasDateRange(); /** - * - * *
    * Optional. The range of usage or invoice dates to include in the result.
    * 
* - * - * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The dateRange. */ com.google.cloud.channel.v1.DateRange getDateRange(); /** - * - * *
    * Optional. The range of usage or invoice dates to include in the result.
    * 
* - * - * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.channel.v1.DateRangeOrBuilder getDateRangeOrBuilder(); /** - * - * *
-   * Optional. A structured string that defines conditions on dimension columns to
-   * restrict the report output.
+   * Optional. A structured string that defines conditions on dimension columns
+   * to restrict the report output.
    * Filters support logical operators (AND, OR, NOT) and conditional operators
    * (=, !=, <, >, <=, and >=) using `column_id` as keys.
    * For example:
@@ -116,16 +75,13 @@ public interface RunReportJobRequestOrBuilder
    * 
* * string filter = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
-   * Optional. A structured string that defines conditions on dimension columns to
-   * restrict the report output.
+   * Optional. A structured string that defines conditions on dimension columns
+   * to restrict the report output.
    * Filters support logical operators (AND, OR, NOT) and conditional operators
    * (=, !=, <, >, <=, and >=) using `column_id` as keys.
    * For example:
@@ -135,14 +91,12 @@ public interface RunReportJobRequestOrBuilder
    * 
* * string filter = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Optional. The BCP-47 language code, such as "en-US".  If specified, the
    * response is localized to the corresponding language code if the
@@ -151,13 +105,10 @@ public interface RunReportJobRequestOrBuilder
    * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ java.lang.String getLanguageCode(); /** - * - * *
    * Optional. The BCP-47 language code, such as "en-US".  If specified, the
    * response is localized to the corresponding language code if the
@@ -166,8 +117,8 @@ public interface RunReportJobRequestOrBuilder
    * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString getLanguageCodeBytes(); + com.google.protobuf.ByteString + getLanguageCodeBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobResponse.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobResponse.java similarity index 66% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobResponse.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobResponse.java index 157b70f9f5a4..3a0f9f067ccc 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobResponse.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobResponse.java @@ -1,82 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Response message for [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
+ * Response message for
+ * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
  * 
* * Protobuf type {@code google.cloud.channel.v1.RunReportJobResponse} */ -public final class RunReportJobResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RunReportJobResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.RunReportJobResponse) RunReportJobResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RunReportJobResponse.newBuilder() to construct. private RunReportJobResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private RunReportJobResponse() {} + private RunReportJobResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RunReportJobResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_RunReportJobResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_RunReportJobResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_RunReportJobResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_RunReportJobResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.RunReportJobResponse.class, - com.google.cloud.channel.v1.RunReportJobResponse.Builder.class); + com.google.cloud.channel.v1.RunReportJobResponse.class, com.google.cloud.channel.v1.RunReportJobResponse.Builder.class); } public static final int REPORT_JOB_FIELD_NUMBER = 1; private com.google.cloud.channel.v1.ReportJob reportJob_; /** - * - * *
-   * Pass `report_job.name` to [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
+   * Pass `report_job.name` to
+   * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
    * to retrieve the report's results.
    * 
* * .google.cloud.channel.v1.ReportJob report_job = 1; - * * @return Whether the reportJob field is set. */ @java.lang.Override @@ -84,28 +65,23 @@ public boolean hasReportJob() { return reportJob_ != null; } /** - * - * *
-   * Pass `report_job.name` to [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
+   * Pass `report_job.name` to
+   * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
    * to retrieve the report's results.
    * 
* * .google.cloud.channel.v1.ReportJob report_job = 1; - * * @return The reportJob. */ @java.lang.Override public com.google.cloud.channel.v1.ReportJob getReportJob() { - return reportJob_ == null - ? com.google.cloud.channel.v1.ReportJob.getDefaultInstance() - : reportJob_; + return reportJob_ == null ? com.google.cloud.channel.v1.ReportJob.getDefaultInstance() : reportJob_; } /** - * - * *
-   * Pass `report_job.name` to [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
+   * Pass `report_job.name` to
+   * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
    * to retrieve the report's results.
    * 
* @@ -119,8 +95,6 @@ public com.google.cloud.channel.v1.ReportJobOrBuilder getReportJobOrBuilder() { public static final int REPORT_METADATA_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.ReportResultsMetadata reportMetadata_; /** - * - * *
    * The metadata for the report's results (display name, columns, row count,
    * and date range). If you view this before the operation finishes,
@@ -128,7 +102,6 @@ public com.google.cloud.channel.v1.ReportJobOrBuilder getReportJobOrBuilder() {
    * 
* * .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 2; - * * @return Whether the reportMetadata field is set. */ @java.lang.Override @@ -136,8 +109,6 @@ public boolean hasReportMetadata() { return reportMetadata_ != null; } /** - * - * *
    * The metadata for the report's results (display name, columns, row count,
    * and date range). If you view this before the operation finishes,
@@ -145,18 +116,13 @@ public boolean hasReportMetadata() {
    * 
* * .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 2; - * * @return The reportMetadata. */ @java.lang.Override public com.google.cloud.channel.v1.ReportResultsMetadata getReportMetadata() { - return reportMetadata_ == null - ? com.google.cloud.channel.v1.ReportResultsMetadata.getDefaultInstance() - : reportMetadata_; + return reportMetadata_ == null ? com.google.cloud.channel.v1.ReportResultsMetadata.getDefaultInstance() : reportMetadata_; } /** - * - * *
    * The metadata for the report's results (display name, columns, row count,
    * and date range). If you view this before the operation finishes,
@@ -171,7 +137,6 @@ public com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder getReportMetad
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -183,7 +148,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (reportJob_ != null) {
       output.writeMessage(1, getReportJob());
     }
@@ -200,10 +166,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (reportJob_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReportJob());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getReportJob());
     }
     if (reportMetadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReportMetadata());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getReportMetadata());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -213,21 +181,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.cloud.channel.v1.RunReportJobResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.channel.v1.RunReportJobResponse other =
-        (com.google.cloud.channel.v1.RunReportJobResponse) obj;
+    com.google.cloud.channel.v1.RunReportJobResponse other = (com.google.cloud.channel.v1.RunReportJobResponse) obj;
 
     if (hasReportJob() != other.hasReportJob()) return false;
     if (hasReportJob()) {
-      if (!getReportJob().equals(other.getReportJob())) return false;
+      if (!getReportJob()
+          .equals(other.getReportJob())) return false;
     }
     if (hasReportMetadata() != other.hasReportMetadata()) return false;
     if (hasReportMetadata()) {
-      if (!getReportMetadata().equals(other.getReportMetadata())) return false;
+      if (!getReportMetadata()
+          .equals(other.getReportMetadata())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -253,136 +222,131 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.channel.v1.RunReportJobResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.channel.v1.RunReportJobResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.channel.v1.RunReportJobResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.channel.v1.RunReportJobResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.channel.v1.RunReportJobResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.channel.v1.RunReportJobResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.channel.v1.RunReportJobResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.channel.v1.RunReportJobResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.channel.v1.RunReportJobResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.channel.v1.RunReportJobResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.channel.v1.RunReportJobResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.channel.v1.RunReportJobResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.channel.v1.RunReportJobResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.channel.v1.RunReportJobResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.channel.v1.RunReportJobResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.channel.v1.RunReportJobResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
+   * Response message for
+   * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
    * 
* * Protobuf type {@code google.cloud.channel.v1.RunReportJobResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.RunReportJobResponse) com.google.cloud.channel.v1.RunReportJobResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_RunReportJobResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_RunReportJobResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_RunReportJobResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_RunReportJobResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.RunReportJobResponse.class, - com.google.cloud.channel.v1.RunReportJobResponse.Builder.class); + com.google.cloud.channel.v1.RunReportJobResponse.class, com.google.cloud.channel.v1.RunReportJobResponse.Builder.class); } // Construct using com.google.cloud.channel.v1.RunReportJobResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -402,9 +366,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ReportsServiceProto - .internal_static_google_cloud_channel_v1_RunReportJobResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_RunReportJobResponse_descriptor; } @java.lang.Override @@ -423,8 +387,7 @@ public com.google.cloud.channel.v1.RunReportJobResponse build() { @java.lang.Override public com.google.cloud.channel.v1.RunReportJobResponse buildPartial() { - com.google.cloud.channel.v1.RunReportJobResponse result = - new com.google.cloud.channel.v1.RunReportJobResponse(this); + com.google.cloud.channel.v1.RunReportJobResponse result = new com.google.cloud.channel.v1.RunReportJobResponse(this); if (reportJobBuilder_ == null) { result.reportJob_ = reportJob_; } else { @@ -443,39 +406,38 @@ public com.google.cloud.channel.v1.RunReportJobResponse 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.cloud.channel.v1.RunReportJobResponse) { - return mergeFrom((com.google.cloud.channel.v1.RunReportJobResponse) other); + return mergeFrom((com.google.cloud.channel.v1.RunReportJobResponse)other); } else { super.mergeFrom(other); return this; @@ -483,8 +445,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.RunReportJobResponse other) { - if (other == com.google.cloud.channel.v1.RunReportJobResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.RunReportJobResponse.getDefaultInstance()) return this; if (other.hasReportJob()) { mergeReportJob(other.getReportJob()); } @@ -517,25 +478,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getReportJobFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage(getReportMetadataFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getReportJobFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getReportMetadataFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -548,51 +510,41 @@ public Builder mergeFrom( private com.google.cloud.channel.v1.ReportJob reportJob_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ReportJob, - com.google.cloud.channel.v1.ReportJob.Builder, - com.google.cloud.channel.v1.ReportJobOrBuilder> - reportJobBuilder_; + com.google.cloud.channel.v1.ReportJob, com.google.cloud.channel.v1.ReportJob.Builder, com.google.cloud.channel.v1.ReportJobOrBuilder> reportJobBuilder_; /** - * - * *
-     * Pass `report_job.name` to [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
+     * Pass `report_job.name` to
+     * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
      * to retrieve the report's results.
      * 
* * .google.cloud.channel.v1.ReportJob report_job = 1; - * * @return Whether the reportJob field is set. */ public boolean hasReportJob() { return reportJobBuilder_ != null || reportJob_ != null; } /** - * - * *
-     * Pass `report_job.name` to [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
+     * Pass `report_job.name` to
+     * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
      * to retrieve the report's results.
      * 
* * .google.cloud.channel.v1.ReportJob report_job = 1; - * * @return The reportJob. */ public com.google.cloud.channel.v1.ReportJob getReportJob() { if (reportJobBuilder_ == null) { - return reportJob_ == null - ? com.google.cloud.channel.v1.ReportJob.getDefaultInstance() - : reportJob_; + return reportJob_ == null ? com.google.cloud.channel.v1.ReportJob.getDefaultInstance() : reportJob_; } else { return reportJobBuilder_.getMessage(); } } /** - * - * *
-     * Pass `report_job.name` to [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
+     * Pass `report_job.name` to
+     * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
      * to retrieve the report's results.
      * 
* @@ -612,16 +564,16 @@ public Builder setReportJob(com.google.cloud.channel.v1.ReportJob value) { return this; } /** - * - * *
-     * Pass `report_job.name` to [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
+     * Pass `report_job.name` to
+     * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
      * to retrieve the report's results.
      * 
* * .google.cloud.channel.v1.ReportJob report_job = 1; */ - public Builder setReportJob(com.google.cloud.channel.v1.ReportJob.Builder builderForValue) { + public Builder setReportJob( + com.google.cloud.channel.v1.ReportJob.Builder builderForValue) { if (reportJobBuilder_ == null) { reportJob_ = builderForValue.build(); onChanged(); @@ -632,10 +584,9 @@ public Builder setReportJob(com.google.cloud.channel.v1.ReportJob.Builder builde return this; } /** - * - * *
-     * Pass `report_job.name` to [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
+     * Pass `report_job.name` to
+     * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
      * to retrieve the report's results.
      * 
* @@ -645,9 +596,7 @@ public Builder mergeReportJob(com.google.cloud.channel.v1.ReportJob value) { if (reportJobBuilder_ == null) { if (reportJob_ != null) { reportJob_ = - com.google.cloud.channel.v1.ReportJob.newBuilder(reportJob_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.ReportJob.newBuilder(reportJob_).mergeFrom(value).buildPartial(); } else { reportJob_ = value; } @@ -659,10 +608,9 @@ public Builder mergeReportJob(com.google.cloud.channel.v1.ReportJob value) { return this; } /** - * - * *
-     * Pass `report_job.name` to [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
+     * Pass `report_job.name` to
+     * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
      * to retrieve the report's results.
      * 
* @@ -680,25 +628,23 @@ public Builder clearReportJob() { return this; } /** - * - * *
-     * Pass `report_job.name` to [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
+     * Pass `report_job.name` to
+     * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
      * to retrieve the report's results.
      * 
* * .google.cloud.channel.v1.ReportJob report_job = 1; */ public com.google.cloud.channel.v1.ReportJob.Builder getReportJobBuilder() { - + onChanged(); return getReportJobFieldBuilder().getBuilder(); } /** - * - * *
-     * Pass `report_job.name` to [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
+     * Pass `report_job.name` to
+     * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
      * to retrieve the report's results.
      * 
* @@ -708,33 +654,28 @@ public com.google.cloud.channel.v1.ReportJobOrBuilder getReportJobOrBuilder() { if (reportJobBuilder_ != null) { return reportJobBuilder_.getMessageOrBuilder(); } else { - return reportJob_ == null - ? com.google.cloud.channel.v1.ReportJob.getDefaultInstance() - : reportJob_; + return reportJob_ == null ? + com.google.cloud.channel.v1.ReportJob.getDefaultInstance() : reportJob_; } } /** - * - * *
-     * Pass `report_job.name` to [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
+     * Pass `report_job.name` to
+     * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
      * to retrieve the report's results.
      * 
* * .google.cloud.channel.v1.ReportJob report_job = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ReportJob, - com.google.cloud.channel.v1.ReportJob.Builder, - com.google.cloud.channel.v1.ReportJobOrBuilder> + com.google.cloud.channel.v1.ReportJob, com.google.cloud.channel.v1.ReportJob.Builder, com.google.cloud.channel.v1.ReportJobOrBuilder> getReportJobFieldBuilder() { if (reportJobBuilder_ == null) { - reportJobBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ReportJob, - com.google.cloud.channel.v1.ReportJob.Builder, - com.google.cloud.channel.v1.ReportJobOrBuilder>( - getReportJob(), getParentForChildren(), isClean()); + reportJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.ReportJob, com.google.cloud.channel.v1.ReportJob.Builder, com.google.cloud.channel.v1.ReportJobOrBuilder>( + getReportJob(), + getParentForChildren(), + isClean()); reportJob_ = null; } return reportJobBuilder_; @@ -742,13 +683,8 @@ public com.google.cloud.channel.v1.ReportJobOrBuilder getReportJobOrBuilder() { private com.google.cloud.channel.v1.ReportResultsMetadata reportMetadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ReportResultsMetadata, - com.google.cloud.channel.v1.ReportResultsMetadata.Builder, - com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder> - reportMetadataBuilder_; + com.google.cloud.channel.v1.ReportResultsMetadata, com.google.cloud.channel.v1.ReportResultsMetadata.Builder, com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder> reportMetadataBuilder_; /** - * - * *
      * The metadata for the report's results (display name, columns, row count,
      * and date range). If you view this before the operation finishes,
@@ -756,15 +692,12 @@ public com.google.cloud.channel.v1.ReportJobOrBuilder getReportJobOrBuilder() {
      * 
* * .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 2; - * * @return Whether the reportMetadata field is set. */ public boolean hasReportMetadata() { return reportMetadataBuilder_ != null || reportMetadata_ != null; } /** - * - * *
      * The metadata for the report's results (display name, columns, row count,
      * and date range). If you view this before the operation finishes,
@@ -772,21 +705,16 @@ public boolean hasReportMetadata() {
      * 
* * .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 2; - * * @return The reportMetadata. */ public com.google.cloud.channel.v1.ReportResultsMetadata getReportMetadata() { if (reportMetadataBuilder_ == null) { - return reportMetadata_ == null - ? com.google.cloud.channel.v1.ReportResultsMetadata.getDefaultInstance() - : reportMetadata_; + return reportMetadata_ == null ? com.google.cloud.channel.v1.ReportResultsMetadata.getDefaultInstance() : reportMetadata_; } else { return reportMetadataBuilder_.getMessage(); } } /** - * - * *
      * The metadata for the report's results (display name, columns, row count,
      * and date range). If you view this before the operation finishes,
@@ -809,8 +737,6 @@ public Builder setReportMetadata(com.google.cloud.channel.v1.ReportResultsMetada
       return this;
     }
     /**
-     *
-     *
      * 
      * The metadata for the report's results (display name, columns, row count,
      * and date range). If you view this before the operation finishes,
@@ -831,8 +757,6 @@ public Builder setReportMetadata(
       return this;
     }
     /**
-     *
-     *
      * 
      * The metadata for the report's results (display name, columns, row count,
      * and date range). If you view this before the operation finishes,
@@ -845,9 +769,7 @@ public Builder mergeReportMetadata(com.google.cloud.channel.v1.ReportResultsMeta
       if (reportMetadataBuilder_ == null) {
         if (reportMetadata_ != null) {
           reportMetadata_ =
-              com.google.cloud.channel.v1.ReportResultsMetadata.newBuilder(reportMetadata_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.channel.v1.ReportResultsMetadata.newBuilder(reportMetadata_).mergeFrom(value).buildPartial();
         } else {
           reportMetadata_ = value;
         }
@@ -859,8 +781,6 @@ public Builder mergeReportMetadata(com.google.cloud.channel.v1.ReportResultsMeta
       return this;
     }
     /**
-     *
-     *
      * 
      * The metadata for the report's results (display name, columns, row count,
      * and date range). If you view this before the operation finishes,
@@ -881,8 +801,6 @@ public Builder clearReportMetadata() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The metadata for the report's results (display name, columns, row count,
      * and date range). If you view this before the operation finishes,
@@ -892,13 +810,11 @@ public Builder clearReportMetadata() {
      * .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 2;
      */
     public com.google.cloud.channel.v1.ReportResultsMetadata.Builder getReportMetadataBuilder() {
-
+      
       onChanged();
       return getReportMetadataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The metadata for the report's results (display name, columns, row count,
      * and date range). If you view this before the operation finishes,
@@ -911,14 +827,11 @@ public com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder getReportMetad
       if (reportMetadataBuilder_ != null) {
         return reportMetadataBuilder_.getMessageOrBuilder();
       } else {
-        return reportMetadata_ == null
-            ? com.google.cloud.channel.v1.ReportResultsMetadata.getDefaultInstance()
-            : reportMetadata_;
+        return reportMetadata_ == null ?
+            com.google.cloud.channel.v1.ReportResultsMetadata.getDefaultInstance() : reportMetadata_;
       }
     }
     /**
-     *
-     *
      * 
      * The metadata for the report's results (display name, columns, row count,
      * and date range). If you view this before the operation finishes,
@@ -928,24 +841,21 @@ public com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder getReportMetad
      * .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.channel.v1.ReportResultsMetadata,
-            com.google.cloud.channel.v1.ReportResultsMetadata.Builder,
-            com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder>
+        com.google.cloud.channel.v1.ReportResultsMetadata, com.google.cloud.channel.v1.ReportResultsMetadata.Builder, com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder> 
         getReportMetadataFieldBuilder() {
       if (reportMetadataBuilder_ == null) {
-        reportMetadataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.channel.v1.ReportResultsMetadata,
-                com.google.cloud.channel.v1.ReportResultsMetadata.Builder,
-                com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder>(
-                getReportMetadata(), getParentForChildren(), isClean());
+        reportMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.channel.v1.ReportResultsMetadata, com.google.cloud.channel.v1.ReportResultsMetadata.Builder, com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder>(
+                getReportMetadata(),
+                getParentForChildren(),
+                isClean());
         reportMetadata_ = null;
       }
       return reportMetadataBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -955,12 +865,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.RunReportJobResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.RunReportJobResponse)
   private static final com.google.cloud.channel.v1.RunReportJobResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.channel.v1.RunReportJobResponse();
   }
@@ -969,27 +879,27 @@ public static com.google.cloud.channel.v1.RunReportJobResponse getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RunReportJobResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public RunReportJobResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1004,4 +914,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.channel.v1.RunReportJobResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobResponseOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobResponseOrBuilder.java
similarity index 65%
rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobResponseOrBuilder.java
rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobResponseOrBuilder.java
index 180e75e0e98d..ff348b24ac4d 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobResponseOrBuilder.java
+++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobResponseOrBuilder.java
@@ -1,59 +1,38 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/channel/v1/reports_service.proto
 
 package com.google.cloud.channel.v1;
 
-public interface RunReportJobResponseOrBuilder
-    extends
+public interface RunReportJobResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.RunReportJobResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
-   * Pass `report_job.name` to [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
+   * Pass `report_job.name` to
+   * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
    * to retrieve the report's results.
    * 
* * .google.cloud.channel.v1.ReportJob report_job = 1; - * * @return Whether the reportJob field is set. */ boolean hasReportJob(); /** - * - * *
-   * Pass `report_job.name` to [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
+   * Pass `report_job.name` to
+   * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
    * to retrieve the report's results.
    * 
* * .google.cloud.channel.v1.ReportJob report_job = 1; - * * @return The reportJob. */ com.google.cloud.channel.v1.ReportJob getReportJob(); /** - * - * *
-   * Pass `report_job.name` to [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
+   * Pass `report_job.name` to
+   * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
    * to retrieve the report's results.
    * 
* @@ -62,8 +41,6 @@ public interface RunReportJobResponseOrBuilder com.google.cloud.channel.v1.ReportJobOrBuilder getReportJobOrBuilder(); /** - * - * *
    * The metadata for the report's results (display name, columns, row count,
    * and date range). If you view this before the operation finishes,
@@ -71,13 +48,10 @@ public interface RunReportJobResponseOrBuilder
    * 
* * .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 2; - * * @return Whether the reportMetadata field is set. */ boolean hasReportMetadata(); /** - * - * *
    * The metadata for the report's results (display name, columns, row count,
    * and date range). If you view this before the operation finishes,
@@ -85,13 +59,10 @@ public interface RunReportJobResponseOrBuilder
    * 
* * .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 2; - * * @return The reportMetadata. */ com.google.cloud.channel.v1.ReportResultsMetadata getReportMetadata(); /** - * - * *
    * The metadata for the report's results (display name, columns, row count,
    * and date range). If you view this before the operation finishes,
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java
new file mode 100644
index 000000000000..c4f4e63af1e0
--- /dev/null
+++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java
@@ -0,0 +1,1342 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/channel/v1/service.proto
+
+package com.google.cloud.channel.v1;
+
+public final class ServiceProto {
+  private ServiceProto() {}
+  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_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ListCustomersRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListCustomersRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ListCustomersResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListCustomersResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_GetCustomerRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_GetCustomerRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_CreateCustomerRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_CreateCustomerRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_UpdateCustomerRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_UpdateCustomerRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_DeleteCustomerRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_DeleteCustomerRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ImportCustomerRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ImportCustomerRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ListEntitlementsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListEntitlementsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ListEntitlementsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListEntitlementsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_TransferableOffer_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_TransferableOffer_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_GetEntitlementRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_GetEntitlementRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_CreateEntitlementRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_CreateEntitlementRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ChangeParametersRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ChangeParametersRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ChangeOfferRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ChangeOfferRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_StartPaidServiceRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_StartPaidServiceRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_CancelEntitlementRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_CancelEntitlementRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_LookupOfferRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_LookupOfferRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ListProductsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListProductsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ListProductsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListProductsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ListSkusRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListSkusRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ListSkusResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListSkusResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ListOffersRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListOffersRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ListOffersResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListOffersResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_PurchasableSku_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_PurchasableSku_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_PurchasableOffer_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_PurchasableOffer_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ListSubscribersRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListSubscribersRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_channel_v1_ListSubscribersResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListSubscribersResponse_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/cloud/channel/v1/service.proto\022" +
+      "\027google.cloud.channel.v1\032\034google/api/ann" +
+      "otations.proto\032\027google/api/client.proto\032" +
+      "\037google/api/field_behavior.proto\032\031google" +
+      "/api/resource.proto\0323google/cloud/channe" +
+      "l/v1/channel_partner_links.proto\032$google" +
+      "/cloud/channel/v1/common.proto\032\'google/c" +
+      "loud/channel/v1/customers.proto\032*google/" +
+      "cloud/channel/v1/entitlements.proto\032$goo" +
+      "gle/cloud/channel/v1/offers.proto\032&googl" +
+      "e/cloud/channel/v1/products.proto\032\'googl" +
+      "e/cloud/channel/v1/repricing.proto\032#goog" +
+      "le/longrunning/operations.proto\032\033google/" +
+      "protobuf/empty.proto\032 google/protobuf/fi" +
+      "eld_mask.proto\"R\n&CheckCloudIdentityAcco" +
+      "untsExistRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\023\n" +
+      "\006domain\030\002 \001(\tB\003\340A\002\"z\n\034CloudIdentityCusto" +
+      "merAccount\022\020\n\010existing\030\001 \001(\010\022\r\n\005owned\030\002 " +
+      "\001(\010\022\025\n\rcustomer_name\030\003 \001(\t\022\"\n\032customer_c" +
+      "loud_identity_id\030\004 \001(\t\"\201\001\n\'CheckCloudIde" +
+      "ntityAccountsExistResponse\022V\n\027cloud_iden" +
+      "tity_accounts\030\001 \003(\01325.google.cloud.chann" +
+      "el.v1.CloudIdentityCustomerAccount\"q\n\024Li" +
+      "stCustomersRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022" +
+      "\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 " +
+      "\001(\tB\003\340A\001\022\023\n\006filter\030\004 \001(\tB\003\340A\001\"f\n\025ListCus" +
+      "tomersResponse\0224\n\tcustomers\030\001 \003(\0132!.goog" +
+      "le.cloud.channel.v1.Customer\022\027\n\017next_pag" +
+      "e_token\030\002 \001(\t\"P\n\022GetCustomerRequest\022:\n\004n" +
+      "ame\030\001 \001(\tB,\340A\002\372A&\n$cloudchannel.googleap" +
+      "is.com/Customer\"f\n\025CreateCustomerRequest" +
+      "\022\023\n\006parent\030\001 \001(\tB\003\340A\002\0228\n\010customer\030\002 \001(\0132" +
+      "!.google.cloud.channel.v1.CustomerB\003\340A\002\"" +
+      "\202\001\n\025UpdateCustomerRequest\0228\n\010customer\030\002 " +
+      "\001(\0132!.google.cloud.channel.v1.CustomerB\003" +
+      "\340A\002\022/\n\013update_mask\030\003 \001(\0132\032.google.protob" +
+      "uf.FieldMask\"S\n\025DeleteCustomerRequest\022:\n" +
+      "\004name\030\001 \001(\tB,\340A\002\372A&\n$cloudchannel.google" +
+      "apis.com/Customer\"\226\002\n\025ImportCustomerRequ" +
+      "est\022\025\n\006domain\030\002 \001(\tB\003\340A\002H\000\022 \n\021cloud_iden" +
+      "tity_id\030\003 \001(\tB\003\340A\002H\000\022\023\n\006parent\030\001 \001(\tB\003\340A" +
+      "\002\022\027\n\nauth_token\030\004 \001(\tB\003\340A\001\022 \n\023overwrite_" +
+      "if_exists\030\005 \001(\010B\003\340A\002\022\037\n\022channel_partner_" +
+      "id\030\006 \001(\tB\003\340A\001\022>\n\010customer\030\007 \001(\tB,\340A\001\372A&\n" +
+      "$cloudchannel.googleapis.com/CustomerB\023\n" +
+      "\021customer_identity\"\361\001\n\035ProvisionCloudIde" +
+      "ntityRequest\022>\n\010customer\030\001 \001(\tB,\340A\002\372A&\n$" +
+      "cloudchannel.googleapis.com/Customer\022G\n\023" +
+      "cloud_identity_info\030\002 \001(\0132*.google.cloud" +
+      ".channel.v1.CloudIdentityInfo\0220\n\004user\030\003 " +
+      "\001(\0132\".google.cloud.channel.v1.AdminUser\022" +
+      "\025\n\rvalidate_only\030\004 \001(\010\"\210\001\n\027ListEntitleme" +
+      "ntsRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$clou" +
+      "dchannel.googleapis.com/Customer\022\026\n\tpage" +
+      "_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A" +
+      "\001\"o\n\030ListEntitlementsResponse\022:\n\014entitle" +
+      "ments\030\001 \003(\0132$.google.cloud.channel.v1.En" +
+      "titlement\022\027\n\017next_page_token\030\002 \001(\t\"\340\001\n\033L" +
+      "istTransferableSkusRequest\022\033\n\021cloud_iden" +
+      "tity_id\030\004 \001(\tH\000\022\027\n\rcustomer_name\030\007 \001(\tH\000" +
+      "\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005" +
+      "\022\022\n\npage_token\030\003 \001(\t\022\027\n\nauth_token\030\005 \001(\t" +
+      "B\003\340A\001\022\025\n\rlanguage_code\030\006 \001(\tB\037\n\035transfer" +
+      "red_customer_identity\"|\n\034ListTransferabl" +
+      "eSkusResponse\022C\n\021transferable_skus\030\001 \003(\013" +
+      "2(.google.cloud.channel.v1.TransferableS" +
+      "ku\022\027\n\017next_page_token\030\002 \001(\t\"\340\001\n\035ListTran" +
+      "sferableOffersRequest\022\033\n\021cloud_identity_" +
+      "id\030\004 \001(\tH\000\022\027\n\rcustomer_name\030\005 \001(\tH\000\022\023\n\006p" +
+      "arent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" +
+      "age_token\030\003 \001(\t\022\020\n\003sku\030\006 \001(\tB\003\340A\002\022\032\n\rlan" +
+      "guage_code\030\007 \001(\tB\003\340A\001B\037\n\035transferred_cus" +
+      "tomer_identity\"\202\001\n\036ListTransferableOffer" +
+      "sResponse\022G\n\023transferable_offers\030\001 \003(\0132*" +
+      ".google.cloud.channel.v1.TransferableOff" +
+      "er\022\027\n\017next_page_token\030\002 \001(\t\"B\n\021Transfera" +
+      "bleOffer\022-\n\005offer\030\001 \001(\0132\036.google.cloud.c" +
+      "hannel.v1.Offer\"V\n\025GetEntitlementRequest" +
+      "\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'cloudchannel.goo" +
+      "gleapis.com/Entitlement\"\252\001\n\036ListChannelP" +
+      "artnerLinksRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022" +
+      "\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 " +
+      "\001(\tB\003\340A\001\022B\n\004view\030\004 \001(\0162/.google.cloud.ch" +
+      "annel.v1.ChannelPartnerLinkViewB\003\340A\001\"\206\001\n" +
+      "\037ListChannelPartnerLinksResponse\022J\n\025chan" +
+      "nel_partner_links\030\001 \003(\0132+.google.cloud.c" +
+      "hannel.v1.ChannelPartnerLink\022\027\n\017next_pag" +
+      "e_token\030\002 \001(\t\"u\n\034GetChannelPartnerLinkRe" +
+      "quest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022B\n\004view\030\002 \001(\0162/" +
+      ".google.cloud.channel.v1.ChannelPartnerL" +
+      "inkViewB\003\340A\001\"\206\001\n\037CreateChannelPartnerLin" +
+      "kRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022N\n\024channel" +
+      "_partner_link\030\002 \001(\0132+.google.cloud.chann" +
+      "el.v1.ChannelPartnerLinkB\003\340A\002\"\272\001\n\037Update" +
+      "ChannelPartnerLinkRequest\022\021\n\004name\030\001 \001(\tB" +
+      "\003\340A\002\022N\n\024channel_partner_link\030\002 \001(\0132+.goo" +
+      "gle.cloud.channel.v1.ChannelPartnerLinkB" +
+      "\003\340A\002\0224\n\013update_mask\030\003 \001(\0132\032.google.proto" +
+      "buf.FieldMaskB\003\340A\002\"n\n!GetCustomerReprici" +
+      "ngConfigRequest\022I\n\004name\030\001 \001(\tB;\340A\002\372A5\n3c" +
+      "loudchannel.googleapis.com/CustomerRepri" +
+      "cingConfig\"\251\001\n#ListCustomerRepricingConf" +
+      "igsRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$clou" +
+      "dchannel.googleapis.com/Customer\022\026\n\tpage" +
+      "_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A" +
+      "\001\022\023\n\006filter\030\004 \001(\tB\003\340A\001\"\225\001\n$ListCustomerR" +
+      "epricingConfigsResponse\022T\n\032customer_repr" +
+      "icing_configs\030\001 \003(\01320.google.cloud.chann" +
+      "el.v1.CustomerRepricingConfig\022\027\n\017next_pa" +
+      "ge_token\030\002 \001(\t\"\276\001\n$CreateCustomerReprici" +
+      "ngConfigRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n" +
+      "$cloudchannel.googleapis.com/Customer\022X\n" +
+      "\031customer_repricing_config\030\002 \001(\01320.googl" +
+      "e.cloud.channel.v1.CustomerRepricingConf" +
+      "igB\003\340A\002\"\200\001\n$UpdateCustomerRepricingConfi" +
+      "gRequest\022X\n\031customer_repricing_config\030\001 " +
+      "\001(\01320.google.cloud.channel.v1.CustomerRe" +
+      "pricingConfigB\003\340A\002\"q\n$DeleteCustomerRepr" +
+      "icingConfigRequest\022I\n\004name\030\001 \001(\tB;\340A\002\372A5" +
+      "\n3cloudchannel.googleapis.com/CustomerRe" +
+      "pricingConfig\"z\n\'GetChannelPartnerRepric" +
+      "ingConfigRequest\022O\n\004name\030\001 \001(\tBA\340A\002\372A;\n9" +
+      "cloudchannel.googleapis.com/ChannelPartn" +
+      "erRepricingConfig\"\271\001\n)ListChannelPartner" +
+      "RepricingConfigsRequest\022F\n\006parent\030\001 \001(\tB" +
+      "6\340A\002\372A0\n.cloudchannel.googleapis.com/Cha" +
+      "nnelPartnerLink\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022" +
+      "\027\n\npage_token\030\003 \001(\tB\003\340A\001\022\023\n\006filter\030\004 \001(\t" +
+      "B\003\340A\001\"\250\001\n*ListChannelPartnerRepricingCon" +
+      "figsResponse\022a\n!channel_partner_repricin" +
+      "g_configs\030\001 \003(\01326.google.cloud.channel.v" +
+      "1.ChannelPartnerRepricingConfig\022\027\n\017next_" +
+      "page_token\030\002 \001(\t\"\333\001\n*CreateChannelPartne" +
+      "rRepricingConfigRequest\022F\n\006parent\030\001 \001(\tB" +
+      "6\340A\002\372A0\n.cloudchannel.googleapis.com/Cha" +
+      "nnelPartnerLink\022e\n channel_partner_repri" +
+      "cing_config\030\002 \001(\01326.google.cloud.channel" +
+      ".v1.ChannelPartnerRepricingConfigB\003\340A\002\"\223" +
+      "\001\n*UpdateChannelPartnerRepricingConfigRe" +
+      "quest\022e\n channel_partner_repricing_confi" +
+      "g\030\001 \001(\01326.google.cloud.channel.v1.Channe" +
+      "lPartnerRepricingConfigB\003\340A\002\"}\n*DeleteCh" +
+      "annelPartnerRepricingConfigRequest\022O\n\004na" +
+      "me\030\001 \001(\tBA\340A\002\372A;\n9cloudchannel.googleapi" +
+      "s.com/ChannelPartnerRepricingConfig\"\261\001\n\030" +
+      "CreateEntitlementRequest\022<\n\006parent\030\001 \001(\t" +
+      "B,\340A\002\372A&\n$cloudchannel.googleapis.com/Cu" +
+      "stomer\022>\n\013entitlement\030\002 \001(\0132$.google.clo" +
+      "ud.channel.v1.EntitlementB\003\340A\002\022\027\n\nreques" +
+      "t_id\030\005 \001(\tB\003\340A\001\"\240\001\n\033TransferEntitlements" +
+      "Request\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022?\n\014entitlem" +
+      "ents\030\002 \003(\0132$.google.cloud.channel.v1.Ent" +
+      "itlementB\003\340A\002\022\022\n\nauth_token\030\004 \001(\t\022\027\n\nreq" +
+      "uest_id\030\006 \001(\tB\003\340A\001\"Z\n\034TransferEntitlemen" +
+      "tsResponse\022:\n\014entitlements\030\001 \003(\0132$.googl" +
+      "e.cloud.channel.v1.Entitlement\"\224\001\n#Trans" +
+      "ferEntitlementsToGoogleRequest\022\023\n\006parent" +
+      "\030\001 \001(\tB\003\340A\002\022?\n\014entitlements\030\002 \003(\0132$.goog" +
+      "le.cloud.channel.v1.EntitlementB\003\340A\002\022\027\n\n" +
+      "request_id\030\003 \001(\tB\003\340A\001\"\242\001\n\027ChangeParamete" +
+      "rsRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022;\n\nparamete" +
+      "rs\030\002 \003(\0132\".google.cloud.channel.v1.Param" +
+      "eterB\003\340A\002\022\027\n\nrequest_id\030\004 \001(\tB\003\340A\001\022\036\n\021pu" +
+      "rchase_order_id\030\005 \001(\tB\003\340A\001\"\223\001\n\034ChangeRen" +
+      "ewalSettingsRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022G" +
+      "\n\020renewal_settings\030\004 \001(\0132(.google.cloud." +
+      "channel.v1.RenewalSettingsB\003\340A\002\022\027\n\nreque" +
+      "st_id\030\005 \001(\tB\003\340A\001\"\327\001\n\022ChangeOfferRequest\022" +
+      "\021\n\004name\030\001 \001(\tB\003\340A\002\0228\n\005offer\030\002 \001(\tB)\340A\002\372A" +
+      "#\n!cloudchannel.googleapis.com/Offer\022;\n\n" +
+      "parameters\030\003 \003(\0132\".google.cloud.channel." +
+      "v1.ParameterB\003\340A\001\022\036\n\021purchase_order_id\030\005" +
+      " \001(\tB\003\340A\001\022\027\n\nrequest_id\030\006 \001(\tB\003\340A\001\"E\n\027St" +
+      "artPaidServiceRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002" +
+      "\022\027\n\nrequest_id\030\003 \001(\tB\003\340A\001\"F\n\030CancelEntit" +
+      "lementRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\027\n\nrequ" +
+      "est_id\030\003 \001(\tB\003\340A\001\"G\n\031SuspendEntitlementR" +
+      "equest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\027\n\nrequest_id\030" +
+      "\003 \001(\tB\003\340A\001\"H\n\032ActivateEntitlementRequest" +
+      "\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\027\n\nrequest_id\030\003 \001(\tB" +
+      "\003\340A\001\"Z\n\022LookupOfferRequest\022D\n\013entitlemen" +
+      "t\030\001 \001(\tB/\340A\002\372A)\n\'cloudchannel.googleapis" +
+      ".com/Entitlement\"x\n\023ListProductsRequest\022" +
+      "\024\n\007account\030\001 \001(\tB\003\340A\002\022\026\n\tpage_size\030\002 \001(\005" +
+      "B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\022\032\n\rlangua" +
+      "ge_code\030\004 \001(\tB\003\340A\001\"c\n\024ListProductsRespon" +
+      "se\0222\n\010products\030\001 \003(\0132 .google.cloud.chan" +
+      "nel.v1.Product\022\027\n\017next_page_token\030\002 \001(\t\"" +
+      "\261\001\n\017ListSkusRequest\022;\n\006parent\030\001 \001(\tB+\340A\002" +
+      "\372A%\n#cloudchannel.googleapis.com/Product" +
+      "\022\024\n\007account\030\002 \001(\tB\003\340A\002\022\026\n\tpage_size\030\003 \001(" +
+      "\005B\003\340A\001\022\027\n\npage_token\030\004 \001(\tB\003\340A\001\022\032\n\rlangu" +
+      "age_code\030\005 \001(\tB\003\340A\001\"W\n\020ListSkusResponse\022" +
+      "*\n\004skus\030\001 \003(\0132\034.google.cloud.channel.v1." +
+      "Sku\022\027\n\017next_page_token\030\002 \001(\t\"\212\001\n\021ListOff" +
+      "ersRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\026\n\tpage_" +
+      "size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001" +
+      "\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\032\n\rlanguage_code\030\005" +
+      " \001(\tB\003\340A\001\"]\n\022ListOffersResponse\022.\n\006offer" +
+      "s\030\001 \003(\0132\036.google.cloud.channel.v1.Offer\022" +
+      "\027\n\017next_page_token\030\002 \001(\t\"\266\005\n\032ListPurchas" +
+      "ableSkusRequest\022t\n\033create_entitlement_pu" +
+      "rchase\030\002 \001(\0132M.google.cloud.channel.v1.L" +
+      "istPurchasableSkusRequest.CreateEntitlem" +
+      "entPurchaseH\000\022h\n\025change_offer_purchase\030\003" +
+      " \001(\0132G.google.cloud.channel.v1.ListPurch" +
+      "asableSkusRequest.ChangeOfferPurchaseH\000\022" +
+      ">\n\010customer\030\001 \001(\tB,\340A\002\372A&\n$cloudchannel." +
+      "googleapis.com/Customer\022\026\n\tpage_size\030\004 \001" +
+      "(\005B\003\340A\001\022\027\n\npage_token\030\005 \001(\tB\003\340A\001\022\032\n\rlang" +
+      "uage_code\030\006 \001(\tB\003\340A\001\0321\n\031CreateEntitlemen" +
+      "tPurchase\022\024\n\007product\030\001 \001(\tB\003\340A\002\032\344\001\n\023Chan" +
+      "geOfferPurchase\022\030\n\013entitlement\030\001 \001(\tB\003\340A" +
+      "\002\022l\n\013change_type\030\002 \001(\0162R.google.cloud.ch" +
+      "annel.v1.ListPurchasableSkusRequest.Chan" +
+      "geOfferPurchase.ChangeTypeB\003\340A\002\"E\n\nChang" +
+      "eType\022\033\n\027CHANGE_TYPE_UNSPECIFIED\020\000\022\013\n\007UP" +
+      "GRADE\020\001\022\r\n\tDOWNGRADE\020\002B\021\n\017purchase_optio" +
+      "n\"y\n\033ListPurchasableSkusResponse\022A\n\020purc" +
+      "hasable_skus\030\001 \003(\0132\'.google.cloud.channe" +
+      "l.v1.PurchasableSku\022\027\n\017next_page_token\030\002" +
+      " \001(\t\";\n\016PurchasableSku\022)\n\003sku\030\001 \001(\0132\034.go" +
+      "ogle.cloud.channel.v1.Sku\"\230\004\n\034ListPurcha" +
+      "sableOffersRequest\022v\n\033create_entitlement" +
+      "_purchase\030\002 \001(\0132O.google.cloud.channel.v" +
+      "1.ListPurchasableOffersRequest.CreateEnt" +
+      "itlementPurchaseH\000\022j\n\025change_offer_purch" +
+      "ase\030\003 \001(\0132I.google.cloud.channel.v1.List" +
+      "PurchasableOffersRequest.ChangeOfferPurc" +
+      "haseH\000\022>\n\010customer\030\001 \001(\tB,\340A\002\372A&\n$cloudc" +
+      "hannel.googleapis.com/Customer\022\026\n\tpage_s" +
+      "ize\030\004 \001(\005B\003\340A\001\022\027\n\npage_token\030\005 \001(\tB\003\340A\001\022" +
+      "\032\n\rlanguage_code\030\006 \001(\tB\003\340A\001\032-\n\031CreateEnt" +
+      "itlementPurchase\022\020\n\003sku\030\001 \001(\tB\003\340A\002\032E\n\023Ch" +
+      "angeOfferPurchase\022\030\n\013entitlement\030\001 \001(\tB\003" +
+      "\340A\002\022\024\n\007new_sku\030\002 \001(\tB\003\340A\001B\021\n\017purchase_op" +
+      "tion\"\177\n\035ListPurchasableOffersResponse\022E\n" +
+      "\022purchasable_offers\030\001 \003(\0132).google.cloud" +
+      ".channel.v1.PurchasableOffer\022\027\n\017next_pag" +
+      "e_token\030\002 \001(\t\"A\n\020PurchasableOffer\022-\n\005off" +
+      "er\030\001 \001(\0132\036.google.cloud.channel.v1.Offer" +
+      "\"O\n\031RegisterSubscriberRequest\022\024\n\007account" +
+      "\030\001 \001(\tB\003\340A\002\022\034\n\017service_account\030\002 \001(\tB\003\340A" +
+      "\002\"+\n\032RegisterSubscriberResponse\022\r\n\005topic" +
+      "\030\001 \001(\t\"Q\n\033UnregisterSubscriberRequest\022\024\n" +
+      "\007account\030\001 \001(\tB\003\340A\002\022\034\n\017service_account\030\002" +
+      " \001(\tB\003\340A\002\"-\n\034UnregisterSubscriberRespons" +
+      "e\022\r\n\005topic\030\001 \001(\t\"_\n\026ListSubscribersReque" +
+      "st\022\024\n\007account\030\001 \001(\tB\003\340A\002\022\026\n\tpage_size\030\002 " +
+      "\001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\"[\n\027Lis" +
+      "tSubscribersResponse\022\r\n\005topic\030\001 \001(\t\022\030\n\020s" +
+      "ervice_accounts\030\002 \003(\t\022\027\n\017next_page_token" +
+      "\030\003 \001(\t2\371K\n\023CloudChannelService\022\324\001\n\rListC" +
+      "ustomers\022-.google.cloud.channel.v1.ListC" +
+      "ustomersRequest\032..google.cloud.channel.v" +
+      "1.ListCustomersResponse\"d\202\323\344\223\002^\022!/v1/{pa" +
+      "rent=accounts/*}/customersZ9\0227/v1/{paren" +
+      "t=accounts/*/channelPartnerLinks/*}/cust" +
+      "omers\022\312\001\n\013GetCustomer\022+.google.cloud.cha" +
+      "nnel.v1.GetCustomerRequest\032!.google.clou" +
+      "d.channel.v1.Customer\"k\202\323\344\223\002^\022!/v1/{name" +
+      "=accounts/*/customers/*}Z9\0227/v1/{name=ac" +
+      "counts/*/channelPartnerLinks/*/customers" +
+      "/*}\332A\004name\022\350\001\n\037CheckCloudIdentityAccount" +
+      "sExist\022?.google.cloud.channel.v1.CheckCl" +
+      "oudIdentityAccountsExistRequest\032@.google" +
+      ".cloud.channel.v1.CheckCloudIdentityAcco" +
+      "untsExistResponse\"B\202\323\344\223\002<\"7/v1/{parent=a" +
+      "ccounts/*}:checkCloudIdentityAccountsExi" +
+      "st:\001*\022\335\001\n\016CreateCustomer\022..google.cloud." +
+      "channel.v1.CreateCustomerRequest\032!.googl" +
+      "e.cloud.channel.v1.Customer\"x\202\323\344\223\002r\"!/v1" +
+      "/{parent=accounts/*}/customers:\010customer" +
+      "ZC\"7/v1/{parent=accounts/*/channelPartne" +
+      "rLinks/*}/customers:\010customer\022\361\001\n\016Update" +
+      "Customer\022..google.cloud.channel.v1.Updat" +
+      "eCustomerRequest\032!.google.cloud.channel." +
+      "v1.Customer\"\213\001\202\323\344\223\002\204\0012*/v1/{customer.nam" +
+      "e=accounts/*/customers/*}:\010customerZL2@/" +
+      "v1/{customer.name=accounts/*/channelPart" +
+      "nerLinks/*/customers/*}:\010customer\022\305\001\n\016De" +
+      "leteCustomer\022..google.cloud.channel.v1.D" +
+      "eleteCustomerRequest\032\026.google.protobuf.E" +
+      "mpty\"k\202\323\344\223\002^*!/v1/{name=accounts/*/custo" +
+      "mers/*}Z9*7/v1/{name=accounts/*/channelP" +
+      "artnerLinks/*/customers/*}\332A\004name\022\335\001\n\016Im" +
+      "portCustomer\022..google.cloud.channel.v1.I" +
+      "mportCustomerRequest\032!.google.cloud.chan" +
+      "nel.v1.Customer\"x\202\323\344\223\002r\"(/v1/{parent=acc" +
+      "ounts/*}/customers:import:\001*ZC\">/v1/{par" +
+      "ent=accounts/*/channelPartnerLinks/*}/cu" +
+      "stomers:import:\001*\022\330\001\n\026ProvisionCloudIden" +
+      "tity\0226.google.cloud.channel.v1.Provision" +
+      "CloudIdentityRequest\032\035.google.longrunnin" +
+      "g.Operation\"g\202\323\344\223\002A\"\"9/v1/{name=accounts/*/custo" +
+      "mers/*/entitlements/*}:activate:\001*\312A \n\013E" +
+      "ntitlement\022\021OperationMetadata\022\344\001\n\024Transf" +
+      "erEntitlements\0224.google.cloud.channel.v1" +
+      ".TransferEntitlementsRequest\032\035.google.lo" +
+      "ngrunning.Operation\"w\202\323\344\223\002=\"8/v1/{parent" +
+      "=accounts/*/customers/*}:transferEntitle" +
+      "ments:\001*\312A1\n\034TransferEntitlementsRespons" +
+      "e\022\021OperationMetadata\022\365\001\n\034TransferEntitle" +
+      "mentsToGoogle\022<.google.cloud.channel.v1." +
+      "TransferEntitlementsToGoogleRequest\032\035.go" +
+      "ogle.longrunning.Operation\"x\202\323\344\223\002E\"@/v1/" +
+      "{parent=accounts/*/customers/*}:transfer" +
+      "EntitlementsToGoogle:\001*\312A*\n\025google.proto" +
+      "buf.Empty\022\021OperationMetadata\022\301\001\n\027ListCha" +
+      "nnelPartnerLinks\0227.google.cloud.channel." +
+      "v1.ListChannelPartnerLinksRequest\0328.goog" +
+      "le.cloud.channel.v1.ListChannelPartnerLi" +
+      "nksResponse\"3\202\323\344\223\002-\022+/v1/{parent=account" +
+      "s/*}/channelPartnerLinks\022\260\001\n\025GetChannelP" +
+      "artnerLink\0225.google.cloud.channel.v1.Get" +
+      "ChannelPartnerLinkRequest\032+.google.cloud" +
+      ".channel.v1.ChannelPartnerLink\"3\202\323\344\223\002-\022+" +
+      "/v1/{name=accounts/*/channelPartnerLinks" +
+      "/*}\022\314\001\n\030CreateChannelPartnerLink\0228.googl" +
+      "e.cloud.channel.v1.CreateChannelPartnerL" +
+      "inkRequest\032+.google.cloud.channel.v1.Cha" +
+      "nnelPartnerLink\"I\202\323\344\223\002C\"+/v1/{parent=acc" +
+      "ounts/*}/channelPartnerLinks:\024channel_pa" +
+      "rtner_link\022\271\001\n\030UpdateChannelPartnerLink\022" +
+      "8.google.cloud.channel.v1.UpdateChannelP" +
+      "artnerLinkRequest\032+.google.cloud.channel" +
+      ".v1.ChannelPartnerLink\"6\202\323\344\223\00202+/v1/{nam" +
+      "e=accounts/*/channelPartnerLinks/*}:\001*\022\327" +
+      "\001\n\032GetCustomerRepricingConfig\022:.google.c" +
+      "loud.channel.v1.GetCustomerRepricingConf" +
+      "igRequest\0320.google.cloud.channel.v1.Cust" +
+      "omerRepricingConfig\"K\202\323\344\223\002>\022\022*google.golang.org/gen" +
+      "proto/googleapis/cloud/channel/v1;channe" +
+      "lb\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.AnnotationsProto.getDescriptor(),
+          com.google.api.ClientProto.getDescriptor(),
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.cloud.channel.v1.ChannelPartnerLinksProto.getDescriptor(),
+          com.google.cloud.channel.v1.CommonProto.getDescriptor(),
+          com.google.cloud.channel.v1.CustomersProto.getDescriptor(),
+          com.google.cloud.channel.v1.EntitlementsProto.getDescriptor(),
+          com.google.cloud.channel.v1.OffersProto.getDescriptor(),
+          com.google.cloud.channel.v1.ProductsProto.getDescriptor(),
+          com.google.cloud.channel.v1.RepricingProto.getDescriptor(),
+          com.google.longrunning.OperationsProto.getDescriptor(),
+          com.google.protobuf.EmptyProto.getDescriptor(),
+          com.google.protobuf.FieldMaskProto.getDescriptor(),
+        });
+    internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_descriptor,
+        new java.lang.String[] { "Parent", "Domain", });
+    internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_descriptor,
+        new java.lang.String[] { "Existing", "Owned", "CustomerName", "CustomerCloudIdentityId", });
+    internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_descriptor,
+        new java.lang.String[] { "CloudIdentityAccounts", });
+    internal_static_google_cloud_channel_v1_ListCustomersRequest_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_channel_v1_ListCustomersRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ListCustomersRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", });
+    internal_static_google_cloud_channel_v1_ListCustomersResponse_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_channel_v1_ListCustomersResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ListCustomersResponse_descriptor,
+        new java.lang.String[] { "Customers", "NextPageToken", });
+    internal_static_google_cloud_channel_v1_GetCustomerRequest_descriptor =
+      getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_channel_v1_GetCustomerRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_GetCustomerRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_channel_v1_CreateCustomerRequest_descriptor =
+      getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_channel_v1_CreateCustomerRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_CreateCustomerRequest_descriptor,
+        new java.lang.String[] { "Parent", "Customer", });
+    internal_static_google_cloud_channel_v1_UpdateCustomerRequest_descriptor =
+      getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_channel_v1_UpdateCustomerRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_UpdateCustomerRequest_descriptor,
+        new java.lang.String[] { "Customer", "UpdateMask", });
+    internal_static_google_cloud_channel_v1_DeleteCustomerRequest_descriptor =
+      getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_channel_v1_DeleteCustomerRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_DeleteCustomerRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_channel_v1_ImportCustomerRequest_descriptor =
+      getDescriptor().getMessageTypes().get(9);
+    internal_static_google_cloud_channel_v1_ImportCustomerRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ImportCustomerRequest_descriptor,
+        new java.lang.String[] { "Domain", "CloudIdentityId", "Parent", "AuthToken", "OverwriteIfExists", "ChannelPartnerId", "Customer", "CustomerIdentity", });
+    internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_descriptor =
+      getDescriptor().getMessageTypes().get(10);
+    internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_descriptor,
+        new java.lang.String[] { "Customer", "CloudIdentityInfo", "User", "ValidateOnly", });
+    internal_static_google_cloud_channel_v1_ListEntitlementsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(11);
+    internal_static_google_cloud_channel_v1_ListEntitlementsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ListEntitlementsRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", });
+    internal_static_google_cloud_channel_v1_ListEntitlementsResponse_descriptor =
+      getDescriptor().getMessageTypes().get(12);
+    internal_static_google_cloud_channel_v1_ListEntitlementsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ListEntitlementsResponse_descriptor,
+        new java.lang.String[] { "Entitlements", "NextPageToken", });
+    internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_descriptor =
+      getDescriptor().getMessageTypes().get(13);
+    internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_descriptor,
+        new java.lang.String[] { "CloudIdentityId", "CustomerName", "Parent", "PageSize", "PageToken", "AuthToken", "LanguageCode", "TransferredCustomerIdentity", });
+    internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_descriptor =
+      getDescriptor().getMessageTypes().get(14);
+    internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_descriptor,
+        new java.lang.String[] { "TransferableSkus", "NextPageToken", });
+    internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_descriptor =
+      getDescriptor().getMessageTypes().get(15);
+    internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_descriptor,
+        new java.lang.String[] { "CloudIdentityId", "CustomerName", "Parent", "PageSize", "PageToken", "Sku", "LanguageCode", "TransferredCustomerIdentity", });
+    internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_descriptor =
+      getDescriptor().getMessageTypes().get(16);
+    internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_descriptor,
+        new java.lang.String[] { "TransferableOffers", "NextPageToken", });
+    internal_static_google_cloud_channel_v1_TransferableOffer_descriptor =
+      getDescriptor().getMessageTypes().get(17);
+    internal_static_google_cloud_channel_v1_TransferableOffer_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_TransferableOffer_descriptor,
+        new java.lang.String[] { "Offer", });
+    internal_static_google_cloud_channel_v1_GetEntitlementRequest_descriptor =
+      getDescriptor().getMessageTypes().get(18);
+    internal_static_google_cloud_channel_v1_GetEntitlementRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_GetEntitlementRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_descriptor =
+      getDescriptor().getMessageTypes().get(19);
+    internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", "View", });
+    internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_descriptor =
+      getDescriptor().getMessageTypes().get(20);
+    internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_descriptor,
+        new java.lang.String[] { "ChannelPartnerLinks", "NextPageToken", });
+    internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_descriptor =
+      getDescriptor().getMessageTypes().get(21);
+    internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_descriptor,
+        new java.lang.String[] { "Name", "View", });
+    internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_descriptor =
+      getDescriptor().getMessageTypes().get(22);
+    internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_descriptor,
+        new java.lang.String[] { "Parent", "ChannelPartnerLink", });
+    internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_descriptor =
+      getDescriptor().getMessageTypes().get(23);
+    internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_descriptor,
+        new java.lang.String[] { "Name", "ChannelPartnerLink", "UpdateMask", });
+    internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_descriptor =
+      getDescriptor().getMessageTypes().get(24);
+    internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(25);
+    internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", });
+    internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_descriptor =
+      getDescriptor().getMessageTypes().get(26);
+    internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_descriptor,
+        new java.lang.String[] { "CustomerRepricingConfigs", "NextPageToken", });
+    internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_descriptor =
+      getDescriptor().getMessageTypes().get(27);
+    internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_descriptor,
+        new java.lang.String[] { "Parent", "CustomerRepricingConfig", });
+    internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_descriptor =
+      getDescriptor().getMessageTypes().get(28);
+    internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_descriptor,
+        new java.lang.String[] { "CustomerRepricingConfig", });
+    internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_descriptor =
+      getDescriptor().getMessageTypes().get(29);
+    internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_descriptor =
+      getDescriptor().getMessageTypes().get(30);
+    internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(31);
+    internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", });
+    internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_descriptor =
+      getDescriptor().getMessageTypes().get(32);
+    internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_descriptor,
+        new java.lang.String[] { "ChannelPartnerRepricingConfigs", "NextPageToken", });
+    internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_descriptor =
+      getDescriptor().getMessageTypes().get(33);
+    internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_descriptor,
+        new java.lang.String[] { "Parent", "ChannelPartnerRepricingConfig", });
+    internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_descriptor =
+      getDescriptor().getMessageTypes().get(34);
+    internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_descriptor,
+        new java.lang.String[] { "ChannelPartnerRepricingConfig", });
+    internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_descriptor =
+      getDescriptor().getMessageTypes().get(35);
+    internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_channel_v1_CreateEntitlementRequest_descriptor =
+      getDescriptor().getMessageTypes().get(36);
+    internal_static_google_cloud_channel_v1_CreateEntitlementRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_CreateEntitlementRequest_descriptor,
+        new java.lang.String[] { "Parent", "Entitlement", "RequestId", });
+    internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(37);
+    internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_descriptor,
+        new java.lang.String[] { "Parent", "Entitlements", "AuthToken", "RequestId", });
+    internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_descriptor =
+      getDescriptor().getMessageTypes().get(38);
+    internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_descriptor,
+        new java.lang.String[] { "Entitlements", });
+    internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_descriptor =
+      getDescriptor().getMessageTypes().get(39);
+    internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_descriptor,
+        new java.lang.String[] { "Parent", "Entitlements", "RequestId", });
+    internal_static_google_cloud_channel_v1_ChangeParametersRequest_descriptor =
+      getDescriptor().getMessageTypes().get(40);
+    internal_static_google_cloud_channel_v1_ChangeParametersRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ChangeParametersRequest_descriptor,
+        new java.lang.String[] { "Name", "Parameters", "RequestId", "PurchaseOrderId", });
+    internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(41);
+    internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_descriptor,
+        new java.lang.String[] { "Name", "RenewalSettings", "RequestId", });
+    internal_static_google_cloud_channel_v1_ChangeOfferRequest_descriptor =
+      getDescriptor().getMessageTypes().get(42);
+    internal_static_google_cloud_channel_v1_ChangeOfferRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ChangeOfferRequest_descriptor,
+        new java.lang.String[] { "Name", "Offer", "Parameters", "PurchaseOrderId", "RequestId", });
+    internal_static_google_cloud_channel_v1_StartPaidServiceRequest_descriptor =
+      getDescriptor().getMessageTypes().get(43);
+    internal_static_google_cloud_channel_v1_StartPaidServiceRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_StartPaidServiceRequest_descriptor,
+        new java.lang.String[] { "Name", "RequestId", });
+    internal_static_google_cloud_channel_v1_CancelEntitlementRequest_descriptor =
+      getDescriptor().getMessageTypes().get(44);
+    internal_static_google_cloud_channel_v1_CancelEntitlementRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_CancelEntitlementRequest_descriptor,
+        new java.lang.String[] { "Name", "RequestId", });
+    internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_descriptor =
+      getDescriptor().getMessageTypes().get(45);
+    internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_descriptor,
+        new java.lang.String[] { "Name", "RequestId", });
+    internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_descriptor =
+      getDescriptor().getMessageTypes().get(46);
+    internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_descriptor,
+        new java.lang.String[] { "Name", "RequestId", });
+    internal_static_google_cloud_channel_v1_LookupOfferRequest_descriptor =
+      getDescriptor().getMessageTypes().get(47);
+    internal_static_google_cloud_channel_v1_LookupOfferRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_LookupOfferRequest_descriptor,
+        new java.lang.String[] { "Entitlement", });
+    internal_static_google_cloud_channel_v1_ListProductsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(48);
+    internal_static_google_cloud_channel_v1_ListProductsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ListProductsRequest_descriptor,
+        new java.lang.String[] { "Account", "PageSize", "PageToken", "LanguageCode", });
+    internal_static_google_cloud_channel_v1_ListProductsResponse_descriptor =
+      getDescriptor().getMessageTypes().get(49);
+    internal_static_google_cloud_channel_v1_ListProductsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ListProductsResponse_descriptor,
+        new java.lang.String[] { "Products", "NextPageToken", });
+    internal_static_google_cloud_channel_v1_ListSkusRequest_descriptor =
+      getDescriptor().getMessageTypes().get(50);
+    internal_static_google_cloud_channel_v1_ListSkusRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ListSkusRequest_descriptor,
+        new java.lang.String[] { "Parent", "Account", "PageSize", "PageToken", "LanguageCode", });
+    internal_static_google_cloud_channel_v1_ListSkusResponse_descriptor =
+      getDescriptor().getMessageTypes().get(51);
+    internal_static_google_cloud_channel_v1_ListSkusResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ListSkusResponse_descriptor,
+        new java.lang.String[] { "Skus", "NextPageToken", });
+    internal_static_google_cloud_channel_v1_ListOffersRequest_descriptor =
+      getDescriptor().getMessageTypes().get(52);
+    internal_static_google_cloud_channel_v1_ListOffersRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ListOffersRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "LanguageCode", });
+    internal_static_google_cloud_channel_v1_ListOffersResponse_descriptor =
+      getDescriptor().getMessageTypes().get(53);
+    internal_static_google_cloud_channel_v1_ListOffersResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ListOffersResponse_descriptor,
+        new java.lang.String[] { "Offers", "NextPageToken", });
+    internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_descriptor =
+      getDescriptor().getMessageTypes().get(54);
+    internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_descriptor,
+        new java.lang.String[] { "CreateEntitlementPurchase", "ChangeOfferPurchase", "Customer", "PageSize", "PageToken", "LanguageCode", "PurchaseOption", });
+    internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_descriptor =
+      internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_descriptor.getNestedTypes().get(0);
+    internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_descriptor,
+        new java.lang.String[] { "Product", });
+    internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_descriptor =
+      internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_descriptor.getNestedTypes().get(1);
+    internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_descriptor,
+        new java.lang.String[] { "Entitlement", "ChangeType", });
+    internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_descriptor =
+      getDescriptor().getMessageTypes().get(55);
+    internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_descriptor,
+        new java.lang.String[] { "PurchasableSkus", "NextPageToken", });
+    internal_static_google_cloud_channel_v1_PurchasableSku_descriptor =
+      getDescriptor().getMessageTypes().get(56);
+    internal_static_google_cloud_channel_v1_PurchasableSku_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_PurchasableSku_descriptor,
+        new java.lang.String[] { "Sku", });
+    internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_descriptor =
+      getDescriptor().getMessageTypes().get(57);
+    internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_descriptor,
+        new java.lang.String[] { "CreateEntitlementPurchase", "ChangeOfferPurchase", "Customer", "PageSize", "PageToken", "LanguageCode", "PurchaseOption", });
+    internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_descriptor =
+      internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_descriptor.getNestedTypes().get(0);
+    internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_descriptor,
+        new java.lang.String[] { "Sku", });
+    internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_descriptor =
+      internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_descriptor.getNestedTypes().get(1);
+    internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_descriptor,
+        new java.lang.String[] { "Entitlement", "NewSku", });
+    internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_descriptor =
+      getDescriptor().getMessageTypes().get(58);
+    internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_descriptor,
+        new java.lang.String[] { "PurchasableOffers", "NextPageToken", });
+    internal_static_google_cloud_channel_v1_PurchasableOffer_descriptor =
+      getDescriptor().getMessageTypes().get(59);
+    internal_static_google_cloud_channel_v1_PurchasableOffer_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_PurchasableOffer_descriptor,
+        new java.lang.String[] { "Offer", });
+    internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_descriptor =
+      getDescriptor().getMessageTypes().get(60);
+    internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_descriptor,
+        new java.lang.String[] { "Account", "ServiceAccount", });
+    internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_descriptor =
+      getDescriptor().getMessageTypes().get(61);
+    internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_descriptor,
+        new java.lang.String[] { "Topic", });
+    internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_descriptor =
+      getDescriptor().getMessageTypes().get(62);
+    internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_descriptor,
+        new java.lang.String[] { "Account", "ServiceAccount", });
+    internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_descriptor =
+      getDescriptor().getMessageTypes().get(63);
+    internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_descriptor,
+        new java.lang.String[] { "Topic", });
+    internal_static_google_cloud_channel_v1_ListSubscribersRequest_descriptor =
+      getDescriptor().getMessageTypes().get(64);
+    internal_static_google_cloud_channel_v1_ListSubscribersRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ListSubscribersRequest_descriptor,
+        new java.lang.String[] { "Account", "PageSize", "PageToken", });
+    internal_static_google_cloud_channel_v1_ListSubscribersResponse_descriptor =
+      getDescriptor().getMessageTypes().get(65);
+    internal_static_google_cloud_channel_v1_ListSubscribersResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_channel_v1_ListSubscribersResponse_descriptor,
+        new java.lang.String[] { "Topic", "ServiceAccounts", "NextPageToken", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    registry.add(com.google.longrunning.OperationsProto.operationInfo);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.cloud.channel.v1.ChannelPartnerLinksProto.getDescriptor();
+    com.google.cloud.channel.v1.CommonProto.getDescriptor();
+    com.google.cloud.channel.v1.CustomersProto.getDescriptor();
+    com.google.cloud.channel.v1.EntitlementsProto.getDescriptor();
+    com.google.cloud.channel.v1.OffersProto.getDescriptor();
+    com.google.cloud.channel.v1.ProductsProto.getDescriptor();
+    com.google.cloud.channel.v1.RepricingProto.getDescriptor();
+    com.google.longrunning.OperationsProto.getDescriptor();
+    com.google.protobuf.EmptyProto.getDescriptor();
+    com.google.protobuf.FieldMaskProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Sku.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Sku.java
similarity index 70%
rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Sku.java
rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Sku.java
index a2877df5b72a..7c5b0acd9ffb 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Sku.java
+++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Sku.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/cloud/channel/v1/products.proto
 
 package com.google.cloud.channel.v1;
 
 /**
- *
- *
  * 
  * Represents a product's purchasable Stock Keeping Unit (SKU).
  * SKUs represent the different variations of the product. For example, Google
@@ -30,41 +13,40 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.Sku}
  */
-public final class Sku extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Sku extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.Sku)
     SkuOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Sku.newBuilder() to construct.
   private Sku(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Sku() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Sku();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.channel.v1.ProductsProto
-        .internal_static_google_cloud_channel_v1_Sku_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_Sku_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ProductsProto
-        .internal_static_google_cloud_channel_v1_Sku_fieldAccessorTable
+    return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_Sku_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.cloud.channel.v1.Sku.class, com.google.cloud.channel.v1.Sku.Builder.class);
   }
@@ -72,15 +54,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Resource Name of the SKU.
    * Format: products/{product_id}/skus/{sku_id}
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -89,30 +68,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Resource Name of the SKU.
    * Format: products/{product_id}/skus/{sku_id}
    * 
* * 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 { @@ -123,14 +102,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int MARKETING_INFO_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.MarketingInfo marketingInfo_; /** - * - * *
    * Marketing information for the SKU.
    * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; - * * @return Whether the marketingInfo field is set. */ @java.lang.Override @@ -138,25 +114,18 @@ public boolean hasMarketingInfo() { return marketingInfo_ != null; } /** - * - * *
    * Marketing information for the SKU.
    * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; - * * @return The marketingInfo. */ @java.lang.Override public com.google.cloud.channel.v1.MarketingInfo getMarketingInfo() { - return marketingInfo_ == null - ? com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() - : marketingInfo_; + return marketingInfo_ == null ? com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() : marketingInfo_; } /** - * - * *
    * Marketing information for the SKU.
    * 
@@ -171,14 +140,11 @@ public com.google.cloud.channel.v1.MarketingInfoOrBuilder getMarketingInfoOrBuil public static final int PRODUCT_FIELD_NUMBER = 3; private com.google.cloud.channel.v1.Product product_; /** - * - * *
    * Product the SKU is associated with.
    * 
* * .google.cloud.channel.v1.Product product = 3; - * * @return Whether the product field is set. */ @java.lang.Override @@ -186,14 +152,11 @@ public boolean hasProduct() { return product_ != null; } /** - * - * *
    * Product the SKU is associated with.
    * 
* * .google.cloud.channel.v1.Product product = 3; - * * @return The product. */ @java.lang.Override @@ -201,8 +164,6 @@ public com.google.cloud.channel.v1.Product getProduct() { return product_ == null ? com.google.cloud.channel.v1.Product.getDefaultInstance() : product_; } /** - * - * *
    * Product the SKU is associated with.
    * 
@@ -215,7 +176,6 @@ public com.google.cloud.channel.v1.ProductOrBuilder getProductOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,7 +187,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -250,10 +211,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (marketingInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMarketingInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getMarketingInfo()); } if (product_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getProduct()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getProduct()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -263,21 +226,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.cloud.channel.v1.Sku)) { return super.equals(obj); } com.google.cloud.channel.v1.Sku other = (com.google.cloud.channel.v1.Sku) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasMarketingInfo() != other.hasMarketingInfo()) return false; if (hasMarketingInfo()) { - if (!getMarketingInfo().equals(other.getMarketingInfo())) return false; + if (!getMarketingInfo() + .equals(other.getMarketingInfo())) return false; } if (hasProduct() != other.hasProduct()) return false; if (hasProduct()) { - if (!getProduct().equals(other.getProduct())) return false; + if (!getProduct() + .equals(other.getProduct())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -305,103 +271,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.Sku parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.Sku parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Sku parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.Sku parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.channel.v1.Sku parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Sku parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Sku parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Sku parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Sku 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.cloud.channel.v1.Sku parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.Sku parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.Sku parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.Sku parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.Sku parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.Sku prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents a product's purchasable Stock Keeping Unit (SKU).
    * SKUs represent the different variations of the product. For example, Google
@@ -411,31 +371,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.channel.v1.Sku}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.Sku)
       com.google.cloud.channel.v1.SkuOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.channel.v1.ProductsProto
-          .internal_static_google_cloud_channel_v1_Sku_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_Sku_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ProductsProto
-          .internal_static_google_cloud_channel_v1_Sku_fieldAccessorTable
+      return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_Sku_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.cloud.channel.v1.Sku.class, com.google.cloud.channel.v1.Sku.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.Sku.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -457,9 +419,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.channel.v1.ProductsProto
-          .internal_static_google_cloud_channel_v1_Sku_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_Sku_descriptor;
     }
 
     @java.lang.Override
@@ -498,39 +460,38 @@ public com.google.cloud.channel.v1.Sku 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.cloud.channel.v1.Sku) {
-        return mergeFrom((com.google.cloud.channel.v1.Sku) other);
+        return mergeFrom((com.google.cloud.channel.v1.Sku)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -575,31 +536,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getMarketingInfoFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getMarketingInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getProductFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getProductFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -612,21 +573,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Resource Name of the SKU.
      * Format: products/{product_id}/skus/{sku_id}
      * 
* * 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; @@ -635,22 +594,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Resource Name of the SKU.
      * Format: products/{product_id}/skus/{sku_id}
      * 
* * 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 { @@ -658,64 +616,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Resource Name of the SKU.
      * Format: products/{product_id}/skus/{sku_id}
      * 
* * 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 of the SKU.
      * Format: products/{product_id}/skus/{sku_id}
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Resource Name of the SKU.
      * Format: products/{product_id}/skus/{sku_id}
      * 
* * 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; @@ -723,47 +674,34 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.channel.v1.MarketingInfo marketingInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.MarketingInfo, - com.google.cloud.channel.v1.MarketingInfo.Builder, - com.google.cloud.channel.v1.MarketingInfoOrBuilder> - marketingInfoBuilder_; + com.google.cloud.channel.v1.MarketingInfo, com.google.cloud.channel.v1.MarketingInfo.Builder, com.google.cloud.channel.v1.MarketingInfoOrBuilder> marketingInfoBuilder_; /** - * - * *
      * Marketing information for the SKU.
      * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; - * * @return Whether the marketingInfo field is set. */ public boolean hasMarketingInfo() { return marketingInfoBuilder_ != null || marketingInfo_ != null; } /** - * - * *
      * Marketing information for the SKU.
      * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; - * * @return The marketingInfo. */ public com.google.cloud.channel.v1.MarketingInfo getMarketingInfo() { if (marketingInfoBuilder_ == null) { - return marketingInfo_ == null - ? com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() - : marketingInfo_; + return marketingInfo_ == null ? com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() : marketingInfo_; } else { return marketingInfoBuilder_.getMessage(); } } /** - * - * *
      * Marketing information for the SKU.
      * 
@@ -784,8 +722,6 @@ public Builder setMarketingInfo(com.google.cloud.channel.v1.MarketingInfo value) return this; } /** - * - * *
      * Marketing information for the SKU.
      * 
@@ -804,8 +740,6 @@ public Builder setMarketingInfo( return this; } /** - * - * *
      * Marketing information for the SKU.
      * 
@@ -816,9 +750,7 @@ public Builder mergeMarketingInfo(com.google.cloud.channel.v1.MarketingInfo valu if (marketingInfoBuilder_ == null) { if (marketingInfo_ != null) { marketingInfo_ = - com.google.cloud.channel.v1.MarketingInfo.newBuilder(marketingInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.MarketingInfo.newBuilder(marketingInfo_).mergeFrom(value).buildPartial(); } else { marketingInfo_ = value; } @@ -830,8 +762,6 @@ public Builder mergeMarketingInfo(com.google.cloud.channel.v1.MarketingInfo valu return this; } /** - * - * *
      * Marketing information for the SKU.
      * 
@@ -850,8 +780,6 @@ public Builder clearMarketingInfo() { return this; } /** - * - * *
      * Marketing information for the SKU.
      * 
@@ -859,13 +787,11 @@ public Builder clearMarketingInfo() { * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; */ public com.google.cloud.channel.v1.MarketingInfo.Builder getMarketingInfoBuilder() { - + onChanged(); return getMarketingInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Marketing information for the SKU.
      * 
@@ -876,14 +802,11 @@ public com.google.cloud.channel.v1.MarketingInfoOrBuilder getMarketingInfoOrBuil if (marketingInfoBuilder_ != null) { return marketingInfoBuilder_.getMessageOrBuilder(); } else { - return marketingInfo_ == null - ? com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() - : marketingInfo_; + return marketingInfo_ == null ? + com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() : marketingInfo_; } } /** - * - * *
      * Marketing information for the SKU.
      * 
@@ -891,17 +814,14 @@ public com.google.cloud.channel.v1.MarketingInfoOrBuilder getMarketingInfoOrBuil * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.MarketingInfo, - com.google.cloud.channel.v1.MarketingInfo.Builder, - com.google.cloud.channel.v1.MarketingInfoOrBuilder> + com.google.cloud.channel.v1.MarketingInfo, com.google.cloud.channel.v1.MarketingInfo.Builder, com.google.cloud.channel.v1.MarketingInfoOrBuilder> getMarketingInfoFieldBuilder() { if (marketingInfoBuilder_ == null) { - marketingInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.MarketingInfo, - com.google.cloud.channel.v1.MarketingInfo.Builder, - com.google.cloud.channel.v1.MarketingInfoOrBuilder>( - getMarketingInfo(), getParentForChildren(), isClean()); + marketingInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.MarketingInfo, com.google.cloud.channel.v1.MarketingInfo.Builder, com.google.cloud.channel.v1.MarketingInfoOrBuilder>( + getMarketingInfo(), + getParentForChildren(), + isClean()); marketingInfo_ = null; } return marketingInfoBuilder_; @@ -909,47 +829,34 @@ public com.google.cloud.channel.v1.MarketingInfoOrBuilder getMarketingInfoOrBuil private com.google.cloud.channel.v1.Product product_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Product, - com.google.cloud.channel.v1.Product.Builder, - com.google.cloud.channel.v1.ProductOrBuilder> - productBuilder_; + com.google.cloud.channel.v1.Product, com.google.cloud.channel.v1.Product.Builder, com.google.cloud.channel.v1.ProductOrBuilder> productBuilder_; /** - * - * *
      * Product the SKU is associated with.
      * 
* * .google.cloud.channel.v1.Product product = 3; - * * @return Whether the product field is set. */ public boolean hasProduct() { return productBuilder_ != null || product_ != null; } /** - * - * *
      * Product the SKU is associated with.
      * 
* * .google.cloud.channel.v1.Product product = 3; - * * @return The product. */ public com.google.cloud.channel.v1.Product getProduct() { if (productBuilder_ == null) { - return product_ == null - ? com.google.cloud.channel.v1.Product.getDefaultInstance() - : product_; + return product_ == null ? com.google.cloud.channel.v1.Product.getDefaultInstance() : product_; } else { return productBuilder_.getMessage(); } } /** - * - * *
      * Product the SKU is associated with.
      * 
@@ -970,15 +877,14 @@ public Builder setProduct(com.google.cloud.channel.v1.Product value) { return this; } /** - * - * *
      * Product the SKU is associated with.
      * 
* * .google.cloud.channel.v1.Product product = 3; */ - public Builder setProduct(com.google.cloud.channel.v1.Product.Builder builderForValue) { + public Builder setProduct( + com.google.cloud.channel.v1.Product.Builder builderForValue) { if (productBuilder_ == null) { product_ = builderForValue.build(); onChanged(); @@ -989,8 +895,6 @@ public Builder setProduct(com.google.cloud.channel.v1.Product.Builder builderFor return this; } /** - * - * *
      * Product the SKU is associated with.
      * 
@@ -1001,9 +905,7 @@ public Builder mergeProduct(com.google.cloud.channel.v1.Product value) { if (productBuilder_ == null) { if (product_ != null) { product_ = - com.google.cloud.channel.v1.Product.newBuilder(product_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.Product.newBuilder(product_).mergeFrom(value).buildPartial(); } else { product_ = value; } @@ -1015,8 +917,6 @@ public Builder mergeProduct(com.google.cloud.channel.v1.Product value) { return this; } /** - * - * *
      * Product the SKU is associated with.
      * 
@@ -1035,8 +935,6 @@ public Builder clearProduct() { return this; } /** - * - * *
      * Product the SKU is associated with.
      * 
@@ -1044,13 +942,11 @@ public Builder clearProduct() { * .google.cloud.channel.v1.Product product = 3; */ public com.google.cloud.channel.v1.Product.Builder getProductBuilder() { - + onChanged(); return getProductFieldBuilder().getBuilder(); } /** - * - * *
      * Product the SKU is associated with.
      * 
@@ -1061,14 +957,11 @@ public com.google.cloud.channel.v1.ProductOrBuilder getProductOrBuilder() { if (productBuilder_ != null) { return productBuilder_.getMessageOrBuilder(); } else { - return product_ == null - ? com.google.cloud.channel.v1.Product.getDefaultInstance() - : product_; + return product_ == null ? + com.google.cloud.channel.v1.Product.getDefaultInstance() : product_; } } /** - * - * *
      * Product the SKU is associated with.
      * 
@@ -1076,24 +969,21 @@ public com.google.cloud.channel.v1.ProductOrBuilder getProductOrBuilder() { * .google.cloud.channel.v1.Product product = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Product, - com.google.cloud.channel.v1.Product.Builder, - com.google.cloud.channel.v1.ProductOrBuilder> + com.google.cloud.channel.v1.Product, com.google.cloud.channel.v1.Product.Builder, com.google.cloud.channel.v1.ProductOrBuilder> getProductFieldBuilder() { if (productBuilder_ == null) { - productBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Product, - com.google.cloud.channel.v1.Product.Builder, - com.google.cloud.channel.v1.ProductOrBuilder>( - getProduct(), getParentForChildren(), isClean()); + productBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Product, com.google.cloud.channel.v1.Product.Builder, com.google.cloud.channel.v1.ProductOrBuilder>( + getProduct(), + getParentForChildren(), + isClean()); product_ = null; } return productBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1103,12 +993,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.Sku) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.Sku) private static final com.google.cloud.channel.v1.Sku DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.Sku(); } @@ -1117,27 +1007,27 @@ public static com.google.cloud.channel.v1.Sku getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Sku parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Sku parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1152,4 +1042,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Sku getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuGroupCondition.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuGroupCondition.java new file mode 100644 index 000000000000..20e0f66056ba --- /dev/null +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuGroupCondition.java @@ -0,0 +1,604 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/repricing.proto + +package com.google.cloud.channel.v1; + +/** + *
+ * A condition that applies the override if a line item SKU is found in the SKU
+ * group.
+ * 
+ * + * Protobuf type {@code google.cloud.channel.v1.SkuGroupCondition} + */ +public final class SkuGroupCondition extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.SkuGroupCondition) + SkuGroupConditionOrBuilder { +private static final long serialVersionUID = 0L; + // Use SkuGroupCondition.newBuilder() to construct. + private SkuGroupCondition(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SkuGroupCondition() { + skuGroup_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new SkuGroupCondition(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_SkuGroupCondition_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_SkuGroupCondition_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.channel.v1.SkuGroupCondition.class, com.google.cloud.channel.v1.SkuGroupCondition.Builder.class); + } + + public static final int SKU_GROUP_FIELD_NUMBER = 1; + private volatile java.lang.Object skuGroup_; + /** + *
+   * Specifies a SKU group (https://cloud.google.com/skus/sku-groups).
+   * Resource name of SKU group. Format:
+   * accounts/{account}/skuGroups/{sku_group}.
+   * Example:
+   * "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".
+   * 
+ * + * string sku_group = 1; + * @return The skuGroup. + */ + @java.lang.Override + public java.lang.String getSkuGroup() { + java.lang.Object ref = skuGroup_; + 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(); + skuGroup_ = s; + return s; + } + } + /** + *
+   * Specifies a SKU group (https://cloud.google.com/skus/sku-groups).
+   * Resource name of SKU group. Format:
+   * accounts/{account}/skuGroups/{sku_group}.
+   * Example:
+   * "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".
+   * 
+ * + * string sku_group = 1; + * @return The bytes for skuGroup. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSkuGroupBytes() { + java.lang.Object ref = skuGroup_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + skuGroup_ = 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(skuGroup_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, skuGroup_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(skuGroup_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, skuGroup_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.channel.v1.SkuGroupCondition)) { + return super.equals(obj); + } + com.google.cloud.channel.v1.SkuGroupCondition other = (com.google.cloud.channel.v1.SkuGroupCondition) obj; + + if (!getSkuGroup() + .equals(other.getSkuGroup())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SKU_GROUP_FIELD_NUMBER; + hash = (53 * hash) + getSkuGroup().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.channel.v1.SkuGroupCondition parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.channel.v1.SkuGroupCondition parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.channel.v1.SkuGroupCondition parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.channel.v1.SkuGroupCondition parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.channel.v1.SkuGroupCondition parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.channel.v1.SkuGroupCondition parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.channel.v1.SkuGroupCondition parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.channel.v1.SkuGroupCondition parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.channel.v1.SkuGroupCondition parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.channel.v1.SkuGroupCondition parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.channel.v1.SkuGroupCondition parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.channel.v1.SkuGroupCondition 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.cloud.channel.v1.SkuGroupCondition 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 condition that applies the override if a line item SKU is found in the SKU
+   * group.
+   * 
+ * + * Protobuf type {@code google.cloud.channel.v1.SkuGroupCondition} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.SkuGroupCondition) + com.google.cloud.channel.v1.SkuGroupConditionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_SkuGroupCondition_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_SkuGroupCondition_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.channel.v1.SkuGroupCondition.class, com.google.cloud.channel.v1.SkuGroupCondition.Builder.class); + } + + // Construct using com.google.cloud.channel.v1.SkuGroupCondition.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + skuGroup_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_SkuGroupCondition_descriptor; + } + + @java.lang.Override + public com.google.cloud.channel.v1.SkuGroupCondition getDefaultInstanceForType() { + return com.google.cloud.channel.v1.SkuGroupCondition.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.channel.v1.SkuGroupCondition build() { + com.google.cloud.channel.v1.SkuGroupCondition result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.channel.v1.SkuGroupCondition buildPartial() { + com.google.cloud.channel.v1.SkuGroupCondition result = new com.google.cloud.channel.v1.SkuGroupCondition(this); + result.skuGroup_ = skuGroup_; + 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.cloud.channel.v1.SkuGroupCondition) { + return mergeFrom((com.google.cloud.channel.v1.SkuGroupCondition)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.channel.v1.SkuGroupCondition other) { + if (other == com.google.cloud.channel.v1.SkuGroupCondition.getDefaultInstance()) return this; + if (!other.getSkuGroup().isEmpty()) { + skuGroup_ = other.skuGroup_; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + skuGroup_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private java.lang.Object skuGroup_ = ""; + /** + *
+     * Specifies a SKU group (https://cloud.google.com/skus/sku-groups).
+     * Resource name of SKU group. Format:
+     * accounts/{account}/skuGroups/{sku_group}.
+     * Example:
+     * "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".
+     * 
+ * + * string sku_group = 1; + * @return The skuGroup. + */ + public java.lang.String getSkuGroup() { + java.lang.Object ref = skuGroup_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + skuGroup_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Specifies a SKU group (https://cloud.google.com/skus/sku-groups).
+     * Resource name of SKU group. Format:
+     * accounts/{account}/skuGroups/{sku_group}.
+     * Example:
+     * "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".
+     * 
+ * + * string sku_group = 1; + * @return The bytes for skuGroup. + */ + public com.google.protobuf.ByteString + getSkuGroupBytes() { + java.lang.Object ref = skuGroup_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + skuGroup_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Specifies a SKU group (https://cloud.google.com/skus/sku-groups).
+     * Resource name of SKU group. Format:
+     * accounts/{account}/skuGroups/{sku_group}.
+     * Example:
+     * "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".
+     * 
+ * + * string sku_group = 1; + * @param value The skuGroup to set. + * @return This builder for chaining. + */ + public Builder setSkuGroup( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + skuGroup_ = value; + onChanged(); + return this; + } + /** + *
+     * Specifies a SKU group (https://cloud.google.com/skus/sku-groups).
+     * Resource name of SKU group. Format:
+     * accounts/{account}/skuGroups/{sku_group}.
+     * Example:
+     * "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".
+     * 
+ * + * string sku_group = 1; + * @return This builder for chaining. + */ + public Builder clearSkuGroup() { + + skuGroup_ = getDefaultInstance().getSkuGroup(); + onChanged(); + return this; + } + /** + *
+     * Specifies a SKU group (https://cloud.google.com/skus/sku-groups).
+     * Resource name of SKU group. Format:
+     * accounts/{account}/skuGroups/{sku_group}.
+     * Example:
+     * "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".
+     * 
+ * + * string sku_group = 1; + * @param value The bytes for skuGroup to set. + * @return This builder for chaining. + */ + public Builder setSkuGroupBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + skuGroup_ = 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.cloud.channel.v1.SkuGroupCondition) + } + + // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.SkuGroupCondition) + private static final com.google.cloud.channel.v1.SkuGroupCondition DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.channel.v1.SkuGroupCondition(); + } + + public static com.google.cloud.channel.v1.SkuGroupCondition getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SkuGroupCondition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.channel.v1.SkuGroupCondition getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuGroupConditionOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuGroupConditionOrBuilder.java new file mode 100644 index 000000000000..83ac744fa9ac --- /dev/null +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuGroupConditionOrBuilder.java @@ -0,0 +1,37 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/repricing.proto + +package com.google.cloud.channel.v1; + +public interface SkuGroupConditionOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.SkuGroupCondition) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Specifies a SKU group (https://cloud.google.com/skus/sku-groups).
+   * Resource name of SKU group. Format:
+   * accounts/{account}/skuGroups/{sku_group}.
+   * Example:
+   * "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".
+   * 
+ * + * string sku_group = 1; + * @return The skuGroup. + */ + java.lang.String getSkuGroup(); + /** + *
+   * Specifies a SKU group (https://cloud.google.com/skus/sku-groups).
+   * Resource name of SKU group. Format:
+   * accounts/{account}/skuGroups/{sku_group}.
+   * Example:
+   * "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".
+   * 
+ * + * string sku_group = 1; + * @return The bytes for skuGroup. + */ + com.google.protobuf.ByteString + getSkuGroupBytes(); +} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuOrBuilder.java similarity index 72% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuOrBuilder.java index 51aecf740780..cbe66922aa02 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuOrBuilder.java @@ -1,82 +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/cloud/channel/v1/products.proto package com.google.cloud.channel.v1; -public interface SkuOrBuilder - extends +public interface SkuOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Sku) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Resource Name of the SKU.
    * Format: products/{product_id}/skus/{sku_id}
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Resource Name of the SKU.
    * Format: products/{product_id}/skus/{sku_id}
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Marketing information for the SKU.
    * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; - * * @return Whether the marketingInfo field is set. */ boolean hasMarketingInfo(); /** - * - * *
    * Marketing information for the SKU.
    * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; - * * @return The marketingInfo. */ com.google.cloud.channel.v1.MarketingInfo getMarketingInfo(); /** - * - * *
    * Marketing information for the SKU.
    * 
@@ -86,32 +57,24 @@ public interface SkuOrBuilder com.google.cloud.channel.v1.MarketingInfoOrBuilder getMarketingInfoOrBuilder(); /** - * - * *
    * Product the SKU is associated with.
    * 
* * .google.cloud.channel.v1.Product product = 3; - * * @return Whether the product field is set. */ boolean hasProduct(); /** - * - * *
    * Product the SKU is associated with.
    * 
* * .google.cloud.channel.v1.Product product = 3; - * * @return The product. */ com.google.cloud.channel.v1.Product getProduct(); /** - * - * *
    * Product the SKU is associated with.
    * 
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequest.java similarity index 69% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequest.java index 1ea7e2ae2f2d..685d6e04e21f 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequest.java @@ -1,42 +1,25 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Request message for [CloudChannelService.StartPaidService][google.cloud.channel.v1.CloudChannelService.StartPaidService].
+ * Request message for
+ * [CloudChannelService.StartPaidService][google.cloud.channel.v1.CloudChannelService.StartPaidService].
  * 
* * Protobuf type {@code google.cloud.channel.v1.StartPaidServiceRequest} */ -public final class StartPaidServiceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StartPaidServiceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.StartPaidServiceRequest) StartPaidServiceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StartPaidServiceRequest.newBuilder() to construct. private StartPaidServiceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StartPaidServiceRequest() { name_ = ""; requestId_ = ""; @@ -44,35 +27,32 @@ private StartPaidServiceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StartPaidServiceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_StartPaidServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_StartPaidServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_StartPaidServiceRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_StartPaidServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.StartPaidServiceRequest.class, - com.google.cloud.channel.v1.StartPaidServiceRequest.Builder.class); + com.google.cloud.channel.v1.StartPaidServiceRequest.class, com.google.cloud.channel.v1.StartPaidServiceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the entitlement to start a paid service for.
    * Name uses the format:
@@ -80,7 +60,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -89,15 +68,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the entitlement to start a paid service for.
    * Name uses the format:
@@ -105,15 +83,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -124,11 +103,10 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REQUEST_ID_FIELD_NUMBER = 3; private volatile java.lang.Object requestId_; /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -139,7 +117,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -148,18 +125,18 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -170,15 +147,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -187,7 +165,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,7 +176,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -229,16 +207,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.StartPaidServiceRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.StartPaidServiceRequest other = - (com.google.cloud.channel.v1.StartPaidServiceRequest) obj; + com.google.cloud.channel.v1.StartPaidServiceRequest other = (com.google.cloud.channel.v1.StartPaidServiceRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -260,135 +239,130 @@ public int hashCode() { } public static com.google.cloud.channel.v1.StartPaidServiceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.StartPaidServiceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.StartPaidServiceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.StartPaidServiceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.StartPaidServiceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.StartPaidServiceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.StartPaidServiceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.StartPaidServiceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.StartPaidServiceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.StartPaidServiceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.StartPaidServiceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.StartPaidServiceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.StartPaidServiceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.StartPaidServiceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.StartPaidServiceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Request message for [CloudChannelService.StartPaidService][google.cloud.channel.v1.CloudChannelService.StartPaidService].
+   * Request message for
+   * [CloudChannelService.StartPaidService][google.cloud.channel.v1.CloudChannelService.StartPaidService].
    * 
* * Protobuf type {@code google.cloud.channel.v1.StartPaidServiceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.StartPaidServiceRequest) com.google.cloud.channel.v1.StartPaidServiceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_StartPaidServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_StartPaidServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_StartPaidServiceRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_StartPaidServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.StartPaidServiceRequest.class, - com.google.cloud.channel.v1.StartPaidServiceRequest.Builder.class); + com.google.cloud.channel.v1.StartPaidServiceRequest.class, com.google.cloud.channel.v1.StartPaidServiceRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.StartPaidServiceRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -400,9 +374,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_StartPaidServiceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_StartPaidServiceRequest_descriptor; } @java.lang.Override @@ -421,8 +395,7 @@ public com.google.cloud.channel.v1.StartPaidServiceRequest build() { @java.lang.Override public com.google.cloud.channel.v1.StartPaidServiceRequest buildPartial() { - com.google.cloud.channel.v1.StartPaidServiceRequest result = - new com.google.cloud.channel.v1.StartPaidServiceRequest(this); + com.google.cloud.channel.v1.StartPaidServiceRequest result = new com.google.cloud.channel.v1.StartPaidServiceRequest(this); result.name_ = name_; result.requestId_ = requestId_; onBuilt(); @@ -433,39 +406,38 @@ public com.google.cloud.channel.v1.StartPaidServiceRequest 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.cloud.channel.v1.StartPaidServiceRequest) { - return mergeFrom((com.google.cloud.channel.v1.StartPaidServiceRequest) other); + return mergeFrom((com.google.cloud.channel.v1.StartPaidServiceRequest)other); } else { super.mergeFrom(other); return this; @@ -473,8 +445,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.StartPaidServiceRequest other) { - if (other == com.google.cloud.channel.v1.StartPaidServiceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.StartPaidServiceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -509,25 +480,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 26: - { - requestId_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 26: { + requestId_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -540,8 +508,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the entitlement to start a paid service for.
      * Name uses the format:
@@ -549,13 +515,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -564,8 +530,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the entitlement to start a paid service for.
      * Name uses the format:
@@ -573,14 +537,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.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,8 +553,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the entitlement to start a paid service for.
      * Name uses the format:
@@ -597,22 +560,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 entitlement to start a paid service for.
      * Name uses the format:
@@ -620,18 +581,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the entitlement to start a paid service for.
      * Name uses the format:
@@ -639,16 +597,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -656,11 +614,10 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -671,13 +628,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -686,11 +643,10 @@ public java.lang.String getRequestId() { } } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -701,14 +657,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -716,11 +673,10 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -731,25 +687,24 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -760,21 +715,19 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -785,23 +738,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -811,12 +764,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.StartPaidServiceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.StartPaidServiceRequest) private static final com.google.cloud.channel.v1.StartPaidServiceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.StartPaidServiceRequest(); } @@ -825,27 +778,27 @@ public static com.google.cloud.channel.v1.StartPaidServiceRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StartPaidServiceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StartPaidServiceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -860,4 +813,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.StartPaidServiceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequestOrBuilder.java similarity index 69% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequestOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequestOrBuilder.java index 59e7ecbade5d..efa55fe2f4ae 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequestOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequestOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface StartPaidServiceRequestOrBuilder - extends +public interface StartPaidServiceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.StartPaidServiceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the entitlement to start a paid service for.
    * Name uses the format:
@@ -33,13 +15,10 @@ public interface StartPaidServiceRequestOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the entitlement to start a paid service for.
    * Name uses the format:
@@ -47,17 +26,16 @@ public interface StartPaidServiceRequestOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -68,16 +46,14 @@ public interface StartPaidServiceRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -88,8 +64,8 @@ public interface StartPaidServiceRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEvent.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEvent.java similarity index 71% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEvent.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEvent.java index 77862d0c441e..3956dcc27013 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEvent.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEvent.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/cloud/channel/v1/subscriber_event.proto package com.google.cloud.channel.v1; /** - * - * *
  * Represents information which resellers will get as part of notification from
  * Pub/Sub.
@@ -28,56 +11,52 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.SubscriberEvent}
  */
-public final class SubscriberEvent extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SubscriberEvent extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.SubscriberEvent)
     SubscriberEventOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SubscriberEvent.newBuilder() to construct.
   private SubscriberEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private SubscriberEvent() {}
+  private SubscriberEvent() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SubscriberEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.channel.v1.SubscriberEventProto
-        .internal_static_google_cloud_channel_v1_SubscriberEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.channel.v1.SubscriberEventProto.internal_static_google_cloud_channel_v1_SubscriberEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.SubscriberEventProto
-        .internal_static_google_cloud_channel_v1_SubscriberEvent_fieldAccessorTable
+    return com.google.cloud.channel.v1.SubscriberEventProto.internal_static_google_cloud_channel_v1_SubscriberEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.SubscriberEvent.class,
-            com.google.cloud.channel.v1.SubscriberEvent.Builder.class);
+            com.google.cloud.channel.v1.SubscriberEvent.class, com.google.cloud.channel.v1.SubscriberEvent.Builder.class);
   }
 
   private int eventCase_ = 0;
   private java.lang.Object event_;
-
   public enum EventCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     CUSTOMER_EVENT(1),
     ENTITLEMENT_EVENT(2),
     EVENT_NOT_SET(0);
     private final int value;
-
     private EventCase(int value) {
       this.value = value;
     }
@@ -93,36 +72,30 @@ public static EventCase valueOf(int value) {
 
     public static EventCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return CUSTOMER_EVENT;
-        case 2:
-          return ENTITLEMENT_EVENT;
-        case 0:
-          return EVENT_NOT_SET;
-        default:
-          return null;
+        case 1: return CUSTOMER_EVENT;
+        case 2: return ENTITLEMENT_EVENT;
+        case 0: return EVENT_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public EventCase getEventCase() {
-    return EventCase.forNumber(eventCase_);
+  public EventCase
+  getEventCase() {
+    return EventCase.forNumber(
+        eventCase_);
   }
 
   public static final int CUSTOMER_EVENT_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * Customer event sent as part of Pub/Sub event to partners.
    * 
* * .google.cloud.channel.v1.CustomerEvent customer_event = 1; - * * @return Whether the customerEvent field is set. */ @java.lang.Override @@ -130,26 +103,21 @@ public boolean hasCustomerEvent() { return eventCase_ == 1; } /** - * - * *
    * Customer event sent as part of Pub/Sub event to partners.
    * 
* * .google.cloud.channel.v1.CustomerEvent customer_event = 1; - * * @return The customerEvent. */ @java.lang.Override public com.google.cloud.channel.v1.CustomerEvent getCustomerEvent() { if (eventCase_ == 1) { - return (com.google.cloud.channel.v1.CustomerEvent) event_; + return (com.google.cloud.channel.v1.CustomerEvent) event_; } return com.google.cloud.channel.v1.CustomerEvent.getDefaultInstance(); } /** - * - * *
    * Customer event sent as part of Pub/Sub event to partners.
    * 
@@ -159,21 +127,18 @@ public com.google.cloud.channel.v1.CustomerEvent getCustomerEvent() { @java.lang.Override public com.google.cloud.channel.v1.CustomerEventOrBuilder getCustomerEventOrBuilder() { if (eventCase_ == 1) { - return (com.google.cloud.channel.v1.CustomerEvent) event_; + return (com.google.cloud.channel.v1.CustomerEvent) event_; } return com.google.cloud.channel.v1.CustomerEvent.getDefaultInstance(); } public static final int ENTITLEMENT_EVENT_FIELD_NUMBER = 2; /** - * - * *
    * Entitlement event sent as part of Pub/Sub event to partners.
    * 
* * .google.cloud.channel.v1.EntitlementEvent entitlement_event = 2; - * * @return Whether the entitlementEvent field is set. */ @java.lang.Override @@ -181,26 +146,21 @@ public boolean hasEntitlementEvent() { return eventCase_ == 2; } /** - * - * *
    * Entitlement event sent as part of Pub/Sub event to partners.
    * 
* * .google.cloud.channel.v1.EntitlementEvent entitlement_event = 2; - * * @return The entitlementEvent. */ @java.lang.Override public com.google.cloud.channel.v1.EntitlementEvent getEntitlementEvent() { if (eventCase_ == 2) { - return (com.google.cloud.channel.v1.EntitlementEvent) event_; + return (com.google.cloud.channel.v1.EntitlementEvent) event_; } return com.google.cloud.channel.v1.EntitlementEvent.getDefaultInstance(); } /** - * - * *
    * Entitlement event sent as part of Pub/Sub event to partners.
    * 
@@ -210,13 +170,12 @@ public com.google.cloud.channel.v1.EntitlementEvent getEntitlementEvent() { @java.lang.Override public com.google.cloud.channel.v1.EntitlementEventOrBuilder getEntitlementEventOrBuilder() { if (eventCase_ == 2) { - return (com.google.cloud.channel.v1.EntitlementEvent) event_; + return (com.google.cloud.channel.v1.EntitlementEvent) event_; } return com.google.cloud.channel.v1.EntitlementEvent.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,7 +187,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (eventCase_ == 1) { output.writeMessage(1, (com.google.cloud.channel.v1.CustomerEvent) event_); } @@ -245,14 +205,12 @@ public int getSerializedSize() { size = 0; if (eventCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.channel.v1.CustomerEvent) event_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.channel.v1.CustomerEvent) event_); } if (eventCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.channel.v1.EntitlementEvent) event_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.channel.v1.EntitlementEvent) event_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -262,21 +220,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.cloud.channel.v1.SubscriberEvent)) { return super.equals(obj); } - com.google.cloud.channel.v1.SubscriberEvent other = - (com.google.cloud.channel.v1.SubscriberEvent) obj; + com.google.cloud.channel.v1.SubscriberEvent other = (com.google.cloud.channel.v1.SubscriberEvent) obj; if (!getEventCase().equals(other.getEventCase())) return false; switch (eventCase_) { case 1: - if (!getCustomerEvent().equals(other.getCustomerEvent())) return false; + if (!getCustomerEvent() + .equals(other.getCustomerEvent())) return false; break; case 2: - if (!getEntitlementEvent().equals(other.getEntitlementEvent())) return false; + if (!getEntitlementEvent() + .equals(other.getEntitlementEvent())) return false; break; case 0: default: @@ -309,104 +268,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.SubscriberEvent parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.SubscriberEvent parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.SubscriberEvent parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.SubscriberEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.SubscriberEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.SubscriberEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.SubscriberEvent parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.SubscriberEvent 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.cloud.channel.v1.SubscriberEvent parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.SubscriberEvent parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.SubscriberEvent parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.SubscriberEvent parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.SubscriberEvent parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.SubscriberEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.SubscriberEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents information which resellers will get as part of notification from
    * Pub/Sub.
@@ -414,32 +366,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.channel.v1.SubscriberEvent}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.SubscriberEvent)
       com.google.cloud.channel.v1.SubscriberEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.channel.v1.SubscriberEventProto
-          .internal_static_google_cloud_channel_v1_SubscriberEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.channel.v1.SubscriberEventProto.internal_static_google_cloud_channel_v1_SubscriberEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.SubscriberEventProto
-          .internal_static_google_cloud_channel_v1_SubscriberEvent_fieldAccessorTable
+      return com.google.cloud.channel.v1.SubscriberEventProto.internal_static_google_cloud_channel_v1_SubscriberEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.SubscriberEvent.class,
-              com.google.cloud.channel.v1.SubscriberEvent.Builder.class);
+              com.google.cloud.channel.v1.SubscriberEvent.class, com.google.cloud.channel.v1.SubscriberEvent.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.SubscriberEvent.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -455,9 +408,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.channel.v1.SubscriberEventProto
-          .internal_static_google_cloud_channel_v1_SubscriberEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.channel.v1.SubscriberEventProto.internal_static_google_cloud_channel_v1_SubscriberEvent_descriptor;
     }
 
     @java.lang.Override
@@ -476,8 +429,7 @@ public com.google.cloud.channel.v1.SubscriberEvent build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.SubscriberEvent buildPartial() {
-      com.google.cloud.channel.v1.SubscriberEvent result =
-          new com.google.cloud.channel.v1.SubscriberEvent(this);
+      com.google.cloud.channel.v1.SubscriberEvent result = new com.google.cloud.channel.v1.SubscriberEvent(this);
       if (eventCase_ == 1) {
         if (customerEventBuilder_ == null) {
           result.event_ = event_;
@@ -501,39 +453,38 @@ public com.google.cloud.channel.v1.SubscriberEvent 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.cloud.channel.v1.SubscriberEvent) {
-        return mergeFrom((com.google.cloud.channel.v1.SubscriberEvent) other);
+        return mergeFrom((com.google.cloud.channel.v1.SubscriberEvent)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -543,20 +494,17 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.cloud.channel.v1.SubscriberEvent other) {
       if (other == com.google.cloud.channel.v1.SubscriberEvent.getDefaultInstance()) return this;
       switch (other.getEventCase()) {
-        case CUSTOMER_EVENT:
-          {
-            mergeCustomerEvent(other.getCustomerEvent());
-            break;
-          }
-        case ENTITLEMENT_EVENT:
-          {
-            mergeEntitlementEvent(other.getEntitlementEvent());
-            break;
-          }
-        case EVENT_NOT_SET:
-          {
-            break;
-          }
+        case CUSTOMER_EVENT: {
+          mergeCustomerEvent(other.getCustomerEvent());
+          break;
+        }
+        case ENTITLEMENT_EVENT: {
+          mergeEntitlementEvent(other.getEntitlementEvent());
+          break;
+        }
+        case EVENT_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -584,26 +532,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getCustomerEventFieldBuilder().getBuilder(), extensionRegistry);
-                eventCase_ = 1;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(
-                    getEntitlementEventFieldBuilder().getBuilder(), extensionRegistry);
-                eventCase_ = 2;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getCustomerEventFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              eventCase_ = 1;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getEntitlementEventFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              eventCase_ = 2;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -613,12 +561,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int eventCase_ = 0;
     private java.lang.Object event_;
-
-    public EventCase getEventCase() {
-      return EventCase.forNumber(eventCase_);
+    public EventCase
+        getEventCase() {
+      return EventCase.forNumber(
+          eventCase_);
     }
 
     public Builder clearEvent() {
@@ -628,20 +576,15 @@ public Builder clearEvent() {
       return this;
     }
 
+
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.channel.v1.CustomerEvent,
-            com.google.cloud.channel.v1.CustomerEvent.Builder,
-            com.google.cloud.channel.v1.CustomerEventOrBuilder>
-        customerEventBuilder_;
+        com.google.cloud.channel.v1.CustomerEvent, com.google.cloud.channel.v1.CustomerEvent.Builder, com.google.cloud.channel.v1.CustomerEventOrBuilder> customerEventBuilder_;
     /**
-     *
-     *
      * 
      * Customer event sent as part of Pub/Sub event to partners.
      * 
* * .google.cloud.channel.v1.CustomerEvent customer_event = 1; - * * @return Whether the customerEvent field is set. */ @java.lang.Override @@ -649,14 +592,11 @@ public boolean hasCustomerEvent() { return eventCase_ == 1; } /** - * - * *
      * Customer event sent as part of Pub/Sub event to partners.
      * 
* * .google.cloud.channel.v1.CustomerEvent customer_event = 1; - * * @return The customerEvent. */ @java.lang.Override @@ -674,8 +614,6 @@ public com.google.cloud.channel.v1.CustomerEvent getCustomerEvent() { } } /** - * - * *
      * Customer event sent as part of Pub/Sub event to partners.
      * 
@@ -696,8 +634,6 @@ public Builder setCustomerEvent(com.google.cloud.channel.v1.CustomerEvent value) return this; } /** - * - * *
      * Customer event sent as part of Pub/Sub event to partners.
      * 
@@ -716,8 +652,6 @@ public Builder setCustomerEvent( return this; } /** - * - * *
      * Customer event sent as part of Pub/Sub event to partners.
      * 
@@ -726,13 +660,10 @@ public Builder setCustomerEvent( */ public Builder mergeCustomerEvent(com.google.cloud.channel.v1.CustomerEvent value) { if (customerEventBuilder_ == null) { - if (eventCase_ == 1 - && event_ != com.google.cloud.channel.v1.CustomerEvent.getDefaultInstance()) { - event_ = - com.google.cloud.channel.v1.CustomerEvent.newBuilder( - (com.google.cloud.channel.v1.CustomerEvent) event_) - .mergeFrom(value) - .buildPartial(); + if (eventCase_ == 1 && + event_ != com.google.cloud.channel.v1.CustomerEvent.getDefaultInstance()) { + event_ = com.google.cloud.channel.v1.CustomerEvent.newBuilder((com.google.cloud.channel.v1.CustomerEvent) event_) + .mergeFrom(value).buildPartial(); } else { event_ = value; } @@ -748,8 +679,6 @@ public Builder mergeCustomerEvent(com.google.cloud.channel.v1.CustomerEvent valu return this; } /** - * - * *
      * Customer event sent as part of Pub/Sub event to partners.
      * 
@@ -773,8 +702,6 @@ public Builder clearCustomerEvent() { return this; } /** - * - * *
      * Customer event sent as part of Pub/Sub event to partners.
      * 
@@ -785,8 +712,6 @@ public com.google.cloud.channel.v1.CustomerEvent.Builder getCustomerEventBuilder return getCustomerEventFieldBuilder().getBuilder(); } /** - * - * *
      * Customer event sent as part of Pub/Sub event to partners.
      * 
@@ -805,8 +730,6 @@ public com.google.cloud.channel.v1.CustomerEventOrBuilder getCustomerEventOrBuil } } /** - * - * *
      * Customer event sent as part of Pub/Sub event to partners.
      * 
@@ -814,44 +737,32 @@ public com.google.cloud.channel.v1.CustomerEventOrBuilder getCustomerEventOrBuil * .google.cloud.channel.v1.CustomerEvent customer_event = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CustomerEvent, - com.google.cloud.channel.v1.CustomerEvent.Builder, - com.google.cloud.channel.v1.CustomerEventOrBuilder> + com.google.cloud.channel.v1.CustomerEvent, com.google.cloud.channel.v1.CustomerEvent.Builder, com.google.cloud.channel.v1.CustomerEventOrBuilder> getCustomerEventFieldBuilder() { if (customerEventBuilder_ == null) { if (!(eventCase_ == 1)) { event_ = com.google.cloud.channel.v1.CustomerEvent.getDefaultInstance(); } - customerEventBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CustomerEvent, - com.google.cloud.channel.v1.CustomerEvent.Builder, - com.google.cloud.channel.v1.CustomerEventOrBuilder>( + customerEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.CustomerEvent, com.google.cloud.channel.v1.CustomerEvent.Builder, com.google.cloud.channel.v1.CustomerEventOrBuilder>( (com.google.cloud.channel.v1.CustomerEvent) event_, getParentForChildren(), isClean()); event_ = null; } eventCase_ = 1; - onChanged(); - ; + onChanged();; return customerEventBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.EntitlementEvent, - com.google.cloud.channel.v1.EntitlementEvent.Builder, - com.google.cloud.channel.v1.EntitlementEventOrBuilder> - entitlementEventBuilder_; + com.google.cloud.channel.v1.EntitlementEvent, com.google.cloud.channel.v1.EntitlementEvent.Builder, com.google.cloud.channel.v1.EntitlementEventOrBuilder> entitlementEventBuilder_; /** - * - * *
      * Entitlement event sent as part of Pub/Sub event to partners.
      * 
* * .google.cloud.channel.v1.EntitlementEvent entitlement_event = 2; - * * @return Whether the entitlementEvent field is set. */ @java.lang.Override @@ -859,14 +770,11 @@ public boolean hasEntitlementEvent() { return eventCase_ == 2; } /** - * - * *
      * Entitlement event sent as part of Pub/Sub event to partners.
      * 
* * .google.cloud.channel.v1.EntitlementEvent entitlement_event = 2; - * * @return The entitlementEvent. */ @java.lang.Override @@ -884,8 +792,6 @@ public com.google.cloud.channel.v1.EntitlementEvent getEntitlementEvent() { } } /** - * - * *
      * Entitlement event sent as part of Pub/Sub event to partners.
      * 
@@ -906,8 +812,6 @@ public Builder setEntitlementEvent(com.google.cloud.channel.v1.EntitlementEvent return this; } /** - * - * *
      * Entitlement event sent as part of Pub/Sub event to partners.
      * 
@@ -926,8 +830,6 @@ public Builder setEntitlementEvent( return this; } /** - * - * *
      * Entitlement event sent as part of Pub/Sub event to partners.
      * 
@@ -936,13 +838,10 @@ public Builder setEntitlementEvent( */ public Builder mergeEntitlementEvent(com.google.cloud.channel.v1.EntitlementEvent value) { if (entitlementEventBuilder_ == null) { - if (eventCase_ == 2 - && event_ != com.google.cloud.channel.v1.EntitlementEvent.getDefaultInstance()) { - event_ = - com.google.cloud.channel.v1.EntitlementEvent.newBuilder( - (com.google.cloud.channel.v1.EntitlementEvent) event_) - .mergeFrom(value) - .buildPartial(); + if (eventCase_ == 2 && + event_ != com.google.cloud.channel.v1.EntitlementEvent.getDefaultInstance()) { + event_ = com.google.cloud.channel.v1.EntitlementEvent.newBuilder((com.google.cloud.channel.v1.EntitlementEvent) event_) + .mergeFrom(value).buildPartial(); } else { event_ = value; } @@ -958,8 +857,6 @@ public Builder mergeEntitlementEvent(com.google.cloud.channel.v1.EntitlementEven return this; } /** - * - * *
      * Entitlement event sent as part of Pub/Sub event to partners.
      * 
@@ -983,8 +880,6 @@ public Builder clearEntitlementEvent() { return this; } /** - * - * *
      * Entitlement event sent as part of Pub/Sub event to partners.
      * 
@@ -995,8 +890,6 @@ public com.google.cloud.channel.v1.EntitlementEvent.Builder getEntitlementEventB return getEntitlementEventFieldBuilder().getBuilder(); } /** - * - * *
      * Entitlement event sent as part of Pub/Sub event to partners.
      * 
@@ -1015,8 +908,6 @@ public com.google.cloud.channel.v1.EntitlementEventOrBuilder getEntitlementEvent } } /** - * - * *
      * Entitlement event sent as part of Pub/Sub event to partners.
      * 
@@ -1024,32 +915,26 @@ public com.google.cloud.channel.v1.EntitlementEventOrBuilder getEntitlementEvent * .google.cloud.channel.v1.EntitlementEvent entitlement_event = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.EntitlementEvent, - com.google.cloud.channel.v1.EntitlementEvent.Builder, - com.google.cloud.channel.v1.EntitlementEventOrBuilder> + com.google.cloud.channel.v1.EntitlementEvent, com.google.cloud.channel.v1.EntitlementEvent.Builder, com.google.cloud.channel.v1.EntitlementEventOrBuilder> getEntitlementEventFieldBuilder() { if (entitlementEventBuilder_ == null) { if (!(eventCase_ == 2)) { event_ = com.google.cloud.channel.v1.EntitlementEvent.getDefaultInstance(); } - entitlementEventBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.EntitlementEvent, - com.google.cloud.channel.v1.EntitlementEvent.Builder, - com.google.cloud.channel.v1.EntitlementEventOrBuilder>( + entitlementEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.EntitlementEvent, com.google.cloud.channel.v1.EntitlementEvent.Builder, com.google.cloud.channel.v1.EntitlementEventOrBuilder>( (com.google.cloud.channel.v1.EntitlementEvent) event_, getParentForChildren(), isClean()); event_ = null; } eventCase_ = 2; - onChanged(); - ; + onChanged();; return entitlementEventBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1059,12 +944,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.SubscriberEvent) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.SubscriberEvent) private static final com.google.cloud.channel.v1.SubscriberEvent DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.SubscriberEvent(); } @@ -1073,27 +958,27 @@ public static com.google.cloud.channel.v1.SubscriberEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SubscriberEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SubscriberEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1108,4 +993,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.SubscriberEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventOrBuilder.java similarity index 73% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventOrBuilder.java index ead1029a297d..6d776b34d261 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventOrBuilder.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/cloud/channel/v1/subscriber_event.proto package com.google.cloud.channel.v1; -public interface SubscriberEventOrBuilder - extends +public interface SubscriberEventOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.SubscriberEvent) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Customer event sent as part of Pub/Sub event to partners.
    * 
* * .google.cloud.channel.v1.CustomerEvent customer_event = 1; - * * @return Whether the customerEvent field is set. */ boolean hasCustomerEvent(); /** - * - * *
    * Customer event sent as part of Pub/Sub event to partners.
    * 
* * .google.cloud.channel.v1.CustomerEvent customer_event = 1; - * * @return The customerEvent. */ com.google.cloud.channel.v1.CustomerEvent getCustomerEvent(); /** - * - * *
    * Customer event sent as part of Pub/Sub event to partners.
    * 
@@ -59,32 +35,24 @@ public interface SubscriberEventOrBuilder com.google.cloud.channel.v1.CustomerEventOrBuilder getCustomerEventOrBuilder(); /** - * - * *
    * Entitlement event sent as part of Pub/Sub event to partners.
    * 
* * .google.cloud.channel.v1.EntitlementEvent entitlement_event = 2; - * * @return Whether the entitlementEvent field is set. */ boolean hasEntitlementEvent(); /** - * - * *
    * Entitlement event sent as part of Pub/Sub event to partners.
    * 
* * .google.cloud.channel.v1.EntitlementEvent entitlement_event = 2; - * * @return The entitlementEvent. */ com.google.cloud.channel.v1.EntitlementEvent getEntitlementEvent(); /** - * - * *
    * Entitlement event sent as part of Pub/Sub event to partners.
    * 
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventProto.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventProto.java new file mode 100644 index 000000000000..90d64d299742 --- /dev/null +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventProto.java @@ -0,0 +1,101 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/subscriber_event.proto + +package com.google.cloud.channel.v1; + +public final class SubscriberEventProto { + private SubscriberEventProto() {} + 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_cloud_channel_v1_CustomerEvent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_CustomerEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_EntitlementEvent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_EntitlementEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_SubscriberEvent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_SubscriberEvent_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/cloud/channel/v1/subscriber_eve" + + "nt.proto\022\027google.cloud.channel.v1\032\031googl" + + "e/api/resource.proto\"\344\001\n\rCustomerEvent\022;" + + "\n\010customer\030\001 \001(\tB)\372A&\n$cloudchannel.goog" + + "leapis.com/Customer\022?\n\nevent_type\030\002 \001(\0162" + + "+.google.cloud.channel.v1.CustomerEvent." + + "Type\"U\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\032\n\026PR" + + "IMARY_DOMAIN_CHANGED\020\001\022\033\n\027PRIMARY_DOMAIN" + + "_VERIFIED\020\002\"\261\003\n\020EntitlementEvent\022A\n\013enti" + + "tlement\030\001 \001(\tB,\372A)\n\'cloudchannel.googlea" + + "pis.com/Entitlement\022B\n\nevent_type\030\002 \001(\0162" + + "..google.cloud.channel.v1.EntitlementEve" + + "nt.Type\"\225\002\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\013" + + "\n\007CREATED\020\001\022\027\n\023PRICE_PLAN_SWITCHED\020\003\022\026\n\022" + + "COMMITMENT_CHANGED\020\004\022\013\n\007RENEWED\020\005\022\r\n\tSUS" + + "PENDED\020\006\022\r\n\tACTIVATED\020\007\022\r\n\tCANCELLED\020\010\022\017" + + "\n\013SKU_CHANGED\020\t\022\033\n\027RENEWAL_SETTING_CHANG" + + "ED\020\n\022\030\n\024PAID_SERVICE_STARTED\020\013\022\036\n\032LICENS" + + "E_ASSIGNMENT_CHANGED\020\014\022\027\n\023LICENSE_CAP_CH" + + "ANGED\020\r\"\244\001\n\017SubscriberEvent\022@\n\016customer_" + + "event\030\001 \001(\0132&.google.cloud.channel.v1.Cu" + + "stomerEventH\000\022F\n\021entitlement_event\030\002 \001(\013" + + "2).google.cloud.channel.v1.EntitlementEv" + + "entH\000B\007\n\005eventBu\n\033com.google.cloud.chann" + + "el.v1B\024SubscriberEventProtoP\001Z>google.go" + + "lang.org/genproto/googleapis/cloud/chann" + + "el/v1;channelb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + }); + internal_static_google_cloud_channel_v1_CustomerEvent_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_channel_v1_CustomerEvent_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_CustomerEvent_descriptor, + new java.lang.String[] { "Customer", "EventType", }); + internal_static_google_cloud_channel_v1_EntitlementEvent_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_channel_v1_EntitlementEvent_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_EntitlementEvent_descriptor, + new java.lang.String[] { "Entitlement", "EventType", }); + internal_static_google_cloud_channel_v1_SubscriberEvent_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_channel_v1_SubscriberEvent_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_SubscriberEvent_descriptor, + new java.lang.String[] { "CustomerEvent", "EntitlementEvent", "Event", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequest.java similarity index 69% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequest.java index 4257ef853205..4dcd1d68a6b1 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequest.java @@ -1,42 +1,25 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Request message for [CloudChannelService.SuspendEntitlement][google.cloud.channel.v1.CloudChannelService.SuspendEntitlement].
+ * Request message for
+ * [CloudChannelService.SuspendEntitlement][google.cloud.channel.v1.CloudChannelService.SuspendEntitlement].
  * 
* * Protobuf type {@code google.cloud.channel.v1.SuspendEntitlementRequest} */ -public final class SuspendEntitlementRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SuspendEntitlementRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.SuspendEntitlementRequest) SuspendEntitlementRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SuspendEntitlementRequest.newBuilder() to construct. private SuspendEntitlementRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SuspendEntitlementRequest() { name_ = ""; requestId_ = ""; @@ -44,35 +27,32 @@ private SuspendEntitlementRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SuspendEntitlementRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.SuspendEntitlementRequest.class, - com.google.cloud.channel.v1.SuspendEntitlementRequest.Builder.class); + com.google.cloud.channel.v1.SuspendEntitlementRequest.class, com.google.cloud.channel.v1.SuspendEntitlementRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the entitlement to suspend.
    * Name uses the format:
@@ -80,7 +60,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -89,15 +68,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the entitlement to suspend.
    * Name uses the format:
@@ -105,15 +83,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -124,11 +103,10 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REQUEST_ID_FIELD_NUMBER = 3; private volatile java.lang.Object requestId_; /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -139,7 +117,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -148,18 +125,18 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -170,15 +147,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -187,7 +165,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,7 +176,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -229,16 +207,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.SuspendEntitlementRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.SuspendEntitlementRequest other = - (com.google.cloud.channel.v1.SuspendEntitlementRequest) obj; + com.google.cloud.channel.v1.SuspendEntitlementRequest other = (com.google.cloud.channel.v1.SuspendEntitlementRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -260,136 +239,130 @@ public int hashCode() { } public static com.google.cloud.channel.v1.SuspendEntitlementRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.SuspendEntitlementRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.SuspendEntitlementRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.SuspendEntitlementRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.SuspendEntitlementRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.SuspendEntitlementRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.SuspendEntitlementRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.SuspendEntitlementRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.SuspendEntitlementRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.SuspendEntitlementRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.SuspendEntitlementRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.SuspendEntitlementRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.SuspendEntitlementRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.SuspendEntitlementRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.SuspendEntitlementRequest prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.SuspendEntitlementRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Request message for [CloudChannelService.SuspendEntitlement][google.cloud.channel.v1.CloudChannelService.SuspendEntitlement].
+   * Request message for
+   * [CloudChannelService.SuspendEntitlement][google.cloud.channel.v1.CloudChannelService.SuspendEntitlement].
    * 
* * Protobuf type {@code google.cloud.channel.v1.SuspendEntitlementRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.SuspendEntitlementRequest) com.google.cloud.channel.v1.SuspendEntitlementRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.SuspendEntitlementRequest.class, - com.google.cloud.channel.v1.SuspendEntitlementRequest.Builder.class); + com.google.cloud.channel.v1.SuspendEntitlementRequest.class, com.google.cloud.channel.v1.SuspendEntitlementRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.SuspendEntitlementRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -401,9 +374,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_descriptor; } @java.lang.Override @@ -422,8 +395,7 @@ public com.google.cloud.channel.v1.SuspendEntitlementRequest build() { @java.lang.Override public com.google.cloud.channel.v1.SuspendEntitlementRequest buildPartial() { - com.google.cloud.channel.v1.SuspendEntitlementRequest result = - new com.google.cloud.channel.v1.SuspendEntitlementRequest(this); + com.google.cloud.channel.v1.SuspendEntitlementRequest result = new com.google.cloud.channel.v1.SuspendEntitlementRequest(this); result.name_ = name_; result.requestId_ = requestId_; onBuilt(); @@ -434,39 +406,38 @@ public com.google.cloud.channel.v1.SuspendEntitlementRequest 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.cloud.channel.v1.SuspendEntitlementRequest) { - return mergeFrom((com.google.cloud.channel.v1.SuspendEntitlementRequest) other); + return mergeFrom((com.google.cloud.channel.v1.SuspendEntitlementRequest)other); } else { super.mergeFrom(other); return this; @@ -474,8 +445,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.SuspendEntitlementRequest other) { - if (other == com.google.cloud.channel.v1.SuspendEntitlementRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.SuspendEntitlementRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -510,25 +480,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 26: - { - requestId_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 26: { + requestId_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -541,8 +508,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the entitlement to suspend.
      * Name uses the format:
@@ -550,13 +515,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -565,8 +530,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the entitlement to suspend.
      * Name uses the format:
@@ -574,14 +537,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -589,8 +553,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the entitlement to suspend.
      * Name uses the format:
@@ -598,22 +560,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 entitlement to suspend.
      * Name uses the format:
@@ -621,18 +581,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the entitlement to suspend.
      * Name uses the format:
@@ -640,16 +597,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -657,11 +614,10 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -672,13 +628,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -687,11 +643,10 @@ public java.lang.String getRequestId() { } } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -702,14 +657,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -717,11 +673,10 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -732,25 +687,24 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -761,21 +715,19 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -786,23 +738,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -812,12 +764,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.SuspendEntitlementRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.SuspendEntitlementRequest) private static final com.google.cloud.channel.v1.SuspendEntitlementRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.SuspendEntitlementRequest(); } @@ -826,27 +778,27 @@ public static com.google.cloud.channel.v1.SuspendEntitlementRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SuspendEntitlementRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SuspendEntitlementRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -861,4 +813,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.channel.v1.SuspendEntitlementRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequestOrBuilder.java similarity index 69% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequestOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequestOrBuilder.java index f8d00333a114..135ed7644ac9 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequestOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequestOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface SuspendEntitlementRequestOrBuilder - extends +public interface SuspendEntitlementRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.SuspendEntitlementRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the entitlement to suspend.
    * Name uses the format:
@@ -33,13 +15,10 @@ public interface SuspendEntitlementRequestOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the entitlement to suspend.
    * Name uses the format:
@@ -47,17 +26,16 @@ public interface SuspendEntitlementRequestOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -68,16 +46,14 @@ public interface SuspendEntitlementRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -88,8 +64,8 @@ public interface SuspendEntitlementRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibility.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibility.java similarity index 68% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibility.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibility.java index 1d15eaee4031..f71b2b7202d7 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibility.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibility.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/cloud/channel/v1/entitlements.proto package com.google.cloud.channel.v1; /** - * - * *
  * Specifies transfer eligibility of a SKU.
  * 
* * Protobuf type {@code google.cloud.channel.v1.TransferEligibility} */ -public final class TransferEligibility extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TransferEligibility extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.TransferEligibility) TransferEligibilityOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TransferEligibility.newBuilder() to construct. private TransferEligibility(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TransferEligibility() { description_ = ""; ineligibilityReason_ = 0; @@ -44,43 +26,39 @@ private TransferEligibility() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TransferEligibility(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_TransferEligibility_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_TransferEligibility_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_TransferEligibility_fieldAccessorTable + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_TransferEligibility_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.TransferEligibility.class, - com.google.cloud.channel.v1.TransferEligibility.Builder.class); + com.google.cloud.channel.v1.TransferEligibility.class, com.google.cloud.channel.v1.TransferEligibility.Builder.class); } /** - * - * *
    * Reason of ineligibility.
    * 
* * Protobuf enum {@code google.cloud.channel.v1.TransferEligibility.Reason} */ - public enum Reason implements com.google.protobuf.ProtocolMessageEnum { + public enum Reason + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not used.
      * 
@@ -89,8 +67,6 @@ public enum Reason implements com.google.protobuf.ProtocolMessageEnum { */ REASON_UNSPECIFIED(0), /** - * - * *
      * Reseller needs to accept TOS before transferring the SKU.
      * 
@@ -99,8 +75,6 @@ public enum Reason implements com.google.protobuf.ProtocolMessageEnum { */ PENDING_TOS_ACCEPTANCE(1), /** - * - * *
      * Reseller not eligible to sell the SKU.
      * 
@@ -109,8 +83,6 @@ public enum Reason implements com.google.protobuf.ProtocolMessageEnum { */ SKU_NOT_ELIGIBLE(2), /** - * - * *
      * SKU subscription is suspended
      * 
@@ -122,8 +94,6 @@ public enum Reason implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Not used.
      * 
@@ -132,8 +102,6 @@ public enum Reason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int REASON_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Reseller needs to accept TOS before transferring the SKU.
      * 
@@ -142,8 +110,6 @@ public enum Reason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PENDING_TOS_ACCEPTANCE_VALUE = 1; /** - * - * *
      * Reseller not eligible to sell the SKU.
      * 
@@ -152,8 +118,6 @@ public enum Reason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SKU_NOT_ELIGIBLE_VALUE = 2; /** - * - * *
      * SKU subscription is suspended
      * 
@@ -162,6 +126,7 @@ public enum Reason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SKU_SUSPENDED_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -186,51 +151,50 @@ public static Reason valueOf(int value) { */ public static Reason forNumber(int value) { switch (value) { - case 0: - return REASON_UNSPECIFIED; - case 1: - return PENDING_TOS_ACCEPTANCE; - case 2: - return SKU_NOT_ELIGIBLE; - case 3: - return SKU_SUSPENDED; - default: - return null; + case 0: return REASON_UNSPECIFIED; + case 1: return PENDING_TOS_ACCEPTANCE; + case 2: return SKU_NOT_ELIGIBLE; + case 3: return SKU_SUSPENDED; + 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< + Reason> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Reason findValueByNumber(int number) { + return Reason.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Reason findValueByNumber(int number) { - return Reason.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.cloud.channel.v1.TransferEligibility.getDescriptor().getEnumTypes().get(0); } private static final Reason[] VALUES = values(); - public static Reason valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Reason 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; @@ -250,14 +214,11 @@ private Reason(int value) { public static final int IS_ELIGIBLE_FIELD_NUMBER = 1; private boolean isEligible_; /** - * - * *
    * Whether reseller is eligible to transfer the SKU.
    * 
* * bool is_eligible = 1; - * * @return The isEligible. */ @java.lang.Override @@ -268,14 +229,11 @@ public boolean getIsEligible() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
    * Localized description if reseller is not eligible to transfer the SKU.
    * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -284,29 +242,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; } } /** - * - * *
    * Localized description if reseller is not eligible to transfer the SKU.
    * 
* * string description = 2; - * * @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 { @@ -317,43 +275,31 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int INELIGIBILITY_REASON_FIELD_NUMBER = 3; private int ineligibilityReason_; /** - * - * *
    * Specified the reason for ineligibility.
    * 
* * .google.cloud.channel.v1.TransferEligibility.Reason ineligibility_reason = 3; - * * @return The enum numeric value on the wire for ineligibilityReason. */ - @java.lang.Override - public int getIneligibilityReasonValue() { + @java.lang.Override public int getIneligibilityReasonValue() { return ineligibilityReason_; } /** - * - * *
    * Specified the reason for ineligibility.
    * 
* * .google.cloud.channel.v1.TransferEligibility.Reason ineligibility_reason = 3; - * * @return The ineligibilityReason. */ - @java.lang.Override - public com.google.cloud.channel.v1.TransferEligibility.Reason getIneligibilityReason() { + @java.lang.Override public com.google.cloud.channel.v1.TransferEligibility.Reason getIneligibilityReason() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.TransferEligibility.Reason result = - com.google.cloud.channel.v1.TransferEligibility.Reason.valueOf(ineligibilityReason_); - return result == null - ? com.google.cloud.channel.v1.TransferEligibility.Reason.UNRECOGNIZED - : result; + com.google.cloud.channel.v1.TransferEligibility.Reason result = com.google.cloud.channel.v1.TransferEligibility.Reason.valueOf(ineligibilityReason_); + return result == null ? com.google.cloud.channel.v1.TransferEligibility.Reason.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -365,15 +311,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 (isEligible_ != false) { output.writeBool(1, isEligible_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_); } - if (ineligibilityReason_ - != com.google.cloud.channel.v1.TransferEligibility.Reason.REASON_UNSPECIFIED.getNumber()) { + if (ineligibilityReason_ != com.google.cloud.channel.v1.TransferEligibility.Reason.REASON_UNSPECIFIED.getNumber()) { output.writeEnum(3, ineligibilityReason_); } getUnknownFields().writeTo(output); @@ -386,14 +332,15 @@ public int getSerializedSize() { size = 0; if (isEligible_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, isEligible_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, isEligible_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } - if (ineligibilityReason_ - != com.google.cloud.channel.v1.TransferEligibility.Reason.REASON_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, ineligibilityReason_); + if (ineligibilityReason_ != com.google.cloud.channel.v1.TransferEligibility.Reason.REASON_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, ineligibilityReason_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -403,16 +350,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.cloud.channel.v1.TransferEligibility)) { return super.equals(obj); } - com.google.cloud.channel.v1.TransferEligibility other = - (com.google.cloud.channel.v1.TransferEligibility) obj; + com.google.cloud.channel.v1.TransferEligibility other = (com.google.cloud.channel.v1.TransferEligibility) obj; - if (getIsEligible() != other.getIsEligible()) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (getIsEligible() + != other.getIsEligible()) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (ineligibilityReason_ != other.ineligibilityReason_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -426,7 +374,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + IS_ELIGIBLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsEligible()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsEligible()); hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); hash = (37 * hash) + INELIGIBILITY_REASON_FIELD_NUMBER; @@ -436,136 +385,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.TransferEligibility parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.TransferEligibility parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.TransferEligibility parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.TransferEligibility parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.TransferEligibility parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.TransferEligibility parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.TransferEligibility parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.TransferEligibility 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.cloud.channel.v1.TransferEligibility parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.TransferEligibility parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.TransferEligibility parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.TransferEligibility parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.TransferEligibility parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.TransferEligibility parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.TransferEligibility prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifies transfer eligibility of a SKU.
    * 
* * Protobuf type {@code google.cloud.channel.v1.TransferEligibility} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.TransferEligibility) com.google.cloud.channel.v1.TransferEligibilityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_TransferEligibility_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_TransferEligibility_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_TransferEligibility_fieldAccessorTable + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_TransferEligibility_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.TransferEligibility.class, - com.google.cloud.channel.v1.TransferEligibility.Builder.class); + com.google.cloud.channel.v1.TransferEligibility.class, com.google.cloud.channel.v1.TransferEligibility.Builder.class); } // Construct using com.google.cloud.channel.v1.TransferEligibility.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -579,9 +522,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_TransferEligibility_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_TransferEligibility_descriptor; } @java.lang.Override @@ -600,8 +543,7 @@ public com.google.cloud.channel.v1.TransferEligibility build() { @java.lang.Override public com.google.cloud.channel.v1.TransferEligibility buildPartial() { - com.google.cloud.channel.v1.TransferEligibility result = - new com.google.cloud.channel.v1.TransferEligibility(this); + com.google.cloud.channel.v1.TransferEligibility result = new com.google.cloud.channel.v1.TransferEligibility(this); result.isEligible_ = isEligible_; result.description_ = description_; result.ineligibilityReason_ = ineligibilityReason_; @@ -613,39 +555,38 @@ public com.google.cloud.channel.v1.TransferEligibility 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.cloud.channel.v1.TransferEligibility) { - return mergeFrom((com.google.cloud.channel.v1.TransferEligibility) other); + return mergeFrom((com.google.cloud.channel.v1.TransferEligibility)other); } else { super.mergeFrom(other); return this; @@ -653,8 +594,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.TransferEligibility other) { - if (other == com.google.cloud.channel.v1.TransferEligibility.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.TransferEligibility.getDefaultInstance()) return this; if (other.getIsEligible() != false) { setIsEligible(other.getIsEligible()); } @@ -691,31 +631,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - isEligible_ = input.readBool(); - - break; - } // case 8 - case 18: - { - description_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: - { - ineligibilityReason_ = input.readEnum(); - - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + isEligible_ = input.readBool(); + + break; + } // case 8 + case 18: { + description_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: { + ineligibilityReason_ = input.readEnum(); + + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -726,16 +662,13 @@ public Builder mergeFrom( return this; } - private boolean isEligible_; + private boolean isEligible_ ; /** - * - * *
      * Whether reseller is eligible to transfer the SKU.
      * 
* * bool is_eligible = 1; - * * @return The isEligible. */ @java.lang.Override @@ -743,36 +676,30 @@ public boolean getIsEligible() { return isEligible_; } /** - * - * *
      * Whether reseller is eligible to transfer the SKU.
      * 
* * bool is_eligible = 1; - * * @param value The isEligible to set. * @return This builder for chaining. */ public Builder setIsEligible(boolean value) { - + isEligible_ = value; onChanged(); return this; } /** - * - * *
      * Whether reseller is eligible to transfer the SKU.
      * 
* * bool is_eligible = 1; - * * @return This builder for chaining. */ public Builder clearIsEligible() { - + isEligible_ = false; onChanged(); return this; @@ -780,20 +707,18 @@ public Builder clearIsEligible() { private java.lang.Object description_ = ""; /** - * - * *
      * Localized description if reseller is not eligible to transfer the SKU.
      * 
* * string description = 2; - * * @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; @@ -802,21 +727,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Localized description if reseller is not eligible to transfer the SKU.
      * 
* * string description = 2; - * * @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 { @@ -824,61 +748,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Localized description if reseller is not eligible to transfer the SKU.
      * 
* * string description = 2; - * * @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; } /** - * - * *
      * Localized description if reseller is not eligible to transfer the SKU.
      * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Localized description if reseller is not eligible to transfer the SKU.
      * 
* * string description = 2; - * * @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; @@ -886,100 +803,80 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private int ineligibilityReason_ = 0; /** - * - * *
      * Specified the reason for ineligibility.
      * 
* * .google.cloud.channel.v1.TransferEligibility.Reason ineligibility_reason = 3; - * * @return The enum numeric value on the wire for ineligibilityReason. */ - @java.lang.Override - public int getIneligibilityReasonValue() { + @java.lang.Override public int getIneligibilityReasonValue() { return ineligibilityReason_; } /** - * - * *
      * Specified the reason for ineligibility.
      * 
* * .google.cloud.channel.v1.TransferEligibility.Reason ineligibility_reason = 3; - * * @param value The enum numeric value on the wire for ineligibilityReason to set. * @return This builder for chaining. */ public Builder setIneligibilityReasonValue(int value) { - + ineligibilityReason_ = value; onChanged(); return this; } /** - * - * *
      * Specified the reason for ineligibility.
      * 
* * .google.cloud.channel.v1.TransferEligibility.Reason ineligibility_reason = 3; - * * @return The ineligibilityReason. */ @java.lang.Override public com.google.cloud.channel.v1.TransferEligibility.Reason getIneligibilityReason() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.TransferEligibility.Reason result = - com.google.cloud.channel.v1.TransferEligibility.Reason.valueOf(ineligibilityReason_); - return result == null - ? com.google.cloud.channel.v1.TransferEligibility.Reason.UNRECOGNIZED - : result; + com.google.cloud.channel.v1.TransferEligibility.Reason result = com.google.cloud.channel.v1.TransferEligibility.Reason.valueOf(ineligibilityReason_); + return result == null ? com.google.cloud.channel.v1.TransferEligibility.Reason.UNRECOGNIZED : result; } /** - * - * *
      * Specified the reason for ineligibility.
      * 
* * .google.cloud.channel.v1.TransferEligibility.Reason ineligibility_reason = 3; - * * @param value The ineligibilityReason to set. * @return This builder for chaining. */ - public Builder setIneligibilityReason( - com.google.cloud.channel.v1.TransferEligibility.Reason value) { + public Builder setIneligibilityReason(com.google.cloud.channel.v1.TransferEligibility.Reason value) { if (value == null) { throw new NullPointerException(); } - + ineligibilityReason_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Specified the reason for ineligibility.
      * 
* * .google.cloud.channel.v1.TransferEligibility.Reason ineligibility_reason = 3; - * * @return This builder for chaining. */ public Builder clearIneligibilityReason() { - + ineligibilityReason_ = 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); } @@ -989,12 +886,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.TransferEligibility) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.TransferEligibility) private static final com.google.cloud.channel.v1.TransferEligibility DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.TransferEligibility(); } @@ -1003,27 +900,27 @@ public static com.google.cloud.channel.v1.TransferEligibility getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferEligibility parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferEligibility parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1038,4 +935,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.TransferEligibility getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibilityOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibilityOrBuilder.java similarity index 65% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibilityOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibilityOrBuilder.java index f1967b64cf06..006aa8ceb5c0 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibilityOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibilityOrBuilder.java @@ -1,87 +1,57 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/entitlements.proto package com.google.cloud.channel.v1; -public interface TransferEligibilityOrBuilder - extends +public interface TransferEligibilityOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.TransferEligibility) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Whether reseller is eligible to transfer the SKU.
    * 
* * bool is_eligible = 1; - * * @return The isEligible. */ boolean getIsEligible(); /** - * - * *
    * Localized description if reseller is not eligible to transfer the SKU.
    * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Localized description if reseller is not eligible to transfer the SKU.
    * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Specified the reason for ineligibility.
    * 
* * .google.cloud.channel.v1.TransferEligibility.Reason ineligibility_reason = 3; - * * @return The enum numeric value on the wire for ineligibilityReason. */ int getIneligibilityReasonValue(); /** - * - * *
    * Specified the reason for ineligibility.
    * 
* * .google.cloud.channel.v1.TransferEligibility.Reason ineligibility_reason = 3; - * * @return The ineligibilityReason. */ com.google.cloud.channel.v1.TransferEligibility.Reason getIneligibilityReason(); diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequest.java similarity index 67% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequest.java index 00624db43b00..3f55f01d4789 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequest.java @@ -1,42 +1,25 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Request message for [CloudChannelService.TransferEntitlements][google.cloud.channel.v1.CloudChannelService.TransferEntitlements].
+ * Request message for
+ * [CloudChannelService.TransferEntitlements][google.cloud.channel.v1.CloudChannelService.TransferEntitlements].
  * 
* * Protobuf type {@code google.cloud.channel.v1.TransferEntitlementsRequest} */ -public final class TransferEntitlementsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TransferEntitlementsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.TransferEntitlementsRequest) TransferEntitlementsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TransferEntitlementsRequest.newBuilder() to construct. private TransferEntitlementsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TransferEntitlementsRequest() { parent_ = ""; entitlements_ = java.util.Collections.emptyList(); @@ -46,43 +29,39 @@ private TransferEntitlementsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TransferEntitlementsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.TransferEntitlementsRequest.class, - com.google.cloud.channel.v1.TransferEntitlementsRequest.Builder.class); + com.google.cloud.channel.v1.TransferEntitlementsRequest.class, com.google.cloud.channel.v1.TransferEntitlementsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
-   * Required. The resource name of the reseller's customer account that will receive
-   * transferred entitlements.
-   * Parent uses the format: accounts/{account_id}/customers/{customer_id}
+   * Required. The resource name of the reseller's customer account that will
+   * receive transferred entitlements. Parent uses the format:
+   * accounts/{account_id}/customers/{customer_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -91,31 +70,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
-   * Required. The resource name of the reseller's customer account that will receive
-   * transferred entitlements.
-   * Parent uses the format: accounts/{account_id}/customers/{customer_id}
+   * Required. The resource name of the reseller's customer account that will
+   * receive transferred entitlements. Parent uses the format:
+   * accounts/{account_id}/customers/{customer_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -126,87 +105,66 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int ENTITLEMENTS_FIELD_NUMBER = 2; private java.util.List entitlements_; /** - * - * *
    * Required. The new entitlements to create or transfer.
    * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getEntitlementsList() { return entitlements_; } /** - * - * *
    * Required. The new entitlements to create or transfer.
    * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getEntitlementsOrBuilderList() { return entitlements_; } /** - * - * *
    * Required. The new entitlements to create or transfer.
    * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getEntitlementsCount() { return entitlements_.size(); } /** - * - * *
    * Required. The new entitlements to create or transfer.
    * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.channel.v1.Entitlement getEntitlements(int index) { return entitlements_.get(index); } /** - * - * *
    * Required. The new entitlements to create or transfer.
    * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder(int index) { + public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder( + int index) { return entitlements_.get(index); } public static final int AUTH_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object authToken_; /** - * - * *
    * The super admin of the resold customer generates this token to
    * authorize a reseller to access their Cloud Identity and purchase
@@ -215,7 +173,6 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder
    * 
* * string auth_token = 4; - * * @return The authToken. */ @java.lang.Override @@ -224,15 +181,14 @@ public java.lang.String getAuthToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authToken_ = s; return s; } } /** - * - * *
    * The super admin of the resold customer generates this token to
    * authorize a reseller to access their Cloud Identity and purchase
@@ -241,15 +197,16 @@ public java.lang.String getAuthToken() {
    * 
* * string auth_token = 4; - * * @return The bytes for authToken. */ @java.lang.Override - public com.google.protobuf.ByteString getAuthTokenBytes() { + public com.google.protobuf.ByteString + getAuthTokenBytes() { java.lang.Object ref = authToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); authToken_ = b; return b; } else { @@ -260,11 +217,10 @@ public com.google.protobuf.ByteString getAuthTokenBytes() { public static final int REQUEST_ID_FIELD_NUMBER = 6; private volatile java.lang.Object requestId_; /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -275,7 +231,6 @@ public com.google.protobuf.ByteString getAuthTokenBytes() {
    * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -284,18 +239,18 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -306,15 +261,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -323,7 +279,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -335,7 +290,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -361,7 +317,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } for (int i = 0; i < entitlements_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, entitlements_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, entitlements_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, authToken_); @@ -377,18 +334,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.TransferEntitlementsRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.TransferEntitlementsRequest other = - (com.google.cloud.channel.v1.TransferEntitlementsRequest) obj; + com.google.cloud.channel.v1.TransferEntitlementsRequest other = (com.google.cloud.channel.v1.TransferEntitlementsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getEntitlementsList().equals(other.getEntitlementsList())) return false; - if (!getAuthToken().equals(other.getAuthToken())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getEntitlementsList() + .equals(other.getEntitlementsList())) return false; + if (!getAuthToken() + .equals(other.getAuthToken())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -416,136 +376,130 @@ public int hashCode() { } public static com.google.cloud.channel.v1.TransferEntitlementsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.TransferEntitlementsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.TransferEntitlementsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.TransferEntitlementsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.TransferEntitlementsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.TransferEntitlementsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.TransferEntitlementsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.TransferEntitlementsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.TransferEntitlementsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.TransferEntitlementsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.TransferEntitlementsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.TransferEntitlementsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.TransferEntitlementsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.TransferEntitlementsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.TransferEntitlementsRequest prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.TransferEntitlementsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Request message for [CloudChannelService.TransferEntitlements][google.cloud.channel.v1.CloudChannelService.TransferEntitlements].
+   * Request message for
+   * [CloudChannelService.TransferEntitlements][google.cloud.channel.v1.CloudChannelService.TransferEntitlements].
    * 
* * Protobuf type {@code google.cloud.channel.v1.TransferEntitlementsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.TransferEntitlementsRequest) com.google.cloud.channel.v1.TransferEntitlementsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.TransferEntitlementsRequest.class, - com.google.cloud.channel.v1.TransferEntitlementsRequest.Builder.class); + com.google.cloud.channel.v1.TransferEntitlementsRequest.class, com.google.cloud.channel.v1.TransferEntitlementsRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.TransferEntitlementsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -566,9 +520,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_descriptor; } @java.lang.Override @@ -587,8 +541,7 @@ public com.google.cloud.channel.v1.TransferEntitlementsRequest build() { @java.lang.Override public com.google.cloud.channel.v1.TransferEntitlementsRequest buildPartial() { - com.google.cloud.channel.v1.TransferEntitlementsRequest result = - new com.google.cloud.channel.v1.TransferEntitlementsRequest(this); + com.google.cloud.channel.v1.TransferEntitlementsRequest result = new com.google.cloud.channel.v1.TransferEntitlementsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (entitlementsBuilder_ == null) { @@ -610,39 +563,38 @@ public com.google.cloud.channel.v1.TransferEntitlementsRequest 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.cloud.channel.v1.TransferEntitlementsRequest) { - return mergeFrom((com.google.cloud.channel.v1.TransferEntitlementsRequest) other); + return mergeFrom((com.google.cloud.channel.v1.TransferEntitlementsRequest)other); } else { super.mergeFrom(other); return this; @@ -650,8 +602,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.TransferEntitlementsRequest other) { - if (other == com.google.cloud.channel.v1.TransferEntitlementsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.TransferEntitlementsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -674,10 +625,9 @@ public Builder mergeFrom(com.google.cloud.channel.v1.TransferEntitlementsRequest entitlementsBuilder_ = null; entitlements_ = other.entitlements_; bitField0_ = (bitField0_ & ~0x00000001); - entitlementsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEntitlementsFieldBuilder() - : null; + entitlementsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEntitlementsFieldBuilder() : null; } else { entitlementsBuilder_.addAllMessages(other.entitlements_); } @@ -717,44 +667,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - com.google.cloud.channel.v1.Entitlement m = - input.readMessage( - com.google.cloud.channel.v1.Entitlement.parser(), extensionRegistry); - if (entitlementsBuilder_ == null) { - ensureEntitlementsIsMutable(); - entitlements_.add(m); - } else { - entitlementsBuilder_.addMessage(m); - } - break; - } // case 18 - case 34: - { - authToken_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + com.google.cloud.channel.v1.Entitlement m = + input.readMessage( + com.google.cloud.channel.v1.Entitlement.parser(), + extensionRegistry); + if (entitlementsBuilder_ == null) { + ensureEntitlementsIsMutable(); + entitlements_.add(m); + } else { + entitlementsBuilder_.addMessage(m); + } + break; + } // case 18 + case 34: { + authToken_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 50: - { - requestId_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 50: { + requestId_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -764,27 +710,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
-     * Required. The resource name of the reseller's customer account that will receive
-     * transferred entitlements.
-     * Parent uses the format: accounts/{account_id}/customers/{customer_id}
+     * Required. The resource name of the reseller's customer account that will
+     * receive transferred entitlements. Parent uses the format:
+     * accounts/{account_id}/customers/{customer_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -793,23 +736,22 @@ public java.lang.String getParent() { } } /** - * - * *
-     * Required. The resource name of the reseller's customer account that will receive
-     * transferred entitlements.
-     * Parent uses the format: accounts/{account_id}/customers/{customer_id}
+     * Required. The resource name of the reseller's customer account that will
+     * receive transferred entitlements. Parent uses the format:
+     * accounts/{account_id}/customers/{customer_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -817,99 +759,83 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
-     * Required. The resource name of the reseller's customer account that will receive
-     * transferred entitlements.
-     * Parent uses the format: accounts/{account_id}/customers/{customer_id}
+     * Required. The resource name of the reseller's customer account that will
+     * receive transferred entitlements. Parent uses the format:
+     * accounts/{account_id}/customers/{customer_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 reseller's customer account that will receive
-     * transferred entitlements.
-     * Parent uses the format: accounts/{account_id}/customers/{customer_id}
+     * Required. The resource name of the reseller's customer account that will
+     * receive transferred entitlements. Parent uses the format:
+     * accounts/{account_id}/customers/{customer_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
-     * Required. The resource name of the reseller's customer account that will receive
-     * transferred entitlements.
-     * Parent uses the format: accounts/{account_id}/customers/{customer_id}
+     * Required. The resource name of the reseller's customer account that will
+     * receive transferred entitlements. Parent uses the format:
+     * accounts/{account_id}/customers/{customer_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 entitlements_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureEntitlementsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - entitlements_ = - new java.util.ArrayList(entitlements_); + entitlements_ = new java.util.ArrayList(entitlements_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Entitlement, - com.google.cloud.channel.v1.Entitlement.Builder, - com.google.cloud.channel.v1.EntitlementOrBuilder> - entitlementsBuilder_; + com.google.cloud.channel.v1.Entitlement, com.google.cloud.channel.v1.Entitlement.Builder, com.google.cloud.channel.v1.EntitlementOrBuilder> entitlementsBuilder_; /** - * - * *
      * Required. The new entitlements to create or transfer.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getEntitlementsList() { if (entitlementsBuilder_ == null) { @@ -919,15 +845,11 @@ public java.util.List getEntitlementsLi } } /** - * - * *
      * Required. The new entitlements to create or transfer.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ public int getEntitlementsCount() { if (entitlementsBuilder_ == null) { @@ -937,15 +859,11 @@ public int getEntitlementsCount() { } } /** - * - * *
      * Required. The new entitlements to create or transfer.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.channel.v1.Entitlement getEntitlements(int index) { if (entitlementsBuilder_ == null) { @@ -955,17 +873,14 @@ public com.google.cloud.channel.v1.Entitlement getEntitlements(int index) { } } /** - * - * *
      * Required. The new entitlements to create or transfer.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setEntitlements(int index, com.google.cloud.channel.v1.Entitlement value) { + public Builder setEntitlements( + int index, com.google.cloud.channel.v1.Entitlement value) { if (entitlementsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -979,15 +894,11 @@ public Builder setEntitlements(int index, com.google.cloud.channel.v1.Entitlemen return this; } /** - * - * *
      * Required. The new entitlements to create or transfer.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setEntitlements( int index, com.google.cloud.channel.v1.Entitlement.Builder builderForValue) { @@ -1001,15 +912,11 @@ public Builder setEntitlements( return this; } /** - * - * *
      * Required. The new entitlements to create or transfer.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addEntitlements(com.google.cloud.channel.v1.Entitlement value) { if (entitlementsBuilder_ == null) { @@ -1025,17 +932,14 @@ public Builder addEntitlements(com.google.cloud.channel.v1.Entitlement value) { return this; } /** - * - * *
      * Required. The new entitlements to create or transfer.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addEntitlements(int index, com.google.cloud.channel.v1.Entitlement value) { + public Builder addEntitlements( + int index, com.google.cloud.channel.v1.Entitlement value) { if (entitlementsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1049,15 +953,11 @@ public Builder addEntitlements(int index, com.google.cloud.channel.v1.Entitlemen return this; } /** - * - * *
      * Required. The new entitlements to create or transfer.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addEntitlements( com.google.cloud.channel.v1.Entitlement.Builder builderForValue) { @@ -1071,15 +971,11 @@ public Builder addEntitlements( return this; } /** - * - * *
      * Required. The new entitlements to create or transfer.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addEntitlements( int index, com.google.cloud.channel.v1.Entitlement.Builder builderForValue) { @@ -1093,21 +989,18 @@ public Builder addEntitlements( return this; } /** - * - * *
      * Required. The new entitlements to create or transfer.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllEntitlements( java.lang.Iterable values) { if (entitlementsBuilder_ == null) { ensureEntitlementsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entitlements_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, entitlements_); onChanged(); } else { entitlementsBuilder_.addAllMessages(values); @@ -1115,15 +1008,11 @@ public Builder addAllEntitlements( return this; } /** - * - * *
      * Required. The new entitlements to create or transfer.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearEntitlements() { if (entitlementsBuilder_ == null) { @@ -1136,15 +1025,11 @@ public Builder clearEntitlements() { return this; } /** - * - * *
      * Required. The new entitlements to create or transfer.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeEntitlements(int index) { if (entitlementsBuilder_ == null) { @@ -1157,50 +1042,39 @@ public Builder removeEntitlements(int index) { return this; } /** - * - * *
      * Required. The new entitlements to create or transfer.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.channel.v1.Entitlement.Builder getEntitlementsBuilder(int index) { + public com.google.cloud.channel.v1.Entitlement.Builder getEntitlementsBuilder( + int index) { return getEntitlementsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. The new entitlements to create or transfer.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder(int index) { + public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder( + int index) { if (entitlementsBuilder_ == null) { - return entitlements_.get(index); - } else { + return entitlements_.get(index); } else { return entitlementsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. The new entitlements to create or transfer.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getEntitlementsOrBuilderList() { + public java.util.List + getEntitlementsOrBuilderList() { if (entitlementsBuilder_ != null) { return entitlementsBuilder_.getMessageOrBuilderList(); } else { @@ -1208,63 +1082,49 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder } } /** - * - * *
      * Required. The new entitlements to create or transfer.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder() { - return getEntitlementsFieldBuilder() - .addBuilder(com.google.cloud.channel.v1.Entitlement.getDefaultInstance()); + return getEntitlementsFieldBuilder().addBuilder( + com.google.cloud.channel.v1.Entitlement.getDefaultInstance()); } /** - * - * *
      * Required. The new entitlements to create or transfer.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder(int index) { - return getEntitlementsFieldBuilder() - .addBuilder(index, com.google.cloud.channel.v1.Entitlement.getDefaultInstance()); + public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder( + int index) { + return getEntitlementsFieldBuilder().addBuilder( + index, com.google.cloud.channel.v1.Entitlement.getDefaultInstance()); } /** - * - * *
      * Required. The new entitlements to create or transfer.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getEntitlementsBuilderList() { + public java.util.List + getEntitlementsBuilderList() { return getEntitlementsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Entitlement, - com.google.cloud.channel.v1.Entitlement.Builder, - com.google.cloud.channel.v1.EntitlementOrBuilder> + com.google.cloud.channel.v1.Entitlement, com.google.cloud.channel.v1.Entitlement.Builder, com.google.cloud.channel.v1.EntitlementOrBuilder> getEntitlementsFieldBuilder() { if (entitlementsBuilder_ == null) { - entitlementsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Entitlement, - com.google.cloud.channel.v1.Entitlement.Builder, - com.google.cloud.channel.v1.EntitlementOrBuilder>( - entitlements_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + entitlementsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.Entitlement, com.google.cloud.channel.v1.Entitlement.Builder, com.google.cloud.channel.v1.EntitlementOrBuilder>( + entitlements_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); entitlements_ = null; } return entitlementsBuilder_; @@ -1272,8 +1132,6 @@ public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder(in private java.lang.Object authToken_ = ""; /** - * - * *
      * The super admin of the resold customer generates this token to
      * authorize a reseller to access their Cloud Identity and purchase
@@ -1282,13 +1140,13 @@ public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder(in
      * 
* * string auth_token = 4; - * * @return The authToken. */ public java.lang.String getAuthToken() { java.lang.Object ref = authToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authToken_ = s; return s; @@ -1297,8 +1155,6 @@ public java.lang.String getAuthToken() { } } /** - * - * *
      * The super admin of the resold customer generates this token to
      * authorize a reseller to access their Cloud Identity and purchase
@@ -1307,14 +1163,15 @@ public java.lang.String getAuthToken() {
      * 
* * string auth_token = 4; - * * @return The bytes for authToken. */ - public com.google.protobuf.ByteString getAuthTokenBytes() { + public com.google.protobuf.ByteString + getAuthTokenBytes() { java.lang.Object ref = authToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); authToken_ = b; return b; } else { @@ -1322,8 +1179,6 @@ public com.google.protobuf.ByteString getAuthTokenBytes() { } } /** - * - * *
      * The super admin of the resold customer generates this token to
      * authorize a reseller to access their Cloud Identity and purchase
@@ -1332,22 +1187,20 @@ public com.google.protobuf.ByteString getAuthTokenBytes() {
      * 
* * string auth_token = 4; - * * @param value The authToken to set. * @return This builder for chaining. */ - public Builder setAuthToken(java.lang.String value) { + public Builder setAuthToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + authToken_ = value; onChanged(); return this; } /** - * - * *
      * The super admin of the resold customer generates this token to
      * authorize a reseller to access their Cloud Identity and purchase
@@ -1356,18 +1209,15 @@ public Builder setAuthToken(java.lang.String value) {
      * 
* * string auth_token = 4; - * * @return This builder for chaining. */ public Builder clearAuthToken() { - + authToken_ = getDefaultInstance().getAuthToken(); onChanged(); return this; } /** - * - * *
      * The super admin of the resold customer generates this token to
      * authorize a reseller to access their Cloud Identity and purchase
@@ -1376,16 +1226,16 @@ public Builder clearAuthToken() {
      * 
* * string auth_token = 4; - * * @param value The bytes for authToken to set. * @return This builder for chaining. */ - public Builder setAuthTokenBytes(com.google.protobuf.ByteString value) { + public Builder setAuthTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + authToken_ = value; onChanged(); return this; @@ -1393,11 +1243,10 @@ public Builder setAuthTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -1408,13 +1257,13 @@ public Builder setAuthTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1423,11 +1272,10 @@ public java.lang.String getRequestId() { } } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -1438,14 +1286,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1453,11 +1302,10 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -1468,25 +1316,24 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -1497,21 +1344,19 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -1522,23 +1367,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1548,12 +1393,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.TransferEntitlementsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.TransferEntitlementsRequest) private static final com.google.cloud.channel.v1.TransferEntitlementsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.TransferEntitlementsRequest(); } @@ -1562,27 +1407,27 @@ public static com.google.cloud.channel.v1.TransferEntitlementsRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferEntitlementsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferEntitlementsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1597,4 +1442,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.channel.v1.TransferEntitlementsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequestOrBuilder.java similarity index 62% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequestOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequestOrBuilder.java index 0ff0ef1ac0e0..d8564e318731 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequestOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequestOrBuilder.java @@ -1,122 +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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface TransferEntitlementsRequestOrBuilder - extends +public interface TransferEntitlementsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.TransferEntitlementsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
-   * Required. The resource name of the reseller's customer account that will receive
-   * transferred entitlements.
-   * Parent uses the format: accounts/{account_id}/customers/{customer_id}
+   * Required. The resource name of the reseller's customer account that will
+   * receive transferred entitlements. Parent uses the format:
+   * accounts/{account_id}/customers/{customer_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
-   * Required. The resource name of the reseller's customer account that will receive
-   * transferred entitlements.
-   * Parent uses the format: accounts/{account_id}/customers/{customer_id}
+   * Required. The resource name of the reseller's customer account that will
+   * receive transferred entitlements. Parent uses the format:
+   * accounts/{account_id}/customers/{customer_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The new entitlements to create or transfer.
    * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getEntitlementsList(); + java.util.List + getEntitlementsList(); /** - * - * *
    * Required. The new entitlements to create or transfer.
    * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.channel.v1.Entitlement getEntitlements(int index); /** - * - * *
    * Required. The new entitlements to create or transfer.
    * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ int getEntitlementsCount(); /** - * - * *
    * Required. The new entitlements to create or transfer.
    * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getEntitlementsOrBuilderList(); /** - * - * *
    * Required. The new entitlements to create or transfer.
    * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder(int index); + com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder( + int index); /** - * - * *
    * The super admin of the resold customer generates this token to
    * authorize a reseller to access their Cloud Identity and purchase
@@ -125,13 +84,10 @@ public interface TransferEntitlementsRequestOrBuilder
    * 
* * string auth_token = 4; - * * @return The authToken. */ java.lang.String getAuthToken(); /** - * - * *
    * The super admin of the resold customer generates this token to
    * authorize a reseller to access their Cloud Identity and purchase
@@ -140,17 +96,16 @@ public interface TransferEntitlementsRequestOrBuilder
    * 
* * string auth_token = 4; - * * @return The bytes for authToken. */ - com.google.protobuf.ByteString getAuthTokenBytes(); + com.google.protobuf.ByteString + getAuthTokenBytes(); /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -161,16 +116,14 @@ public interface TransferEntitlementsRequestOrBuilder
    * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -181,8 +134,8 @@ public interface TransferEntitlementsRequestOrBuilder
    * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponse.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponse.java similarity index 70% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponse.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponse.java index 79e451f98c14..40c9384ed2e3 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponse.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponse.java @@ -1,78 +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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Response message for [CloudChannelService.TransferEntitlements][google.cloud.channel.v1.CloudChannelService.TransferEntitlements].
+ * Response message for
+ * [CloudChannelService.TransferEntitlements][google.cloud.channel.v1.CloudChannelService.TransferEntitlements].
  * This is put in the response field of google.longrunning.Operation.
  * 
* * Protobuf type {@code google.cloud.channel.v1.TransferEntitlementsResponse} */ -public final class TransferEntitlementsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TransferEntitlementsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.TransferEntitlementsResponse) TransferEntitlementsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TransferEntitlementsResponse.newBuilder() to construct. private TransferEntitlementsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TransferEntitlementsResponse() { entitlements_ = 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 TransferEntitlementsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.TransferEntitlementsResponse.class, - com.google.cloud.channel.v1.TransferEntitlementsResponse.Builder.class); + com.google.cloud.channel.v1.TransferEntitlementsResponse.class, com.google.cloud.channel.v1.TransferEntitlementsResponse.Builder.class); } public static final int ENTITLEMENTS_FIELD_NUMBER = 1; private java.util.List entitlements_; /** - * - * *
    * The transferred entitlements.
    * 
@@ -84,8 +64,6 @@ public java.util.List getEntitlementsLi return entitlements_; } /** - * - * *
    * The transferred entitlements.
    * 
@@ -93,13 +71,11 @@ public java.util.List getEntitlementsLi * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ @java.lang.Override - public java.util.List + public java.util.List getEntitlementsOrBuilderList() { return entitlements_; } /** - * - * *
    * The transferred entitlements.
    * 
@@ -111,8 +87,6 @@ public int getEntitlementsCount() { return entitlements_.size(); } /** - * - * *
    * The transferred entitlements.
    * 
@@ -124,8 +98,6 @@ public com.google.cloud.channel.v1.Entitlement getEntitlements(int index) { return entitlements_.get(index); } /** - * - * *
    * The transferred entitlements.
    * 
@@ -133,12 +105,12 @@ public com.google.cloud.channel.v1.Entitlement getEntitlements(int index) { * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ @java.lang.Override - public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder(int index) { + public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder( + int index) { return entitlements_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -150,7 +122,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < entitlements_.size(); i++) { output.writeMessage(1, entitlements_.get(i)); } @@ -164,7 +137,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < entitlements_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, entitlements_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, entitlements_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -174,15 +148,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.TransferEntitlementsResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.TransferEntitlementsResponse other = - (com.google.cloud.channel.v1.TransferEntitlementsResponse) obj; + com.google.cloud.channel.v1.TransferEntitlementsResponse other = (com.google.cloud.channel.v1.TransferEntitlementsResponse) obj; - if (!getEntitlementsList().equals(other.getEntitlementsList())) return false; + if (!getEntitlementsList() + .equals(other.getEntitlementsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -204,137 +178,131 @@ public int hashCode() { } public static com.google.cloud.channel.v1.TransferEntitlementsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.TransferEntitlementsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.TransferEntitlementsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.TransferEntitlementsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.TransferEntitlementsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.TransferEntitlementsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.TransferEntitlementsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.TransferEntitlementsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.TransferEntitlementsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.TransferEntitlementsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.TransferEntitlementsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.TransferEntitlementsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.TransferEntitlementsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.TransferEntitlementsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.TransferEntitlementsResponse prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.TransferEntitlementsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [CloudChannelService.TransferEntitlements][google.cloud.channel.v1.CloudChannelService.TransferEntitlements].
+   * Response message for
+   * [CloudChannelService.TransferEntitlements][google.cloud.channel.v1.CloudChannelService.TransferEntitlements].
    * This is put in the response field of google.longrunning.Operation.
    * 
* * Protobuf type {@code google.cloud.channel.v1.TransferEntitlementsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.TransferEntitlementsResponse) com.google.cloud.channel.v1.TransferEntitlementsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.TransferEntitlementsResponse.class, - com.google.cloud.channel.v1.TransferEntitlementsResponse.Builder.class); + com.google.cloud.channel.v1.TransferEntitlementsResponse.class, com.google.cloud.channel.v1.TransferEntitlementsResponse.Builder.class); } // Construct using com.google.cloud.channel.v1.TransferEntitlementsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -349,9 +317,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_descriptor; } @java.lang.Override @@ -370,8 +338,7 @@ public com.google.cloud.channel.v1.TransferEntitlementsResponse build() { @java.lang.Override public com.google.cloud.channel.v1.TransferEntitlementsResponse buildPartial() { - com.google.cloud.channel.v1.TransferEntitlementsResponse result = - new com.google.cloud.channel.v1.TransferEntitlementsResponse(this); + com.google.cloud.channel.v1.TransferEntitlementsResponse result = new com.google.cloud.channel.v1.TransferEntitlementsResponse(this); int from_bitField0_ = bitField0_; if (entitlementsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -390,39 +357,38 @@ public com.google.cloud.channel.v1.TransferEntitlementsResponse 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.cloud.channel.v1.TransferEntitlementsResponse) { - return mergeFrom((com.google.cloud.channel.v1.TransferEntitlementsResponse) other); + return mergeFrom((com.google.cloud.channel.v1.TransferEntitlementsResponse)other); } else { super.mergeFrom(other); return this; @@ -430,8 +396,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.TransferEntitlementsResponse other) { - if (other == com.google.cloud.channel.v1.TransferEntitlementsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.TransferEntitlementsResponse.getDefaultInstance()) return this; if (entitlementsBuilder_ == null) { if (!other.entitlements_.isEmpty()) { if (entitlements_.isEmpty()) { @@ -450,10 +415,9 @@ public Builder mergeFrom(com.google.cloud.channel.v1.TransferEntitlementsRespons entitlementsBuilder_ = null; entitlements_ = other.entitlements_; bitField0_ = (bitField0_ & ~0x00000001); - entitlementsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEntitlementsFieldBuilder() - : null; + entitlementsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEntitlementsFieldBuilder() : null; } else { entitlementsBuilder_.addAllMessages(other.entitlements_); } @@ -485,26 +449,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.channel.v1.Entitlement m = - input.readMessage( - com.google.cloud.channel.v1.Entitlement.parser(), extensionRegistry); - if (entitlementsBuilder_ == null) { - ensureEntitlementsIsMutable(); - entitlements_.add(m); - } else { - entitlementsBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.channel.v1.Entitlement m = + input.readMessage( + com.google.cloud.channel.v1.Entitlement.parser(), + extensionRegistry); + if (entitlementsBuilder_ == null) { + ensureEntitlementsIsMutable(); + entitlements_.add(m); + } else { + entitlementsBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -514,29 +477,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List entitlements_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureEntitlementsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - entitlements_ = - new java.util.ArrayList(entitlements_); + entitlements_ = new java.util.ArrayList(entitlements_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Entitlement, - com.google.cloud.channel.v1.Entitlement.Builder, - com.google.cloud.channel.v1.EntitlementOrBuilder> - entitlementsBuilder_; + com.google.cloud.channel.v1.Entitlement, com.google.cloud.channel.v1.Entitlement.Builder, com.google.cloud.channel.v1.EntitlementOrBuilder> entitlementsBuilder_; /** - * - * *
      * The transferred entitlements.
      * 
@@ -551,8 +506,6 @@ public java.util.List getEntitlementsLi } } /** - * - * *
      * The transferred entitlements.
      * 
@@ -567,8 +520,6 @@ public int getEntitlementsCount() { } } /** - * - * *
      * The transferred entitlements.
      * 
@@ -583,15 +534,14 @@ public com.google.cloud.channel.v1.Entitlement getEntitlements(int index) { } } /** - * - * *
      * The transferred entitlements.
      * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - public Builder setEntitlements(int index, com.google.cloud.channel.v1.Entitlement value) { + public Builder setEntitlements( + int index, com.google.cloud.channel.v1.Entitlement value) { if (entitlementsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -605,8 +555,6 @@ public Builder setEntitlements(int index, com.google.cloud.channel.v1.Entitlemen return this; } /** - * - * *
      * The transferred entitlements.
      * 
@@ -625,8 +573,6 @@ public Builder setEntitlements( return this; } /** - * - * *
      * The transferred entitlements.
      * 
@@ -647,15 +593,14 @@ public Builder addEntitlements(com.google.cloud.channel.v1.Entitlement value) { return this; } /** - * - * *
      * The transferred entitlements.
      * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - public Builder addEntitlements(int index, com.google.cloud.channel.v1.Entitlement value) { + public Builder addEntitlements( + int index, com.google.cloud.channel.v1.Entitlement value) { if (entitlementsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -669,8 +614,6 @@ public Builder addEntitlements(int index, com.google.cloud.channel.v1.Entitlemen return this; } /** - * - * *
      * The transferred entitlements.
      * 
@@ -689,8 +632,6 @@ public Builder addEntitlements( return this; } /** - * - * *
      * The transferred entitlements.
      * 
@@ -709,8 +650,6 @@ public Builder addEntitlements( return this; } /** - * - * *
      * The transferred entitlements.
      * 
@@ -721,7 +660,8 @@ public Builder addAllEntitlements( java.lang.Iterable values) { if (entitlementsBuilder_ == null) { ensureEntitlementsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entitlements_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, entitlements_); onChanged(); } else { entitlementsBuilder_.addAllMessages(values); @@ -729,8 +669,6 @@ public Builder addAllEntitlements( return this; } /** - * - * *
      * The transferred entitlements.
      * 
@@ -748,8 +686,6 @@ public Builder clearEntitlements() { return this; } /** - * - * *
      * The transferred entitlements.
      * 
@@ -767,44 +703,39 @@ public Builder removeEntitlements(int index) { return this; } /** - * - * *
      * The transferred entitlements.
      * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - public com.google.cloud.channel.v1.Entitlement.Builder getEntitlementsBuilder(int index) { + public com.google.cloud.channel.v1.Entitlement.Builder getEntitlementsBuilder( + int index) { return getEntitlementsFieldBuilder().getBuilder(index); } /** - * - * *
      * The transferred entitlements.
      * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder(int index) { + public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder( + int index) { if (entitlementsBuilder_ == null) { - return entitlements_.get(index); - } else { + return entitlements_.get(index); } else { return entitlementsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The transferred entitlements.
      * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - public java.util.List - getEntitlementsOrBuilderList() { + public java.util.List + getEntitlementsOrBuilderList() { if (entitlementsBuilder_ != null) { return entitlementsBuilder_.getMessageOrBuilderList(); } else { @@ -812,8 +743,6 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder } } /** - * - * *
      * The transferred entitlements.
      * 
@@ -821,55 +750,49 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder() { - return getEntitlementsFieldBuilder() - .addBuilder(com.google.cloud.channel.v1.Entitlement.getDefaultInstance()); + return getEntitlementsFieldBuilder().addBuilder( + com.google.cloud.channel.v1.Entitlement.getDefaultInstance()); } /** - * - * *
      * The transferred entitlements.
      * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder(int index) { - return getEntitlementsFieldBuilder() - .addBuilder(index, com.google.cloud.channel.v1.Entitlement.getDefaultInstance()); + public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder( + int index) { + return getEntitlementsFieldBuilder().addBuilder( + index, com.google.cloud.channel.v1.Entitlement.getDefaultInstance()); } /** - * - * *
      * The transferred entitlements.
      * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - public java.util.List - getEntitlementsBuilderList() { + public java.util.List + getEntitlementsBuilderList() { return getEntitlementsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Entitlement, - com.google.cloud.channel.v1.Entitlement.Builder, - com.google.cloud.channel.v1.EntitlementOrBuilder> + com.google.cloud.channel.v1.Entitlement, com.google.cloud.channel.v1.Entitlement.Builder, com.google.cloud.channel.v1.EntitlementOrBuilder> getEntitlementsFieldBuilder() { if (entitlementsBuilder_ == null) { - entitlementsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Entitlement, - com.google.cloud.channel.v1.Entitlement.Builder, - com.google.cloud.channel.v1.EntitlementOrBuilder>( - entitlements_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + entitlementsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.Entitlement, com.google.cloud.channel.v1.Entitlement.Builder, com.google.cloud.channel.v1.EntitlementOrBuilder>( + entitlements_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); entitlements_ = null; } return entitlementsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -879,12 +802,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.TransferEntitlementsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.TransferEntitlementsResponse) private static final com.google.cloud.channel.v1.TransferEntitlementsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.TransferEntitlementsResponse(); } @@ -893,27 +816,27 @@ public static com.google.cloud.channel.v1.TransferEntitlementsResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferEntitlementsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferEntitlementsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -928,4 +851,6 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.channel.v1.TransferEntitlementsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponseOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponseOrBuilder.java similarity index 61% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponseOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponseOrBuilder.java index b7969265814d..4f5843c77466 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponseOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponseOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface TransferEntitlementsResponseOrBuilder - extends +public interface TransferEntitlementsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.TransferEntitlementsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The transferred entitlements.
    * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - java.util.List getEntitlementsList(); + java.util.List + getEntitlementsList(); /** - * - * *
    * The transferred entitlements.
    * 
@@ -44,8 +25,6 @@ public interface TransferEntitlementsResponseOrBuilder */ com.google.cloud.channel.v1.Entitlement getEntitlements(int index); /** - * - * *
    * The transferred entitlements.
    * 
@@ -54,24 +33,21 @@ public interface TransferEntitlementsResponseOrBuilder */ int getEntitlementsCount(); /** - * - * *
    * The transferred entitlements.
    * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - java.util.List + java.util.List getEntitlementsOrBuilderList(); /** - * - * *
    * The transferred entitlements.
    * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder(int index); + com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder( + int index); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequest.java similarity index 63% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequest.java index e65042cb74c5..109b5b97188b 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequest.java @@ -1,44 +1,25 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Request message for [CloudChannelService.TransferEntitlementsToGoogle][google.cloud.channel.v1.CloudChannelService.TransferEntitlementsToGoogle].
+ * Request message for
+ * [CloudChannelService.TransferEntitlementsToGoogle][google.cloud.channel.v1.CloudChannelService.TransferEntitlementsToGoogle].
  * 
* * Protobuf type {@code google.cloud.channel.v1.TransferEntitlementsToGoogleRequest} */ -public final class TransferEntitlementsToGoogleRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TransferEntitlementsToGoogleRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.TransferEntitlementsToGoogleRequest) TransferEntitlementsToGoogleRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TransferEntitlementsToGoogleRequest.newBuilder() to construct. - private TransferEntitlementsToGoogleRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private TransferEntitlementsToGoogleRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TransferEntitlementsToGoogleRequest() { parent_ = ""; entitlements_ = java.util.Collections.emptyList(); @@ -47,43 +28,39 @@ private TransferEntitlementsToGoogleRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TransferEntitlementsToGoogleRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest.class, - com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest.Builder.class); + com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest.class, com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
-   * Required. The resource name of the reseller's customer account where the entitlements
-   * transfer from.
-   * Parent uses the format: accounts/{account_id}/customers/{customer_id}
+   * Required. The resource name of the reseller's customer account where the
+   * entitlements transfer from. Parent uses the format:
+   * accounts/{account_id}/customers/{customer_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -92,31 +69,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
-   * Required. The resource name of the reseller's customer account where the entitlements
-   * transfer from.
-   * Parent uses the format: accounts/{account_id}/customers/{customer_id}
+   * Required. The resource name of the reseller's customer account where the
+   * entitlements transfer from. Parent uses the format:
+   * accounts/{account_id}/customers/{customer_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -127,90 +104,70 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int ENTITLEMENTS_FIELD_NUMBER = 2; private java.util.List entitlements_; /** - * - * *
    * Required. The entitlements to transfer to Google.
    * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getEntitlementsList() { return entitlements_; } /** - * - * *
    * Required. The entitlements to transfer to Google.
    * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getEntitlementsOrBuilderList() { return entitlements_; } /** - * - * *
    * Required. The entitlements to transfer to Google.
    * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getEntitlementsCount() { return entitlements_.size(); } /** - * - * *
    * Required. The entitlements to transfer to Google.
    * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.channel.v1.Entitlement getEntitlements(int index) { return entitlements_.get(index); } /** - * - * *
    * Required. The entitlements to transfer to Google.
    * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder(int index) { + public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder( + int index) { return entitlements_.get(index); } public static final int REQUEST_ID_FIELD_NUMBER = 3; private volatile java.lang.Object requestId_; /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -221,7 +178,6 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -230,18 +186,18 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -252,15 +208,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -269,7 +226,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -281,7 +237,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -304,7 +261,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } for (int i = 0; i < entitlements_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, entitlements_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, entitlements_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); @@ -317,17 +275,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest other = - (com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest) obj; + com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest other = (com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getEntitlementsList().equals(other.getEntitlementsList())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getEntitlementsList() + .equals(other.getEntitlementsList())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -353,136 +313,130 @@ public int hashCode() { } public static com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Request message for [CloudChannelService.TransferEntitlementsToGoogle][google.cloud.channel.v1.CloudChannelService.TransferEntitlementsToGoogle].
+   * Request message for
+   * [CloudChannelService.TransferEntitlementsToGoogle][google.cloud.channel.v1.CloudChannelService.TransferEntitlementsToGoogle].
    * 
* * Protobuf type {@code google.cloud.channel.v1.TransferEntitlementsToGoogleRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.TransferEntitlementsToGoogleRequest) com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest.class, - com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest.Builder.class); + com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest.class, com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -501,14 +455,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_descriptor; } @java.lang.Override - public com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest - getDefaultInstanceForType() { + public com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest getDefaultInstanceForType() { return com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest.getDefaultInstance(); } @@ -523,8 +476,7 @@ public com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest build() { @java.lang.Override public com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest buildPartial() { - com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest result = - new com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest(this); + com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest result = new com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (entitlementsBuilder_ == null) { @@ -545,50 +497,46 @@ public com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest 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.cloud.channel.v1.TransferEntitlementsToGoogleRequest) { - return mergeFrom((com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest) other); + return mergeFrom((com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest other) { - if (other - == com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest other) { + if (other == com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -611,10 +559,9 @@ public Builder mergeFrom( entitlementsBuilder_ = null; entitlements_ = other.entitlements_; bitField0_ = (bitField0_ & ~0x00000001); - entitlementsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEntitlementsFieldBuilder() - : null; + entitlementsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEntitlementsFieldBuilder() : null; } else { entitlementsBuilder_.addAllMessages(other.entitlements_); } @@ -650,38 +597,35 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - com.google.cloud.channel.v1.Entitlement m = - input.readMessage( - com.google.cloud.channel.v1.Entitlement.parser(), extensionRegistry); - if (entitlementsBuilder_ == null) { - ensureEntitlementsIsMutable(); - entitlements_.add(m); - } else { - entitlementsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: - { - requestId_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + com.google.cloud.channel.v1.Entitlement m = + input.readMessage( + com.google.cloud.channel.v1.Entitlement.parser(), + extensionRegistry); + if (entitlementsBuilder_ == null) { + ensureEntitlementsIsMutable(); + entitlements_.add(m); + } else { + entitlementsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + requestId_ = input.readStringRequireUtf8(); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -691,27 +635,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
-     * Required. The resource name of the reseller's customer account where the entitlements
-     * transfer from.
-     * Parent uses the format: accounts/{account_id}/customers/{customer_id}
+     * Required. The resource name of the reseller's customer account where the
+     * entitlements transfer from. Parent uses the format:
+     * accounts/{account_id}/customers/{customer_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -720,23 +661,22 @@ public java.lang.String getParent() { } } /** - * - * *
-     * Required. The resource name of the reseller's customer account where the entitlements
-     * transfer from.
-     * Parent uses the format: accounts/{account_id}/customers/{customer_id}
+     * Required. The resource name of the reseller's customer account where the
+     * entitlements transfer from. Parent uses the format:
+     * accounts/{account_id}/customers/{customer_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -744,99 +684,83 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
-     * Required. The resource name of the reseller's customer account where the entitlements
-     * transfer from.
-     * Parent uses the format: accounts/{account_id}/customers/{customer_id}
+     * Required. The resource name of the reseller's customer account where the
+     * entitlements transfer from. Parent uses the format:
+     * accounts/{account_id}/customers/{customer_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 reseller's customer account where the entitlements
-     * transfer from.
-     * Parent uses the format: accounts/{account_id}/customers/{customer_id}
+     * Required. The resource name of the reseller's customer account where the
+     * entitlements transfer from. Parent uses the format:
+     * accounts/{account_id}/customers/{customer_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
-     * Required. The resource name of the reseller's customer account where the entitlements
-     * transfer from.
-     * Parent uses the format: accounts/{account_id}/customers/{customer_id}
+     * Required. The resource name of the reseller's customer account where the
+     * entitlements transfer from. Parent uses the format:
+     * accounts/{account_id}/customers/{customer_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 entitlements_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureEntitlementsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - entitlements_ = - new java.util.ArrayList(entitlements_); + entitlements_ = new java.util.ArrayList(entitlements_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Entitlement, - com.google.cloud.channel.v1.Entitlement.Builder, - com.google.cloud.channel.v1.EntitlementOrBuilder> - entitlementsBuilder_; + com.google.cloud.channel.v1.Entitlement, com.google.cloud.channel.v1.Entitlement.Builder, com.google.cloud.channel.v1.EntitlementOrBuilder> entitlementsBuilder_; /** - * - * *
      * Required. The entitlements to transfer to Google.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getEntitlementsList() { if (entitlementsBuilder_ == null) { @@ -846,15 +770,11 @@ public java.util.List getEntitlementsLi } } /** - * - * *
      * Required. The entitlements to transfer to Google.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ public int getEntitlementsCount() { if (entitlementsBuilder_ == null) { @@ -864,15 +784,11 @@ public int getEntitlementsCount() { } } /** - * - * *
      * Required. The entitlements to transfer to Google.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.channel.v1.Entitlement getEntitlements(int index) { if (entitlementsBuilder_ == null) { @@ -882,17 +798,14 @@ public com.google.cloud.channel.v1.Entitlement getEntitlements(int index) { } } /** - * - * *
      * Required. The entitlements to transfer to Google.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setEntitlements(int index, com.google.cloud.channel.v1.Entitlement value) { + public Builder setEntitlements( + int index, com.google.cloud.channel.v1.Entitlement value) { if (entitlementsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -906,15 +819,11 @@ public Builder setEntitlements(int index, com.google.cloud.channel.v1.Entitlemen return this; } /** - * - * *
      * Required. The entitlements to transfer to Google.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setEntitlements( int index, com.google.cloud.channel.v1.Entitlement.Builder builderForValue) { @@ -928,15 +837,11 @@ public Builder setEntitlements( return this; } /** - * - * *
      * Required. The entitlements to transfer to Google.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addEntitlements(com.google.cloud.channel.v1.Entitlement value) { if (entitlementsBuilder_ == null) { @@ -952,17 +857,14 @@ public Builder addEntitlements(com.google.cloud.channel.v1.Entitlement value) { return this; } /** - * - * *
      * Required. The entitlements to transfer to Google.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addEntitlements(int index, com.google.cloud.channel.v1.Entitlement value) { + public Builder addEntitlements( + int index, com.google.cloud.channel.v1.Entitlement value) { if (entitlementsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -976,15 +878,11 @@ public Builder addEntitlements(int index, com.google.cloud.channel.v1.Entitlemen return this; } /** - * - * *
      * Required. The entitlements to transfer to Google.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addEntitlements( com.google.cloud.channel.v1.Entitlement.Builder builderForValue) { @@ -998,15 +896,11 @@ public Builder addEntitlements( return this; } /** - * - * *
      * Required. The entitlements to transfer to Google.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addEntitlements( int index, com.google.cloud.channel.v1.Entitlement.Builder builderForValue) { @@ -1020,21 +914,18 @@ public Builder addEntitlements( return this; } /** - * - * *
      * Required. The entitlements to transfer to Google.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllEntitlements( java.lang.Iterable values) { if (entitlementsBuilder_ == null) { ensureEntitlementsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entitlements_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, entitlements_); onChanged(); } else { entitlementsBuilder_.addAllMessages(values); @@ -1042,15 +933,11 @@ public Builder addAllEntitlements( return this; } /** - * - * *
      * Required. The entitlements to transfer to Google.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearEntitlements() { if (entitlementsBuilder_ == null) { @@ -1063,15 +950,11 @@ public Builder clearEntitlements() { return this; } /** - * - * *
      * Required. The entitlements to transfer to Google.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeEntitlements(int index) { if (entitlementsBuilder_ == null) { @@ -1084,50 +967,39 @@ public Builder removeEntitlements(int index) { return this; } /** - * - * *
      * Required. The entitlements to transfer to Google.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.channel.v1.Entitlement.Builder getEntitlementsBuilder(int index) { + public com.google.cloud.channel.v1.Entitlement.Builder getEntitlementsBuilder( + int index) { return getEntitlementsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. The entitlements to transfer to Google.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder(int index) { + public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder( + int index) { if (entitlementsBuilder_ == null) { - return entitlements_.get(index); - } else { + return entitlements_.get(index); } else { return entitlementsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. The entitlements to transfer to Google.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getEntitlementsOrBuilderList() { + public java.util.List + getEntitlementsOrBuilderList() { if (entitlementsBuilder_ != null) { return entitlementsBuilder_.getMessageOrBuilderList(); } else { @@ -1135,63 +1007,49 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder } } /** - * - * *
      * Required. The entitlements to transfer to Google.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder() { - return getEntitlementsFieldBuilder() - .addBuilder(com.google.cloud.channel.v1.Entitlement.getDefaultInstance()); + return getEntitlementsFieldBuilder().addBuilder( + com.google.cloud.channel.v1.Entitlement.getDefaultInstance()); } /** - * - * *
      * Required. The entitlements to transfer to Google.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder(int index) { - return getEntitlementsFieldBuilder() - .addBuilder(index, com.google.cloud.channel.v1.Entitlement.getDefaultInstance()); + public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder( + int index) { + return getEntitlementsFieldBuilder().addBuilder( + index, com.google.cloud.channel.v1.Entitlement.getDefaultInstance()); } /** - * - * *
      * Required. The entitlements to transfer to Google.
      * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getEntitlementsBuilderList() { + public java.util.List + getEntitlementsBuilderList() { return getEntitlementsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Entitlement, - com.google.cloud.channel.v1.Entitlement.Builder, - com.google.cloud.channel.v1.EntitlementOrBuilder> + com.google.cloud.channel.v1.Entitlement, com.google.cloud.channel.v1.Entitlement.Builder, com.google.cloud.channel.v1.EntitlementOrBuilder> getEntitlementsFieldBuilder() { if (entitlementsBuilder_ == null) { - entitlementsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Entitlement, - com.google.cloud.channel.v1.Entitlement.Builder, - com.google.cloud.channel.v1.EntitlementOrBuilder>( - entitlements_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + entitlementsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.Entitlement, com.google.cloud.channel.v1.Entitlement.Builder, com.google.cloud.channel.v1.EntitlementOrBuilder>( + entitlements_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); entitlements_ = null; } return entitlementsBuilder_; @@ -1199,11 +1057,10 @@ public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder(in private java.lang.Object requestId_ = ""; /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -1214,13 +1071,13 @@ public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder(in
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1229,11 +1086,10 @@ public java.lang.String getRequestId() { } } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -1244,14 +1100,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1259,11 +1116,10 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -1274,25 +1130,24 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -1303,21 +1158,19 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
-     * Optional. You can specify an optional unique request ID, and if you need to retry
-     * your request, the server will know to ignore the request if it's complete.
+     * Optional. You can specify an optional unique request ID, and if you need to
+     * retry your request, the server will know to ignore the request if it's
+     * complete.
      * For example, you make an initial request and the request times out. If you
      * make the request again with the same request ID, the server can check if
      * it received the original operation with the same request ID. If it did, it
@@ -1328,23 +1181,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1354,43 +1207,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.TransferEntitlementsToGoogleRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.TransferEntitlementsToGoogleRequest) - private static final com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest(); } - public static com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest - getDefaultInstance() { + public static com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferEntitlementsToGoogleRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferEntitlementsToGoogleRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1402,8 +1253,9 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest - getDefaultInstanceForType() { + public com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequestOrBuilder.java similarity index 57% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequestOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequestOrBuilder.java index 0584297c5c1c..f27f2c7911df 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequestOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequestOrBuilder.java @@ -1,125 +1,85 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface TransferEntitlementsToGoogleRequestOrBuilder - extends +public interface TransferEntitlementsToGoogleRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.TransferEntitlementsToGoogleRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
-   * Required. The resource name of the reseller's customer account where the entitlements
-   * transfer from.
-   * Parent uses the format: accounts/{account_id}/customers/{customer_id}
+   * Required. The resource name of the reseller's customer account where the
+   * entitlements transfer from. Parent uses the format:
+   * accounts/{account_id}/customers/{customer_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
-   * Required. The resource name of the reseller's customer account where the entitlements
-   * transfer from.
-   * Parent uses the format: accounts/{account_id}/customers/{customer_id}
+   * Required. The resource name of the reseller's customer account where the
+   * entitlements transfer from. Parent uses the format:
+   * accounts/{account_id}/customers/{customer_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The entitlements to transfer to Google.
    * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getEntitlementsList(); + java.util.List + getEntitlementsList(); /** - * - * *
    * Required. The entitlements to transfer to Google.
    * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.channel.v1.Entitlement getEntitlements(int index); /** - * - * *
    * Required. The entitlements to transfer to Google.
    * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ int getEntitlementsCount(); /** - * - * *
    * Required. The entitlements to transfer to Google.
    * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getEntitlementsOrBuilderList(); /** - * - * *
    * Required. The entitlements to transfer to Google.
    * 
* - * - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder(int index); + com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder( + int index); /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -130,16 +90,14 @@ public interface TransferEntitlementsToGoogleRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
-   * Optional. You can specify an optional unique request ID, and if you need to retry
-   * your request, the server will know to ignore the request if it's complete.
+   * Optional. You can specify an optional unique request ID, and if you need to
+   * retry your request, the server will know to ignore the request if it's
+   * complete.
    * For example, you make an initial request and the request times out. If you
    * make the request again with the same request ID, the server can check if
    * it received the original operation with the same request ID. If it did, it
@@ -150,8 +108,8 @@ public interface TransferEntitlementsToGoogleRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOffer.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOffer.java similarity index 67% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOffer.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOffer.java index 2f5ffbf07a1d..dcbe9f627372 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOffer.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOffer.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
  * TransferableOffer represents an Offer that can be used in Transfer.
  * Read-only.
@@ -28,55 +11,51 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.TransferableOffer}
  */
-public final class TransferableOffer extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TransferableOffer extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.TransferableOffer)
     TransferableOfferOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TransferableOffer.newBuilder() to construct.
   private TransferableOffer(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private TransferableOffer() {}
+  private TransferableOffer() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TransferableOffer();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto
-        .internal_static_google_cloud_channel_v1_TransferableOffer_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferableOffer_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto
-        .internal_static_google_cloud_channel_v1_TransferableOffer_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferableOffer_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.TransferableOffer.class,
-            com.google.cloud.channel.v1.TransferableOffer.Builder.class);
+            com.google.cloud.channel.v1.TransferableOffer.class, com.google.cloud.channel.v1.TransferableOffer.Builder.class);
   }
 
   public static final int OFFER_FIELD_NUMBER = 1;
   private com.google.cloud.channel.v1.Offer offer_;
   /**
-   *
-   *
    * 
    * Offer with parameter constraints updated to allow the Transfer.
    * 
* * .google.cloud.channel.v1.Offer offer = 1; - * * @return Whether the offer field is set. */ @java.lang.Override @@ -84,14 +63,11 @@ public boolean hasOffer() { return offer_ != null; } /** - * - * *
    * Offer with parameter constraints updated to allow the Transfer.
    * 
* * .google.cloud.channel.v1.Offer offer = 1; - * * @return The offer. */ @java.lang.Override @@ -99,8 +75,6 @@ public com.google.cloud.channel.v1.Offer getOffer() { return offer_ == null ? com.google.cloud.channel.v1.Offer.getDefaultInstance() : offer_; } /** - * - * *
    * Offer with parameter constraints updated to allow the Transfer.
    * 
@@ -113,7 +87,6 @@ public com.google.cloud.channel.v1.OfferOrBuilder getOfferOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -125,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (offer_ != null) { output.writeMessage(1, getOffer()); } @@ -139,7 +113,8 @@ public int getSerializedSize() { size = 0; if (offer_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOffer()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getOffer()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -149,17 +124,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.TransferableOffer)) { return super.equals(obj); } - com.google.cloud.channel.v1.TransferableOffer other = - (com.google.cloud.channel.v1.TransferableOffer) obj; + com.google.cloud.channel.v1.TransferableOffer other = (com.google.cloud.channel.v1.TransferableOffer) obj; if (hasOffer() != other.hasOffer()) return false; if (hasOffer()) { - if (!getOffer().equals(other.getOffer())) return false; + if (!getOffer() + .equals(other.getOffer())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -181,104 +156,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.TransferableOffer parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.TransferableOffer parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.TransferableOffer parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.TransferableOffer parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.TransferableOffer parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.TransferableOffer parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.TransferableOffer parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.TransferableOffer 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.cloud.channel.v1.TransferableOffer parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.TransferableOffer parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.TransferableOffer parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.TransferableOffer parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.TransferableOffer parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.TransferableOffer parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.TransferableOffer prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * TransferableOffer represents an Offer that can be used in Transfer.
    * Read-only.
@@ -286,32 +254,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.channel.v1.TransferableOffer}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.TransferableOffer)
       com.google.cloud.channel.v1.TransferableOfferOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto
-          .internal_static_google_cloud_channel_v1_TransferableOffer_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferableOffer_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto
-          .internal_static_google_cloud_channel_v1_TransferableOffer_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferableOffer_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.TransferableOffer.class,
-              com.google.cloud.channel.v1.TransferableOffer.Builder.class);
+              com.google.cloud.channel.v1.TransferableOffer.class, com.google.cloud.channel.v1.TransferableOffer.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.TransferableOffer.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -325,9 +294,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto
-          .internal_static_google_cloud_channel_v1_TransferableOffer_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferableOffer_descriptor;
     }
 
     @java.lang.Override
@@ -346,8 +315,7 @@ public com.google.cloud.channel.v1.TransferableOffer build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.TransferableOffer buildPartial() {
-      com.google.cloud.channel.v1.TransferableOffer result =
-          new com.google.cloud.channel.v1.TransferableOffer(this);
+      com.google.cloud.channel.v1.TransferableOffer result = new com.google.cloud.channel.v1.TransferableOffer(this);
       if (offerBuilder_ == null) {
         result.offer_ = offer_;
       } else {
@@ -361,39 +329,38 @@ public com.google.cloud.channel.v1.TransferableOffer 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.cloud.channel.v1.TransferableOffer) {
-        return mergeFrom((com.google.cloud.channel.v1.TransferableOffer) other);
+        return mergeFrom((com.google.cloud.channel.v1.TransferableOffer)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -431,19 +398,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getOfferFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getOfferFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -456,33 +423,24 @@ public Builder mergeFrom(
 
     private com.google.cloud.channel.v1.Offer offer_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.channel.v1.Offer,
-            com.google.cloud.channel.v1.Offer.Builder,
-            com.google.cloud.channel.v1.OfferOrBuilder>
-        offerBuilder_;
+        com.google.cloud.channel.v1.Offer, com.google.cloud.channel.v1.Offer.Builder, com.google.cloud.channel.v1.OfferOrBuilder> offerBuilder_;
     /**
-     *
-     *
      * 
      * Offer with parameter constraints updated to allow the Transfer.
      * 
* * .google.cloud.channel.v1.Offer offer = 1; - * * @return Whether the offer field is set. */ public boolean hasOffer() { return offerBuilder_ != null || offer_ != null; } /** - * - * *
      * Offer with parameter constraints updated to allow the Transfer.
      * 
* * .google.cloud.channel.v1.Offer offer = 1; - * * @return The offer. */ public com.google.cloud.channel.v1.Offer getOffer() { @@ -493,8 +451,6 @@ public com.google.cloud.channel.v1.Offer getOffer() { } } /** - * - * *
      * Offer with parameter constraints updated to allow the Transfer.
      * 
@@ -515,15 +471,14 @@ public Builder setOffer(com.google.cloud.channel.v1.Offer value) { return this; } /** - * - * *
      * Offer with parameter constraints updated to allow the Transfer.
      * 
* * .google.cloud.channel.v1.Offer offer = 1; */ - public Builder setOffer(com.google.cloud.channel.v1.Offer.Builder builderForValue) { + public Builder setOffer( + com.google.cloud.channel.v1.Offer.Builder builderForValue) { if (offerBuilder_ == null) { offer_ = builderForValue.build(); onChanged(); @@ -534,8 +489,6 @@ public Builder setOffer(com.google.cloud.channel.v1.Offer.Builder builderForValu return this; } /** - * - * *
      * Offer with parameter constraints updated to allow the Transfer.
      * 
@@ -546,7 +499,7 @@ public Builder mergeOffer(com.google.cloud.channel.v1.Offer value) { if (offerBuilder_ == null) { if (offer_ != null) { offer_ = - com.google.cloud.channel.v1.Offer.newBuilder(offer_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.Offer.newBuilder(offer_).mergeFrom(value).buildPartial(); } else { offer_ = value; } @@ -558,8 +511,6 @@ public Builder mergeOffer(com.google.cloud.channel.v1.Offer value) { return this; } /** - * - * *
      * Offer with parameter constraints updated to allow the Transfer.
      * 
@@ -578,8 +529,6 @@ public Builder clearOffer() { return this; } /** - * - * *
      * Offer with parameter constraints updated to allow the Transfer.
      * 
@@ -587,13 +536,11 @@ public Builder clearOffer() { * .google.cloud.channel.v1.Offer offer = 1; */ public com.google.cloud.channel.v1.Offer.Builder getOfferBuilder() { - + onChanged(); return getOfferFieldBuilder().getBuilder(); } /** - * - * *
      * Offer with parameter constraints updated to allow the Transfer.
      * 
@@ -604,12 +551,11 @@ public com.google.cloud.channel.v1.OfferOrBuilder getOfferOrBuilder() { if (offerBuilder_ != null) { return offerBuilder_.getMessageOrBuilder(); } else { - return offer_ == null ? com.google.cloud.channel.v1.Offer.getDefaultInstance() : offer_; + return offer_ == null ? + com.google.cloud.channel.v1.Offer.getDefaultInstance() : offer_; } } /** - * - * *
      * Offer with parameter constraints updated to allow the Transfer.
      * 
@@ -617,24 +563,21 @@ public com.google.cloud.channel.v1.OfferOrBuilder getOfferOrBuilder() { * .google.cloud.channel.v1.Offer offer = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Offer, - com.google.cloud.channel.v1.Offer.Builder, - com.google.cloud.channel.v1.OfferOrBuilder> + com.google.cloud.channel.v1.Offer, com.google.cloud.channel.v1.Offer.Builder, com.google.cloud.channel.v1.OfferOrBuilder> getOfferFieldBuilder() { if (offerBuilder_ == null) { - offerBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Offer, - com.google.cloud.channel.v1.Offer.Builder, - com.google.cloud.channel.v1.OfferOrBuilder>( - getOffer(), getParentForChildren(), isClean()); + offerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Offer, com.google.cloud.channel.v1.Offer.Builder, com.google.cloud.channel.v1.OfferOrBuilder>( + getOffer(), + getParentForChildren(), + isClean()); offer_ = null; } return offerBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -644,12 +587,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.TransferableOffer) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.TransferableOffer) private static final com.google.cloud.channel.v1.TransferableOffer DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.TransferableOffer(); } @@ -658,27 +601,27 @@ public static com.google.cloud.channel.v1.TransferableOffer getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferableOffer parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferableOffer parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -693,4 +636,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.TransferableOffer getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOfferOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOfferOrBuilder.java similarity index 59% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOfferOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOfferOrBuilder.java index 93668c54afd9..5124fb1f3806 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOfferOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOfferOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface TransferableOfferOrBuilder - extends +public interface TransferableOfferOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.TransferableOffer) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Offer with parameter constraints updated to allow the Transfer.
    * 
* * .google.cloud.channel.v1.Offer offer = 1; - * * @return Whether the offer field is set. */ boolean hasOffer(); /** - * - * *
    * Offer with parameter constraints updated to allow the Transfer.
    * 
* * .google.cloud.channel.v1.Offer offer = 1; - * * @return The offer. */ com.google.cloud.channel.v1.Offer getOffer(); /** - * - * *
    * Offer with parameter constraints updated to allow the Transfer.
    * 
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSku.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSku.java similarity index 69% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSku.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSku.java index 326d00572aba..fd2a1d9e094a 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSku.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSku.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/cloud/channel/v1/entitlements.proto package com.google.cloud.channel.v1; /** - * - * *
  * TransferableSku represents information a reseller needs to view existing
  * provisioned services for a customer that they do not own.
@@ -29,55 +12,51 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.TransferableSku}
  */
-public final class TransferableSku extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TransferableSku extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.TransferableSku)
     TransferableSkuOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TransferableSku.newBuilder() to construct.
   private TransferableSku(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private TransferableSku() {}
+  private TransferableSku() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TransferableSku();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.channel.v1.EntitlementsProto
-        .internal_static_google_cloud_channel_v1_TransferableSku_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_TransferableSku_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.EntitlementsProto
-        .internal_static_google_cloud_channel_v1_TransferableSku_fieldAccessorTable
+    return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_TransferableSku_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.TransferableSku.class,
-            com.google.cloud.channel.v1.TransferableSku.Builder.class);
+            com.google.cloud.channel.v1.TransferableSku.class, com.google.cloud.channel.v1.TransferableSku.Builder.class);
   }
 
   public static final int TRANSFER_ELIGIBILITY_FIELD_NUMBER = 9;
   private com.google.cloud.channel.v1.TransferEligibility transferEligibility_;
   /**
-   *
-   *
    * 
    * Describes the transfer eligibility of a SKU.
    * 
* * .google.cloud.channel.v1.TransferEligibility transfer_eligibility = 9; - * * @return Whether the transferEligibility field is set. */ @java.lang.Override @@ -85,25 +64,18 @@ public boolean hasTransferEligibility() { return transferEligibility_ != null; } /** - * - * *
    * Describes the transfer eligibility of a SKU.
    * 
* * .google.cloud.channel.v1.TransferEligibility transfer_eligibility = 9; - * * @return The transferEligibility. */ @java.lang.Override public com.google.cloud.channel.v1.TransferEligibility getTransferEligibility() { - return transferEligibility_ == null - ? com.google.cloud.channel.v1.TransferEligibility.getDefaultInstance() - : transferEligibility_; + return transferEligibility_ == null ? com.google.cloud.channel.v1.TransferEligibility.getDefaultInstance() : transferEligibility_; } /** - * - * *
    * Describes the transfer eligibility of a SKU.
    * 
@@ -111,22 +83,18 @@ public com.google.cloud.channel.v1.TransferEligibility getTransferEligibility() * .google.cloud.channel.v1.TransferEligibility transfer_eligibility = 9; */ @java.lang.Override - public com.google.cloud.channel.v1.TransferEligibilityOrBuilder - getTransferEligibilityOrBuilder() { + public com.google.cloud.channel.v1.TransferEligibilityOrBuilder getTransferEligibilityOrBuilder() { return getTransferEligibility(); } public static final int SKU_FIELD_NUMBER = 11; private com.google.cloud.channel.v1.Sku sku_; /** - * - * *
    * The SKU pertaining to the provisioning resource as specified in the Offer.
    * 
* * .google.cloud.channel.v1.Sku sku = 11; - * * @return Whether the sku field is set. */ @java.lang.Override @@ -134,14 +102,11 @@ public boolean hasSku() { return sku_ != null; } /** - * - * *
    * The SKU pertaining to the provisioning resource as specified in the Offer.
    * 
* * .google.cloud.channel.v1.Sku sku = 11; - * * @return The sku. */ @java.lang.Override @@ -149,8 +114,6 @@ public com.google.cloud.channel.v1.Sku getSku() { return sku_ == null ? com.google.cloud.channel.v1.Sku.getDefaultInstance() : sku_; } /** - * - * *
    * The SKU pertaining to the provisioning resource as specified in the Offer.
    * 
@@ -165,15 +128,12 @@ public com.google.cloud.channel.v1.SkuOrBuilder getSkuOrBuilder() { public static final int LEGACY_SKU_FIELD_NUMBER = 12; private com.google.cloud.channel.v1.Sku legacySku_; /** - * - * *
-   * Optional. The customer to transfer has an entitlement with the populated legacy SKU.
+   * Optional. The customer to transfer has an entitlement with the populated
+   * legacy SKU.
    * 
* - * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the legacySku field is set. */ @java.lang.Override @@ -181,15 +141,12 @@ public boolean hasLegacySku() { return legacySku_ != null; } /** - * - * *
-   * Optional. The customer to transfer has an entitlement with the populated legacy SKU.
+   * Optional. The customer to transfer has an entitlement with the populated
+   * legacy SKU.
    * 
* - * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The legacySku. */ @java.lang.Override @@ -197,14 +154,12 @@ public com.google.cloud.channel.v1.Sku getLegacySku() { return legacySku_ == null ? com.google.cloud.channel.v1.Sku.getDefaultInstance() : legacySku_; } /** - * - * *
-   * Optional. The customer to transfer has an entitlement with the populated legacy SKU.
+   * Optional. The customer to transfer has an entitlement with the populated
+   * legacy SKU.
    * 
* - * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.channel.v1.SkuOrBuilder getLegacySkuOrBuilder() { @@ -212,7 +167,6 @@ public com.google.cloud.channel.v1.SkuOrBuilder getLegacySkuOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,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 (transferEligibility_ != null) { output.writeMessage(9, getTransferEligibility()); } @@ -244,13 +199,16 @@ public int getSerializedSize() { size = 0; if (transferEligibility_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getTransferEligibility()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getTransferEligibility()); } if (sku_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getSku()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getSku()); } if (legacySku_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getLegacySku()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getLegacySku()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -260,25 +218,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.cloud.channel.v1.TransferableSku)) { return super.equals(obj); } - com.google.cloud.channel.v1.TransferableSku other = - (com.google.cloud.channel.v1.TransferableSku) obj; + com.google.cloud.channel.v1.TransferableSku other = (com.google.cloud.channel.v1.TransferableSku) obj; if (hasTransferEligibility() != other.hasTransferEligibility()) return false; if (hasTransferEligibility()) { - if (!getTransferEligibility().equals(other.getTransferEligibility())) return false; + if (!getTransferEligibility() + .equals(other.getTransferEligibility())) return false; } if (hasSku() != other.hasSku()) return false; if (hasSku()) { - if (!getSku().equals(other.getSku())) return false; + if (!getSku() + .equals(other.getSku())) return false; } if (hasLegacySku() != other.hasLegacySku()) return false; if (hasLegacySku()) { - if (!getLegacySku().equals(other.getLegacySku())) return false; + if (!getLegacySku() + .equals(other.getLegacySku())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -308,104 +268,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.TransferableSku parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.TransferableSku parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.TransferableSku parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.TransferableSku parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.TransferableSku parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.TransferableSku parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.TransferableSku parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.TransferableSku 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.cloud.channel.v1.TransferableSku parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.TransferableSku parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.TransferableSku parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.TransferableSku parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.TransferableSku parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.TransferableSku parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.TransferableSku prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * TransferableSku represents information a reseller needs to view existing
    * provisioned services for a customer that they do not own.
@@ -414,32 +367,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.channel.v1.TransferableSku}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.TransferableSku)
       com.google.cloud.channel.v1.TransferableSkuOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.channel.v1.EntitlementsProto
-          .internal_static_google_cloud_channel_v1_TransferableSku_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_TransferableSku_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.EntitlementsProto
-          .internal_static_google_cloud_channel_v1_TransferableSku_fieldAccessorTable
+      return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_TransferableSku_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.TransferableSku.class,
-              com.google.cloud.channel.v1.TransferableSku.Builder.class);
+              com.google.cloud.channel.v1.TransferableSku.class, com.google.cloud.channel.v1.TransferableSku.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.TransferableSku.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -465,9 +419,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.channel.v1.EntitlementsProto
-          .internal_static_google_cloud_channel_v1_TransferableSku_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_TransferableSku_descriptor;
     }
 
     @java.lang.Override
@@ -486,8 +440,7 @@ public com.google.cloud.channel.v1.TransferableSku build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.TransferableSku buildPartial() {
-      com.google.cloud.channel.v1.TransferableSku result =
-          new com.google.cloud.channel.v1.TransferableSku(this);
+      com.google.cloud.channel.v1.TransferableSku result = new com.google.cloud.channel.v1.TransferableSku(this);
       if (transferEligibilityBuilder_ == null) {
         result.transferEligibility_ = transferEligibility_;
       } else {
@@ -511,39 +464,38 @@ public com.google.cloud.channel.v1.TransferableSku 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.cloud.channel.v1.TransferableSku) {
-        return mergeFrom((com.google.cloud.channel.v1.TransferableSku) other);
+        return mergeFrom((com.google.cloud.channel.v1.TransferableSku)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -587,32 +539,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 74:
-              {
-                input.readMessage(
-                    getTransferEligibilityFieldBuilder().getBuilder(), extensionRegistry);
+            case 74: {
+              input.readMessage(
+                  getTransferEligibilityFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 74
-            case 90:
-              {
-                input.readMessage(getSkuFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 74
+            case 90: {
+              input.readMessage(
+                  getSkuFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 90
-            case 98:
-              {
-                input.readMessage(getLegacySkuFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 90
+            case 98: {
+              input.readMessage(
+                  getLegacySkuFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 98
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 98
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -625,47 +578,34 @@ public Builder mergeFrom(
 
     private com.google.cloud.channel.v1.TransferEligibility transferEligibility_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.channel.v1.TransferEligibility,
-            com.google.cloud.channel.v1.TransferEligibility.Builder,
-            com.google.cloud.channel.v1.TransferEligibilityOrBuilder>
-        transferEligibilityBuilder_;
+        com.google.cloud.channel.v1.TransferEligibility, com.google.cloud.channel.v1.TransferEligibility.Builder, com.google.cloud.channel.v1.TransferEligibilityOrBuilder> transferEligibilityBuilder_;
     /**
-     *
-     *
      * 
      * Describes the transfer eligibility of a SKU.
      * 
* * .google.cloud.channel.v1.TransferEligibility transfer_eligibility = 9; - * * @return Whether the transferEligibility field is set. */ public boolean hasTransferEligibility() { return transferEligibilityBuilder_ != null || transferEligibility_ != null; } /** - * - * *
      * Describes the transfer eligibility of a SKU.
      * 
* * .google.cloud.channel.v1.TransferEligibility transfer_eligibility = 9; - * * @return The transferEligibility. */ public com.google.cloud.channel.v1.TransferEligibility getTransferEligibility() { if (transferEligibilityBuilder_ == null) { - return transferEligibility_ == null - ? com.google.cloud.channel.v1.TransferEligibility.getDefaultInstance() - : transferEligibility_; + return transferEligibility_ == null ? com.google.cloud.channel.v1.TransferEligibility.getDefaultInstance() : transferEligibility_; } else { return transferEligibilityBuilder_.getMessage(); } } /** - * - * *
      * Describes the transfer eligibility of a SKU.
      * 
@@ -686,8 +626,6 @@ public Builder setTransferEligibility(com.google.cloud.channel.v1.TransferEligib return this; } /** - * - * *
      * Describes the transfer eligibility of a SKU.
      * 
@@ -706,8 +644,6 @@ public Builder setTransferEligibility( return this; } /** - * - * *
      * Describes the transfer eligibility of a SKU.
      * 
@@ -718,9 +654,7 @@ public Builder mergeTransferEligibility(com.google.cloud.channel.v1.TransferElig if (transferEligibilityBuilder_ == null) { if (transferEligibility_ != null) { transferEligibility_ = - com.google.cloud.channel.v1.TransferEligibility.newBuilder(transferEligibility_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.TransferEligibility.newBuilder(transferEligibility_).mergeFrom(value).buildPartial(); } else { transferEligibility_ = value; } @@ -732,8 +666,6 @@ public Builder mergeTransferEligibility(com.google.cloud.channel.v1.TransferElig return this; } /** - * - * *
      * Describes the transfer eligibility of a SKU.
      * 
@@ -752,8 +684,6 @@ public Builder clearTransferEligibility() { return this; } /** - * - * *
      * Describes the transfer eligibility of a SKU.
      * 
@@ -761,32 +691,26 @@ public Builder clearTransferEligibility() { * .google.cloud.channel.v1.TransferEligibility transfer_eligibility = 9; */ public com.google.cloud.channel.v1.TransferEligibility.Builder getTransferEligibilityBuilder() { - + onChanged(); return getTransferEligibilityFieldBuilder().getBuilder(); } /** - * - * *
      * Describes the transfer eligibility of a SKU.
      * 
* * .google.cloud.channel.v1.TransferEligibility transfer_eligibility = 9; */ - public com.google.cloud.channel.v1.TransferEligibilityOrBuilder - getTransferEligibilityOrBuilder() { + public com.google.cloud.channel.v1.TransferEligibilityOrBuilder getTransferEligibilityOrBuilder() { if (transferEligibilityBuilder_ != null) { return transferEligibilityBuilder_.getMessageOrBuilder(); } else { - return transferEligibility_ == null - ? com.google.cloud.channel.v1.TransferEligibility.getDefaultInstance() - : transferEligibility_; + return transferEligibility_ == null ? + com.google.cloud.channel.v1.TransferEligibility.getDefaultInstance() : transferEligibility_; } } /** - * - * *
      * Describes the transfer eligibility of a SKU.
      * 
@@ -794,17 +718,14 @@ public com.google.cloud.channel.v1.TransferEligibility.Builder getTransferEligib * .google.cloud.channel.v1.TransferEligibility transfer_eligibility = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.TransferEligibility, - com.google.cloud.channel.v1.TransferEligibility.Builder, - com.google.cloud.channel.v1.TransferEligibilityOrBuilder> + com.google.cloud.channel.v1.TransferEligibility, com.google.cloud.channel.v1.TransferEligibility.Builder, com.google.cloud.channel.v1.TransferEligibilityOrBuilder> getTransferEligibilityFieldBuilder() { if (transferEligibilityBuilder_ == null) { - transferEligibilityBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.TransferEligibility, - com.google.cloud.channel.v1.TransferEligibility.Builder, - com.google.cloud.channel.v1.TransferEligibilityOrBuilder>( - getTransferEligibility(), getParentForChildren(), isClean()); + transferEligibilityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.TransferEligibility, com.google.cloud.channel.v1.TransferEligibility.Builder, com.google.cloud.channel.v1.TransferEligibilityOrBuilder>( + getTransferEligibility(), + getParentForChildren(), + isClean()); transferEligibility_ = null; } return transferEligibilityBuilder_; @@ -812,33 +733,24 @@ public com.google.cloud.channel.v1.TransferEligibility.Builder getTransferEligib private com.google.cloud.channel.v1.Sku sku_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Sku, - com.google.cloud.channel.v1.Sku.Builder, - com.google.cloud.channel.v1.SkuOrBuilder> - skuBuilder_; + com.google.cloud.channel.v1.Sku, com.google.cloud.channel.v1.Sku.Builder, com.google.cloud.channel.v1.SkuOrBuilder> skuBuilder_; /** - * - * *
      * The SKU pertaining to the provisioning resource as specified in the Offer.
      * 
* * .google.cloud.channel.v1.Sku sku = 11; - * * @return Whether the sku field is set. */ public boolean hasSku() { return skuBuilder_ != null || sku_ != null; } /** - * - * *
      * The SKU pertaining to the provisioning resource as specified in the Offer.
      * 
* * .google.cloud.channel.v1.Sku sku = 11; - * * @return The sku. */ public com.google.cloud.channel.v1.Sku getSku() { @@ -849,8 +761,6 @@ public com.google.cloud.channel.v1.Sku getSku() { } } /** - * - * *
      * The SKU pertaining to the provisioning resource as specified in the Offer.
      * 
@@ -871,15 +781,14 @@ public Builder setSku(com.google.cloud.channel.v1.Sku value) { return this; } /** - * - * *
      * The SKU pertaining to the provisioning resource as specified in the Offer.
      * 
* * .google.cloud.channel.v1.Sku sku = 11; */ - public Builder setSku(com.google.cloud.channel.v1.Sku.Builder builderForValue) { + public Builder setSku( + com.google.cloud.channel.v1.Sku.Builder builderForValue) { if (skuBuilder_ == null) { sku_ = builderForValue.build(); onChanged(); @@ -890,8 +799,6 @@ public Builder setSku(com.google.cloud.channel.v1.Sku.Builder builderForValue) { return this; } /** - * - * *
      * The SKU pertaining to the provisioning resource as specified in the Offer.
      * 
@@ -901,7 +808,8 @@ public Builder setSku(com.google.cloud.channel.v1.Sku.Builder builderForValue) { public Builder mergeSku(com.google.cloud.channel.v1.Sku value) { if (skuBuilder_ == null) { if (sku_ != null) { - sku_ = com.google.cloud.channel.v1.Sku.newBuilder(sku_).mergeFrom(value).buildPartial(); + sku_ = + com.google.cloud.channel.v1.Sku.newBuilder(sku_).mergeFrom(value).buildPartial(); } else { sku_ = value; } @@ -913,8 +821,6 @@ public Builder mergeSku(com.google.cloud.channel.v1.Sku value) { return this; } /** - * - * *
      * The SKU pertaining to the provisioning resource as specified in the Offer.
      * 
@@ -933,8 +839,6 @@ public Builder clearSku() { return this; } /** - * - * *
      * The SKU pertaining to the provisioning resource as specified in the Offer.
      * 
@@ -942,13 +846,11 @@ public Builder clearSku() { * .google.cloud.channel.v1.Sku sku = 11; */ public com.google.cloud.channel.v1.Sku.Builder getSkuBuilder() { - + onChanged(); return getSkuFieldBuilder().getBuilder(); } /** - * - * *
      * The SKU pertaining to the provisioning resource as specified in the Offer.
      * 
@@ -959,12 +861,11 @@ public com.google.cloud.channel.v1.SkuOrBuilder getSkuOrBuilder() { if (skuBuilder_ != null) { return skuBuilder_.getMessageOrBuilder(); } else { - return sku_ == null ? com.google.cloud.channel.v1.Sku.getDefaultInstance() : sku_; + return sku_ == null ? + com.google.cloud.channel.v1.Sku.getDefaultInstance() : sku_; } } /** - * - * *
      * The SKU pertaining to the provisioning resource as specified in the Offer.
      * 
@@ -972,17 +873,14 @@ public com.google.cloud.channel.v1.SkuOrBuilder getSkuOrBuilder() { * .google.cloud.channel.v1.Sku sku = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Sku, - com.google.cloud.channel.v1.Sku.Builder, - com.google.cloud.channel.v1.SkuOrBuilder> + com.google.cloud.channel.v1.Sku, com.google.cloud.channel.v1.Sku.Builder, com.google.cloud.channel.v1.SkuOrBuilder> getSkuFieldBuilder() { if (skuBuilder_ == null) { - skuBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Sku, - com.google.cloud.channel.v1.Sku.Builder, - com.google.cloud.channel.v1.SkuOrBuilder>( - getSku(), getParentForChildren(), isClean()); + skuBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Sku, com.google.cloud.channel.v1.Sku.Builder, com.google.cloud.channel.v1.SkuOrBuilder>( + getSku(), + getParentForChildren(), + isClean()); sku_ = null; } return skuBuilder_; @@ -990,55 +888,42 @@ public com.google.cloud.channel.v1.SkuOrBuilder getSkuOrBuilder() { private com.google.cloud.channel.v1.Sku legacySku_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Sku, - com.google.cloud.channel.v1.Sku.Builder, - com.google.cloud.channel.v1.SkuOrBuilder> - legacySkuBuilder_; + com.google.cloud.channel.v1.Sku, com.google.cloud.channel.v1.Sku.Builder, com.google.cloud.channel.v1.SkuOrBuilder> legacySkuBuilder_; /** - * - * *
-     * Optional. The customer to transfer has an entitlement with the populated legacy SKU.
+     * Optional. The customer to transfer has an entitlement with the populated
+     * legacy SKU.
      * 
* - * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the legacySku field is set. */ public boolean hasLegacySku() { return legacySkuBuilder_ != null || legacySku_ != null; } /** - * - * *
-     * Optional. The customer to transfer has an entitlement with the populated legacy SKU.
+     * Optional. The customer to transfer has an entitlement with the populated
+     * legacy SKU.
      * 
* - * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The legacySku. */ public com.google.cloud.channel.v1.Sku getLegacySku() { if (legacySkuBuilder_ == null) { - return legacySku_ == null - ? com.google.cloud.channel.v1.Sku.getDefaultInstance() - : legacySku_; + return legacySku_ == null ? com.google.cloud.channel.v1.Sku.getDefaultInstance() : legacySku_; } else { return legacySkuBuilder_.getMessage(); } } /** - * - * *
-     * Optional. The customer to transfer has an entitlement with the populated legacy SKU.
+     * Optional. The customer to transfer has an entitlement with the populated
+     * legacy SKU.
      * 
* - * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setLegacySku(com.google.cloud.channel.v1.Sku value) { if (legacySkuBuilder_ == null) { @@ -1054,16 +939,15 @@ public Builder setLegacySku(com.google.cloud.channel.v1.Sku value) { return this; } /** - * - * *
-     * Optional. The customer to transfer has an entitlement with the populated legacy SKU.
+     * Optional. The customer to transfer has an entitlement with the populated
+     * legacy SKU.
      * 
* - * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setLegacySku(com.google.cloud.channel.v1.Sku.Builder builderForValue) { + public Builder setLegacySku( + com.google.cloud.channel.v1.Sku.Builder builderForValue) { if (legacySkuBuilder_ == null) { legacySku_ = builderForValue.build(); onChanged(); @@ -1074,22 +958,18 @@ public Builder setLegacySku(com.google.cloud.channel.v1.Sku.Builder builderForVa return this; } /** - * - * *
-     * Optional. The customer to transfer has an entitlement with the populated legacy SKU.
+     * Optional. The customer to transfer has an entitlement with the populated
+     * legacy SKU.
      * 
* - * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeLegacySku(com.google.cloud.channel.v1.Sku value) { if (legacySkuBuilder_ == null) { if (legacySku_ != null) { legacySku_ = - com.google.cloud.channel.v1.Sku.newBuilder(legacySku_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.Sku.newBuilder(legacySku_).mergeFrom(value).buildPartial(); } else { legacySku_ = value; } @@ -1101,14 +981,12 @@ public Builder mergeLegacySku(com.google.cloud.channel.v1.Sku value) { return this; } /** - * - * *
-     * Optional. The customer to transfer has an entitlement with the populated legacy SKU.
+     * Optional. The customer to transfer has an entitlement with the populated
+     * legacy SKU.
      * 
* - * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearLegacySku() { if (legacySkuBuilder_ == null) { @@ -1122,68 +1000,58 @@ public Builder clearLegacySku() { return this; } /** - * - * *
-     * Optional. The customer to transfer has an entitlement with the populated legacy SKU.
+     * Optional. The customer to transfer has an entitlement with the populated
+     * legacy SKU.
      * 
* - * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.channel.v1.Sku.Builder getLegacySkuBuilder() { - + onChanged(); return getLegacySkuFieldBuilder().getBuilder(); } /** - * - * *
-     * Optional. The customer to transfer has an entitlement with the populated legacy SKU.
+     * Optional. The customer to transfer has an entitlement with the populated
+     * legacy SKU.
      * 
* - * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.channel.v1.SkuOrBuilder getLegacySkuOrBuilder() { if (legacySkuBuilder_ != null) { return legacySkuBuilder_.getMessageOrBuilder(); } else { - return legacySku_ == null - ? com.google.cloud.channel.v1.Sku.getDefaultInstance() - : legacySku_; + return legacySku_ == null ? + com.google.cloud.channel.v1.Sku.getDefaultInstance() : legacySku_; } } /** - * - * *
-     * Optional. The customer to transfer has an entitlement with the populated legacy SKU.
+     * Optional. The customer to transfer has an entitlement with the populated
+     * legacy SKU.
      * 
* - * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Sku, - com.google.cloud.channel.v1.Sku.Builder, - com.google.cloud.channel.v1.SkuOrBuilder> + com.google.cloud.channel.v1.Sku, com.google.cloud.channel.v1.Sku.Builder, com.google.cloud.channel.v1.SkuOrBuilder> getLegacySkuFieldBuilder() { if (legacySkuBuilder_ == null) { - legacySkuBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Sku, - com.google.cloud.channel.v1.Sku.Builder, - com.google.cloud.channel.v1.SkuOrBuilder>( - getLegacySku(), getParentForChildren(), isClean()); + legacySkuBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Sku, com.google.cloud.channel.v1.Sku.Builder, com.google.cloud.channel.v1.SkuOrBuilder>( + getLegacySku(), + getParentForChildren(), + isClean()); legacySku_ = null; } return legacySkuBuilder_; } - @java.lang.Override - 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,12 +1061,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.TransferableSku) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.TransferableSku) private static final com.google.cloud.channel.v1.TransferableSku DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.TransferableSku(); } @@ -1207,27 +1075,27 @@ public static com.google.cloud.channel.v1.TransferableSku getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferableSku parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferableSku parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1242,4 +1110,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.TransferableSku getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSkuOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSkuOrBuilder.java similarity index 72% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSkuOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSkuOrBuilder.java index 0a4094447b07..e240f54aef12 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSkuOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSkuOrBuilder.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/cloud/channel/v1/entitlements.proto package com.google.cloud.channel.v1; -public interface TransferableSkuOrBuilder - extends +public interface TransferableSkuOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.TransferableSku) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Describes the transfer eligibility of a SKU.
    * 
* * .google.cloud.channel.v1.TransferEligibility transfer_eligibility = 9; - * * @return Whether the transferEligibility field is set. */ boolean hasTransferEligibility(); /** - * - * *
    * Describes the transfer eligibility of a SKU.
    * 
* * .google.cloud.channel.v1.TransferEligibility transfer_eligibility = 9; - * * @return The transferEligibility. */ com.google.cloud.channel.v1.TransferEligibility getTransferEligibility(); /** - * - * *
    * Describes the transfer eligibility of a SKU.
    * 
@@ -59,32 +35,24 @@ public interface TransferableSkuOrBuilder com.google.cloud.channel.v1.TransferEligibilityOrBuilder getTransferEligibilityOrBuilder(); /** - * - * *
    * The SKU pertaining to the provisioning resource as specified in the Offer.
    * 
* * .google.cloud.channel.v1.Sku sku = 11; - * * @return Whether the sku field is set. */ boolean hasSku(); /** - * - * *
    * The SKU pertaining to the provisioning resource as specified in the Offer.
    * 
* * .google.cloud.channel.v1.Sku sku = 11; - * * @return The sku. */ com.google.cloud.channel.v1.Sku getSku(); /** - * - * *
    * The SKU pertaining to the provisioning resource as specified in the Offer.
    * 
@@ -94,40 +62,32 @@ public interface TransferableSkuOrBuilder com.google.cloud.channel.v1.SkuOrBuilder getSkuOrBuilder(); /** - * - * *
-   * Optional. The customer to transfer has an entitlement with the populated legacy SKU.
+   * Optional. The customer to transfer has an entitlement with the populated
+   * legacy SKU.
    * 
* - * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the legacySku field is set. */ boolean hasLegacySku(); /** - * - * *
-   * Optional. The customer to transfer has an entitlement with the populated legacy SKU.
+   * Optional. The customer to transfer has an entitlement with the populated
+   * legacy SKU.
    * 
* - * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The legacySku. */ com.google.cloud.channel.v1.Sku getLegacySku(); /** - * - * *
-   * Optional. The customer to transfer has an entitlement with the populated legacy SKU.
+   * Optional. The customer to transfer has an entitlement with the populated
+   * legacy SKU.
    * 
* - * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.channel.v1.SkuOrBuilder getLegacySkuOrBuilder(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettings.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettings.java similarity index 70% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettings.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettings.java index 2cd453e29a31..05c082374f50 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettings.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettings.java @@ -1,75 +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/cloud/channel/v1/entitlements.proto package com.google.cloud.channel.v1; /** - * - * *
  * Settings for trial offers.
  * 
* * Protobuf type {@code google.cloud.channel.v1.TrialSettings} */ -public final class TrialSettings extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TrialSettings extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.TrialSettings) TrialSettingsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TrialSettings.newBuilder() to construct. private TrialSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private TrialSettings() {} + private TrialSettings() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TrialSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_TrialSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_TrialSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_TrialSettings_fieldAccessorTable + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_TrialSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.TrialSettings.class, - com.google.cloud.channel.v1.TrialSettings.Builder.class); + com.google.cloud.channel.v1.TrialSettings.class, com.google.cloud.channel.v1.TrialSettings.Builder.class); } public static final int TRIAL_FIELD_NUMBER = 1; private boolean trial_; /** - * - * *
    * Determines if the entitlement is in a trial or not:
    * * `true` - The entitlement is in trial.
@@ -77,7 +57,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bool trial = 1; - * * @return The trial. */ @java.lang.Override @@ -88,8 +67,6 @@ public boolean getTrial() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Date when the trial ends. The value is in milliseconds
    * using the UNIX Epoch format. See an example [Epoch
@@ -97,7 +74,6 @@ public boolean getTrial() {
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -105,8 +81,6 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Date when the trial ends. The value is in milliseconds
    * using the UNIX Epoch format. See an example [Epoch
@@ -114,7 +88,6 @@ public boolean hasEndTime() {
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -122,8 +95,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Date when the trial ends. The value is in milliseconds
    * using the UNIX Epoch format. See an example [Epoch
@@ -138,7 +109,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -150,7 +120,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (trial_ != false) {
       output.writeBool(1, trial_);
     }
@@ -167,10 +138,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (trial_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, trial_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(1, trial_);
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getEndTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -180,18 +153,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.cloud.channel.v1.TrialSettings)) {
       return super.equals(obj);
     }
-    com.google.cloud.channel.v1.TrialSettings other =
-        (com.google.cloud.channel.v1.TrialSettings) obj;
+    com.google.cloud.channel.v1.TrialSettings other = (com.google.cloud.channel.v1.TrialSettings) obj;
 
-    if (getTrial() != other.getTrial()) return false;
+    if (getTrial()
+        != other.getTrial()) return false;
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime().equals(other.getEndTime())) return false;
+      if (!getEndTime()
+          .equals(other.getEndTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -205,7 +179,8 @@ public int hashCode() {
     int hash = 41;
     hash = (19 * hash) + getDescriptor().hashCode();
     hash = (37 * hash) + TRIAL_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getTrial());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getTrial());
     if (hasEndTime()) {
       hash = (37 * hash) + END_TIME_FIELD_NUMBER;
       hash = (53 * hash) + getEndTime().hashCode();
@@ -215,136 +190,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.channel.v1.TrialSettings parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.channel.v1.TrialSettings parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.channel.v1.TrialSettings parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.channel.v1.TrialSettings parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.channel.v1.TrialSettings parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.channel.v1.TrialSettings parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.channel.v1.TrialSettings parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.channel.v1.TrialSettings 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.cloud.channel.v1.TrialSettings parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.channel.v1.TrialSettings parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.channel.v1.TrialSettings parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.channel.v1.TrialSettings parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.channel.v1.TrialSettings parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.channel.v1.TrialSettings parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.channel.v1.TrialSettings prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Settings for trial offers.
    * 
* * Protobuf type {@code google.cloud.channel.v1.TrialSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.TrialSettings) com.google.cloud.channel.v1.TrialSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_TrialSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_TrialSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_TrialSettings_fieldAccessorTable + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_TrialSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.TrialSettings.class, - com.google.cloud.channel.v1.TrialSettings.Builder.class); + com.google.cloud.channel.v1.TrialSettings.class, com.google.cloud.channel.v1.TrialSettings.Builder.class); } // Construct using com.google.cloud.channel.v1.TrialSettings.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -360,9 +329,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.EntitlementsProto - .internal_static_google_cloud_channel_v1_TrialSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_TrialSettings_descriptor; } @java.lang.Override @@ -381,8 +350,7 @@ public com.google.cloud.channel.v1.TrialSettings build() { @java.lang.Override public com.google.cloud.channel.v1.TrialSettings buildPartial() { - com.google.cloud.channel.v1.TrialSettings result = - new com.google.cloud.channel.v1.TrialSettings(this); + com.google.cloud.channel.v1.TrialSettings result = new com.google.cloud.channel.v1.TrialSettings(this); result.trial_ = trial_; if (endTimeBuilder_ == null) { result.endTime_ = endTime_; @@ -397,39 +365,38 @@ public com.google.cloud.channel.v1.TrialSettings 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.cloud.channel.v1.TrialSettings) { - return mergeFrom((com.google.cloud.channel.v1.TrialSettings) other); + return mergeFrom((com.google.cloud.channel.v1.TrialSettings)other); } else { super.mergeFrom(other); return this; @@ -470,25 +437,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - trial_ = input.readBool(); - - break; - } // case 8 - case 18: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + trial_ = input.readBool(); + + break; + } // case 8 + case 18: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -499,10 +465,8 @@ public Builder mergeFrom( return this; } - private boolean trial_; + private boolean trial_ ; /** - * - * *
      * Determines if the entitlement is in a trial or not:
      * * `true` - The entitlement is in trial.
@@ -510,7 +474,6 @@ public Builder mergeFrom(
      * 
* * bool trial = 1; - * * @return The trial. */ @java.lang.Override @@ -518,8 +481,6 @@ public boolean getTrial() { return trial_; } /** - * - * *
      * Determines if the entitlement is in a trial or not:
      * * `true` - The entitlement is in trial.
@@ -527,19 +488,16 @@ public boolean getTrial() {
      * 
* * bool trial = 1; - * * @param value The trial to set. * @return This builder for chaining. */ public Builder setTrial(boolean value) { - + trial_ = value; onChanged(); return this; } /** - * - * *
      * Determines if the entitlement is in a trial or not:
      * * `true` - The entitlement is in trial.
@@ -547,11 +505,10 @@ public Builder setTrial(boolean value) {
      * 
* * bool trial = 1; - * * @return This builder for chaining. */ public Builder clearTrial() { - + trial_ = false; onChanged(); return this; @@ -559,13 +516,8 @@ public Builder clearTrial() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * Date when the trial ends. The value is in milliseconds
      * using the UNIX Epoch format. See an example [Epoch
@@ -573,15 +525,12 @@ public Builder clearTrial() {
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * Date when the trial ends. The value is in milliseconds
      * using the UNIX Epoch format. See an example [Epoch
@@ -589,7 +538,6 @@ public boolean hasEndTime() {
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -600,8 +548,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Date when the trial ends. The value is in milliseconds
      * using the UNIX Epoch format. See an example [Epoch
@@ -624,8 +570,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Date when the trial ends. The value is in milliseconds
      * using the UNIX Epoch format. See an example [Epoch
@@ -634,7 +578,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 2;
      */
-    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
         onChanged();
@@ -645,8 +590,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * Date when the trial ends. The value is in milliseconds
      * using the UNIX Epoch format. See an example [Epoch
@@ -659,7 +602,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-              com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -671,8 +614,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Date when the trial ends. The value is in milliseconds
      * using the UNIX Epoch format. See an example [Epoch
@@ -693,8 +634,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Date when the trial ends. The value is in milliseconds
      * using the UNIX Epoch format. See an example [Epoch
@@ -704,13 +643,11 @@ public Builder clearEndTime() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-
+      
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Date when the trial ends. The value is in milliseconds
      * using the UNIX Epoch format. See an example [Epoch
@@ -723,12 +660,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Date when the trial ends. The value is in milliseconds
      * using the UNIX Epoch format. See an example [Epoch
@@ -738,24 +674,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_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> 
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(), getParentForChildren(), isClean());
+        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(),
+                getParentForChildren(),
+                isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -765,12 +698,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.TrialSettings)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.TrialSettings)
   private static final com.google.cloud.channel.v1.TrialSettings DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.channel.v1.TrialSettings();
   }
@@ -779,27 +712,27 @@ public static com.google.cloud.channel.v1.TrialSettings getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public TrialSettings parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public TrialSettings parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -814,4 +747,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.channel.v1.TrialSettings getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettingsOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettingsOrBuilder.java
similarity index 68%
rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettingsOrBuilder.java
rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettingsOrBuilder.java
index a8754d020e6f..87b533db37cd 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettingsOrBuilder.java
+++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettingsOrBuilder.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/cloud/channel/v1/entitlements.proto
 
 package com.google.cloud.channel.v1;
 
-public interface TrialSettingsOrBuilder
-    extends
+public interface TrialSettingsOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.TrialSettings)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Determines if the entitlement is in a trial or not:
    * * `true` - The entitlement is in trial.
@@ -33,14 +15,11 @@ public interface TrialSettingsOrBuilder
    * 
* * bool trial = 1; - * * @return The trial. */ boolean getTrial(); /** - * - * *
    * Date when the trial ends. The value is in milliseconds
    * using the UNIX Epoch format. See an example [Epoch
@@ -48,13 +27,10 @@ public interface TrialSettingsOrBuilder
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Date when the trial ends. The value is in milliseconds
    * using the UNIX Epoch format. See an example [Epoch
@@ -62,13 +38,10 @@ public interface TrialSettingsOrBuilder
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Date when the trial ends. The value is in milliseconds
    * using the UNIX Epoch format. See an example [Epoch
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequest.java
similarity index 67%
rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequest.java
rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequest.java
index 4b496d4590b8..b5876453fc60 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequest.java
+++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequest.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/cloud/channel/v1/service.proto
 
 package com.google.cloud.channel.v1;
 
 /**
- *
- *
  * 
  * Request Message for UnregisterSubscriber.
  * 
* * Protobuf type {@code google.cloud.channel.v1.UnregisterSubscriberRequest} */ -public final class UnregisterSubscriberRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UnregisterSubscriberRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.UnregisterSubscriberRequest) UnregisterSubscriberRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UnregisterSubscriberRequest.newBuilder() to construct. private UnregisterSubscriberRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UnregisterSubscriberRequest() { account_ = ""; serviceAccount_ = ""; @@ -44,41 +26,37 @@ private UnregisterSubscriberRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UnregisterSubscriberRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.UnregisterSubscriberRequest.class, - com.google.cloud.channel.v1.UnregisterSubscriberRequest.Builder.class); + com.google.cloud.channel.v1.UnregisterSubscriberRequest.class, com.google.cloud.channel.v1.UnregisterSubscriberRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private volatile java.lang.Object account_; /** - * - * *
    * Required. Resource name of the account.
    * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The account. */ @java.lang.Override @@ -87,29 +65,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. Resource name of the account.
    * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -120,14 +98,12 @@ public com.google.protobuf.ByteString getAccountBytes() { public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 2; private volatile java.lang.Object serviceAccount_; /** - * - * *
-   * Required. Service account to unregister from subscriber access to the topic.
+   * Required. Service account to unregister from subscriber access to the
+   * topic.
    * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceAccount. */ @java.lang.Override @@ -136,29 +112,30 @@ public java.lang.String getServiceAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; } } /** - * - * *
-   * Required. Service account to unregister from subscriber access to the topic.
+   * Required. Service account to unregister from subscriber access to the
+   * topic.
    * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountBytes() { + public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -167,7 +144,6 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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(account_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, account_); } @@ -209,16 +186,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.cloud.channel.v1.UnregisterSubscriberRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.UnregisterSubscriberRequest other = - (com.google.cloud.channel.v1.UnregisterSubscriberRequest) obj; + com.google.cloud.channel.v1.UnregisterSubscriberRequest other = (com.google.cloud.channel.v1.UnregisterSubscriberRequest) obj; - if (!getAccount().equals(other.getAccount())) return false; - if (!getServiceAccount().equals(other.getServiceAccount())) return false; + if (!getAccount() + .equals(other.getAccount())) return false; + if (!getServiceAccount() + .equals(other.getServiceAccount())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -240,136 +218,129 @@ public int hashCode() { } public static com.google.cloud.channel.v1.UnregisterSubscriberRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.UnregisterSubscriberRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.UnregisterSubscriberRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.UnregisterSubscriberRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.UnregisterSubscriberRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.UnregisterSubscriberRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.UnregisterSubscriberRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.UnregisterSubscriberRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.UnregisterSubscriberRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.UnregisterSubscriberRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.UnregisterSubscriberRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.UnregisterSubscriberRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.UnregisterSubscriberRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.UnregisterSubscriberRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.UnregisterSubscriberRequest prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.UnregisterSubscriberRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request Message for UnregisterSubscriber.
    * 
* * Protobuf type {@code google.cloud.channel.v1.UnregisterSubscriberRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.UnregisterSubscriberRequest) com.google.cloud.channel.v1.UnregisterSubscriberRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.UnregisterSubscriberRequest.class, - com.google.cloud.channel.v1.UnregisterSubscriberRequest.Builder.class); + com.google.cloud.channel.v1.UnregisterSubscriberRequest.class, com.google.cloud.channel.v1.UnregisterSubscriberRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.UnregisterSubscriberRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -381,9 +352,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_descriptor; } @java.lang.Override @@ -402,8 +373,7 @@ public com.google.cloud.channel.v1.UnregisterSubscriberRequest build() { @java.lang.Override public com.google.cloud.channel.v1.UnregisterSubscriberRequest buildPartial() { - com.google.cloud.channel.v1.UnregisterSubscriberRequest result = - new com.google.cloud.channel.v1.UnregisterSubscriberRequest(this); + com.google.cloud.channel.v1.UnregisterSubscriberRequest result = new com.google.cloud.channel.v1.UnregisterSubscriberRequest(this); result.account_ = account_; result.serviceAccount_ = serviceAccount_; onBuilt(); @@ -414,39 +384,38 @@ public com.google.cloud.channel.v1.UnregisterSubscriberRequest 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.cloud.channel.v1.UnregisterSubscriberRequest) { - return mergeFrom((com.google.cloud.channel.v1.UnregisterSubscriberRequest) other); + return mergeFrom((com.google.cloud.channel.v1.UnregisterSubscriberRequest)other); } else { super.mergeFrom(other); return this; @@ -454,8 +423,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.UnregisterSubscriberRequest other) { - if (other == com.google.cloud.channel.v1.UnregisterSubscriberRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.UnregisterSubscriberRequest.getDefaultInstance()) return this; if (!other.getAccount().isEmpty()) { account_ = other.account_; onChanged(); @@ -490,25 +458,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - account_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - serviceAccount_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + account_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + serviceAccount_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -521,20 +486,18 @@ public Builder mergeFrom( private java.lang.Object account_ = ""; /** - * - * *
      * Required. Resource name of the account.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -543,21 +506,20 @@ public java.lang.String getAccount() { } } /** - * - * *
      * Required. Resource name of the account.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -565,61 +527,54 @@ public com.google.protobuf.ByteString getAccountBytes() { } } /** - * - * *
      * Required. Resource name of the account.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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. Resource name of the account.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearAccount() { - + account_ = getDefaultInstance().getAccount(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the account.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -627,20 +582,19 @@ public Builder setAccountBytes(com.google.protobuf.ByteString value) { private java.lang.Object serviceAccount_ = ""; /** - * - * *
-     * Required. Service account to unregister from subscriber access to the topic.
+     * Required. Service account to unregister from subscriber access to the
+     * topic.
      * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; @@ -649,21 +603,21 @@ public java.lang.String getServiceAccount() { } } /** - * - * *
-     * Required. Service account to unregister from subscriber access to the topic.
+     * Required. Service account to unregister from subscriber access to the
+     * topic.
      * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString getServiceAccountBytes() { + public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -671,68 +625,64 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { } } /** - * - * *
-     * Required. Service account to unregister from subscriber access to the topic.
+     * Required. Service account to unregister from subscriber access to the
+     * topic.
      * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount(java.lang.String value) { + public Builder setServiceAccount( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccount_ = value; onChanged(); return this; } /** - * - * *
-     * Required. Service account to unregister from subscriber access to the topic.
+     * Required. Service account to unregister from subscriber access to the
+     * topic.
      * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearServiceAccount() { - + serviceAccount_ = getDefaultInstance().getServiceAccount(); onChanged(); return this; } /** - * - * *
-     * Required. Service account to unregister from subscriber access to the topic.
+     * Required. Service account to unregister from subscriber access to the
+     * topic.
      * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { + public Builder setServiceAccountBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccount_ = 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); } @@ -742,12 +692,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.UnregisterSubscriberRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.UnregisterSubscriberRequest) private static final com.google.cloud.channel.v1.UnregisterSubscriberRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.UnregisterSubscriberRequest(); } @@ -756,27 +706,27 @@ public static com.google.cloud.channel.v1.UnregisterSubscriberRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UnregisterSubscriberRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UnregisterSubscriberRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -791,4 +741,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.channel.v1.UnregisterSubscriberRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequestOrBuilder.java similarity index 58% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequestOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequestOrBuilder.java index f19241ef2f18..380079f40aa5 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequestOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequestOrBuilder.java @@ -1,75 +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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface UnregisterSubscriberRequestOrBuilder - extends +public interface UnregisterSubscriberRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.UnregisterSubscriberRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the account.
    * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The account. */ java.lang.String getAccount(); /** - * - * *
    * Required. Resource name of the account.
    * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for account. */ - com.google.protobuf.ByteString getAccountBytes(); + com.google.protobuf.ByteString + getAccountBytes(); /** - * - * *
-   * Required. Service account to unregister from subscriber access to the topic.
+   * Required. Service account to unregister from subscriber access to the
+   * topic.
    * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** - * - * *
-   * Required. Service account to unregister from subscriber access to the topic.
+   * Required. Service account to unregister from subscriber access to the
+   * topic.
    * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString getServiceAccountBytes(); + com.google.protobuf.ByteString + getServiceAccountBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponse.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponse.java similarity index 65% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponse.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponse.java index 50f1b882e345..a962d3c90720 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponse.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponse.java @@ -1,83 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
  * Response Message for UnregisterSubscriber.
  * 
* * Protobuf type {@code google.cloud.channel.v1.UnregisterSubscriberResponse} */ -public final class UnregisterSubscriberResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UnregisterSubscriberResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.UnregisterSubscriberResponse) UnregisterSubscriberResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UnregisterSubscriberResponse.newBuilder() to construct. private UnregisterSubscriberResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UnregisterSubscriberResponse() { topic_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UnregisterSubscriberResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.UnregisterSubscriberResponse.class, - com.google.cloud.channel.v1.UnregisterSubscriberResponse.Builder.class); + com.google.cloud.channel.v1.UnregisterSubscriberResponse.class, com.google.cloud.channel.v1.UnregisterSubscriberResponse.Builder.class); } public static final int TOPIC_FIELD_NUMBER = 1; private volatile java.lang.Object topic_; /** - * - * *
    * Name of the topic the service account subscriber access was removed from.
    * 
* * string topic = 1; - * * @return The topic. */ @java.lang.Override @@ -86,29 +64,29 @@ public java.lang.String getTopic() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; } } /** - * - * *
    * Name of the topic the service account subscriber access was removed from.
    * 
* * string topic = 1; - * * @return The bytes for topic. */ @java.lang.Override - public com.google.protobuf.ByteString getTopicBytes() { + public com.google.protobuf.ByteString + getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); topic_ = b; return b; } else { @@ -117,7 +95,6 @@ public com.google.protobuf.ByteString getTopicBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -129,7 +106,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, topic_); } @@ -153,15 +131,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.UnregisterSubscriberResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.UnregisterSubscriberResponse other = - (com.google.cloud.channel.v1.UnregisterSubscriberResponse) obj; + com.google.cloud.channel.v1.UnregisterSubscriberResponse other = (com.google.cloud.channel.v1.UnregisterSubscriberResponse) obj; - if (!getTopic().equals(other.getTopic())) return false; + if (!getTopic() + .equals(other.getTopic())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -181,136 +159,129 @@ public int hashCode() { } public static com.google.cloud.channel.v1.UnregisterSubscriberResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.UnregisterSubscriberResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.UnregisterSubscriberResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.UnregisterSubscriberResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.UnregisterSubscriberResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.UnregisterSubscriberResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.UnregisterSubscriberResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.UnregisterSubscriberResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.UnregisterSubscriberResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.UnregisterSubscriberResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.UnregisterSubscriberResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.UnregisterSubscriberResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.UnregisterSubscriberResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.UnregisterSubscriberResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.UnregisterSubscriberResponse prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.UnregisterSubscriberResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 UnregisterSubscriber.
    * 
* * Protobuf type {@code google.cloud.channel.v1.UnregisterSubscriberResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.UnregisterSubscriberResponse) com.google.cloud.channel.v1.UnregisterSubscriberResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.UnregisterSubscriberResponse.class, - com.google.cloud.channel.v1.UnregisterSubscriberResponse.Builder.class); + com.google.cloud.channel.v1.UnregisterSubscriberResponse.class, com.google.cloud.channel.v1.UnregisterSubscriberResponse.Builder.class); } // Construct using com.google.cloud.channel.v1.UnregisterSubscriberResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -320,9 +291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_descriptor; } @java.lang.Override @@ -341,8 +312,7 @@ public com.google.cloud.channel.v1.UnregisterSubscriberResponse build() { @java.lang.Override public com.google.cloud.channel.v1.UnregisterSubscriberResponse buildPartial() { - com.google.cloud.channel.v1.UnregisterSubscriberResponse result = - new com.google.cloud.channel.v1.UnregisterSubscriberResponse(this); + com.google.cloud.channel.v1.UnregisterSubscriberResponse result = new com.google.cloud.channel.v1.UnregisterSubscriberResponse(this); result.topic_ = topic_; onBuilt(); return result; @@ -352,39 +322,38 @@ public com.google.cloud.channel.v1.UnregisterSubscriberResponse 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.cloud.channel.v1.UnregisterSubscriberResponse) { - return mergeFrom((com.google.cloud.channel.v1.UnregisterSubscriberResponse) other); + return mergeFrom((com.google.cloud.channel.v1.UnregisterSubscriberResponse)other); } else { super.mergeFrom(other); return this; @@ -392,8 +361,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.UnregisterSubscriberResponse other) { - if (other == com.google.cloud.channel.v1.UnregisterSubscriberResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.UnregisterSubscriberResponse.getDefaultInstance()) return this; if (!other.getTopic().isEmpty()) { topic_ = other.topic_; onChanged(); @@ -424,19 +392,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - topic_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + topic_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -449,20 +415,18 @@ public Builder mergeFrom( private java.lang.Object topic_ = ""; /** - * - * *
      * Name of the topic the service account subscriber access was removed from.
      * 
* * string topic = 1; - * * @return The topic. */ public java.lang.String getTopic() { java.lang.Object ref = topic_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; @@ -471,21 +435,20 @@ public java.lang.String getTopic() { } } /** - * - * *
      * Name of the topic the service account subscriber access was removed from.
      * 
* * string topic = 1; - * * @return The bytes for topic. */ - public com.google.protobuf.ByteString getTopicBytes() { + public com.google.protobuf.ByteString + getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); topic_ = b; return b; } else { @@ -493,68 +456,61 @@ public com.google.protobuf.ByteString getTopicBytes() { } } /** - * - * *
      * Name of the topic the service account subscriber access was removed from.
      * 
* * string topic = 1; - * * @param value The topic to set. * @return This builder for chaining. */ - public Builder setTopic(java.lang.String value) { + public Builder setTopic( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + topic_ = value; onChanged(); return this; } /** - * - * *
      * Name of the topic the service account subscriber access was removed from.
      * 
* * string topic = 1; - * * @return This builder for chaining. */ public Builder clearTopic() { - + topic_ = getDefaultInstance().getTopic(); onChanged(); return this; } /** - * - * *
      * Name of the topic the service account subscriber access was removed from.
      * 
* * string topic = 1; - * * @param value The bytes for topic to set. * @return This builder for chaining. */ - public Builder setTopicBytes(com.google.protobuf.ByteString value) { + public Builder setTopicBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + topic_ = 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 +520,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.UnregisterSubscriberResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.UnregisterSubscriberResponse) private static final com.google.cloud.channel.v1.UnregisterSubscriberResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.UnregisterSubscriberResponse(); } @@ -578,27 +534,27 @@ public static com.google.cloud.channel.v1.UnregisterSubscriberResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UnregisterSubscriberResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UnregisterSubscriberResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -613,4 +569,6 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.channel.v1.UnregisterSubscriberResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponseOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponseOrBuilder.java new file mode 100644 index 000000000000..6c5cf4f8ced4 --- /dev/null +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponseOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/service.proto + +package com.google.cloud.channel.v1; + +public interface UnregisterSubscriberResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.UnregisterSubscriberResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Name of the topic the service account subscriber access was removed from.
+   * 
+ * + * string topic = 1; + * @return The topic. + */ + java.lang.String getTopic(); + /** + *
+   * Name of the topic the service account subscriber access was removed from.
+   * 
+ * + * string topic = 1; + * @return The bytes for topic. + */ + com.google.protobuf.ByteString + getTopicBytes(); +} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequest.java similarity index 63% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequest.java index e1346d8736c8..5d80c878adab 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequest.java @@ -1,78 +1,57 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Request message for [CloudChannelService.UpdateChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.UpdateChannelPartnerLink]
+ * Request message for
+ * [CloudChannelService.UpdateChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.UpdateChannelPartnerLink]
  * 
* * Protobuf type {@code google.cloud.channel.v1.UpdateChannelPartnerLinkRequest} */ -public final class UpdateChannelPartnerLinkRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateChannelPartnerLinkRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.UpdateChannelPartnerLinkRequest) UpdateChannelPartnerLinkRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateChannelPartnerLinkRequest.newBuilder() to construct. - private UpdateChannelPartnerLinkRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateChannelPartnerLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateChannelPartnerLinkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateChannelPartnerLinkRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest.class, - com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest.Builder.class); + com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest.class, com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the channel partner link to cancel.
    * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -80,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -89,15 +67,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 resource name of the channel partner link to cancel.
    * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -105,15 +82,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -124,17 +102,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CHANNEL_PARTNER_LINK_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.ChannelPartnerLink channelPartnerLink_; /** - * - * *
-   * Required. The channel partner link to update. Only channel_partner_link.link_state
-   * is allowed for updates.
+   * Required. The channel partner link to update. Only
+   * channel_partner_link.link_state is allowed for updates.
    * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the channelPartnerLink field is set. */ @java.lang.Override @@ -142,36 +115,25 @@ public boolean hasChannelPartnerLink() { return channelPartnerLink_ != null; } /** - * - * *
-   * Required. The channel partner link to update. Only channel_partner_link.link_state
-   * is allowed for updates.
+   * Required. The channel partner link to update. Only
+   * channel_partner_link.link_state is allowed for updates.
    * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The channelPartnerLink. */ @java.lang.Override public com.google.cloud.channel.v1.ChannelPartnerLink getChannelPartnerLink() { - return channelPartnerLink_ == null - ? com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance() - : channelPartnerLink_; + return channelPartnerLink_ == null ? com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance() : channelPartnerLink_; } /** - * - * *
-   * Required. The channel partner link to update. Only channel_partner_link.link_state
-   * is allowed for updates.
+   * Required. The channel partner link to update. Only
+   * channel_partner_link.link_state is allowed for updates.
    * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartnerLinkOrBuilder() { @@ -181,17 +143,13 @@ public com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartner public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The update mask that applies to the resource.
    * The only allowable value for an update mask is
    * channel_partner_link.link_state.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -199,17 +157,13 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The update mask that applies to the resource.
    * The only allowable value for an update mask is
    * channel_partner_link.link_state.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -217,16 +171,13 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The update mask that applies to the resource.
    * The only allowable value for an update mask is
    * channel_partner_link.link_state.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -234,7 +185,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -246,7 +196,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -269,10 +220,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (channelPartnerLink_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getChannelPartnerLink()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getChannelPartnerLink()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -282,22 +235,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.cloud.channel.v1.UpdateChannelPartnerLinkRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest other = - (com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest) obj; + com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest other = (com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasChannelPartnerLink() != other.hasChannelPartnerLink()) return false; if (hasChannelPartnerLink()) { - if (!getChannelPartnerLink().equals(other.getChannelPartnerLink())) return false; + if (!getChannelPartnerLink() + .equals(other.getChannelPartnerLink())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -326,136 +281,130 @@ public int hashCode() { } public static com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Request message for [CloudChannelService.UpdateChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.UpdateChannelPartnerLink]
+   * Request message for
+   * [CloudChannelService.UpdateChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.UpdateChannelPartnerLink]
    * 
* * Protobuf type {@code google.cloud.channel.v1.UpdateChannelPartnerLinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.UpdateChannelPartnerLinkRequest) com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest.class, - com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest.Builder.class); + com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest.class, com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -477,9 +426,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_descriptor; } @java.lang.Override @@ -498,8 +447,7 @@ public com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest build() { @java.lang.Override public com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest buildPartial() { - com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest result = - new com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest(this); + com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest result = new com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest(this); result.name_ = name_; if (channelPartnerLinkBuilder_ == null) { result.channelPartnerLink_ = channelPartnerLink_; @@ -519,39 +467,38 @@ public com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest 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.cloud.channel.v1.UpdateChannelPartnerLinkRequest) { - return mergeFrom((com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest) other); + return mergeFrom((com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest)other); } else { super.mergeFrom(other); return this; @@ -559,8 +506,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest other) { - if (other == com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -597,32 +543,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); + case 10: { + name_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - input.readMessage( - getChannelPartnerLinkFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getChannelPartnerLinkFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 26: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -635,8 +580,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the channel partner link to cancel.
      * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -644,13 +587,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -659,8 +602,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the channel partner link to cancel.
      * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -668,14 +609,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -683,8 +625,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the channel partner link to cancel.
      * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -692,22 +632,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 channel partner link to cancel.
      * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -715,18 +653,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the channel partner link to cancel.
      * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -734,16 +669,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -751,61 +686,42 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.channel.v1.ChannelPartnerLink channelPartnerLink_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ChannelPartnerLink, - com.google.cloud.channel.v1.ChannelPartnerLink.Builder, - com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder> - channelPartnerLinkBuilder_; + com.google.cloud.channel.v1.ChannelPartnerLink, com.google.cloud.channel.v1.ChannelPartnerLink.Builder, com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder> channelPartnerLinkBuilder_; /** - * - * *
-     * Required. The channel partner link to update. Only channel_partner_link.link_state
-     * is allowed for updates.
+     * Required. The channel partner link to update. Only
+     * channel_partner_link.link_state is allowed for updates.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the channelPartnerLink field is set. */ public boolean hasChannelPartnerLink() { return channelPartnerLinkBuilder_ != null || channelPartnerLink_ != null; } /** - * - * *
-     * Required. The channel partner link to update. Only channel_partner_link.link_state
-     * is allowed for updates.
+     * Required. The channel partner link to update. Only
+     * channel_partner_link.link_state is allowed for updates.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The channelPartnerLink. */ public com.google.cloud.channel.v1.ChannelPartnerLink getChannelPartnerLink() { if (channelPartnerLinkBuilder_ == null) { - return channelPartnerLink_ == null - ? com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance() - : channelPartnerLink_; + return channelPartnerLink_ == null ? com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance() : channelPartnerLink_; } else { return channelPartnerLinkBuilder_.getMessage(); } } /** - * - * *
-     * Required. The channel partner link to update. Only channel_partner_link.link_state
-     * is allowed for updates.
+     * Required. The channel partner link to update. Only
+     * channel_partner_link.link_state is allowed for updates.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setChannelPartnerLink(com.google.cloud.channel.v1.ChannelPartnerLink value) { if (channelPartnerLinkBuilder_ == null) { @@ -821,16 +737,12 @@ public Builder setChannelPartnerLink(com.google.cloud.channel.v1.ChannelPartnerL return this; } /** - * - * *
-     * Required. The channel partner link to update. Only channel_partner_link.link_state
-     * is allowed for updates.
+     * Required. The channel partner link to update. Only
+     * channel_partner_link.link_state is allowed for updates.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setChannelPartnerLink( com.google.cloud.channel.v1.ChannelPartnerLink.Builder builderForValue) { @@ -844,24 +756,18 @@ public Builder setChannelPartnerLink( return this; } /** - * - * *
-     * Required. The channel partner link to update. Only channel_partner_link.link_state
-     * is allowed for updates.
+     * Required. The channel partner link to update. Only
+     * channel_partner_link.link_state is allowed for updates.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeChannelPartnerLink(com.google.cloud.channel.v1.ChannelPartnerLink value) { if (channelPartnerLinkBuilder_ == null) { if (channelPartnerLink_ != null) { channelPartnerLink_ = - com.google.cloud.channel.v1.ChannelPartnerLink.newBuilder(channelPartnerLink_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.ChannelPartnerLink.newBuilder(channelPartnerLink_).mergeFrom(value).buildPartial(); } else { channelPartnerLink_ = value; } @@ -873,16 +779,12 @@ public Builder mergeChannelPartnerLink(com.google.cloud.channel.v1.ChannelPartne return this; } /** - * - * *
-     * Required. The channel partner link to update. Only channel_partner_link.link_state
-     * is allowed for updates.
+     * Required. The channel partner link to update. Only
+     * channel_partner_link.link_state is allowed for updates.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearChannelPartnerLink() { if (channelPartnerLinkBuilder_ == null) { @@ -896,68 +798,51 @@ public Builder clearChannelPartnerLink() { return this; } /** - * - * *
-     * Required. The channel partner link to update. Only channel_partner_link.link_state
-     * is allowed for updates.
+     * Required. The channel partner link to update. Only
+     * channel_partner_link.link_state is allowed for updates.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.channel.v1.ChannelPartnerLink.Builder getChannelPartnerLinkBuilder() { - + onChanged(); return getChannelPartnerLinkFieldBuilder().getBuilder(); } /** - * - * *
-     * Required. The channel partner link to update. Only channel_partner_link.link_state
-     * is allowed for updates.
+     * Required. The channel partner link to update. Only
+     * channel_partner_link.link_state is allowed for updates.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder - getChannelPartnerLinkOrBuilder() { + public com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartnerLinkOrBuilder() { if (channelPartnerLinkBuilder_ != null) { return channelPartnerLinkBuilder_.getMessageOrBuilder(); } else { - return channelPartnerLink_ == null - ? com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance() - : channelPartnerLink_; + return channelPartnerLink_ == null ? + com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance() : channelPartnerLink_; } } /** - * - * *
-     * Required. The channel partner link to update. Only channel_partner_link.link_state
-     * is allowed for updates.
+     * Required. The channel partner link to update. Only
+     * channel_partner_link.link_state is allowed for updates.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ChannelPartnerLink, - com.google.cloud.channel.v1.ChannelPartnerLink.Builder, - com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder> + com.google.cloud.channel.v1.ChannelPartnerLink, com.google.cloud.channel.v1.ChannelPartnerLink.Builder, com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder> getChannelPartnerLinkFieldBuilder() { if (channelPartnerLinkBuilder_ == null) { - channelPartnerLinkBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ChannelPartnerLink, - com.google.cloud.channel.v1.ChannelPartnerLink.Builder, - com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder>( - getChannelPartnerLink(), getParentForChildren(), isClean()); + channelPartnerLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.ChannelPartnerLink, com.google.cloud.channel.v1.ChannelPartnerLink.Builder, com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder>( + getChannelPartnerLink(), + getParentForChildren(), + isClean()); channelPartnerLink_ = null; } return channelPartnerLinkBuilder_; @@ -965,61 +850,45 @@ public com.google.cloud.channel.v1.ChannelPartnerLink.Builder getChannelPartnerL 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 update mask that applies to the resource.
      * The only allowable value for an update mask is
      * channel_partner_link.link_state.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Required. The update mask that applies to the resource.
      * The only allowable value for an update mask is
      * channel_partner_link.link_state.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.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 update mask that applies to the resource.
      * The only allowable value for an update mask is
      * channel_partner_link.link_state.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -1035,18 +904,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The update mask that applies to the resource.
      * The only allowable value for an update mask is
      * channel_partner_link.link_state.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.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(); @@ -1057,22 +924,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The update mask that applies to the resource.
      * The only allowable value for an update mask is
      * channel_partner_link.link_state.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.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; } @@ -1084,16 +948,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The update mask that applies to the resource.
      * The only allowable value for an update mask is
      * channel_partner_link.link_state.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -1107,74 +968,61 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The update mask that applies to the resource.
      * The only allowable value for an update mask is
      * channel_partner_link.link_state.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The update mask that applies to the resource.
      * The only allowable value for an update mask is
      * channel_partner_link.link_state.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.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 update mask that applies to the resource.
      * The only allowable value for an update mask is
      * channel_partner_link.link_state.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.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); } @@ -1184,12 +1032,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.UpdateChannelPartnerLinkRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.UpdateChannelPartnerLinkRequest) private static final com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest(); } @@ -1198,27 +1046,27 @@ public static com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateChannelPartnerLinkRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateChannelPartnerLinkRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1233,4 +1081,6 @@ public com.google.protobuf.Parser getParserForT public com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequestOrBuilder.java similarity index 58% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequestOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequestOrBuilder.java index 614f2f0f5f7b..1ea5359d977d 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequestOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequestOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface UpdateChannelPartnerLinkRequestOrBuilder - extends +public interface UpdateChannelPartnerLinkRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.UpdateChannelPartnerLinkRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the channel partner link to cancel.
    * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -33,13 +15,10 @@ public interface UpdateChannelPartnerLinkRequestOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the channel partner link to cancel.
    * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -47,96 +26,71 @@ public interface UpdateChannelPartnerLinkRequestOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
-   * Required. The channel partner link to update. Only channel_partner_link.link_state
-   * is allowed for updates.
+   * Required. The channel partner link to update. Only
+   * channel_partner_link.link_state is allowed for updates.
    * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the channelPartnerLink field is set. */ boolean hasChannelPartnerLink(); /** - * - * *
-   * Required. The channel partner link to update. Only channel_partner_link.link_state
-   * is allowed for updates.
+   * Required. The channel partner link to update. Only
+   * channel_partner_link.link_state is allowed for updates.
    * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The channelPartnerLink. */ com.google.cloud.channel.v1.ChannelPartnerLink getChannelPartnerLink(); /** - * - * *
-   * Required. The channel partner link to update. Only channel_partner_link.link_state
-   * is allowed for updates.
+   * Required. The channel partner link to update. Only
+   * channel_partner_link.link_state is allowed for updates.
    * 
* - * - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartnerLinkOrBuilder(); /** - * - * *
    * Required. The update mask that applies to the resource.
    * The only allowable value for an update mask is
    * channel_partner_link.link_state.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. The update mask that applies to the resource.
    * The only allowable value for an update mask is
    * channel_partner_link.link_state.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. The update mask that applies to the resource.
    * The only allowable value for an update mask is
    * channel_partner_link.link_state.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequest.java similarity index 56% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequest.java index 757beb87dd50..98709b6a36d4 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
  * Request message for
  * [CloudChannelService.UpdateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.UpdateChannelPartnerRepricingConfig].
@@ -28,59 +11,51 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest}
  */
-public final class UpdateChannelPartnerRepricingConfigRequest
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateChannelPartnerRepricingConfigRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest)
     UpdateChannelPartnerRepricingConfigRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateChannelPartnerRepricingConfigRequest.newBuilder() to construct.
-  private UpdateChannelPartnerRepricingConfigRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private UpdateChannelPartnerRepricingConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UpdateChannelPartnerRepricingConfigRequest() {}
+  private UpdateChannelPartnerRepricingConfigRequest() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateChannelPartnerRepricingConfigRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto
-        .internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto
-        .internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest.class,
-            com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest.Builder.class);
+            com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest.class, com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest.Builder.class);
   }
 
   public static final int CHANNEL_PARTNER_REPRICING_CONFIG_FIELD_NUMBER = 1;
   private com.google.cloud.channel.v1.ChannelPartnerRepricingConfig channelPartnerRepricingConfig_;
   /**
-   *
-   *
    * 
    * Required. The ChannelPartnerRepricingConfig object to update.
    * 
* - * - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the channelPartnerRepricingConfig field is set. */ @java.lang.Override @@ -88,44 +63,30 @@ public boolean hasChannelPartnerRepricingConfig() { return channelPartnerRepricingConfig_ != null; } /** - * - * *
    * Required. The ChannelPartnerRepricingConfig object to update.
    * 
* - * - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The channelPartnerRepricingConfig. */ @java.lang.Override - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig - getChannelPartnerRepricingConfig() { - return channelPartnerRepricingConfig_ == null - ? com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance() - : channelPartnerRepricingConfig_; + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getChannelPartnerRepricingConfig() { + return channelPartnerRepricingConfig_ == null ? com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance() : channelPartnerRepricingConfig_; } /** - * - * *
    * Required. The ChannelPartnerRepricingConfig object to update.
    * 
* - * - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder - getChannelPartnerRepricingConfigOrBuilder() { + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder getChannelPartnerRepricingConfigOrBuilder() { return getChannelPartnerRepricingConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (channelPartnerRepricingConfig_ != null) { output.writeMessage(1, getChannelPartnerRepricingConfig()); } @@ -151,9 +113,8 @@ public int getSerializedSize() { size = 0; if (channelPartnerRepricingConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, getChannelPartnerRepricingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getChannelPartnerRepricingConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -163,19 +124,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest other = - (com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest) obj; + com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest other = (com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest) obj; - if (hasChannelPartnerRepricingConfig() != other.hasChannelPartnerRepricingConfig()) - return false; + if (hasChannelPartnerRepricingConfig() != other.hasChannelPartnerRepricingConfig()) return false; if (hasChannelPartnerRepricingConfig()) { - if (!getChannelPartnerRepricingConfig().equals(other.getChannelPartnerRepricingConfig())) - return false; + if (!getChannelPartnerRepricingConfig() + .equals(other.getChannelPartnerRepricingConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -198,105 +157,96 @@ public int hashCode() { } public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [CloudChannelService.UpdateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.UpdateChannelPartnerRepricingConfig].
@@ -304,33 +254,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest)
       com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto
-          .internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto
-          .internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest.class,
-              com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest.Builder.class);
+              com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest.class, com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest.newBuilder()
-    private Builder() {}
+    // Construct using com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -344,22 +294,19 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto
-          .internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest
-        getDefaultInstanceForType() {
-      return com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest
-          .getDefaultInstance();
+    public com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest getDefaultInstanceForType() {
+      return com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest.getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest build() {
-      com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest result =
-          buildPartial();
+      com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest result = buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -368,8 +315,7 @@ public com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest bu
 
     @java.lang.Override
     public com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest buildPartial() {
-      com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest result =
-          new com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest(this);
+      com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest result = new com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest(this);
       if (channelPartnerRepricingConfigBuilder_ == null) {
         result.channelPartnerRepricingConfig_ = channelPartnerRepricingConfig_;
       } else {
@@ -383,51 +329,46 @@ public com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest 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.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest) {
-        return mergeFrom(
-            (com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest) other);
+        return mergeFrom((com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest other) {
-      if (other
-          == com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest other) {
+      if (other == com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest.getDefaultInstance()) return this;
       if (other.hasChannelPartnerRepricingConfig()) {
         mergeChannelPartnerRepricingConfig(other.getChannelPartnerRepricingConfig());
       }
@@ -457,20 +398,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(
-                    getChannelPartnerRepricingConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getChannelPartnerRepricingConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -481,66 +421,43 @@ public Builder mergeFrom(
       return this;
     }
 
-    private com.google.cloud.channel.v1.ChannelPartnerRepricingConfig
-        channelPartnerRepricingConfig_;
+    private com.google.cloud.channel.v1.ChannelPartnerRepricingConfig channelPartnerRepricingConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.channel.v1.ChannelPartnerRepricingConfig,
-            com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder,
-            com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder>
-        channelPartnerRepricingConfigBuilder_;
+        com.google.cloud.channel.v1.ChannelPartnerRepricingConfig, com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder, com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder> channelPartnerRepricingConfigBuilder_;
     /**
-     *
-     *
      * 
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the channelPartnerRepricingConfig field is set. */ public boolean hasChannelPartnerRepricingConfig() { - return channelPartnerRepricingConfigBuilder_ != null - || channelPartnerRepricingConfig_ != null; + return channelPartnerRepricingConfigBuilder_ != null || channelPartnerRepricingConfig_ != null; } /** - * - * *
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The channelPartnerRepricingConfig. */ - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig - getChannelPartnerRepricingConfig() { + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getChannelPartnerRepricingConfig() { if (channelPartnerRepricingConfigBuilder_ == null) { - return channelPartnerRepricingConfig_ == null - ? com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance() - : channelPartnerRepricingConfig_; + return channelPartnerRepricingConfig_ == null ? com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance() : channelPartnerRepricingConfig_; } else { return channelPartnerRepricingConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setChannelPartnerRepricingConfig( - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig value) { + public Builder setChannelPartnerRepricingConfig(com.google.cloud.channel.v1.ChannelPartnerRepricingConfig value) { if (channelPartnerRepricingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -554,15 +471,11 @@ public Builder setChannelPartnerRepricingConfig( return this; } /** - * - * *
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setChannelPartnerRepricingConfig( com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder builderForValue) { @@ -576,25 +489,17 @@ public Builder setChannelPartnerRepricingConfig( return this; } /** - * - * *
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeChannelPartnerRepricingConfig( - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig value) { + public Builder mergeChannelPartnerRepricingConfig(com.google.cloud.channel.v1.ChannelPartnerRepricingConfig value) { if (channelPartnerRepricingConfigBuilder_ == null) { if (channelPartnerRepricingConfig_ != null) { channelPartnerRepricingConfig_ = - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.newBuilder( - channelPartnerRepricingConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.newBuilder(channelPartnerRepricingConfig_).mergeFrom(value).buildPartial(); } else { channelPartnerRepricingConfig_ = value; } @@ -606,15 +511,11 @@ public Builder mergeChannelPartnerRepricingConfig( return this; } /** - * - * *
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearChannelPartnerRepricingConfig() { if (channelPartnerRepricingConfigBuilder_ == null) { @@ -628,73 +529,55 @@ public Builder clearChannelPartnerRepricingConfig() { return this; } /** - * - * *
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder - getChannelPartnerRepricingConfigBuilder() { - + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder getChannelPartnerRepricingConfigBuilder() { + onChanged(); return getChannelPartnerRepricingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder - getChannelPartnerRepricingConfigOrBuilder() { + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder getChannelPartnerRepricingConfigOrBuilder() { if (channelPartnerRepricingConfigBuilder_ != null) { return channelPartnerRepricingConfigBuilder_.getMessageOrBuilder(); } else { - return channelPartnerRepricingConfig_ == null - ? com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance() - : channelPartnerRepricingConfig_; + return channelPartnerRepricingConfig_ == null ? + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance() : channelPartnerRepricingConfig_; } } /** - * - * *
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig, - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder, - com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder> + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig, com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder, com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder> getChannelPartnerRepricingConfigFieldBuilder() { if (channelPartnerRepricingConfigBuilder_ == null) { - channelPartnerRepricingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig, - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder, - com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder>( - getChannelPartnerRepricingConfig(), getParentForChildren(), isClean()); + channelPartnerRepricingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig, com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder, com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder>( + getChannelPartnerRepricingConfig(), + getParentForChildren(), + isClean()); channelPartnerRepricingConfig_ = null; } return channelPartnerRepricingConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -704,45 +587,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest) - private static final com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest(); } - public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest - getDefaultInstance() { + public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateChannelPartnerRepricingConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateChannelPartnerRepricingConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -754,8 +633,9 @@ public com.google.protobuf.Parser ge } @java.lang.Override - public com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest - getDefaultInstanceForType() { + public com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequestOrBuilder.java new file mode 100644 index 000000000000..7c766a8a5957 --- /dev/null +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequestOrBuilder.java @@ -0,0 +1,36 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/service.proto + +package com.google.cloud.channel.v1; + +public interface UpdateChannelPartnerRepricingConfigRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The ChannelPartnerRepricingConfig object to update.
+   * 
+ * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the channelPartnerRepricingConfig field is set. + */ + boolean hasChannelPartnerRepricingConfig(); + /** + *
+   * Required. The ChannelPartnerRepricingConfig object to update.
+   * 
+ * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The channelPartnerRepricingConfig. + */ + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getChannelPartnerRepricingConfig(); + /** + *
+   * Required. The ChannelPartnerRepricingConfig object to update.
+   * 
+ * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder getChannelPartnerRepricingConfigOrBuilder(); +} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequest.java similarity index 56% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequest.java index 0776731d1a84..59e8738c3298 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequest.java @@ -1,85 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Request message for [CloudChannelService.UpdateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.UpdateCustomerRepricingConfig].
+ * Request message for
+ * [CloudChannelService.UpdateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.UpdateCustomerRepricingConfig].
  * 
* * Protobuf type {@code google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest} */ -public final class UpdateCustomerRepricingConfigRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateCustomerRepricingConfigRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest) UpdateCustomerRepricingConfigRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateCustomerRepricingConfigRequest.newBuilder() to construct. - private UpdateCustomerRepricingConfigRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateCustomerRepricingConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateCustomerRepricingConfigRequest() {} + private UpdateCustomerRepricingConfigRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateCustomerRepricingConfigRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest.class, - com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest.Builder.class); + com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest.class, com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest.Builder.class); } public static final int CUSTOMER_REPRICING_CONFIG_FIELD_NUMBER = 1; private com.google.cloud.channel.v1.CustomerRepricingConfig customerRepricingConfig_; /** - * - * *
    * Required. The CustomerRepricingConfig object to update.
    * 
* - * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the customerRepricingConfig field is set. */ @java.lang.Override @@ -87,43 +63,30 @@ public boolean hasCustomerRepricingConfig() { return customerRepricingConfig_ != null; } /** - * - * *
    * Required. The CustomerRepricingConfig object to update.
    * 
* - * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The customerRepricingConfig. */ @java.lang.Override public com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingConfig() { - return customerRepricingConfig_ == null - ? com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance() - : customerRepricingConfig_; + return customerRepricingConfig_ == null ? com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance() : customerRepricingConfig_; } /** - * - * *
    * Required. The CustomerRepricingConfig object to update.
    * 
* - * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder - getCustomerRepricingConfigOrBuilder() { + public com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder getCustomerRepricingConfigOrBuilder() { return getCustomerRepricingConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (customerRepricingConfig_ != null) { output.writeMessage(1, getCustomerRepricingConfig()); } @@ -149,8 +113,8 @@ public int getSerializedSize() { size = 0; if (customerRepricingConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCustomerRepricingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCustomerRepricingConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -160,17 +124,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest other = - (com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest) obj; + com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest other = (com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest) obj; if (hasCustomerRepricingConfig() != other.hasCustomerRepricingConfig()) return false; if (hasCustomerRepricingConfig()) { - if (!getCustomerRepricingConfig().equals(other.getCustomerRepricingConfig())) return false; + if (!getCustomerRepricingConfig() + .equals(other.getCustomerRepricingConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -193,136 +157,130 @@ public int hashCode() { } public static com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest prototype) { + public static Builder newBuilder(com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Request message for [CloudChannelService.UpdateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.UpdateCustomerRepricingConfig].
+   * Request message for
+   * [CloudChannelService.UpdateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.UpdateCustomerRepricingConfig].
    * 
* * Protobuf type {@code google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest) com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest.class, - com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest.Builder.class); + com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest.class, com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -336,14 +294,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_descriptor; } @java.lang.Override - public com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest - getDefaultInstanceForType() { + public com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest getDefaultInstanceForType() { return com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest.getDefaultInstance(); } @@ -358,8 +315,7 @@ public com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest build() @java.lang.Override public com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest buildPartial() { - com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest result = - new com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest(this); + com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest result = new com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest(this); if (customerRepricingConfigBuilder_ == null) { result.customerRepricingConfig_ = customerRepricingConfig_; } else { @@ -373,50 +329,46 @@ public com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest 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.cloud.channel.v1.UpdateCustomerRepricingConfigRequest) { - return mergeFrom((com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest) other); + return mergeFrom((com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest other) { - if (other - == com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest other) { + if (other == com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest.getDefaultInstance()) return this; if (other.hasCustomerRepricingConfig()) { mergeCustomerRepricingConfig(other.getCustomerRepricingConfig()); } @@ -446,20 +398,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getCustomerRepricingConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getCustomerRepricingConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -472,61 +423,41 @@ public Builder mergeFrom( private com.google.cloud.channel.v1.CustomerRepricingConfig customerRepricingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CustomerRepricingConfig, - com.google.cloud.channel.v1.CustomerRepricingConfig.Builder, - com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder> - customerRepricingConfigBuilder_; + com.google.cloud.channel.v1.CustomerRepricingConfig, com.google.cloud.channel.v1.CustomerRepricingConfig.Builder, com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder> customerRepricingConfigBuilder_; /** - * - * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the customerRepricingConfig field is set. */ public boolean hasCustomerRepricingConfig() { return customerRepricingConfigBuilder_ != null || customerRepricingConfig_ != null; } /** - * - * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The customerRepricingConfig. */ public com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingConfig() { if (customerRepricingConfigBuilder_ == null) { - return customerRepricingConfig_ == null - ? com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance() - : customerRepricingConfig_; + return customerRepricingConfig_ == null ? com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance() : customerRepricingConfig_; } else { return customerRepricingConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCustomerRepricingConfig( - com.google.cloud.channel.v1.CustomerRepricingConfig value) { + public Builder setCustomerRepricingConfig(com.google.cloud.channel.v1.CustomerRepricingConfig value) { if (customerRepricingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -540,15 +471,11 @@ public Builder setCustomerRepricingConfig( return this; } /** - * - * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCustomerRepricingConfig( com.google.cloud.channel.v1.CustomerRepricingConfig.Builder builderForValue) { @@ -562,25 +489,17 @@ public Builder setCustomerRepricingConfig( return this; } /** - * - * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeCustomerRepricingConfig( - com.google.cloud.channel.v1.CustomerRepricingConfig value) { + public Builder mergeCustomerRepricingConfig(com.google.cloud.channel.v1.CustomerRepricingConfig value) { if (customerRepricingConfigBuilder_ == null) { if (customerRepricingConfig_ != null) { customerRepricingConfig_ = - com.google.cloud.channel.v1.CustomerRepricingConfig.newBuilder( - customerRepricingConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.CustomerRepricingConfig.newBuilder(customerRepricingConfig_).mergeFrom(value).buildPartial(); } else { customerRepricingConfig_ = value; } @@ -592,15 +511,11 @@ public Builder mergeCustomerRepricingConfig( return this; } /** - * - * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCustomerRepricingConfig() { if (customerRepricingConfigBuilder_ == null) { @@ -614,73 +529,55 @@ public Builder clearCustomerRepricingConfig() { return this; } /** - * - * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.channel.v1.CustomerRepricingConfig.Builder - getCustomerRepricingConfigBuilder() { - + public com.google.cloud.channel.v1.CustomerRepricingConfig.Builder getCustomerRepricingConfigBuilder() { + onChanged(); return getCustomerRepricingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder - getCustomerRepricingConfigOrBuilder() { + public com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder getCustomerRepricingConfigOrBuilder() { if (customerRepricingConfigBuilder_ != null) { return customerRepricingConfigBuilder_.getMessageOrBuilder(); } else { - return customerRepricingConfig_ == null - ? com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance() - : customerRepricingConfig_; + return customerRepricingConfig_ == null ? + com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance() : customerRepricingConfig_; } } /** - * - * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CustomerRepricingConfig, - com.google.cloud.channel.v1.CustomerRepricingConfig.Builder, - com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder> + com.google.cloud.channel.v1.CustomerRepricingConfig, com.google.cloud.channel.v1.CustomerRepricingConfig.Builder, com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder> getCustomerRepricingConfigFieldBuilder() { if (customerRepricingConfigBuilder_ == null) { - customerRepricingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CustomerRepricingConfig, - com.google.cloud.channel.v1.CustomerRepricingConfig.Builder, - com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder>( - getCustomerRepricingConfig(), getParentForChildren(), isClean()); + customerRepricingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.CustomerRepricingConfig, com.google.cloud.channel.v1.CustomerRepricingConfig.Builder, com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder>( + getCustomerRepricingConfig(), + getParentForChildren(), + isClean()); customerRepricingConfig_ = null; } return customerRepricingConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -690,43 +587,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest) - private static final com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest(); } - public static com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest - getDefaultInstance() { + public static com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateCustomerRepricingConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateCustomerRepricingConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -738,8 +633,9 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest - getDefaultInstanceForType() { + public com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequestOrBuilder.java new file mode 100644 index 000000000000..bb5ff65234fe --- /dev/null +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequestOrBuilder.java @@ -0,0 +1,36 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/service.proto + +package com.google.cloud.channel.v1; + +public interface UpdateCustomerRepricingConfigRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The CustomerRepricingConfig object to update.
+   * 
+ * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the customerRepricingConfig field is set. + */ + boolean hasCustomerRepricingConfig(); + /** + *
+   * Required. The CustomerRepricingConfig object to update.
+   * 
+ * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The customerRepricingConfig. + */ + com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingConfig(); + /** + *
+   * Required. The CustomerRepricingConfig object to update.
+   * 
+ * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder getCustomerRepricingConfigOrBuilder(); +} diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequest.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequest.java similarity index 64% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequest.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequest.java index af4ede870d4d..65580b3e5a2c 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequest.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequest.java @@ -1,82 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** - * - * *
- * Request message for [CloudChannelService.UpdateCustomer][google.cloud.channel.v1.CloudChannelService.UpdateCustomer].
+ * Request message for
+ * [CloudChannelService.UpdateCustomer][google.cloud.channel.v1.CloudChannelService.UpdateCustomer].
  * 
* * Protobuf type {@code google.cloud.channel.v1.UpdateCustomerRequest} */ -public final class UpdateCustomerRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateCustomerRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.UpdateCustomerRequest) UpdateCustomerRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateCustomerRequest.newBuilder() to construct. private UpdateCustomerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateCustomerRequest() {} + private UpdateCustomerRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateCustomerRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_UpdateCustomerRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateCustomerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_UpdateCustomerRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateCustomerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.UpdateCustomerRequest.class, - com.google.cloud.channel.v1.UpdateCustomerRequest.Builder.class); + com.google.cloud.channel.v1.UpdateCustomerRequest.class, com.google.cloud.channel.v1.UpdateCustomerRequest.Builder.class); } public static final int CUSTOMER_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.Customer customer_; /** - * - * *
    * Required. New contents of the customer.
    * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the customer field is set. */ @java.lang.Override @@ -84,32 +63,23 @@ public boolean hasCustomer() { return customer_ != null; } /** - * - * *
    * Required. New contents of the customer.
    * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The customer. */ @java.lang.Override public com.google.cloud.channel.v1.Customer getCustomer() { - return customer_ == null - ? com.google.cloud.channel.v1.Customer.getDefaultInstance() - : customer_; + return customer_ == null ? com.google.cloud.channel.v1.Customer.getDefaultInstance() : customer_; } /** - * - * *
    * Required. New contents of the customer.
    * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.channel.v1.CustomerOrBuilder getCustomerOrBuilder() { @@ -119,15 +89,12 @@ public com.google.cloud.channel.v1.CustomerOrBuilder getCustomerOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * The update mask that applies to the resource.
    * Optional.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -135,15 +102,12 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The update mask that applies to the resource.
    * Optional.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ @java.lang.Override @@ -151,8 +115,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The update mask that applies to the resource.
    * Optional.
@@ -166,7 +128,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -178,7 +139,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (customer_ != null) {
       output.writeMessage(2, getCustomer());
     }
@@ -195,10 +157,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (customer_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCustomer());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getCustomer());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -208,21 +172,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.cloud.channel.v1.UpdateCustomerRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.channel.v1.UpdateCustomerRequest other =
-        (com.google.cloud.channel.v1.UpdateCustomerRequest) obj;
+    com.google.cloud.channel.v1.UpdateCustomerRequest other = (com.google.cloud.channel.v1.UpdateCustomerRequest) obj;
 
     if (hasCustomer() != other.hasCustomer()) return false;
     if (hasCustomer()) {
-      if (!getCustomer().equals(other.getCustomer())) return false;
+      if (!getCustomer()
+          .equals(other.getCustomer())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -249,135 +214,130 @@ public int hashCode() {
   }
 
   public static com.google.cloud.channel.v1.UpdateCustomerRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.channel.v1.UpdateCustomerRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.channel.v1.UpdateCustomerRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.channel.v1.UpdateCustomerRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.channel.v1.UpdateCustomerRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.channel.v1.UpdateCustomerRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.channel.v1.UpdateCustomerRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.channel.v1.UpdateCustomerRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.channel.v1.UpdateCustomerRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.channel.v1.UpdateCustomerRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.channel.v1.UpdateCustomerRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.channel.v1.UpdateCustomerRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.channel.v1.UpdateCustomerRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.channel.v1.UpdateCustomerRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.channel.v1.UpdateCustomerRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
-   * Request message for [CloudChannelService.UpdateCustomer][google.cloud.channel.v1.CloudChannelService.UpdateCustomer].
+   * Request message for
+   * [CloudChannelService.UpdateCustomer][google.cloud.channel.v1.CloudChannelService.UpdateCustomer].
    * 
* * Protobuf type {@code google.cloud.channel.v1.UpdateCustomerRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.UpdateCustomerRequest) com.google.cloud.channel.v1.UpdateCustomerRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_UpdateCustomerRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateCustomerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_UpdateCustomerRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateCustomerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.UpdateCustomerRequest.class, - com.google.cloud.channel.v1.UpdateCustomerRequest.Builder.class); + com.google.cloud.channel.v1.UpdateCustomerRequest.class, com.google.cloud.channel.v1.UpdateCustomerRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.UpdateCustomerRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -397,9 +357,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto - .internal_static_google_cloud_channel_v1_UpdateCustomerRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateCustomerRequest_descriptor; } @java.lang.Override @@ -418,8 +378,7 @@ public com.google.cloud.channel.v1.UpdateCustomerRequest build() { @java.lang.Override public com.google.cloud.channel.v1.UpdateCustomerRequest buildPartial() { - com.google.cloud.channel.v1.UpdateCustomerRequest result = - new com.google.cloud.channel.v1.UpdateCustomerRequest(this); + com.google.cloud.channel.v1.UpdateCustomerRequest result = new com.google.cloud.channel.v1.UpdateCustomerRequest(this); if (customerBuilder_ == null) { result.customer_ = customer_; } else { @@ -438,39 +397,38 @@ public com.google.cloud.channel.v1.UpdateCustomerRequest 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.cloud.channel.v1.UpdateCustomerRequest) { - return mergeFrom((com.google.cloud.channel.v1.UpdateCustomerRequest) other); + return mergeFrom((com.google.cloud.channel.v1.UpdateCustomerRequest)other); } else { super.mergeFrom(other); return this; @@ -478,8 +436,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.UpdateCustomerRequest other) { - if (other == com.google.cloud.channel.v1.UpdateCustomerRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.channel.v1.UpdateCustomerRequest.getDefaultInstance()) return this; if (other.hasCustomer()) { mergeCustomer(other.getCustomer()); } @@ -512,25 +469,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - input.readMessage(getCustomerFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - case 26: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + input.readMessage( + getCustomerFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 26: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -543,58 +501,39 @@ public Builder mergeFrom( private com.google.cloud.channel.v1.Customer customer_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Customer, - com.google.cloud.channel.v1.Customer.Builder, - com.google.cloud.channel.v1.CustomerOrBuilder> - customerBuilder_; + com.google.cloud.channel.v1.Customer, com.google.cloud.channel.v1.Customer.Builder, com.google.cloud.channel.v1.CustomerOrBuilder> customerBuilder_; /** - * - * *
      * Required. New contents of the customer.
      * 
* - * - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the customer field is set. */ public boolean hasCustomer() { return customerBuilder_ != null || customer_ != null; } /** - * - * *
      * Required. New contents of the customer.
      * 
* - * - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The customer. */ public com.google.cloud.channel.v1.Customer getCustomer() { if (customerBuilder_ == null) { - return customer_ == null - ? com.google.cloud.channel.v1.Customer.getDefaultInstance() - : customer_; + return customer_ == null ? com.google.cloud.channel.v1.Customer.getDefaultInstance() : customer_; } else { return customerBuilder_.getMessage(); } } /** - * - * *
      * Required. New contents of the customer.
      * 
* - * - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCustomer(com.google.cloud.channel.v1.Customer value) { if (customerBuilder_ == null) { @@ -610,17 +549,14 @@ public Builder setCustomer(com.google.cloud.channel.v1.Customer value) { return this; } /** - * - * *
      * Required. New contents of the customer.
      * 
* - * - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCustomer(com.google.cloud.channel.v1.Customer.Builder builderForValue) { + public Builder setCustomer( + com.google.cloud.channel.v1.Customer.Builder builderForValue) { if (customerBuilder_ == null) { customer_ = builderForValue.build(); onChanged(); @@ -631,23 +567,17 @@ public Builder setCustomer(com.google.cloud.channel.v1.Customer.Builder builderF return this; } /** - * - * *
      * Required. New contents of the customer.
      * 
* - * - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCustomer(com.google.cloud.channel.v1.Customer value) { if (customerBuilder_ == null) { if (customer_ != null) { customer_ = - com.google.cloud.channel.v1.Customer.newBuilder(customer_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.channel.v1.Customer.newBuilder(customer_).mergeFrom(value).buildPartial(); } else { customer_ = value; } @@ -659,15 +589,11 @@ public Builder mergeCustomer(com.google.cloud.channel.v1.Customer value) { return this; } /** - * - * *
      * Required. New contents of the customer.
      * 
* - * - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCustomer() { if (customerBuilder_ == null) { @@ -681,64 +607,48 @@ public Builder clearCustomer() { return this; } /** - * - * *
      * Required. New contents of the customer.
      * 
* - * - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.channel.v1.Customer.Builder getCustomerBuilder() { - + onChanged(); return getCustomerFieldBuilder().getBuilder(); } /** - * - * *
      * Required. New contents of the customer.
      * 
* - * - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.channel.v1.CustomerOrBuilder getCustomerOrBuilder() { if (customerBuilder_ != null) { return customerBuilder_.getMessageOrBuilder(); } else { - return customer_ == null - ? com.google.cloud.channel.v1.Customer.getDefaultInstance() - : customer_; + return customer_ == null ? + com.google.cloud.channel.v1.Customer.getDefaultInstance() : customer_; } } /** - * - * *
      * Required. New contents of the customer.
      * 
* - * - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Customer, - com.google.cloud.channel.v1.Customer.Builder, - com.google.cloud.channel.v1.CustomerOrBuilder> + com.google.cloud.channel.v1.Customer, com.google.cloud.channel.v1.Customer.Builder, com.google.cloud.channel.v1.CustomerOrBuilder> getCustomerFieldBuilder() { if (customerBuilder_ == null) { - customerBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Customer, - com.google.cloud.channel.v1.Customer.Builder, - com.google.cloud.channel.v1.CustomerOrBuilder>( - getCustomer(), getParentForChildren(), isClean()); + customerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Customer, com.google.cloud.channel.v1.Customer.Builder, com.google.cloud.channel.v1.CustomerOrBuilder>( + getCustomer(), + getParentForChildren(), + isClean()); customer_ = null; } return customerBuilder_; @@ -746,49 +656,36 @@ public com.google.cloud.channel.v1.CustomerOrBuilder getCustomerOrBuilder() { 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 update mask that applies to the resource.
      * Optional.
      * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * The update mask that applies to the resource.
      * Optional.
      * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @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 update mask that applies to the resource.
      * Optional.
@@ -810,8 +707,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask that applies to the resource.
      * Optional.
@@ -819,7 +714,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 3;
      */
-    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();
@@ -830,8 +726,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask that applies to the resource.
      * Optional.
@@ -843,7 +737,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;
         }
@@ -855,8 +749,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask that applies to the resource.
      * Optional.
@@ -876,8 +768,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask that applies to the resource.
      * Optional.
@@ -886,13 +776,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 3;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The update mask that applies to the resource.
      * Optional.
@@ -904,14 +792,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 update mask that applies to the resource.
      * Optional.
@@ -920,24 +805,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 3;
      */
     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);
     }
 
@@ -947,12 +829,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.UpdateCustomerRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.UpdateCustomerRequest)
   private static final com.google.cloud.channel.v1.UpdateCustomerRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.channel.v1.UpdateCustomerRequest();
   }
@@ -961,27 +843,27 @@ public static com.google.cloud.channel.v1.UpdateCustomerRequest getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateCustomerRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateCustomerRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -996,4 +878,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.channel.v1.UpdateCustomerRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequestOrBuilder.java
similarity index 65%
rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequestOrBuilder.java
rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequestOrBuilder.java
index 1c029d1d5362..6d17a436eb0a 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequestOrBuilder.java
+++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequestOrBuilder.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/cloud/channel/v1/service.proto
 
 package com.google.cloud.channel.v1;
 
-public interface UpdateCustomerRequestOrBuilder
-    extends
+public interface UpdateCustomerRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.UpdateCustomerRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. New contents of the customer.
    * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the customer field is set. */ boolean hasCustomer(); /** - * - * *
    * Required. New contents of the customer.
    * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The customer. */ com.google.cloud.channel.v1.Customer getCustomer(); /** - * - * *
    * Required. New contents of the customer.
    * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.channel.v1.CustomerOrBuilder getCustomerOrBuilder(); /** - * - * *
    * The update mask that applies to the resource.
    * Optional.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The update mask that applies to the resource.
    * Optional.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * The update mask that applies to the resource.
    * Optional.
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Value.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Value.java
similarity index 69%
rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Value.java
rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Value.java
index 37d7b1b27c09..9132a7092cea 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Value.java
+++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Value.java
@@ -1,76 +1,56 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/channel/v1/common.proto
 
 package com.google.cloud.channel.v1;
 
 /**
- *
- *
  * 
  * Data type and value of a parameter.
  * 
* * Protobuf type {@code google.cloud.channel.v1.Value} */ -public final class Value extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Value extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.Value) ValueOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Value.newBuilder() to construct. private Value(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Value() {} + private Value() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Value(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.CommonProto - .internal_static_google_cloud_channel_v1_Value_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_Value_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.CommonProto - .internal_static_google_cloud_channel_v1_Value_fieldAccessorTable + return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_Value_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Value.class, - com.google.cloud.channel.v1.Value.Builder.class); + com.google.cloud.channel.v1.Value.class, com.google.cloud.channel.v1.Value.Builder.class); } private int kindCase_ = 0; private java.lang.Object kind_; - public enum KindCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INT64_VALUE(1), STRING_VALUE(2), @@ -79,7 +59,6 @@ public enum KindCase BOOL_VALUE(5), KIND_NOT_SET(0); private final int value; - private KindCase(int value) { this.value = value; } @@ -95,42 +74,33 @@ public static KindCase valueOf(int value) { public static KindCase forNumber(int value) { switch (value) { - case 1: - return INT64_VALUE; - case 2: - return STRING_VALUE; - case 3: - return DOUBLE_VALUE; - case 4: - return PROTO_VALUE; - case 5: - return BOOL_VALUE; - case 0: - return KIND_NOT_SET; - default: - return null; + case 1: return INT64_VALUE; + case 2: return STRING_VALUE; + case 3: return DOUBLE_VALUE; + case 4: return PROTO_VALUE; + case 5: return BOOL_VALUE; + case 0: return KIND_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public KindCase getKindCase() { - return KindCase.forNumber(kindCase_); + public KindCase + getKindCase() { + return KindCase.forNumber( + kindCase_); } public static final int INT64_VALUE_FIELD_NUMBER = 1; /** - * - * *
    * Represents an int64 value.
    * 
* * int64 int64_value = 1; - * * @return Whether the int64Value field is set. */ @java.lang.Override @@ -138,14 +108,11 @@ public boolean hasInt64Value() { return kindCase_ == 1; } /** - * - * *
    * Represents an int64 value.
    * 
* * int64 int64_value = 1; - * * @return The int64Value. */ @java.lang.Override @@ -158,28 +125,22 @@ public long getInt64Value() { public static final int STRING_VALUE_FIELD_NUMBER = 2; /** - * - * *
    * Represents a string value.
    * 
* * string string_value = 2; - * * @return Whether the stringValue field is set. */ public boolean hasStringValue() { return kindCase_ == 2; } /** - * - * *
    * Represents a string value.
    * 
* * string string_value = 2; - * * @return The stringValue. */ public java.lang.String getStringValue() { @@ -190,7 +151,8 @@ public java.lang.String getStringValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (kindCase_ == 2) { kind_ = s; @@ -199,24 +161,23 @@ public java.lang.String getStringValue() { } } /** - * - * *
    * Represents a string value.
    * 
* * string string_value = 2; - * * @return The bytes for stringValue. */ - public com.google.protobuf.ByteString getStringValueBytes() { + public com.google.protobuf.ByteString + getStringValueBytes() { java.lang.Object ref = ""; if (kindCase_ == 2) { ref = kind_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (kindCase_ == 2) { kind_ = b; } @@ -228,14 +189,11 @@ public com.google.protobuf.ByteString getStringValueBytes() { public static final int DOUBLE_VALUE_FIELD_NUMBER = 3; /** - * - * *
    * Represents a double value.
    * 
* * double double_value = 3; - * * @return Whether the doubleValue field is set. */ @java.lang.Override @@ -243,14 +201,11 @@ public boolean hasDoubleValue() { return kindCase_ == 3; } /** - * - * *
    * Represents a double value.
    * 
* * double double_value = 3; - * * @return The doubleValue. */ @java.lang.Override @@ -263,14 +218,11 @@ public double getDoubleValue() { public static final int PROTO_VALUE_FIELD_NUMBER = 4; /** - * - * *
    * Represents an 'Any' proto value.
    * 
* * .google.protobuf.Any proto_value = 4; - * * @return Whether the protoValue field is set. */ @java.lang.Override @@ -278,26 +230,21 @@ public boolean hasProtoValue() { return kindCase_ == 4; } /** - * - * *
    * Represents an 'Any' proto value.
    * 
* * .google.protobuf.Any proto_value = 4; - * * @return The protoValue. */ @java.lang.Override public com.google.protobuf.Any getProtoValue() { if (kindCase_ == 4) { - return (com.google.protobuf.Any) kind_; + return (com.google.protobuf.Any) kind_; } return com.google.protobuf.Any.getDefaultInstance(); } /** - * - * *
    * Represents an 'Any' proto value.
    * 
@@ -307,21 +254,18 @@ public com.google.protobuf.Any getProtoValue() { @java.lang.Override public com.google.protobuf.AnyOrBuilder getProtoValueOrBuilder() { if (kindCase_ == 4) { - return (com.google.protobuf.Any) kind_; + return (com.google.protobuf.Any) kind_; } return com.google.protobuf.Any.getDefaultInstance(); } public static final int BOOL_VALUE_FIELD_NUMBER = 5; /** - * - * *
    * Represents a boolean value.
    * 
* * bool bool_value = 5; - * * @return Whether the boolValue field is set. */ @java.lang.Override @@ -329,14 +273,11 @@ public boolean hasBoolValue() { return kindCase_ == 5; } /** - * - * *
    * Represents a boolean value.
    * 
* * bool bool_value = 5; - * * @return The boolValue. */ @java.lang.Override @@ -348,7 +289,6 @@ public boolean getBoolValue() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -360,21 +300,25 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (kindCase_ == 1) { - output.writeInt64(1, (long) ((java.lang.Long) kind_)); + output.writeInt64( + 1, (long)((java.lang.Long) kind_)); } if (kindCase_ == 2) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, kind_); } if (kindCase_ == 3) { - output.writeDouble(3, (double) ((java.lang.Double) kind_)); + output.writeDouble( + 3, (double)((java.lang.Double) kind_)); } if (kindCase_ == 4) { output.writeMessage(4, (com.google.protobuf.Any) kind_); } if (kindCase_ == 5) { - output.writeBool(5, (boolean) ((java.lang.Boolean) kind_)); + output.writeBool( + 5, (boolean)((java.lang.Boolean) kind_)); } getUnknownFields().writeTo(output); } @@ -386,27 +330,26 @@ public int getSerializedSize() { size = 0; if (kindCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 1, (long) ((java.lang.Long) kind_)); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size( + 1, (long)((java.lang.Long) kind_)); } if (kindCase_ == 2) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kind_); } if (kindCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeDoubleSize( - 3, (double) ((java.lang.Double) kind_)); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize( + 3, (double)((java.lang.Double) kind_)); } if (kindCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.protobuf.Any) kind_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.protobuf.Any) kind_); } if (kindCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 5, (boolean) ((java.lang.Boolean) kind_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 5, (boolean)((java.lang.Boolean) kind_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -416,7 +359,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.Value)) { return super.equals(obj); @@ -426,20 +369,25 @@ public boolean equals(final java.lang.Object obj) { if (!getKindCase().equals(other.getKindCase())) return false; switch (kindCase_) { case 1: - if (getInt64Value() != other.getInt64Value()) return false; + if (getInt64Value() + != other.getInt64Value()) return false; break; case 2: - if (!getStringValue().equals(other.getStringValue())) return false; + if (!getStringValue() + .equals(other.getStringValue())) return false; break; case 3: if (java.lang.Double.doubleToLongBits(getDoubleValue()) - != java.lang.Double.doubleToLongBits(other.getDoubleValue())) return false; + != java.lang.Double.doubleToLongBits( + other.getDoubleValue())) return false; break; case 4: - if (!getProtoValue().equals(other.getProtoValue())) return false; + if (!getProtoValue() + .equals(other.getProtoValue())) return false; break; case 5: - if (getBoolValue() != other.getBoolValue()) return false; + if (getBoolValue() + != other.getBoolValue()) return false; break; case 0: default: @@ -458,7 +406,8 @@ public int hashCode() { switch (kindCase_) { case 1: hash = (37 * hash) + INT64_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getInt64Value()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getInt64Value()); break; case 2: hash = (37 * hash) + STRING_VALUE_FIELD_NUMBER; @@ -466,10 +415,8 @@ public int hashCode() { break; case 3: hash = (37 * hash) + DOUBLE_VALUE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDoubleValue())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDoubleValue())); break; case 4: hash = (37 * hash) + PROTO_VALUE_FIELD_NUMBER; @@ -477,7 +424,8 @@ public int hashCode() { break; case 5: hash = (37 * hash) + BOOL_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBoolValue()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getBoolValue()); break; case 0: default: @@ -487,135 +435,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.Value parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.Value parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Value parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.channel.v1.Value parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.channel.v1.Value parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Value parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Value parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.Value parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Value 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.cloud.channel.v1.Value parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.Value parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.Value parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.Value parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.Value parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.Value prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Data type and value of a parameter.
    * 
* * Protobuf type {@code google.cloud.channel.v1.Value} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.Value) com.google.cloud.channel.v1.ValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.channel.v1.CommonProto - .internal_static_google_cloud_channel_v1_Value_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_Value_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.CommonProto - .internal_static_google_cloud_channel_v1_Value_fieldAccessorTable + return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_Value_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Value.class, - com.google.cloud.channel.v1.Value.Builder.class); + com.google.cloud.channel.v1.Value.class, com.google.cloud.channel.v1.Value.Builder.class); } // Construct using com.google.cloud.channel.v1.Value.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -628,9 +571,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.channel.v1.CommonProto - .internal_static_google_cloud_channel_v1_Value_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_Value_descriptor; } @java.lang.Override @@ -678,39 +621,38 @@ public com.google.cloud.channel.v1.Value 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.cloud.channel.v1.Value) { - return mergeFrom((com.google.cloud.channel.v1.Value) other); + return mergeFrom((com.google.cloud.channel.v1.Value)other); } else { super.mergeFrom(other); return this; @@ -720,37 +662,31 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.channel.v1.Value other) { if (other == com.google.cloud.channel.v1.Value.getDefaultInstance()) return this; switch (other.getKindCase()) { - case INT64_VALUE: - { - setInt64Value(other.getInt64Value()); - break; - } - case STRING_VALUE: - { - kindCase_ = 2; - kind_ = other.kind_; - onChanged(); - break; - } - case DOUBLE_VALUE: - { - setDoubleValue(other.getDoubleValue()); - break; - } - case PROTO_VALUE: - { - mergeProtoValue(other.getProtoValue()); - break; - } - case BOOL_VALUE: - { - setBoolValue(other.getBoolValue()); - break; - } - case KIND_NOT_SET: - { - break; - } + case INT64_VALUE: { + setInt64Value(other.getInt64Value()); + break; + } + case STRING_VALUE: { + kindCase_ = 2; + kind_ = other.kind_; + onChanged(); + break; + } + case DOUBLE_VALUE: { + setDoubleValue(other.getDoubleValue()); + break; + } + case PROTO_VALUE: { + mergeProtoValue(other.getProtoValue()); + break; + } + case BOOL_VALUE: { + setBoolValue(other.getBoolValue()); + break; + } + case KIND_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -778,44 +714,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - kind_ = input.readInt64(); - kindCase_ = 1; - break; - } // case 8 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - kindCase_ = 2; - kind_ = s; - break; - } // case 18 - case 25: - { - kind_ = input.readDouble(); - kindCase_ = 3; - break; - } // case 25 - case 34: - { - input.readMessage(getProtoValueFieldBuilder().getBuilder(), extensionRegistry); - kindCase_ = 4; - break; - } // case 34 - case 40: - { - kind_ = input.readBool(); - kindCase_ = 5; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + kind_ = input.readInt64(); + kindCase_ = 1; + break; + } // case 8 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + kindCase_ = 2; + kind_ = s; + break; + } // case 18 + case 25: { + kind_ = input.readDouble(); + kindCase_ = 3; + break; + } // case 25 + case 34: { + input.readMessage( + getProtoValueFieldBuilder().getBuilder(), + extensionRegistry); + kindCase_ = 4; + break; + } // case 34 + case 40: { + kind_ = input.readBool(); + kindCase_ = 5; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -825,12 +757,12 @@ public Builder mergeFrom( } // finally return this; } - private int kindCase_ = 0; private java.lang.Object kind_; - - public KindCase getKindCase() { - return KindCase.forNumber(kindCase_); + public KindCase + getKindCase() { + return KindCase.forNumber( + kindCase_); } public Builder clearKind() { @@ -840,29 +772,24 @@ public Builder clearKind() { return this; } + /** - * - * *
      * Represents an int64 value.
      * 
* * int64 int64_value = 1; - * * @return Whether the int64Value field is set. */ public boolean hasInt64Value() { return kindCase_ == 1; } /** - * - * *
      * Represents an int64 value.
      * 
* * int64 int64_value = 1; - * * @return The int64Value. */ public long getInt64Value() { @@ -872,14 +799,11 @@ public long getInt64Value() { return 0L; } /** - * - * *
      * Represents an int64 value.
      * 
* * int64 int64_value = 1; - * * @param value The int64Value to set. * @return This builder for chaining. */ @@ -890,14 +814,11 @@ public Builder setInt64Value(long value) { return this; } /** - * - * *
      * Represents an int64 value.
      * 
* * int64 int64_value = 1; - * * @return This builder for chaining. */ public Builder clearInt64Value() { @@ -910,14 +831,11 @@ public Builder clearInt64Value() { } /** - * - * *
      * Represents a string value.
      * 
* * string string_value = 2; - * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -925,14 +843,11 @@ public boolean hasStringValue() { return kindCase_ == 2; } /** - * - * *
      * Represents a string value.
      * 
* * string string_value = 2; - * * @return The stringValue. */ @java.lang.Override @@ -942,7 +857,8 @@ public java.lang.String getStringValue() { ref = kind_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (kindCase_ == 2) { kind_ = s; @@ -953,25 +869,24 @@ public java.lang.String getStringValue() { } } /** - * - * *
      * Represents a string value.
      * 
* * string string_value = 2; - * * @return The bytes for stringValue. */ @java.lang.Override - public com.google.protobuf.ByteString getStringValueBytes() { + public com.google.protobuf.ByteString + getStringValueBytes() { java.lang.Object ref = ""; if (kindCase_ == 2) { ref = kind_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (kindCase_ == 2) { kind_ = b; } @@ -981,35 +896,30 @@ public com.google.protobuf.ByteString getStringValueBytes() { } } /** - * - * *
      * Represents a string value.
      * 
* * string string_value = 2; - * * @param value The stringValue to set. * @return This builder for chaining. */ - public Builder setStringValue(java.lang.String value) { + public Builder setStringValue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - kindCase_ = 2; + throw new NullPointerException(); + } + kindCase_ = 2; kind_ = value; onChanged(); return this; } /** - * - * *
      * Represents a string value.
      * 
* * string string_value = 2; - * * @return This builder for chaining. */ public Builder clearStringValue() { @@ -1021,22 +931,20 @@ public Builder clearStringValue() { return this; } /** - * - * *
      * Represents a string value.
      * 
* * string string_value = 2; - * * @param value The bytes for stringValue to set. * @return This builder for chaining. */ - public Builder setStringValueBytes(com.google.protobuf.ByteString value) { + public Builder setStringValueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); kindCase_ = 2; kind_ = value; onChanged(); @@ -1044,28 +952,22 @@ public Builder setStringValueBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * Represents a double value.
      * 
* * double double_value = 3; - * * @return Whether the doubleValue field is set. */ public boolean hasDoubleValue() { return kindCase_ == 3; } /** - * - * *
      * Represents a double value.
      * 
* * double double_value = 3; - * * @return The doubleValue. */ public double getDoubleValue() { @@ -1075,14 +977,11 @@ public double getDoubleValue() { return 0D; } /** - * - * *
      * Represents a double value.
      * 
* * double double_value = 3; - * * @param value The doubleValue to set. * @return This builder for chaining. */ @@ -1093,14 +992,11 @@ public Builder setDoubleValue(double value) { return this; } /** - * - * *
      * Represents a double value.
      * 
* * double double_value = 3; - * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -1113,19 +1009,13 @@ public Builder clearDoubleValue() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Any, - com.google.protobuf.Any.Builder, - com.google.protobuf.AnyOrBuilder> - protoValueBuilder_; + com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> protoValueBuilder_; /** - * - * *
      * Represents an 'Any' proto value.
      * 
* * .google.protobuf.Any proto_value = 4; - * * @return Whether the protoValue field is set. */ @java.lang.Override @@ -1133,14 +1023,11 @@ public boolean hasProtoValue() { return kindCase_ == 4; } /** - * - * *
      * Represents an 'Any' proto value.
      * 
* * .google.protobuf.Any proto_value = 4; - * * @return The protoValue. */ @java.lang.Override @@ -1158,8 +1045,6 @@ public com.google.protobuf.Any getProtoValue() { } } /** - * - * *
      * Represents an 'Any' proto value.
      * 
@@ -1180,15 +1065,14 @@ public Builder setProtoValue(com.google.protobuf.Any value) { return this; } /** - * - * *
      * Represents an 'Any' proto value.
      * 
* * .google.protobuf.Any proto_value = 4; */ - public Builder setProtoValue(com.google.protobuf.Any.Builder builderForValue) { + public Builder setProtoValue( + com.google.protobuf.Any.Builder builderForValue) { if (protoValueBuilder_ == null) { kind_ = builderForValue.build(); onChanged(); @@ -1199,8 +1083,6 @@ public Builder setProtoValue(com.google.protobuf.Any.Builder builderForValue) { return this; } /** - * - * *
      * Represents an 'Any' proto value.
      * 
@@ -1209,11 +1091,10 @@ public Builder setProtoValue(com.google.protobuf.Any.Builder builderForValue) { */ public Builder mergeProtoValue(com.google.protobuf.Any value) { if (protoValueBuilder_ == null) { - if (kindCase_ == 4 && kind_ != com.google.protobuf.Any.getDefaultInstance()) { - kind_ = - com.google.protobuf.Any.newBuilder((com.google.protobuf.Any) kind_) - .mergeFrom(value) - .buildPartial(); + if (kindCase_ == 4 && + kind_ != com.google.protobuf.Any.getDefaultInstance()) { + kind_ = com.google.protobuf.Any.newBuilder((com.google.protobuf.Any) kind_) + .mergeFrom(value).buildPartial(); } else { kind_ = value; } @@ -1229,8 +1110,6 @@ public Builder mergeProtoValue(com.google.protobuf.Any value) { return this; } /** - * - * *
      * Represents an 'Any' proto value.
      * 
@@ -1254,8 +1133,6 @@ public Builder clearProtoValue() { return this; } /** - * - * *
      * Represents an 'Any' proto value.
      * 
@@ -1266,8 +1143,6 @@ public com.google.protobuf.Any.Builder getProtoValueBuilder() { return getProtoValueFieldBuilder().getBuilder(); } /** - * - * *
      * Represents an 'Any' proto value.
      * 
@@ -1286,8 +1161,6 @@ public com.google.protobuf.AnyOrBuilder getProtoValueOrBuilder() { } } /** - * - * *
      * Represents an 'Any' proto value.
      * 
@@ -1295,51 +1168,41 @@ public com.google.protobuf.AnyOrBuilder getProtoValueOrBuilder() { * .google.protobuf.Any proto_value = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Any, - com.google.protobuf.Any.Builder, - com.google.protobuf.AnyOrBuilder> + com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> getProtoValueFieldBuilder() { if (protoValueBuilder_ == null) { if (!(kindCase_ == 4)) { kind_ = com.google.protobuf.Any.getDefaultInstance(); } - protoValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Any, - com.google.protobuf.Any.Builder, - com.google.protobuf.AnyOrBuilder>( - (com.google.protobuf.Any) kind_, getParentForChildren(), isClean()); + protoValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( + (com.google.protobuf.Any) kind_, + getParentForChildren(), + isClean()); kind_ = null; } kindCase_ = 4; - onChanged(); - ; + onChanged();; return protoValueBuilder_; } /** - * - * *
      * Represents a boolean value.
      * 
* * bool bool_value = 5; - * * @return Whether the boolValue field is set. */ public boolean hasBoolValue() { return kindCase_ == 5; } /** - * - * *
      * Represents a boolean value.
      * 
* * bool bool_value = 5; - * * @return The boolValue. */ public boolean getBoolValue() { @@ -1349,14 +1212,11 @@ public boolean getBoolValue() { return false; } /** - * - * *
      * Represents a boolean value.
      * 
* * bool bool_value = 5; - * * @param value The boolValue to set. * @return This builder for chaining. */ @@ -1367,14 +1227,11 @@ public Builder setBoolValue(boolean value) { return this; } /** - * - * *
      * Represents a boolean value.
      * 
* * bool bool_value = 5; - * * @return This builder for chaining. */ public Builder clearBoolValue() { @@ -1385,9 +1242,9 @@ public Builder clearBoolValue() { } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1397,12 +1254,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.Value) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.Value) private static final com.google.cloud.channel.v1.Value DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.Value(); } @@ -1411,27 +1268,27 @@ public static com.google.cloud.channel.v1.Value getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Value parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Value parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1446,4 +1303,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Value getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ValueOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ValueOrBuilder.java similarity index 74% rename from java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ValueOrBuilder.java rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ValueOrBuilder.java index 1bd8eff1dc17..8e43464306d6 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ValueOrBuilder.java +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ValueOrBuilder.java @@ -1,142 +1,98 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/common.proto package com.google.cloud.channel.v1; -public interface ValueOrBuilder - extends +public interface ValueOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Value) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Represents an int64 value.
    * 
* * int64 int64_value = 1; - * * @return Whether the int64Value field is set. */ boolean hasInt64Value(); /** - * - * *
    * Represents an int64 value.
    * 
* * int64 int64_value = 1; - * * @return The int64Value. */ long getInt64Value(); /** - * - * *
    * Represents a string value.
    * 
* * string string_value = 2; - * * @return Whether the stringValue field is set. */ boolean hasStringValue(); /** - * - * *
    * Represents a string value.
    * 
* * string string_value = 2; - * * @return The stringValue. */ java.lang.String getStringValue(); /** - * - * *
    * Represents a string value.
    * 
* * string string_value = 2; - * * @return The bytes for stringValue. */ - com.google.protobuf.ByteString getStringValueBytes(); + com.google.protobuf.ByteString + getStringValueBytes(); /** - * - * *
    * Represents a double value.
    * 
* * double double_value = 3; - * * @return Whether the doubleValue field is set. */ boolean hasDoubleValue(); /** - * - * *
    * Represents a double value.
    * 
* * double double_value = 3; - * * @return The doubleValue. */ double getDoubleValue(); /** - * - * *
    * Represents an 'Any' proto value.
    * 
* * .google.protobuf.Any proto_value = 4; - * * @return Whether the protoValue field is set. */ boolean hasProtoValue(); /** - * - * *
    * Represents an 'Any' proto value.
    * 
* * .google.protobuf.Any proto_value = 4; - * * @return The protoValue. */ com.google.protobuf.Any getProtoValue(); /** - * - * *
    * Represents an 'Any' proto value.
    * 
@@ -146,26 +102,20 @@ public interface ValueOrBuilder com.google.protobuf.AnyOrBuilder getProtoValueOrBuilder(); /** - * - * *
    * Represents a boolean value.
    * 
* * bool bool_value = 5; - * * @return Whether the boolValue field is set. */ boolean hasBoolValue(); /** - * - * *
    * Represents a boolean value.
    * 
* * bool bool_value = 5; - * * @return The boolValue. */ boolean getBoolValue(); diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/channel_partner_links.proto b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/channel_partner_links.proto similarity index 81% rename from java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/channel_partner_links.proto rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/channel_partner_links.proto index fb301586ea88..d0607af278c1 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/channel_partner_links.proto +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/channel_partner_links.proto @@ -26,7 +26,9 @@ option java_multiple_files = true; option java_outer_classname = "ChannelPartnerLinksProto"; option java_package = "com.google.cloud.channel.v1"; -// The level of granularity the [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] will display. +// The level of granularity the +// [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] will +// display. enum ChannelPartnerLinkView { // The default / unset value. // The API will default to the BASIC view. @@ -72,24 +74,29 @@ message ChannelPartnerLink { string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Required. Cloud Identity ID of the linked reseller. - string reseller_cloud_identity_id = 2 [(google.api.field_behavior) = REQUIRED]; + string reseller_cloud_identity_id = 2 + [(google.api.field_behavior) = REQUIRED]; // Required. State of the channel partner link. - ChannelPartnerLinkState link_state = 3 [(google.api.field_behavior) = REQUIRED]; + ChannelPartnerLinkState link_state = 3 + [(google.api.field_behavior) = REQUIRED]; // Output only. URI of the web page where partner accepts the link invitation. string invite_link_uri = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Timestamp of when the channel partner link is created. - google.protobuf.Timestamp create_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Timestamp of when the channel partner link is updated. - google.protobuf.Timestamp update_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Public identifier that a customer must use to generate a transfer token - // to move to this distributor-reseller combination. + // Output only. Public identifier that a customer must use to generate a + // transfer token to move to this distributor-reseller combination. string public_id = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Cloud Identity info of the channel partner (IR). - CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; -} + CloudIdentityInfo channel_partner_cloud_identity_info = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} \ No newline at end of file diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/common.proto b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/common.proto similarity index 99% rename from java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/common.proto rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/common.proto index 175d044e63be..2380722ac8d1 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/common.proto +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/common.proto @@ -149,4 +149,4 @@ message AdminUser { // Family name of the admin user. string family_name = 3; -} +} \ No newline at end of file diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/customers.proto b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/customers.proto similarity index 91% rename from java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/customers.proto rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/customers.proto index e34432f2e67f..18bf1ad99a16 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/customers.proto +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/customers.proto @@ -45,7 +45,8 @@ message Customer { // embargoes, we require a region and zip code. You must provide valid // addresses for every customer. To set the customer's language, use the // Customer-level language code. - google.type.PostalAddress org_postal_address = 3 [(google.api.field_behavior) = REQUIRED]; + google.type.PostalAddress org_postal_address = 3 + [(google.api.field_behavior) = REQUIRED]; // Primary contact info. ContactInfo primary_contact_info = 4; @@ -62,10 +63,12 @@ message Customer { string domain = 6 [(google.api.field_behavior) = REQUIRED]; // Output only. Time when the customer was created. - google.protobuf.Timestamp create_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Time when the customer was updated. - google.protobuf.Timestamp update_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The customer's Cloud Identity ID if the customer has a Cloud // Identity resource. @@ -78,7 +81,8 @@ message Customer { // Output only. Cloud Identity information for the customer. // Populated only if a Cloud Identity account exists for this customer. - CloudIdentityInfo cloud_identity_info = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; + CloudIdentityInfo cloud_identity_info = 12 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Cloud Identity ID of the customer's channel partner. // Populated only if a channel partner exists for this customer. @@ -107,4 +111,4 @@ message ContactInfo { // The customer account's contact phone number. string phone = 7; -} +} \ No newline at end of file diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/entitlements.proto b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/entitlements.proto similarity index 83% rename from java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/entitlements.proto rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/entitlements.proto index 35da239384e9..8a6633b140c3 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/entitlements.proto +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/entitlements.proto @@ -47,7 +47,9 @@ message Entitlement { SUSPENDED = 5; } - // Suspension reason for an entitlement if [provisioning_state][google.cloud.channel.v1.Entitlement.provisioning_state] = SUSPENDED. + // Suspension reason for an entitlement if + // [provisioning_state][google.cloud.channel.v1.Entitlement.provisioning_state] + // = SUSPENDED. enum SuspensionReason { // Not used. SUSPENSION_REASON_UNSPECIFIED = 0; @@ -74,10 +76,12 @@ message Entitlement { string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time at which the entitlement is created. - google.protobuf.Timestamp create_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time at which the entitlement is updated. - google.protobuf.Timestamp update_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Required. The offer resource name for which the entitlement is to be // created. Takes the form: accounts/{account_id}/offers/{offer_id}. @@ -93,19 +97,23 @@ message Entitlement { CommitmentSettings commitment_settings = 12; // Output only. Current provisioning state of the entitlement. - ProvisioningState provisioning_state = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; + ProvisioningState provisioning_state = 13 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Service provisioning details for the entitlement. - ProvisionedService provisioned_service = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Enumerable of all current suspension reasons for an entitlement. - repeated SuspensionReason suspension_reasons = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Optional. This purchase order (PO) information is for resellers to use for their - // company tracking usage. If a purchaseOrderId value is given, it appears in - // the API responses and shows up in the invoice. The property accepts up to - // 80 plain text characters. This is only supported for Google Workspace - // entitlements. + ProvisionedService provisioned_service = 16 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Enumerable of all current suspension reasons for an + // entitlement. + repeated SuspensionReason suspension_reasons = 18 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. This purchase order (PO) information is for resellers to use for + // their company tracking usage. If a purchaseOrderId value is given, it + // appears in the API responses and shows up in the invoice. The property + // accepts up to 80 plain text characters. This is only supported for Google + // Workspace entitlements. string purchase_order_id = 19 [(google.api.field_behavior) = OPTIONAL]; // Output only. Settings for trial offers. @@ -136,9 +144,9 @@ message Parameter { // Value of the parameter. Value value = 2; - // Output only. Specifies whether this parameter is allowed to be changed. For example, for - // a Google Workspace Business Starter entitlement in commitment plan, - // num_units is editable when entitlement is active. + // Output only. Specifies whether this parameter is allowed to be changed. For + // example, for a Google Workspace Business Starter entitlement in commitment + // plan, num_units is editable when entitlement is active. bool editable = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; } @@ -146,32 +154,35 @@ message Parameter { message AssociationInfo { // The name of the base entitlement, for which this entitlement is an add-on. string base_entitlement = 1 [(google.api.resource_reference) = { - type: "cloudchannel.googleapis.com/Entitlement" - }]; + type: "cloudchannel.googleapis.com/Entitlement" + }]; } // Service provisioned for an entitlement. message ProvisionedService { - // Output only. Provisioning ID of the entitlement. For Google Workspace, this is the - // underlying Subscription ID. For Google Cloud Platform, this is the + // Output only. Provisioning ID of the entitlement. For Google Workspace, this + // is the underlying Subscription ID. For Google Cloud Platform, this is the // Billing Account ID of the billing subaccount." string provisioning_id = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The product pertaining to the provisioning resource as specified in the - // Offer. + // Output only. The product pertaining to the provisioning resource as + // specified in the Offer. string product_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The SKU pertaining to the provisioning resource as specified in the Offer. + // Output only. The SKU pertaining to the provisioning resource as specified + // in the Offer. string sku_id = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Commitment settings for commitment-based offers. message CommitmentSettings { // Output only. Commitment start timestamp. - google.protobuf.Timestamp start_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp start_time = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Commitment end timestamp. - google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Optional. Renewal settings applicable for a commitment-based Offer. RenewalSettings renewal_settings = 4 [(google.api.field_behavior) = OPTIONAL]; @@ -218,7 +229,8 @@ message TransferableSku { // The SKU pertaining to the provisioning resource as specified in the Offer. Sku sku = 11; - // Optional. The customer to transfer has an entitlement with the populated legacy SKU. + // Optional. The customer to transfer has an entitlement with the populated + // legacy SKU. Sku legacy_sku = 12 [(google.api.field_behavior) = OPTIONAL]; } @@ -247,4 +259,4 @@ message TransferEligibility { // Specified the reason for ineligibility. Reason ineligibility_reason = 3; -} +} \ No newline at end of file diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/offers.proto b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/offers.proto similarity index 98% rename from java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/offers.proto rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/offers.proto index ebe698e1f54d..3a504045350e 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/offers.proto +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/offers.proto @@ -125,8 +125,8 @@ enum PeriodType { } // Represents an offer made to resellers for purchase. -// An offer is associated with a [Sku][google.cloud.channel.v1.Sku], has a plan for payment, a price, and -// defines the constraints for buying. +// An offer is associated with a [Sku][google.cloud.channel.v1.Sku], has a plan +// for payment, a price, and defines the constraints for buying. message Offer { option (google.api.resource) = { type: "cloudchannel.googleapis.com/Offer" @@ -156,7 +156,8 @@ message Offer { google.protobuf.Timestamp start_time = 7; // Output only. End of the Offer validity time. - google.protobuf.Timestamp end_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Parameters required to use current Offer to purchase. repeated ParameterDefinition parameter_definitions = 9; @@ -326,4 +327,4 @@ message Period { // Period Type. PeriodType period_type = 2; -} +} \ No newline at end of file diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/operations.proto b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/operations.proto similarity index 95% rename from java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/operations.proto rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/operations.proto index ad432919bf77..e9e190772cb7 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/operations.proto +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/operations.proto @@ -21,7 +21,8 @@ option java_multiple_files = true; option java_outer_classname = "OperationsProto"; option java_package = "com.google.cloud.channel.v1"; -// Provides contextual information about a [google.longrunning.Operation][google.longrunning.Operation]. +// Provides contextual information about a +// [google.longrunning.Operation][google.longrunning.Operation]. message OperationMetadata { // RPCs that return a Long Running Operation. enum OperationType { @@ -64,4 +65,4 @@ message OperationMetadata { // The RPC that initiated this Long Running Operation. OperationType operation_type = 1; -} +} \ No newline at end of file diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/products.proto b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/products.proto similarity index 99% rename from java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/products.proto rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/products.proto index 8dc39767a96a..411e1698b96b 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/products.proto +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/products.proto @@ -91,4 +91,4 @@ message Media { // Type of the media. MediaType type = 3; -} +} \ No newline at end of file diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/reports_service.proto b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/reports_service.proto similarity index 82% rename from java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/reports_service.proto rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/reports_service.proto index 464061766cf8..1cb87124cb6a 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/reports_service.proto +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/reports_service.proto @@ -38,7 +38,8 @@ option java_package = "com.google.cloud.channel.v1"; // Google Workspace.) service CloudChannelReportsService { option (google.api.default_host) = "cloudchannel.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/apps.reports.usage.readonly"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/apps.reports.usage.readonly"; // Begins generation of data for a given report. The report // identifier is a UID (for example, `613bf59q`). @@ -62,7 +63,8 @@ service CloudChannelReportsService { // instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. // // To get the results of report generation, call - // [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults] with the + // [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults] + // with the // [RunReportJobResponse.report_job][google.cloud.channel.v1.RunReportJobResponse.report_job]. rpc RunReportJob(RunReportJobRequest) returns (google.longrunning.Operation) { option (google.api.http) = { @@ -75,8 +77,10 @@ service CloudChannelReportsService { }; } - // Retrieves data generated by [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob]. - rpc FetchReportResults(FetchReportResultsRequest) returns (FetchReportResultsResponse) { + // Retrieves data generated by + // [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob]. + rpc FetchReportResults(FetchReportResultsRequest) + returns (FetchReportResultsResponse) { option (google.api.http) = { post: "/v1/{report_job=accounts/*/reportJobs/*}:fetchReportResults" body: "*" @@ -94,10 +98,11 @@ service CloudChannelReportsService { } } -// Request message for [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob]. +// Request message for +// [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob]. message RunReportJobRequest { - // Required. The report's resource name. Specifies the account and report used to - // generate report data. The report_id identifier is a UID (for example, + // Required. The report's resource name. Specifies the account and report used + // to generate report data. The report_id identifier is a UID (for example, // `613bf59q`). // Name uses the format: // accounts/{account_id}/reports/{report_id} @@ -111,8 +116,8 @@ message RunReportJobRequest { // Optional. The range of usage or invoice dates to include in the result. DateRange date_range = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A structured string that defines conditions on dimension columns to - // restrict the report output. + // Optional. A structured string that defines conditions on dimension columns + // to restrict the report output. // // Filters support logical operators (AND, OR, NOT) and conditional operators // (=, !=, <, >, <=, and >=) using `column_id` as keys. @@ -130,9 +135,11 @@ message RunReportJobRequest { string language_code = 4 [(google.api.field_behavior) = OPTIONAL]; } -// Response message for [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob]. +// Response message for +// [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob]. message RunReportJobResponse { - // Pass `report_job.name` to [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job] + // Pass `report_job.name` to + // [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job] // to retrieve the report's results. ReportJob report_job = 1; @@ -142,9 +149,11 @@ message RunReportJobResponse { ReportResultsMetadata report_metadata = 2; } -// Request message for [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults]. +// Request message for +// [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults]. message FetchReportResultsRequest { - // Required. The report job created by [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob]. + // Required. The report job created by + // [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob]. // Report_job uses the format: // accounts/{account_id}/reportJobs/{report_job_id} string report_job = 1 [ @@ -154,9 +163,9 @@ message FetchReportResultsRequest { } ]; - // Optional. Requested page size of the report. The server may return fewer results than - // requested. If you don't specify a page size, the server uses a sensible - // default (may change over time). + // Optional. Requested page size of the report. The server may return fewer + // results than requested. If you don't specify a page size, the server uses a + // sensible default (may change over time). // // The maximum value is 30,000; the server will change larger values to // 30,000. @@ -164,12 +173,15 @@ message FetchReportResultsRequest { // Optional. A token that specifies a page of results beyond the first page. // Obtained through - // [FetchReportResultsResponse.next_page_token][google.cloud.channel.v1.FetchReportResultsResponse.next_page_token] of the previous - // [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults] call. + // [FetchReportResultsResponse.next_page_token][google.cloud.channel.v1.FetchReportResultsResponse.next_page_token] + // of the previous + // [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults] + // call. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; } -// Response message for [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults]. +// Response message for +// [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults]. // Contains a tabular representation of the report results. message FetchReportResultsResponse { // The metadata for the report results (display name, columns, row count, and @@ -180,27 +192,30 @@ message FetchReportResultsResponse { // of the columns from `report_metadata`. repeated Row rows = 2; - // Pass this token to [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token] to retrieve - // the next page of results. + // Pass this token to + // [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token] + // to retrieve the next page of results. string next_page_token = 3; } -// Request message for [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports]. +// Request message for +// [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports]. message ListReportsRequest { - // Required. The resource name of the partner account to list available reports for. - // Parent uses the format: - // accounts/{account_id} + // Required. The resource name of the partner account to list available + // reports for. Parent uses the format: accounts/{account_id} string parent = 1 [(google.api.field_behavior) = REQUIRED]; - // Optional. Requested page size of the report. The server might return fewer results - // than requested. If unspecified, returns 20 reports. - // The maximum value is 100. + // Optional. Requested page size of the report. The server might return fewer + // results than requested. If unspecified, returns 20 reports. The maximum + // value is 100. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. A token that specifies a page of results beyond the first page. // Obtained through - // [ListReportsResponse.next_page_token][google.cloud.channel.v1.ListReportsResponse.next_page_token] of the previous - // [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports] call. + // [ListReportsResponse.next_page_token][google.cloud.channel.v1.ListReportsResponse.next_page_token] + // of the previous + // [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports] + // call. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; // Optional. The BCP-47 language code, such as "en-US". If specified, the @@ -210,18 +225,21 @@ message ListReportsRequest { string language_code = 4 [(google.api.field_behavior) = OPTIONAL]; } -// Response message for [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports]. +// Response message for +// [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports]. message ListReportsResponse { // The reports available to the partner. repeated Report reports = 1; - // Pass this token to [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token] to retrieve - // the next page of results. + // Pass this token to + // [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token] + // to retrieve the next page of results. string next_page_token = 2; } // The result of a [RunReportJob][] operation. Contains the name to use in -// [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job] and the status of the operation. +// [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job] +// and the status of the operation. message ReportJob { option (google.api.resource) = { type: "cloudchannel.googleapis.com/ReportJob" @@ -238,7 +256,8 @@ message ReportJob { } // The features describing the data. Returned by -// [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob] and +// [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob] +// and // [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults]. message ReportResultsMetadata { // Details of the completed report. @@ -404,9 +423,9 @@ message Report { pattern: "accounts/{account}/reports/{report}" }; - // Required. The report's resource name. Specifies the account and report used to - // generate report data. The report_id identifier is a UID - // (for example, `613bf59q`). + // Required. The report's resource name. Specifies the account and report used + // to generate report data. The report_id identifier is a UID (for example, + // `613bf59q`). // // Name uses the format: // accounts/{account_id}/reports/{report_id} @@ -422,4 +441,4 @@ message Report { // A description of other aspects of the report, such as the products // it supports. string description = 4; -} +} \ No newline at end of file diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/repricing.proto b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/repricing.proto similarity index 67% rename from java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/repricing.proto rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/repricing.proto index 7cc2f26072c1..1a15067b3781 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/repricing.proto +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/repricing.proto @@ -54,14 +54,16 @@ message CustomerRepricingConfig { // accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Required. The configuration for bill modifications made by a reseller before - // sending it to customers. + // Required. The configuration for bill modifications made by a reseller + // before sending it to customers. RepricingConfig repricing_config = 2 [(google.api.field_behavior) = REQUIRED]; - // Output only. Timestamp of an update to the repricing rule. If `update_time` is after - // [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] then it indicates this was set - // mid-month. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Timestamp of an update to the repricing rule. If `update_time` + // is after + // [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] + // then it indicates this was set mid-month. + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Configuration for how a distributor will rebill a channel partner @@ -77,14 +79,16 @@ message ChannelPartnerRepricingConfig { // accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Required. The configuration for bill modifications made by a reseller before - // sending it to ChannelPartner. + // Required. The configuration for bill modifications made by a reseller + // before sending it to ChannelPartner. RepricingConfig repricing_config = 2 [(google.api.field_behavior) = REQUIRED]; - // Output only. Timestamp of an update to the repricing rule. If `update_time` is after - // [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] then it indicates this was set - // mid-month. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Timestamp of an update to the repricing rule. If `update_time` + // is after + // [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] + // then it indicates this was set mid-month. + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Configuration for repricing a Google bill over a period of time. @@ -95,16 +99,14 @@ message RepricingConfig { // Format: // accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} string entitlement = 1 [(google.api.resource_reference) = { - type: "cloudchannel.googleapis.com/Entitlement" - }]; + type: "cloudchannel.googleapis.com/Entitlement" + }]; } // Applies the repricing configuration at the channel partner level. // The channel partner value is derived from the resource name. Takes an // empty json object. - message ChannelPartnerGranularity { - - } + message ChannelPartnerGranularity {} // Required. Defines the granularity for repricing. oneof granularity { @@ -117,16 +119,23 @@ message RepricingConfig { ChannelPartnerGranularity channel_partner_granularity = 5; } - // Required. The YearMonth when these adjustments activate. The Day field needs to be - // "0" since we only accept YearMonth repricing boundaries. - google.type.Date effective_invoice_month = 1 [(google.api.field_behavior) = REQUIRED]; + // Required. The YearMonth when these adjustments activate. The Day field + // needs to be "0" since we only accept YearMonth repricing boundaries. + google.type.Date effective_invoice_month = 1 + [(google.api.field_behavior) = REQUIRED]; // Required. Information about the adjustment. RepricingAdjustment adjustment = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to use for this bill. Specifies the relative cost - // based on repricing costs you will apply. + // Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to + // use for this bill. Specifies the relative cost based on repricing costs you + // will apply. RebillingBasis rebilling_basis = 3 [(google.api.field_behavior) = REQUIRED]; + + // The conditional overrides to apply for this configuration. If you list + // multiple overrides, only the first valid override is used. If you don't + // list any overrides, the API uses the normal adjustment and rebilling basis. + repeated ConditionalOverride conditional_overrides = 6; } // A type that represents the various adjustments you can apply to a bill. @@ -147,3 +156,39 @@ message PercentageAdjustment { // Pass-Through => "0.00" google.type.Decimal percentage = 2; } + +// Specifies the override to conditionally apply. +message ConditionalOverride { + // Required. Information about the applied override's adjustment. + RepricingAdjustment adjustment = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to + // use for the applied override. Shows the relative cost based on your + // repricing costs. + RebillingBasis rebilling_basis = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. Specifies the condition which, if met, will apply the override. + RepricingCondition repricing_condition = 3 + [(google.api.field_behavior) = REQUIRED]; +} + +// Represents the various repricing conditions you can use for a conditional +// override. +message RepricingCondition { + // Represents the types of existing conditional statements. + oneof condition { + // SKU Group condition for override. + SkuGroupCondition sku_group_condition = 1; + } +} + +// A condition that applies the override if a line item SKU is found in the SKU +// group. +message SkuGroupCondition { + // Specifies a SKU group (https://cloud.google.com/skus/sku-groups). + // Resource name of SKU group. Format: + // accounts/{account}/skuGroups/{sku_group}. + // Example: + // "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041". + string sku_group = 1; +} \ No newline at end of file diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/service.proto b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/service.proto similarity index 78% rename from java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/service.proto rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/service.proto index bbb092e181f1..93730e9ea333 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/service.proto +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/service.proto @@ -46,18 +46,20 @@ option java_package = "com.google.cloud.channel.v1"; // 3. Resellers and distributors can manage customer entitlements. // // CloudChannelService exposes the following resources: -// - [Customer][google.cloud.channel.v1.Customer]s: An entity—usually an enterprise—managed by a reseller or -// distributor. +// - [Customer][google.cloud.channel.v1.Customer]s: An entity-usually an +// enterprise-managed by a reseller or distributor. // -// - [Entitlement][google.cloud.channel.v1.Entitlement]s: An entity that provides a customer with the means to use -// a service. Entitlements are created or updated as a result of a successful -// fulfillment. +// - [Entitlement][google.cloud.channel.v1.Entitlement]s: An entity that +// provides a customer with the means to use a service. Entitlements are created +// or updated as a result of a successful fulfillment. // -// - [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s: An entity that identifies links between -// distributors and their indirect resellers in a channel. +// - [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s: An +// entity that identifies links between distributors and their indirect +// resellers in a channel. service CloudChannelService { option (google.api.default_host) = "cloudchannel.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/apps.order"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/apps.order"; // List [Customer][google.cloud.channel.v1.Customer]s. // @@ -68,7 +70,8 @@ service CloudChannelService { // * INVALID_ARGUMENT: Required request parameters are missing or invalid. // // Return value: - // List of [Customer][google.cloud.channel.v1.Customer]s, or an empty list if there are no customers. + // List of [Customer][google.cloud.channel.v1.Customer]s, or an empty list if + // there are no customers. rpc ListCustomers(ListCustomersRequest) returns (ListCustomersResponse) { option (google.api.http) = { get: "/v1/{parent=accounts/*}/customers" @@ -78,7 +81,8 @@ service CloudChannelService { }; } - // Returns the requested [Customer][google.cloud.channel.v1.Customer] resource. + // Returns the requested [Customer][google.cloud.channel.v1.Customer] + // resource. // // Possible error codes: // @@ -111,20 +115,24 @@ service CloudChannelService { // * INVALID_VALUE: Invalid domain value in the request. // // Return value: - // A list of [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources for the domain (may be - // empty) + // A list of + // [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] + // resources for the domain (may be empty) // // Note: in the v1alpha1 version of the API, a NOT_FOUND error returns if - // no [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources match the domain. - rpc CheckCloudIdentityAccountsExist(CheckCloudIdentityAccountsExistRequest) returns (CheckCloudIdentityAccountsExistResponse) { + // no + // [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] + // resources match the domain. + rpc CheckCloudIdentityAccountsExist(CheckCloudIdentityAccountsExistRequest) + returns (CheckCloudIdentityAccountsExistResponse) { option (google.api.http) = { post: "/v1/{parent=accounts/*}:checkCloudIdentityAccountsExist" body: "*" }; } - // Creates a new [Customer][google.cloud.channel.v1.Customer] resource under the reseller or distributor - // account. + // Creates a new [Customer][google.cloud.channel.v1.Customer] resource under + // the reseller or distributor account. // // Possible error codes: // @@ -147,15 +155,16 @@ service CloudChannelService { }; } - // Updates an existing [Customer][google.cloud.channel.v1.Customer] resource for the reseller or - // distributor. + // Updates an existing [Customer][google.cloud.channel.v1.Customer] resource + // for the reseller or distributor. // // Possible error codes: // // * PERMISSION_DENIED: The reseller account making the request is different // from the reseller account in the API request. // * INVALID_ARGUMENT: Required request parameters are missing or invalid. - // * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found for the name in the request. + // * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found + // for the name in the request. // // Return value: // The updated [Customer][google.cloud.channel.v1.Customer] resource. @@ -178,7 +187,8 @@ service CloudChannelService { // this customer. // * INVALID_ARGUMENT: Required request parameters are missing or invalid. // * FAILED_PRECONDITION: The customer has existing entitlements. - // * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found for the name in the request. + // * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found + // for the name in the request. rpc DeleteCustomer(DeleteCustomerRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=accounts/*/customers/*}" @@ -189,10 +199,10 @@ service CloudChannelService { option (google.api.method_signature) = "name"; } - // Imports a [Customer][google.cloud.channel.v1.Customer] from the Cloud Identity associated with the provided - // Cloud Identity ID or domain before a TransferEntitlements call. If a - // linked Customer already exists and overwrite_if_exists is true, it will - // update that Customer's data. + // Imports a [Customer][google.cloud.channel.v1.Customer] from the Cloud + // Identity associated with the provided Cloud Identity ID or domain before a + // TransferEntitlements call. If a linked Customer already exists and + // overwrite_if_exists is true, it will update that Customer's data. // // Possible error codes: // @@ -238,7 +248,8 @@ service CloudChannelService { // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata contains an // instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. - rpc ProvisionCloudIdentity(ProvisionCloudIdentityRequest) returns (google.longrunning.Operation) { + rpc ProvisionCloudIdentity(ProvisionCloudIdentityRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{customer=accounts/*/customers/*}:provisionCloudIdentity" body: "*" @@ -249,7 +260,8 @@ service CloudChannelService { }; } - // Lists [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to a customer. + // Lists [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to a + // customer. // // Possible error codes: // @@ -257,15 +269,17 @@ service CloudChannelService { // * INVALID_ARGUMENT: Required request parameters are missing or invalid. // // Return value: - // A list of the customer's [Entitlement][google.cloud.channel.v1.Entitlement]s. - rpc ListEntitlements(ListEntitlementsRequest) returns (ListEntitlementsResponse) { + // A list of the customer's + // [Entitlement][google.cloud.channel.v1.Entitlement]s. + rpc ListEntitlements(ListEntitlementsRequest) + returns (ListEntitlementsResponse) { option (google.api.http) = { get: "/v1/{parent=accounts/*/customers/*}/entitlements" }; } - // List [TransferableSku][google.cloud.channel.v1.TransferableSku]s of a customer based on the Cloud Identity ID or - // Customer Name in the request. + // List [TransferableSku][google.cloud.channel.v1.TransferableSku]s of a + // customer based on the Cloud Identity ID or Customer Name in the request. // // Use this method to list the entitlements information of an // unowned customer. You should provide the customer's @@ -281,16 +295,18 @@ service CloudChannelService { // * INVALID_ARGUMENT: Required request parameters are missing or invalid. // // Return value: - // A list of the customer's [TransferableSku][google.cloud.channel.v1.TransferableSku]. - rpc ListTransferableSkus(ListTransferableSkusRequest) returns (ListTransferableSkusResponse) { + // A list of the customer's + // [TransferableSku][google.cloud.channel.v1.TransferableSku]. + rpc ListTransferableSkus(ListTransferableSkusRequest) + returns (ListTransferableSkusResponse) { option (google.api.http) = { post: "/v1/{parent=accounts/*}:listTransferableSkus" body: "*" }; } - // List [TransferableOffer][google.cloud.channel.v1.TransferableOffer]s of a customer based on Cloud Identity ID or - // Customer Name in the request. + // List [TransferableOffer][google.cloud.channel.v1.TransferableOffer]s of a + // customer based on Cloud Identity ID or Customer Name in the request. // // Use this method when a reseller gets the entitlement information of an // unowned customer. The reseller should provide the customer's @@ -307,15 +323,18 @@ service CloudChannelService { // * INVALID_ARGUMENT: Required request parameters are missing or invalid. // // Return value: - // List of [TransferableOffer][google.cloud.channel.v1.TransferableOffer] for the given customer and SKU. - rpc ListTransferableOffers(ListTransferableOffersRequest) returns (ListTransferableOffersResponse) { + // List of [TransferableOffer][google.cloud.channel.v1.TransferableOffer] for + // the given customer and SKU. + rpc ListTransferableOffers(ListTransferableOffersRequest) + returns (ListTransferableOffersResponse) { option (google.api.http) = { post: "/v1/{parent=accounts/*}:listTransferableOffers" body: "*" }; } - // Returns the requested [Entitlement][google.cloud.channel.v1.Entitlement] resource. + // Returns the requested [Entitlement][google.cloud.channel.v1.Entitlement] + // resource. // // Possible error codes: // @@ -367,7 +386,8 @@ service CloudChannelService { // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata will contain an // instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. - rpc CreateEntitlement(CreateEntitlementRequest) returns (google.longrunning.Operation) { + rpc CreateEntitlement(CreateEntitlementRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=accounts/*/customers/*}/entitlements" body: "*" @@ -401,7 +421,8 @@ service CloudChannelService { // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata will contain an // instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. - rpc ChangeParameters(ChangeParametersRequest) returns (google.longrunning.Operation) { + rpc ChangeParameters(ChangeParametersRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=accounts/*/customers/*/entitlements/*}:changeParameters" body: "*" @@ -435,7 +456,8 @@ service CloudChannelService { // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata will contain an // instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. - rpc ChangeRenewalSettings(ChangeRenewalSettingsRequest) returns (google.longrunning.Operation) { + rpc ChangeRenewalSettings(ChangeRenewalSettingsRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=accounts/*/customers/*/entitlements/*}:changeRenewalSettings" body: "*" @@ -502,7 +524,8 @@ service CloudChannelService { // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata will contain an // instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. - rpc StartPaidService(StartPaidServiceRequest) returns (google.longrunning.Operation) { + rpc StartPaidService(StartPaidServiceRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=accounts/*/customers/*/entitlements/*}:startPaidService" body: "*" @@ -534,7 +557,8 @@ service CloudChannelService { // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata will contain an // instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. - rpc SuspendEntitlement(SuspendEntitlementRequest) returns (google.longrunning.Operation) { + rpc SuspendEntitlement(SuspendEntitlementRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=accounts/*/customers/*/entitlements/*}:suspend" body: "*" @@ -571,7 +595,8 @@ service CloudChannelService { // CloudChannelOperationsService. The response will contain // google.protobuf.Empty on success. The Operation metadata will contain an // instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. - rpc CancelEntitlement(CancelEntitlementRequest) returns (google.longrunning.Operation) { + rpc CancelEntitlement(CancelEntitlementRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=accounts/*/customers/*/entitlements/*}:cancel" body: "*" @@ -609,7 +634,8 @@ service CloudChannelService { // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata will contain an // instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. - rpc ActivateEntitlement(ActivateEntitlementRequest) returns (google.longrunning.Operation) { + rpc ActivateEntitlement(ActivateEntitlementRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=accounts/*/customers/*/entitlements/*}:activate" body: "*" @@ -649,7 +675,8 @@ service CloudChannelService { // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata will contain an // instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. - rpc TransferEntitlements(TransferEntitlementsRequest) returns (google.longrunning.Operation) { + rpc TransferEntitlements(TransferEntitlementsRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=accounts/*/customers/*}:transferEntitlements" body: "*" @@ -689,7 +716,8 @@ service CloudChannelService { // CloudChannelOperationsService. The response will contain // google.protobuf.Empty on success. The Operation metadata will contain an // instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. - rpc TransferEntitlementsToGoogle(TransferEntitlementsToGoogleRequest) returns (google.longrunning.Operation) { + rpc TransferEntitlementsToGoogle(TransferEntitlementsToGoogleRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=accounts/*/customers/*}:transferEntitlementsToGoogle" body: "*" @@ -700,8 +728,8 @@ service CloudChannelService { }; } - // List [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s belonging to a distributor. - // You must be a distributor to call this method. + // List [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s + // belonging to a distributor. You must be a distributor to call this method. // // Possible error codes: // @@ -710,14 +738,17 @@ service CloudChannelService { // * INVALID_ARGUMENT: Required request parameters are missing or invalid. // // Return value: - // The list of the distributor account's [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources. - rpc ListChannelPartnerLinks(ListChannelPartnerLinksRequest) returns (ListChannelPartnerLinksResponse) { + // The list of the distributor account's + // [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources. + rpc ListChannelPartnerLinks(ListChannelPartnerLinksRequest) + returns (ListChannelPartnerLinksResponse) { option (google.api.http) = { get: "/v1/{parent=accounts/*}/channelPartnerLinks" }; } - // Returns the requested [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource. + // Returns the requested + // [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource. // You must be a distributor to call this method. // // Possible error codes: @@ -729,8 +760,10 @@ service CloudChannelService { // invalid channel partner link name. // // Return value: - // The [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource. - rpc GetChannelPartnerLink(GetChannelPartnerLinkRequest) returns (ChannelPartnerLink) { + // The [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] + // resource. + rpc GetChannelPartnerLink(GetChannelPartnerLinkRequest) + returns (ChannelPartnerLink) { option (google.api.http) = { get: "/v1/{name=accounts/*/channelPartnerLinks/*}" }; @@ -757,8 +790,10 @@ service CloudChannelService { // Contact Cloud Channel support. // // Return value: - // The new [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource. - rpc CreateChannelPartnerLink(CreateChannelPartnerLinkRequest) returns (ChannelPartnerLink) { + // The new [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] + // resource. + rpc CreateChannelPartnerLink(CreateChannelPartnerLinkRequest) + returns (ChannelPartnerLink) { option (google.api.http) = { post: "/v1/{parent=accounts/*}/channelPartnerLinks" body: "channel_partner_link" @@ -785,8 +820,10 @@ service CloudChannelService { // Contact Cloud Channel support. // // Return value: - // The updated [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource. - rpc UpdateChannelPartnerLink(UpdateChannelPartnerLinkRequest) returns (ChannelPartnerLink) { + // The updated + // [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource. + rpc UpdateChannelPartnerLink(UpdateChannelPartnerLinkRequest) + returns (ChannelPartnerLink) { option (google.api.http) = { patch: "/v1/{name=accounts/*/channelPartnerLinks/*}" body: "*" @@ -800,14 +837,18 @@ service CloudChannelService { // // * PERMISSION_DENIED: If the account making the request and the account // being queried are different. - // * NOT_FOUND: The [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] was not found. + // * NOT_FOUND: The + // [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] + // was not found. // * INTERNAL: Any non-user error related to technical issues in the // backend. In this case, contact Cloud Channel support. // // Return Value: - // If successful, the [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] resource, otherwise returns - // an error. - rpc GetCustomerRepricingConfig(GetCustomerRepricingConfigRequest) returns (CustomerRepricingConfig) { + // If successful, the + // [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] + // resource, otherwise returns an error. + rpc GetCustomerRepricingConfig(GetCustomerRepricingConfigRequest) + returns (CustomerRepricingConfig) { option (google.api.http) = { get: "/v1/{name=accounts/*/customers/*/customerRepricingConfigs/*}" }; @@ -821,21 +862,25 @@ service CloudChannelService { // // * PERMISSION_DENIED: If the account making the request and the account // being queried are different. - // * NOT_FOUND: The [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] specified does not exist or is - // not associated with the given account. + // * NOT_FOUND: The + // [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] + // specified does not exist or is not associated with the given account. // * INTERNAL: Any non-user error related to technical issues in the // backend. In this case, contact Cloud Channel support. // // Return Value: - // If successful, the [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] resources. The - // data for each resource is displayed in the ascending order of: + // If successful, the + // [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] + // resources. The data for each resource is displayed in the ascending order + // of: // * customer ID // * [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement] // * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] // * [CustomerRepricingConfig.update_time][google.cloud.channel.v1.CustomerRepricingConfig.update_time] // // If unsuccessful, returns an error. - rpc ListCustomerRepricingConfigs(ListCustomerRepricingConfigsRequest) returns (ListCustomerRepricingConfigsResponse) { + rpc ListCustomerRepricingConfigs(ListCustomerRepricingConfigsRequest) + returns (ListCustomerRepricingConfigsResponse) { option (google.api.http) = { get: "/v1/{parent=accounts/*/customers/*}/customerRepricingConfigs" }; @@ -844,9 +889,9 @@ service CloudChannelService { // Creates a CustomerRepricingConfig. Call this method to set modifications // for a specific customer's bill. You can only create configs if the - // [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is a - // future month. If needed, you can create a config for the current month, - // with some restrictions. + // [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] + // is a future month. If needed, you can create a config for the current + // month, with some restrictions. // // When creating a config for a future month, make sure there are no existing // configs for that @@ -860,9 +905,11 @@ service CloudChannelService { // Changes to the config may be immediate, but may take up to 24 hours. // * There is a limit of ten configs for any // [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement] - // or [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]. - // * The contained [CustomerRepricingConfig.repricing_config][google.cloud.channel.v1.CustomerRepricingConfig.repricing_config] vaule must be - // different from the value used in the current config for a + // or + // [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]. + // * The contained + // [CustomerRepricingConfig.repricing_config][google.cloud.channel.v1.CustomerRepricingConfig.repricing_config] + // vaule must be different from the value used in the current config for a // [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]. // // Possible Error Codes: @@ -872,15 +919,18 @@ service CloudChannelService { // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. Also displays if the updated config is for the current month or // past months. - // * NOT_FOUND: The [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] specified does not exist or is - // not associated with the given account. + // * NOT_FOUND: The + // [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] + // specified does not exist or is not associated with the given account. // * INTERNAL: Any non-user error related to technical issues in the // backend. In this case, contact Cloud Channel support. // // Return Value: - // If successful, the updated [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] resource, otherwise - // returns an error. - rpc CreateCustomerRepricingConfig(CreateCustomerRepricingConfigRequest) returns (CustomerRepricingConfig) { + // If successful, the updated + // [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] + // resource, otherwise returns an error. + rpc CreateCustomerRepricingConfig(CreateCustomerRepricingConfigRequest) + returns (CustomerRepricingConfig) { option (google.api.http) = { post: "/v1/{parent=accounts/*/customers/*}/customerRepricingConfigs" body: "customer_repricing_config" @@ -893,10 +943,11 @@ service CloudChannelService { // CustomerRepricingConfig. // // You can only update configs if the - // [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is a - // future month. To make changes to configs for the current month, use - // [CreateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig], taking note of its restrictions. You - // cannot update the [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]. + // [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] + // is a future month. To make changes to configs for the current month, use + // [CreateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig], + // taking note of its restrictions. You cannot update the + // [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]. // // When updating a config in the future: // @@ -909,15 +960,18 @@ service CloudChannelService { // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. Also displays if the updated config is for the current month or // past months. - // * NOT_FOUND: The [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] specified does not exist or is - // not associated with the given account. + // * NOT_FOUND: The + // [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] + // specified does not exist or is not associated with the given account. // * INTERNAL: Any non-user error related to technical issues in the // backend. In this case, contact Cloud Channel support. // // Return Value: - // If successful, the updated [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] resource, otherwise - // returns an error. - rpc UpdateCustomerRepricingConfig(UpdateCustomerRepricingConfigRequest) returns (CustomerRepricingConfig) { + // If successful, the updated + // [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] + // resource, otherwise returns an error. + rpc UpdateCustomerRepricingConfig(UpdateCustomerRepricingConfigRequest) + returns (CustomerRepricingConfig) { option (google.api.http) = { patch: "/v1/{customer_repricing_config.name=accounts/*/customers/*/customerRepricingConfigs/*}" body: "customer_repricing_config" @@ -925,20 +979,25 @@ service CloudChannelService { option (google.api.method_signature) = "customer_repricing_config"; } - // Deletes the given [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] permanently. You can only - // delete configs if their [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is set - // to a date after the current month. + // Deletes the given + // [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] + // permanently. You can only delete configs if their + // [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] + // is set to a date after the current month. // // Possible error codes: // // * PERMISSION_DENIED: The account making the request does not own // this customer. // * INVALID_ARGUMENT: Required request parameters are missing or invalid. - // * FAILED_PRECONDITION: The [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] is active or in the - // past. - // * NOT_FOUND: No [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] found for the name in the - // request. - rpc DeleteCustomerRepricingConfig(DeleteCustomerRepricingConfigRequest) returns (google.protobuf.Empty) { + // * FAILED_PRECONDITION: The + // [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] + // is active or in the past. + // * NOT_FOUND: No + // [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] + // found for the name in the request. + rpc DeleteCustomerRepricingConfig(DeleteCustomerRepricingConfigRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=accounts/*/customers/*/customerRepricingConfigs/*}" }; @@ -952,14 +1011,18 @@ service CloudChannelService { // // * PERMISSION_DENIED: If the account making the request and the account // being queried are different. - // * NOT_FOUND: The [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] was not found. + // * NOT_FOUND: The + // [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] + // was not found. // * INTERNAL: Any non-user error related to technical issues in the // backend. In this case, contact Cloud Channel support. // // Return Value: - // If successful, the [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] resource, otherwise - // returns an error. - rpc GetChannelPartnerRepricingConfig(GetChannelPartnerRepricingConfigRequest) returns (ChannelPartnerRepricingConfig) { + // If successful, the + // [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] + // resource, otherwise returns an error. + rpc GetChannelPartnerRepricingConfig(GetChannelPartnerRepricingConfigRequest) + returns (ChannelPartnerRepricingConfig) { option (google.api.http) = { get: "/v1/{name=accounts/*/channelPartnerLinks/*/channelPartnerRepricingConfigs/*}" }; @@ -973,20 +1036,25 @@ service CloudChannelService { // // * PERMISSION_DENIED: If the account making the request and the account // being queried are different. - // * NOT_FOUND: The [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] specified does not exist - // or is not associated with the given account. + // * NOT_FOUND: The + // [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] + // specified does not exist or is not associated with the given account. // * INTERNAL: Any non-user error related to technical issues in the // backend. In this case, contact Cloud Channel support. // // Return Value: - // If successful, the [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] resources. - // The data for each resource is displayed in the ascending order of: + // If successful, the + // [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] + // resources. The data for each resource is displayed in the ascending order + // of: // * channel partner ID // * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] // * [ChannelPartnerRepricingConfig.update_time][google.cloud.channel.v1.ChannelPartnerRepricingConfig.update_time] // // If unsuccessful, returns an error. - rpc ListChannelPartnerRepricingConfigs(ListChannelPartnerRepricingConfigsRequest) returns (ListChannelPartnerRepricingConfigsResponse) { + rpc ListChannelPartnerRepricingConfigs( + ListChannelPartnerRepricingConfigsRequest) + returns (ListChannelPartnerRepricingConfigsResponse) { option (google.api.http) = { get: "/v1/{parent=accounts/*/channelPartnerLinks/*}/channelPartnerRepricingConfigs" }; @@ -995,9 +1063,10 @@ service CloudChannelService { // Creates a ChannelPartnerRepricingConfig. Call this method to set // modifications for a specific ChannelPartner's bill. You can only create - // configs if the [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is a future - // month. If needed, you can create a config for the current month, with some - // restrictions. + // configs if the + // [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] + // is a future month. If needed, you can create a config for the current + // month, with some restrictions. // // When creating a config for a future month, make sure there are no existing // configs for that @@ -1011,8 +1080,9 @@ service CloudChannelService { // Changes to the config may be immediate, but may take up to 24 hours. // * There is a limit of ten configs for any ChannelPartner or // [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]. - // * The contained [ChannelPartnerRepricingConfig.repricing_config][google.cloud.channel.v1.ChannelPartnerRepricingConfig.repricing_config] vaule - // must be different from the value used in the current config for a + // * The contained + // [ChannelPartnerRepricingConfig.repricing_config][google.cloud.channel.v1.ChannelPartnerRepricingConfig.repricing_config] + // vaule must be different from the value used in the current config for a // ChannelPartner. // // Possible Error Codes: @@ -1022,20 +1092,25 @@ service CloudChannelService { // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. Also displays if the updated config is for the current month or // past months. - // * NOT_FOUND: The [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] specified does not exist - // or is not associated with the given account. + // * NOT_FOUND: The + // [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] + // specified does not exist or is not associated with the given account. // * INTERNAL: Any non-user error related to technical issues in the // backend. In this case, contact Cloud Channel support. // // Return Value: - // If successful, the updated [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] resource, - // otherwise returns an error. - rpc CreateChannelPartnerRepricingConfig(CreateChannelPartnerRepricingConfigRequest) returns (ChannelPartnerRepricingConfig) { + // If successful, the updated + // [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] + // resource, otherwise returns an error. + rpc CreateChannelPartnerRepricingConfig( + CreateChannelPartnerRepricingConfigRequest) + returns (ChannelPartnerRepricingConfig) { option (google.api.http) = { post: "/v1/{parent=accounts/*/channelPartnerLinks/*}/channelPartnerRepricingConfigs" body: "channel_partner_repricing_config" }; - option (google.api.method_signature) = "parent,channel_partner_repricing_config"; + option (google.api.method_signature) = + "parent,channel_partner_repricing_config"; } // Updates a ChannelPartnerRepricingConfig. Call this method to set @@ -1043,10 +1118,11 @@ service CloudChannelService { // the existing CustomerRepricingConfig. // // You can only update configs if the - // [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is a - // future month. To make changes to configs for the current month, use - // [CreateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerRepricingConfig], taking note of its restrictions. - // You cannot update the [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]. + // [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] + // is a future month. To make changes to configs for the current month, use + // [CreateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerRepricingConfig], + // taking note of its restrictions. You cannot update the + // [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]. // // When updating a config in the future: // @@ -1059,15 +1135,19 @@ service CloudChannelService { // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. Also displays if the updated config is for the current month or // past months. - // * NOT_FOUND: The [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] specified does not exist - // or is not associated with the given account. + // * NOT_FOUND: The + // [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] + // specified does not exist or is not associated with the given account. // * INTERNAL: Any non-user error related to technical issues in the // backend. In this case, contact Cloud Channel support. // // Return Value: - // If successful, the updated [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] resource, - // otherwise returns an error. - rpc UpdateChannelPartnerRepricingConfig(UpdateChannelPartnerRepricingConfigRequest) returns (ChannelPartnerRepricingConfig) { + // If successful, the updated + // [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] + // resource, otherwise returns an error. + rpc UpdateChannelPartnerRepricingConfig( + UpdateChannelPartnerRepricingConfigRequest) + returns (ChannelPartnerRepricingConfig) { option (google.api.http) = { patch: "/v1/{channel_partner_repricing_config.name=accounts/*/channelPartnerLinks/*/channelPartnerRepricingConfigs/*}" body: "channel_partner_repricing_config" @@ -1075,20 +1155,26 @@ service CloudChannelService { option (google.api.method_signature) = "channel_partner_repricing_config"; } - // Deletes the given [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] permanently. You can - // only delete configs if their [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is - // set to a date after the current month. + // Deletes the given + // [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] + // permanently. You can only delete configs if their + // [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] + // is set to a date after the current month. // // Possible error codes: // // * PERMISSION_DENIED: The account making the request does not own // this customer. // * INVALID_ARGUMENT: Required request parameters are missing or invalid. - // * FAILED_PRECONDITION: The [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] is active or - // in the past. - // * NOT_FOUND: No [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] found for the name in the - // request. - rpc DeleteChannelPartnerRepricingConfig(DeleteChannelPartnerRepricingConfigRequest) returns (google.protobuf.Empty) { + // * FAILED_PRECONDITION: The + // [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] + // is active or in the past. + // * NOT_FOUND: No + // [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] + // found for the name in the request. + rpc DeleteChannelPartnerRepricingConfig( + DeleteChannelPartnerRepricingConfigRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=accounts/*/channelPartnerLinks/*/channelPartnerRepricingConfigs/*}" }; @@ -1153,7 +1239,8 @@ service CloudChannelService { // // * PERMISSION_DENIED: The customer doesn't belong to the reseller. // * INVALID_ARGUMENT: Required request parameters are missing or invalid. - rpc ListPurchasableSkus(ListPurchasableSkusRequest) returns (ListPurchasableSkusResponse) { + rpc ListPurchasableSkus(ListPurchasableSkusRequest) + returns (ListPurchasableSkusResponse) { option (google.api.http) = { get: "/v1/{customer=accounts/*/customers/*}:listPurchasableSkus" }; @@ -1168,7 +1255,8 @@ service CloudChannelService { // // * PERMISSION_DENIED: The customer doesn't belong to the reseller // * INVALID_ARGUMENT: Required request parameters are missing or invalid. - rpc ListPurchasableOffers(ListPurchasableOffersRequest) returns (ListPurchasableOffersResponse) { + rpc ListPurchasableOffers(ListPurchasableOffersRequest) + returns (ListPurchasableOffersResponse) { option (google.api.http) = { get: "/v1/{customer=accounts/*/customers/*}:listPurchasableOffers" }; @@ -1176,7 +1264,8 @@ service CloudChannelService { // Registers a service account with subscriber privileges on the Cloud Pub/Sub // topic for this Channel Services account. After you create a - // subscriber, you get the events through [SubscriberEvent][google.cloud.channel.v1.SubscriberEvent] + // subscriber, you get the events through + // [SubscriberEvent][google.cloud.channel.v1.SubscriberEvent] // // Possible error codes: // @@ -1191,7 +1280,8 @@ service CloudChannelService { // // Return value: // The topic name with the registered service email address. - rpc RegisterSubscriber(RegisterSubscriberRequest) returns (RegisterSubscriberResponse) { + rpc RegisterSubscriber(RegisterSubscriberRequest) + returns (RegisterSubscriberResponse) { option (google.api.http) = { post: "/v1/{account=accounts/*}:register" body: "*" @@ -1219,7 +1309,8 @@ service CloudChannelService { // The topic name that unregistered the service email address. // Returns a success response if the service email address wasn't registered // with the topic. - rpc UnregisterSubscriber(UnregisterSubscriberRequest) returns (UnregisterSubscriberResponse) { + rpc UnregisterSubscriber(UnregisterSubscriberRequest) + returns (UnregisterSubscriberResponse) { option (google.api.http) = { post: "/v1/{account=accounts/*}:unregister" body: "*" @@ -1243,14 +1334,16 @@ service CloudChannelService { // // Return value: // A list of service email addresses. - rpc ListSubscribers(ListSubscribersRequest) returns (ListSubscribersResponse) { + rpc ListSubscribers(ListSubscribersRequest) + returns (ListSubscribersResponse) { option (google.api.http) = { get: "/v1/{account=accounts/*}:listSubscribers" }; } } -// Request message for [CloudChannelService.CheckCloudIdentityAccountsExist][google.cloud.channel.v1.CloudChannelService.CheckCloudIdentityAccountsExist]. +// Request message for +// [CloudChannelService.CheckCloudIdentityAccountsExist][google.cloud.channel.v1.CloudChannelService.CheckCloudIdentityAccountsExist]. message CheckCloudIdentityAccountsExistRequest { // Required. The reseller account's resource name. // Parent uses the format: accounts/{account_id} @@ -1287,40 +1380,48 @@ message CheckCloudIdentityAccountsExistResponse { repeated CloudIdentityCustomerAccount cloud_identity_accounts = 1; } -// Request message for [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers] +// Request message for +// [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers] message ListCustomersRequest { // Required. The resource name of the reseller account to list customers from. // Parent uses the format: accounts/{account_id}. string parent = 1 [(google.api.field_behavior) = REQUIRED]; - // Optional. The maximum number of customers to return. The service may return fewer - // than this value. If unspecified, returns at most 10 customers. The + // Optional. The maximum number of customers to return. The service may return + // fewer than this value. If unspecified, returns at most 10 customers. The // maximum value is 50. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. A token identifying a page of results other than the first page. // Obtained through - // [ListCustomersResponse.next_page_token][google.cloud.channel.v1.ListCustomersResponse.next_page_token] of the previous - // [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers] call. + // [ListCustomersResponse.next_page_token][google.cloud.channel.v1.ListCustomersResponse.next_page_token] + // of the previous + // [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers] + // call. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Filters applied to the [CloudChannelService.ListCustomers] results. See + // Optional. Filters applied to the [CloudChannelService.ListCustomers] + // results. See // https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers // for more information. string filter = 4 [(google.api.field_behavior) = OPTIONAL]; } -// Response message for [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers]. +// Response message for +// [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers]. message ListCustomersResponse { // The customers belonging to a reseller or distributor. repeated Customer customers = 1; // A token to retrieve the next page of results. - // Pass to [ListCustomersRequest.page_token][google.cloud.channel.v1.ListCustomersRequest.page_token] to obtain that page. + // Pass to + // [ListCustomersRequest.page_token][google.cloud.channel.v1.ListCustomersRequest.page_token] + // to obtain that page. string next_page_token = 2; } -// Request message for [CloudChannelService.GetCustomer][google.cloud.channel.v1.CloudChannelService.GetCustomer]. +// Request message for +// [CloudChannelService.GetCustomer][google.cloud.channel.v1.CloudChannelService.GetCustomer]. message GetCustomerRequest { // Required. The resource name of the customer to retrieve. // Name uses the format: accounts/{account_id}/customers/{customer_id} @@ -1332,17 +1433,19 @@ message GetCustomerRequest { ]; } -// Request message for [CloudChannelService.CreateCustomer][google.cloud.channel.v1.CloudChannelService.CreateCustomer] +// Request message for +// [CloudChannelService.CreateCustomer][google.cloud.channel.v1.CloudChannelService.CreateCustomer] message CreateCustomerRequest { - // Required. The resource name of reseller account in which to create the customer. - // Parent uses the format: accounts/{account_id} + // Required. The resource name of reseller account in which to create the + // customer. Parent uses the format: accounts/{account_id} string parent = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The customer to create. Customer customer = 2 [(google.api.field_behavior) = REQUIRED]; } -// Request message for [CloudChannelService.UpdateCustomer][google.cloud.channel.v1.CloudChannelService.UpdateCustomer]. +// Request message for +// [CloudChannelService.UpdateCustomer][google.cloud.channel.v1.CloudChannelService.UpdateCustomer]. message UpdateCustomerRequest { // Required. New contents of the customer. Customer customer = 2 [(google.api.field_behavior) = REQUIRED]; @@ -1352,7 +1455,8 @@ message UpdateCustomerRequest { google.protobuf.FieldMask update_mask = 3; } -// Request message for [CloudChannelService.DeleteCustomer][google.cloud.channel.v1.CloudChannelService.DeleteCustomer]. +// Request message for +// [CloudChannelService.DeleteCustomer][google.cloud.channel.v1.CloudChannelService.DeleteCustomer]. message DeleteCustomerRequest { // Required. The resource name of the customer to delete. string name = 1 [ @@ -1363,7 +1467,8 @@ message DeleteCustomerRequest { ]; } -// Request message for [CloudChannelService.ImportCustomer][google.cloud.channel.v1.CloudChannelService.ImportCustomer] +// Request message for +// [CloudChannelService.ImportCustomer][google.cloud.channel.v1.CloudChannelService.ImportCustomer] message ImportCustomerRequest { // Specifies the identity of the transfer customer. // A customer's cloud_identity_id or domain is required to look up the @@ -1393,9 +1498,10 @@ message ImportCustomerRequest { // conflicting region code or domain. bool overwrite_if_exists = 5 [(google.api.field_behavior) = REQUIRED]; - // Optional. Cloud Identity ID of a channel partner who will be the direct reseller for - // the customer's order. This field is required for 2-tier transfer scenarios - // and can be provided via the request Parent binding as well. + // Optional. Cloud Identity ID of a channel partner who will be the direct + // reseller for the customer's order. This field is required for 2-tier + // transfer scenarios and can be provided via the request Parent binding as + // well. string channel_partner_id = 6 [(google.api.field_behavior) = OPTIONAL]; // Optional. Specifies the customer that will receive imported Cloud Identity @@ -1409,7 +1515,8 @@ message ImportCustomerRequest { ]; } -// Request message for [CloudChannelService.ProvisionCloudIdentity][google.cloud.channel.v1.CloudChannelService.ProvisionCloudIdentity] +// Request message for +// [CloudChannelService.ProvisionCloudIdentity][google.cloud.channel.v1.CloudChannelService.ProvisionCloudIdentity] message ProvisionCloudIdentityRequest { // Required. Resource name of the customer. // Format: accounts/{account_id}/customers/{customer_id} @@ -1430,7 +1537,8 @@ message ProvisionCloudIdentityRequest { bool validate_only = 4; } -// Request message for [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements] +// Request message for +// [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements] message ListEntitlementsRequest { // Required. The resource name of the reseller's customer account to list // entitlements for. @@ -1442,29 +1550,35 @@ message ListEntitlementsRequest { } ]; - // Optional. Requested page size. Server might return fewer results than requested. - // If unspecified, return at most 50 entitlements. - // The maximum value is 100; the server will coerce values above 100. + // Optional. Requested page size. Server might return fewer results than + // requested. If unspecified, return at most 50 entitlements. The maximum + // value is 100; the server will coerce values above 100. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. A token for a page of results other than the first page. // Obtained using - // [ListEntitlementsResponse.next_page_token][google.cloud.channel.v1.ListEntitlementsResponse.next_page_token] of the previous - // [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements] call. + // [ListEntitlementsResponse.next_page_token][google.cloud.channel.v1.ListEntitlementsResponse.next_page_token] + // of the previous + // [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements] + // call. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; } -// Response message for [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements]. +// Response message for +// [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements]. message ListEntitlementsResponse { // The reseller customer's entitlements. repeated Entitlement entitlements = 1; // A token to list the next page of results. - // Pass to [ListEntitlementsRequest.page_token][google.cloud.channel.v1.ListEntitlementsRequest.page_token] to obtain that page. + // Pass to + // [ListEntitlementsRequest.page_token][google.cloud.channel.v1.ListEntitlementsRequest.page_token] + // to obtain that page. string next_page_token = 2; } -// Request message for [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus] +// Request message for +// [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus] message ListTransferableSkusRequest { // Specifies the identity of transferred customer. // Either a cloud_identity_id of the customer or the customer name is @@ -1492,9 +1606,10 @@ message ListTransferableSkusRequest { // A token for a page of results other than the first page. // Obtained using - // [ListTransferableSkusResponse.next_page_token][google.cloud.channel.v1.ListTransferableSkusResponse.next_page_token] of the previous - // [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus] call. - // Optional. + // [ListTransferableSkusResponse.next_page_token][google.cloud.channel.v1.ListTransferableSkusResponse.next_page_token] + // of the previous + // [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus] + // call. Optional. string page_token = 3; // Optional. The super admin of the resold customer generates this token to @@ -1510,18 +1625,21 @@ message ListTransferableSkusRequest { string language_code = 6; } -// Response message for [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus]. +// Response message for +// [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus]. message ListTransferableSkusResponse { // Information about existing SKUs for a customer that needs a transfer. repeated TransferableSku transferable_skus = 1; // A token to retrieve the next page of results. - // Pass to [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token] to obtain - // that page. + // Pass to + // [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token] + // to obtain that page. string next_page_token = 2; } -// Request message for [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers] +// Request message for +// [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers] message ListTransferableOffersRequest { // Specifies the identity of transferred customer. // Either a cloud_identity_id of the customer or the customer name is @@ -1545,8 +1663,10 @@ message ListTransferableOffersRequest { // A token for a page of results other than the first page. // Obtained using - // [ListTransferableOffersResponse.next_page_token][google.cloud.channel.v1.ListTransferableOffersResponse.next_page_token] of the previous - // [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers] call. + // [ListTransferableOffersResponse.next_page_token][google.cloud.channel.v1.ListTransferableOffersResponse.next_page_token] + // of the previous + // [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers] + // call. string page_token = 3; // Required. The SKU to look up Offers for. @@ -1558,15 +1678,17 @@ message ListTransferableOffersRequest { string language_code = 7 [(google.api.field_behavior) = OPTIONAL]; } -// Response message for [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers]. +// Response message for +// [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers]. message ListTransferableOffersResponse { // Information about Offers for a customer that can be used for // transfer. repeated TransferableOffer transferable_offers = 1; // A token to retrieve the next page of results. - // Pass to [ListTransferableOffersRequest.page_token][google.cloud.channel.v1.ListTransferableOffersRequest.page_token] to obtain - // that page. + // Pass to + // [ListTransferableOffersRequest.page_token][google.cloud.channel.v1.ListTransferableOffersRequest.page_token] + // to obtain that page. string next_page_token = 2; } @@ -1577,7 +1699,8 @@ message TransferableOffer { Offer offer = 1; } -// Request message for [CloudChannelService.GetEntitlement][google.cloud.channel.v1.CloudChannelService.GetEntitlement]. +// Request message for +// [CloudChannelService.GetEntitlement][google.cloud.channel.v1.CloudChannelService.GetEntitlement]. message GetEntitlementRequest { // Required. The resource name of the entitlement to retrieve. // Name uses the format: @@ -1590,39 +1713,45 @@ message GetEntitlementRequest { ]; } -// Request message for [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks] +// Request message for +// [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks] message ListChannelPartnerLinksRequest { - // Required. The resource name of the reseller account for listing channel partner - // links. - // Parent uses the format: accounts/{account_id} + // Required. The resource name of the reseller account for listing channel + // partner links. Parent uses the format: accounts/{account_id} string parent = 1 [(google.api.field_behavior) = REQUIRED]; - // Optional. Requested page size. Server might return fewer results than requested. - // If unspecified, server will pick a default size (25). - // The maximum value is 200; the server will coerce values above 200. + // Optional. Requested page size. Server might return fewer results than + // requested. If unspecified, server will pick a default size (25). The + // maximum value is 200; the server will coerce values above 200. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. A token for a page of results other than the first page. // Obtained using - // [ListChannelPartnerLinksResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerLinksResponse.next_page_token] of the previous - // [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks] call. + // [ListChannelPartnerLinksResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerLinksResponse.next_page_token] + // of the previous + // [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks] + // call. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; // Optional. The level of granularity the ChannelPartnerLink will display. ChannelPartnerLinkView view = 4 [(google.api.field_behavior) = OPTIONAL]; } -// Response message for [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks]. +// Response message for +// [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks]. message ListChannelPartnerLinksResponse { // The Channel partner links for a reseller. repeated ChannelPartnerLink channel_partner_links = 1; // A token to retrieve the next page of results. - // Pass to [ListChannelPartnerLinksRequest.page_token][google.cloud.channel.v1.ListChannelPartnerLinksRequest.page_token] to obtain that page. + // Pass to + // [ListChannelPartnerLinksRequest.page_token][google.cloud.channel.v1.ListChannelPartnerLinksRequest.page_token] + // to obtain that page. string next_page_token = 2; } -// Request message for [CloudChannelService.GetChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.GetChannelPartnerLink]. +// Request message for +// [CloudChannelService.GetChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.GetChannelPartnerLink]. message GetChannelPartnerLinkRequest { // Required. The resource name of the channel partner link to retrieve. // Name uses the format: accounts/{account_id}/channelPartnerLinks/{id} @@ -1633,7 +1762,8 @@ message GetChannelPartnerLinkRequest { ChannelPartnerLinkView view = 2 [(google.api.field_behavior) = OPTIONAL]; } -// Request message for [CloudChannelService.CreateChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerLink] +// Request message for +// [CloudChannelService.CreateChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerLink] message CreateChannelPartnerLinkRequest { // Required. Create a channel partner link for the provided reseller account's // resource name. @@ -1643,27 +1773,32 @@ message CreateChannelPartnerLinkRequest { // Required. The channel partner link to create. // Either channel_partner_link.reseller_cloud_identity_id or domain can be // used to create a link. - ChannelPartnerLink channel_partner_link = 2 [(google.api.field_behavior) = REQUIRED]; + ChannelPartnerLink channel_partner_link = 2 + [(google.api.field_behavior) = REQUIRED]; } -// Request message for [CloudChannelService.UpdateChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.UpdateChannelPartnerLink] +// Request message for +// [CloudChannelService.UpdateChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.UpdateChannelPartnerLink] message UpdateChannelPartnerLinkRequest { // Required. The resource name of the channel partner link to cancel. // Name uses the format: accounts/{account_id}/channelPartnerLinks/{id} // where {id} is the Cloud Identity ID of the partner. string name = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. The channel partner link to update. Only channel_partner_link.link_state - // is allowed for updates. - ChannelPartnerLink channel_partner_link = 2 [(google.api.field_behavior) = REQUIRED]; + // Required. The channel partner link to update. Only + // channel_partner_link.link_state is allowed for updates. + ChannelPartnerLink channel_partner_link = 2 + [(google.api.field_behavior) = REQUIRED]; // Required. The update mask that applies to the resource. // The only allowable value for an update mask is // channel_partner_link.link_state. - google.protobuf.FieldMask update_mask = 3 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 3 + [(google.api.field_behavior) = REQUIRED]; } -// Request message for [CloudChannelService.GetCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.GetCustomerRepricingConfig]. +// Request message for +// [CloudChannelService.GetCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.GetCustomerRepricingConfig]. message GetCustomerRepricingConfigRequest { // Required. The resource name of the CustomerRepricingConfig. // Format: @@ -1676,7 +1811,8 @@ message GetCustomerRepricingConfigRequest { ]; } -// Request message for [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs]. +// Request message for +// [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs]. message ListCustomerRepricingConfigsRequest { // Required. The resource name of the customer. // Parent uses the format: accounts/{account_id}/customers/{customer_id}. @@ -1689,15 +1825,17 @@ message ListCustomerRepricingConfigsRequest { } ]; - // Optional. The maximum number of repricing configs to return. The service may return - // fewer than this value. If unspecified, returns a maximum of 50 rules. The - // maximum value is 100; values above 100 will be coerced to 100. + // Optional. The maximum number of repricing configs to return. The service + // may return fewer than this value. If unspecified, returns a maximum of 50 + // rules. The maximum value is 100; values above 100 will be coerced to 100. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. A token identifying a page of results beyond the first page. // Obtained through - // [ListCustomerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.next_page_token] of the previous - // [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs] call. + // [ListCustomerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.next_page_token] + // of the previous + // [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs] + // call. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; // Optional. A filter for [CloudChannelService.ListCustomerRepricingConfigs] @@ -1710,21 +1848,25 @@ message ListCustomerRepricingConfigsRequest { string filter = 4 [(google.api.field_behavior) = OPTIONAL]; } -// Response message for [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs]. +// Response message for +// [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs]. message ListCustomerRepricingConfigsResponse { // The repricing configs for this channel partner. repeated CustomerRepricingConfig customer_repricing_configs = 1; // A token to retrieve the next page of results. - // Pass to [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token] to obtain that - // page. + // Pass to + // [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token] + // to obtain that page. string next_page_token = 2; } -// Request message for [CloudChannelService.CreateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig]. +// Request message for +// [CloudChannelService.CreateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig]. message CreateCustomerRepricingConfigRequest { - // Required. The resource name of the customer that will receive this repricing config. - // Parent uses the format: accounts/{account_id}/customers/{customer_id} + // Required. The resource name of the customer that will receive this + // repricing config. Parent uses the format: + // accounts/{account_id}/customers/{customer_id} string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1733,19 +1875,23 @@ message CreateCustomerRepricingConfigRequest { ]; // Required. The CustomerRepricingConfig object to update. - CustomerRepricingConfig customer_repricing_config = 2 [(google.api.field_behavior) = REQUIRED]; + CustomerRepricingConfig customer_repricing_config = 2 + [(google.api.field_behavior) = REQUIRED]; } -// Request message for [CloudChannelService.UpdateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.UpdateCustomerRepricingConfig]. +// Request message for +// [CloudChannelService.UpdateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.UpdateCustomerRepricingConfig]. message UpdateCustomerRepricingConfigRequest { // Required. The CustomerRepricingConfig object to update. - CustomerRepricingConfig customer_repricing_config = 1 [(google.api.field_behavior) = REQUIRED]; + CustomerRepricingConfig customer_repricing_config = 1 + [(google.api.field_behavior) = REQUIRED]; } -// Request message for [CloudChannelService.DeleteCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.DeleteCustomerRepricingConfig]. +// Request message for +// [CloudChannelService.DeleteCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.DeleteCustomerRepricingConfig]. message DeleteCustomerRepricingConfigRequest { - // Required. The resource name of the customer repricing config rule to delete. - // Format: + // Required. The resource name of the customer repricing config rule to + // delete. Format: // accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}. string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -1755,7 +1901,8 @@ message DeleteCustomerRepricingConfigRequest { ]; } -// Request message for [CloudChannelService.GetChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.GetChannelPartnerRepricingConfig] +// Request message for +// [CloudChannelService.GetChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.GetChannelPartnerRepricingConfig] message GetChannelPartnerRepricingConfigRequest { // Required. The resource name of the ChannelPartnerRepricingConfig // Format: @@ -1771,8 +1918,9 @@ message GetChannelPartnerRepricingConfigRequest { // Request message for // [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs]. message ListChannelPartnerRepricingConfigsRequest { - // Required. The resource name of the account's [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]. - // Parent uses the format: + // Required. The resource name of the account's + // [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]. Parent + // uses the format: // accounts/{account_id}/channelPartnerLinks/{channel_partner_id}. // Supports accounts/{account_id}/channelPartnerLinks/- to retrieve configs // for all channel partners. @@ -1783,21 +1931,23 @@ message ListChannelPartnerRepricingConfigsRequest { } ]; - // Optional. The maximum number of repricing configs to return. The service may return - // fewer than this value. If unspecified, returns a maximum of 50 rules. The - // maximum value is 100; values above 100 will be coerced to 100. + // Optional. The maximum number of repricing configs to return. The service + // may return fewer than this value. If unspecified, returns a maximum of 50 + // rules. The maximum value is 100; values above 100 will be coerced to 100. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. A token identifying a page of results beyond the first page. // Obtained through - // [ListChannelPartnerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.next_page_token] of the - // previous [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs] call. + // [ListChannelPartnerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.next_page_token] + // of the previous + // [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs] + // call. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A filter for [CloudChannelService.ListChannelPartnerRepricingConfigs] - // results (channel_partner_link only). You can use this filter when you - // support a BatchGet-like query. - // To use the filter, you must set + // Optional. A filter for + // [CloudChannelService.ListChannelPartnerRepricingConfigs] results + // (channel_partner_link only). You can use this filter when you support a + // BatchGet-like query. To use the filter, you must set // `parent=accounts/{account_id}/channelPartnerLinks/-`. // // Example: `channel_partner_link = @@ -1813,16 +1963,17 @@ message ListChannelPartnerRepricingConfigsResponse { repeated ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; // A token to retrieve the next page of results. - // Pass to [ListChannelPartnerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.page_token] to obtain - // that page. + // Pass to + // [ListChannelPartnerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.page_token] + // to obtain that page. string next_page_token = 2; } // Request message for // [CloudChannelService.CreateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerRepricingConfig]. message CreateChannelPartnerRepricingConfigRequest { - // Required. The resource name of the ChannelPartner that will receive the repricing - // config. Parent uses the format: + // Required. The resource name of the ChannelPartner that will receive the + // repricing config. Parent uses the format: // accounts/{account_id}/channelPartnerLinks/{channel_partner_id} string parent = 1 [ (google.api.field_behavior) = REQUIRED, @@ -1832,19 +1983,22 @@ message CreateChannelPartnerRepricingConfigRequest { ]; // Required. The ChannelPartnerRepricingConfig object to update. - ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(google.api.field_behavior) = REQUIRED]; + ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for // [CloudChannelService.UpdateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.UpdateChannelPartnerRepricingConfig]. message UpdateChannelPartnerRepricingConfigRequest { // Required. The ChannelPartnerRepricingConfig object to update. - ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(google.api.field_behavior) = REQUIRED]; + ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 + [(google.api.field_behavior) = REQUIRED]; } // Request message for DeleteChannelPartnerRepricingConfig. message DeleteChannelPartnerRepricingConfigRequest { - // Required. The resource name of the channel partner repricing config rule to delete. + // Required. The resource name of the channel partner repricing config rule to + // delete. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1853,11 +2007,12 @@ message DeleteChannelPartnerRepricingConfigRequest { ]; } -// Request message for [CloudChannelService.CreateEntitlement][google.cloud.channel.v1.CloudChannelService.CreateEntitlement] +// Request message for +// [CloudChannelService.CreateEntitlement][google.cloud.channel.v1.CloudChannelService.CreateEntitlement] message CreateEntitlementRequest { - // Required. The resource name of the reseller's customer account in which to create the - // entitlement. - // Parent uses the format: accounts/{account_id}/customers/{customer_id} + // Required. The resource name of the reseller's customer account in which to + // create the entitlement. Parent uses the format: + // accounts/{account_id}/customers/{customer_id} string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1868,8 +2023,9 @@ message CreateEntitlementRequest { // Required. The entitlement to create. Entitlement entitlement = 2 [(google.api.field_behavior) = REQUIRED]; - // Optional. You can specify an optional unique request ID, and if you need to retry - // your request, the server will know to ignore the request if it's complete. + // Optional. You can specify an optional unique request ID, and if you need to + // retry your request, the server will know to ignore the request if it's + // complete. // // For example, you make an initial request and the request times out. If you // make the request again with the same request ID, the server can check if @@ -1882,15 +2038,17 @@ message CreateEntitlementRequest { string request_id = 5 [(google.api.field_behavior) = OPTIONAL]; } -// Request message for [CloudChannelService.TransferEntitlements][google.cloud.channel.v1.CloudChannelService.TransferEntitlements]. +// Request message for +// [CloudChannelService.TransferEntitlements][google.cloud.channel.v1.CloudChannelService.TransferEntitlements]. message TransferEntitlementsRequest { - // Required. The resource name of the reseller's customer account that will receive - // transferred entitlements. - // Parent uses the format: accounts/{account_id}/customers/{customer_id} + // Required. The resource name of the reseller's customer account that will + // receive transferred entitlements. Parent uses the format: + // accounts/{account_id}/customers/{customer_id} string parent = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The new entitlements to create or transfer. - repeated Entitlement entitlements = 2 [(google.api.field_behavior) = REQUIRED]; + repeated Entitlement entitlements = 2 + [(google.api.field_behavior) = REQUIRED]; // The super admin of the resold customer generates this token to // authorize a reseller to access their Cloud Identity and purchase @@ -1898,8 +2056,9 @@ message TransferEntitlementsRequest { // See https://support.google.com/a/answer/7643790 for more details. string auth_token = 4; - // Optional. You can specify an optional unique request ID, and if you need to retry - // your request, the server will know to ignore the request if it's complete. + // Optional. You can specify an optional unique request ID, and if you need to + // retry your request, the server will know to ignore the request if it's + // complete. // // For example, you make an initial request and the request times out. If you // make the request again with the same request ID, the server can check if @@ -1912,25 +2071,29 @@ message TransferEntitlementsRequest { string request_id = 6 [(google.api.field_behavior) = OPTIONAL]; } -// Response message for [CloudChannelService.TransferEntitlements][google.cloud.channel.v1.CloudChannelService.TransferEntitlements]. +// Response message for +// [CloudChannelService.TransferEntitlements][google.cloud.channel.v1.CloudChannelService.TransferEntitlements]. // This is put in the response field of google.longrunning.Operation. message TransferEntitlementsResponse { // The transferred entitlements. repeated Entitlement entitlements = 1; } -// Request message for [CloudChannelService.TransferEntitlementsToGoogle][google.cloud.channel.v1.CloudChannelService.TransferEntitlementsToGoogle]. +// Request message for +// [CloudChannelService.TransferEntitlementsToGoogle][google.cloud.channel.v1.CloudChannelService.TransferEntitlementsToGoogle]. message TransferEntitlementsToGoogleRequest { - // Required. The resource name of the reseller's customer account where the entitlements - // transfer from. - // Parent uses the format: accounts/{account_id}/customers/{customer_id} + // Required. The resource name of the reseller's customer account where the + // entitlements transfer from. Parent uses the format: + // accounts/{account_id}/customers/{customer_id} string parent = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The entitlements to transfer to Google. - repeated Entitlement entitlements = 2 [(google.api.field_behavior) = REQUIRED]; + repeated Entitlement entitlements = 2 + [(google.api.field_behavior) = REQUIRED]; - // Optional. You can specify an optional unique request ID, and if you need to retry - // your request, the server will know to ignore the request if it's complete. + // Optional. You can specify an optional unique request ID, and if you need to + // retry your request, the server will know to ignore the request if it's + // complete. // // For example, you make an initial request and the request times out. If you // make the request again with the same request ID, the server can check if @@ -1950,14 +2113,17 @@ message ChangeParametersRequest { // accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} string name = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. Entitlement parameters to update. You can only change editable parameters. + // Required. Entitlement parameters to update. You can only change editable + // parameters. // // To view the available Parameters for a request, refer to the - // [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer. + // [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] + // from the desired offer. repeated Parameter parameters = 2 [(google.api.field_behavior) = REQUIRED]; - // Optional. You can specify an optional unique request ID, and if you need to retry - // your request, the server will know to ignore the request if it's complete. + // Optional. You can specify an optional unique request ID, and if you need to + // retry your request, the server will know to ignore the request if it's + // complete. // // For example, you make an initial request and the request times out. If you // make the request again with the same request ID, the server can check if @@ -1973,7 +2139,8 @@ message ChangeParametersRequest { string purchase_order_id = 5 [(google.api.field_behavior) = OPTIONAL]; } -// Request message for [CloudChannelService.ChangeRenewalSettings][google.cloud.channel.v1.CloudChannelService.ChangeRenewalSettings]. +// Request message for +// [CloudChannelService.ChangeRenewalSettings][google.cloud.channel.v1.CloudChannelService.ChangeRenewalSettings]. message ChangeRenewalSettingsRequest { // Required. The name of the entitlement to update. // Name uses the format: @@ -1983,8 +2150,9 @@ message ChangeRenewalSettingsRequest { // Required. New renewal settings. RenewalSettings renewal_settings = 4 [(google.api.field_behavior) = REQUIRED]; - // Optional. You can specify an optional unique request ID, and if you need to retry - // your request, the server will know to ignore the request if it's complete. + // Optional. You can specify an optional unique request ID, and if you need to + // retry your request, the server will know to ignore the request if it's + // complete. // // For example, you make an initial request and the request times out. If you // make the request again with the same request ID, the server can check if @@ -1997,7 +2165,8 @@ message ChangeRenewalSettingsRequest { string request_id = 5 [(google.api.field_behavior) = OPTIONAL]; } -// Request message for [CloudChannelService.ChangeOffer][google.cloud.channel.v1.CloudChannelService.ChangeOffer]. +// Request message for +// [CloudChannelService.ChangeOffer][google.cloud.channel.v1.CloudChannelService.ChangeOffer]. message ChangeOfferRequest { // Required. The resource name of the entitlement to update. // Name uses the format: @@ -2013,15 +2182,18 @@ message ChangeOfferRequest { } ]; - // Optional. Parameters needed to purchase the Offer. To view the available Parameters - // refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer. + // Optional. Parameters needed to purchase the Offer. To view the available + // Parameters refer to the + // [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] + // from the desired offer. repeated Parameter parameters = 3 [(google.api.field_behavior) = OPTIONAL]; // Optional. Purchase order id provided by the reseller. string purchase_order_id = 5 [(google.api.field_behavior) = OPTIONAL]; - // Optional. You can specify an optional unique request ID, and if you need to retry - // your request, the server will know to ignore the request if it's complete. + // Optional. You can specify an optional unique request ID, and if you need to + // retry your request, the server will know to ignore the request if it's + // complete. // // For example, you make an initial request and the request times out. If you // make the request again with the same request ID, the server can check if @@ -2034,15 +2206,17 @@ message ChangeOfferRequest { string request_id = 6 [(google.api.field_behavior) = OPTIONAL]; } -// Request message for [CloudChannelService.StartPaidService][google.cloud.channel.v1.CloudChannelService.StartPaidService]. +// Request message for +// [CloudChannelService.StartPaidService][google.cloud.channel.v1.CloudChannelService.StartPaidService]. message StartPaidServiceRequest { // Required. The name of the entitlement to start a paid service for. // Name uses the format: // accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} string name = 1 [(google.api.field_behavior) = REQUIRED]; - // Optional. You can specify an optional unique request ID, and if you need to retry - // your request, the server will know to ignore the request if it's complete. + // Optional. You can specify an optional unique request ID, and if you need to + // retry your request, the server will know to ignore the request if it's + // complete. // // For example, you make an initial request and the request times out. If you // make the request again with the same request ID, the server can check if @@ -2055,15 +2229,17 @@ message StartPaidServiceRequest { string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; } -// Request message for [CloudChannelService.CancelEntitlement][google.cloud.channel.v1.CloudChannelService.CancelEntitlement]. +// Request message for +// [CloudChannelService.CancelEntitlement][google.cloud.channel.v1.CloudChannelService.CancelEntitlement]. message CancelEntitlementRequest { // Required. The resource name of the entitlement to cancel. // Name uses the format: // accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} string name = 1 [(google.api.field_behavior) = REQUIRED]; - // Optional. You can specify an optional unique request ID, and if you need to retry - // your request, the server will know to ignore the request if it's complete. + // Optional. You can specify an optional unique request ID, and if you need to + // retry your request, the server will know to ignore the request if it's + // complete. // // For example, you make an initial request and the request times out. If you // make the request again with the same request ID, the server can check if @@ -2076,15 +2252,17 @@ message CancelEntitlementRequest { string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; } -// Request message for [CloudChannelService.SuspendEntitlement][google.cloud.channel.v1.CloudChannelService.SuspendEntitlement]. +// Request message for +// [CloudChannelService.SuspendEntitlement][google.cloud.channel.v1.CloudChannelService.SuspendEntitlement]. message SuspendEntitlementRequest { // Required. The resource name of the entitlement to suspend. // Name uses the format: // accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} string name = 1 [(google.api.field_behavior) = REQUIRED]; - // Optional. You can specify an optional unique request ID, and if you need to retry - // your request, the server will know to ignore the request if it's complete. + // Optional. You can specify an optional unique request ID, and if you need to + // retry your request, the server will know to ignore the request if it's + // complete. // // For example, you make an initial request and the request times out. If you // make the request again with the same request ID, the server can check if @@ -2097,15 +2275,17 @@ message SuspendEntitlementRequest { string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; } -// Request message for [CloudChannelService.ActivateEntitlement][google.cloud.channel.v1.CloudChannelService.ActivateEntitlement]. +// Request message for +// [CloudChannelService.ActivateEntitlement][google.cloud.channel.v1.CloudChannelService.ActivateEntitlement]. message ActivateEntitlementRequest { // Required. The resource name of the entitlement to activate. // Name uses the format: // accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} string name = 1 [(google.api.field_behavior) = REQUIRED]; - // Optional. You can specify an optional unique request ID, and if you need to retry - // your request, the server will know to ignore the request if it's complete. + // Optional. You can specify an optional unique request ID, and if you need to + // retry your request, the server will know to ignore the request if it's + // complete. // // For example, you make an initial request and the request times out. If you // make the request again with the same request ID, the server can check if @@ -2137,9 +2317,9 @@ message ListProductsRequest { // Format: accounts/{account_id}. string account = 1 [(google.api.field_behavior) = REQUIRED]; - // Optional. Requested page size. Server might return fewer results than requested. - // If unspecified, returns at most 100 Products. - // The maximum value is 1000; the server will coerce values above 1000. + // Optional. Requested page size. Server might return fewer results than + // requested. If unspecified, returns at most 100 Products. The maximum value + // is 1000; the server will coerce values above 1000. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. A token for a page of results other than the first page. @@ -2176,9 +2356,9 @@ message ListSkusRequest { // Format: accounts/{account_id}. string account = 2 [(google.api.field_behavior) = REQUIRED]; - // Optional. Requested page size. Server might return fewer results than requested. - // If unspecified, returns at most 100 SKUs. - // The maximum value is 1000; the server will coerce values above 1000. + // Optional. Requested page size. Server might return fewer results than + // requested. If unspecified, returns at most 100 SKUs. The maximum value is + // 1000; the server will coerce values above 1000. int32 page_size = 3 [(google.api.field_behavior) = OPTIONAL]; // Optional. A token for a page of results other than the first page. @@ -2202,13 +2382,13 @@ message ListSkusResponse { // Request message for ListOffers. message ListOffersRequest { - // Required. The resource name of the reseller account from which to list Offers. - // Parent uses the format: accounts/{account_id}. + // Required. The resource name of the reseller account from which to list + // Offers. Parent uses the format: accounts/{account_id}. string parent = 1 [(google.api.field_behavior) = REQUIRED]; - // Optional. Requested page size. Server might return fewer results than requested. - // If unspecified, returns at most 500 Offers. - // The maximum value is 1000; the server will coerce values above 1000. + // Optional. Requested page size. Server might return fewer results than + // requested. If unspecified, returns at most 500 Offers. The maximum value is + // 1000; the server will coerce values above 1000. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. A token for a page of results other than the first page. @@ -2248,7 +2428,8 @@ message ListPurchasableSkusRequest { } // List SKUs for upgrading or downgrading an entitlement. Make the purchase - // using [CloudChannelService.ChangeOffer][google.cloud.channel.v1.CloudChannelService.ChangeOffer]. + // using + // [CloudChannelService.ChangeOffer][google.cloud.channel.v1.CloudChannelService.ChangeOffer]. message ChangeOfferPurchase { // Change Type enum. enum ChangeType { @@ -2289,9 +2470,9 @@ message ListPurchasableSkusRequest { } ]; - // Optional. Requested page size. Server might return fewer results than requested. - // If unspecified, returns at most 100 SKUs. - // The maximum value is 1000; the server will coerce values above 1000. + // Optional. Requested page size. Server might return fewer results than + // requested. If unspecified, returns at most 100 SKUs. The maximum value is + // 1000; the server will coerce values above 1000. int32 page_size = 4 [(google.api.field_behavior) = OPTIONAL]; // Optional. A token for a page of results other than the first page. @@ -2359,9 +2540,9 @@ message ListPurchasableOffersRequest { } ]; - // Optional. Requested page size. Server might return fewer results than requested. - // If unspecified, returns at most 100 Offers. - // The maximum value is 1000; the server will coerce values above 1000. + // Optional. Requested page size. Server might return fewer results than + // requested. If unspecified, returns at most 100 Offers. The maximum value is + // 1000; the server will coerce values above 1000. int32 page_size = 4 [(google.api.field_behavior) = OPTIONAL]; // Optional. A token for a page of results other than the first page. @@ -2394,7 +2575,8 @@ message RegisterSubscriberRequest { // Required. Resource name of the account. string account = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. Service account that provides subscriber access to the registered topic. + // Required. Service account that provides subscriber access to the registered + // topic. string service_account = 2 [(google.api.field_behavior) = REQUIRED]; } @@ -2409,7 +2591,8 @@ message UnregisterSubscriberRequest { // Required. Resource name of the account. string account = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. Service account to unregister from subscriber access to the topic. + // Required. Service account to unregister from subscriber access to the + // topic. string service_account = 2 [(google.api.field_behavior) = REQUIRED]; } @@ -2424,10 +2607,10 @@ message ListSubscribersRequest { // Required. Resource name of the account. string account = 1 [(google.api.field_behavior) = REQUIRED]; - // Optional. The maximum number of service accounts to return. The service may return - // fewer than this value. - // If unspecified, returns at most 100 service accounts. - // The maximum value is 1000; the server will coerce values above 1000. + // Optional. The maximum number of service accounts to return. The service may + // return fewer than this value. If unspecified, returns at most 100 service + // accounts. The maximum value is 1000; the server will coerce values above + // 1000. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. A page token, received from a previous `ListSubscribers` call. @@ -2449,4 +2632,4 @@ message ListSubscribersResponse { // A token that can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. string next_page_token = 3; -} +} \ No newline at end of file diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/subscriber_event.proto b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/subscriber_event.proto similarity index 94% rename from java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/subscriber_event.proto rename to owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/subscriber_event.proto index 3c67216ed652..0135c066f44a 100644 --- a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/subscriber_event.proto +++ b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/subscriber_event.proto @@ -40,8 +40,8 @@ message CustomerEvent { // Resource name of the customer. // Format: accounts/{account_id}/customers/{customer_id} string customer = 1 [(google.api.resource_reference) = { - type: "cloudchannel.googleapis.com/Customer" - }]; + type: "cloudchannel.googleapis.com/Customer" + }]; // Type of event which happened on the customer. Type event_type = 2; @@ -97,8 +97,8 @@ message EntitlementEvent { // Resource name of an entitlement of the form: // accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} string entitlement = 1 [(google.api.resource_reference) = { - type: "cloudchannel.googleapis.com/Entitlement" - }]; + type: "cloudchannel.googleapis.com/Entitlement" + }]; // Type of event which happened on the entitlement. Type event_type = 2; @@ -116,4 +116,4 @@ message SubscriberEvent { // Entitlement event sent as part of Pub/Sub event to partners. EntitlementEvent entitlement_event = 2; } -} +} \ No newline at end of file diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/create/SyncCreateSetCredentialsProvider.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/create/SyncCreateSetEndpoint.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/AsyncFetchReportResults.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/AsyncFetchReportResults.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/AsyncFetchReportResults.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/AsyncFetchReportResults.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/AsyncFetchReportResultsPaged.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/AsyncFetchReportResultsPaged.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/AsyncFetchReportResultsPaged.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/AsyncFetchReportResultsPaged.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/SyncFetchReportResults.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/SyncFetchReportResults.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/SyncFetchReportResults.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/SyncFetchReportResults.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/SyncFetchReportResultsReportjobname.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/SyncFetchReportResultsReportjobname.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/SyncFetchReportResultsReportjobname.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/SyncFetchReportResultsReportjobname.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/SyncFetchReportResultsString.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/SyncFetchReportResultsString.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/SyncFetchReportResultsString.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/SyncFetchReportResultsString.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/AsyncListReports.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/AsyncListReports.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/AsyncListReports.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/AsyncListReports.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/AsyncListReportsPaged.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/AsyncListReportsPaged.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/AsyncListReportsPaged.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/AsyncListReportsPaged.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/SyncListReports.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/SyncListReports.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/SyncListReports.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/SyncListReports.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/SyncListReportsString.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/SyncListReportsString.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/SyncListReportsString.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/SyncListReportsString.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/runreportjob/AsyncRunReportJob.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/runreportjob/AsyncRunReportJob.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/runreportjob/AsyncRunReportJob.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/runreportjob/AsyncRunReportJob.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/runreportjob/AsyncRunReportJobLRO.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/runreportjob/AsyncRunReportJobLRO.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/runreportjob/AsyncRunReportJobLRO.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/runreportjob/AsyncRunReportJobLRO.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/runreportjob/SyncRunReportJob.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/runreportjob/SyncRunReportJob.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/runreportjob/SyncRunReportJob.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/runreportjob/SyncRunReportJob.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservicesettings/runreportjob/SyncRunReportJob.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservicesettings/runreportjob/SyncRunReportJob.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservicesettings/runreportjob/SyncRunReportJob.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservicesettings/runreportjob/SyncRunReportJob.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/activateentitlement/AsyncActivateEntitlement.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/activateentitlement/AsyncActivateEntitlement.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/activateentitlement/AsyncActivateEntitlement.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/activateentitlement/AsyncActivateEntitlement.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/activateentitlement/AsyncActivateEntitlementLRO.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/activateentitlement/AsyncActivateEntitlementLRO.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/activateentitlement/AsyncActivateEntitlementLRO.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/activateentitlement/AsyncActivateEntitlementLRO.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/activateentitlement/SyncActivateEntitlement.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/activateentitlement/SyncActivateEntitlement.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/activateentitlement/SyncActivateEntitlement.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/activateentitlement/SyncActivateEntitlement.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/cancelentitlement/AsyncCancelEntitlement.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/cancelentitlement/AsyncCancelEntitlement.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/cancelentitlement/AsyncCancelEntitlement.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/cancelentitlement/AsyncCancelEntitlement.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/cancelentitlement/AsyncCancelEntitlementLRO.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/cancelentitlement/AsyncCancelEntitlementLRO.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/cancelentitlement/AsyncCancelEntitlementLRO.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/cancelentitlement/AsyncCancelEntitlementLRO.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/cancelentitlement/SyncCancelEntitlement.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/cancelentitlement/SyncCancelEntitlement.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/cancelentitlement/SyncCancelEntitlement.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/cancelentitlement/SyncCancelEntitlement.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeoffer/AsyncChangeOffer.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeoffer/AsyncChangeOffer.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeoffer/AsyncChangeOffer.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeoffer/AsyncChangeOffer.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeoffer/AsyncChangeOfferLRO.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeoffer/AsyncChangeOfferLRO.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeoffer/AsyncChangeOfferLRO.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeoffer/AsyncChangeOfferLRO.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeoffer/SyncChangeOffer.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeoffer/SyncChangeOffer.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeoffer/SyncChangeOffer.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeoffer/SyncChangeOffer.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeparameters/AsyncChangeParameters.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeparameters/AsyncChangeParameters.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeparameters/AsyncChangeParameters.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeparameters/AsyncChangeParameters.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeparameters/AsyncChangeParametersLRO.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeparameters/AsyncChangeParametersLRO.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeparameters/AsyncChangeParametersLRO.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeparameters/AsyncChangeParametersLRO.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeparameters/SyncChangeParameters.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeparameters/SyncChangeParameters.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeparameters/SyncChangeParameters.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeparameters/SyncChangeParameters.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changerenewalsettings/AsyncChangeRenewalSettings.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changerenewalsettings/AsyncChangeRenewalSettings.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changerenewalsettings/AsyncChangeRenewalSettings.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changerenewalsettings/AsyncChangeRenewalSettings.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changerenewalsettings/AsyncChangeRenewalSettingsLRO.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changerenewalsettings/AsyncChangeRenewalSettingsLRO.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changerenewalsettings/AsyncChangeRenewalSettingsLRO.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changerenewalsettings/AsyncChangeRenewalSettingsLRO.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changerenewalsettings/SyncChangeRenewalSettings.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changerenewalsettings/SyncChangeRenewalSettings.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changerenewalsettings/SyncChangeRenewalSettings.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changerenewalsettings/SyncChangeRenewalSettings.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/checkcloudidentityaccountsexist/AsyncCheckCloudIdentityAccountsExist.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/checkcloudidentityaccountsexist/AsyncCheckCloudIdentityAccountsExist.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/checkcloudidentityaccountsexist/AsyncCheckCloudIdentityAccountsExist.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/checkcloudidentityaccountsexist/AsyncCheckCloudIdentityAccountsExist.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/checkcloudidentityaccountsexist/SyncCheckCloudIdentityAccountsExist.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/checkcloudidentityaccountsexist/SyncCheckCloudIdentityAccountsExist.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/checkcloudidentityaccountsexist/SyncCheckCloudIdentityAccountsExist.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/checkcloudidentityaccountsexist/SyncCheckCloudIdentityAccountsExist.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/create/SyncCreateSetCredentialsProvider.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/create/SyncCreateSetEndpoint.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerlink/AsyncCreateChannelPartnerLink.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerlink/AsyncCreateChannelPartnerLink.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerlink/AsyncCreateChannelPartnerLink.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerlink/AsyncCreateChannelPartnerLink.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerlink/SyncCreateChannelPartnerLink.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerlink/SyncCreateChannelPartnerLink.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerlink/SyncCreateChannelPartnerLink.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerlink/SyncCreateChannelPartnerLink.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/AsyncCreateChannelPartnerRepricingConfig.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/AsyncCreateChannelPartnerRepricingConfig.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/AsyncCreateChannelPartnerRepricingConfig.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/AsyncCreateChannelPartnerRepricingConfig.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfig.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfig.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfig.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfig.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigChannelpartnerlinknameChannelpartnerrepricingconfig.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigChannelpartnerlinknameChannelpartnerrepricingconfig.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigChannelpartnerlinknameChannelpartnerrepricingconfig.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigChannelpartnerlinknameChannelpartnerrepricingconfig.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigStringChannelpartnerrepricingconfig.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigStringChannelpartnerrepricingconfig.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigStringChannelpartnerrepricingconfig.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigStringChannelpartnerrepricingconfig.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomer/AsyncCreateCustomer.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomer/AsyncCreateCustomer.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomer/AsyncCreateCustomer.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomer/AsyncCreateCustomer.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomer/SyncCreateCustomer.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomer/SyncCreateCustomer.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomer/SyncCreateCustomer.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomer/SyncCreateCustomer.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/AsyncCreateCustomerRepricingConfig.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/AsyncCreateCustomerRepricingConfig.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/AsyncCreateCustomerRepricingConfig.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/AsyncCreateCustomerRepricingConfig.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfig.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfig.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfig.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfig.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigCustomernameCustomerrepricingconfig.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigCustomernameCustomerrepricingconfig.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigCustomernameCustomerrepricingconfig.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigCustomernameCustomerrepricingconfig.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigStringCustomerrepricingconfig.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigStringCustomerrepricingconfig.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigStringCustomerrepricingconfig.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigStringCustomerrepricingconfig.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createentitlement/AsyncCreateEntitlement.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createentitlement/AsyncCreateEntitlement.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createentitlement/AsyncCreateEntitlement.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createentitlement/AsyncCreateEntitlement.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createentitlement/AsyncCreateEntitlementLRO.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createentitlement/AsyncCreateEntitlementLRO.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createentitlement/AsyncCreateEntitlementLRO.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createentitlement/AsyncCreateEntitlementLRO.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createentitlement/SyncCreateEntitlement.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createentitlement/SyncCreateEntitlement.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createentitlement/SyncCreateEntitlement.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createentitlement/SyncCreateEntitlement.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/AsyncDeleteChannelPartnerRepricingConfig.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/AsyncDeleteChannelPartnerRepricingConfig.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/AsyncDeleteChannelPartnerRepricingConfig.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/AsyncDeleteChannelPartnerRepricingConfig.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfig.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfig.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfig.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfig.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigString.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigString.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigString.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigString.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/AsyncDeleteCustomer.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/AsyncDeleteCustomer.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/AsyncDeleteCustomer.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/AsyncDeleteCustomer.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/SyncDeleteCustomer.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/SyncDeleteCustomer.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/SyncDeleteCustomer.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/SyncDeleteCustomer.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/SyncDeleteCustomerCustomername.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/SyncDeleteCustomerCustomername.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/SyncDeleteCustomerCustomername.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/SyncDeleteCustomerCustomername.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/SyncDeleteCustomerString.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/SyncDeleteCustomerString.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/SyncDeleteCustomerString.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/SyncDeleteCustomerString.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/AsyncDeleteCustomerRepricingConfig.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/AsyncDeleteCustomerRepricingConfig.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/AsyncDeleteCustomerRepricingConfig.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/AsyncDeleteCustomerRepricingConfig.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfig.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfig.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfig.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfig.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigCustomerrepricingconfigname.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigCustomerrepricingconfigname.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigCustomerrepricingconfigname.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigCustomerrepricingconfigname.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigString.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigString.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigString.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigString.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerlink/AsyncGetChannelPartnerLink.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerlink/AsyncGetChannelPartnerLink.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerlink/AsyncGetChannelPartnerLink.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerlink/AsyncGetChannelPartnerLink.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerlink/SyncGetChannelPartnerLink.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerlink/SyncGetChannelPartnerLink.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerlink/SyncGetChannelPartnerLink.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerlink/SyncGetChannelPartnerLink.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/AsyncGetChannelPartnerRepricingConfig.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/AsyncGetChannelPartnerRepricingConfig.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/AsyncGetChannelPartnerRepricingConfig.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/AsyncGetChannelPartnerRepricingConfig.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfig.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfig.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfig.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfig.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigString.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigString.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigString.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigString.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/AsyncGetCustomer.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/AsyncGetCustomer.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/AsyncGetCustomer.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/AsyncGetCustomer.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/SyncGetCustomer.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/SyncGetCustomer.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/SyncGetCustomer.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/SyncGetCustomer.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/SyncGetCustomerCustomername.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/SyncGetCustomerCustomername.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/SyncGetCustomerCustomername.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/SyncGetCustomerCustomername.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/SyncGetCustomerString.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/SyncGetCustomerString.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/SyncGetCustomerString.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/SyncGetCustomerString.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/AsyncGetCustomerRepricingConfig.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/AsyncGetCustomerRepricingConfig.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/AsyncGetCustomerRepricingConfig.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/AsyncGetCustomerRepricingConfig.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/SyncGetCustomerRepricingConfig.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/SyncGetCustomerRepricingConfig.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/SyncGetCustomerRepricingConfig.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/SyncGetCustomerRepricingConfig.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigCustomerrepricingconfigname.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigCustomerrepricingconfigname.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigCustomerrepricingconfigname.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigCustomerrepricingconfigname.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigString.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigString.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigString.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigString.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getentitlement/AsyncGetEntitlement.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getentitlement/AsyncGetEntitlement.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getentitlement/AsyncGetEntitlement.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getentitlement/AsyncGetEntitlement.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getentitlement/SyncGetEntitlement.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getentitlement/SyncGetEntitlement.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getentitlement/SyncGetEntitlement.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getentitlement/SyncGetEntitlement.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/importcustomer/AsyncImportCustomer.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/importcustomer/AsyncImportCustomer.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/importcustomer/AsyncImportCustomer.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/importcustomer/AsyncImportCustomer.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/importcustomer/SyncImportCustomer.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/importcustomer/SyncImportCustomer.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/importcustomer/SyncImportCustomer.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/importcustomer/SyncImportCustomer.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerlinks/AsyncListChannelPartnerLinks.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerlinks/AsyncListChannelPartnerLinks.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerlinks/AsyncListChannelPartnerLinks.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerlinks/AsyncListChannelPartnerLinks.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerlinks/AsyncListChannelPartnerLinksPaged.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerlinks/AsyncListChannelPartnerLinksPaged.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerlinks/AsyncListChannelPartnerLinksPaged.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerlinks/AsyncListChannelPartnerLinksPaged.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerlinks/SyncListChannelPartnerLinks.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerlinks/SyncListChannelPartnerLinks.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerlinks/SyncListChannelPartnerLinks.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerlinks/SyncListChannelPartnerLinks.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigs.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigs.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigs.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigs.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigsPaged.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigsPaged.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigsPaged.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigsPaged.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigs.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigs.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigs.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigs.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsChannelpartnerlinkname.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsChannelpartnerlinkname.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsChannelpartnerlinkname.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsChannelpartnerlinkname.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsString.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsString.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsString.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsString.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigs.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigs.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigs.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigs.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigsPaged.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigsPaged.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigsPaged.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigsPaged.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigs.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigs.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigs.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigs.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsCustomername.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsCustomername.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsCustomername.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsCustomername.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsString.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsString.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsString.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsString.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomers/AsyncListCustomers.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomers/AsyncListCustomers.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomers/AsyncListCustomers.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomers/AsyncListCustomers.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomers/AsyncListCustomersPaged.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomers/AsyncListCustomersPaged.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomers/AsyncListCustomersPaged.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomers/AsyncListCustomersPaged.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomers/SyncListCustomers.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomers/SyncListCustomers.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomers/SyncListCustomers.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomers/SyncListCustomers.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listentitlements/AsyncListEntitlements.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listentitlements/AsyncListEntitlements.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listentitlements/AsyncListEntitlements.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listentitlements/AsyncListEntitlements.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listentitlements/AsyncListEntitlementsPaged.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listentitlements/AsyncListEntitlementsPaged.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listentitlements/AsyncListEntitlementsPaged.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listentitlements/AsyncListEntitlementsPaged.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listentitlements/SyncListEntitlements.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listentitlements/SyncListEntitlements.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listentitlements/SyncListEntitlements.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listentitlements/SyncListEntitlements.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listoffers/AsyncListOffers.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listoffers/AsyncListOffers.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listoffers/AsyncListOffers.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listoffers/AsyncListOffers.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listoffers/AsyncListOffersPaged.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listoffers/AsyncListOffersPaged.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listoffers/AsyncListOffersPaged.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listoffers/AsyncListOffersPaged.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listoffers/SyncListOffers.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listoffers/SyncListOffers.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listoffers/SyncListOffers.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listoffers/SyncListOffers.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listproducts/AsyncListProducts.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listproducts/AsyncListProducts.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listproducts/AsyncListProducts.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listproducts/AsyncListProducts.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listproducts/AsyncListProductsPaged.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listproducts/AsyncListProductsPaged.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listproducts/AsyncListProductsPaged.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listproducts/AsyncListProductsPaged.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listproducts/SyncListProducts.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listproducts/SyncListProducts.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listproducts/SyncListProducts.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listproducts/SyncListProducts.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableoffers/AsyncListPurchasableOffers.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableoffers/AsyncListPurchasableOffers.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableoffers/AsyncListPurchasableOffers.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableoffers/AsyncListPurchasableOffers.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableoffers/AsyncListPurchasableOffersPaged.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableoffers/AsyncListPurchasableOffersPaged.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableoffers/AsyncListPurchasableOffersPaged.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableoffers/AsyncListPurchasableOffersPaged.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableoffers/SyncListPurchasableOffers.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableoffers/SyncListPurchasableOffers.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableoffers/SyncListPurchasableOffers.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableoffers/SyncListPurchasableOffers.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableskus/AsyncListPurchasableSkus.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableskus/AsyncListPurchasableSkus.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableskus/AsyncListPurchasableSkus.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableskus/AsyncListPurchasableSkus.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableskus/AsyncListPurchasableSkusPaged.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableskus/AsyncListPurchasableSkusPaged.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableskus/AsyncListPurchasableSkusPaged.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableskus/AsyncListPurchasableSkusPaged.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableskus/SyncListPurchasableSkus.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableskus/SyncListPurchasableSkus.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableskus/SyncListPurchasableSkus.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableskus/SyncListPurchasableSkus.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listskus/AsyncListSkus.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listskus/AsyncListSkus.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listskus/AsyncListSkus.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listskus/AsyncListSkus.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listskus/AsyncListSkusPaged.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listskus/AsyncListSkusPaged.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listskus/AsyncListSkusPaged.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listskus/AsyncListSkusPaged.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listskus/SyncListSkus.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listskus/SyncListSkus.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listskus/SyncListSkus.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listskus/SyncListSkus.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listsubscribers/AsyncListSubscribers.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listsubscribers/AsyncListSubscribers.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listsubscribers/AsyncListSubscribers.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listsubscribers/AsyncListSubscribers.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listsubscribers/AsyncListSubscribersPaged.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listsubscribers/AsyncListSubscribersPaged.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listsubscribers/AsyncListSubscribersPaged.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listsubscribers/AsyncListSubscribersPaged.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listsubscribers/SyncListSubscribers.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listsubscribers/SyncListSubscribers.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listsubscribers/SyncListSubscribers.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listsubscribers/SyncListSubscribers.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableoffers/AsyncListTransferableOffers.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableoffers/AsyncListTransferableOffers.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableoffers/AsyncListTransferableOffers.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableoffers/AsyncListTransferableOffers.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableoffers/AsyncListTransferableOffersPaged.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableoffers/AsyncListTransferableOffersPaged.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableoffers/AsyncListTransferableOffersPaged.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableoffers/AsyncListTransferableOffersPaged.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableoffers/SyncListTransferableOffers.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableoffers/SyncListTransferableOffers.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableoffers/SyncListTransferableOffers.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableoffers/SyncListTransferableOffers.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableskus/AsyncListTransferableSkus.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableskus/AsyncListTransferableSkus.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableskus/AsyncListTransferableSkus.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableskus/AsyncListTransferableSkus.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableskus/AsyncListTransferableSkusPaged.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableskus/AsyncListTransferableSkusPaged.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableskus/AsyncListTransferableSkusPaged.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableskus/AsyncListTransferableSkusPaged.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableskus/SyncListTransferableSkus.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableskus/SyncListTransferableSkus.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableskus/SyncListTransferableSkus.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableskus/SyncListTransferableSkus.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/lookupoffer/AsyncLookupOffer.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/lookupoffer/AsyncLookupOffer.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/lookupoffer/AsyncLookupOffer.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/lookupoffer/AsyncLookupOffer.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/lookupoffer/SyncLookupOffer.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/lookupoffer/SyncLookupOffer.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/lookupoffer/SyncLookupOffer.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/lookupoffer/SyncLookupOffer.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/provisioncloudidentity/AsyncProvisionCloudIdentity.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/provisioncloudidentity/AsyncProvisionCloudIdentity.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/provisioncloudidentity/AsyncProvisionCloudIdentity.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/provisioncloudidentity/AsyncProvisionCloudIdentity.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/provisioncloudidentity/AsyncProvisionCloudIdentityLRO.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/provisioncloudidentity/AsyncProvisionCloudIdentityLRO.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/provisioncloudidentity/AsyncProvisionCloudIdentityLRO.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/provisioncloudidentity/AsyncProvisionCloudIdentityLRO.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/provisioncloudidentity/SyncProvisionCloudIdentity.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/provisioncloudidentity/SyncProvisionCloudIdentity.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/provisioncloudidentity/SyncProvisionCloudIdentity.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/provisioncloudidentity/SyncProvisionCloudIdentity.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/registersubscriber/AsyncRegisterSubscriber.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/registersubscriber/AsyncRegisterSubscriber.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/registersubscriber/AsyncRegisterSubscriber.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/registersubscriber/AsyncRegisterSubscriber.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/registersubscriber/SyncRegisterSubscriber.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/registersubscriber/SyncRegisterSubscriber.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/registersubscriber/SyncRegisterSubscriber.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/registersubscriber/SyncRegisterSubscriber.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/startpaidservice/AsyncStartPaidService.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/startpaidservice/AsyncStartPaidService.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/startpaidservice/AsyncStartPaidService.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/startpaidservice/AsyncStartPaidService.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/startpaidservice/AsyncStartPaidServiceLRO.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/startpaidservice/AsyncStartPaidServiceLRO.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/startpaidservice/AsyncStartPaidServiceLRO.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/startpaidservice/AsyncStartPaidServiceLRO.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/startpaidservice/SyncStartPaidService.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/startpaidservice/SyncStartPaidService.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/startpaidservice/SyncStartPaidService.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/startpaidservice/SyncStartPaidService.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/suspendentitlement/AsyncSuspendEntitlement.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/suspendentitlement/AsyncSuspendEntitlement.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/suspendentitlement/AsyncSuspendEntitlement.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/suspendentitlement/AsyncSuspendEntitlement.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/suspendentitlement/AsyncSuspendEntitlementLRO.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/suspendentitlement/AsyncSuspendEntitlementLRO.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/suspendentitlement/AsyncSuspendEntitlementLRO.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/suspendentitlement/AsyncSuspendEntitlementLRO.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/suspendentitlement/SyncSuspendEntitlement.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/suspendentitlement/SyncSuspendEntitlement.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/suspendentitlement/SyncSuspendEntitlement.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/suspendentitlement/SyncSuspendEntitlement.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlements/AsyncTransferEntitlements.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlements/AsyncTransferEntitlements.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlements/AsyncTransferEntitlements.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlements/AsyncTransferEntitlements.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlements/AsyncTransferEntitlementsLRO.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlements/AsyncTransferEntitlementsLRO.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlements/AsyncTransferEntitlementsLRO.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlements/AsyncTransferEntitlementsLRO.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlements/SyncTransferEntitlements.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlements/SyncTransferEntitlements.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlements/SyncTransferEntitlements.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlements/SyncTransferEntitlements.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogle.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogle.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogle.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogle.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogleLRO.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogleLRO.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogleLRO.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogleLRO.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlementstogoogle/SyncTransferEntitlementsToGoogle.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlementstogoogle/SyncTransferEntitlementsToGoogle.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlementstogoogle/SyncTransferEntitlementsToGoogle.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlementstogoogle/SyncTransferEntitlementsToGoogle.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/unregistersubscriber/AsyncUnregisterSubscriber.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/unregistersubscriber/AsyncUnregisterSubscriber.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/unregistersubscriber/AsyncUnregisterSubscriber.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/unregistersubscriber/AsyncUnregisterSubscriber.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/unregistersubscriber/SyncUnregisterSubscriber.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/unregistersubscriber/SyncUnregisterSubscriber.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/unregistersubscriber/SyncUnregisterSubscriber.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/unregistersubscriber/SyncUnregisterSubscriber.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerlink/AsyncUpdateChannelPartnerLink.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerlink/AsyncUpdateChannelPartnerLink.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerlink/AsyncUpdateChannelPartnerLink.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerlink/AsyncUpdateChannelPartnerLink.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerlink/SyncUpdateChannelPartnerLink.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerlink/SyncUpdateChannelPartnerLink.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerlink/SyncUpdateChannelPartnerLink.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerlink/SyncUpdateChannelPartnerLink.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerrepricingconfig/AsyncUpdateChannelPartnerRepricingConfig.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerrepricingconfig/AsyncUpdateChannelPartnerRepricingConfig.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerrepricingconfig/AsyncUpdateChannelPartnerRepricingConfig.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerrepricingconfig/AsyncUpdateChannelPartnerRepricingConfig.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfig.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfig.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfig.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfig.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfigChannelpartnerrepricingconfig.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfigChannelpartnerrepricingconfig.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfigChannelpartnerrepricingconfig.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfigChannelpartnerrepricingconfig.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomer/AsyncUpdateCustomer.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomer/AsyncUpdateCustomer.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomer/AsyncUpdateCustomer.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomer/AsyncUpdateCustomer.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomer/SyncUpdateCustomer.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomer/SyncUpdateCustomer.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomer/SyncUpdateCustomer.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomer/SyncUpdateCustomer.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomerrepricingconfig/AsyncUpdateCustomerRepricingConfig.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomerrepricingconfig/AsyncUpdateCustomerRepricingConfig.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomerrepricingconfig/AsyncUpdateCustomerRepricingConfig.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomerrepricingconfig/AsyncUpdateCustomerRepricingConfig.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfig.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfig.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfig.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfig.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfigCustomerrepricingconfig.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfigCustomerrepricingconfig.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfigCustomerrepricingconfig.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfigCustomerrepricingconfig.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservicesettings/getcustomer/SyncGetCustomer.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservicesettings/getcustomer/SyncGetCustomer.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservicesettings/getcustomer/SyncGetCustomer.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservicesettings/getcustomer/SyncGetCustomer.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/stub/cloudchannelreportsservicestubsettings/runreportjob/SyncRunReportJob.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/stub/cloudchannelreportsservicestubsettings/runreportjob/SyncRunReportJob.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/stub/cloudchannelreportsservicestubsettings/runreportjob/SyncRunReportJob.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/stub/cloudchannelreportsservicestubsettings/runreportjob/SyncRunReportJob.java diff --git a/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/stub/cloudchannelservicestubsettings/getcustomer/SyncGetCustomer.java b/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/stub/cloudchannelservicestubsettings/getcustomer/SyncGetCustomer.java similarity index 100% rename from java-channel/samples/snippets/generated/com/google/cloud/channel/v1/stub/cloudchannelservicestubsettings/getcustomer/SyncGetCustomer.java rename to owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/stub/cloudchannelservicestubsettings/getcustomer/SyncGetCustomer.java From 74dd18d931fdda684620deb16ccf20efebd00c4e Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Fri, 9 Dec 2022 18:13:05 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .../v1/CloudChannelReportsServiceClient.java | 0 .../CloudChannelReportsServiceSettings.java | 1 - .../channel/v1/CloudChannelServiceClient.java | 0 .../v1/CloudChannelServiceSettings.java | 1 - .../cloud/channel/v1/gapic_metadata.json | 0 .../google/cloud/channel/v1/package-info.java | 0 .../stub/CloudChannelReportsServiceStub.java | 0 ...loudChannelReportsServiceStubSettings.java | 0 .../v1/stub/CloudChannelServiceStub.java | 0 .../stub/CloudChannelServiceStubSettings.java | 0 ...dChannelReportsServiceCallableFactory.java | 0 .../GrpcCloudChannelReportsServiceStub.java | 1 - ...rpcCloudChannelServiceCallableFactory.java | 0 .../v1/stub/GrpcCloudChannelServiceStub.java | 1 - ...dChannelReportsServiceCallableFactory.java | 0 ...ttpJsonCloudChannelReportsServiceStub.java | 1 - ...sonCloudChannelServiceCallableFactory.java | 0 .../stub/HttpJsonCloudChannelServiceStub.java | 1 - ...annelReportsServiceClientHttpJsonTest.java | 0 .../CloudChannelReportsServiceClientTest.java | 0 ...CloudChannelServiceClientHttpJsonTest.java | 0 .../v1/CloudChannelServiceClientTest.java | 0 .../v1/MockCloudChannelReportsService.java | 0 .../MockCloudChannelReportsServiceImpl.java | 0 .../channel/v1/MockCloudChannelService.java | 0 .../v1/MockCloudChannelServiceImpl.java | 0 .../v1/CloudChannelReportsServiceGrpc.java | 418 +- .../channel/v1/CloudChannelServiceGrpc.java | 4771 +++++++++++------ .../v1/ActivateEntitlementRequest.java | 409 +- .../ActivateEntitlementRequestOrBuilder.java | 36 +- .../google/cloud/channel/v1/AdminUser.java | 474 +- .../cloud/channel/v1/AdminUserOrBuilder.java | 45 +- .../cloud/channel/v1/AssociationInfo.java | 320 +- .../channel/v1/AssociationInfoOrBuilder.java | 27 +- .../channel/v1/CancelEntitlementRequest.java | 406 +- .../v1/CancelEntitlementRequestOrBuilder.java | 36 +- .../cloud/channel/v1/ChangeOfferRequest.java | 829 +-- .../v1/ChangeOfferRequestOrBuilder.java | 100 +- .../channel/v1/ChangeParametersRequest.java | 729 ++- .../v1/ChangeParametersRequestOrBuilder.java | 83 +- .../v1/ChangeRenewalSettingsRequest.java | 537 +- ...ChangeRenewalSettingsRequestOrBuilder.java | 56 +- .../cloud/channel/v1/ChannelPartnerLink.java | 1076 ++-- .../channel/v1/ChannelPartnerLinkName.java | 0 .../v1/ChannelPartnerLinkOrBuilder.java | 125 +- .../channel/v1/ChannelPartnerLinkState.java | 95 +- .../channel/v1/ChannelPartnerLinkView.java | 81 +- .../channel/v1/ChannelPartnerLinksProto.java | 108 + .../v1/ChannelPartnerRepricingConfig.java | 586 +- .../v1/ChannelPartnerRepricingConfigName.java | 0 ...hannelPartnerRepricingConfigOrBuilder.java | 64 +- ...heckCloudIdentityAccountsExistRequest.java | 445 +- ...IdentityAccountsExistRequestOrBuilder.java | 36 +- ...eckCloudIdentityAccountsExistResponse.java | 569 +- ...dentityAccountsExistResponseOrBuilder.java | 89 + .../v1/CloudIdentityCustomerAccount.java | 485 +- ...CloudIdentityCustomerAccountOrBuilder.java | 42 +- .../cloud/channel/v1/CloudIdentityInfo.java | 898 ++-- .../v1/CloudIdentityInfoOrBuilder.java | 80 +- .../com/google/cloud/channel/v1/Column.java | 548 +- .../cloud/channel/v1/ColumnOrBuilder.java | 42 +- .../cloud/channel/v1/CommitmentSettings.java | 598 ++- .../v1/CommitmentSettingsOrBuilder.java | 72 +- .../google/cloud/channel/v1/CommonProto.java | 145 + .../cloud/channel/v1/ConditionalOverride.java | 600 ++- .../v1/ConditionalOverrideOrBuilder.java | 72 +- .../google/cloud/channel/v1/Constraints.java | 334 +- .../channel/v1/ConstraintsOrBuilder.java | 26 +- .../google/cloud/channel/v1/ContactInfo.java | 712 +-- .../channel/v1/ContactInfoOrBuilder.java | 72 +- .../v1/CreateChannelPartnerLinkRequest.java | 471 +- ...ateChannelPartnerLinkRequestOrBuilder.java | 47 +- ...eChannelPartnerRepricingConfigRequest.java | 566 +- ...artnerRepricingConfigRequestOrBuilder.java | 58 +- .../CreateCustomerRepricingConfigRequest.java | 534 +- ...stomerRepricingConfigRequestOrBuilder.java | 100 + .../channel/v1/CreateCustomerRequest.java | 461 +- .../v1/CreateCustomerRequestOrBuilder.java | 44 +- .../channel/v1/CreateEntitlementRequest.java | 565 +- .../v1/CreateEntitlementRequestOrBuilder.java | 64 +- .../com/google/cloud/channel/v1/Customer.java | 1403 +++-- .../cloud/channel/v1/CustomerConstraints.java | 757 ++- .../v1/CustomerConstraintsOrBuilder.java | 110 +- .../cloud/channel/v1/CustomerEvent.java | 440 +- .../channel/v1/CustomerEventOrBuilder.java | 33 +- .../google/cloud/channel/v1/CustomerName.java | 0 .../cloud/channel/v1/CustomerOrBuilder.java | 163 +- .../channel/v1/CustomerRepricingConfig.java | 583 +- .../v1/CustomerRepricingConfigName.java | 0 .../v1/CustomerRepricingConfigOrBuilder.java | 64 +- .../cloud/channel/v1/CustomersProto.java | 126 + .../google/cloud/channel/v1/DateRange.java | 579 +- .../cloud/channel/v1/DateRangeOrBuilder.java | 50 +- ...eChannelPartnerRepricingConfigRequest.java | 397 +- ...artnerRepricingConfigRequestOrBuilder.java | 56 + .../DeleteCustomerRepricingConfigRequest.java | 382 +- ...stomerRepricingConfigRequestOrBuilder.java | 58 + .../channel/v1/DeleteCustomerRequest.java | 355 +- .../v1/DeleteCustomerRequestOrBuilder.java | 54 + .../com/google/cloud/channel/v1/EduData.java | 612 ++- .../cloud/channel/v1/EduDataOrBuilder.java | 39 +- .../google/cloud/channel/v1/Entitlement.java | 1824 ++++--- .../cloud/channel/v1/EntitlementEvent.java | 518 +- .../channel/v1/EntitlementEventOrBuilder.java | 33 +- .../cloud/channel/v1/EntitlementName.java | 0 .../channel/v1/EntitlementOrBuilder.java | 216 +- .../cloud/channel/v1/EntitlementsProto.java | 254 + .../channel/v1/FetchReportResultsRequest.java | 472 +- .../FetchReportResultsRequestOrBuilder.java | 47 +- .../v1/FetchReportResultsResponse.java | 574 +- .../FetchReportResultsResponseOrBuilder.java | 54 +- .../v1/GetChannelPartnerLinkRequest.java | 422 +- ...GetChannelPartnerLinkRequestOrBuilder.java | 41 +- ...tChannelPartnerRepricingConfigRequest.java | 394 +- ...artnerRepricingConfigRequestOrBuilder.java | 58 + .../v1/GetCustomerRepricingConfigRequest.java | 368 +- ...stomerRepricingConfigRequestOrBuilder.java | 58 + .../cloud/channel/v1/GetCustomerRequest.java | 348 +- .../v1/GetCustomerRequestOrBuilder.java | 56 + .../channel/v1/GetEntitlementRequest.java | 355 +- .../v1/GetEntitlementRequestOrBuilder.java | 58 + .../channel/v1/ImportCustomerRequest.java | 864 +-- .../v1/ImportCustomerRequestOrBuilder.java | 92 +- .../v1/ListChannelPartnerLinksRequest.java | 531 +- ...stChannelPartnerLinksRequestOrBuilder.java | 53 +- .../v1/ListChannelPartnerLinksResponse.java | 474 +- ...tChannelPartnerLinksResponseOrBuilder.java | 42 +- ...ChannelPartnerRepricingConfigsRequest.java | 581 +- ...rtnerRepricingConfigsRequestOrBuilder.java | 56 +- ...hannelPartnerRepricingConfigsResponse.java | 651 ++- ...tnerRepricingConfigsResponseOrBuilder.java | 68 +- .../ListCustomerRepricingConfigsRequest.java | 569 +- ...tomerRepricingConfigsRequestOrBuilder.java | 56 +- .../ListCustomerRepricingConfigsResponse.java | 622 ++- ...omerRepricingConfigsResponseOrBuilder.java | 56 +- .../channel/v1/ListCustomersRequest.java | 514 +- .../v1/ListCustomersRequestOrBuilder.java | 48 +- .../channel/v1/ListCustomersResponse.java | 482 +- .../v1/ListCustomersResponseOrBuilder.java | 45 +- .../channel/v1/ListEntitlementsRequest.java | 469 +- .../v1/ListEntitlementsRequestOrBuilder.java | 47 +- .../channel/v1/ListEntitlementsResponse.java | 483 +- .../v1/ListEntitlementsResponseOrBuilder.java | 45 +- .../cloud/channel/v1/ListOffersRequest.java | 584 +- .../v1/ListOffersRequestOrBuilder.java | 57 +- .../cloud/channel/v1/ListOffersResponse.java | 481 +- .../v1/ListOffersResponseOrBuilder.java | 46 +- .../cloud/channel/v1/ListProductsRequest.java | 508 +- .../v1/ListProductsRequestOrBuilder.java | 48 +- .../channel/v1/ListProductsResponse.java | 482 +- .../v1/ListProductsResponseOrBuilder.java | 46 +- .../v1/ListPurchasableOffersRequest.java | 1952 ++++--- ...ListPurchasableOffersRequestOrBuilder.java | 111 +- .../v1/ListPurchasableOffersResponse.java | 465 +- ...istPurchasableOffersResponseOrBuilder.java | 45 +- .../v1/ListPurchasableSkusRequest.java | 2052 ++++--- .../ListPurchasableSkusRequestOrBuilder.java | 111 +- .../v1/ListPurchasableSkusResponse.java | 475 +- .../ListPurchasableSkusResponseOrBuilder.java | 45 +- .../cloud/channel/v1/ListReportsRequest.java | 507 +- .../v1/ListReportsRequestOrBuilder.java | 48 +- .../cloud/channel/v1/ListReportsResponse.java | 478 +- .../v1/ListReportsResponseOrBuilder.java | 46 +- .../cloud/channel/v1/ListSkusRequest.java | 612 ++- .../channel/v1/ListSkusRequestOrBuilder.java | 65 +- .../cloud/channel/v1/ListSkusResponse.java | 480 +- .../channel/v1/ListSkusResponseOrBuilder.java | 46 +- .../channel/v1/ListSubscribersRequest.java | 441 +- .../v1/ListSubscribersRequestOrBuilder.java | 39 +- .../channel/v1/ListSubscribersResponse.java | 509 +- .../v1/ListSubscribersResponseOrBuilder.java | 54 +- .../v1/ListTransferableOffersRequest.java | 845 +-- ...istTransferableOffersRequestOrBuilder.java | 84 +- .../v1/ListTransferableOffersResponse.java | 471 +- ...stTransferableOffersResponseOrBuilder.java | 45 +- .../v1/ListTransferableSkusRequest.java | 845 +-- .../ListTransferableSkusRequestOrBuilder.java | 84 +- .../v1/ListTransferableSkusResponse.java | 463 +- ...ListTransferableSkusResponseOrBuilder.java | 45 +- .../cloud/channel/v1/LookupOfferRequest.java | 348 +- .../v1/LookupOfferRequestOrBuilder.java | 58 + .../cloud/channel/v1/MarketingInfo.java | 482 +- .../channel/v1/MarketingInfoOrBuilder.java | 44 +- .../com/google/cloud/channel/v1/Media.java | 448 +- .../cloud/channel/v1/MediaOrBuilder.java | 42 +- .../google/cloud/channel/v1/MediaType.java | 75 +- .../com/google/cloud/channel/v1/Offer.java | 1197 +++-- .../google/cloud/channel/v1/OfferName.java | 0 .../cloud/channel/v1/OfferOrBuilder.java | 126 +- .../google/cloud/channel/v1/OffersProto.java | 274 + .../cloud/channel/v1/OperationMetadata.java | 443 +- .../v1/OperationMetadataOrBuilder.java | 24 +- .../cloud/channel/v1/OperationsProto.java | 74 + .../google/cloud/channel/v1/Parameter.java | 431 +- .../cloud/channel/v1/ParameterDefinition.java | 829 +-- .../v1/ParameterDefinitionOrBuilder.java | 70 +- .../cloud/channel/v1/ParameterOrBuilder.java | 38 +- .../google/cloud/channel/v1/PaymentPlan.java | 103 +- .../google/cloud/channel/v1/PaymentType.java | 82 +- .../channel/v1/PercentageAdjustment.java | 328 +- .../v1/PercentageAdjustmentOrBuilder.java | 26 +- .../com/google/cloud/channel/v1/Period.java | 325 +- .../cloud/channel/v1/PeriodOrBuilder.java | 27 +- .../google/cloud/channel/v1/PeriodType.java | 89 +- .../com/google/cloud/channel/v1/Plan.java | 612 ++- .../cloud/channel/v1/PlanOrBuilder.java | 55 +- .../com/google/cloud/channel/v1/Price.java | 498 +- .../cloud/channel/v1/PriceByResource.java | 537 +- .../channel/v1/PriceByResourceOrBuilder.java | 50 +- .../cloud/channel/v1/PriceOrBuilder.java | 46 +- .../google/cloud/channel/v1/PricePhase.java | 587 +- .../cloud/channel/v1/PricePhaseOrBuilder.java | 56 +- .../google/cloud/channel/v1/PriceTier.java | 387 +- .../cloud/channel/v1/PriceTierOrBuilder.java | 32 +- .../com/google/cloud/channel/v1/Product.java | 399 +- .../google/cloud/channel/v1/ProductName.java | 0 .../cloud/channel/v1/ProductOrBuilder.java | 35 +- .../cloud/channel/v1/ProductsProto.java | 124 + .../channel/v1/PromotionalOrderType.java | 84 +- .../v1/ProvisionCloudIdentityRequest.java | 554 +- ...rovisionCloudIdentityRequestOrBuilder.java | 54 +- .../cloud/channel/v1/ProvisionedService.java | 478 +- .../v1/ProvisionedServiceOrBuilder.java | 45 +- .../cloud/channel/v1/PurchasableOffer.java | 321 +- .../channel/v1/PurchasableOfferOrBuilder.java | 26 +- .../cloud/channel/v1/PurchasableSku.java | 322 +- .../channel/v1/PurchasableSkuOrBuilder.java | 26 +- .../cloud/channel/v1/RebillingBasis.java | 82 +- .../channel/v1/RegisterSubscriberRequest.java | 409 +- .../RegisterSubscriberRequestOrBuilder.java | 36 +- .../v1/RegisterSubscriberResponse.java | 330 +- .../RegisterSubscriberResponseOrBuilder.java | 50 + .../cloud/channel/v1/RenewalSettings.java | 460 +- .../channel/v1/RenewalSettingsOrBuilder.java | 38 +- .../com/google/cloud/channel/v1/Report.java | 622 ++- .../google/cloud/channel/v1/ReportJob.java | 402 +- .../cloud/channel/v1/ReportJobName.java | 0 .../cloud/channel/v1/ReportJobOrBuilder.java | 35 +- .../google/cloud/channel/v1/ReportName.java | 0 .../cloud/channel/v1/ReportOrBuilder.java | 64 +- .../channel/v1/ReportResultsMetadata.java | 544 +- .../v1/ReportResultsMetadataOrBuilder.java | 45 +- .../google/cloud/channel/v1/ReportStatus.java | 526 +- .../channel/v1/ReportStatusOrBuilder.java | 40 +- .../google/cloud/channel/v1/ReportValue.java | 820 +-- .../channel/v1/ReportValueOrBuilder.java | 68 +- .../cloud/channel/v1/ReportsServiceProto.java | 346 ++ .../cloud/channel/v1/RepricingAdjustment.java | 390 +- .../v1/RepricingAdjustmentOrBuilder.java | 26 +- .../cloud/channel/v1/RepricingCondition.java | 374 +- .../v1/RepricingConditionOrBuilder.java | 26 +- .../cloud/channel/v1/RepricingConfig.java | 1799 ++++--- .../channel/v1/RepricingConfigOrBuilder.java | 133 +- .../cloud/channel/v1/RepricingProto.java | 248 + .../google/cloud/channel/v1/ResourceType.java | 117 +- .../java/com/google/cloud/channel/v1/Row.java | 385 +- .../google/cloud/channel/v1/RowOrBuilder.java | 36 +- .../cloud/channel/v1/RunReportJobRequest.java | 638 ++- .../v1/RunReportJobRequestOrBuilder.java | 73 +- .../channel/v1/RunReportJobResponse.java | 426 +- .../v1/RunReportJobResponseOrBuilder.java | 34 +- .../google/cloud/channel/v1/ServiceProto.java | 1467 +++++ .../java/com/google/cloud/channel/v1/Sku.java | 472 +- .../cloud/channel/v1/SkuGroupCondition.java | 320 +- .../v1/SkuGroupConditionOrBuilder.java | 27 +- .../google/cloud/channel/v1/SkuOrBuilder.java | 43 +- .../channel/v1/StartPaidServiceRequest.java | 406 +- .../v1/StartPaidServiceRequestOrBuilder.java | 36 +- .../cloud/channel/v1/SubscriberEvent.java | 469 +- .../channel/v1/SubscriberEventOrBuilder.java | 34 +- .../channel/v1/SubscriberEventProto.java | 118 + .../channel/v1/SuspendEntitlementRequest.java | 409 +- .../SuspendEntitlementRequestOrBuilder.java | 36 +- .../cloud/channel/v1/TransferEligibility.java | 505 +- .../v1/TransferEligibilityOrBuilder.java | 36 +- .../v1/TransferEntitlementsRequest.java | 732 ++- .../TransferEntitlementsRequestOrBuilder.java | 83 +- .../v1/TransferEntitlementsResponse.java | 409 +- ...TransferEntitlementsResponseOrBuilder.java | 36 +- .../TransferEntitlementsToGoogleRequest.java | 679 ++- ...rEntitlementsToGoogleRequestOrBuilder.java | 74 +- .../cloud/channel/v1/TransferableOffer.java | 321 +- .../v1/TransferableOfferOrBuilder.java | 26 +- .../cloud/channel/v1/TransferableSku.java | 530 +- .../channel/v1/TransferableSkuOrBuilder.java | 51 +- .../cloud/channel/v1/TrialSettings.java | 359 +- .../channel/v1/TrialSettingsOrBuilder.java | 29 +- .../v1/UnregisterSubscriberRequest.java | 409 +- .../UnregisterSubscriberRequestOrBuilder.java | 36 +- .../v1/UnregisterSubscriberResponse.java | 330 +- ...UnregisterSubscriberResponseOrBuilder.java | 50 + .../v1/UpdateChannelPartnerLinkRequest.java | 584 +- ...ateChannelPartnerLinkRequestOrBuilder.java | 64 +- ...eChannelPartnerRepricingConfigRequest.java | 462 +- ...artnerRepricingConfigRequestOrBuilder.java | 67 + .../UpdateCustomerRepricingConfigRequest.java | 430 +- ...stomerRepricingConfigRequestOrBuilder.java | 67 + .../channel/v1/UpdateCustomerRequest.java | 468 +- .../v1/UpdateCustomerRequestOrBuilder.java | 43 +- .../com/google/cloud/channel/v1/Value.java | 641 ++- .../cloud/channel/v1/ValueOrBuilder.java | 56 +- .../channel/v1/channel_partner_links.proto | 0 .../google/cloud/channel/v1/common.proto | 0 .../google/cloud/channel/v1/customers.proto | 0 .../cloud/channel/v1/entitlements.proto | 0 .../google/cloud/channel/v1/offers.proto | 0 .../google/cloud/channel/v1/operations.proto | 0 .../google/cloud/channel/v1/products.proto | 0 .../cloud/channel/v1/reports_service.proto | 0 .../google/cloud/channel/v1/repricing.proto | 0 .../google/cloud/channel/v1/service.proto | 0 .../cloud/channel/v1/subscriber_event.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncFetchReportResults.java | 0 .../AsyncFetchReportResultsPaged.java | 0 .../SyncFetchReportResults.java | 0 .../SyncFetchReportResultsReportjobname.java | 0 .../SyncFetchReportResultsString.java | 0 .../listreports/AsyncListReports.java | 0 .../listreports/AsyncListReportsPaged.java | 0 .../listreports/SyncListReports.java | 0 .../listreports/SyncListReportsString.java | 0 .../runreportjob/AsyncRunReportJob.java | 0 .../runreportjob/AsyncRunReportJobLRO.java | 0 .../runreportjob/SyncRunReportJob.java | 0 .../runreportjob/SyncRunReportJob.java | 0 .../AsyncActivateEntitlement.java | 0 .../AsyncActivateEntitlementLRO.java | 0 .../SyncActivateEntitlement.java | 0 .../AsyncCancelEntitlement.java | 0 .../AsyncCancelEntitlementLRO.java | 0 .../SyncCancelEntitlement.java | 0 .../changeoffer/AsyncChangeOffer.java | 0 .../changeoffer/AsyncChangeOfferLRO.java | 0 .../changeoffer/SyncChangeOffer.java | 0 .../AsyncChangeParameters.java | 0 .../AsyncChangeParametersLRO.java | 0 .../SyncChangeParameters.java | 0 .../AsyncChangeRenewalSettings.java | 0 .../AsyncChangeRenewalSettingsLRO.java | 0 .../SyncChangeRenewalSettings.java | 0 .../AsyncCheckCloudIdentityAccountsExist.java | 0 .../SyncCheckCloudIdentityAccountsExist.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateChannelPartnerLink.java | 0 .../SyncCreateChannelPartnerLink.java | 0 ...ncCreateChannelPartnerRepricingConfig.java | 0 ...ncCreateChannelPartnerRepricingConfig.java | 0 ...linknameChannelpartnerrepricingconfig.java | 0 ...igStringChannelpartnerrepricingconfig.java | 0 .../createcustomer/AsyncCreateCustomer.java | 0 .../createcustomer/SyncCreateCustomer.java | 0 .../AsyncCreateCustomerRepricingConfig.java | 0 .../SyncCreateCustomerRepricingConfig.java | 0 ...igCustomernameCustomerrepricingconfig.java | 0 ...ngConfigStringCustomerrepricingconfig.java | 0 .../AsyncCreateEntitlement.java | 0 .../AsyncCreateEntitlementLRO.java | 0 .../SyncCreateEntitlement.java | 0 ...ncDeleteChannelPartnerRepricingConfig.java | 0 ...ncDeleteChannelPartnerRepricingConfig.java | 0 ...nfigChannelpartnerrepricingconfigname.java | 0 ...teChannelPartnerRepricingConfigString.java | 0 .../deletecustomer/AsyncDeleteCustomer.java | 0 .../deletecustomer/SyncDeleteCustomer.java | 0 .../SyncDeleteCustomerCustomername.java | 0 .../SyncDeleteCustomerString.java | 0 .../AsyncDeleteCustomerRepricingConfig.java | 0 .../SyncDeleteCustomerRepricingConfig.java | 0 ...cingConfigCustomerrepricingconfigname.java | 0 ...ncDeleteCustomerRepricingConfigString.java | 0 .../AsyncGetChannelPartnerLink.java | 0 .../SyncGetChannelPartnerLink.java | 0 ...AsyncGetChannelPartnerRepricingConfig.java | 0 .../SyncGetChannelPartnerRepricingConfig.java | 0 ...nfigChannelpartnerrepricingconfigname.java | 0 ...etChannelPartnerRepricingConfigString.java | 0 .../getcustomer/AsyncGetCustomer.java | 0 .../getcustomer/SyncGetCustomer.java | 0 .../SyncGetCustomerCustomername.java | 0 .../getcustomer/SyncGetCustomerString.java | 0 .../AsyncGetCustomerRepricingConfig.java | 0 .../SyncGetCustomerRepricingConfig.java | 0 ...cingConfigCustomerrepricingconfigname.java | 0 .../SyncGetCustomerRepricingConfigString.java | 0 .../getentitlement/AsyncGetEntitlement.java | 0 .../getentitlement/SyncGetEntitlement.java | 0 .../importcustomer/AsyncImportCustomer.java | 0 .../importcustomer/SyncImportCustomer.java | 0 .../AsyncListChannelPartnerLinks.java | 0 .../AsyncListChannelPartnerLinksPaged.java | 0 .../SyncListChannelPartnerLinks.java | 0 ...yncListChannelPartnerRepricingConfigs.java | 0 ...stChannelPartnerRepricingConfigsPaged.java | 0 ...yncListChannelPartnerRepricingConfigs.java | 0 ...epricingConfigsChannelpartnerlinkname.java | 0 ...tChannelPartnerRepricingConfigsString.java | 0 .../AsyncListCustomerRepricingConfigs.java | 0 ...syncListCustomerRepricingConfigsPaged.java | 0 .../SyncListCustomerRepricingConfigs.java | 0 ...tCustomerRepricingConfigsCustomername.java | 0 ...yncListCustomerRepricingConfigsString.java | 0 .../listcustomers/AsyncListCustomers.java | 0 .../AsyncListCustomersPaged.java | 0 .../listcustomers/SyncListCustomers.java | 0 .../AsyncListEntitlements.java | 0 .../AsyncListEntitlementsPaged.java | 0 .../SyncListEntitlements.java | 0 .../listoffers/AsyncListOffers.java | 0 .../listoffers/AsyncListOffersPaged.java | 0 .../listoffers/SyncListOffers.java | 0 .../listproducts/AsyncListProducts.java | 0 .../listproducts/AsyncListProductsPaged.java | 0 .../listproducts/SyncListProducts.java | 0 .../AsyncListPurchasableOffers.java | 0 .../AsyncListPurchasableOffersPaged.java | 0 .../SyncListPurchasableOffers.java | 0 .../AsyncListPurchasableSkus.java | 0 .../AsyncListPurchasableSkusPaged.java | 0 .../SyncListPurchasableSkus.java | 0 .../listskus/AsyncListSkus.java | 0 .../listskus/AsyncListSkusPaged.java | 0 .../listskus/SyncListSkus.java | 0 .../listsubscribers/AsyncListSubscribers.java | 0 .../AsyncListSubscribersPaged.java | 0 .../listsubscribers/SyncListSubscribers.java | 0 .../AsyncListTransferableOffers.java | 0 .../AsyncListTransferableOffersPaged.java | 0 .../SyncListTransferableOffers.java | 0 .../AsyncListTransferableSkus.java | 0 .../AsyncListTransferableSkusPaged.java | 0 .../SyncListTransferableSkus.java | 0 .../lookupoffer/AsyncLookupOffer.java | 0 .../lookupoffer/SyncLookupOffer.java | 0 .../AsyncProvisionCloudIdentity.java | 0 .../AsyncProvisionCloudIdentityLRO.java | 0 .../SyncProvisionCloudIdentity.java | 0 .../AsyncRegisterSubscriber.java | 0 .../SyncRegisterSubscriber.java | 0 .../AsyncStartPaidService.java | 0 .../AsyncStartPaidServiceLRO.java | 0 .../SyncStartPaidService.java | 0 .../AsyncSuspendEntitlement.java | 0 .../AsyncSuspendEntitlementLRO.java | 0 .../SyncSuspendEntitlement.java | 0 .../AsyncTransferEntitlements.java | 0 .../AsyncTransferEntitlementsLRO.java | 0 .../SyncTransferEntitlements.java | 0 .../AsyncTransferEntitlementsToGoogle.java | 0 .../AsyncTransferEntitlementsToGoogleLRO.java | 0 .../SyncTransferEntitlementsToGoogle.java | 0 .../AsyncUnregisterSubscriber.java | 0 .../SyncUnregisterSubscriber.java | 0 .../AsyncUpdateChannelPartnerLink.java | 0 .../SyncUpdateChannelPartnerLink.java | 0 ...ncUpdateChannelPartnerRepricingConfig.java | 0 ...ncUpdateChannelPartnerRepricingConfig.java | 0 ...ngConfigChannelpartnerrepricingconfig.java | 0 .../updatecustomer/AsyncUpdateCustomer.java | 0 .../updatecustomer/SyncUpdateCustomer.java | 0 .../AsyncUpdateCustomerRepricingConfig.java | 0 .../SyncUpdateCustomerRepricingConfig.java | 0 ...epricingConfigCustomerrepricingconfig.java | 0 .../getcustomer/SyncGetCustomer.java | 0 .../runreportjob/SyncRunReportJob.java | 0 .../getcustomer/SyncGetCustomer.java | 0 .../channel/v1/ChannelPartnerLinksProto.java | 86 - ...dentityAccountsExistResponseOrBuilder.java | 53 - .../google/cloud/channel/v1/CommonProto.java | 120 - ...stomerRepricingConfigRequestOrBuilder.java | 60 - .../cloud/channel/v1/CustomersProto.java | 99 - ...artnerRepricingConfigRequestOrBuilder.java | 31 - ...stomerRepricingConfigRequestOrBuilder.java | 33 - .../v1/DeleteCustomerRequestOrBuilder.java | 29 - .../cloud/channel/v1/EntitlementsProto.java | 220 - ...artnerRepricingConfigRequestOrBuilder.java | 33 - ...stomerRepricingConfigRequestOrBuilder.java | 33 - .../v1/GetCustomerRequestOrBuilder.java | 31 - .../v1/GetEntitlementRequestOrBuilder.java | 33 - .../v1/LookupOfferRequestOrBuilder.java | 33 - .../google/cloud/channel/v1/OffersProto.java | 241 - .../cloud/channel/v1/OperationsProto.java | 61 - .../cloud/channel/v1/ProductsProto.java | 106 - .../RegisterSubscriberResponseOrBuilder.java | 29 - .../cloud/channel/v1/ReportsServiceProto.java | 312 -- .../cloud/channel/v1/RepricingProto.java | 220 - .../google/cloud/channel/v1/ServiceProto.java | 1342 ----- .../channel/v1/SubscriberEventProto.java | 101 - ...UnregisterSubscriberResponseOrBuilder.java | 29 - ...artnerRepricingConfigRequestOrBuilder.java | 36 - ...stomerRepricingConfigRequestOrBuilder.java | 36 - versions.txt | 2 +- 496 files changed, 55560 insertions(+), 33362 deletions(-) rename {owl-bot-staging/java-channel/v1 => java-channel}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceClient.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceSettings.java (99%) rename {owl-bot-staging/java-channel/v1 => java-channel}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceSettings.java (99%) rename {owl-bot-staging/java-channel/v1 => java-channel}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/gapic_metadata.json (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/package-info.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelReportsServiceStub.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelReportsServiceStubSettings.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStub.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStubSettings.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelReportsServiceCallableFactory.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelReportsServiceStub.java (99%) rename {owl-bot-staging/java-channel/v1 => java-channel}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceCallableFactory.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceStub.java (99%) rename {owl-bot-staging/java-channel/v1 => java-channel}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelReportsServiceCallableFactory.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelReportsServiceStub.java (99%) rename {owl-bot-staging/java-channel/v1 => java-channel}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceCallableFactory.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceStub.java (99%) rename {owl-bot-staging/java-channel/v1 => java-channel}/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelReportsServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelReportsServiceClientTest.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientTest.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelReportsService.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelReportsServiceImpl.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelService.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelServiceImpl.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceGrpc.java (58%) rename {owl-bot-staging/java-channel/v1 => java-channel}/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceGrpc.java (62%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequest.java (72%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequestOrBuilder.java (75%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUser.java (67%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUserOrBuilder.java (58%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfo.java (66%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfoOrBuilder.java (52%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequest.java (73%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequestOrBuilder.java (75%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequest.java (71%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequestOrBuilder.java (70%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequest.java (72%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequestOrBuilder.java (73%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequest.java (69%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequestOrBuilder.java (70%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLink.java (66%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkName.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkOrBuilder.java (68%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkState.java (71%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkView.java (70%) create mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinksProto.java rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfig.java (67%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigName.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigOrBuilder.java (68%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequest.java (64%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequestOrBuilder.java (64%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponse.java (60%) create mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponseOrBuilder.java rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccount.java (70%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccountOrBuilder.java (67%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfo.java (72%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfoOrBuilder.java (77%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Column.java (71%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ColumnOrBuilder.java (71%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettings.java (65%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettingsOrBuilder.java (60%) create mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommonProto.java rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConditionalOverride.java (61%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConditionalOverrideOrBuilder.java (53%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Constraints.java (67%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConstraintsOrBuilder.java (63%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfo.java (72%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfoOrBuilder.java (73%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest.java (65%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequestOrBuilder.java (60%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequest.java (58%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequestOrBuilder.java (50%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequest.java (59%) create mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequestOrBuilder.java rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequest.java (64%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequestOrBuilder.java (62%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequest.java (67%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequestOrBuilder.java (66%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Customer.java (71%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraints.java (69%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraintsOrBuilder.java (65%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEvent.java (69%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEventOrBuilder.java (63%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerName.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerOrBuilder.java (77%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfig.java (66%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigName.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigOrBuilder.java (68%) create mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomersProto.java rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DateRange.java (77%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DateRangeOrBuilder.java (87%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequest.java (57%) create mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequestOrBuilder.java rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequest.java (60%) create mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequestOrBuilder.java rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequest.java (61%) create mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequestOrBuilder.java rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduData.java (69%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduDataOrBuilder.java (68%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Entitlement.java (71%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEvent.java (71%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEventOrBuilder.java (65%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementName.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementOrBuilder.java (74%) create mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsRequest.java (70%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsRequestOrBuilder.java (69%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsResponse.java (73%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsResponseOrBuilder.java (75%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequest.java (65%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequestOrBuilder.java (58%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequest.java (59%) create mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequestOrBuilder.java rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequest.java (61%) create mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequestOrBuilder.java rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequest.java (63%) create mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequestOrBuilder.java rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequest.java (63%) create mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequestOrBuilder.java rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequest.java (73%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequestOrBuilder.java (76%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequest.java (70%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequestOrBuilder.java (71%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponse.java (73%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponseOrBuilder.java (73%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequest.java (71%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequestOrBuilder.java (78%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponse.java (62%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponseOrBuilder.java (56%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequest.java (71%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequestOrBuilder.java (74%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponse.java (65%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponseOrBuilder.java (67%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequest.java (73%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequestOrBuilder.java (76%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponse.java (72%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponseOrBuilder.java (69%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequest.java (69%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequestOrBuilder.java (66%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponse.java (72%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponseOrBuilder.java (69%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequest.java (73%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequestOrBuilder.java (77%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponse.java (70%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponseOrBuilder.java (64%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequest.java (71%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequestOrBuilder.java (72%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponse.java (71%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponseOrBuilder.java (63%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequest.java (62%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequestOrBuilder.java (58%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponse.java (72%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponseOrBuilder.java (65%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequest.java (61%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequestOrBuilder.java (59%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponse.java (71%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponseOrBuilder.java (65%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsRequest.java (73%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsRequestOrBuilder.java (76%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsResponse.java (72%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsResponseOrBuilder.java (67%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequest.java (70%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequestOrBuilder.java (69%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponse.java (70%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponseOrBuilder.java (61%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequest.java (70%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequestOrBuilder.java (70%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponse.java (70%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponseOrBuilder.java (69%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequest.java (73%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequestOrBuilder.java (77%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponse.java (74%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponseOrBuilder.java (73%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequest.java (74%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequestOrBuilder.java (80%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponse.java (74%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponseOrBuilder.java (70%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequest.java (63%) create mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequestOrBuilder.java rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfo.java (68%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfoOrBuilder.java (65%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Media.java (67%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaOrBuilder.java (60%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaType.java (64%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Offer.java (76%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferName.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferOrBuilder.java (83%) create mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadata.java (69%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadataOrBuilder.java (56%) create mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationsProto.java rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Parameter.java (69%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinition.java (76%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinitionOrBuilder.java (84%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterOrBuilder.java (66%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentPlan.java (68%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentType.java (67%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustment.java (69%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustmentOrBuilder.java (64%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Period.java (66%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodOrBuilder.java (56%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodType.java (66%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Plan.java (73%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PlanOrBuilder.java (83%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Price.java (71%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResource.java (72%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResourceOrBuilder.java (74%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceOrBuilder.java (72%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhase.java (74%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhaseOrBuilder.java (75%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTier.java (69%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTierOrBuilder.java (63%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Product.java (68%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductName.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductOrBuilder.java (64%) create mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductsProto.java rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PromotionalOrderType.java (70%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequest.java (68%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequestOrBuilder.java (67%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedService.java (71%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedServiceOrBuilder.java (70%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOffer.java (66%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOfferOrBuilder.java (54%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSku.java (65%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSkuOrBuilder.java (53%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RebillingBasis.java (69%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequest.java (67%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequestOrBuilder.java (60%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponse.java (64%) create mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponseOrBuilder.java rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettings.java (70%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettingsOrBuilder.java (73%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Report.java (74%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJob.java (69%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJobName.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJobOrBuilder.java (67%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportName.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportOrBuilder.java (75%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportResultsMetadata.java (72%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportResultsMetadataOrBuilder.java (80%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportStatus.java (72%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportStatusOrBuilder.java (73%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportValue.java (73%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportValueOrBuilder.java (82%) create mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportsServiceProto.java rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustment.java (67%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustmentOrBuilder.java (64%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingCondition.java (68%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConditionOrBuilder.java (62%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfig.java (66%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfigOrBuilder.java (70%) create mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ResourceType.java (73%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Row.java (70%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RowOrBuilder.java (61%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobRequest.java (69%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobRequestOrBuilder.java (69%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobResponse.java (71%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobResponseOrBuilder.java (77%) create mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Sku.java (70%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuGroupCondition.java (67%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuGroupConditionOrBuilder.java (58%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuOrBuilder.java (72%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequest.java (73%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequestOrBuilder.java (75%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEvent.java (71%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventOrBuilder.java (73%) create mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventProto.java rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequest.java (72%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequestOrBuilder.java (75%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibility.java (68%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibilityOrBuilder.java (65%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequest.java (70%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequestOrBuilder.java (70%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponse.java (70%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponseOrBuilder.java (61%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequest.java (67%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequestOrBuilder.java (66%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOffer.java (67%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOfferOrBuilder.java (59%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSku.java (70%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSkuOrBuilder.java (74%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettings.java (70%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettingsOrBuilder.java (68%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequest.java (67%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequestOrBuilder.java (60%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponse.java (65%) create mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponseOrBuilder.java rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequest.java (67%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequestOrBuilder.java (66%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequest.java (56%) create mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequestOrBuilder.java rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequest.java (58%) create mode 100644 java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequestOrBuilder.java rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequest.java (65%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequestOrBuilder.java (65%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Value.java (69%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ValueOrBuilder.java (74%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/channel_partner_links.proto (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/common.proto (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/customers.proto (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/entitlements.proto (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/offers.proto (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/operations.proto (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/products.proto (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/reports_service.proto (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/repricing.proto (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/service.proto (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/subscriber_event.proto (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/AsyncFetchReportResults.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/AsyncFetchReportResultsPaged.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/SyncFetchReportResults.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/SyncFetchReportResultsReportjobname.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/SyncFetchReportResultsString.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/AsyncListReports.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/AsyncListReportsPaged.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/SyncListReports.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/SyncListReportsString.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/runreportjob/AsyncRunReportJob.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/runreportjob/AsyncRunReportJobLRO.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/runreportjob/SyncRunReportJob.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservicesettings/runreportjob/SyncRunReportJob.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/activateentitlement/AsyncActivateEntitlement.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/activateentitlement/AsyncActivateEntitlementLRO.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/activateentitlement/SyncActivateEntitlement.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/cancelentitlement/AsyncCancelEntitlement.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/cancelentitlement/AsyncCancelEntitlementLRO.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/cancelentitlement/SyncCancelEntitlement.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeoffer/AsyncChangeOffer.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeoffer/AsyncChangeOfferLRO.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeoffer/SyncChangeOffer.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeparameters/AsyncChangeParameters.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeparameters/AsyncChangeParametersLRO.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeparameters/SyncChangeParameters.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changerenewalsettings/AsyncChangeRenewalSettings.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changerenewalsettings/AsyncChangeRenewalSettingsLRO.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changerenewalsettings/SyncChangeRenewalSettings.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/checkcloudidentityaccountsexist/AsyncCheckCloudIdentityAccountsExist.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/checkcloudidentityaccountsexist/SyncCheckCloudIdentityAccountsExist.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerlink/AsyncCreateChannelPartnerLink.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerlink/SyncCreateChannelPartnerLink.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/AsyncCreateChannelPartnerRepricingConfig.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfig.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigChannelpartnerlinknameChannelpartnerrepricingconfig.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigStringChannelpartnerrepricingconfig.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomer/AsyncCreateCustomer.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomer/SyncCreateCustomer.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/AsyncCreateCustomerRepricingConfig.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfig.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigCustomernameCustomerrepricingconfig.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigStringCustomerrepricingconfig.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createentitlement/AsyncCreateEntitlement.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createentitlement/AsyncCreateEntitlementLRO.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createentitlement/SyncCreateEntitlement.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/AsyncDeleteChannelPartnerRepricingConfig.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfig.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigString.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/AsyncDeleteCustomer.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/SyncDeleteCustomer.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/SyncDeleteCustomerCustomername.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/SyncDeleteCustomerString.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/AsyncDeleteCustomerRepricingConfig.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfig.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigCustomerrepricingconfigname.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigString.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerlink/AsyncGetChannelPartnerLink.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerlink/SyncGetChannelPartnerLink.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/AsyncGetChannelPartnerRepricingConfig.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfig.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigString.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/AsyncGetCustomer.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/SyncGetCustomer.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/SyncGetCustomerCustomername.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/SyncGetCustomerString.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/AsyncGetCustomerRepricingConfig.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/SyncGetCustomerRepricingConfig.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigCustomerrepricingconfigname.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigString.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getentitlement/AsyncGetEntitlement.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getentitlement/SyncGetEntitlement.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/importcustomer/AsyncImportCustomer.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/importcustomer/SyncImportCustomer.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerlinks/AsyncListChannelPartnerLinks.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerlinks/AsyncListChannelPartnerLinksPaged.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerlinks/SyncListChannelPartnerLinks.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigs.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigsPaged.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigs.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsChannelpartnerlinkname.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsString.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigs.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigsPaged.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigs.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsCustomername.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsString.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomers/AsyncListCustomers.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomers/AsyncListCustomersPaged.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomers/SyncListCustomers.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listentitlements/AsyncListEntitlements.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listentitlements/AsyncListEntitlementsPaged.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listentitlements/SyncListEntitlements.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listoffers/AsyncListOffers.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listoffers/AsyncListOffersPaged.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listoffers/SyncListOffers.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listproducts/AsyncListProducts.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listproducts/AsyncListProductsPaged.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listproducts/SyncListProducts.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableoffers/AsyncListPurchasableOffers.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableoffers/AsyncListPurchasableOffersPaged.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableoffers/SyncListPurchasableOffers.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableskus/AsyncListPurchasableSkus.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableskus/AsyncListPurchasableSkusPaged.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableskus/SyncListPurchasableSkus.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listskus/AsyncListSkus.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listskus/AsyncListSkusPaged.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listskus/SyncListSkus.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listsubscribers/AsyncListSubscribers.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listsubscribers/AsyncListSubscribersPaged.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listsubscribers/SyncListSubscribers.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableoffers/AsyncListTransferableOffers.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableoffers/AsyncListTransferableOffersPaged.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableoffers/SyncListTransferableOffers.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableskus/AsyncListTransferableSkus.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableskus/AsyncListTransferableSkusPaged.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableskus/SyncListTransferableSkus.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/lookupoffer/AsyncLookupOffer.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/lookupoffer/SyncLookupOffer.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/provisioncloudidentity/AsyncProvisionCloudIdentity.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/provisioncloudidentity/AsyncProvisionCloudIdentityLRO.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/provisioncloudidentity/SyncProvisionCloudIdentity.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/registersubscriber/AsyncRegisterSubscriber.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/registersubscriber/SyncRegisterSubscriber.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/startpaidservice/AsyncStartPaidService.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/startpaidservice/AsyncStartPaidServiceLRO.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/startpaidservice/SyncStartPaidService.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/suspendentitlement/AsyncSuspendEntitlement.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/suspendentitlement/AsyncSuspendEntitlementLRO.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/suspendentitlement/SyncSuspendEntitlement.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlements/AsyncTransferEntitlements.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlements/AsyncTransferEntitlementsLRO.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlements/SyncTransferEntitlements.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogle.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogleLRO.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlementstogoogle/SyncTransferEntitlementsToGoogle.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/unregistersubscriber/AsyncUnregisterSubscriber.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/unregistersubscriber/SyncUnregisterSubscriber.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerlink/AsyncUpdateChannelPartnerLink.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerlink/SyncUpdateChannelPartnerLink.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerrepricingconfig/AsyncUpdateChannelPartnerRepricingConfig.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfig.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfigChannelpartnerrepricingconfig.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomer/AsyncUpdateCustomer.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomer/SyncUpdateCustomer.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomerrepricingconfig/AsyncUpdateCustomerRepricingConfig.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfig.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfigCustomerrepricingconfig.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservicesettings/getcustomer/SyncGetCustomer.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/stub/cloudchannelreportsservicestubsettings/runreportjob/SyncRunReportJob.java (100%) rename {owl-bot-staging/java-channel/v1 => java-channel}/samples/snippets/generated/com/google/cloud/channel/v1/stub/cloudchannelservicestubsettings/getcustomer/SyncGetCustomer.java (100%) delete mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinksProto.java delete mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponseOrBuilder.java delete mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommonProto.java delete mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomersProto.java delete mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java delete mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java delete mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationsProto.java delete mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductsProto.java delete mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponseOrBuilder.java delete mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportsServiceProto.java delete mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java delete mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java delete mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventProto.java delete mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponseOrBuilder.java delete mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequestOrBuilder.java diff --git a/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceClient.java b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceClient.java similarity index 100% rename from owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceClient.java rename to java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceClient.java diff --git a/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceSettings.java b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceSettings.java similarity index 99% rename from owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceSettings.java rename to java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceSettings.java index 0bbe802056b3..773ab69c053f 100644 --- a/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceSettings.java +++ b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceSettings.java @@ -30,7 +30,6 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; 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.cloud.channel.v1.stub.CloudChannelReportsServiceStubSettings; diff --git a/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java similarity index 100% rename from owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java rename to java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java diff --git a/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceSettings.java b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceSettings.java similarity index 99% rename from owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceSettings.java rename to java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceSettings.java index b49d0137a7ac..41e878871500 100644 --- a/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceSettings.java +++ b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceSettings.java @@ -41,7 +41,6 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; 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.cloud.channel.v1.stub.CloudChannelServiceStubSettings; diff --git a/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/gapic_metadata.json b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/gapic_metadata.json rename to java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/gapic_metadata.json diff --git a/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/package-info.java b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/package-info.java similarity index 100% rename from owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/package-info.java rename to java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/package-info.java diff --git a/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelReportsServiceStub.java b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelReportsServiceStub.java similarity index 100% rename from owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelReportsServiceStub.java rename to java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelReportsServiceStub.java diff --git a/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelReportsServiceStubSettings.java b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelReportsServiceStubSettings.java similarity index 100% rename from owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelReportsServiceStubSettings.java rename to java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelReportsServiceStubSettings.java diff --git a/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStub.java b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStub.java similarity index 100% rename from owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStub.java rename to java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStub.java diff --git a/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStubSettings.java b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStubSettings.java similarity index 100% rename from owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStubSettings.java rename to java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/CloudChannelServiceStubSettings.java diff --git a/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelReportsServiceCallableFactory.java b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelReportsServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelReportsServiceCallableFactory.java rename to java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelReportsServiceCallableFactory.java diff --git a/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelReportsServiceStub.java b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelReportsServiceStub.java similarity index 99% rename from owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelReportsServiceStub.java rename to java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelReportsServiceStub.java index f33d74b772ed..2ae4da0a1ad7 100644 --- a/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelReportsServiceStub.java +++ b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelReportsServiceStub.java @@ -39,7 +39,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceCallableFactory.java b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceCallableFactory.java rename to java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceCallableFactory.java diff --git a/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceStub.java b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceStub.java similarity index 99% rename from owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceStub.java rename to java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceStub.java index c4e892ab9166..fe5db08df3da 100644 --- a/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceStub.java +++ b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/GrpcCloudChannelServiceStub.java @@ -113,7 +113,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelReportsServiceCallableFactory.java b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelReportsServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelReportsServiceCallableFactory.java rename to java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelReportsServiceCallableFactory.java diff --git a/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelReportsServiceStub.java b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelReportsServiceStub.java similarity index 99% rename from owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelReportsServiceStub.java rename to java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelReportsServiceStub.java index 4e9df35cf0fc..ec9d52ac65db 100644 --- a/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelReportsServiceStub.java +++ b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelReportsServiceStub.java @@ -31,7 +31,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceCallableFactory.java b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceCallableFactory.java rename to java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceCallableFactory.java diff --git a/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceStub.java b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceStub.java similarity index 99% rename from owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceStub.java rename to java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceStub.java index 7796f8e6a54e..88bdd7402211 100644 --- a/owl-bot-staging/java-channel/v1/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceStub.java +++ b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/HttpJsonCloudChannelServiceStub.java @@ -42,7 +42,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/owl-bot-staging/java-channel/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelReportsServiceClientHttpJsonTest.java b/java-channel/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelReportsServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-channel/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelReportsServiceClientHttpJsonTest.java rename to java-channel/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelReportsServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/java-channel/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelReportsServiceClientTest.java b/java-channel/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelReportsServiceClientTest.java similarity index 100% rename from owl-bot-staging/java-channel/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelReportsServiceClientTest.java rename to java-channel/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelReportsServiceClientTest.java diff --git a/owl-bot-staging/java-channel/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientHttpJsonTest.java b/java-channel/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-channel/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientHttpJsonTest.java rename to java-channel/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/java-channel/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientTest.java b/java-channel/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientTest.java similarity index 100% rename from owl-bot-staging/java-channel/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientTest.java rename to java-channel/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/CloudChannelServiceClientTest.java diff --git a/owl-bot-staging/java-channel/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelReportsService.java b/java-channel/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelReportsService.java similarity index 100% rename from owl-bot-staging/java-channel/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelReportsService.java rename to java-channel/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelReportsService.java diff --git a/owl-bot-staging/java-channel/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelReportsServiceImpl.java b/java-channel/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelReportsServiceImpl.java similarity index 100% rename from owl-bot-staging/java-channel/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelReportsServiceImpl.java rename to java-channel/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelReportsServiceImpl.java diff --git a/owl-bot-staging/java-channel/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelService.java b/java-channel/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelService.java similarity index 100% rename from owl-bot-staging/java-channel/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelService.java rename to java-channel/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelService.java diff --git a/owl-bot-staging/java-channel/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelServiceImpl.java b/java-channel/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelServiceImpl.java similarity index 100% rename from owl-bot-staging/java-channel/v1/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelServiceImpl.java rename to java-channel/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/MockCloudChannelServiceImpl.java diff --git a/owl-bot-staging/java-channel/v1/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceGrpc.java b/java-channel/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceGrpc.java similarity index 58% rename from owl-bot-staging/java-channel/v1/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceGrpc.java rename to java-channel/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceGrpc.java index 2045f370cdf5..280a39b8670a 100644 --- a/owl-bot-staging/java-channel/v1/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceGrpc.java +++ b/java-channel/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelReportsServiceGrpc.java @@ -1,8 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.cloud.channel.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * CloudChannelReportsService lets Google Cloud resellers and
  * distributors retrieve and combine a variety of data in Cloud Channel for
@@ -21,144 +38,189 @@ private CloudChannelReportsServiceGrpc() {}
   public static final String SERVICE_NAME = "google.cloud.channel.v1.CloudChannelReportsService";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor getRunReportJobMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.RunReportJobRequest, com.google.longrunning.Operation>
+      getRunReportJobMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RunReportJob",
       requestType = com.google.cloud.channel.v1.RunReportJobRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getRunReportJobMethod() {
-    io.grpc.MethodDescriptor getRunReportJobMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.RunReportJobRequest, com.google.longrunning.Operation>
+      getRunReportJobMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.RunReportJobRequest, com.google.longrunning.Operation>
+        getRunReportJobMethod;
     if ((getRunReportJobMethod = CloudChannelReportsServiceGrpc.getRunReportJobMethod) == null) {
       synchronized (CloudChannelReportsServiceGrpc.class) {
-        if ((getRunReportJobMethod = CloudChannelReportsServiceGrpc.getRunReportJobMethod) == null) {
-          CloudChannelReportsServiceGrpc.getRunReportJobMethod = getRunReportJobMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunReportJob"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.RunReportJobRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelReportsServiceMethodDescriptorSupplier("RunReportJob"))
-              .build();
+        if ((getRunReportJobMethod = CloudChannelReportsServiceGrpc.getRunReportJobMethod)
+            == null) {
+          CloudChannelReportsServiceGrpc.getRunReportJobMethod =
+              getRunReportJobMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunReportJob"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.RunReportJobRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelReportsServiceMethodDescriptorSupplier("RunReportJob"))
+                      .build();
         }
       }
     }
     return getRunReportJobMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getFetchReportResultsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.FetchReportResultsRequest,
+          com.google.cloud.channel.v1.FetchReportResultsResponse>
+      getFetchReportResultsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "FetchReportResults",
       requestType = com.google.cloud.channel.v1.FetchReportResultsRequest.class,
       responseType = com.google.cloud.channel.v1.FetchReportResultsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getFetchReportResultsMethod() {
-    io.grpc.MethodDescriptor getFetchReportResultsMethod;
-    if ((getFetchReportResultsMethod = CloudChannelReportsServiceGrpc.getFetchReportResultsMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.FetchReportResultsRequest,
+          com.google.cloud.channel.v1.FetchReportResultsResponse>
+      getFetchReportResultsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.FetchReportResultsRequest,
+            com.google.cloud.channel.v1.FetchReportResultsResponse>
+        getFetchReportResultsMethod;
+    if ((getFetchReportResultsMethod = CloudChannelReportsServiceGrpc.getFetchReportResultsMethod)
+        == null) {
       synchronized (CloudChannelReportsServiceGrpc.class) {
-        if ((getFetchReportResultsMethod = CloudChannelReportsServiceGrpc.getFetchReportResultsMethod) == null) {
-          CloudChannelReportsServiceGrpc.getFetchReportResultsMethod = getFetchReportResultsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchReportResults"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.FetchReportResultsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.FetchReportResultsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelReportsServiceMethodDescriptorSupplier("FetchReportResults"))
-              .build();
+        if ((getFetchReportResultsMethod =
+                CloudChannelReportsServiceGrpc.getFetchReportResultsMethod)
+            == null) {
+          CloudChannelReportsServiceGrpc.getFetchReportResultsMethod =
+              getFetchReportResultsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchReportResults"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.FetchReportResultsRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.FetchReportResultsResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelReportsServiceMethodDescriptorSupplier(
+                              "FetchReportResults"))
+                      .build();
         }
       }
     }
     return getFetchReportResultsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListReportsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ListReportsRequest,
+          com.google.cloud.channel.v1.ListReportsResponse>
+      getListReportsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListReports",
       requestType = com.google.cloud.channel.v1.ListReportsRequest.class,
       responseType = com.google.cloud.channel.v1.ListReportsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListReportsMethod() {
-    io.grpc.MethodDescriptor getListReportsMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ListReportsRequest,
+          com.google.cloud.channel.v1.ListReportsResponse>
+      getListReportsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.ListReportsRequest,
+            com.google.cloud.channel.v1.ListReportsResponse>
+        getListReportsMethod;
     if ((getListReportsMethod = CloudChannelReportsServiceGrpc.getListReportsMethod) == null) {
       synchronized (CloudChannelReportsServiceGrpc.class) {
         if ((getListReportsMethod = CloudChannelReportsServiceGrpc.getListReportsMethod) == null) {
-          CloudChannelReportsServiceGrpc.getListReportsMethod = getListReportsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListReports"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ListReportsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ListReportsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelReportsServiceMethodDescriptorSupplier("ListReports"))
-              .build();
+          CloudChannelReportsServiceGrpc.getListReportsMethod =
+              getListReportsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListReports"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ListReportsRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ListReportsResponse.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelReportsServiceMethodDescriptorSupplier("ListReports"))
+                      .build();
         }
       }
     }
     return getListReportsMethod;
   }
 
-  /**
-   * Creates a new async stub that supports all call types for the service
-   */
+  /** Creates a new async stub that supports all call types for the service */
   public static CloudChannelReportsServiceStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudChannelReportsServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudChannelReportsServiceStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudChannelReportsServiceStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudChannelReportsServiceStub(channel, callOptions);
+          }
+        };
     return CloudChannelReportsServiceStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static CloudChannelReportsServiceBlockingStub newBlockingStub(
-      io.grpc.Channel channel) {
+  public static CloudChannelReportsServiceBlockingStub newBlockingStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudChannelReportsServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudChannelReportsServiceBlockingStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudChannelReportsServiceBlockingStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudChannelReportsServiceBlockingStub(channel, callOptions);
+          }
+        };
     return CloudChannelReportsServiceBlockingStub.newStub(factory, channel);
   }
 
-  /**
-   * Creates a new ListenableFuture-style stub that supports unary calls on the service
-   */
-  public static CloudChannelReportsServiceFutureStub newFutureStub(
-      io.grpc.Channel channel) {
+  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+  public static CloudChannelReportsServiceFutureStub newFutureStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudChannelReportsServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudChannelReportsServiceFutureStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudChannelReportsServiceFutureStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudChannelReportsServiceFutureStub(channel, callOptions);
+          }
+        };
     return CloudChannelReportsServiceFutureStub.newStub(factory, channel);
   }
 
   /**
+   *
+   *
    * 
    * CloudChannelReportsService lets Google Cloud resellers and
    * distributors retrieve and combine a variety of data in Cloud Channel for
@@ -166,9 +228,12 @@ public CloudChannelReportsServiceFutureStub newStub(io.grpc.Channel channel, io.
    * Google Workspace.)
    * 
*/ - public static abstract class CloudChannelReportsServiceImplBase implements io.grpc.BindableService { + public abstract static class CloudChannelReportsServiceImplBase + implements io.grpc.BindableService { /** + * + * *
      * Begins generation of data for a given report. The report
      * identifier is a UID (for example, `613bf59q`).
@@ -192,61 +257,75 @@ public static abstract class CloudChannelReportsServiceImplBase implements io.gr
      * [RunReportJobResponse.report_job][google.cloud.channel.v1.RunReportJobResponse.report_job].
      * 
*/ - public void runReportJob(com.google.cloud.channel.v1.RunReportJobRequest request, + public void runReportJob( + com.google.cloud.channel.v1.RunReportJobRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunReportJobMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRunReportJobMethod(), responseObserver); } /** + * + * *
      * Retrieves data generated by
      * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
      * 
*/ - public void fetchReportResults(com.google.cloud.channel.v1.FetchReportResultsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFetchReportResultsMethod(), responseObserver); + public void fetchReportResults( + com.google.cloud.channel.v1.FetchReportResultsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getFetchReportResultsMethod(), responseObserver); } /** + * + * *
      * Lists the reports that RunReportJob can run. These reports include an ID,
      * a description, and the list of columns that will be in the result.
      * 
*/ - public void listReports(com.google.cloud.channel.v1.ListReportsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListReportsMethod(), responseObserver); + public void listReports( + com.google.cloud.channel.v1.ListReportsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListReportsMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getRunReportJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.RunReportJobRequest, - com.google.longrunning.Operation>( - this, METHODID_RUN_REPORT_JOB))) + getRunReportJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.RunReportJobRequest, + com.google.longrunning.Operation>(this, METHODID_RUN_REPORT_JOB))) .addMethod( - getFetchReportResultsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.FetchReportResultsRequest, - com.google.cloud.channel.v1.FetchReportResultsResponse>( - this, METHODID_FETCH_REPORT_RESULTS))) + getFetchReportResultsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.FetchReportResultsRequest, + com.google.cloud.channel.v1.FetchReportResultsResponse>( + this, METHODID_FETCH_REPORT_RESULTS))) .addMethod( - getListReportsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ListReportsRequest, - com.google.cloud.channel.v1.ListReportsResponse>( - this, METHODID_LIST_REPORTS))) + getListReportsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ListReportsRequest, + com.google.cloud.channel.v1.ListReportsResponse>( + this, METHODID_LIST_REPORTS))) .build(); } } /** + * + * *
    * CloudChannelReportsService lets Google Cloud resellers and
    * distributors retrieve and combine a variety of data in Cloud Channel for
@@ -254,7 +333,8 @@ public void listReports(com.google.cloud.channel.v1.ListReportsRequest request,
    * Google Workspace.)
    * 
*/ - public static final class CloudChannelReportsServiceStub extends io.grpc.stub.AbstractAsyncStub { + public static final class CloudChannelReportsServiceStub + extends io.grpc.stub.AbstractAsyncStub { private CloudChannelReportsServiceStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -267,6 +347,8 @@ protected CloudChannelReportsServiceStub build( } /** + * + * *
      * Begins generation of data for a given report. The report
      * identifier is a UID (for example, `613bf59q`).
@@ -290,38 +372,55 @@ protected CloudChannelReportsServiceStub build(
      * [RunReportJobResponse.report_job][google.cloud.channel.v1.RunReportJobResponse.report_job].
      * 
*/ - public void runReportJob(com.google.cloud.channel.v1.RunReportJobRequest request, + public void runReportJob( + com.google.cloud.channel.v1.RunReportJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRunReportJobMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getRunReportJobMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Retrieves data generated by
      * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
      * 
*/ - public void fetchReportResults(com.google.cloud.channel.v1.FetchReportResultsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void fetchReportResults( + com.google.cloud.channel.v1.FetchReportResultsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFetchReportResultsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getFetchReportResultsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists the reports that RunReportJob can run. These reports include an ID,
      * a description, and the list of columns that will be in the result.
      * 
*/ - public void listReports(com.google.cloud.channel.v1.ListReportsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listReports( + com.google.cloud.channel.v1.ListReportsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListReportsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListReportsMethod(), getCallOptions()), + request, + responseObserver); } } /** + * + * *
    * CloudChannelReportsService lets Google Cloud resellers and
    * distributors retrieve and combine a variety of data in Cloud Channel for
@@ -329,7 +428,8 @@ public void listReports(com.google.cloud.channel.v1.ListReportsRequest request,
    * Google Workspace.)
    * 
*/ - public static final class CloudChannelReportsServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + public static final class CloudChannelReportsServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { private CloudChannelReportsServiceBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -342,6 +442,8 @@ protected CloudChannelReportsServiceBlockingStub build( } /** + * + * *
      * Begins generation of data for a given report. The report
      * identifier is a UID (for example, `613bf59q`).
@@ -365,35 +467,44 @@ protected CloudChannelReportsServiceBlockingStub build(
      * [RunReportJobResponse.report_job][google.cloud.channel.v1.RunReportJobResponse.report_job].
      * 
*/ - public com.google.longrunning.Operation runReportJob(com.google.cloud.channel.v1.RunReportJobRequest request) { + public com.google.longrunning.Operation runReportJob( + com.google.cloud.channel.v1.RunReportJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRunReportJobMethod(), getCallOptions(), request); } /** + * + * *
      * Retrieves data generated by
      * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
      * 
*/ - public com.google.cloud.channel.v1.FetchReportResultsResponse fetchReportResults(com.google.cloud.channel.v1.FetchReportResultsRequest request) { + public com.google.cloud.channel.v1.FetchReportResultsResponse fetchReportResults( + com.google.cloud.channel.v1.FetchReportResultsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getFetchReportResultsMethod(), getCallOptions(), request); } /** + * + * *
      * Lists the reports that RunReportJob can run. These reports include an ID,
      * a description, and the list of columns that will be in the result.
      * 
*/ - public com.google.cloud.channel.v1.ListReportsResponse listReports(com.google.cloud.channel.v1.ListReportsRequest request) { + public com.google.cloud.channel.v1.ListReportsResponse listReports( + com.google.cloud.channel.v1.ListReportsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListReportsMethod(), getCallOptions(), request); } } /** + * + * *
    * CloudChannelReportsService lets Google Cloud resellers and
    * distributors retrieve and combine a variety of data in Cloud Channel for
@@ -401,7 +512,8 @@ public com.google.cloud.channel.v1.ListReportsResponse listReports(com.google.cl
    * Google Workspace.)
    * 
*/ - public static final class CloudChannelReportsServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + public static final class CloudChannelReportsServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { private CloudChannelReportsServiceFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -414,6 +526,8 @@ protected CloudChannelReportsServiceFutureStub build( } /** + * + * *
      * Begins generation of data for a given report. The report
      * identifier is a UID (for example, `613bf59q`).
@@ -437,32 +551,38 @@ protected CloudChannelReportsServiceFutureStub build(
      * [RunReportJobResponse.report_job][google.cloud.channel.v1.RunReportJobResponse.report_job].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture runReportJob( - com.google.cloud.channel.v1.RunReportJobRequest request) { + public com.google.common.util.concurrent.ListenableFuture + runReportJob(com.google.cloud.channel.v1.RunReportJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getRunReportJobMethod(), getCallOptions()), request); } /** + * + * *
      * Retrieves data generated by
      * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture fetchReportResults( - com.google.cloud.channel.v1.FetchReportResultsRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.channel.v1.FetchReportResultsResponse> + fetchReportResults(com.google.cloud.channel.v1.FetchReportResultsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getFetchReportResultsMethod(), getCallOptions()), request); } /** + * + * *
      * Lists the reports that RunReportJob can run. These reports include an ID,
      * a description, and the list of columns that will be in the result.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listReports( - com.google.cloud.channel.v1.ListReportsRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.channel.v1.ListReportsResponse> + listReports(com.google.cloud.channel.v1.ListReportsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListReportsMethod(), getCallOptions()), request); } @@ -472,11 +592,11 @@ public com.google.common.util.concurrent.ListenableFuture implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + 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 CloudChannelReportsServiceImplBase serviceImpl; private final int methodId; @@ -490,16 +610,21 @@ private static final class MethodHandlers implements public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_RUN_REPORT_JOB: - serviceImpl.runReportJob((com.google.cloud.channel.v1.RunReportJobRequest) request, + serviceImpl.runReportJob( + (com.google.cloud.channel.v1.RunReportJobRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_FETCH_REPORT_RESULTS: - serviceImpl.fetchReportResults((com.google.cloud.channel.v1.FetchReportResultsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.fetchReportResults( + (com.google.cloud.channel.v1.FetchReportResultsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_LIST_REPORTS: - serviceImpl.listReports((com.google.cloud.channel.v1.ListReportsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.listReports( + (com.google.cloud.channel.v1.ListReportsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; default: throw new AssertionError(); @@ -517,8 +642,9 @@ public io.grpc.stub.StreamObserver invoke( } } - private static abstract class CloudChannelReportsServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class CloudChannelReportsServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { CloudChannelReportsServiceBaseDescriptorSupplier() {} @java.lang.Override @@ -560,12 +686,14 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (CloudChannelReportsServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new CloudChannelReportsServiceFileDescriptorSupplier()) - .addMethod(getRunReportJobMethod()) - .addMethod(getFetchReportResultsMethod()) - .addMethod(getListReportsMethod()) - .build(); + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new CloudChannelReportsServiceFileDescriptorSupplier()) + .addMethod(getRunReportJobMethod()) + .addMethod(getFetchReportResultsMethod()) + .addMethod(getListReportsMethod()) + .build(); } } } diff --git a/owl-bot-staging/java-channel/v1/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceGrpc.java b/java-channel/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceGrpc.java similarity index 62% rename from owl-bot-staging/java-channel/v1/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceGrpc.java rename to java-channel/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceGrpc.java index 3e2ec5e509f9..bdb0f8467225 100644 --- a/owl-bot-staging/java-channel/v1/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceGrpc.java +++ b/java-channel/grpc-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceGrpc.java @@ -1,8 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.cloud.channel.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * CloudChannelService lets Google cloud resellers and distributors manage
  * their customers, channel partners, entitlements, and reports.
@@ -33,1446 +50,2230 @@ private CloudChannelServiceGrpc() {}
   public static final String SERVICE_NAME = "google.cloud.channel.v1.CloudChannelService";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor getListCustomersMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ListCustomersRequest,
+          com.google.cloud.channel.v1.ListCustomersResponse>
+      getListCustomersMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListCustomers",
       requestType = com.google.cloud.channel.v1.ListCustomersRequest.class,
       responseType = com.google.cloud.channel.v1.ListCustomersResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListCustomersMethod() {
-    io.grpc.MethodDescriptor getListCustomersMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ListCustomersRequest,
+          com.google.cloud.channel.v1.ListCustomersResponse>
+      getListCustomersMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.ListCustomersRequest,
+            com.google.cloud.channel.v1.ListCustomersResponse>
+        getListCustomersMethod;
     if ((getListCustomersMethod = CloudChannelServiceGrpc.getListCustomersMethod) == null) {
       synchronized (CloudChannelServiceGrpc.class) {
         if ((getListCustomersMethod = CloudChannelServiceGrpc.getListCustomersMethod) == null) {
-          CloudChannelServiceGrpc.getListCustomersMethod = getListCustomersMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCustomers"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ListCustomersRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ListCustomersResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ListCustomers"))
-              .build();
+          CloudChannelServiceGrpc.getListCustomersMethod =
+              getListCustomersMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCustomers"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ListCustomersRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ListCustomersResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier("ListCustomers"))
+                      .build();
         }
       }
     }
     return getListCustomersMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetCustomerMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.GetCustomerRequest, com.google.cloud.channel.v1.Customer>
+      getGetCustomerMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetCustomer",
       requestType = com.google.cloud.channel.v1.GetCustomerRequest.class,
       responseType = com.google.cloud.channel.v1.Customer.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetCustomerMethod() {
-    io.grpc.MethodDescriptor getGetCustomerMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.GetCustomerRequest, com.google.cloud.channel.v1.Customer>
+      getGetCustomerMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.GetCustomerRequest, com.google.cloud.channel.v1.Customer>
+        getGetCustomerMethod;
     if ((getGetCustomerMethod = CloudChannelServiceGrpc.getGetCustomerMethod) == null) {
       synchronized (CloudChannelServiceGrpc.class) {
         if ((getGetCustomerMethod = CloudChannelServiceGrpc.getGetCustomerMethod) == null) {
-          CloudChannelServiceGrpc.getGetCustomerMethod = getGetCustomerMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCustomer"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.GetCustomerRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.Customer.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("GetCustomer"))
-              .build();
+          CloudChannelServiceGrpc.getGetCustomerMethod =
+              getGetCustomerMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCustomer"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.GetCustomerRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.Customer.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier("GetCustomer"))
+                      .build();
         }
       }
     }
     return getGetCustomerMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCheckCloudIdentityAccountsExistMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest,
+          com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse>
+      getCheckCloudIdentityAccountsExistMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CheckCloudIdentityAccountsExist",
       requestType = com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest.class,
       responseType = com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCheckCloudIdentityAccountsExistMethod() {
-    io.grpc.MethodDescriptor getCheckCloudIdentityAccountsExistMethod;
-    if ((getCheckCloudIdentityAccountsExistMethod = CloudChannelServiceGrpc.getCheckCloudIdentityAccountsExistMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest,
+          com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse>
+      getCheckCloudIdentityAccountsExistMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest,
+            com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse>
+        getCheckCloudIdentityAccountsExistMethod;
+    if ((getCheckCloudIdentityAccountsExistMethod =
+            CloudChannelServiceGrpc.getCheckCloudIdentityAccountsExistMethod)
+        == null) {
       synchronized (CloudChannelServiceGrpc.class) {
-        if ((getCheckCloudIdentityAccountsExistMethod = CloudChannelServiceGrpc.getCheckCloudIdentityAccountsExistMethod) == null) {
-          CloudChannelServiceGrpc.getCheckCloudIdentityAccountsExistMethod = getCheckCloudIdentityAccountsExistMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CheckCloudIdentityAccountsExist"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("CheckCloudIdentityAccountsExist"))
-              .build();
+        if ((getCheckCloudIdentityAccountsExistMethod =
+                CloudChannelServiceGrpc.getCheckCloudIdentityAccountsExistMethod)
+            == null) {
+          CloudChannelServiceGrpc.getCheckCloudIdentityAccountsExistMethod =
+              getCheckCloudIdentityAccountsExistMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "CheckCloudIdentityAccountsExist"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier(
+                              "CheckCloudIdentityAccountsExist"))
+                      .build();
         }
       }
     }
     return getCheckCloudIdentityAccountsExistMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateCustomerMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.CreateCustomerRequest, com.google.cloud.channel.v1.Customer>
+      getCreateCustomerMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateCustomer",
       requestType = com.google.cloud.channel.v1.CreateCustomerRequest.class,
       responseType = com.google.cloud.channel.v1.Customer.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateCustomerMethod() {
-    io.grpc.MethodDescriptor getCreateCustomerMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.CreateCustomerRequest, com.google.cloud.channel.v1.Customer>
+      getCreateCustomerMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.CreateCustomerRequest, com.google.cloud.channel.v1.Customer>
+        getCreateCustomerMethod;
     if ((getCreateCustomerMethod = CloudChannelServiceGrpc.getCreateCustomerMethod) == null) {
       synchronized (CloudChannelServiceGrpc.class) {
         if ((getCreateCustomerMethod = CloudChannelServiceGrpc.getCreateCustomerMethod) == null) {
-          CloudChannelServiceGrpc.getCreateCustomerMethod = getCreateCustomerMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCustomer"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.CreateCustomerRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.Customer.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("CreateCustomer"))
-              .build();
+          CloudChannelServiceGrpc.getCreateCustomerMethod =
+              getCreateCustomerMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCustomer"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.CreateCustomerRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.Customer.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier("CreateCustomer"))
+                      .build();
         }
       }
     }
     return getCreateCustomerMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateCustomerMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.UpdateCustomerRequest, com.google.cloud.channel.v1.Customer>
+      getUpdateCustomerMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateCustomer",
       requestType = com.google.cloud.channel.v1.UpdateCustomerRequest.class,
       responseType = com.google.cloud.channel.v1.Customer.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdateCustomerMethod() {
-    io.grpc.MethodDescriptor getUpdateCustomerMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.UpdateCustomerRequest, com.google.cloud.channel.v1.Customer>
+      getUpdateCustomerMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.UpdateCustomerRequest, com.google.cloud.channel.v1.Customer>
+        getUpdateCustomerMethod;
     if ((getUpdateCustomerMethod = CloudChannelServiceGrpc.getUpdateCustomerMethod) == null) {
       synchronized (CloudChannelServiceGrpc.class) {
         if ((getUpdateCustomerMethod = CloudChannelServiceGrpc.getUpdateCustomerMethod) == null) {
-          CloudChannelServiceGrpc.getUpdateCustomerMethod = getUpdateCustomerMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCustomer"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.UpdateCustomerRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.Customer.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("UpdateCustomer"))
-              .build();
+          CloudChannelServiceGrpc.getUpdateCustomerMethod =
+              getUpdateCustomerMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCustomer"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.UpdateCustomerRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.Customer.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier("UpdateCustomer"))
+                      .build();
         }
       }
     }
     return getUpdateCustomerMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteCustomerMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.DeleteCustomerRequest, com.google.protobuf.Empty>
+      getDeleteCustomerMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteCustomer",
       requestType = com.google.cloud.channel.v1.DeleteCustomerRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteCustomerMethod() {
-    io.grpc.MethodDescriptor getDeleteCustomerMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.DeleteCustomerRequest, com.google.protobuf.Empty>
+      getDeleteCustomerMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.DeleteCustomerRequest, com.google.protobuf.Empty>
+        getDeleteCustomerMethod;
     if ((getDeleteCustomerMethod = CloudChannelServiceGrpc.getDeleteCustomerMethod) == null) {
       synchronized (CloudChannelServiceGrpc.class) {
         if ((getDeleteCustomerMethod = CloudChannelServiceGrpc.getDeleteCustomerMethod) == null) {
-          CloudChannelServiceGrpc.getDeleteCustomerMethod = getDeleteCustomerMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCustomer"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.DeleteCustomerRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("DeleteCustomer"))
-              .build();
+          CloudChannelServiceGrpc.getDeleteCustomerMethod =
+              getDeleteCustomerMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCustomer"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.DeleteCustomerRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier("DeleteCustomer"))
+                      .build();
         }
       }
     }
     return getDeleteCustomerMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getImportCustomerMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ImportCustomerRequest, com.google.cloud.channel.v1.Customer>
+      getImportCustomerMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ImportCustomer",
       requestType = com.google.cloud.channel.v1.ImportCustomerRequest.class,
       responseType = com.google.cloud.channel.v1.Customer.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getImportCustomerMethod() {
-    io.grpc.MethodDescriptor getImportCustomerMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ImportCustomerRequest, com.google.cloud.channel.v1.Customer>
+      getImportCustomerMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.ImportCustomerRequest, com.google.cloud.channel.v1.Customer>
+        getImportCustomerMethod;
     if ((getImportCustomerMethod = CloudChannelServiceGrpc.getImportCustomerMethod) == null) {
       synchronized (CloudChannelServiceGrpc.class) {
         if ((getImportCustomerMethod = CloudChannelServiceGrpc.getImportCustomerMethod) == null) {
-          CloudChannelServiceGrpc.getImportCustomerMethod = getImportCustomerMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportCustomer"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ImportCustomerRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.Customer.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ImportCustomer"))
-              .build();
+          CloudChannelServiceGrpc.getImportCustomerMethod =
+              getImportCustomerMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportCustomer"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ImportCustomerRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.Customer.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier("ImportCustomer"))
+                      .build();
         }
       }
     }
     return getImportCustomerMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getProvisionCloudIdentityMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ProvisionCloudIdentityRequest,
+          com.google.longrunning.Operation>
+      getProvisionCloudIdentityMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ProvisionCloudIdentity",
       requestType = com.google.cloud.channel.v1.ProvisionCloudIdentityRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getProvisionCloudIdentityMethod() {
-    io.grpc.MethodDescriptor getProvisionCloudIdentityMethod;
-    if ((getProvisionCloudIdentityMethod = CloudChannelServiceGrpc.getProvisionCloudIdentityMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ProvisionCloudIdentityRequest,
+          com.google.longrunning.Operation>
+      getProvisionCloudIdentityMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.ProvisionCloudIdentityRequest,
+            com.google.longrunning.Operation>
+        getProvisionCloudIdentityMethod;
+    if ((getProvisionCloudIdentityMethod = CloudChannelServiceGrpc.getProvisionCloudIdentityMethod)
+        == null) {
       synchronized (CloudChannelServiceGrpc.class) {
-        if ((getProvisionCloudIdentityMethod = CloudChannelServiceGrpc.getProvisionCloudIdentityMethod) == null) {
-          CloudChannelServiceGrpc.getProvisionCloudIdentityMethod = getProvisionCloudIdentityMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ProvisionCloudIdentity"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ProvisionCloudIdentityRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ProvisionCloudIdentity"))
-              .build();
+        if ((getProvisionCloudIdentityMethod =
+                CloudChannelServiceGrpc.getProvisionCloudIdentityMethod)
+            == null) {
+          CloudChannelServiceGrpc.getProvisionCloudIdentityMethod =
+              getProvisionCloudIdentityMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "ProvisionCloudIdentity"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ProvisionCloudIdentityRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier("ProvisionCloudIdentity"))
+                      .build();
         }
       }
     }
     return getProvisionCloudIdentityMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListEntitlementsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ListEntitlementsRequest,
+          com.google.cloud.channel.v1.ListEntitlementsResponse>
+      getListEntitlementsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListEntitlements",
       requestType = com.google.cloud.channel.v1.ListEntitlementsRequest.class,
       responseType = com.google.cloud.channel.v1.ListEntitlementsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListEntitlementsMethod() {
-    io.grpc.MethodDescriptor getListEntitlementsMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ListEntitlementsRequest,
+          com.google.cloud.channel.v1.ListEntitlementsResponse>
+      getListEntitlementsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.ListEntitlementsRequest,
+            com.google.cloud.channel.v1.ListEntitlementsResponse>
+        getListEntitlementsMethod;
     if ((getListEntitlementsMethod = CloudChannelServiceGrpc.getListEntitlementsMethod) == null) {
       synchronized (CloudChannelServiceGrpc.class) {
-        if ((getListEntitlementsMethod = CloudChannelServiceGrpc.getListEntitlementsMethod) == null) {
-          CloudChannelServiceGrpc.getListEntitlementsMethod = getListEntitlementsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEntitlements"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ListEntitlementsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ListEntitlementsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ListEntitlements"))
-              .build();
+        if ((getListEntitlementsMethod = CloudChannelServiceGrpc.getListEntitlementsMethod)
+            == null) {
+          CloudChannelServiceGrpc.getListEntitlementsMethod =
+              getListEntitlementsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEntitlements"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ListEntitlementsRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ListEntitlementsResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier("ListEntitlements"))
+                      .build();
         }
       }
     }
     return getListEntitlementsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListTransferableSkusMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ListTransferableSkusRequest,
+          com.google.cloud.channel.v1.ListTransferableSkusResponse>
+      getListTransferableSkusMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListTransferableSkus",
       requestType = com.google.cloud.channel.v1.ListTransferableSkusRequest.class,
       responseType = com.google.cloud.channel.v1.ListTransferableSkusResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListTransferableSkusMethod() {
-    io.grpc.MethodDescriptor getListTransferableSkusMethod;
-    if ((getListTransferableSkusMethod = CloudChannelServiceGrpc.getListTransferableSkusMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ListTransferableSkusRequest,
+          com.google.cloud.channel.v1.ListTransferableSkusResponse>
+      getListTransferableSkusMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.ListTransferableSkusRequest,
+            com.google.cloud.channel.v1.ListTransferableSkusResponse>
+        getListTransferableSkusMethod;
+    if ((getListTransferableSkusMethod = CloudChannelServiceGrpc.getListTransferableSkusMethod)
+        == null) {
       synchronized (CloudChannelServiceGrpc.class) {
-        if ((getListTransferableSkusMethod = CloudChannelServiceGrpc.getListTransferableSkusMethod) == null) {
-          CloudChannelServiceGrpc.getListTransferableSkusMethod = getListTransferableSkusMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTransferableSkus"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ListTransferableSkusRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ListTransferableSkusResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ListTransferableSkus"))
-              .build();
+        if ((getListTransferableSkusMethod = CloudChannelServiceGrpc.getListTransferableSkusMethod)
+            == null) {
+          CloudChannelServiceGrpc.getListTransferableSkusMethod =
+              getListTransferableSkusMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "ListTransferableSkus"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ListTransferableSkusRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ListTransferableSkusResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier("ListTransferableSkus"))
+                      .build();
         }
       }
     }
     return getListTransferableSkusMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListTransferableOffersMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ListTransferableOffersRequest,
+          com.google.cloud.channel.v1.ListTransferableOffersResponse>
+      getListTransferableOffersMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListTransferableOffers",
       requestType = com.google.cloud.channel.v1.ListTransferableOffersRequest.class,
       responseType = com.google.cloud.channel.v1.ListTransferableOffersResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListTransferableOffersMethod() {
-    io.grpc.MethodDescriptor getListTransferableOffersMethod;
-    if ((getListTransferableOffersMethod = CloudChannelServiceGrpc.getListTransferableOffersMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ListTransferableOffersRequest,
+          com.google.cloud.channel.v1.ListTransferableOffersResponse>
+      getListTransferableOffersMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.ListTransferableOffersRequest,
+            com.google.cloud.channel.v1.ListTransferableOffersResponse>
+        getListTransferableOffersMethod;
+    if ((getListTransferableOffersMethod = CloudChannelServiceGrpc.getListTransferableOffersMethod)
+        == null) {
       synchronized (CloudChannelServiceGrpc.class) {
-        if ((getListTransferableOffersMethod = CloudChannelServiceGrpc.getListTransferableOffersMethod) == null) {
-          CloudChannelServiceGrpc.getListTransferableOffersMethod = getListTransferableOffersMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTransferableOffers"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ListTransferableOffersRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ListTransferableOffersResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ListTransferableOffers"))
-              .build();
+        if ((getListTransferableOffersMethod =
+                CloudChannelServiceGrpc.getListTransferableOffersMethod)
+            == null) {
+          CloudChannelServiceGrpc.getListTransferableOffersMethod =
+              getListTransferableOffersMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "ListTransferableOffers"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ListTransferableOffersRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ListTransferableOffersResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier("ListTransferableOffers"))
+                      .build();
         }
       }
     }
     return getListTransferableOffersMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetEntitlementMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.GetEntitlementRequest,
+          com.google.cloud.channel.v1.Entitlement>
+      getGetEntitlementMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetEntitlement",
       requestType = com.google.cloud.channel.v1.GetEntitlementRequest.class,
       responseType = com.google.cloud.channel.v1.Entitlement.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetEntitlementMethod() {
-    io.grpc.MethodDescriptor getGetEntitlementMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.GetEntitlementRequest,
+          com.google.cloud.channel.v1.Entitlement>
+      getGetEntitlementMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.GetEntitlementRequest,
+            com.google.cloud.channel.v1.Entitlement>
+        getGetEntitlementMethod;
     if ((getGetEntitlementMethod = CloudChannelServiceGrpc.getGetEntitlementMethod) == null) {
       synchronized (CloudChannelServiceGrpc.class) {
         if ((getGetEntitlementMethod = CloudChannelServiceGrpc.getGetEntitlementMethod) == null) {
-          CloudChannelServiceGrpc.getGetEntitlementMethod = getGetEntitlementMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEntitlement"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.GetEntitlementRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.Entitlement.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("GetEntitlement"))
-              .build();
+          CloudChannelServiceGrpc.getGetEntitlementMethod =
+              getGetEntitlementMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEntitlement"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.GetEntitlementRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.Entitlement.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier("GetEntitlement"))
+                      .build();
         }
       }
     }
     return getGetEntitlementMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateEntitlementMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.CreateEntitlementRequest, com.google.longrunning.Operation>
+      getCreateEntitlementMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateEntitlement",
       requestType = com.google.cloud.channel.v1.CreateEntitlementRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateEntitlementMethod() {
-    io.grpc.MethodDescriptor getCreateEntitlementMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.CreateEntitlementRequest, com.google.longrunning.Operation>
+      getCreateEntitlementMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.CreateEntitlementRequest, com.google.longrunning.Operation>
+        getCreateEntitlementMethod;
     if ((getCreateEntitlementMethod = CloudChannelServiceGrpc.getCreateEntitlementMethod) == null) {
       synchronized (CloudChannelServiceGrpc.class) {
-        if ((getCreateEntitlementMethod = CloudChannelServiceGrpc.getCreateEntitlementMethod) == null) {
-          CloudChannelServiceGrpc.getCreateEntitlementMethod = getCreateEntitlementMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEntitlement"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.CreateEntitlementRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("CreateEntitlement"))
-              .build();
+        if ((getCreateEntitlementMethod = CloudChannelServiceGrpc.getCreateEntitlementMethod)
+            == null) {
+          CloudChannelServiceGrpc.getCreateEntitlementMethod =
+              getCreateEntitlementMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEntitlement"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.CreateEntitlementRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier("CreateEntitlement"))
+                      .build();
         }
       }
     }
     return getCreateEntitlementMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getChangeParametersMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ChangeParametersRequest, com.google.longrunning.Operation>
+      getChangeParametersMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ChangeParameters",
       requestType = com.google.cloud.channel.v1.ChangeParametersRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getChangeParametersMethod() {
-    io.grpc.MethodDescriptor getChangeParametersMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ChangeParametersRequest, com.google.longrunning.Operation>
+      getChangeParametersMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.ChangeParametersRequest, com.google.longrunning.Operation>
+        getChangeParametersMethod;
     if ((getChangeParametersMethod = CloudChannelServiceGrpc.getChangeParametersMethod) == null) {
       synchronized (CloudChannelServiceGrpc.class) {
-        if ((getChangeParametersMethod = CloudChannelServiceGrpc.getChangeParametersMethod) == null) {
-          CloudChannelServiceGrpc.getChangeParametersMethod = getChangeParametersMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ChangeParameters"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ChangeParametersRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ChangeParameters"))
-              .build();
+        if ((getChangeParametersMethod = CloudChannelServiceGrpc.getChangeParametersMethod)
+            == null) {
+          CloudChannelServiceGrpc.getChangeParametersMethod =
+              getChangeParametersMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ChangeParameters"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ChangeParametersRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier("ChangeParameters"))
+                      .build();
         }
       }
     }
     return getChangeParametersMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getChangeRenewalSettingsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ChangeRenewalSettingsRequest,
+          com.google.longrunning.Operation>
+      getChangeRenewalSettingsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ChangeRenewalSettings",
       requestType = com.google.cloud.channel.v1.ChangeRenewalSettingsRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getChangeRenewalSettingsMethod() {
-    io.grpc.MethodDescriptor getChangeRenewalSettingsMethod;
-    if ((getChangeRenewalSettingsMethod = CloudChannelServiceGrpc.getChangeRenewalSettingsMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ChangeRenewalSettingsRequest,
+          com.google.longrunning.Operation>
+      getChangeRenewalSettingsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.ChangeRenewalSettingsRequest,
+            com.google.longrunning.Operation>
+        getChangeRenewalSettingsMethod;
+    if ((getChangeRenewalSettingsMethod = CloudChannelServiceGrpc.getChangeRenewalSettingsMethod)
+        == null) {
       synchronized (CloudChannelServiceGrpc.class) {
-        if ((getChangeRenewalSettingsMethod = CloudChannelServiceGrpc.getChangeRenewalSettingsMethod) == null) {
-          CloudChannelServiceGrpc.getChangeRenewalSettingsMethod = getChangeRenewalSettingsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ChangeRenewalSettings"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ChangeRenewalSettingsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ChangeRenewalSettings"))
-              .build();
+        if ((getChangeRenewalSettingsMethod =
+                CloudChannelServiceGrpc.getChangeRenewalSettingsMethod)
+            == null) {
+          CloudChannelServiceGrpc.getChangeRenewalSettingsMethod =
+              getChangeRenewalSettingsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "ChangeRenewalSettings"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ChangeRenewalSettingsRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier("ChangeRenewalSettings"))
+                      .build();
         }
       }
     }
     return getChangeRenewalSettingsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getChangeOfferMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ChangeOfferRequest, com.google.longrunning.Operation>
+      getChangeOfferMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ChangeOffer",
       requestType = com.google.cloud.channel.v1.ChangeOfferRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getChangeOfferMethod() {
-    io.grpc.MethodDescriptor getChangeOfferMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ChangeOfferRequest, com.google.longrunning.Operation>
+      getChangeOfferMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.ChangeOfferRequest, com.google.longrunning.Operation>
+        getChangeOfferMethod;
     if ((getChangeOfferMethod = CloudChannelServiceGrpc.getChangeOfferMethod) == null) {
       synchronized (CloudChannelServiceGrpc.class) {
         if ((getChangeOfferMethod = CloudChannelServiceGrpc.getChangeOfferMethod) == null) {
-          CloudChannelServiceGrpc.getChangeOfferMethod = getChangeOfferMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ChangeOffer"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ChangeOfferRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ChangeOffer"))
-              .build();
+          CloudChannelServiceGrpc.getChangeOfferMethod =
+              getChangeOfferMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ChangeOffer"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ChangeOfferRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier("ChangeOffer"))
+                      .build();
         }
       }
     }
     return getChangeOfferMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getStartPaidServiceMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.StartPaidServiceRequest, com.google.longrunning.Operation>
+      getStartPaidServiceMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "StartPaidService",
       requestType = com.google.cloud.channel.v1.StartPaidServiceRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getStartPaidServiceMethod() {
-    io.grpc.MethodDescriptor getStartPaidServiceMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.StartPaidServiceRequest, com.google.longrunning.Operation>
+      getStartPaidServiceMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.StartPaidServiceRequest, com.google.longrunning.Operation>
+        getStartPaidServiceMethod;
     if ((getStartPaidServiceMethod = CloudChannelServiceGrpc.getStartPaidServiceMethod) == null) {
       synchronized (CloudChannelServiceGrpc.class) {
-        if ((getStartPaidServiceMethod = CloudChannelServiceGrpc.getStartPaidServiceMethod) == null) {
-          CloudChannelServiceGrpc.getStartPaidServiceMethod = getStartPaidServiceMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartPaidService"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.StartPaidServiceRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("StartPaidService"))
-              .build();
+        if ((getStartPaidServiceMethod = CloudChannelServiceGrpc.getStartPaidServiceMethod)
+            == null) {
+          CloudChannelServiceGrpc.getStartPaidServiceMethod =
+              getStartPaidServiceMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartPaidService"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.StartPaidServiceRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier("StartPaidService"))
+                      .build();
         }
       }
     }
     return getStartPaidServiceMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getSuspendEntitlementMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.SuspendEntitlementRequest, com.google.longrunning.Operation>
+      getSuspendEntitlementMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "SuspendEntitlement",
       requestType = com.google.cloud.channel.v1.SuspendEntitlementRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getSuspendEntitlementMethod() {
-    io.grpc.MethodDescriptor getSuspendEntitlementMethod;
-    if ((getSuspendEntitlementMethod = CloudChannelServiceGrpc.getSuspendEntitlementMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.SuspendEntitlementRequest, com.google.longrunning.Operation>
+      getSuspendEntitlementMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.SuspendEntitlementRequest, com.google.longrunning.Operation>
+        getSuspendEntitlementMethod;
+    if ((getSuspendEntitlementMethod = CloudChannelServiceGrpc.getSuspendEntitlementMethod)
+        == null) {
       synchronized (CloudChannelServiceGrpc.class) {
-        if ((getSuspendEntitlementMethod = CloudChannelServiceGrpc.getSuspendEntitlementMethod) == null) {
-          CloudChannelServiceGrpc.getSuspendEntitlementMethod = getSuspendEntitlementMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SuspendEntitlement"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.SuspendEntitlementRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("SuspendEntitlement"))
-              .build();
+        if ((getSuspendEntitlementMethod = CloudChannelServiceGrpc.getSuspendEntitlementMethod)
+            == null) {
+          CloudChannelServiceGrpc.getSuspendEntitlementMethod =
+              getSuspendEntitlementMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SuspendEntitlement"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.SuspendEntitlementRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier("SuspendEntitlement"))
+                      .build();
         }
       }
     }
     return getSuspendEntitlementMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCancelEntitlementMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.CancelEntitlementRequest, com.google.longrunning.Operation>
+      getCancelEntitlementMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CancelEntitlement",
       requestType = com.google.cloud.channel.v1.CancelEntitlementRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCancelEntitlementMethod() {
-    io.grpc.MethodDescriptor getCancelEntitlementMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.CancelEntitlementRequest, com.google.longrunning.Operation>
+      getCancelEntitlementMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.CancelEntitlementRequest, com.google.longrunning.Operation>
+        getCancelEntitlementMethod;
     if ((getCancelEntitlementMethod = CloudChannelServiceGrpc.getCancelEntitlementMethod) == null) {
       synchronized (CloudChannelServiceGrpc.class) {
-        if ((getCancelEntitlementMethod = CloudChannelServiceGrpc.getCancelEntitlementMethod) == null) {
-          CloudChannelServiceGrpc.getCancelEntitlementMethod = getCancelEntitlementMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelEntitlement"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.CancelEntitlementRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("CancelEntitlement"))
-              .build();
+        if ((getCancelEntitlementMethod = CloudChannelServiceGrpc.getCancelEntitlementMethod)
+            == null) {
+          CloudChannelServiceGrpc.getCancelEntitlementMethod =
+              getCancelEntitlementMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelEntitlement"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.CancelEntitlementRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier("CancelEntitlement"))
+                      .build();
         }
       }
     }
     return getCancelEntitlementMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getActivateEntitlementMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ActivateEntitlementRequest, com.google.longrunning.Operation>
+      getActivateEntitlementMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ActivateEntitlement",
       requestType = com.google.cloud.channel.v1.ActivateEntitlementRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getActivateEntitlementMethod() {
-    io.grpc.MethodDescriptor getActivateEntitlementMethod;
-    if ((getActivateEntitlementMethod = CloudChannelServiceGrpc.getActivateEntitlementMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ActivateEntitlementRequest, com.google.longrunning.Operation>
+      getActivateEntitlementMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.ActivateEntitlementRequest,
+            com.google.longrunning.Operation>
+        getActivateEntitlementMethod;
+    if ((getActivateEntitlementMethod = CloudChannelServiceGrpc.getActivateEntitlementMethod)
+        == null) {
       synchronized (CloudChannelServiceGrpc.class) {
-        if ((getActivateEntitlementMethod = CloudChannelServiceGrpc.getActivateEntitlementMethod) == null) {
-          CloudChannelServiceGrpc.getActivateEntitlementMethod = getActivateEntitlementMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ActivateEntitlement"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ActivateEntitlementRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ActivateEntitlement"))
-              .build();
+        if ((getActivateEntitlementMethod = CloudChannelServiceGrpc.getActivateEntitlementMethod)
+            == null) {
+          CloudChannelServiceGrpc.getActivateEntitlementMethod =
+              getActivateEntitlementMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "ActivateEntitlement"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ActivateEntitlementRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier("ActivateEntitlement"))
+                      .build();
         }
       }
     }
     return getActivateEntitlementMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getTransferEntitlementsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.TransferEntitlementsRequest, com.google.longrunning.Operation>
+      getTransferEntitlementsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "TransferEntitlements",
       requestType = com.google.cloud.channel.v1.TransferEntitlementsRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getTransferEntitlementsMethod() {
-    io.grpc.MethodDescriptor getTransferEntitlementsMethod;
-    if ((getTransferEntitlementsMethod = CloudChannelServiceGrpc.getTransferEntitlementsMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.TransferEntitlementsRequest, com.google.longrunning.Operation>
+      getTransferEntitlementsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.TransferEntitlementsRequest,
+            com.google.longrunning.Operation>
+        getTransferEntitlementsMethod;
+    if ((getTransferEntitlementsMethod = CloudChannelServiceGrpc.getTransferEntitlementsMethod)
+        == null) {
       synchronized (CloudChannelServiceGrpc.class) {
-        if ((getTransferEntitlementsMethod = CloudChannelServiceGrpc.getTransferEntitlementsMethod) == null) {
-          CloudChannelServiceGrpc.getTransferEntitlementsMethod = getTransferEntitlementsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TransferEntitlements"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.TransferEntitlementsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("TransferEntitlements"))
-              .build();
+        if ((getTransferEntitlementsMethod = CloudChannelServiceGrpc.getTransferEntitlementsMethod)
+            == null) {
+          CloudChannelServiceGrpc.getTransferEntitlementsMethod =
+              getTransferEntitlementsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "TransferEntitlements"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.TransferEntitlementsRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier("TransferEntitlements"))
+                      .build();
         }
       }
     }
     return getTransferEntitlementsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getTransferEntitlementsToGoogleMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest,
+          com.google.longrunning.Operation>
+      getTransferEntitlementsToGoogleMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "TransferEntitlementsToGoogle",
       requestType = com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getTransferEntitlementsToGoogleMethod() {
-    io.grpc.MethodDescriptor getTransferEntitlementsToGoogleMethod;
-    if ((getTransferEntitlementsToGoogleMethod = CloudChannelServiceGrpc.getTransferEntitlementsToGoogleMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest,
+          com.google.longrunning.Operation>
+      getTransferEntitlementsToGoogleMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest,
+            com.google.longrunning.Operation>
+        getTransferEntitlementsToGoogleMethod;
+    if ((getTransferEntitlementsToGoogleMethod =
+            CloudChannelServiceGrpc.getTransferEntitlementsToGoogleMethod)
+        == null) {
       synchronized (CloudChannelServiceGrpc.class) {
-        if ((getTransferEntitlementsToGoogleMethod = CloudChannelServiceGrpc.getTransferEntitlementsToGoogleMethod) == null) {
-          CloudChannelServiceGrpc.getTransferEntitlementsToGoogleMethod = getTransferEntitlementsToGoogleMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TransferEntitlementsToGoogle"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("TransferEntitlementsToGoogle"))
-              .build();
+        if ((getTransferEntitlementsToGoogleMethod =
+                CloudChannelServiceGrpc.getTransferEntitlementsToGoogleMethod)
+            == null) {
+          CloudChannelServiceGrpc.getTransferEntitlementsToGoogleMethod =
+              getTransferEntitlementsToGoogleMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "TransferEntitlementsToGoogle"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier(
+                              "TransferEntitlementsToGoogle"))
+                      .build();
         }
       }
     }
     return getTransferEntitlementsToGoogleMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListChannelPartnerLinksMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ListChannelPartnerLinksRequest,
+          com.google.cloud.channel.v1.ListChannelPartnerLinksResponse>
+      getListChannelPartnerLinksMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListChannelPartnerLinks",
       requestType = com.google.cloud.channel.v1.ListChannelPartnerLinksRequest.class,
       responseType = com.google.cloud.channel.v1.ListChannelPartnerLinksResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListChannelPartnerLinksMethod() {
-    io.grpc.MethodDescriptor getListChannelPartnerLinksMethod;
-    if ((getListChannelPartnerLinksMethod = CloudChannelServiceGrpc.getListChannelPartnerLinksMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ListChannelPartnerLinksRequest,
+          com.google.cloud.channel.v1.ListChannelPartnerLinksResponse>
+      getListChannelPartnerLinksMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.ListChannelPartnerLinksRequest,
+            com.google.cloud.channel.v1.ListChannelPartnerLinksResponse>
+        getListChannelPartnerLinksMethod;
+    if ((getListChannelPartnerLinksMethod =
+            CloudChannelServiceGrpc.getListChannelPartnerLinksMethod)
+        == null) {
       synchronized (CloudChannelServiceGrpc.class) {
-        if ((getListChannelPartnerLinksMethod = CloudChannelServiceGrpc.getListChannelPartnerLinksMethod) == null) {
-          CloudChannelServiceGrpc.getListChannelPartnerLinksMethod = getListChannelPartnerLinksMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListChannelPartnerLinks"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ListChannelPartnerLinksRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ListChannelPartnerLinksResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ListChannelPartnerLinks"))
-              .build();
+        if ((getListChannelPartnerLinksMethod =
+                CloudChannelServiceGrpc.getListChannelPartnerLinksMethod)
+            == null) {
+          CloudChannelServiceGrpc.getListChannelPartnerLinksMethod =
+              getListChannelPartnerLinksMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "ListChannelPartnerLinks"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ListChannelPartnerLinksRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ListChannelPartnerLinksResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier(
+                              "ListChannelPartnerLinks"))
+                      .build();
         }
       }
     }
     return getListChannelPartnerLinksMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetChannelPartnerLinkMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.GetChannelPartnerLinkRequest,
+          com.google.cloud.channel.v1.ChannelPartnerLink>
+      getGetChannelPartnerLinkMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetChannelPartnerLink",
       requestType = com.google.cloud.channel.v1.GetChannelPartnerLinkRequest.class,
       responseType = com.google.cloud.channel.v1.ChannelPartnerLink.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetChannelPartnerLinkMethod() {
-    io.grpc.MethodDescriptor getGetChannelPartnerLinkMethod;
-    if ((getGetChannelPartnerLinkMethod = CloudChannelServiceGrpc.getGetChannelPartnerLinkMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.GetChannelPartnerLinkRequest,
+          com.google.cloud.channel.v1.ChannelPartnerLink>
+      getGetChannelPartnerLinkMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.GetChannelPartnerLinkRequest,
+            com.google.cloud.channel.v1.ChannelPartnerLink>
+        getGetChannelPartnerLinkMethod;
+    if ((getGetChannelPartnerLinkMethod = CloudChannelServiceGrpc.getGetChannelPartnerLinkMethod)
+        == null) {
       synchronized (CloudChannelServiceGrpc.class) {
-        if ((getGetChannelPartnerLinkMethod = CloudChannelServiceGrpc.getGetChannelPartnerLinkMethod) == null) {
-          CloudChannelServiceGrpc.getGetChannelPartnerLinkMethod = getGetChannelPartnerLinkMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetChannelPartnerLink"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.GetChannelPartnerLinkRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("GetChannelPartnerLink"))
-              .build();
+        if ((getGetChannelPartnerLinkMethod =
+                CloudChannelServiceGrpc.getGetChannelPartnerLinkMethod)
+            == null) {
+          CloudChannelServiceGrpc.getGetChannelPartnerLinkMethod =
+              getGetChannelPartnerLinkMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "GetChannelPartnerLink"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.GetChannelPartnerLinkRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier("GetChannelPartnerLink"))
+                      .build();
         }
       }
     }
     return getGetChannelPartnerLinkMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateChannelPartnerLinkMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest,
+          com.google.cloud.channel.v1.ChannelPartnerLink>
+      getCreateChannelPartnerLinkMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateChannelPartnerLink",
       requestType = com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest.class,
       responseType = com.google.cloud.channel.v1.ChannelPartnerLink.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateChannelPartnerLinkMethod() {
-    io.grpc.MethodDescriptor getCreateChannelPartnerLinkMethod;
-    if ((getCreateChannelPartnerLinkMethod = CloudChannelServiceGrpc.getCreateChannelPartnerLinkMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest,
+          com.google.cloud.channel.v1.ChannelPartnerLink>
+      getCreateChannelPartnerLinkMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest,
+            com.google.cloud.channel.v1.ChannelPartnerLink>
+        getCreateChannelPartnerLinkMethod;
+    if ((getCreateChannelPartnerLinkMethod =
+            CloudChannelServiceGrpc.getCreateChannelPartnerLinkMethod)
+        == null) {
       synchronized (CloudChannelServiceGrpc.class) {
-        if ((getCreateChannelPartnerLinkMethod = CloudChannelServiceGrpc.getCreateChannelPartnerLinkMethod) == null) {
-          CloudChannelServiceGrpc.getCreateChannelPartnerLinkMethod = getCreateChannelPartnerLinkMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateChannelPartnerLink"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("CreateChannelPartnerLink"))
-              .build();
+        if ((getCreateChannelPartnerLinkMethod =
+                CloudChannelServiceGrpc.getCreateChannelPartnerLinkMethod)
+            == null) {
+          CloudChannelServiceGrpc.getCreateChannelPartnerLinkMethod =
+              getCreateChannelPartnerLinkMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "CreateChannelPartnerLink"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier(
+                              "CreateChannelPartnerLink"))
+                      .build();
         }
       }
     }
     return getCreateChannelPartnerLinkMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateChannelPartnerLinkMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest,
+          com.google.cloud.channel.v1.ChannelPartnerLink>
+      getUpdateChannelPartnerLinkMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateChannelPartnerLink",
       requestType = com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest.class,
       responseType = com.google.cloud.channel.v1.ChannelPartnerLink.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdateChannelPartnerLinkMethod() {
-    io.grpc.MethodDescriptor getUpdateChannelPartnerLinkMethod;
-    if ((getUpdateChannelPartnerLinkMethod = CloudChannelServiceGrpc.getUpdateChannelPartnerLinkMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest,
+          com.google.cloud.channel.v1.ChannelPartnerLink>
+      getUpdateChannelPartnerLinkMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest,
+            com.google.cloud.channel.v1.ChannelPartnerLink>
+        getUpdateChannelPartnerLinkMethod;
+    if ((getUpdateChannelPartnerLinkMethod =
+            CloudChannelServiceGrpc.getUpdateChannelPartnerLinkMethod)
+        == null) {
       synchronized (CloudChannelServiceGrpc.class) {
-        if ((getUpdateChannelPartnerLinkMethod = CloudChannelServiceGrpc.getUpdateChannelPartnerLinkMethod) == null) {
-          CloudChannelServiceGrpc.getUpdateChannelPartnerLinkMethod = getUpdateChannelPartnerLinkMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateChannelPartnerLink"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("UpdateChannelPartnerLink"))
-              .build();
+        if ((getUpdateChannelPartnerLinkMethod =
+                CloudChannelServiceGrpc.getUpdateChannelPartnerLinkMethod)
+            == null) {
+          CloudChannelServiceGrpc.getUpdateChannelPartnerLinkMethod =
+              getUpdateChannelPartnerLinkMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "UpdateChannelPartnerLink"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier(
+                              "UpdateChannelPartnerLink"))
+                      .build();
         }
       }
     }
     return getUpdateChannelPartnerLinkMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetCustomerRepricingConfigMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest,
+          com.google.cloud.channel.v1.CustomerRepricingConfig>
+      getGetCustomerRepricingConfigMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetCustomerRepricingConfig",
       requestType = com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest.class,
       responseType = com.google.cloud.channel.v1.CustomerRepricingConfig.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetCustomerRepricingConfigMethod() {
-    io.grpc.MethodDescriptor getGetCustomerRepricingConfigMethod;
-    if ((getGetCustomerRepricingConfigMethod = CloudChannelServiceGrpc.getGetCustomerRepricingConfigMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest,
+          com.google.cloud.channel.v1.CustomerRepricingConfig>
+      getGetCustomerRepricingConfigMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest,
+            com.google.cloud.channel.v1.CustomerRepricingConfig>
+        getGetCustomerRepricingConfigMethod;
+    if ((getGetCustomerRepricingConfigMethod =
+            CloudChannelServiceGrpc.getGetCustomerRepricingConfigMethod)
+        == null) {
       synchronized (CloudChannelServiceGrpc.class) {
-        if ((getGetCustomerRepricingConfigMethod = CloudChannelServiceGrpc.getGetCustomerRepricingConfigMethod) == null) {
-          CloudChannelServiceGrpc.getGetCustomerRepricingConfigMethod = getGetCustomerRepricingConfigMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCustomerRepricingConfig"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("GetCustomerRepricingConfig"))
-              .build();
+        if ((getGetCustomerRepricingConfigMethod =
+                CloudChannelServiceGrpc.getGetCustomerRepricingConfigMethod)
+            == null) {
+          CloudChannelServiceGrpc.getGetCustomerRepricingConfigMethod =
+              getGetCustomerRepricingConfigMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "GetCustomerRepricingConfig"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.CustomerRepricingConfig
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier(
+                              "GetCustomerRepricingConfig"))
+                      .build();
         }
       }
     }
     return getGetCustomerRepricingConfigMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListCustomerRepricingConfigsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest,
+          com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse>
+      getListCustomerRepricingConfigsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListCustomerRepricingConfigs",
       requestType = com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.class,
       responseType = com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListCustomerRepricingConfigsMethod() {
-    io.grpc.MethodDescriptor getListCustomerRepricingConfigsMethod;
-    if ((getListCustomerRepricingConfigsMethod = CloudChannelServiceGrpc.getListCustomerRepricingConfigsMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest,
+          com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse>
+      getListCustomerRepricingConfigsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest,
+            com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse>
+        getListCustomerRepricingConfigsMethod;
+    if ((getListCustomerRepricingConfigsMethod =
+            CloudChannelServiceGrpc.getListCustomerRepricingConfigsMethod)
+        == null) {
       synchronized (CloudChannelServiceGrpc.class) {
-        if ((getListCustomerRepricingConfigsMethod = CloudChannelServiceGrpc.getListCustomerRepricingConfigsMethod) == null) {
-          CloudChannelServiceGrpc.getListCustomerRepricingConfigsMethod = getListCustomerRepricingConfigsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCustomerRepricingConfigs"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ListCustomerRepricingConfigs"))
-              .build();
+        if ((getListCustomerRepricingConfigsMethod =
+                CloudChannelServiceGrpc.getListCustomerRepricingConfigsMethod)
+            == null) {
+          CloudChannelServiceGrpc.getListCustomerRepricingConfigsMethod =
+              getListCustomerRepricingConfigsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "ListCustomerRepricingConfigs"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier(
+                              "ListCustomerRepricingConfigs"))
+                      .build();
         }
       }
     }
     return getListCustomerRepricingConfigsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateCustomerRepricingConfigMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest,
+          com.google.cloud.channel.v1.CustomerRepricingConfig>
+      getCreateCustomerRepricingConfigMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateCustomerRepricingConfig",
       requestType = com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest.class,
       responseType = com.google.cloud.channel.v1.CustomerRepricingConfig.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateCustomerRepricingConfigMethod() {
-    io.grpc.MethodDescriptor getCreateCustomerRepricingConfigMethod;
-    if ((getCreateCustomerRepricingConfigMethod = CloudChannelServiceGrpc.getCreateCustomerRepricingConfigMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest,
+          com.google.cloud.channel.v1.CustomerRepricingConfig>
+      getCreateCustomerRepricingConfigMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest,
+            com.google.cloud.channel.v1.CustomerRepricingConfig>
+        getCreateCustomerRepricingConfigMethod;
+    if ((getCreateCustomerRepricingConfigMethod =
+            CloudChannelServiceGrpc.getCreateCustomerRepricingConfigMethod)
+        == null) {
       synchronized (CloudChannelServiceGrpc.class) {
-        if ((getCreateCustomerRepricingConfigMethod = CloudChannelServiceGrpc.getCreateCustomerRepricingConfigMethod) == null) {
-          CloudChannelServiceGrpc.getCreateCustomerRepricingConfigMethod = getCreateCustomerRepricingConfigMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCustomerRepricingConfig"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("CreateCustomerRepricingConfig"))
-              .build();
+        if ((getCreateCustomerRepricingConfigMethod =
+                CloudChannelServiceGrpc.getCreateCustomerRepricingConfigMethod)
+            == null) {
+          CloudChannelServiceGrpc.getCreateCustomerRepricingConfigMethod =
+              getCreateCustomerRepricingConfigMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "CreateCustomerRepricingConfig"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.CustomerRepricingConfig
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier(
+                              "CreateCustomerRepricingConfig"))
+                      .build();
         }
       }
     }
     return getCreateCustomerRepricingConfigMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateCustomerRepricingConfigMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest,
+          com.google.cloud.channel.v1.CustomerRepricingConfig>
+      getUpdateCustomerRepricingConfigMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateCustomerRepricingConfig",
       requestType = com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest.class,
       responseType = com.google.cloud.channel.v1.CustomerRepricingConfig.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdateCustomerRepricingConfigMethod() {
-    io.grpc.MethodDescriptor getUpdateCustomerRepricingConfigMethod;
-    if ((getUpdateCustomerRepricingConfigMethod = CloudChannelServiceGrpc.getUpdateCustomerRepricingConfigMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest,
+          com.google.cloud.channel.v1.CustomerRepricingConfig>
+      getUpdateCustomerRepricingConfigMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest,
+            com.google.cloud.channel.v1.CustomerRepricingConfig>
+        getUpdateCustomerRepricingConfigMethod;
+    if ((getUpdateCustomerRepricingConfigMethod =
+            CloudChannelServiceGrpc.getUpdateCustomerRepricingConfigMethod)
+        == null) {
       synchronized (CloudChannelServiceGrpc.class) {
-        if ((getUpdateCustomerRepricingConfigMethod = CloudChannelServiceGrpc.getUpdateCustomerRepricingConfigMethod) == null) {
-          CloudChannelServiceGrpc.getUpdateCustomerRepricingConfigMethod = getUpdateCustomerRepricingConfigMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCustomerRepricingConfig"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("UpdateCustomerRepricingConfig"))
-              .build();
+        if ((getUpdateCustomerRepricingConfigMethod =
+                CloudChannelServiceGrpc.getUpdateCustomerRepricingConfigMethod)
+            == null) {
+          CloudChannelServiceGrpc.getUpdateCustomerRepricingConfigMethod =
+              getUpdateCustomerRepricingConfigMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "UpdateCustomerRepricingConfig"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.CustomerRepricingConfig
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier(
+                              "UpdateCustomerRepricingConfig"))
+                      .build();
         }
       }
     }
     return getUpdateCustomerRepricingConfigMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteCustomerRepricingConfigMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest,
+          com.google.protobuf.Empty>
+      getDeleteCustomerRepricingConfigMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteCustomerRepricingConfig",
       requestType = com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteCustomerRepricingConfigMethod() {
-    io.grpc.MethodDescriptor getDeleteCustomerRepricingConfigMethod;
-    if ((getDeleteCustomerRepricingConfigMethod = CloudChannelServiceGrpc.getDeleteCustomerRepricingConfigMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest,
+          com.google.protobuf.Empty>
+      getDeleteCustomerRepricingConfigMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest,
+            com.google.protobuf.Empty>
+        getDeleteCustomerRepricingConfigMethod;
+    if ((getDeleteCustomerRepricingConfigMethod =
+            CloudChannelServiceGrpc.getDeleteCustomerRepricingConfigMethod)
+        == null) {
       synchronized (CloudChannelServiceGrpc.class) {
-        if ((getDeleteCustomerRepricingConfigMethod = CloudChannelServiceGrpc.getDeleteCustomerRepricingConfigMethod) == null) {
-          CloudChannelServiceGrpc.getDeleteCustomerRepricingConfigMethod = getDeleteCustomerRepricingConfigMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCustomerRepricingConfig"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("DeleteCustomerRepricingConfig"))
-              .build();
+        if ((getDeleteCustomerRepricingConfigMethod =
+                CloudChannelServiceGrpc.getDeleteCustomerRepricingConfigMethod)
+            == null) {
+          CloudChannelServiceGrpc.getDeleteCustomerRepricingConfigMethod =
+              getDeleteCustomerRepricingConfigMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "DeleteCustomerRepricingConfig"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier(
+                              "DeleteCustomerRepricingConfig"))
+                      .build();
         }
       }
     }
     return getDeleteCustomerRepricingConfigMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetChannelPartnerRepricingConfigMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest,
+          com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>
+      getGetChannelPartnerRepricingConfigMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetChannelPartnerRepricingConfig",
       requestType = com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest.class,
       responseType = com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetChannelPartnerRepricingConfigMethod() {
-    io.grpc.MethodDescriptor getGetChannelPartnerRepricingConfigMethod;
-    if ((getGetChannelPartnerRepricingConfigMethod = CloudChannelServiceGrpc.getGetChannelPartnerRepricingConfigMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest,
+          com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>
+      getGetChannelPartnerRepricingConfigMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest,
+            com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>
+        getGetChannelPartnerRepricingConfigMethod;
+    if ((getGetChannelPartnerRepricingConfigMethod =
+            CloudChannelServiceGrpc.getGetChannelPartnerRepricingConfigMethod)
+        == null) {
       synchronized (CloudChannelServiceGrpc.class) {
-        if ((getGetChannelPartnerRepricingConfigMethod = CloudChannelServiceGrpc.getGetChannelPartnerRepricingConfigMethod) == null) {
-          CloudChannelServiceGrpc.getGetChannelPartnerRepricingConfigMethod = getGetChannelPartnerRepricingConfigMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetChannelPartnerRepricingConfig"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("GetChannelPartnerRepricingConfig"))
-              .build();
+        if ((getGetChannelPartnerRepricingConfigMethod =
+                CloudChannelServiceGrpc.getGetChannelPartnerRepricingConfigMethod)
+            == null) {
+          CloudChannelServiceGrpc.getGetChannelPartnerRepricingConfigMethod =
+              getGetChannelPartnerRepricingConfigMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "GetChannelPartnerRepricingConfig"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ChannelPartnerRepricingConfig
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier(
+                              "GetChannelPartnerRepricingConfig"))
+                      .build();
         }
       }
     }
     return getGetChannelPartnerRepricingConfigMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListChannelPartnerRepricingConfigsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest,
+          com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse>
+      getListChannelPartnerRepricingConfigsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListChannelPartnerRepricingConfigs",
       requestType = com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.class,
       responseType = com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListChannelPartnerRepricingConfigsMethod() {
-    io.grpc.MethodDescriptor getListChannelPartnerRepricingConfigsMethod;
-    if ((getListChannelPartnerRepricingConfigsMethod = CloudChannelServiceGrpc.getListChannelPartnerRepricingConfigsMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest,
+          com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse>
+      getListChannelPartnerRepricingConfigsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest,
+            com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse>
+        getListChannelPartnerRepricingConfigsMethod;
+    if ((getListChannelPartnerRepricingConfigsMethod =
+            CloudChannelServiceGrpc.getListChannelPartnerRepricingConfigsMethod)
+        == null) {
       synchronized (CloudChannelServiceGrpc.class) {
-        if ((getListChannelPartnerRepricingConfigsMethod = CloudChannelServiceGrpc.getListChannelPartnerRepricingConfigsMethod) == null) {
-          CloudChannelServiceGrpc.getListChannelPartnerRepricingConfigsMethod = getListChannelPartnerRepricingConfigsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListChannelPartnerRepricingConfigs"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ListChannelPartnerRepricingConfigs"))
-              .build();
+        if ((getListChannelPartnerRepricingConfigsMethod =
+                CloudChannelServiceGrpc.getListChannelPartnerRepricingConfigsMethod)
+            == null) {
+          CloudChannelServiceGrpc.getListChannelPartnerRepricingConfigsMethod =
+              getListChannelPartnerRepricingConfigsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(
+                              SERVICE_NAME, "ListChannelPartnerRepricingConfigs"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier(
+                              "ListChannelPartnerRepricingConfigs"))
+                      .build();
         }
       }
     }
     return getListChannelPartnerRepricingConfigsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateChannelPartnerRepricingConfigMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest,
+          com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>
+      getCreateChannelPartnerRepricingConfigMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateChannelPartnerRepricingConfig",
       requestType = com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest.class,
       responseType = com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateChannelPartnerRepricingConfigMethod() {
-    io.grpc.MethodDescriptor getCreateChannelPartnerRepricingConfigMethod;
-    if ((getCreateChannelPartnerRepricingConfigMethod = CloudChannelServiceGrpc.getCreateChannelPartnerRepricingConfigMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest,
+          com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>
+      getCreateChannelPartnerRepricingConfigMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest,
+            com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>
+        getCreateChannelPartnerRepricingConfigMethod;
+    if ((getCreateChannelPartnerRepricingConfigMethod =
+            CloudChannelServiceGrpc.getCreateChannelPartnerRepricingConfigMethod)
+        == null) {
       synchronized (CloudChannelServiceGrpc.class) {
-        if ((getCreateChannelPartnerRepricingConfigMethod = CloudChannelServiceGrpc.getCreateChannelPartnerRepricingConfigMethod) == null) {
-          CloudChannelServiceGrpc.getCreateChannelPartnerRepricingConfigMethod = getCreateChannelPartnerRepricingConfigMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateChannelPartnerRepricingConfig"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("CreateChannelPartnerRepricingConfig"))
-              .build();
+        if ((getCreateChannelPartnerRepricingConfigMethod =
+                CloudChannelServiceGrpc.getCreateChannelPartnerRepricingConfigMethod)
+            == null) {
+          CloudChannelServiceGrpc.getCreateChannelPartnerRepricingConfigMethod =
+              getCreateChannelPartnerRepricingConfigMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(
+                              SERVICE_NAME, "CreateChannelPartnerRepricingConfig"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ChannelPartnerRepricingConfig
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier(
+                              "CreateChannelPartnerRepricingConfig"))
+                      .build();
         }
       }
     }
     return getCreateChannelPartnerRepricingConfigMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateChannelPartnerRepricingConfigMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest,
+          com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>
+      getUpdateChannelPartnerRepricingConfigMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateChannelPartnerRepricingConfig",
       requestType = com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest.class,
       responseType = com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdateChannelPartnerRepricingConfigMethod() {
-    io.grpc.MethodDescriptor getUpdateChannelPartnerRepricingConfigMethod;
-    if ((getUpdateChannelPartnerRepricingConfigMethod = CloudChannelServiceGrpc.getUpdateChannelPartnerRepricingConfigMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest,
+          com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>
+      getUpdateChannelPartnerRepricingConfigMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest,
+            com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>
+        getUpdateChannelPartnerRepricingConfigMethod;
+    if ((getUpdateChannelPartnerRepricingConfigMethod =
+            CloudChannelServiceGrpc.getUpdateChannelPartnerRepricingConfigMethod)
+        == null) {
       synchronized (CloudChannelServiceGrpc.class) {
-        if ((getUpdateChannelPartnerRepricingConfigMethod = CloudChannelServiceGrpc.getUpdateChannelPartnerRepricingConfigMethod) == null) {
-          CloudChannelServiceGrpc.getUpdateChannelPartnerRepricingConfigMethod = getUpdateChannelPartnerRepricingConfigMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateChannelPartnerRepricingConfig"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("UpdateChannelPartnerRepricingConfig"))
-              .build();
+        if ((getUpdateChannelPartnerRepricingConfigMethod =
+                CloudChannelServiceGrpc.getUpdateChannelPartnerRepricingConfigMethod)
+            == null) {
+          CloudChannelServiceGrpc.getUpdateChannelPartnerRepricingConfigMethod =
+              getUpdateChannelPartnerRepricingConfigMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(
+                              SERVICE_NAME, "UpdateChannelPartnerRepricingConfig"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ChannelPartnerRepricingConfig
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier(
+                              "UpdateChannelPartnerRepricingConfig"))
+                      .build();
         }
       }
     }
     return getUpdateChannelPartnerRepricingConfigMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteChannelPartnerRepricingConfigMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest,
+          com.google.protobuf.Empty>
+      getDeleteChannelPartnerRepricingConfigMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteChannelPartnerRepricingConfig",
       requestType = com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteChannelPartnerRepricingConfigMethod() {
-    io.grpc.MethodDescriptor getDeleteChannelPartnerRepricingConfigMethod;
-    if ((getDeleteChannelPartnerRepricingConfigMethod = CloudChannelServiceGrpc.getDeleteChannelPartnerRepricingConfigMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest,
+          com.google.protobuf.Empty>
+      getDeleteChannelPartnerRepricingConfigMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest,
+            com.google.protobuf.Empty>
+        getDeleteChannelPartnerRepricingConfigMethod;
+    if ((getDeleteChannelPartnerRepricingConfigMethod =
+            CloudChannelServiceGrpc.getDeleteChannelPartnerRepricingConfigMethod)
+        == null) {
       synchronized (CloudChannelServiceGrpc.class) {
-        if ((getDeleteChannelPartnerRepricingConfigMethod = CloudChannelServiceGrpc.getDeleteChannelPartnerRepricingConfigMethod) == null) {
-          CloudChannelServiceGrpc.getDeleteChannelPartnerRepricingConfigMethod = getDeleteChannelPartnerRepricingConfigMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteChannelPartnerRepricingConfig"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("DeleteChannelPartnerRepricingConfig"))
-              .build();
+        if ((getDeleteChannelPartnerRepricingConfigMethod =
+                CloudChannelServiceGrpc.getDeleteChannelPartnerRepricingConfigMethod)
+            == null) {
+          CloudChannelServiceGrpc.getDeleteChannelPartnerRepricingConfigMethod =
+              getDeleteChannelPartnerRepricingConfigMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(
+                              SERVICE_NAME, "DeleteChannelPartnerRepricingConfig"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier(
+                              "DeleteChannelPartnerRepricingConfig"))
+                      .build();
         }
       }
     }
     return getDeleteChannelPartnerRepricingConfigMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getLookupOfferMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.LookupOfferRequest, com.google.cloud.channel.v1.Offer>
+      getLookupOfferMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "LookupOffer",
       requestType = com.google.cloud.channel.v1.LookupOfferRequest.class,
       responseType = com.google.cloud.channel.v1.Offer.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getLookupOfferMethod() {
-    io.grpc.MethodDescriptor getLookupOfferMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.LookupOfferRequest, com.google.cloud.channel.v1.Offer>
+      getLookupOfferMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.LookupOfferRequest, com.google.cloud.channel.v1.Offer>
+        getLookupOfferMethod;
     if ((getLookupOfferMethod = CloudChannelServiceGrpc.getLookupOfferMethod) == null) {
       synchronized (CloudChannelServiceGrpc.class) {
         if ((getLookupOfferMethod = CloudChannelServiceGrpc.getLookupOfferMethod) == null) {
-          CloudChannelServiceGrpc.getLookupOfferMethod = getLookupOfferMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LookupOffer"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.LookupOfferRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.Offer.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("LookupOffer"))
-              .build();
+          CloudChannelServiceGrpc.getLookupOfferMethod =
+              getLookupOfferMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LookupOffer"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.LookupOfferRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.Offer.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier("LookupOffer"))
+                      .build();
         }
       }
     }
     return getLookupOfferMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListProductsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ListProductsRequest,
+          com.google.cloud.channel.v1.ListProductsResponse>
+      getListProductsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListProducts",
       requestType = com.google.cloud.channel.v1.ListProductsRequest.class,
       responseType = com.google.cloud.channel.v1.ListProductsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListProductsMethod() {
-    io.grpc.MethodDescriptor getListProductsMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ListProductsRequest,
+          com.google.cloud.channel.v1.ListProductsResponse>
+      getListProductsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.ListProductsRequest,
+            com.google.cloud.channel.v1.ListProductsResponse>
+        getListProductsMethod;
     if ((getListProductsMethod = CloudChannelServiceGrpc.getListProductsMethod) == null) {
       synchronized (CloudChannelServiceGrpc.class) {
         if ((getListProductsMethod = CloudChannelServiceGrpc.getListProductsMethod) == null) {
-          CloudChannelServiceGrpc.getListProductsMethod = getListProductsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListProducts"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ListProductsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ListProductsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ListProducts"))
-              .build();
+          CloudChannelServiceGrpc.getListProductsMethod =
+              getListProductsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListProducts"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ListProductsRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ListProductsResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier("ListProducts"))
+                      .build();
         }
       }
     }
     return getListProductsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListSkusMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ListSkusRequest, com.google.cloud.channel.v1.ListSkusResponse>
+      getListSkusMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListSkus",
       requestType = com.google.cloud.channel.v1.ListSkusRequest.class,
       responseType = com.google.cloud.channel.v1.ListSkusResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListSkusMethod() {
-    io.grpc.MethodDescriptor getListSkusMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ListSkusRequest, com.google.cloud.channel.v1.ListSkusResponse>
+      getListSkusMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.ListSkusRequest,
+            com.google.cloud.channel.v1.ListSkusResponse>
+        getListSkusMethod;
     if ((getListSkusMethod = CloudChannelServiceGrpc.getListSkusMethod) == null) {
       synchronized (CloudChannelServiceGrpc.class) {
         if ((getListSkusMethod = CloudChannelServiceGrpc.getListSkusMethod) == null) {
-          CloudChannelServiceGrpc.getListSkusMethod = getListSkusMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSkus"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ListSkusRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ListSkusResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ListSkus"))
-              .build();
+          CloudChannelServiceGrpc.getListSkusMethod =
+              getListSkusMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSkus"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ListSkusRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ListSkusResponse.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier("ListSkus"))
+                      .build();
         }
       }
     }
     return getListSkusMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListOffersMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ListOffersRequest,
+          com.google.cloud.channel.v1.ListOffersResponse>
+      getListOffersMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListOffers",
       requestType = com.google.cloud.channel.v1.ListOffersRequest.class,
       responseType = com.google.cloud.channel.v1.ListOffersResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListOffersMethod() {
-    io.grpc.MethodDescriptor getListOffersMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ListOffersRequest,
+          com.google.cloud.channel.v1.ListOffersResponse>
+      getListOffersMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.ListOffersRequest,
+            com.google.cloud.channel.v1.ListOffersResponse>
+        getListOffersMethod;
     if ((getListOffersMethod = CloudChannelServiceGrpc.getListOffersMethod) == null) {
       synchronized (CloudChannelServiceGrpc.class) {
         if ((getListOffersMethod = CloudChannelServiceGrpc.getListOffersMethod) == null) {
-          CloudChannelServiceGrpc.getListOffersMethod = getListOffersMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListOffers"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ListOffersRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ListOffersResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ListOffers"))
-              .build();
+          CloudChannelServiceGrpc.getListOffersMethod =
+              getListOffersMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListOffers"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ListOffersRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ListOffersResponse.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier("ListOffers"))
+                      .build();
         }
       }
     }
     return getListOffersMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListPurchasableSkusMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ListPurchasableSkusRequest,
+          com.google.cloud.channel.v1.ListPurchasableSkusResponse>
+      getListPurchasableSkusMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListPurchasableSkus",
       requestType = com.google.cloud.channel.v1.ListPurchasableSkusRequest.class,
       responseType = com.google.cloud.channel.v1.ListPurchasableSkusResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListPurchasableSkusMethod() {
-    io.grpc.MethodDescriptor getListPurchasableSkusMethod;
-    if ((getListPurchasableSkusMethod = CloudChannelServiceGrpc.getListPurchasableSkusMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ListPurchasableSkusRequest,
+          com.google.cloud.channel.v1.ListPurchasableSkusResponse>
+      getListPurchasableSkusMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.ListPurchasableSkusRequest,
+            com.google.cloud.channel.v1.ListPurchasableSkusResponse>
+        getListPurchasableSkusMethod;
+    if ((getListPurchasableSkusMethod = CloudChannelServiceGrpc.getListPurchasableSkusMethod)
+        == null) {
       synchronized (CloudChannelServiceGrpc.class) {
-        if ((getListPurchasableSkusMethod = CloudChannelServiceGrpc.getListPurchasableSkusMethod) == null) {
-          CloudChannelServiceGrpc.getListPurchasableSkusMethod = getListPurchasableSkusMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPurchasableSkus"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ListPurchasableSkusRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ListPurchasableSkusResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ListPurchasableSkus"))
-              .build();
+        if ((getListPurchasableSkusMethod = CloudChannelServiceGrpc.getListPurchasableSkusMethod)
+            == null) {
+          CloudChannelServiceGrpc.getListPurchasableSkusMethod =
+              getListPurchasableSkusMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "ListPurchasableSkus"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ListPurchasableSkusRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ListPurchasableSkusResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier("ListPurchasableSkus"))
+                      .build();
         }
       }
     }
     return getListPurchasableSkusMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListPurchasableOffersMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ListPurchasableOffersRequest,
+          com.google.cloud.channel.v1.ListPurchasableOffersResponse>
+      getListPurchasableOffersMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListPurchasableOffers",
       requestType = com.google.cloud.channel.v1.ListPurchasableOffersRequest.class,
       responseType = com.google.cloud.channel.v1.ListPurchasableOffersResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListPurchasableOffersMethod() {
-    io.grpc.MethodDescriptor getListPurchasableOffersMethod;
-    if ((getListPurchasableOffersMethod = CloudChannelServiceGrpc.getListPurchasableOffersMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ListPurchasableOffersRequest,
+          com.google.cloud.channel.v1.ListPurchasableOffersResponse>
+      getListPurchasableOffersMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.ListPurchasableOffersRequest,
+            com.google.cloud.channel.v1.ListPurchasableOffersResponse>
+        getListPurchasableOffersMethod;
+    if ((getListPurchasableOffersMethod = CloudChannelServiceGrpc.getListPurchasableOffersMethod)
+        == null) {
       synchronized (CloudChannelServiceGrpc.class) {
-        if ((getListPurchasableOffersMethod = CloudChannelServiceGrpc.getListPurchasableOffersMethod) == null) {
-          CloudChannelServiceGrpc.getListPurchasableOffersMethod = getListPurchasableOffersMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPurchasableOffers"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ListPurchasableOffersRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ListPurchasableOffersResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ListPurchasableOffers"))
-              .build();
+        if ((getListPurchasableOffersMethod =
+                CloudChannelServiceGrpc.getListPurchasableOffersMethod)
+            == null) {
+          CloudChannelServiceGrpc.getListPurchasableOffersMethod =
+              getListPurchasableOffersMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "ListPurchasableOffers"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ListPurchasableOffersRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ListPurchasableOffersResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier("ListPurchasableOffers"))
+                      .build();
         }
       }
     }
     return getListPurchasableOffersMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getRegisterSubscriberMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.RegisterSubscriberRequest,
+          com.google.cloud.channel.v1.RegisterSubscriberResponse>
+      getRegisterSubscriberMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RegisterSubscriber",
       requestType = com.google.cloud.channel.v1.RegisterSubscriberRequest.class,
       responseType = com.google.cloud.channel.v1.RegisterSubscriberResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getRegisterSubscriberMethod() {
-    io.grpc.MethodDescriptor getRegisterSubscriberMethod;
-    if ((getRegisterSubscriberMethod = CloudChannelServiceGrpc.getRegisterSubscriberMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.RegisterSubscriberRequest,
+          com.google.cloud.channel.v1.RegisterSubscriberResponse>
+      getRegisterSubscriberMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.RegisterSubscriberRequest,
+            com.google.cloud.channel.v1.RegisterSubscriberResponse>
+        getRegisterSubscriberMethod;
+    if ((getRegisterSubscriberMethod = CloudChannelServiceGrpc.getRegisterSubscriberMethod)
+        == null) {
       synchronized (CloudChannelServiceGrpc.class) {
-        if ((getRegisterSubscriberMethod = CloudChannelServiceGrpc.getRegisterSubscriberMethod) == null) {
-          CloudChannelServiceGrpc.getRegisterSubscriberMethod = getRegisterSubscriberMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RegisterSubscriber"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.RegisterSubscriberRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.RegisterSubscriberResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("RegisterSubscriber"))
-              .build();
+        if ((getRegisterSubscriberMethod = CloudChannelServiceGrpc.getRegisterSubscriberMethod)
+            == null) {
+          CloudChannelServiceGrpc.getRegisterSubscriberMethod =
+              getRegisterSubscriberMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RegisterSubscriber"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.RegisterSubscriberRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.RegisterSubscriberResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier("RegisterSubscriber"))
+                      .build();
         }
       }
     }
     return getRegisterSubscriberMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUnregisterSubscriberMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.UnregisterSubscriberRequest,
+          com.google.cloud.channel.v1.UnregisterSubscriberResponse>
+      getUnregisterSubscriberMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UnregisterSubscriber",
       requestType = com.google.cloud.channel.v1.UnregisterSubscriberRequest.class,
       responseType = com.google.cloud.channel.v1.UnregisterSubscriberResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUnregisterSubscriberMethod() {
-    io.grpc.MethodDescriptor getUnregisterSubscriberMethod;
-    if ((getUnregisterSubscriberMethod = CloudChannelServiceGrpc.getUnregisterSubscriberMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.UnregisterSubscriberRequest,
+          com.google.cloud.channel.v1.UnregisterSubscriberResponse>
+      getUnregisterSubscriberMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.UnregisterSubscriberRequest,
+            com.google.cloud.channel.v1.UnregisterSubscriberResponse>
+        getUnregisterSubscriberMethod;
+    if ((getUnregisterSubscriberMethod = CloudChannelServiceGrpc.getUnregisterSubscriberMethod)
+        == null) {
       synchronized (CloudChannelServiceGrpc.class) {
-        if ((getUnregisterSubscriberMethod = CloudChannelServiceGrpc.getUnregisterSubscriberMethod) == null) {
-          CloudChannelServiceGrpc.getUnregisterSubscriberMethod = getUnregisterSubscriberMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UnregisterSubscriber"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.UnregisterSubscriberRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.UnregisterSubscriberResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("UnregisterSubscriber"))
-              .build();
+        if ((getUnregisterSubscriberMethod = CloudChannelServiceGrpc.getUnregisterSubscriberMethod)
+            == null) {
+          CloudChannelServiceGrpc.getUnregisterSubscriberMethod =
+              getUnregisterSubscriberMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "UnregisterSubscriber"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.UnregisterSubscriberRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.UnregisterSubscriberResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier("UnregisterSubscriber"))
+                      .build();
         }
       }
     }
     return getUnregisterSubscriberMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListSubscribersMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ListSubscribersRequest,
+          com.google.cloud.channel.v1.ListSubscribersResponse>
+      getListSubscribersMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListSubscribers",
       requestType = com.google.cloud.channel.v1.ListSubscribersRequest.class,
       responseType = com.google.cloud.channel.v1.ListSubscribersResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListSubscribersMethod() {
-    io.grpc.MethodDescriptor getListSubscribersMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.channel.v1.ListSubscribersRequest,
+          com.google.cloud.channel.v1.ListSubscribersResponse>
+      getListSubscribersMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.channel.v1.ListSubscribersRequest,
+            com.google.cloud.channel.v1.ListSubscribersResponse>
+        getListSubscribersMethod;
     if ((getListSubscribersMethod = CloudChannelServiceGrpc.getListSubscribersMethod) == null) {
       synchronized (CloudChannelServiceGrpc.class) {
         if ((getListSubscribersMethod = CloudChannelServiceGrpc.getListSubscribersMethod) == null) {
-          CloudChannelServiceGrpc.getListSubscribersMethod = getListSubscribersMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSubscribers"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ListSubscribersRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.channel.v1.ListSubscribersResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudChannelServiceMethodDescriptorSupplier("ListSubscribers"))
-              .build();
+          CloudChannelServiceGrpc.getListSubscribersMethod =
+              getListSubscribersMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSubscribers"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ListSubscribersRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.channel.v1.ListSubscribersResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudChannelServiceMethodDescriptorSupplier("ListSubscribers"))
+                      .build();
         }
       }
     }
     return getListSubscribersMethod;
   }
 
-  /**
-   * Creates a new async stub that supports all call types for the service
-   */
+  /** Creates a new async stub that supports all call types for the service */
   public static CloudChannelServiceStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudChannelServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudChannelServiceStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudChannelServiceStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudChannelServiceStub(channel, callOptions);
+          }
+        };
     return CloudChannelServiceStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static CloudChannelServiceBlockingStub newBlockingStub(
-      io.grpc.Channel channel) {
+  public static CloudChannelServiceBlockingStub newBlockingStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudChannelServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudChannelServiceBlockingStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudChannelServiceBlockingStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudChannelServiceBlockingStub(channel, callOptions);
+          }
+        };
     return CloudChannelServiceBlockingStub.newStub(factory, channel);
   }
 
-  /**
-   * Creates a new ListenableFuture-style stub that supports unary calls on the service
-   */
-  public static CloudChannelServiceFutureStub newFutureStub(
-      io.grpc.Channel channel) {
+  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+  public static CloudChannelServiceFutureStub newFutureStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudChannelServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudChannelServiceFutureStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudChannelServiceFutureStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudChannelServiceFutureStub(channel, callOptions);
+          }
+        };
     return CloudChannelServiceFutureStub.newStub(factory, channel);
   }
 
   /**
+   *
+   *
    * 
    * CloudChannelService lets Google cloud resellers and distributors manage
    * their customers, channel partners, entitlements, and reports.
@@ -1492,9 +2293,11 @@ public CloudChannelServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.Ca
    * resellers in a channel.
    * 
*/ - public static abstract class CloudChannelServiceImplBase implements io.grpc.BindableService { + public abstract static class CloudChannelServiceImplBase implements io.grpc.BindableService { /** + * + * *
      * List [Customer][google.cloud.channel.v1.Customer]s.
      * Possible error codes:
@@ -1506,12 +2309,17 @@ public static abstract class CloudChannelServiceImplBase implements io.grpc.Bind
      * there are no customers.
      * 
*/ - public void listCustomers(com.google.cloud.channel.v1.ListCustomersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCustomersMethod(), responseObserver); + public void listCustomers( + com.google.cloud.channel.v1.ListCustomersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListCustomersMethod(), responseObserver); } /** + * + * *
      * Returns the requested [Customer][google.cloud.channel.v1.Customer]
      * resource.
@@ -1525,12 +2333,16 @@ public void listCustomers(com.google.cloud.channel.v1.ListCustomersRequest reque
      * The [Customer][google.cloud.channel.v1.Customer] resource.
      * 
*/ - public void getCustomer(com.google.cloud.channel.v1.GetCustomerRequest request, + public void getCustomer( + com.google.cloud.channel.v1.GetCustomerRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCustomerMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetCustomerMethod(), responseObserver); } /** + * + * *
      * Confirms the existence of Cloud Identity accounts based on the domain and
      * if the Cloud Identity accounts are owned by the reseller.
@@ -1549,12 +2361,18 @@ public void getCustomer(com.google.cloud.channel.v1.GetCustomerRequest request,
      * resources match the domain.
      * 
*/ - public void checkCloudIdentityAccountsExist(com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCheckCloudIdentityAccountsExistMethod(), responseObserver); + public void checkCloudIdentityAccountsExist( + com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCheckCloudIdentityAccountsExistMethod(), responseObserver); } /** + * + * *
      * Creates a new [Customer][google.cloud.channel.v1.Customer] resource under
      * the reseller or distributor account.
@@ -1568,12 +2386,16 @@ public void checkCloudIdentityAccountsExist(com.google.cloud.channel.v1.CheckClo
      * The newly created [Customer][google.cloud.channel.v1.Customer] resource.
      * 
*/ - public void createCustomer(com.google.cloud.channel.v1.CreateCustomerRequest request, + public void createCustomer( + com.google.cloud.channel.v1.CreateCustomerRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCustomerMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateCustomerMethod(), responseObserver); } /** + * + * *
      * Updates an existing [Customer][google.cloud.channel.v1.Customer] resource
      * for the reseller or distributor.
@@ -1587,12 +2409,16 @@ public void createCustomer(com.google.cloud.channel.v1.CreateCustomerRequest req
      * The updated [Customer][google.cloud.channel.v1.Customer] resource.
      * 
*/ - public void updateCustomer(com.google.cloud.channel.v1.UpdateCustomerRequest request, + public void updateCustomer( + com.google.cloud.channel.v1.UpdateCustomerRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateCustomerMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateCustomerMethod(), responseObserver); } /** + * + * *
      * Deletes the given [Customer][google.cloud.channel.v1.Customer] permanently.
      * Possible error codes:
@@ -1604,12 +2430,16 @@ public void updateCustomer(com.google.cloud.channel.v1.UpdateCustomerRequest req
      * for the name in the request.
      * 
*/ - public void deleteCustomer(com.google.cloud.channel.v1.DeleteCustomerRequest request, + public void deleteCustomer( + com.google.cloud.channel.v1.DeleteCustomerRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteCustomerMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteCustomerMethod(), responseObserver); } /** + * + * *
      * Imports a [Customer][google.cloud.channel.v1.Customer] from the Cloud
      * Identity associated with the provided Cloud Identity ID or domain before a
@@ -1627,12 +2457,16 @@ public void deleteCustomer(com.google.cloud.channel.v1.DeleteCustomerRequest req
      * The [Customer][google.cloud.channel.v1.Customer].
      * 
*/ - public void importCustomer(com.google.cloud.channel.v1.ImportCustomerRequest request, + public void importCustomer( + com.google.cloud.channel.v1.ImportCustomerRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportCustomerMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getImportCustomerMethod(), responseObserver); } /** + * + * *
      * Creates a Cloud Identity for the given customer using the customer's
      * information, or the information provided here.
@@ -1653,12 +2487,16 @@ public void importCustomer(com.google.cloud.channel.v1.ImportCustomerRequest req
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void provisionCloudIdentity(com.google.cloud.channel.v1.ProvisionCloudIdentityRequest request, + public void provisionCloudIdentity( + com.google.cloud.channel.v1.ProvisionCloudIdentityRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getProvisionCloudIdentityMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getProvisionCloudIdentityMethod(), responseObserver); } /** + * + * *
      * Lists [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to a
      * customer.
@@ -1670,12 +2508,17 @@ public void provisionCloudIdentity(com.google.cloud.channel.v1.ProvisionCloudIde
      * [Entitlement][google.cloud.channel.v1.Entitlement]s.
      * 
*/ - public void listEntitlements(com.google.cloud.channel.v1.ListEntitlementsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListEntitlementsMethod(), responseObserver); + public void listEntitlements( + com.google.cloud.channel.v1.ListEntitlementsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListEntitlementsMethod(), responseObserver); } /** + * + * *
      * List [TransferableSku][google.cloud.channel.v1.TransferableSku]s of a
      * customer based on the Cloud Identity ID or Customer Name in the request.
@@ -1694,12 +2537,17 @@ public void listEntitlements(com.google.cloud.channel.v1.ListEntitlementsRequest
      * [TransferableSku][google.cloud.channel.v1.TransferableSku].
      * 
*/ - public void listTransferableSkus(com.google.cloud.channel.v1.ListTransferableSkusRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTransferableSkusMethod(), responseObserver); + public void listTransferableSkus( + com.google.cloud.channel.v1.ListTransferableSkusRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListTransferableSkusMethod(), responseObserver); } /** + * + * *
      * List [TransferableOffer][google.cloud.channel.v1.TransferableOffer]s of a
      * customer based on Cloud Identity ID or Customer Name in the request.
@@ -1719,12 +2567,17 @@ public void listTransferableSkus(com.google.cloud.channel.v1.ListTransferableSku
      * the given customer and SKU.
      * 
*/ - public void listTransferableOffers(com.google.cloud.channel.v1.ListTransferableOffersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTransferableOffersMethod(), responseObserver); + public void listTransferableOffers( + com.google.cloud.channel.v1.ListTransferableOffersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListTransferableOffersMethod(), responseObserver); } /** + * + * *
      * Returns the requested [Entitlement][google.cloud.channel.v1.Entitlement]
      * resource.
@@ -1736,12 +2589,16 @@ public void listTransferableOffers(com.google.cloud.channel.v1.ListTransferableO
      * The requested [Entitlement][google.cloud.channel.v1.Entitlement] resource.
      * 
*/ - public void getEntitlement(com.google.cloud.channel.v1.GetEntitlementRequest request, + public void getEntitlement( + com.google.cloud.channel.v1.GetEntitlementRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEntitlementMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetEntitlementMethod(), responseObserver); } /** + * + * *
      * Creates an entitlement for a customer.
      * Possible error codes:
@@ -1777,12 +2634,16 @@ public void getEntitlement(com.google.cloud.channel.v1.GetEntitlementRequest req
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void createEntitlement(com.google.cloud.channel.v1.CreateEntitlementRequest request, + public void createEntitlement( + com.google.cloud.channel.v1.CreateEntitlementRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateEntitlementMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateEntitlementMethod(), responseObserver); } /** + * + * *
      * Change parameters of the entitlement.
      * An entitlement update is a long-running operation and it updates the
@@ -1804,12 +2665,16 @@ public void createEntitlement(com.google.cloud.channel.v1.CreateEntitlementReque
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void changeParameters(com.google.cloud.channel.v1.ChangeParametersRequest request, + public void changeParameters( + com.google.cloud.channel.v1.ChangeParametersRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getChangeParametersMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getChangeParametersMethod(), responseObserver); } /** + * + * *
      * Updates the renewal settings for an existing customer entitlement.
      * An entitlement update is a long-running operation and it updates the
@@ -1831,12 +2696,16 @@ public void changeParameters(com.google.cloud.channel.v1.ChangeParametersRequest
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void changeRenewalSettings(com.google.cloud.channel.v1.ChangeRenewalSettingsRequest request, + public void changeRenewalSettings( + com.google.cloud.channel.v1.ChangeRenewalSettingsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getChangeRenewalSettingsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getChangeRenewalSettingsMethod(), responseObserver); } /** + * + * *
      * Updates the Offer for an existing customer entitlement.
      * An entitlement update is a long-running operation and it updates the
@@ -1856,12 +2725,16 @@ public void changeRenewalSettings(com.google.cloud.channel.v1.ChangeRenewalSetti
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void changeOffer(com.google.cloud.channel.v1.ChangeOfferRequest request, + public void changeOffer( + com.google.cloud.channel.v1.ChangeOfferRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getChangeOfferMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getChangeOfferMethod(), responseObserver); } /** + * + * *
      * Starts paid service for a trial entitlement.
      * Starts paid service for a trial entitlement immediately. This method is
@@ -1884,12 +2757,16 @@ public void changeOffer(com.google.cloud.channel.v1.ChangeOfferRequest request,
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void startPaidService(com.google.cloud.channel.v1.StartPaidServiceRequest request, + public void startPaidService( + com.google.cloud.channel.v1.StartPaidServiceRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStartPaidServiceMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getStartPaidServiceMethod(), responseObserver); } /** + * + * *
      * Suspends a previously fulfilled entitlement.
      * An entitlement suspension is a long-running operation.
@@ -1909,12 +2786,16 @@ public void startPaidService(com.google.cloud.channel.v1.StartPaidServiceRequest
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void suspendEntitlement(com.google.cloud.channel.v1.SuspendEntitlementRequest request, + public void suspendEntitlement( + com.google.cloud.channel.v1.SuspendEntitlementRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSuspendEntitlementMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSuspendEntitlementMethod(), responseObserver); } /** + * + * *
      * Cancels a previously fulfilled entitlement.
      * An entitlement cancellation is a long-running operation.
@@ -1939,12 +2820,16 @@ public void suspendEntitlement(com.google.cloud.channel.v1.SuspendEntitlementReq
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void cancelEntitlement(com.google.cloud.channel.v1.CancelEntitlementRequest request, + public void cancelEntitlement( + com.google.cloud.channel.v1.CancelEntitlementRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelEntitlementMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCancelEntitlementMethod(), responseObserver); } /** + * + * *
      * Activates a previously suspended entitlement. Entitlements suspended for
      * pending ToS acceptance can't be activated using this method.
@@ -1970,12 +2855,16 @@ public void cancelEntitlement(com.google.cloud.channel.v1.CancelEntitlementReque
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void activateEntitlement(com.google.cloud.channel.v1.ActivateEntitlementRequest request, + public void activateEntitlement( + com.google.cloud.channel.v1.ActivateEntitlementRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getActivateEntitlementMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getActivateEntitlementMethod(), responseObserver); } /** + * + * *
      * Transfers customer entitlements to new reseller.
      * Possible error codes:
@@ -2004,12 +2893,16 @@ public void activateEntitlement(com.google.cloud.channel.v1.ActivateEntitlementR
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void transferEntitlements(com.google.cloud.channel.v1.TransferEntitlementsRequest request, + public void transferEntitlements( + com.google.cloud.channel.v1.TransferEntitlementsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTransferEntitlementsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTransferEntitlementsMethod(), responseObserver); } /** + * + * *
      * Transfers customer entitlements from their current reseller to Google.
      * Possible error codes:
@@ -2038,12 +2931,16 @@ public void transferEntitlements(com.google.cloud.channel.v1.TransferEntitlement
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void transferEntitlementsToGoogle(com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest request, + public void transferEntitlementsToGoogle( + com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTransferEntitlementsToGoogleMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTransferEntitlementsToGoogleMethod(), responseObserver); } /** + * + * *
      * List [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s
      * belonging to a distributor. You must be a distributor to call this method.
@@ -2056,12 +2953,17 @@ public void transferEntitlementsToGoogle(com.google.cloud.channel.v1.TransferEnt
      * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources.
      * 
*/ - public void listChannelPartnerLinks(com.google.cloud.channel.v1.ListChannelPartnerLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListChannelPartnerLinksMethod(), responseObserver); + public void listChannelPartnerLinks( + com.google.cloud.channel.v1.ListChannelPartnerLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListChannelPartnerLinksMethod(), responseObserver); } /** + * + * *
      * Returns the requested
      * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
@@ -2077,12 +2979,17 @@ public void listChannelPartnerLinks(com.google.cloud.channel.v1.ListChannelPartn
      * resource.
      * 
*/ - public void getChannelPartnerLink(com.google.cloud.channel.v1.GetChannelPartnerLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetChannelPartnerLinkMethod(), responseObserver); + public void getChannelPartnerLink( + com.google.cloud.channel.v1.GetChannelPartnerLinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetChannelPartnerLinkMethod(), responseObserver); } /** + * + * *
      * Initiates a channel partner link between a distributor and a reseller, or
      * between resellers in an n-tier reseller channel.
@@ -2106,12 +3013,17 @@ public void getChannelPartnerLink(com.google.cloud.channel.v1.GetChannelPartnerL
      * resource.
      * 
*/ - public void createChannelPartnerLink(com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateChannelPartnerLinkMethod(), responseObserver); + public void createChannelPartnerLink( + com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateChannelPartnerLinkMethod(), responseObserver); } /** + * + * *
      * Updates a channel partner link. Distributors call this method to change a
      * link's status. For example, to suspend a partner link.
@@ -2134,12 +3046,17 @@ public void createChannelPartnerLink(com.google.cloud.channel.v1.CreateChannelPa
      * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
      * 
*/ - public void updateChannelPartnerLink(com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateChannelPartnerLinkMethod(), responseObserver); + public void updateChannelPartnerLink( + com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateChannelPartnerLinkMethod(), responseObserver); } /** + * + * *
      * Gets information about how a Reseller modifies their bill before sending
      * it to a Customer.
@@ -2157,12 +3074,17 @@ public void updateChannelPartnerLink(com.google.cloud.channel.v1.UpdateChannelPa
      * resource, otherwise returns an error.
      * 
*/ - public void getCustomerRepricingConfig(com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCustomerRepricingConfigMethod(), responseObserver); + public void getCustomerRepricingConfig( + com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetCustomerRepricingConfigMethod(), responseObserver); } /** + * + * *
      * Lists information about how a Reseller modifies their bill before sending
      * it to a Customer.
@@ -2186,12 +3108,18 @@ public void getCustomerRepricingConfig(com.google.cloud.channel.v1.GetCustomerRe
      * If unsuccessful, returns an error.
      * 
*/ - public void listCustomerRepricingConfigs(com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCustomerRepricingConfigsMethod(), responseObserver); + public void listCustomerRepricingConfigs( + com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListCustomerRepricingConfigsMethod(), responseObserver); } /** + * + * *
      * Creates a CustomerRepricingConfig. Call this method to set modifications
      * for a specific customer's bill. You can only create configs if the
@@ -2231,12 +3159,17 @@ public void listCustomerRepricingConfigs(com.google.cloud.channel.v1.ListCustome
      * resource, otherwise returns an error.
      * 
*/ - public void createCustomerRepricingConfig(com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCustomerRepricingConfigMethod(), responseObserver); + public void createCustomerRepricingConfig( + com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateCustomerRepricingConfigMethod(), responseObserver); } /** + * + * *
      * Updates a CustomerRepricingConfig. Call this method to set modifications
      * for a specific customer's bill. This method overwrites the existing
@@ -2266,12 +3199,17 @@ public void createCustomerRepricingConfig(com.google.cloud.channel.v1.CreateCust
      * resource, otherwise returns an error.
      * 
*/ - public void updateCustomerRepricingConfig(com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateCustomerRepricingConfigMethod(), responseObserver); + public void updateCustomerRepricingConfig( + com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateCustomerRepricingConfigMethod(), responseObserver); } /** + * + * *
      * Deletes the given
      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
@@ -2290,12 +3228,16 @@ public void updateCustomerRepricingConfig(com.google.cloud.channel.v1.UpdateCust
      * found for the name in the request.
      * 
*/ - public void deleteCustomerRepricingConfig(com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest request, + public void deleteCustomerRepricingConfig( + com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteCustomerRepricingConfigMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteCustomerRepricingConfigMethod(), responseObserver); } /** + * + * *
      * Gets information about how a Distributor modifies their bill before sending
      * it to a ChannelPartner.
@@ -2313,12 +3255,17 @@ public void deleteCustomerRepricingConfig(com.google.cloud.channel.v1.DeleteCust
      * resource, otherwise returns an error.
      * 
*/ - public void getChannelPartnerRepricingConfig(com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetChannelPartnerRepricingConfigMethod(), responseObserver); + public void getChannelPartnerRepricingConfig( + com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetChannelPartnerRepricingConfigMethod(), responseObserver); } /** + * + * *
      * Lists information about how a Reseller modifies their bill before sending
      * it to a ChannelPartner.
@@ -2341,12 +3288,18 @@ public void getChannelPartnerRepricingConfig(com.google.cloud.channel.v1.GetChan
      * If unsuccessful, returns an error.
      * 
*/ - public void listChannelPartnerRepricingConfigs(com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListChannelPartnerRepricingConfigsMethod(), responseObserver); + public void listChannelPartnerRepricingConfigs( + com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListChannelPartnerRepricingConfigsMethod(), responseObserver); } /** + * + * *
      * Creates a ChannelPartnerRepricingConfig. Call this method to set
      * modifications for a specific ChannelPartner's bill. You can only create
@@ -2385,12 +3338,17 @@ public void listChannelPartnerRepricingConfigs(com.google.cloud.channel.v1.ListC
      * resource, otherwise returns an error.
      * 
*/ - public void createChannelPartnerRepricingConfig(com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateChannelPartnerRepricingConfigMethod(), responseObserver); + public void createChannelPartnerRepricingConfig( + com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateChannelPartnerRepricingConfigMethod(), responseObserver); } /** + * + * *
      * Updates a ChannelPartnerRepricingConfig. Call this method to set
      * modifications for a specific ChannelPartner's bill. This method overwrites
@@ -2420,12 +3378,17 @@ public void createChannelPartnerRepricingConfig(com.google.cloud.channel.v1.Crea
      * resource, otherwise returns an error.
      * 
*/ - public void updateChannelPartnerRepricingConfig(com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateChannelPartnerRepricingConfigMethod(), responseObserver); + public void updateChannelPartnerRepricingConfig( + com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateChannelPartnerRepricingConfigMethod(), responseObserver); } /** + * + * *
      * Deletes the given
      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
@@ -2444,12 +3407,16 @@ public void updateChannelPartnerRepricingConfig(com.google.cloud.channel.v1.Upda
      * found for the name in the request.
      * 
*/ - public void deleteChannelPartnerRepricingConfig(com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest request, + public void deleteChannelPartnerRepricingConfig( + com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteChannelPartnerRepricingConfigMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteChannelPartnerRepricingConfigMethod(), responseObserver); } /** + * + * *
      * Returns the requested [Offer][google.cloud.channel.v1.Offer] resource.
      * Possible error codes:
@@ -2460,48 +3427,65 @@ public void deleteChannelPartnerRepricingConfig(com.google.cloud.channel.v1.Dele
      * The [Offer][google.cloud.channel.v1.Offer] resource.
      * 
*/ - public void lookupOffer(com.google.cloud.channel.v1.LookupOfferRequest request, + public void lookupOffer( + com.google.cloud.channel.v1.LookupOfferRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getLookupOfferMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getLookupOfferMethod(), responseObserver); } /** + * + * *
      * Lists the Products the reseller is authorized to sell.
      * Possible error codes:
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public void listProducts(com.google.cloud.channel.v1.ListProductsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListProductsMethod(), responseObserver); + public void listProducts( + com.google.cloud.channel.v1.ListProductsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListProductsMethod(), responseObserver); } /** + * + * *
      * Lists the SKUs for a product the reseller is authorized to sell.
      * Possible error codes:
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public void listSkus(com.google.cloud.channel.v1.ListSkusRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listSkus( + com.google.cloud.channel.v1.ListSkusRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListSkusMethod(), responseObserver); } /** + * + * *
      * Lists the Offers the reseller can sell.
      * Possible error codes:
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public void listOffers(com.google.cloud.channel.v1.ListOffersRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listOffers( + com.google.cloud.channel.v1.ListOffersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListOffersMethod(), responseObserver); } /** + * + * *
      * Lists the following:
      * * SKUs that you can purchase for a customer
@@ -2511,12 +3495,17 @@ public void listOffers(com.google.cloud.channel.v1.ListOffersRequest request,
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public void listPurchasableSkus(com.google.cloud.channel.v1.ListPurchasableSkusRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPurchasableSkusMethod(), responseObserver); + public void listPurchasableSkus( + com.google.cloud.channel.v1.ListPurchasableSkusRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListPurchasableSkusMethod(), responseObserver); } /** + * + * *
      * Lists the following:
      * * Offers that you can purchase for a customer.
@@ -2526,12 +3515,17 @@ public void listPurchasableSkus(com.google.cloud.channel.v1.ListPurchasableSkusR
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public void listPurchasableOffers(com.google.cloud.channel.v1.ListPurchasableOffersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPurchasableOffersMethod(), responseObserver); + public void listPurchasableOffers( + com.google.cloud.channel.v1.ListPurchasableOffersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListPurchasableOffersMethod(), responseObserver); } /** + * + * *
      * Registers a service account with subscriber privileges on the Cloud Pub/Sub
      * topic for this Channel Services account. After you create a
@@ -2550,12 +3544,17 @@ public void listPurchasableOffers(com.google.cloud.channel.v1.ListPurchasableOff
      * The topic name with the registered service email address.
      * 
*/ - public void registerSubscriber(com.google.cloud.channel.v1.RegisterSubscriberRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRegisterSubscriberMethod(), responseObserver); + public void registerSubscriber( + com.google.cloud.channel.v1.RegisterSubscriberRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRegisterSubscriberMethod(), responseObserver); } /** + * + * *
      * Unregisters a service account with subscriber privileges on the Cloud
      * Pub/Sub topic created for this Channel Services account. If there are no
@@ -2577,12 +3576,17 @@ public void registerSubscriber(com.google.cloud.channel.v1.RegisterSubscriberReq
      * with the topic.
      * 
*/ - public void unregisterSubscriber(com.google.cloud.channel.v1.UnregisterSubscriberRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUnregisterSubscriberMethod(), responseObserver); + public void unregisterSubscriber( + com.google.cloud.channel.v1.UnregisterSubscriberRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUnregisterSubscriberMethod(), responseObserver); } /** + * + * *
      * Lists service accounts with subscriber privileges on the Cloud Pub/Sub
      * topic created for this Channel Services account.
@@ -2600,333 +3604,319 @@ public void unregisterSubscriber(com.google.cloud.channel.v1.UnregisterSubscribe
      * A list of service email addresses.
      * 
*/ - public void listSubscribers(com.google.cloud.channel.v1.ListSubscribersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListSubscribersMethod(), responseObserver); + public void listSubscribers( + com.google.cloud.channel.v1.ListSubscribersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListSubscribersMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListCustomersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ListCustomersRequest, - com.google.cloud.channel.v1.ListCustomersResponse>( - this, METHODID_LIST_CUSTOMERS))) + getListCustomersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ListCustomersRequest, + com.google.cloud.channel.v1.ListCustomersResponse>( + this, METHODID_LIST_CUSTOMERS))) .addMethod( - getGetCustomerMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.GetCustomerRequest, - com.google.cloud.channel.v1.Customer>( - this, METHODID_GET_CUSTOMER))) + getGetCustomerMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.GetCustomerRequest, + com.google.cloud.channel.v1.Customer>(this, METHODID_GET_CUSTOMER))) .addMethod( - getCheckCloudIdentityAccountsExistMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest, - com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse>( - this, METHODID_CHECK_CLOUD_IDENTITY_ACCOUNTS_EXIST))) + getCheckCloudIdentityAccountsExistMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest, + com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse>( + this, METHODID_CHECK_CLOUD_IDENTITY_ACCOUNTS_EXIST))) .addMethod( - getCreateCustomerMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.CreateCustomerRequest, - com.google.cloud.channel.v1.Customer>( - this, METHODID_CREATE_CUSTOMER))) + getCreateCustomerMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.CreateCustomerRequest, + com.google.cloud.channel.v1.Customer>(this, METHODID_CREATE_CUSTOMER))) .addMethod( - getUpdateCustomerMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.UpdateCustomerRequest, - com.google.cloud.channel.v1.Customer>( - this, METHODID_UPDATE_CUSTOMER))) + getUpdateCustomerMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.UpdateCustomerRequest, + com.google.cloud.channel.v1.Customer>(this, METHODID_UPDATE_CUSTOMER))) .addMethod( - getDeleteCustomerMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.DeleteCustomerRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_CUSTOMER))) + getDeleteCustomerMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.DeleteCustomerRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_CUSTOMER))) .addMethod( - getImportCustomerMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ImportCustomerRequest, - com.google.cloud.channel.v1.Customer>( - this, METHODID_IMPORT_CUSTOMER))) + getImportCustomerMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ImportCustomerRequest, + com.google.cloud.channel.v1.Customer>(this, METHODID_IMPORT_CUSTOMER))) .addMethod( - getProvisionCloudIdentityMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ProvisionCloudIdentityRequest, - com.google.longrunning.Operation>( - this, METHODID_PROVISION_CLOUD_IDENTITY))) + getProvisionCloudIdentityMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ProvisionCloudIdentityRequest, + com.google.longrunning.Operation>(this, METHODID_PROVISION_CLOUD_IDENTITY))) .addMethod( - getListEntitlementsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ListEntitlementsRequest, - com.google.cloud.channel.v1.ListEntitlementsResponse>( - this, METHODID_LIST_ENTITLEMENTS))) + getListEntitlementsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ListEntitlementsRequest, + com.google.cloud.channel.v1.ListEntitlementsResponse>( + this, METHODID_LIST_ENTITLEMENTS))) .addMethod( - getListTransferableSkusMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ListTransferableSkusRequest, - com.google.cloud.channel.v1.ListTransferableSkusResponse>( - this, METHODID_LIST_TRANSFERABLE_SKUS))) + getListTransferableSkusMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ListTransferableSkusRequest, + com.google.cloud.channel.v1.ListTransferableSkusResponse>( + this, METHODID_LIST_TRANSFERABLE_SKUS))) .addMethod( - getListTransferableOffersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ListTransferableOffersRequest, - com.google.cloud.channel.v1.ListTransferableOffersResponse>( - this, METHODID_LIST_TRANSFERABLE_OFFERS))) + getListTransferableOffersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ListTransferableOffersRequest, + com.google.cloud.channel.v1.ListTransferableOffersResponse>( + this, METHODID_LIST_TRANSFERABLE_OFFERS))) .addMethod( - getGetEntitlementMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.GetEntitlementRequest, - com.google.cloud.channel.v1.Entitlement>( - this, METHODID_GET_ENTITLEMENT))) + getGetEntitlementMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.GetEntitlementRequest, + com.google.cloud.channel.v1.Entitlement>(this, METHODID_GET_ENTITLEMENT))) .addMethod( - getCreateEntitlementMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.CreateEntitlementRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_ENTITLEMENT))) + getCreateEntitlementMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.CreateEntitlementRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_ENTITLEMENT))) .addMethod( - getChangeParametersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ChangeParametersRequest, - com.google.longrunning.Operation>( - this, METHODID_CHANGE_PARAMETERS))) + getChangeParametersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ChangeParametersRequest, + com.google.longrunning.Operation>(this, METHODID_CHANGE_PARAMETERS))) .addMethod( - getChangeRenewalSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ChangeRenewalSettingsRequest, - com.google.longrunning.Operation>( - this, METHODID_CHANGE_RENEWAL_SETTINGS))) + getChangeRenewalSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ChangeRenewalSettingsRequest, + com.google.longrunning.Operation>(this, METHODID_CHANGE_RENEWAL_SETTINGS))) .addMethod( - getChangeOfferMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ChangeOfferRequest, - com.google.longrunning.Operation>( - this, METHODID_CHANGE_OFFER))) + getChangeOfferMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ChangeOfferRequest, + com.google.longrunning.Operation>(this, METHODID_CHANGE_OFFER))) .addMethod( - getStartPaidServiceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.StartPaidServiceRequest, - com.google.longrunning.Operation>( - this, METHODID_START_PAID_SERVICE))) + getStartPaidServiceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.StartPaidServiceRequest, + com.google.longrunning.Operation>(this, METHODID_START_PAID_SERVICE))) .addMethod( - getSuspendEntitlementMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.SuspendEntitlementRequest, - com.google.longrunning.Operation>( - this, METHODID_SUSPEND_ENTITLEMENT))) + getSuspendEntitlementMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.SuspendEntitlementRequest, + com.google.longrunning.Operation>(this, METHODID_SUSPEND_ENTITLEMENT))) .addMethod( - getCancelEntitlementMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.CancelEntitlementRequest, - com.google.longrunning.Operation>( - this, METHODID_CANCEL_ENTITLEMENT))) + getCancelEntitlementMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.CancelEntitlementRequest, + com.google.longrunning.Operation>(this, METHODID_CANCEL_ENTITLEMENT))) .addMethod( - getActivateEntitlementMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ActivateEntitlementRequest, - com.google.longrunning.Operation>( - this, METHODID_ACTIVATE_ENTITLEMENT))) + getActivateEntitlementMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ActivateEntitlementRequest, + com.google.longrunning.Operation>(this, METHODID_ACTIVATE_ENTITLEMENT))) .addMethod( - getTransferEntitlementsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.TransferEntitlementsRequest, - com.google.longrunning.Operation>( - this, METHODID_TRANSFER_ENTITLEMENTS))) + getTransferEntitlementsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.TransferEntitlementsRequest, + com.google.longrunning.Operation>(this, METHODID_TRANSFER_ENTITLEMENTS))) .addMethod( - getTransferEntitlementsToGoogleMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest, - com.google.longrunning.Operation>( - this, METHODID_TRANSFER_ENTITLEMENTS_TO_GOOGLE))) + getTransferEntitlementsToGoogleMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest, + com.google.longrunning.Operation>( + this, METHODID_TRANSFER_ENTITLEMENTS_TO_GOOGLE))) .addMethod( - getListChannelPartnerLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ListChannelPartnerLinksRequest, - com.google.cloud.channel.v1.ListChannelPartnerLinksResponse>( - this, METHODID_LIST_CHANNEL_PARTNER_LINKS))) + getListChannelPartnerLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ListChannelPartnerLinksRequest, + com.google.cloud.channel.v1.ListChannelPartnerLinksResponse>( + this, METHODID_LIST_CHANNEL_PARTNER_LINKS))) .addMethod( - getGetChannelPartnerLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.GetChannelPartnerLinkRequest, - com.google.cloud.channel.v1.ChannelPartnerLink>( - this, METHODID_GET_CHANNEL_PARTNER_LINK))) + getGetChannelPartnerLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.GetChannelPartnerLinkRequest, + com.google.cloud.channel.v1.ChannelPartnerLink>( + this, METHODID_GET_CHANNEL_PARTNER_LINK))) .addMethod( - getCreateChannelPartnerLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest, - com.google.cloud.channel.v1.ChannelPartnerLink>( - this, METHODID_CREATE_CHANNEL_PARTNER_LINK))) + getCreateChannelPartnerLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest, + com.google.cloud.channel.v1.ChannelPartnerLink>( + this, METHODID_CREATE_CHANNEL_PARTNER_LINK))) .addMethod( - getUpdateChannelPartnerLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest, - com.google.cloud.channel.v1.ChannelPartnerLink>( - this, METHODID_UPDATE_CHANNEL_PARTNER_LINK))) + getUpdateChannelPartnerLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest, + com.google.cloud.channel.v1.ChannelPartnerLink>( + this, METHODID_UPDATE_CHANNEL_PARTNER_LINK))) .addMethod( - getGetCustomerRepricingConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest, - com.google.cloud.channel.v1.CustomerRepricingConfig>( - this, METHODID_GET_CUSTOMER_REPRICING_CONFIG))) + getGetCustomerRepricingConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest, + com.google.cloud.channel.v1.CustomerRepricingConfig>( + this, METHODID_GET_CUSTOMER_REPRICING_CONFIG))) .addMethod( - getListCustomerRepricingConfigsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest, - com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse>( - this, METHODID_LIST_CUSTOMER_REPRICING_CONFIGS))) + getListCustomerRepricingConfigsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest, + com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse>( + this, METHODID_LIST_CUSTOMER_REPRICING_CONFIGS))) .addMethod( - getCreateCustomerRepricingConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest, - com.google.cloud.channel.v1.CustomerRepricingConfig>( - this, METHODID_CREATE_CUSTOMER_REPRICING_CONFIG))) + getCreateCustomerRepricingConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest, + com.google.cloud.channel.v1.CustomerRepricingConfig>( + this, METHODID_CREATE_CUSTOMER_REPRICING_CONFIG))) .addMethod( - getUpdateCustomerRepricingConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest, - com.google.cloud.channel.v1.CustomerRepricingConfig>( - this, METHODID_UPDATE_CUSTOMER_REPRICING_CONFIG))) + getUpdateCustomerRepricingConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest, + com.google.cloud.channel.v1.CustomerRepricingConfig>( + this, METHODID_UPDATE_CUSTOMER_REPRICING_CONFIG))) .addMethod( - getDeleteCustomerRepricingConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_CUSTOMER_REPRICING_CONFIG))) + getDeleteCustomerRepricingConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_CUSTOMER_REPRICING_CONFIG))) .addMethod( - getGetChannelPartnerRepricingConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest, - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>( - this, METHODID_GET_CHANNEL_PARTNER_REPRICING_CONFIG))) + getGetChannelPartnerRepricingConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest, + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>( + this, METHODID_GET_CHANNEL_PARTNER_REPRICING_CONFIG))) .addMethod( - getListChannelPartnerRepricingConfigsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest, - com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse>( - this, METHODID_LIST_CHANNEL_PARTNER_REPRICING_CONFIGS))) + getListChannelPartnerRepricingConfigsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest, + com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse>( + this, METHODID_LIST_CHANNEL_PARTNER_REPRICING_CONFIGS))) .addMethod( - getCreateChannelPartnerRepricingConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest, - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>( - this, METHODID_CREATE_CHANNEL_PARTNER_REPRICING_CONFIG))) + getCreateChannelPartnerRepricingConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest, + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>( + this, METHODID_CREATE_CHANNEL_PARTNER_REPRICING_CONFIG))) .addMethod( - getUpdateChannelPartnerRepricingConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest, - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>( - this, METHODID_UPDATE_CHANNEL_PARTNER_REPRICING_CONFIG))) + getUpdateChannelPartnerRepricingConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest, + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>( + this, METHODID_UPDATE_CHANNEL_PARTNER_REPRICING_CONFIG))) .addMethod( - getDeleteChannelPartnerRepricingConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_CHANNEL_PARTNER_REPRICING_CONFIG))) + getDeleteChannelPartnerRepricingConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_CHANNEL_PARTNER_REPRICING_CONFIG))) .addMethod( - getLookupOfferMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.LookupOfferRequest, - com.google.cloud.channel.v1.Offer>( - this, METHODID_LOOKUP_OFFER))) + getLookupOfferMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.LookupOfferRequest, + com.google.cloud.channel.v1.Offer>(this, METHODID_LOOKUP_OFFER))) .addMethod( - getListProductsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ListProductsRequest, - com.google.cloud.channel.v1.ListProductsResponse>( - this, METHODID_LIST_PRODUCTS))) + getListProductsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ListProductsRequest, + com.google.cloud.channel.v1.ListProductsResponse>( + this, METHODID_LIST_PRODUCTS))) .addMethod( - getListSkusMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ListSkusRequest, - com.google.cloud.channel.v1.ListSkusResponse>( - this, METHODID_LIST_SKUS))) + getListSkusMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ListSkusRequest, + com.google.cloud.channel.v1.ListSkusResponse>(this, METHODID_LIST_SKUS))) .addMethod( - getListOffersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ListOffersRequest, - com.google.cloud.channel.v1.ListOffersResponse>( - this, METHODID_LIST_OFFERS))) + getListOffersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ListOffersRequest, + com.google.cloud.channel.v1.ListOffersResponse>(this, METHODID_LIST_OFFERS))) .addMethod( - getListPurchasableSkusMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ListPurchasableSkusRequest, - com.google.cloud.channel.v1.ListPurchasableSkusResponse>( - this, METHODID_LIST_PURCHASABLE_SKUS))) + getListPurchasableSkusMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ListPurchasableSkusRequest, + com.google.cloud.channel.v1.ListPurchasableSkusResponse>( + this, METHODID_LIST_PURCHASABLE_SKUS))) .addMethod( - getListPurchasableOffersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ListPurchasableOffersRequest, - com.google.cloud.channel.v1.ListPurchasableOffersResponse>( - this, METHODID_LIST_PURCHASABLE_OFFERS))) + getListPurchasableOffersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ListPurchasableOffersRequest, + com.google.cloud.channel.v1.ListPurchasableOffersResponse>( + this, METHODID_LIST_PURCHASABLE_OFFERS))) .addMethod( - getRegisterSubscriberMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.RegisterSubscriberRequest, - com.google.cloud.channel.v1.RegisterSubscriberResponse>( - this, METHODID_REGISTER_SUBSCRIBER))) + getRegisterSubscriberMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.RegisterSubscriberRequest, + com.google.cloud.channel.v1.RegisterSubscriberResponse>( + this, METHODID_REGISTER_SUBSCRIBER))) .addMethod( - getUnregisterSubscriberMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.UnregisterSubscriberRequest, - com.google.cloud.channel.v1.UnregisterSubscriberResponse>( - this, METHODID_UNREGISTER_SUBSCRIBER))) + getUnregisterSubscriberMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.UnregisterSubscriberRequest, + com.google.cloud.channel.v1.UnregisterSubscriberResponse>( + this, METHODID_UNREGISTER_SUBSCRIBER))) .addMethod( - getListSubscribersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.channel.v1.ListSubscribersRequest, - com.google.cloud.channel.v1.ListSubscribersResponse>( - this, METHODID_LIST_SUBSCRIBERS))) + getListSubscribersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.channel.v1.ListSubscribersRequest, + com.google.cloud.channel.v1.ListSubscribersResponse>( + this, METHODID_LIST_SUBSCRIBERS))) .build(); } } /** + * + * *
    * CloudChannelService lets Google cloud resellers and distributors manage
    * their customers, channel partners, entitlements, and reports.
@@ -2946,9 +3936,9 @@ public void listSubscribers(com.google.cloud.channel.v1.ListSubscribersRequest r
    * resellers in a channel.
    * 
*/ - public static final class CloudChannelServiceStub extends io.grpc.stub.AbstractAsyncStub { - private CloudChannelServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudChannelServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private CloudChannelServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -2959,6 +3949,8 @@ protected CloudChannelServiceStub build( } /** + * + * *
      * List [Customer][google.cloud.channel.v1.Customer]s.
      * Possible error codes:
@@ -2970,13 +3962,19 @@ protected CloudChannelServiceStub build(
      * there are no customers.
      * 
*/ - public void listCustomers(com.google.cloud.channel.v1.ListCustomersRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listCustomers( + com.google.cloud.channel.v1.ListCustomersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCustomersMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListCustomersMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Returns the requested [Customer][google.cloud.channel.v1.Customer]
      * resource.
@@ -2990,13 +3988,18 @@ public void listCustomers(com.google.cloud.channel.v1.ListCustomersRequest reque
      * The [Customer][google.cloud.channel.v1.Customer] resource.
      * 
*/ - public void getCustomer(com.google.cloud.channel.v1.GetCustomerRequest request, + public void getCustomer( + com.google.cloud.channel.v1.GetCustomerRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCustomerMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getGetCustomerMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Confirms the existence of Cloud Identity accounts based on the domain and
      * if the Cloud Identity accounts are owned by the reseller.
@@ -3015,13 +4018,20 @@ public void getCustomer(com.google.cloud.channel.v1.GetCustomerRequest request,
      * resources match the domain.
      * 
*/ - public void checkCloudIdentityAccountsExist(com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void checkCloudIdentityAccountsExist( + com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse> + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCheckCloudIdentityAccountsExistMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCheckCloudIdentityAccountsExistMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Creates a new [Customer][google.cloud.channel.v1.Customer] resource under
      * the reseller or distributor account.
@@ -3035,13 +4045,18 @@ public void checkCloudIdentityAccountsExist(com.google.cloud.channel.v1.CheckClo
      * The newly created [Customer][google.cloud.channel.v1.Customer] resource.
      * 
*/ - public void createCustomer(com.google.cloud.channel.v1.CreateCustomerRequest request, + public void createCustomer( + com.google.cloud.channel.v1.CreateCustomerRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCustomerMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateCustomerMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Updates an existing [Customer][google.cloud.channel.v1.Customer] resource
      * for the reseller or distributor.
@@ -3055,13 +4070,18 @@ public void createCustomer(com.google.cloud.channel.v1.CreateCustomerRequest req
      * The updated [Customer][google.cloud.channel.v1.Customer] resource.
      * 
*/ - public void updateCustomer(com.google.cloud.channel.v1.UpdateCustomerRequest request, + public void updateCustomer( + com.google.cloud.channel.v1.UpdateCustomerRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateCustomerMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateCustomerMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Deletes the given [Customer][google.cloud.channel.v1.Customer] permanently.
      * Possible error codes:
@@ -3073,13 +4093,18 @@ public void updateCustomer(com.google.cloud.channel.v1.UpdateCustomerRequest req
      * for the name in the request.
      * 
*/ - public void deleteCustomer(com.google.cloud.channel.v1.DeleteCustomerRequest request, + public void deleteCustomer( + com.google.cloud.channel.v1.DeleteCustomerRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteCustomerMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteCustomerMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Imports a [Customer][google.cloud.channel.v1.Customer] from the Cloud
      * Identity associated with the provided Cloud Identity ID or domain before a
@@ -3097,13 +4122,18 @@ public void deleteCustomer(com.google.cloud.channel.v1.DeleteCustomerRequest req
      * The [Customer][google.cloud.channel.v1.Customer].
      * 
*/ - public void importCustomer(com.google.cloud.channel.v1.ImportCustomerRequest request, + public void importCustomer( + com.google.cloud.channel.v1.ImportCustomerRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportCustomerMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getImportCustomerMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Creates a Cloud Identity for the given customer using the customer's
      * information, or the information provided here.
@@ -3124,13 +4154,18 @@ public void importCustomer(com.google.cloud.channel.v1.ImportCustomerRequest req
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void provisionCloudIdentity(com.google.cloud.channel.v1.ProvisionCloudIdentityRequest request, + public void provisionCloudIdentity( + com.google.cloud.channel.v1.ProvisionCloudIdentityRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getProvisionCloudIdentityMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getProvisionCloudIdentityMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to a
      * customer.
@@ -3142,13 +4177,19 @@ public void provisionCloudIdentity(com.google.cloud.channel.v1.ProvisionCloudIde
      * [Entitlement][google.cloud.channel.v1.Entitlement]s.
      * 
*/ - public void listEntitlements(com.google.cloud.channel.v1.ListEntitlementsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listEntitlements( + com.google.cloud.channel.v1.ListEntitlementsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListEntitlementsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListEntitlementsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * List [TransferableSku][google.cloud.channel.v1.TransferableSku]s of a
      * customer based on the Cloud Identity ID or Customer Name in the request.
@@ -3167,13 +4208,19 @@ public void listEntitlements(com.google.cloud.channel.v1.ListEntitlementsRequest
      * [TransferableSku][google.cloud.channel.v1.TransferableSku].
      * 
*/ - public void listTransferableSkus(com.google.cloud.channel.v1.ListTransferableSkusRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listTransferableSkus( + com.google.cloud.channel.v1.ListTransferableSkusRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTransferableSkusMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListTransferableSkusMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * List [TransferableOffer][google.cloud.channel.v1.TransferableOffer]s of a
      * customer based on Cloud Identity ID or Customer Name in the request.
@@ -3193,13 +4240,19 @@ public void listTransferableSkus(com.google.cloud.channel.v1.ListTransferableSku
      * the given customer and SKU.
      * 
*/ - public void listTransferableOffers(com.google.cloud.channel.v1.ListTransferableOffersRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listTransferableOffers( + com.google.cloud.channel.v1.ListTransferableOffersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTransferableOffersMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListTransferableOffersMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Returns the requested [Entitlement][google.cloud.channel.v1.Entitlement]
      * resource.
@@ -3211,13 +4264,18 @@ public void listTransferableOffers(com.google.cloud.channel.v1.ListTransferableO
      * The requested [Entitlement][google.cloud.channel.v1.Entitlement] resource.
      * 
*/ - public void getEntitlement(com.google.cloud.channel.v1.GetEntitlementRequest request, + public void getEntitlement( + com.google.cloud.channel.v1.GetEntitlementRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetEntitlementMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getGetEntitlementMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Creates an entitlement for a customer.
      * Possible error codes:
@@ -3253,13 +4311,18 @@ public void getEntitlement(com.google.cloud.channel.v1.GetEntitlementRequest req
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void createEntitlement(com.google.cloud.channel.v1.CreateEntitlementRequest request, + public void createEntitlement( + com.google.cloud.channel.v1.CreateEntitlementRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateEntitlementMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateEntitlementMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Change parameters of the entitlement.
      * An entitlement update is a long-running operation and it updates the
@@ -3281,13 +4344,18 @@ public void createEntitlement(com.google.cloud.channel.v1.CreateEntitlementReque
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void changeParameters(com.google.cloud.channel.v1.ChangeParametersRequest request, + public void changeParameters( + com.google.cloud.channel.v1.ChangeParametersRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getChangeParametersMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getChangeParametersMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Updates the renewal settings for an existing customer entitlement.
      * An entitlement update is a long-running operation and it updates the
@@ -3309,13 +4377,18 @@ public void changeParameters(com.google.cloud.channel.v1.ChangeParametersRequest
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void changeRenewalSettings(com.google.cloud.channel.v1.ChangeRenewalSettingsRequest request, + public void changeRenewalSettings( + com.google.cloud.channel.v1.ChangeRenewalSettingsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getChangeRenewalSettingsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getChangeRenewalSettingsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Updates the Offer for an existing customer entitlement.
      * An entitlement update is a long-running operation and it updates the
@@ -3335,13 +4408,18 @@ public void changeRenewalSettings(com.google.cloud.channel.v1.ChangeRenewalSetti
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void changeOffer(com.google.cloud.channel.v1.ChangeOfferRequest request, + public void changeOffer( + com.google.cloud.channel.v1.ChangeOfferRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getChangeOfferMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getChangeOfferMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Starts paid service for a trial entitlement.
      * Starts paid service for a trial entitlement immediately. This method is
@@ -3364,13 +4442,18 @@ public void changeOffer(com.google.cloud.channel.v1.ChangeOfferRequest request,
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void startPaidService(com.google.cloud.channel.v1.StartPaidServiceRequest request, + public void startPaidService( + com.google.cloud.channel.v1.StartPaidServiceRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getStartPaidServiceMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getStartPaidServiceMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Suspends a previously fulfilled entitlement.
      * An entitlement suspension is a long-running operation.
@@ -3390,13 +4473,18 @@ public void startPaidService(com.google.cloud.channel.v1.StartPaidServiceRequest
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void suspendEntitlement(com.google.cloud.channel.v1.SuspendEntitlementRequest request, + public void suspendEntitlement( + com.google.cloud.channel.v1.SuspendEntitlementRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSuspendEntitlementMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getSuspendEntitlementMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Cancels a previously fulfilled entitlement.
      * An entitlement cancellation is a long-running operation.
@@ -3421,13 +4509,18 @@ public void suspendEntitlement(com.google.cloud.channel.v1.SuspendEntitlementReq
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void cancelEntitlement(com.google.cloud.channel.v1.CancelEntitlementRequest request, + public void cancelEntitlement( + com.google.cloud.channel.v1.CancelEntitlementRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelEntitlementMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCancelEntitlementMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Activates a previously suspended entitlement. Entitlements suspended for
      * pending ToS acceptance can't be activated using this method.
@@ -3453,13 +4546,18 @@ public void cancelEntitlement(com.google.cloud.channel.v1.CancelEntitlementReque
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void activateEntitlement(com.google.cloud.channel.v1.ActivateEntitlementRequest request, + public void activateEntitlement( + com.google.cloud.channel.v1.ActivateEntitlementRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getActivateEntitlementMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getActivateEntitlementMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Transfers customer entitlements to new reseller.
      * Possible error codes:
@@ -3488,13 +4586,18 @@ public void activateEntitlement(com.google.cloud.channel.v1.ActivateEntitlementR
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void transferEntitlements(com.google.cloud.channel.v1.TransferEntitlementsRequest request, + public void transferEntitlements( + com.google.cloud.channel.v1.TransferEntitlementsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTransferEntitlementsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getTransferEntitlementsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Transfers customer entitlements from their current reseller to Google.
      * Possible error codes:
@@ -3523,13 +4626,18 @@ public void transferEntitlements(com.google.cloud.channel.v1.TransferEntitlement
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public void transferEntitlementsToGoogle(com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest request, + public void transferEntitlementsToGoogle( + com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTransferEntitlementsToGoogleMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getTransferEntitlementsToGoogleMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * List [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s
      * belonging to a distributor. You must be a distributor to call this method.
@@ -3542,13 +4650,19 @@ public void transferEntitlementsToGoogle(com.google.cloud.channel.v1.TransferEnt
      * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources.
      * 
*/ - public void listChannelPartnerLinks(com.google.cloud.channel.v1.ListChannelPartnerLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listChannelPartnerLinks( + com.google.cloud.channel.v1.ListChannelPartnerLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListChannelPartnerLinksMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListChannelPartnerLinksMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Returns the requested
      * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
@@ -3564,13 +4678,19 @@ public void listChannelPartnerLinks(com.google.cloud.channel.v1.ListChannelPartn
      * resource.
      * 
*/ - public void getChannelPartnerLink(com.google.cloud.channel.v1.GetChannelPartnerLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void getChannelPartnerLink( + com.google.cloud.channel.v1.GetChannelPartnerLinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetChannelPartnerLinkMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getGetChannelPartnerLinkMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Initiates a channel partner link between a distributor and a reseller, or
      * between resellers in an n-tier reseller channel.
@@ -3594,13 +4714,19 @@ public void getChannelPartnerLink(com.google.cloud.channel.v1.GetChannelPartnerL
      * resource.
      * 
*/ - public void createChannelPartnerLink(com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void createChannelPartnerLink( + com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateChannelPartnerLinkMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateChannelPartnerLinkMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Updates a channel partner link. Distributors call this method to change a
      * link's status. For example, to suspend a partner link.
@@ -3623,13 +4749,19 @@ public void createChannelPartnerLink(com.google.cloud.channel.v1.CreateChannelPa
      * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
      * 
*/ - public void updateChannelPartnerLink(com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void updateChannelPartnerLink( + com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateChannelPartnerLinkMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateChannelPartnerLinkMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Gets information about how a Reseller modifies their bill before sending
      * it to a Customer.
@@ -3647,13 +4779,19 @@ public void updateChannelPartnerLink(com.google.cloud.channel.v1.UpdateChannelPa
      * resource, otherwise returns an error.
      * 
*/ - public void getCustomerRepricingConfig(com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void getCustomerRepricingConfig( + com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCustomerRepricingConfigMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getGetCustomerRepricingConfigMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists information about how a Reseller modifies their bill before sending
      * it to a Customer.
@@ -3677,13 +4815,20 @@ public void getCustomerRepricingConfig(com.google.cloud.channel.v1.GetCustomerRe
      * If unsuccessful, returns an error.
      * 
*/ - public void listCustomerRepricingConfigs(com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listCustomerRepricingConfigs( + com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse> + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCustomerRepricingConfigsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListCustomerRepricingConfigsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Creates a CustomerRepricingConfig. Call this method to set modifications
      * for a specific customer's bill. You can only create configs if the
@@ -3723,13 +4868,19 @@ public void listCustomerRepricingConfigs(com.google.cloud.channel.v1.ListCustome
      * resource, otherwise returns an error.
      * 
*/ - public void createCustomerRepricingConfig(com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void createCustomerRepricingConfig( + com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCustomerRepricingConfigMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateCustomerRepricingConfigMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Updates a CustomerRepricingConfig. Call this method to set modifications
      * for a specific customer's bill. This method overwrites the existing
@@ -3759,13 +4910,19 @@ public void createCustomerRepricingConfig(com.google.cloud.channel.v1.CreateCust
      * resource, otherwise returns an error.
      * 
*/ - public void updateCustomerRepricingConfig(com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void updateCustomerRepricingConfig( + com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateCustomerRepricingConfigMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateCustomerRepricingConfigMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Deletes the given
      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
@@ -3784,13 +4941,18 @@ public void updateCustomerRepricingConfig(com.google.cloud.channel.v1.UpdateCust
      * found for the name in the request.
      * 
*/ - public void deleteCustomerRepricingConfig(com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest request, + public void deleteCustomerRepricingConfig( + com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteCustomerRepricingConfigMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteCustomerRepricingConfigMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Gets information about how a Distributor modifies their bill before sending
      * it to a ChannelPartner.
@@ -3808,13 +4970,19 @@ public void deleteCustomerRepricingConfig(com.google.cloud.channel.v1.DeleteCust
      * resource, otherwise returns an error.
      * 
*/ - public void getChannelPartnerRepricingConfig(com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void getChannelPartnerRepricingConfig( + com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetChannelPartnerRepricingConfigMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getGetChannelPartnerRepricingConfigMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists information about how a Reseller modifies their bill before sending
      * it to a ChannelPartner.
@@ -3837,13 +5005,20 @@ public void getChannelPartnerRepricingConfig(com.google.cloud.channel.v1.GetChan
      * If unsuccessful, returns an error.
      * 
*/ - public void listChannelPartnerRepricingConfigs(com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listChannelPartnerRepricingConfigs( + com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse> + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListChannelPartnerRepricingConfigsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListChannelPartnerRepricingConfigsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Creates a ChannelPartnerRepricingConfig. Call this method to set
      * modifications for a specific ChannelPartner's bill. You can only create
@@ -3882,13 +5057,19 @@ public void listChannelPartnerRepricingConfigs(com.google.cloud.channel.v1.ListC
      * resource, otherwise returns an error.
      * 
*/ - public void createChannelPartnerRepricingConfig(com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void createChannelPartnerRepricingConfig( + com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateChannelPartnerRepricingConfigMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateChannelPartnerRepricingConfigMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Updates a ChannelPartnerRepricingConfig. Call this method to set
      * modifications for a specific ChannelPartner's bill. This method overwrites
@@ -3918,13 +5099,19 @@ public void createChannelPartnerRepricingConfig(com.google.cloud.channel.v1.Crea
      * resource, otherwise returns an error.
      * 
*/ - public void updateChannelPartnerRepricingConfig(com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void updateChannelPartnerRepricingConfig( + com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateChannelPartnerRepricingConfigMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateChannelPartnerRepricingConfigMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Deletes the given
      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
@@ -3943,13 +5130,18 @@ public void updateChannelPartnerRepricingConfig(com.google.cloud.channel.v1.Upda
      * found for the name in the request.
      * 
*/ - public void deleteChannelPartnerRepricingConfig(com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest request, + public void deleteChannelPartnerRepricingConfig( + com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteChannelPartnerRepricingConfigMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteChannelPartnerRepricingConfigMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Returns the requested [Offer][google.cloud.channel.v1.Offer] resource.
      * Possible error codes:
@@ -3960,52 +5152,71 @@ public void deleteChannelPartnerRepricingConfig(com.google.cloud.channel.v1.Dele
      * The [Offer][google.cloud.channel.v1.Offer] resource.
      * 
*/ - public void lookupOffer(com.google.cloud.channel.v1.LookupOfferRequest request, + public void lookupOffer( + com.google.cloud.channel.v1.LookupOfferRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getLookupOfferMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getLookupOfferMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists the Products the reseller is authorized to sell.
      * Possible error codes:
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public void listProducts(com.google.cloud.channel.v1.ListProductsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listProducts( + com.google.cloud.channel.v1.ListProductsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListProductsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListProductsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists the SKUs for a product the reseller is authorized to sell.
      * Possible error codes:
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public void listSkus(com.google.cloud.channel.v1.ListSkusRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listSkus( + com.google.cloud.channel.v1.ListSkusRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListSkusMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Lists the Offers the reseller can sell.
      * Possible error codes:
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public void listOffers(com.google.cloud.channel.v1.ListOffersRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listOffers( + com.google.cloud.channel.v1.ListOffersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListOffersMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Lists the following:
      * * SKUs that you can purchase for a customer
@@ -4015,13 +5226,19 @@ public void listOffers(com.google.cloud.channel.v1.ListOffersRequest request,
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public void listPurchasableSkus(com.google.cloud.channel.v1.ListPurchasableSkusRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listPurchasableSkus( + com.google.cloud.channel.v1.ListPurchasableSkusRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPurchasableSkusMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListPurchasableSkusMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists the following:
      * * Offers that you can purchase for a customer.
@@ -4031,13 +5248,19 @@ public void listPurchasableSkus(com.google.cloud.channel.v1.ListPurchasableSkusR
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public void listPurchasableOffers(com.google.cloud.channel.v1.ListPurchasableOffersRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listPurchasableOffers( + com.google.cloud.channel.v1.ListPurchasableOffersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPurchasableOffersMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListPurchasableOffersMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Registers a service account with subscriber privileges on the Cloud Pub/Sub
      * topic for this Channel Services account. After you create a
@@ -4056,13 +5279,19 @@ public void listPurchasableOffers(com.google.cloud.channel.v1.ListPurchasableOff
      * The topic name with the registered service email address.
      * 
*/ - public void registerSubscriber(com.google.cloud.channel.v1.RegisterSubscriberRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void registerSubscriber( + com.google.cloud.channel.v1.RegisterSubscriberRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRegisterSubscriberMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getRegisterSubscriberMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Unregisters a service account with subscriber privileges on the Cloud
      * Pub/Sub topic created for this Channel Services account. If there are no
@@ -4084,13 +5313,19 @@ public void registerSubscriber(com.google.cloud.channel.v1.RegisterSubscriberReq
      * with the topic.
      * 
*/ - public void unregisterSubscriber(com.google.cloud.channel.v1.UnregisterSubscriberRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void unregisterSubscriber( + com.google.cloud.channel.v1.UnregisterSubscriberRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUnregisterSubscriberMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUnregisterSubscriberMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists service accounts with subscriber privileges on the Cloud Pub/Sub
      * topic created for this Channel Services account.
@@ -4108,14 +5343,20 @@ public void unregisterSubscriber(com.google.cloud.channel.v1.UnregisterSubscribe
      * A list of service email addresses.
      * 
*/ - public void listSubscribers(com.google.cloud.channel.v1.ListSubscribersRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listSubscribers( + com.google.cloud.channel.v1.ListSubscribersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListSubscribersMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListSubscribersMethod(), getCallOptions()), + request, + responseObserver); } } /** + * + * *
    * CloudChannelService lets Google cloud resellers and distributors manage
    * their customers, channel partners, entitlements, and reports.
@@ -4135,7 +5376,8 @@ public void listSubscribers(com.google.cloud.channel.v1.ListSubscribersRequest r
    * resellers in a channel.
    * 
*/ - public static final class CloudChannelServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + public static final class CloudChannelServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { private CloudChannelServiceBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -4148,6 +5390,8 @@ protected CloudChannelServiceBlockingStub build( } /** + * + * *
      * List [Customer][google.cloud.channel.v1.Customer]s.
      * Possible error codes:
@@ -4159,12 +5403,15 @@ protected CloudChannelServiceBlockingStub build(
      * there are no customers.
      * 
*/ - public com.google.cloud.channel.v1.ListCustomersResponse listCustomers(com.google.cloud.channel.v1.ListCustomersRequest request) { + public com.google.cloud.channel.v1.ListCustomersResponse listCustomers( + com.google.cloud.channel.v1.ListCustomersRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListCustomersMethod(), getCallOptions(), request); } /** + * + * *
      * Returns the requested [Customer][google.cloud.channel.v1.Customer]
      * resource.
@@ -4178,12 +5425,15 @@ public com.google.cloud.channel.v1.ListCustomersResponse listCustomers(com.googl
      * The [Customer][google.cloud.channel.v1.Customer] resource.
      * 
*/ - public com.google.cloud.channel.v1.Customer getCustomer(com.google.cloud.channel.v1.GetCustomerRequest request) { + public com.google.cloud.channel.v1.Customer getCustomer( + com.google.cloud.channel.v1.GetCustomerRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetCustomerMethod(), getCallOptions(), request); } /** + * + * *
      * Confirms the existence of Cloud Identity accounts based on the domain and
      * if the Cloud Identity accounts are owned by the reseller.
@@ -4202,12 +5452,16 @@ public com.google.cloud.channel.v1.Customer getCustomer(com.google.cloud.channel
      * resources match the domain.
      * 
*/ - public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse checkCloudIdentityAccountsExist(com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest request) { + public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse + checkCloudIdentityAccountsExist( + com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCheckCloudIdentityAccountsExistMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a new [Customer][google.cloud.channel.v1.Customer] resource under
      * the reseller or distributor account.
@@ -4221,12 +5475,15 @@ public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse check
      * The newly created [Customer][google.cloud.channel.v1.Customer] resource.
      * 
*/ - public com.google.cloud.channel.v1.Customer createCustomer(com.google.cloud.channel.v1.CreateCustomerRequest request) { + public com.google.cloud.channel.v1.Customer createCustomer( + com.google.cloud.channel.v1.CreateCustomerRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateCustomerMethod(), getCallOptions(), request); } /** + * + * *
      * Updates an existing [Customer][google.cloud.channel.v1.Customer] resource
      * for the reseller or distributor.
@@ -4240,12 +5497,15 @@ public com.google.cloud.channel.v1.Customer createCustomer(com.google.cloud.chan
      * The updated [Customer][google.cloud.channel.v1.Customer] resource.
      * 
*/ - public com.google.cloud.channel.v1.Customer updateCustomer(com.google.cloud.channel.v1.UpdateCustomerRequest request) { + public com.google.cloud.channel.v1.Customer updateCustomer( + com.google.cloud.channel.v1.UpdateCustomerRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateCustomerMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes the given [Customer][google.cloud.channel.v1.Customer] permanently.
      * Possible error codes:
@@ -4257,12 +5517,15 @@ public com.google.cloud.channel.v1.Customer updateCustomer(com.google.cloud.chan
      * for the name in the request.
      * 
*/ - public com.google.protobuf.Empty deleteCustomer(com.google.cloud.channel.v1.DeleteCustomerRequest request) { + public com.google.protobuf.Empty deleteCustomer( + com.google.cloud.channel.v1.DeleteCustomerRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteCustomerMethod(), getCallOptions(), request); } /** + * + * *
      * Imports a [Customer][google.cloud.channel.v1.Customer] from the Cloud
      * Identity associated with the provided Cloud Identity ID or domain before a
@@ -4280,12 +5543,15 @@ public com.google.protobuf.Empty deleteCustomer(com.google.cloud.channel.v1.Dele
      * The [Customer][google.cloud.channel.v1.Customer].
      * 
*/ - public com.google.cloud.channel.v1.Customer importCustomer(com.google.cloud.channel.v1.ImportCustomerRequest request) { + public com.google.cloud.channel.v1.Customer importCustomer( + com.google.cloud.channel.v1.ImportCustomerRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getImportCustomerMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a Cloud Identity for the given customer using the customer's
      * information, or the information provided here.
@@ -4306,12 +5572,15 @@ public com.google.cloud.channel.v1.Customer importCustomer(com.google.cloud.chan
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public com.google.longrunning.Operation provisionCloudIdentity(com.google.cloud.channel.v1.ProvisionCloudIdentityRequest request) { + public com.google.longrunning.Operation provisionCloudIdentity( + com.google.cloud.channel.v1.ProvisionCloudIdentityRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getProvisionCloudIdentityMethod(), getCallOptions(), request); } /** + * + * *
      * Lists [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to a
      * customer.
@@ -4323,12 +5592,15 @@ public com.google.longrunning.Operation provisionCloudIdentity(com.google.cloud.
      * [Entitlement][google.cloud.channel.v1.Entitlement]s.
      * 
*/ - public com.google.cloud.channel.v1.ListEntitlementsResponse listEntitlements(com.google.cloud.channel.v1.ListEntitlementsRequest request) { + public com.google.cloud.channel.v1.ListEntitlementsResponse listEntitlements( + com.google.cloud.channel.v1.ListEntitlementsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListEntitlementsMethod(), getCallOptions(), request); } /** + * + * *
      * List [TransferableSku][google.cloud.channel.v1.TransferableSku]s of a
      * customer based on the Cloud Identity ID or Customer Name in the request.
@@ -4347,12 +5619,15 @@ public com.google.cloud.channel.v1.ListEntitlementsResponse listEntitlements(com
      * [TransferableSku][google.cloud.channel.v1.TransferableSku].
      * 
*/ - public com.google.cloud.channel.v1.ListTransferableSkusResponse listTransferableSkus(com.google.cloud.channel.v1.ListTransferableSkusRequest request) { + public com.google.cloud.channel.v1.ListTransferableSkusResponse listTransferableSkus( + com.google.cloud.channel.v1.ListTransferableSkusRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListTransferableSkusMethod(), getCallOptions(), request); } /** + * + * *
      * List [TransferableOffer][google.cloud.channel.v1.TransferableOffer]s of a
      * customer based on Cloud Identity ID or Customer Name in the request.
@@ -4372,12 +5647,15 @@ public com.google.cloud.channel.v1.ListTransferableSkusResponse listTransferable
      * the given customer and SKU.
      * 
*/ - public com.google.cloud.channel.v1.ListTransferableOffersResponse listTransferableOffers(com.google.cloud.channel.v1.ListTransferableOffersRequest request) { + public com.google.cloud.channel.v1.ListTransferableOffersResponse listTransferableOffers( + com.google.cloud.channel.v1.ListTransferableOffersRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListTransferableOffersMethod(), getCallOptions(), request); } /** + * + * *
      * Returns the requested [Entitlement][google.cloud.channel.v1.Entitlement]
      * resource.
@@ -4389,12 +5667,15 @@ public com.google.cloud.channel.v1.ListTransferableOffersResponse listTransferab
      * The requested [Entitlement][google.cloud.channel.v1.Entitlement] resource.
      * 
*/ - public com.google.cloud.channel.v1.Entitlement getEntitlement(com.google.cloud.channel.v1.GetEntitlementRequest request) { + public com.google.cloud.channel.v1.Entitlement getEntitlement( + com.google.cloud.channel.v1.GetEntitlementRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetEntitlementMethod(), getCallOptions(), request); } /** + * + * *
      * Creates an entitlement for a customer.
      * Possible error codes:
@@ -4430,12 +5711,15 @@ public com.google.cloud.channel.v1.Entitlement getEntitlement(com.google.cloud.c
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public com.google.longrunning.Operation createEntitlement(com.google.cloud.channel.v1.CreateEntitlementRequest request) { + public com.google.longrunning.Operation createEntitlement( + com.google.cloud.channel.v1.CreateEntitlementRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateEntitlementMethod(), getCallOptions(), request); } /** + * + * *
      * Change parameters of the entitlement.
      * An entitlement update is a long-running operation and it updates the
@@ -4457,12 +5741,15 @@ public com.google.longrunning.Operation createEntitlement(com.google.cloud.chann
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public com.google.longrunning.Operation changeParameters(com.google.cloud.channel.v1.ChangeParametersRequest request) { + public com.google.longrunning.Operation changeParameters( + com.google.cloud.channel.v1.ChangeParametersRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getChangeParametersMethod(), getCallOptions(), request); } /** + * + * *
      * Updates the renewal settings for an existing customer entitlement.
      * An entitlement update is a long-running operation and it updates the
@@ -4484,12 +5771,15 @@ public com.google.longrunning.Operation changeParameters(com.google.cloud.channe
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public com.google.longrunning.Operation changeRenewalSettings(com.google.cloud.channel.v1.ChangeRenewalSettingsRequest request) { + public com.google.longrunning.Operation changeRenewalSettings( + com.google.cloud.channel.v1.ChangeRenewalSettingsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getChangeRenewalSettingsMethod(), getCallOptions(), request); } /** + * + * *
      * Updates the Offer for an existing customer entitlement.
      * An entitlement update is a long-running operation and it updates the
@@ -4509,12 +5799,15 @@ public com.google.longrunning.Operation changeRenewalSettings(com.google.cloud.c
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public com.google.longrunning.Operation changeOffer(com.google.cloud.channel.v1.ChangeOfferRequest request) { + public com.google.longrunning.Operation changeOffer( + com.google.cloud.channel.v1.ChangeOfferRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getChangeOfferMethod(), getCallOptions(), request); } /** + * + * *
      * Starts paid service for a trial entitlement.
      * Starts paid service for a trial entitlement immediately. This method is
@@ -4537,12 +5830,15 @@ public com.google.longrunning.Operation changeOffer(com.google.cloud.channel.v1.
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public com.google.longrunning.Operation startPaidService(com.google.cloud.channel.v1.StartPaidServiceRequest request) { + public com.google.longrunning.Operation startPaidService( + com.google.cloud.channel.v1.StartPaidServiceRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getStartPaidServiceMethod(), getCallOptions(), request); } /** + * + * *
      * Suspends a previously fulfilled entitlement.
      * An entitlement suspension is a long-running operation.
@@ -4562,12 +5858,15 @@ public com.google.longrunning.Operation startPaidService(com.google.cloud.channe
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public com.google.longrunning.Operation suspendEntitlement(com.google.cloud.channel.v1.SuspendEntitlementRequest request) { + public com.google.longrunning.Operation suspendEntitlement( + com.google.cloud.channel.v1.SuspendEntitlementRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSuspendEntitlementMethod(), getCallOptions(), request); } /** + * + * *
      * Cancels a previously fulfilled entitlement.
      * An entitlement cancellation is a long-running operation.
@@ -4592,12 +5891,15 @@ public com.google.longrunning.Operation suspendEntitlement(com.google.cloud.chan
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public com.google.longrunning.Operation cancelEntitlement(com.google.cloud.channel.v1.CancelEntitlementRequest request) { + public com.google.longrunning.Operation cancelEntitlement( + com.google.cloud.channel.v1.CancelEntitlementRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCancelEntitlementMethod(), getCallOptions(), request); } /** + * + * *
      * Activates a previously suspended entitlement. Entitlements suspended for
      * pending ToS acceptance can't be activated using this method.
@@ -4623,12 +5925,15 @@ public com.google.longrunning.Operation cancelEntitlement(com.google.cloud.chann
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public com.google.longrunning.Operation activateEntitlement(com.google.cloud.channel.v1.ActivateEntitlementRequest request) { + public com.google.longrunning.Operation activateEntitlement( + com.google.cloud.channel.v1.ActivateEntitlementRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getActivateEntitlementMethod(), getCallOptions(), request); } /** + * + * *
      * Transfers customer entitlements to new reseller.
      * Possible error codes:
@@ -4657,12 +5962,15 @@ public com.google.longrunning.Operation activateEntitlement(com.google.cloud.cha
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public com.google.longrunning.Operation transferEntitlements(com.google.cloud.channel.v1.TransferEntitlementsRequest request) { + public com.google.longrunning.Operation transferEntitlements( + com.google.cloud.channel.v1.TransferEntitlementsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTransferEntitlementsMethod(), getCallOptions(), request); } /** + * + * *
      * Transfers customer entitlements from their current reseller to Google.
      * Possible error codes:
@@ -4691,12 +5999,15 @@ public com.google.longrunning.Operation transferEntitlements(com.google.cloud.ch
      * instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
      * 
*/ - public com.google.longrunning.Operation transferEntitlementsToGoogle(com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest request) { + public com.google.longrunning.Operation transferEntitlementsToGoogle( + com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTransferEntitlementsToGoogleMethod(), getCallOptions(), request); } /** + * + * *
      * List [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s
      * belonging to a distributor. You must be a distributor to call this method.
@@ -4709,12 +6020,15 @@ public com.google.longrunning.Operation transferEntitlementsToGoogle(com.google.
      * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources.
      * 
*/ - public com.google.cloud.channel.v1.ListChannelPartnerLinksResponse listChannelPartnerLinks(com.google.cloud.channel.v1.ListChannelPartnerLinksRequest request) { + public com.google.cloud.channel.v1.ListChannelPartnerLinksResponse listChannelPartnerLinks( + com.google.cloud.channel.v1.ListChannelPartnerLinksRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListChannelPartnerLinksMethod(), getCallOptions(), request); } /** + * + * *
      * Returns the requested
      * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
@@ -4730,12 +6044,15 @@ public com.google.cloud.channel.v1.ListChannelPartnerLinksResponse listChannelPa
      * resource.
      * 
*/ - public com.google.cloud.channel.v1.ChannelPartnerLink getChannelPartnerLink(com.google.cloud.channel.v1.GetChannelPartnerLinkRequest request) { + public com.google.cloud.channel.v1.ChannelPartnerLink getChannelPartnerLink( + com.google.cloud.channel.v1.GetChannelPartnerLinkRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetChannelPartnerLinkMethod(), getCallOptions(), request); } /** + * + * *
      * Initiates a channel partner link between a distributor and a reseller, or
      * between resellers in an n-tier reseller channel.
@@ -4759,12 +6076,15 @@ public com.google.cloud.channel.v1.ChannelPartnerLink getChannelPartnerLink(com.
      * resource.
      * 
*/ - public com.google.cloud.channel.v1.ChannelPartnerLink createChannelPartnerLink(com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest request) { + public com.google.cloud.channel.v1.ChannelPartnerLink createChannelPartnerLink( + com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateChannelPartnerLinkMethod(), getCallOptions(), request); } /** + * + * *
      * Updates a channel partner link. Distributors call this method to change a
      * link's status. For example, to suspend a partner link.
@@ -4787,12 +6107,15 @@ public com.google.cloud.channel.v1.ChannelPartnerLink createChannelPartnerLink(c
      * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
      * 
*/ - public com.google.cloud.channel.v1.ChannelPartnerLink updateChannelPartnerLink(com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest request) { + public com.google.cloud.channel.v1.ChannelPartnerLink updateChannelPartnerLink( + com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateChannelPartnerLinkMethod(), getCallOptions(), request); } /** + * + * *
      * Gets information about how a Reseller modifies their bill before sending
      * it to a Customer.
@@ -4810,12 +6133,15 @@ public com.google.cloud.channel.v1.ChannelPartnerLink updateChannelPartnerLink(c
      * resource, otherwise returns an error.
      * 
*/ - public com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingConfig(com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest request) { + public com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingConfig( + com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetCustomerRepricingConfigMethod(), getCallOptions(), request); } /** + * + * *
      * Lists information about how a Reseller modifies their bill before sending
      * it to a Customer.
@@ -4839,12 +6165,16 @@ public com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingC
      * If unsuccessful, returns an error.
      * 
*/ - public com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse listCustomerRepricingConfigs(com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest request) { + public com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse + listCustomerRepricingConfigs( + com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListCustomerRepricingConfigsMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a CustomerRepricingConfig. Call this method to set modifications
      * for a specific customer's bill. You can only create configs if the
@@ -4884,12 +6214,15 @@ public com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse listCust
      * resource, otherwise returns an error.
      * 
*/ - public com.google.cloud.channel.v1.CustomerRepricingConfig createCustomerRepricingConfig(com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest request) { + public com.google.cloud.channel.v1.CustomerRepricingConfig createCustomerRepricingConfig( + com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateCustomerRepricingConfigMethod(), getCallOptions(), request); } /** + * + * *
      * Updates a CustomerRepricingConfig. Call this method to set modifications
      * for a specific customer's bill. This method overwrites the existing
@@ -4919,12 +6252,15 @@ public com.google.cloud.channel.v1.CustomerRepricingConfig createCustomerReprici
      * resource, otherwise returns an error.
      * 
*/ - public com.google.cloud.channel.v1.CustomerRepricingConfig updateCustomerRepricingConfig(com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest request) { + public com.google.cloud.channel.v1.CustomerRepricingConfig updateCustomerRepricingConfig( + com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateCustomerRepricingConfigMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes the given
      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
@@ -4943,12 +6279,15 @@ public com.google.cloud.channel.v1.CustomerRepricingConfig updateCustomerReprici
      * found for the name in the request.
      * 
*/ - public com.google.protobuf.Empty deleteCustomerRepricingConfig(com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest request) { + public com.google.protobuf.Empty deleteCustomerRepricingConfig( + com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteCustomerRepricingConfigMethod(), getCallOptions(), request); } /** + * + * *
      * Gets information about how a Distributor modifies their bill before sending
      * it to a ChannelPartner.
@@ -4966,12 +6305,16 @@ public com.google.protobuf.Empty deleteCustomerRepricingConfig(com.google.cloud.
      * resource, otherwise returns an error.
      * 
*/ - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getChannelPartnerRepricingConfig(com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest request) { + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig + getChannelPartnerRepricingConfig( + com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetChannelPartnerRepricingConfigMethod(), getCallOptions(), request); } /** + * + * *
      * Lists information about how a Reseller modifies their bill before sending
      * it to a ChannelPartner.
@@ -4994,12 +6337,16 @@ public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getChannelPartn
      * If unsuccessful, returns an error.
      * 
*/ - public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse listChannelPartnerRepricingConfigs(com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest request) { + public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse + listChannelPartnerRepricingConfigs( + com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListChannelPartnerRepricingConfigsMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a ChannelPartnerRepricingConfig. Call this method to set
      * modifications for a specific ChannelPartner's bill. You can only create
@@ -5038,12 +6385,16 @@ public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse li
      * resource, otherwise returns an error.
      * 
*/ - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig createChannelPartnerRepricingConfig(com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest request) { + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig + createChannelPartnerRepricingConfig( + com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateChannelPartnerRepricingConfigMethod(), getCallOptions(), request); } /** + * + * *
      * Updates a ChannelPartnerRepricingConfig. Call this method to set
      * modifications for a specific ChannelPartner's bill. This method overwrites
@@ -5073,12 +6424,16 @@ public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig createChannelPa
      * resource, otherwise returns an error.
      * 
*/ - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig updateChannelPartnerRepricingConfig(com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest request) { + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig + updateChannelPartnerRepricingConfig( + com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateChannelPartnerRepricingConfigMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes the given
      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
@@ -5097,12 +6452,15 @@ public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig updateChannelPa
      * found for the name in the request.
      * 
*/ - public com.google.protobuf.Empty deleteChannelPartnerRepricingConfig(com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest request) { + public com.google.protobuf.Empty deleteChannelPartnerRepricingConfig( + com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteChannelPartnerRepricingConfigMethod(), getCallOptions(), request); } /** + * + * *
      * Returns the requested [Offer][google.cloud.channel.v1.Offer] resource.
      * Possible error codes:
@@ -5113,48 +6471,60 @@ public com.google.protobuf.Empty deleteChannelPartnerRepricingConfig(com.google.
      * The [Offer][google.cloud.channel.v1.Offer] resource.
      * 
*/ - public com.google.cloud.channel.v1.Offer lookupOffer(com.google.cloud.channel.v1.LookupOfferRequest request) { + public com.google.cloud.channel.v1.Offer lookupOffer( + com.google.cloud.channel.v1.LookupOfferRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getLookupOfferMethod(), getCallOptions(), request); } /** + * + * *
      * Lists the Products the reseller is authorized to sell.
      * Possible error codes:
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public com.google.cloud.channel.v1.ListProductsResponse listProducts(com.google.cloud.channel.v1.ListProductsRequest request) { + public com.google.cloud.channel.v1.ListProductsResponse listProducts( + com.google.cloud.channel.v1.ListProductsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListProductsMethod(), getCallOptions(), request); } /** + * + * *
      * Lists the SKUs for a product the reseller is authorized to sell.
      * Possible error codes:
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public com.google.cloud.channel.v1.ListSkusResponse listSkus(com.google.cloud.channel.v1.ListSkusRequest request) { + public com.google.cloud.channel.v1.ListSkusResponse listSkus( + com.google.cloud.channel.v1.ListSkusRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListSkusMethod(), getCallOptions(), request); } /** + * + * *
      * Lists the Offers the reseller can sell.
      * Possible error codes:
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public com.google.cloud.channel.v1.ListOffersResponse listOffers(com.google.cloud.channel.v1.ListOffersRequest request) { + public com.google.cloud.channel.v1.ListOffersResponse listOffers( + com.google.cloud.channel.v1.ListOffersRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListOffersMethod(), getCallOptions(), request); } /** + * + * *
      * Lists the following:
      * * SKUs that you can purchase for a customer
@@ -5164,12 +6534,15 @@ public com.google.cloud.channel.v1.ListOffersResponse listOffers(com.google.clou
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public com.google.cloud.channel.v1.ListPurchasableSkusResponse listPurchasableSkus(com.google.cloud.channel.v1.ListPurchasableSkusRequest request) { + public com.google.cloud.channel.v1.ListPurchasableSkusResponse listPurchasableSkus( + com.google.cloud.channel.v1.ListPurchasableSkusRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListPurchasableSkusMethod(), getCallOptions(), request); } /** + * + * *
      * Lists the following:
      * * Offers that you can purchase for a customer.
@@ -5179,12 +6552,15 @@ public com.google.cloud.channel.v1.ListPurchasableSkusResponse listPurchasableSk
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public com.google.cloud.channel.v1.ListPurchasableOffersResponse listPurchasableOffers(com.google.cloud.channel.v1.ListPurchasableOffersRequest request) { + public com.google.cloud.channel.v1.ListPurchasableOffersResponse listPurchasableOffers( + com.google.cloud.channel.v1.ListPurchasableOffersRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListPurchasableOffersMethod(), getCallOptions(), request); } /** + * + * *
      * Registers a service account with subscriber privileges on the Cloud Pub/Sub
      * topic for this Channel Services account. After you create a
@@ -5203,12 +6579,15 @@ public com.google.cloud.channel.v1.ListPurchasableOffersResponse listPurchasable
      * The topic name with the registered service email address.
      * 
*/ - public com.google.cloud.channel.v1.RegisterSubscriberResponse registerSubscriber(com.google.cloud.channel.v1.RegisterSubscriberRequest request) { + public com.google.cloud.channel.v1.RegisterSubscriberResponse registerSubscriber( + com.google.cloud.channel.v1.RegisterSubscriberRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRegisterSubscriberMethod(), getCallOptions(), request); } /** + * + * *
      * Unregisters a service account with subscriber privileges on the Cloud
      * Pub/Sub topic created for this Channel Services account. If there are no
@@ -5230,12 +6609,15 @@ public com.google.cloud.channel.v1.RegisterSubscriberResponse registerSubscriber
      * with the topic.
      * 
*/ - public com.google.cloud.channel.v1.UnregisterSubscriberResponse unregisterSubscriber(com.google.cloud.channel.v1.UnregisterSubscriberRequest request) { + public com.google.cloud.channel.v1.UnregisterSubscriberResponse unregisterSubscriber( + com.google.cloud.channel.v1.UnregisterSubscriberRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUnregisterSubscriberMethod(), getCallOptions(), request); } /** + * + * *
      * Lists service accounts with subscriber privileges on the Cloud Pub/Sub
      * topic created for this Channel Services account.
@@ -5253,13 +6635,16 @@ public com.google.cloud.channel.v1.UnregisterSubscriberResponse unregisterSubscr
      * A list of service email addresses.
      * 
*/ - public com.google.cloud.channel.v1.ListSubscribersResponse listSubscribers(com.google.cloud.channel.v1.ListSubscribersRequest request) { + public com.google.cloud.channel.v1.ListSubscribersResponse listSubscribers( + com.google.cloud.channel.v1.ListSubscribersRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListSubscribersMethod(), getCallOptions(), request); } } /** + * + * *
    * CloudChannelService lets Google cloud resellers and distributors manage
    * their customers, channel partners, entitlements, and reports.
@@ -5279,7 +6664,8 @@ public com.google.cloud.channel.v1.ListSubscribersResponse listSubscribers(com.g
    * resellers in a channel.
    * 
*/ - public static final class CloudChannelServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + public static final class CloudChannelServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { private CloudChannelServiceFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -5292,6 +6678,8 @@ protected CloudChannelServiceFutureStub build( } /** + * + * *
      * List [Customer][google.cloud.channel.v1.Customer]s.
      * Possible error codes:
@@ -5303,13 +6691,16 @@ protected CloudChannelServiceFutureStub build(
      * there are no customers.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listCustomers( - com.google.cloud.channel.v1.ListCustomersRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.channel.v1.ListCustomersResponse> + listCustomers(com.google.cloud.channel.v1.ListCustomersRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListCustomersMethod(), getCallOptions()), request); } /** + * + * *
      * Returns the requested [Customer][google.cloud.channel.v1.Customer]
      * resource.
@@ -5323,13 +6714,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture getCustomer(
-        com.google.cloud.channel.v1.GetCustomerRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        getCustomer(com.google.cloud.channel.v1.GetCustomerRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getGetCustomerMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Confirms the existence of Cloud Identity accounts based on the domain and
      * if the Cloud Identity accounts are owned by the reseller.
@@ -5348,13 +6741,18 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture checkCloudIdentityAccountsExist(
-        com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse>
+        checkCloudIdentityAccountsExist(
+            com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
-          getChannel().newCall(getCheckCloudIdentityAccountsExistMethod(), getCallOptions()), request);
+          getChannel().newCall(getCheckCloudIdentityAccountsExistMethod(), getCallOptions()),
+          request);
     }
 
     /**
+     *
+     *
      * 
      * Creates a new [Customer][google.cloud.channel.v1.Customer] resource under
      * the reseller or distributor account.
@@ -5368,13 +6766,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture createCustomer(
-        com.google.cloud.channel.v1.CreateCustomerRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        createCustomer(com.google.cloud.channel.v1.CreateCustomerRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCreateCustomerMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Updates an existing [Customer][google.cloud.channel.v1.Customer] resource
      * for the reseller or distributor.
@@ -5388,13 +6788,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture updateCustomer(
-        com.google.cloud.channel.v1.UpdateCustomerRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        updateCustomer(com.google.cloud.channel.v1.UpdateCustomerRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getUpdateCustomerMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Deletes the given [Customer][google.cloud.channel.v1.Customer] permanently.
      * Possible error codes:
@@ -5406,13 +6808,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture deleteCustomer(
-        com.google.cloud.channel.v1.DeleteCustomerRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        deleteCustomer(com.google.cloud.channel.v1.DeleteCustomerRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getDeleteCustomerMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Imports a [Customer][google.cloud.channel.v1.Customer] from the Cloud
      * Identity associated with the provided Cloud Identity ID or domain before a
@@ -5430,13 +6834,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture importCustomer(
-        com.google.cloud.channel.v1.ImportCustomerRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        importCustomer(com.google.cloud.channel.v1.ImportCustomerRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getImportCustomerMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Creates a Cloud Identity for the given customer using the customer's
      * information, or the information provided here.
@@ -5457,13 +6863,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture provisionCloudIdentity(
-        com.google.cloud.channel.v1.ProvisionCloudIdentityRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        provisionCloudIdentity(com.google.cloud.channel.v1.ProvisionCloudIdentityRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getProvisionCloudIdentityMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Lists [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to a
      * customer.
@@ -5475,13 +6883,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture listEntitlements(
-        com.google.cloud.channel.v1.ListEntitlementsRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.channel.v1.ListEntitlementsResponse>
+        listEntitlements(com.google.cloud.channel.v1.ListEntitlementsRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getListEntitlementsMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * List [TransferableSku][google.cloud.channel.v1.TransferableSku]s of a
      * customer based on the Cloud Identity ID or Customer Name in the request.
@@ -5500,13 +6911,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture listTransferableSkus(
-        com.google.cloud.channel.v1.ListTransferableSkusRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.channel.v1.ListTransferableSkusResponse>
+        listTransferableSkus(com.google.cloud.channel.v1.ListTransferableSkusRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getListTransferableSkusMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * List [TransferableOffer][google.cloud.channel.v1.TransferableOffer]s of a
      * customer based on Cloud Identity ID or Customer Name in the request.
@@ -5526,13 +6940,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture listTransferableOffers(
-        com.google.cloud.channel.v1.ListTransferableOffersRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.channel.v1.ListTransferableOffersResponse>
+        listTransferableOffers(com.google.cloud.channel.v1.ListTransferableOffersRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getListTransferableOffersMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Returns the requested [Entitlement][google.cloud.channel.v1.Entitlement]
      * resource.
@@ -5544,13 +6961,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture getEntitlement(
-        com.google.cloud.channel.v1.GetEntitlementRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.channel.v1.Entitlement>
+        getEntitlement(com.google.cloud.channel.v1.GetEntitlementRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getGetEntitlementMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Creates an entitlement for a customer.
      * Possible error codes:
@@ -5586,13 +7006,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture createEntitlement(
-        com.google.cloud.channel.v1.CreateEntitlementRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        createEntitlement(com.google.cloud.channel.v1.CreateEntitlementRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCreateEntitlementMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Change parameters of the entitlement.
      * An entitlement update is a long-running operation and it updates the
@@ -5614,13 +7036,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture changeParameters(
-        com.google.cloud.channel.v1.ChangeParametersRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        changeParameters(com.google.cloud.channel.v1.ChangeParametersRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getChangeParametersMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Updates the renewal settings for an existing customer entitlement.
      * An entitlement update is a long-running operation and it updates the
@@ -5642,13 +7066,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture changeRenewalSettings(
-        com.google.cloud.channel.v1.ChangeRenewalSettingsRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        changeRenewalSettings(com.google.cloud.channel.v1.ChangeRenewalSettingsRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getChangeRenewalSettingsMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Updates the Offer for an existing customer entitlement.
      * An entitlement update is a long-running operation and it updates the
@@ -5668,13 +7094,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture changeOffer(
-        com.google.cloud.channel.v1.ChangeOfferRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        changeOffer(com.google.cloud.channel.v1.ChangeOfferRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getChangeOfferMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Starts paid service for a trial entitlement.
      * Starts paid service for a trial entitlement immediately. This method is
@@ -5697,13 +7125,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture startPaidService(
-        com.google.cloud.channel.v1.StartPaidServiceRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        startPaidService(com.google.cloud.channel.v1.StartPaidServiceRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getStartPaidServiceMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Suspends a previously fulfilled entitlement.
      * An entitlement suspension is a long-running operation.
@@ -5723,13 +7153,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture suspendEntitlement(
-        com.google.cloud.channel.v1.SuspendEntitlementRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        suspendEntitlement(com.google.cloud.channel.v1.SuspendEntitlementRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getSuspendEntitlementMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Cancels a previously fulfilled entitlement.
      * An entitlement cancellation is a long-running operation.
@@ -5754,13 +7186,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture cancelEntitlement(
-        com.google.cloud.channel.v1.CancelEntitlementRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        cancelEntitlement(com.google.cloud.channel.v1.CancelEntitlementRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCancelEntitlementMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Activates a previously suspended entitlement. Entitlements suspended for
      * pending ToS acceptance can't be activated using this method.
@@ -5786,13 +7220,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture activateEntitlement(
-        com.google.cloud.channel.v1.ActivateEntitlementRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        activateEntitlement(com.google.cloud.channel.v1.ActivateEntitlementRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getActivateEntitlementMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Transfers customer entitlements to new reseller.
      * Possible error codes:
@@ -5821,13 +7257,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture transferEntitlements(
-        com.google.cloud.channel.v1.TransferEntitlementsRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        transferEntitlements(com.google.cloud.channel.v1.TransferEntitlementsRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getTransferEntitlementsMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Transfers customer entitlements from their current reseller to Google.
      * Possible error codes:
@@ -5856,13 +7294,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture transferEntitlementsToGoogle(
-        com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        transferEntitlementsToGoogle(
+            com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getTransferEntitlementsToGoogleMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * List [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s
      * belonging to a distributor. You must be a distributor to call this method.
@@ -5875,13 +7316,17 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture listChannelPartnerLinks(
-        com.google.cloud.channel.v1.ListChannelPartnerLinksRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.channel.v1.ListChannelPartnerLinksResponse>
+        listChannelPartnerLinks(
+            com.google.cloud.channel.v1.ListChannelPartnerLinksRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getListChannelPartnerLinksMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Returns the requested
      * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
@@ -5897,13 +7342,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture getChannelPartnerLink(
-        com.google.cloud.channel.v1.GetChannelPartnerLinkRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.channel.v1.ChannelPartnerLink>
+        getChannelPartnerLink(com.google.cloud.channel.v1.GetChannelPartnerLinkRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getGetChannelPartnerLinkMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Initiates a channel partner link between a distributor and a reseller, or
      * between resellers in an n-tier reseller channel.
@@ -5927,13 +7375,17 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture createChannelPartnerLink(
-        com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.channel.v1.ChannelPartnerLink>
+        createChannelPartnerLink(
+            com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCreateChannelPartnerLinkMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Updates a channel partner link. Distributors call this method to change a
      * link's status. For example, to suspend a partner link.
@@ -5956,13 +7408,17 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture updateChannelPartnerLink(
-        com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.channel.v1.ChannelPartnerLink>
+        updateChannelPartnerLink(
+            com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getUpdateChannelPartnerLinkMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Gets information about how a Reseller modifies their bill before sending
      * it to a Customer.
@@ -5980,13 +7436,17 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture getCustomerRepricingConfig(
-        com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.channel.v1.CustomerRepricingConfig>
+        getCustomerRepricingConfig(
+            com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getGetCustomerRepricingConfigMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Lists information about how a Reseller modifies their bill before sending
      * it to a Customer.
@@ -6010,13 +7470,17 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture listCustomerRepricingConfigs(
-        com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse>
+        listCustomerRepricingConfigs(
+            com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getListCustomerRepricingConfigsMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Creates a CustomerRepricingConfig. Call this method to set modifications
      * for a specific customer's bill. You can only create configs if the
@@ -6056,13 +7520,18 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture createCustomerRepricingConfig(
-        com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.channel.v1.CustomerRepricingConfig>
+        createCustomerRepricingConfig(
+            com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
-          getChannel().newCall(getCreateCustomerRepricingConfigMethod(), getCallOptions()), request);
+          getChannel().newCall(getCreateCustomerRepricingConfigMethod(), getCallOptions()),
+          request);
     }
 
     /**
+     *
+     *
      * 
      * Updates a CustomerRepricingConfig. Call this method to set modifications
      * for a specific customer's bill. This method overwrites the existing
@@ -6092,13 +7561,18 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture updateCustomerRepricingConfig(
-        com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.channel.v1.CustomerRepricingConfig>
+        updateCustomerRepricingConfig(
+            com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
-          getChannel().newCall(getUpdateCustomerRepricingConfigMethod(), getCallOptions()), request);
+          getChannel().newCall(getUpdateCustomerRepricingConfigMethod(), getCallOptions()),
+          request);
     }
 
     /**
+     *
+     *
      * 
      * Deletes the given
      * [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
@@ -6117,13 +7591,17 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture deleteCustomerRepricingConfig(
-        com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        deleteCustomerRepricingConfig(
+            com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
-          getChannel().newCall(getDeleteCustomerRepricingConfigMethod(), getCallOptions()), request);
+          getChannel().newCall(getDeleteCustomerRepricingConfigMethod(), getCallOptions()),
+          request);
     }
 
     /**
+     *
+     *
      * 
      * Gets information about how a Distributor modifies their bill before sending
      * it to a ChannelPartner.
@@ -6141,13 +7619,18 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture getChannelPartnerRepricingConfig(
-        com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>
+        getChannelPartnerRepricingConfig(
+            com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
-          getChannel().newCall(getGetChannelPartnerRepricingConfigMethod(), getCallOptions()), request);
+          getChannel().newCall(getGetChannelPartnerRepricingConfigMethod(), getCallOptions()),
+          request);
     }
 
     /**
+     *
+     *
      * 
      * Lists information about how a Reseller modifies their bill before sending
      * it to a ChannelPartner.
@@ -6170,13 +7653,18 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture listChannelPartnerRepricingConfigs(
-        com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse>
+        listChannelPartnerRepricingConfigs(
+            com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
-          getChannel().newCall(getListChannelPartnerRepricingConfigsMethod(), getCallOptions()), request);
+          getChannel().newCall(getListChannelPartnerRepricingConfigsMethod(), getCallOptions()),
+          request);
     }
 
     /**
+     *
+     *
      * 
      * Creates a ChannelPartnerRepricingConfig. Call this method to set
      * modifications for a specific ChannelPartner's bill. You can only create
@@ -6215,13 +7703,18 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture createChannelPartnerRepricingConfig(
-        com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>
+        createChannelPartnerRepricingConfig(
+            com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
-          getChannel().newCall(getCreateChannelPartnerRepricingConfigMethod(), getCallOptions()), request);
+          getChannel().newCall(getCreateChannelPartnerRepricingConfigMethod(), getCallOptions()),
+          request);
     }
 
     /**
+     *
+     *
      * 
      * Updates a ChannelPartnerRepricingConfig. Call this method to set
      * modifications for a specific ChannelPartner's bill. This method overwrites
@@ -6251,13 +7744,18 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture updateChannelPartnerRepricingConfig(
-        com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>
+        updateChannelPartnerRepricingConfig(
+            com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
-          getChannel().newCall(getUpdateChannelPartnerRepricingConfigMethod(), getCallOptions()), request);
+          getChannel().newCall(getUpdateChannelPartnerRepricingConfigMethod(), getCallOptions()),
+          request);
     }
 
     /**
+     *
+     *
      * 
      * Deletes the given
      * [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
@@ -6276,13 +7774,17 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture deleteChannelPartnerRepricingConfig(
-        com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        deleteChannelPartnerRepricingConfig(
+            com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
-          getChannel().newCall(getDeleteChannelPartnerRepricingConfigMethod(), getCallOptions()), request);
+          getChannel().newCall(getDeleteChannelPartnerRepricingConfigMethod(), getCallOptions()),
+          request);
     }
 
     /**
+     *
+     *
      * 
      * Returns the requested [Offer][google.cloud.channel.v1.Offer] resource.
      * Possible error codes:
@@ -6293,52 +7795,63 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture lookupOffer(
-        com.google.cloud.channel.v1.LookupOfferRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        lookupOffer(com.google.cloud.channel.v1.LookupOfferRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getLookupOfferMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Lists the Products the reseller is authorized to sell.
      * Possible error codes:
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listProducts( - com.google.cloud.channel.v1.ListProductsRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.channel.v1.ListProductsResponse> + listProducts(com.google.cloud.channel.v1.ListProductsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListProductsMethod(), getCallOptions()), request); } /** + * + * *
      * Lists the SKUs for a product the reseller is authorized to sell.
      * Possible error codes:
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listSkus( - com.google.cloud.channel.v1.ListSkusRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.channel.v1.ListSkusResponse> + listSkus(com.google.cloud.channel.v1.ListSkusRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListSkusMethod(), getCallOptions()), request); } /** + * + * *
      * Lists the Offers the reseller can sell.
      * Possible error codes:
      * * INVALID_ARGUMENT: Required request parameters are missing or invalid.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listOffers( - com.google.cloud.channel.v1.ListOffersRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.channel.v1.ListOffersResponse> + listOffers(com.google.cloud.channel.v1.ListOffersRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListOffersMethod(), getCallOptions()), request); } /** + * + * *
      * Lists the following:
      * * SKUs that you can purchase for a customer
@@ -6348,13 +7861,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture listPurchasableSkus(
-        com.google.cloud.channel.v1.ListPurchasableSkusRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.channel.v1.ListPurchasableSkusResponse>
+        listPurchasableSkus(com.google.cloud.channel.v1.ListPurchasableSkusRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getListPurchasableSkusMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Lists the following:
      * * Offers that you can purchase for a customer.
@@ -6364,13 +7880,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture listPurchasableOffers(
-        com.google.cloud.channel.v1.ListPurchasableOffersRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.channel.v1.ListPurchasableOffersResponse>
+        listPurchasableOffers(com.google.cloud.channel.v1.ListPurchasableOffersRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getListPurchasableOffersMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Registers a service account with subscriber privileges on the Cloud Pub/Sub
      * topic for this Channel Services account. After you create a
@@ -6389,13 +7908,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture registerSubscriber(
-        com.google.cloud.channel.v1.RegisterSubscriberRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.channel.v1.RegisterSubscriberResponse>
+        registerSubscriber(com.google.cloud.channel.v1.RegisterSubscriberRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getRegisterSubscriberMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Unregisters a service account with subscriber privileges on the Cloud
      * Pub/Sub topic created for this Channel Services account. If there are no
@@ -6417,13 +7939,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture unregisterSubscriber(
-        com.google.cloud.channel.v1.UnregisterSubscriberRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.channel.v1.UnregisterSubscriberResponse>
+        unregisterSubscriber(com.google.cloud.channel.v1.UnregisterSubscriberRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getUnregisterSubscriberMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Lists service accounts with subscriber privileges on the Cloud Pub/Sub
      * topic created for this Channel Services account.
@@ -6441,8 +7966,9 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture listSubscribers(
-        com.google.cloud.channel.v1.ListSubscribersRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.channel.v1.ListSubscribersResponse>
+        listSubscribers(com.google.cloud.channel.v1.ListSubscribersRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getListSubscribersMethod(), getCallOptions()), request);
     }
@@ -6494,11 +8020,11 @@ public com.google.common.util.concurrent.ListenableFuture implements
-      io.grpc.stub.ServerCalls.UnaryMethod,
-      io.grpc.stub.ServerCalls.ServerStreamingMethod,
-      io.grpc.stub.ServerCalls.ClientStreamingMethod,
-      io.grpc.stub.ServerCalls.BidiStreamingMethod {
+  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 CloudChannelServiceImplBase serviceImpl;
     private final int methodId;
 
@@ -6512,184 +8038,266 @@ private static final class MethodHandlers implements
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_LIST_CUSTOMERS:
-          serviceImpl.listCustomers((com.google.cloud.channel.v1.ListCustomersRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listCustomers(
+              (com.google.cloud.channel.v1.ListCustomersRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_GET_CUSTOMER:
-          serviceImpl.getCustomer((com.google.cloud.channel.v1.GetCustomerRequest) request,
+          serviceImpl.getCustomer(
+              (com.google.cloud.channel.v1.GetCustomerRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CHECK_CLOUD_IDENTITY_ACCOUNTS_EXIST:
-          serviceImpl.checkCloudIdentityAccountsExist((com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.checkCloudIdentityAccountsExist(
+              (com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest) request,
+              (io.grpc.stub.StreamObserver<
+                      com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse>)
+                  responseObserver);
           break;
         case METHODID_CREATE_CUSTOMER:
-          serviceImpl.createCustomer((com.google.cloud.channel.v1.CreateCustomerRequest) request,
+          serviceImpl.createCustomer(
+              (com.google.cloud.channel.v1.CreateCustomerRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_UPDATE_CUSTOMER:
-          serviceImpl.updateCustomer((com.google.cloud.channel.v1.UpdateCustomerRequest) request,
+          serviceImpl.updateCustomer(
+              (com.google.cloud.channel.v1.UpdateCustomerRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_CUSTOMER:
-          serviceImpl.deleteCustomer((com.google.cloud.channel.v1.DeleteCustomerRequest) request,
+          serviceImpl.deleteCustomer(
+              (com.google.cloud.channel.v1.DeleteCustomerRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_IMPORT_CUSTOMER:
-          serviceImpl.importCustomer((com.google.cloud.channel.v1.ImportCustomerRequest) request,
+          serviceImpl.importCustomer(
+              (com.google.cloud.channel.v1.ImportCustomerRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PROVISION_CLOUD_IDENTITY:
-          serviceImpl.provisionCloudIdentity((com.google.cloud.channel.v1.ProvisionCloudIdentityRequest) request,
+          serviceImpl.provisionCloudIdentity(
+              (com.google.cloud.channel.v1.ProvisionCloudIdentityRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_LIST_ENTITLEMENTS:
-          serviceImpl.listEntitlements((com.google.cloud.channel.v1.ListEntitlementsRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listEntitlements(
+              (com.google.cloud.channel.v1.ListEntitlementsRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_LIST_TRANSFERABLE_SKUS:
-          serviceImpl.listTransferableSkus((com.google.cloud.channel.v1.ListTransferableSkusRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listTransferableSkus(
+              (com.google.cloud.channel.v1.ListTransferableSkusRequest) request,
+              (io.grpc.stub.StreamObserver<
+                      com.google.cloud.channel.v1.ListTransferableSkusResponse>)
+                  responseObserver);
           break;
         case METHODID_LIST_TRANSFERABLE_OFFERS:
-          serviceImpl.listTransferableOffers((com.google.cloud.channel.v1.ListTransferableOffersRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listTransferableOffers(
+              (com.google.cloud.channel.v1.ListTransferableOffersRequest) request,
+              (io.grpc.stub.StreamObserver<
+                      com.google.cloud.channel.v1.ListTransferableOffersResponse>)
+                  responseObserver);
           break;
         case METHODID_GET_ENTITLEMENT:
-          serviceImpl.getEntitlement((com.google.cloud.channel.v1.GetEntitlementRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.getEntitlement(
+              (com.google.cloud.channel.v1.GetEntitlementRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_CREATE_ENTITLEMENT:
-          serviceImpl.createEntitlement((com.google.cloud.channel.v1.CreateEntitlementRequest) request,
+          serviceImpl.createEntitlement(
+              (com.google.cloud.channel.v1.CreateEntitlementRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CHANGE_PARAMETERS:
-          serviceImpl.changeParameters((com.google.cloud.channel.v1.ChangeParametersRequest) request,
+          serviceImpl.changeParameters(
+              (com.google.cloud.channel.v1.ChangeParametersRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CHANGE_RENEWAL_SETTINGS:
-          serviceImpl.changeRenewalSettings((com.google.cloud.channel.v1.ChangeRenewalSettingsRequest) request,
+          serviceImpl.changeRenewalSettings(
+              (com.google.cloud.channel.v1.ChangeRenewalSettingsRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CHANGE_OFFER:
-          serviceImpl.changeOffer((com.google.cloud.channel.v1.ChangeOfferRequest) request,
+          serviceImpl.changeOffer(
+              (com.google.cloud.channel.v1.ChangeOfferRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_START_PAID_SERVICE:
-          serviceImpl.startPaidService((com.google.cloud.channel.v1.StartPaidServiceRequest) request,
+          serviceImpl.startPaidService(
+              (com.google.cloud.channel.v1.StartPaidServiceRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_SUSPEND_ENTITLEMENT:
-          serviceImpl.suspendEntitlement((com.google.cloud.channel.v1.SuspendEntitlementRequest) request,
+          serviceImpl.suspendEntitlement(
+              (com.google.cloud.channel.v1.SuspendEntitlementRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CANCEL_ENTITLEMENT:
-          serviceImpl.cancelEntitlement((com.google.cloud.channel.v1.CancelEntitlementRequest) request,
+          serviceImpl.cancelEntitlement(
+              (com.google.cloud.channel.v1.CancelEntitlementRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_ACTIVATE_ENTITLEMENT:
-          serviceImpl.activateEntitlement((com.google.cloud.channel.v1.ActivateEntitlementRequest) request,
+          serviceImpl.activateEntitlement(
+              (com.google.cloud.channel.v1.ActivateEntitlementRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_TRANSFER_ENTITLEMENTS:
-          serviceImpl.transferEntitlements((com.google.cloud.channel.v1.TransferEntitlementsRequest) request,
+          serviceImpl.transferEntitlements(
+              (com.google.cloud.channel.v1.TransferEntitlementsRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_TRANSFER_ENTITLEMENTS_TO_GOOGLE:
-          serviceImpl.transferEntitlementsToGoogle((com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest) request,
+          serviceImpl.transferEntitlementsToGoogle(
+              (com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_LIST_CHANNEL_PARTNER_LINKS:
-          serviceImpl.listChannelPartnerLinks((com.google.cloud.channel.v1.ListChannelPartnerLinksRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listChannelPartnerLinks(
+              (com.google.cloud.channel.v1.ListChannelPartnerLinksRequest) request,
+              (io.grpc.stub.StreamObserver<
+                      com.google.cloud.channel.v1.ListChannelPartnerLinksResponse>)
+                  responseObserver);
           break;
         case METHODID_GET_CHANNEL_PARTNER_LINK:
-          serviceImpl.getChannelPartnerLink((com.google.cloud.channel.v1.GetChannelPartnerLinkRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.getChannelPartnerLink(
+              (com.google.cloud.channel.v1.GetChannelPartnerLinkRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_CREATE_CHANNEL_PARTNER_LINK:
-          serviceImpl.createChannelPartnerLink((com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.createChannelPartnerLink(
+              (com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_UPDATE_CHANNEL_PARTNER_LINK:
-          serviceImpl.updateChannelPartnerLink((com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.updateChannelPartnerLink(
+              (com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_GET_CUSTOMER_REPRICING_CONFIG:
-          serviceImpl.getCustomerRepricingConfig((com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.getCustomerRepricingConfig(
+              (com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_LIST_CUSTOMER_REPRICING_CONFIGS:
-          serviceImpl.listCustomerRepricingConfigs((com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listCustomerRepricingConfigs(
+              (com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest) request,
+              (io.grpc.stub.StreamObserver<
+                      com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse>)
+                  responseObserver);
           break;
         case METHODID_CREATE_CUSTOMER_REPRICING_CONFIG:
-          serviceImpl.createCustomerRepricingConfig((com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.createCustomerRepricingConfig(
+              (com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_UPDATE_CUSTOMER_REPRICING_CONFIG:
-          serviceImpl.updateCustomerRepricingConfig((com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.updateCustomerRepricingConfig(
+              (com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_DELETE_CUSTOMER_REPRICING_CONFIG:
-          serviceImpl.deleteCustomerRepricingConfig((com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest) request,
+          serviceImpl.deleteCustomerRepricingConfig(
+              (com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_CHANNEL_PARTNER_REPRICING_CONFIG:
-          serviceImpl.getChannelPartnerRepricingConfig((com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.getChannelPartnerRepricingConfig(
+              (com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest) request,
+              (io.grpc.stub.StreamObserver<
+                      com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>)
+                  responseObserver);
           break;
         case METHODID_LIST_CHANNEL_PARTNER_REPRICING_CONFIGS:
-          serviceImpl.listChannelPartnerRepricingConfigs((com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listChannelPartnerRepricingConfigs(
+              (com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest) request,
+              (io.grpc.stub.StreamObserver<
+                      com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse>)
+                  responseObserver);
           break;
         case METHODID_CREATE_CHANNEL_PARTNER_REPRICING_CONFIG:
-          serviceImpl.createChannelPartnerRepricingConfig((com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.createChannelPartnerRepricingConfig(
+              (com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest) request,
+              (io.grpc.stub.StreamObserver<
+                      com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>)
+                  responseObserver);
           break;
         case METHODID_UPDATE_CHANNEL_PARTNER_REPRICING_CONFIG:
-          serviceImpl.updateChannelPartnerRepricingConfig((com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.updateChannelPartnerRepricingConfig(
+              (com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest) request,
+              (io.grpc.stub.StreamObserver<
+                      com.google.cloud.channel.v1.ChannelPartnerRepricingConfig>)
+                  responseObserver);
           break;
         case METHODID_DELETE_CHANNEL_PARTNER_REPRICING_CONFIG:
-          serviceImpl.deleteChannelPartnerRepricingConfig((com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest) request,
+          serviceImpl.deleteChannelPartnerRepricingConfig(
+              (com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_LOOKUP_OFFER:
-          serviceImpl.lookupOffer((com.google.cloud.channel.v1.LookupOfferRequest) request,
+          serviceImpl.lookupOffer(
+              (com.google.cloud.channel.v1.LookupOfferRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_LIST_PRODUCTS:
-          serviceImpl.listProducts((com.google.cloud.channel.v1.ListProductsRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listProducts(
+              (com.google.cloud.channel.v1.ListProductsRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_LIST_SKUS:
-          serviceImpl.listSkus((com.google.cloud.channel.v1.ListSkusRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listSkus(
+              (com.google.cloud.channel.v1.ListSkusRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_LIST_OFFERS:
-          serviceImpl.listOffers((com.google.cloud.channel.v1.ListOffersRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listOffers(
+              (com.google.cloud.channel.v1.ListOffersRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_LIST_PURCHASABLE_SKUS:
-          serviceImpl.listPurchasableSkus((com.google.cloud.channel.v1.ListPurchasableSkusRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listPurchasableSkus(
+              (com.google.cloud.channel.v1.ListPurchasableSkusRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_LIST_PURCHASABLE_OFFERS:
-          serviceImpl.listPurchasableOffers((com.google.cloud.channel.v1.ListPurchasableOffersRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listPurchasableOffers(
+              (com.google.cloud.channel.v1.ListPurchasableOffersRequest) request,
+              (io.grpc.stub.StreamObserver<
+                      com.google.cloud.channel.v1.ListPurchasableOffersResponse>)
+                  responseObserver);
           break;
         case METHODID_REGISTER_SUBSCRIBER:
-          serviceImpl.registerSubscriber((com.google.cloud.channel.v1.RegisterSubscriberRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.registerSubscriber(
+              (com.google.cloud.channel.v1.RegisterSubscriberRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_UNREGISTER_SUBSCRIBER:
-          serviceImpl.unregisterSubscriber((com.google.cloud.channel.v1.UnregisterSubscriberRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.unregisterSubscriber(
+              (com.google.cloud.channel.v1.UnregisterSubscriberRequest) request,
+              (io.grpc.stub.StreamObserver<
+                      com.google.cloud.channel.v1.UnregisterSubscriberResponse>)
+                  responseObserver);
           break;
         case METHODID_LIST_SUBSCRIBERS:
-          serviceImpl.listSubscribers((com.google.cloud.channel.v1.ListSubscribersRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listSubscribers(
+              (com.google.cloud.channel.v1.ListSubscribersRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         default:
           throw new AssertionError();
@@ -6707,8 +8315,9 @@ public io.grpc.stub.StreamObserver invoke(
     }
   }
 
-  private static abstract class CloudChannelServiceBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private abstract static class CloudChannelServiceBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
+          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     CloudChannelServiceBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -6750,54 +8359,56 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (CloudChannelServiceGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-              .setSchemaDescriptor(new CloudChannelServiceFileDescriptorSupplier())
-              .addMethod(getListCustomersMethod())
-              .addMethod(getGetCustomerMethod())
-              .addMethod(getCheckCloudIdentityAccountsExistMethod())
-              .addMethod(getCreateCustomerMethod())
-              .addMethod(getUpdateCustomerMethod())
-              .addMethod(getDeleteCustomerMethod())
-              .addMethod(getImportCustomerMethod())
-              .addMethod(getProvisionCloudIdentityMethod())
-              .addMethod(getListEntitlementsMethod())
-              .addMethod(getListTransferableSkusMethod())
-              .addMethod(getListTransferableOffersMethod())
-              .addMethod(getGetEntitlementMethod())
-              .addMethod(getCreateEntitlementMethod())
-              .addMethod(getChangeParametersMethod())
-              .addMethod(getChangeRenewalSettingsMethod())
-              .addMethod(getChangeOfferMethod())
-              .addMethod(getStartPaidServiceMethod())
-              .addMethod(getSuspendEntitlementMethod())
-              .addMethod(getCancelEntitlementMethod())
-              .addMethod(getActivateEntitlementMethod())
-              .addMethod(getTransferEntitlementsMethod())
-              .addMethod(getTransferEntitlementsToGoogleMethod())
-              .addMethod(getListChannelPartnerLinksMethod())
-              .addMethod(getGetChannelPartnerLinkMethod())
-              .addMethod(getCreateChannelPartnerLinkMethod())
-              .addMethod(getUpdateChannelPartnerLinkMethod())
-              .addMethod(getGetCustomerRepricingConfigMethod())
-              .addMethod(getListCustomerRepricingConfigsMethod())
-              .addMethod(getCreateCustomerRepricingConfigMethod())
-              .addMethod(getUpdateCustomerRepricingConfigMethod())
-              .addMethod(getDeleteCustomerRepricingConfigMethod())
-              .addMethod(getGetChannelPartnerRepricingConfigMethod())
-              .addMethod(getListChannelPartnerRepricingConfigsMethod())
-              .addMethod(getCreateChannelPartnerRepricingConfigMethod())
-              .addMethod(getUpdateChannelPartnerRepricingConfigMethod())
-              .addMethod(getDeleteChannelPartnerRepricingConfigMethod())
-              .addMethod(getLookupOfferMethod())
-              .addMethod(getListProductsMethod())
-              .addMethod(getListSkusMethod())
-              .addMethod(getListOffersMethod())
-              .addMethod(getListPurchasableSkusMethod())
-              .addMethod(getListPurchasableOffersMethod())
-              .addMethod(getRegisterSubscriberMethod())
-              .addMethod(getUnregisterSubscriberMethod())
-              .addMethod(getListSubscribersMethod())
-              .build();
+          serviceDescriptor =
+              result =
+                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+                      .setSchemaDescriptor(new CloudChannelServiceFileDescriptorSupplier())
+                      .addMethod(getListCustomersMethod())
+                      .addMethod(getGetCustomerMethod())
+                      .addMethod(getCheckCloudIdentityAccountsExistMethod())
+                      .addMethod(getCreateCustomerMethod())
+                      .addMethod(getUpdateCustomerMethod())
+                      .addMethod(getDeleteCustomerMethod())
+                      .addMethod(getImportCustomerMethod())
+                      .addMethod(getProvisionCloudIdentityMethod())
+                      .addMethod(getListEntitlementsMethod())
+                      .addMethod(getListTransferableSkusMethod())
+                      .addMethod(getListTransferableOffersMethod())
+                      .addMethod(getGetEntitlementMethod())
+                      .addMethod(getCreateEntitlementMethod())
+                      .addMethod(getChangeParametersMethod())
+                      .addMethod(getChangeRenewalSettingsMethod())
+                      .addMethod(getChangeOfferMethod())
+                      .addMethod(getStartPaidServiceMethod())
+                      .addMethod(getSuspendEntitlementMethod())
+                      .addMethod(getCancelEntitlementMethod())
+                      .addMethod(getActivateEntitlementMethod())
+                      .addMethod(getTransferEntitlementsMethod())
+                      .addMethod(getTransferEntitlementsToGoogleMethod())
+                      .addMethod(getListChannelPartnerLinksMethod())
+                      .addMethod(getGetChannelPartnerLinkMethod())
+                      .addMethod(getCreateChannelPartnerLinkMethod())
+                      .addMethod(getUpdateChannelPartnerLinkMethod())
+                      .addMethod(getGetCustomerRepricingConfigMethod())
+                      .addMethod(getListCustomerRepricingConfigsMethod())
+                      .addMethod(getCreateCustomerRepricingConfigMethod())
+                      .addMethod(getUpdateCustomerRepricingConfigMethod())
+                      .addMethod(getDeleteCustomerRepricingConfigMethod())
+                      .addMethod(getGetChannelPartnerRepricingConfigMethod())
+                      .addMethod(getListChannelPartnerRepricingConfigsMethod())
+                      .addMethod(getCreateChannelPartnerRepricingConfigMethod())
+                      .addMethod(getUpdateChannelPartnerRepricingConfigMethod())
+                      .addMethod(getDeleteChannelPartnerRepricingConfigMethod())
+                      .addMethod(getLookupOfferMethod())
+                      .addMethod(getListProductsMethod())
+                      .addMethod(getListSkusMethod())
+                      .addMethod(getListOffersMethod())
+                      .addMethod(getListPurchasableSkusMethod())
+                      .addMethod(getListPurchasableOffersMethod())
+                      .addMethod(getRegisterSubscriberMethod())
+                      .addMethod(getUnregisterSubscriberMethod())
+                      .addMethod(getListSubscribersMethod())
+                      .build();
         }
       }
     }
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequest.java
similarity index 72%
rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequest.java
rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequest.java
index aa9c41b27088..aad17d7fb5c2 100644
--- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequest.java
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequest.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/cloud/channel/v1/service.proto
 
 package com.google.cloud.channel.v1;
 
 /**
+ *
+ *
  * 
  * Request message for
  * [CloudChannelService.ActivateEntitlement][google.cloud.channel.v1.CloudChannelService.ActivateEntitlement].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.ActivateEntitlementRequest}
  */
-public final class ActivateEntitlementRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ActivateEntitlementRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ActivateEntitlementRequest)
     ActivateEntitlementRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ActivateEntitlementRequest.newBuilder() to construct.
   private ActivateEntitlementRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ActivateEntitlementRequest() {
     name_ = "";
     requestId_ = "";
@@ -27,32 +45,35 @@ private ActivateEntitlementRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ActivateEntitlementRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.ActivateEntitlementRequest.class, com.google.cloud.channel.v1.ActivateEntitlementRequest.Builder.class);
+            com.google.cloud.channel.v1.ActivateEntitlementRequest.class,
+            com.google.cloud.channel.v1.ActivateEntitlementRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The resource name of the entitlement to activate.
    * Name uses the format:
@@ -60,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -68,14 +90,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the entitlement to activate.
    * Name uses the format:
@@ -83,16 +106,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -103,6 +125,8 @@ public java.lang.String getName() { public static final int REQUEST_ID_FIELD_NUMBER = 3; private volatile java.lang.Object requestId_; /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -117,6 +141,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -125,14 +150,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -147,16 +173,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -165,6 +190,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -176,8 +202,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -207,17 +232,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.ActivateEntitlementRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ActivateEntitlementRequest other = (com.google.cloud.channel.v1.ActivateEntitlementRequest) obj; + com.google.cloud.channel.v1.ActivateEntitlementRequest other = + (com.google.cloud.channel.v1.ActivateEntitlementRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -239,96 +263,104 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ActivateEntitlementRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ActivateEntitlementRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ActivateEntitlementRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ActivateEntitlementRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ActivateEntitlementRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ActivateEntitlementRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ActivateEntitlementRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ActivateEntitlementRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ActivateEntitlementRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ActivateEntitlementRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ActivateEntitlementRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ActivateEntitlementRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ActivateEntitlementRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ActivateEntitlementRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ActivateEntitlementRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.ActivateEntitlementRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelService.ActivateEntitlement][google.cloud.channel.v1.CloudChannelService.ActivateEntitlement].
@@ -336,33 +368,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.ActivateEntitlementRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ActivateEntitlementRequest)
       com.google.cloud.channel.v1.ActivateEntitlementRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.ActivateEntitlementRequest.class, com.google.cloud.channel.v1.ActivateEntitlementRequest.Builder.class);
+              com.google.cloud.channel.v1.ActivateEntitlementRequest.class,
+              com.google.cloud.channel.v1.ActivateEntitlementRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.ActivateEntitlementRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -374,9 +405,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_descriptor;
     }
 
     @java.lang.Override
@@ -395,7 +426,8 @@ public com.google.cloud.channel.v1.ActivateEntitlementRequest build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.ActivateEntitlementRequest buildPartial() {
-      com.google.cloud.channel.v1.ActivateEntitlementRequest result = new com.google.cloud.channel.v1.ActivateEntitlementRequest(this);
+      com.google.cloud.channel.v1.ActivateEntitlementRequest result =
+          new com.google.cloud.channel.v1.ActivateEntitlementRequest(this);
       result.name_ = name_;
       result.requestId_ = requestId_;
       onBuilt();
@@ -406,38 +438,39 @@ public com.google.cloud.channel.v1.ActivateEntitlementRequest 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.cloud.channel.v1.ActivateEntitlementRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.ActivateEntitlementRequest)other);
+        return mergeFrom((com.google.cloud.channel.v1.ActivateEntitlementRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -445,7 +478,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.ActivateEntitlementRequest other) {
-      if (other == com.google.cloud.channel.v1.ActivateEntitlementRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.ActivateEntitlementRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -480,22 +514,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 26: {
-              requestId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 26:
+              {
+                requestId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -508,6 +545,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The resource name of the entitlement to activate.
      * Name uses the format:
@@ -515,13 +554,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -530,6 +569,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the entitlement to activate.
      * Name uses the format:
@@ -537,15 +578,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -553,6 +593,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the entitlement to activate.
      * Name uses the format:
@@ -560,20 +602,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 entitlement to activate.
      * Name uses the format:
@@ -581,15 +625,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the entitlement to activate.
      * Name uses the format:
@@ -597,16 +644,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -614,6 +661,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -628,13 +677,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -643,6 +692,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -657,15 +708,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -673,6 +723,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -687,20 +739,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -715,15 +769,18 @@ public Builder setRequestId(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -738,23 +795,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -764,12 +821,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ActivateEntitlementRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ActivateEntitlementRequest) private static final com.google.cloud.channel.v1.ActivateEntitlementRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ActivateEntitlementRequest(); } @@ -778,27 +835,27 @@ public static com.google.cloud.channel.v1.ActivateEntitlementRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ActivateEntitlementRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ActivateEntitlementRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -813,6 +870,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.channel.v1.ActivateEntitlementRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequestOrBuilder.java index a72e958c19f0..c0a64e0e9af5 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ActivateEntitlementRequestOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ActivateEntitlementRequestOrBuilder extends +public interface ActivateEntitlementRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ActivateEntitlementRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the entitlement to activate.
    * Name uses the format:
@@ -15,10 +33,13 @@ public interface ActivateEntitlementRequestOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the entitlement to activate.
    * Name uses the format:
@@ -26,12 +47,14 @@ public interface ActivateEntitlementRequestOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -46,10 +69,13 @@ public interface ActivateEntitlementRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -64,8 +90,8 @@ public interface ActivateEntitlementRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUser.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUser.java similarity index 67% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUser.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUser.java index e9cabe3f2795..8f1d9d796cbc 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUser.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUser.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/cloud/channel/v1/common.proto package com.google.cloud.channel.v1; /** + * + * *
  * Information needed to create an Admin User for Google Workspace.
  * 
* * Protobuf type {@code google.cloud.channel.v1.AdminUser} */ -public final class AdminUser extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AdminUser extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.AdminUser) AdminUserOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AdminUser.newBuilder() to construct. private AdminUser(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AdminUser() { email_ = ""; givenName_ = ""; @@ -27,37 +45,41 @@ private AdminUser() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AdminUser(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_AdminUser_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.CommonProto + .internal_static_google_cloud_channel_v1_AdminUser_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_AdminUser_fieldAccessorTable + return com.google.cloud.channel.v1.CommonProto + .internal_static_google_cloud_channel_v1_AdminUser_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.AdminUser.class, com.google.cloud.channel.v1.AdminUser.Builder.class); + com.google.cloud.channel.v1.AdminUser.class, + com.google.cloud.channel.v1.AdminUser.Builder.class); } public static final int EMAIL_FIELD_NUMBER = 1; private volatile java.lang.Object email_; /** + * + * *
    * Primary email of the admin user.
    * 
* * string email = 1; + * * @return The email. */ @java.lang.Override @@ -66,29 +88,29 @@ public java.lang.String getEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); email_ = s; return s; } } /** + * + * *
    * Primary email of the admin user.
    * 
* * string email = 1; + * * @return The bytes for email. */ @java.lang.Override - public com.google.protobuf.ByteString - getEmailBytes() { + public com.google.protobuf.ByteString getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); email_ = b; return b; } else { @@ -99,11 +121,14 @@ public java.lang.String getEmail() { public static final int GIVEN_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object givenName_; /** + * + * *
    * Given name of the admin user.
    * 
* * string given_name = 2; + * * @return The givenName. */ @java.lang.Override @@ -112,29 +137,29 @@ public java.lang.String getGivenName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); givenName_ = s; return s; } } /** + * + * *
    * Given name of the admin user.
    * 
* * string given_name = 2; + * * @return The bytes for givenName. */ @java.lang.Override - public com.google.protobuf.ByteString - getGivenNameBytes() { + public com.google.protobuf.ByteString getGivenNameBytes() { java.lang.Object ref = givenName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); givenName_ = b; return b; } else { @@ -145,11 +170,14 @@ public java.lang.String getGivenName() { public static final int FAMILY_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object familyName_; /** + * + * *
    * Family name of the admin user.
    * 
* * string family_name = 3; + * * @return The familyName. */ @java.lang.Override @@ -158,29 +186,29 @@ public java.lang.String getFamilyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; } } /** + * + * *
    * Family name of the admin user.
    * 
* * string family_name = 3; + * * @return The bytes for familyName. */ @java.lang.Override - public com.google.protobuf.ByteString - getFamilyNameBytes() { + public com.google.protobuf.ByteString getFamilyNameBytes() { java.lang.Object ref = familyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); familyName_ = b; return b; } else { @@ -189,6 +217,7 @@ public java.lang.String getFamilyName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,8 +229,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(email_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, email_); } @@ -237,19 +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.cloud.channel.v1.AdminUser)) { return super.equals(obj); } com.google.cloud.channel.v1.AdminUser other = (com.google.cloud.channel.v1.AdminUser) obj; - if (!getEmail() - .equals(other.getEmail())) return false; - if (!getGivenName() - .equals(other.getGivenName())) return false; - if (!getFamilyName() - .equals(other.getFamilyName())) return false; + if (!getEmail().equals(other.getEmail())) return false; + if (!getGivenName().equals(other.getGivenName())) return false; + if (!getFamilyName().equals(other.getFamilyName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -272,130 +297,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.AdminUser parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.AdminUser parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.AdminUser parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.AdminUser parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.channel.v1.AdminUser parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.AdminUser parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.AdminUser parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.AdminUser parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.AdminUser 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.cloud.channel.v1.AdminUser parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.AdminUser parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.AdminUser parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.AdminUser parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.AdminUser parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.AdminUser prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Information needed to create an Admin User for Google Workspace.
    * 
* * Protobuf type {@code google.cloud.channel.v1.AdminUser} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.AdminUser) com.google.cloud.channel.v1.AdminUserOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_AdminUser_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.CommonProto + .internal_static_google_cloud_channel_v1_AdminUser_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_AdminUser_fieldAccessorTable + return com.google.cloud.channel.v1.CommonProto + .internal_static_google_cloud_channel_v1_AdminUser_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.AdminUser.class, com.google.cloud.channel.v1.AdminUser.Builder.class); + com.google.cloud.channel.v1.AdminUser.class, + com.google.cloud.channel.v1.AdminUser.Builder.class); } // Construct using com.google.cloud.channel.v1.AdminUser.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -409,9 +439,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_AdminUser_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.CommonProto + .internal_static_google_cloud_channel_v1_AdminUser_descriptor; } @java.lang.Override @@ -430,7 +460,8 @@ public com.google.cloud.channel.v1.AdminUser build() { @java.lang.Override public com.google.cloud.channel.v1.AdminUser buildPartial() { - com.google.cloud.channel.v1.AdminUser result = new com.google.cloud.channel.v1.AdminUser(this); + com.google.cloud.channel.v1.AdminUser result = + new com.google.cloud.channel.v1.AdminUser(this); result.email_ = email_; result.givenName_ = givenName_; result.familyName_ = familyName_; @@ -442,38 +473,39 @@ public com.google.cloud.channel.v1.AdminUser 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.cloud.channel.v1.AdminUser) { - return mergeFrom((com.google.cloud.channel.v1.AdminUser)other); + return mergeFrom((com.google.cloud.channel.v1.AdminUser) other); } else { super.mergeFrom(other); return this; @@ -520,27 +552,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - email_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - givenName_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - familyName_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + email_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + givenName_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + familyName_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -553,18 +589,20 @@ public Builder mergeFrom( private java.lang.Object email_ = ""; /** + * + * *
      * Primary email of the admin user.
      * 
* * string email = 1; + * * @return The email. */ public java.lang.String getEmail() { java.lang.Object ref = email_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); email_ = s; return s; @@ -573,20 +611,21 @@ public java.lang.String getEmail() { } } /** + * + * *
      * Primary email of the admin user.
      * 
* * string email = 1; + * * @return The bytes for email. */ - public com.google.protobuf.ByteString - getEmailBytes() { + public com.google.protobuf.ByteString getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); email_ = b; return b; } else { @@ -594,54 +633,61 @@ public java.lang.String getEmail() { } } /** + * + * *
      * Primary email of the admin user.
      * 
* * string email = 1; + * * @param value The email to set. * @return This builder for chaining. */ - public Builder setEmail( - java.lang.String value) { + public Builder setEmail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + email_ = value; onChanged(); return this; } /** + * + * *
      * Primary email of the admin user.
      * 
* * string email = 1; + * * @return This builder for chaining. */ public Builder clearEmail() { - + email_ = getDefaultInstance().getEmail(); onChanged(); return this; } /** + * + * *
      * Primary email of the admin user.
      * 
* * string email = 1; + * * @param value The bytes for email to set. * @return This builder for chaining. */ - public Builder setEmailBytes( - com.google.protobuf.ByteString value) { + public Builder setEmailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + email_ = value; onChanged(); return this; @@ -649,18 +695,20 @@ public Builder setEmailBytes( private java.lang.Object givenName_ = ""; /** + * + * *
      * Given name of the admin user.
      * 
* * string given_name = 2; + * * @return The givenName. */ public java.lang.String getGivenName() { java.lang.Object ref = givenName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); givenName_ = s; return s; @@ -669,20 +717,21 @@ public java.lang.String getGivenName() { } } /** + * + * *
      * Given name of the admin user.
      * 
* * string given_name = 2; + * * @return The bytes for givenName. */ - public com.google.protobuf.ByteString - getGivenNameBytes() { + public com.google.protobuf.ByteString getGivenNameBytes() { java.lang.Object ref = givenName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); givenName_ = b; return b; } else { @@ -690,54 +739,61 @@ public java.lang.String getGivenName() { } } /** + * + * *
      * Given name of the admin user.
      * 
* * string given_name = 2; + * * @param value The givenName to set. * @return This builder for chaining. */ - public Builder setGivenName( - java.lang.String value) { + public Builder setGivenName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + givenName_ = value; onChanged(); return this; } /** + * + * *
      * Given name of the admin user.
      * 
* * string given_name = 2; + * * @return This builder for chaining. */ public Builder clearGivenName() { - + givenName_ = getDefaultInstance().getGivenName(); onChanged(); return this; } /** + * + * *
      * Given name of the admin user.
      * 
* * string given_name = 2; + * * @param value The bytes for givenName to set. * @return This builder for chaining. */ - public Builder setGivenNameBytes( - com.google.protobuf.ByteString value) { + public Builder setGivenNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + givenName_ = value; onChanged(); return this; @@ -745,18 +801,20 @@ public Builder setGivenNameBytes( private java.lang.Object familyName_ = ""; /** + * + * *
      * Family name of the admin user.
      * 
* * string family_name = 3; + * * @return The familyName. */ public java.lang.String getFamilyName() { java.lang.Object ref = familyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; @@ -765,20 +823,21 @@ public java.lang.String getFamilyName() { } } /** + * + * *
      * Family name of the admin user.
      * 
* * string family_name = 3; + * * @return The bytes for familyName. */ - public com.google.protobuf.ByteString - getFamilyNameBytes() { + public com.google.protobuf.ByteString getFamilyNameBytes() { java.lang.Object ref = familyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); familyName_ = b; return b; } else { @@ -786,61 +845,68 @@ public java.lang.String getFamilyName() { } } /** + * + * *
      * Family name of the admin user.
      * 
* * string family_name = 3; + * * @param value The familyName to set. * @return This builder for chaining. */ - public Builder setFamilyName( - java.lang.String value) { + public Builder setFamilyName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + familyName_ = value; onChanged(); return this; } /** + * + * *
      * Family name of the admin user.
      * 
* * string family_name = 3; + * * @return This builder for chaining. */ public Builder clearFamilyName() { - + familyName_ = getDefaultInstance().getFamilyName(); onChanged(); return this; } /** + * + * *
      * Family name of the admin user.
      * 
* * string family_name = 3; + * * @param value The bytes for familyName to set. * @return This builder for chaining. */ - public Builder setFamilyNameBytes( - com.google.protobuf.ByteString value) { + public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + familyName_ = 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); } @@ -850,12 +916,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.AdminUser) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.AdminUser) private static final com.google.cloud.channel.v1.AdminUser DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.AdminUser(); } @@ -864,27 +930,27 @@ public static com.google.cloud.channel.v1.AdminUser getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AdminUser parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AdminUser parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -899,6 +965,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.AdminUser getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUserOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUserOrBuilder.java similarity index 58% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUserOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUserOrBuilder.java index 3ab38301b88f..21dbdf6937a3 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUserOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AdminUserOrBuilder.java @@ -1,69 +1,100 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/common.proto package com.google.cloud.channel.v1; -public interface AdminUserOrBuilder extends +public interface AdminUserOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.AdminUser) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Primary email of the admin user.
    * 
* * string email = 1; + * * @return The email. */ java.lang.String getEmail(); /** + * + * *
    * Primary email of the admin user.
    * 
* * string email = 1; + * * @return The bytes for email. */ - com.google.protobuf.ByteString - getEmailBytes(); + com.google.protobuf.ByteString getEmailBytes(); /** + * + * *
    * Given name of the admin user.
    * 
* * string given_name = 2; + * * @return The givenName. */ java.lang.String getGivenName(); /** + * + * *
    * Given name of the admin user.
    * 
* * string given_name = 2; + * * @return The bytes for givenName. */ - com.google.protobuf.ByteString - getGivenNameBytes(); + com.google.protobuf.ByteString getGivenNameBytes(); /** + * + * *
    * Family name of the admin user.
    * 
* * string family_name = 3; + * * @return The familyName. */ java.lang.String getFamilyName(); /** + * + * *
    * Family name of the admin user.
    * 
* * string family_name = 3; + * * @return The bytes for familyName. */ - com.google.protobuf.ByteString - getFamilyNameBytes(); + com.google.protobuf.ByteString getFamilyNameBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfo.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfo.java similarity index 66% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfo.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfo.java index c6a6693f368d..967a8a3bdd8a 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfo.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfo.java @@ -1,61 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/entitlements.proto package com.google.cloud.channel.v1; /** + * + * *
  * Association links that an entitlement has to other entitlements.
  * 
* * Protobuf type {@code google.cloud.channel.v1.AssociationInfo} */ -public final class AssociationInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AssociationInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.AssociationInfo) AssociationInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AssociationInfo.newBuilder() to construct. private AssociationInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AssociationInfo() { baseEntitlement_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AssociationInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_AssociationInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_AssociationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_AssociationInfo_fieldAccessorTable + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_AssociationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.AssociationInfo.class, com.google.cloud.channel.v1.AssociationInfo.Builder.class); + com.google.cloud.channel.v1.AssociationInfo.class, + com.google.cloud.channel.v1.AssociationInfo.Builder.class); } public static final int BASE_ENTITLEMENT_FIELD_NUMBER = 1; private volatile java.lang.Object baseEntitlement_; /** + * + * *
    * The name of the base entitlement, for which this entitlement is an add-on.
    * 
* * string base_entitlement = 1 [(.google.api.resource_reference) = { ... } + * * @return The baseEntitlement. */ @java.lang.Override @@ -64,29 +86,29 @@ public java.lang.String getBaseEntitlement() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseEntitlement_ = s; return s; } } /** + * + * *
    * The name of the base entitlement, for which this entitlement is an add-on.
    * 
* * string base_entitlement = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for baseEntitlement. */ @java.lang.Override - public com.google.protobuf.ByteString - getBaseEntitlementBytes() { + public com.google.protobuf.ByteString getBaseEntitlementBytes() { java.lang.Object ref = baseEntitlement_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); baseEntitlement_ = b; return b; } else { @@ -95,6 +117,7 @@ public java.lang.String getBaseEntitlement() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,8 +129,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(baseEntitlement_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, baseEntitlement_); } @@ -131,15 +153,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.AssociationInfo)) { return super.equals(obj); } - com.google.cloud.channel.v1.AssociationInfo other = (com.google.cloud.channel.v1.AssociationInfo) obj; + com.google.cloud.channel.v1.AssociationInfo other = + (com.google.cloud.channel.v1.AssociationInfo) obj; - if (!getBaseEntitlement() - .equals(other.getBaseEntitlement())) return false; + if (!getBaseEntitlement().equals(other.getBaseEntitlement())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -158,130 +180,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.AssociationInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.AssociationInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.AssociationInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.AssociationInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.AssociationInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.AssociationInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.AssociationInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.AssociationInfo 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.cloud.channel.v1.AssociationInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.AssociationInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.AssociationInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.AssociationInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.AssociationInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.AssociationInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.AssociationInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Association links that an entitlement has to other entitlements.
    * 
* * Protobuf type {@code google.cloud.channel.v1.AssociationInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.AssociationInfo) com.google.cloud.channel.v1.AssociationInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_AssociationInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_AssociationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_AssociationInfo_fieldAccessorTable + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_AssociationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.AssociationInfo.class, com.google.cloud.channel.v1.AssociationInfo.Builder.class); + com.google.cloud.channel.v1.AssociationInfo.class, + com.google.cloud.channel.v1.AssociationInfo.Builder.class); } // Construct using com.google.cloud.channel.v1.AssociationInfo.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +319,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_AssociationInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_AssociationInfo_descriptor; } @java.lang.Override @@ -312,7 +340,8 @@ public com.google.cloud.channel.v1.AssociationInfo build() { @java.lang.Override public com.google.cloud.channel.v1.AssociationInfo buildPartial() { - com.google.cloud.channel.v1.AssociationInfo result = new com.google.cloud.channel.v1.AssociationInfo(this); + com.google.cloud.channel.v1.AssociationInfo result = + new com.google.cloud.channel.v1.AssociationInfo(this); result.baseEntitlement_ = baseEntitlement_; onBuilt(); return result; @@ -322,38 +351,39 @@ public com.google.cloud.channel.v1.AssociationInfo 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.cloud.channel.v1.AssociationInfo) { - return mergeFrom((com.google.cloud.channel.v1.AssociationInfo)other); + return mergeFrom((com.google.cloud.channel.v1.AssociationInfo) other); } else { super.mergeFrom(other); return this; @@ -392,17 +422,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - baseEntitlement_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + baseEntitlement_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -415,18 +447,20 @@ public Builder mergeFrom( private java.lang.Object baseEntitlement_ = ""; /** + * + * *
      * The name of the base entitlement, for which this entitlement is an add-on.
      * 
* * string base_entitlement = 1 [(.google.api.resource_reference) = { ... } + * * @return The baseEntitlement. */ public java.lang.String getBaseEntitlement() { java.lang.Object ref = baseEntitlement_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseEntitlement_ = s; return s; @@ -435,20 +469,21 @@ public java.lang.String getBaseEntitlement() { } } /** + * + * *
      * The name of the base entitlement, for which this entitlement is an add-on.
      * 
* * string base_entitlement = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for baseEntitlement. */ - public com.google.protobuf.ByteString - getBaseEntitlementBytes() { + public com.google.protobuf.ByteString getBaseEntitlementBytes() { java.lang.Object ref = baseEntitlement_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); baseEntitlement_ = b; return b; } else { @@ -456,61 +491,68 @@ public java.lang.String getBaseEntitlement() { } } /** + * + * *
      * The name of the base entitlement, for which this entitlement is an add-on.
      * 
* * string base_entitlement = 1 [(.google.api.resource_reference) = { ... } + * * @param value The baseEntitlement to set. * @return This builder for chaining. */ - public Builder setBaseEntitlement( - java.lang.String value) { + public Builder setBaseEntitlement(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + baseEntitlement_ = value; onChanged(); return this; } /** + * + * *
      * The name of the base entitlement, for which this entitlement is an add-on.
      * 
* * string base_entitlement = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearBaseEntitlement() { - + baseEntitlement_ = getDefaultInstance().getBaseEntitlement(); onChanged(); return this; } /** + * + * *
      * The name of the base entitlement, for which this entitlement is an add-on.
      * 
* * string base_entitlement = 1 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for baseEntitlement to set. * @return This builder for chaining. */ - public Builder setBaseEntitlementBytes( - com.google.protobuf.ByteString value) { + public Builder setBaseEntitlementBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + baseEntitlement_ = 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); } @@ -520,12 +562,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.AssociationInfo) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.AssociationInfo) private static final com.google.cloud.channel.v1.AssociationInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.AssociationInfo(); } @@ -534,27 +576,27 @@ public static com.google.cloud.channel.v1.AssociationInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AssociationInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AssociationInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -569,6 +611,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.AssociationInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfoOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfoOrBuilder.java similarity index 52% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfoOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfoOrBuilder.java index 4d864eb1eb6d..ca35368d1f9c 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfoOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/AssociationInfoOrBuilder.java @@ -1,29 +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/cloud/channel/v1/entitlements.proto package com.google.cloud.channel.v1; -public interface AssociationInfoOrBuilder extends +public interface AssociationInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.AssociationInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the base entitlement, for which this entitlement is an add-on.
    * 
* * string base_entitlement = 1 [(.google.api.resource_reference) = { ... } + * * @return The baseEntitlement. */ java.lang.String getBaseEntitlement(); /** + * + * *
    * The name of the base entitlement, for which this entitlement is an add-on.
    * 
* * string base_entitlement = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for baseEntitlement. */ - com.google.protobuf.ByteString - getBaseEntitlementBytes(); + com.google.protobuf.ByteString getBaseEntitlementBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequest.java similarity index 73% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequest.java index 78f477aa003d..39ef99751c17 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelService.CancelEntitlement][google.cloud.channel.v1.CloudChannelService.CancelEntitlement].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.CancelEntitlementRequest}
  */
-public final class CancelEntitlementRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CancelEntitlementRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.CancelEntitlementRequest)
     CancelEntitlementRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CancelEntitlementRequest.newBuilder() to construct.
   private CancelEntitlementRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CancelEntitlementRequest() {
     name_ = "";
     requestId_ = "";
@@ -27,32 +45,35 @@ private CancelEntitlementRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CancelEntitlementRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CancelEntitlementRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_CancelEntitlementRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CancelEntitlementRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_CancelEntitlementRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.CancelEntitlementRequest.class, com.google.cloud.channel.v1.CancelEntitlementRequest.Builder.class);
+            com.google.cloud.channel.v1.CancelEntitlementRequest.class,
+            com.google.cloud.channel.v1.CancelEntitlementRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The resource name of the entitlement to cancel.
    * Name uses the format:
@@ -60,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -68,14 +90,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the entitlement to cancel.
    * Name uses the format:
@@ -83,16 +106,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -103,6 +125,8 @@ public java.lang.String getName() { public static final int REQUEST_ID_FIELD_NUMBER = 3; private volatile java.lang.Object requestId_; /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -117,6 +141,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -125,14 +150,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -147,16 +173,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -165,6 +190,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -176,8 +202,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -207,17 +232,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.CancelEntitlementRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.CancelEntitlementRequest other = (com.google.cloud.channel.v1.CancelEntitlementRequest) obj; + com.google.cloud.channel.v1.CancelEntitlementRequest other = + (com.google.cloud.channel.v1.CancelEntitlementRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -239,96 +263,103 @@ public int hashCode() { } public static com.google.cloud.channel.v1.CancelEntitlementRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CancelEntitlementRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.CancelEntitlementRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CancelEntitlementRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.CancelEntitlementRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CancelEntitlementRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CancelEntitlementRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.CancelEntitlementRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CancelEntitlementRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.CancelEntitlementRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.CancelEntitlementRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CancelEntitlementRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.CancelEntitlementRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CancelEntitlementRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.CancelEntitlementRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelService.CancelEntitlement][google.cloud.channel.v1.CloudChannelService.CancelEntitlement].
@@ -336,33 +367,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.CancelEntitlementRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.CancelEntitlementRequest)
       com.google.cloud.channel.v1.CancelEntitlementRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CancelEntitlementRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_CancelEntitlementRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CancelEntitlementRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_CancelEntitlementRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.CancelEntitlementRequest.class, com.google.cloud.channel.v1.CancelEntitlementRequest.Builder.class);
+              com.google.cloud.channel.v1.CancelEntitlementRequest.class,
+              com.google.cloud.channel.v1.CancelEntitlementRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.CancelEntitlementRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -374,9 +404,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CancelEntitlementRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_CancelEntitlementRequest_descriptor;
     }
 
     @java.lang.Override
@@ -395,7 +425,8 @@ public com.google.cloud.channel.v1.CancelEntitlementRequest build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.CancelEntitlementRequest buildPartial() {
-      com.google.cloud.channel.v1.CancelEntitlementRequest result = new com.google.cloud.channel.v1.CancelEntitlementRequest(this);
+      com.google.cloud.channel.v1.CancelEntitlementRequest result =
+          new com.google.cloud.channel.v1.CancelEntitlementRequest(this);
       result.name_ = name_;
       result.requestId_ = requestId_;
       onBuilt();
@@ -406,38 +437,39 @@ public com.google.cloud.channel.v1.CancelEntitlementRequest 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.cloud.channel.v1.CancelEntitlementRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.CancelEntitlementRequest)other);
+        return mergeFrom((com.google.cloud.channel.v1.CancelEntitlementRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -445,7 +477,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.CancelEntitlementRequest other) {
-      if (other == com.google.cloud.channel.v1.CancelEntitlementRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.CancelEntitlementRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -480,22 +513,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 26: {
-              requestId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 26:
+              {
+                requestId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -508,6 +544,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The resource name of the entitlement to cancel.
      * Name uses the format:
@@ -515,13 +553,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -530,6 +568,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the entitlement to cancel.
      * Name uses the format:
@@ -537,15 +577,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -553,6 +592,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the entitlement to cancel.
      * Name uses the format:
@@ -560,20 +601,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 entitlement to cancel.
      * Name uses the format:
@@ -581,15 +624,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the entitlement to cancel.
      * Name uses the format:
@@ -597,16 +643,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -614,6 +660,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -628,13 +676,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -643,6 +691,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -657,15 +707,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -673,6 +722,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -687,20 +738,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -715,15 +768,18 @@ public Builder setRequestId(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -738,23 +794,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -764,12 +820,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.CancelEntitlementRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.CancelEntitlementRequest) private static final com.google.cloud.channel.v1.CancelEntitlementRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.CancelEntitlementRequest(); } @@ -778,27 +834,27 @@ public static com.google.cloud.channel.v1.CancelEntitlementRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelEntitlementRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelEntitlementRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -813,6 +869,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.CancelEntitlementRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequestOrBuilder.java index d0980f131dfc..3f22b93386b8 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CancelEntitlementRequestOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface CancelEntitlementRequestOrBuilder extends +public interface CancelEntitlementRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CancelEntitlementRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the entitlement to cancel.
    * Name uses the format:
@@ -15,10 +33,13 @@ public interface CancelEntitlementRequestOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the entitlement to cancel.
    * Name uses the format:
@@ -26,12 +47,14 @@ public interface CancelEntitlementRequestOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -46,10 +69,13 @@ public interface CancelEntitlementRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -64,8 +90,8 @@ public interface CancelEntitlementRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequest.java similarity index 71% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequest.java index b918cde85110..fabf00fe6e42 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelService.ChangeOffer][google.cloud.channel.v1.CloudChannelService.ChangeOffer].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.ChangeOfferRequest}
  */
-public final class ChangeOfferRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ChangeOfferRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ChangeOfferRequest)
     ChangeOfferRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ChangeOfferRequest.newBuilder() to construct.
   private ChangeOfferRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ChangeOfferRequest() {
     name_ = "";
     offer_ = "";
@@ -30,32 +48,35 @@ private ChangeOfferRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ChangeOfferRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ChangeOfferRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ChangeOfferRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ChangeOfferRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ChangeOfferRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.ChangeOfferRequest.class, com.google.cloud.channel.v1.ChangeOfferRequest.Builder.class);
+            com.google.cloud.channel.v1.ChangeOfferRequest.class,
+            com.google.cloud.channel.v1.ChangeOfferRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The resource name of the entitlement to update.
    * Name uses the format:
@@ -63,6 +84,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -71,14 +93,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the entitlement to update.
    * Name uses the format:
@@ -86,16 +109,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -106,12 +128,17 @@ public java.lang.String getName() { public static final int OFFER_FIELD_NUMBER = 2; private volatile java.lang.Object offer_; /** + * + * *
    * Required. New Offer.
    * Format: accounts/{account_id}/offers/{offer_id}.
    * 
* - * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The offer. */ @java.lang.Override @@ -120,30 +147,32 @@ public java.lang.String getOffer() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); offer_ = s; return s; } } /** + * + * *
    * Required. New Offer.
    * Format: accounts/{account_id}/offers/{offer_id}.
    * 
* - * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for offer. */ @java.lang.Override - public com.google.protobuf.ByteString - getOfferBytes() { + public com.google.protobuf.ByteString getOfferBytes() { java.lang.Object ref = offer_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); offer_ = b; return b; } else { @@ -154,6 +183,8 @@ public java.lang.String getOffer() { public static final int PARAMETERS_FIELD_NUMBER = 3; private java.util.List parameters_; /** + * + * *
    * Optional. Parameters needed to purchase the Offer. To view the available
    * Parameters refer to the
@@ -161,13 +192,17 @@ public java.lang.String getOffer() {
    * from the desired offer.
    * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.List getParametersList() { return parameters_; } /** + * + * *
    * Optional. Parameters needed to purchase the Offer. To view the available
    * Parameters refer to the
@@ -175,14 +210,18 @@ public java.util.List getParametersList()
    * from the desired offer.
    * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List getParametersOrBuilderList() { return parameters_; } /** + * + * *
    * Optional. Parameters needed to purchase the Offer. To view the available
    * Parameters refer to the
@@ -190,13 +229,17 @@ public java.util.List getParametersList()
    * from the desired offer.
    * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getParametersCount() { return parameters_.size(); } /** + * + * *
    * Optional. Parameters needed to purchase the Offer. To view the available
    * Parameters refer to the
@@ -204,13 +247,17 @@ public int getParametersCount() {
    * from the desired offer.
    * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.channel.v1.Parameter getParameters(int index) { return parameters_.get(index); } /** + * + * *
    * Optional. Parameters needed to purchase the Offer. To view the available
    * Parameters refer to the
@@ -218,22 +265,26 @@ public com.google.cloud.channel.v1.Parameter getParameters(int index) {
    * from the desired offer.
    * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder( - int index) { + public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(int index) { return parameters_.get(index); } public static final int PURCHASE_ORDER_ID_FIELD_NUMBER = 5; private volatile java.lang.Object purchaseOrderId_; /** + * + * *
    * Optional. Purchase order id provided by the reseller.
    * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The purchaseOrderId. */ @java.lang.Override @@ -242,29 +293,29 @@ public java.lang.String getPurchaseOrderId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); purchaseOrderId_ = s; return s; } } /** + * + * *
    * Optional. Purchase order id provided by the reseller.
    * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for purchaseOrderId. */ @java.lang.Override - public com.google.protobuf.ByteString - getPurchaseOrderIdBytes() { + public com.google.protobuf.ByteString getPurchaseOrderIdBytes() { java.lang.Object ref = purchaseOrderId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); purchaseOrderId_ = b; return b; } else { @@ -275,6 +326,8 @@ public java.lang.String getPurchaseOrderId() { public static final int REQUEST_ID_FIELD_NUMBER = 6; private volatile java.lang.Object requestId_; /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -289,6 +342,7 @@ public java.lang.String getPurchaseOrderId() {
    * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -297,14 +351,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -319,16 +374,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -337,6 +391,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -348,8 +403,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(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,8 +435,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, offer_); } for (int i = 0; i < parameters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, parameters_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, parameters_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(purchaseOrderId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, purchaseOrderId_); @@ -398,23 +451,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.cloud.channel.v1.ChangeOfferRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ChangeOfferRequest other = (com.google.cloud.channel.v1.ChangeOfferRequest) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getOffer() - .equals(other.getOffer())) return false; - if (!getParametersList() - .equals(other.getParametersList())) return false; - if (!getPurchaseOrderId() - .equals(other.getPurchaseOrderId())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; + com.google.cloud.channel.v1.ChangeOfferRequest other = + (com.google.cloud.channel.v1.ChangeOfferRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getOffer().equals(other.getOffer())) return false; + if (!getParametersList().equals(other.getParametersList())) return false; + if (!getPurchaseOrderId().equals(other.getPurchaseOrderId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -443,97 +492,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ChangeOfferRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.ChangeOfferRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ChangeOfferRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ChangeOfferRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ChangeOfferRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ChangeOfferRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ChangeOfferRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ChangeOfferRequest 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.cloud.channel.v1.ChangeOfferRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ChangeOfferRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ChangeOfferRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ChangeOfferRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ChangeOfferRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ChangeOfferRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.ChangeOfferRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelService.ChangeOffer][google.cloud.channel.v1.CloudChannelService.ChangeOffer].
@@ -541,33 +597,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.ChangeOfferRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ChangeOfferRequest)
       com.google.cloud.channel.v1.ChangeOfferRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ChangeOfferRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ChangeOfferRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ChangeOfferRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ChangeOfferRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.ChangeOfferRequest.class, com.google.cloud.channel.v1.ChangeOfferRequest.Builder.class);
+              com.google.cloud.channel.v1.ChangeOfferRequest.class,
+              com.google.cloud.channel.v1.ChangeOfferRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.ChangeOfferRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -590,9 +645,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ChangeOfferRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ChangeOfferRequest_descriptor;
     }
 
     @java.lang.Override
@@ -611,7 +666,8 @@ public com.google.cloud.channel.v1.ChangeOfferRequest build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.ChangeOfferRequest buildPartial() {
-      com.google.cloud.channel.v1.ChangeOfferRequest result = new com.google.cloud.channel.v1.ChangeOfferRequest(this);
+      com.google.cloud.channel.v1.ChangeOfferRequest result =
+          new com.google.cloud.channel.v1.ChangeOfferRequest(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.offer_ = offer_;
@@ -634,38 +690,39 @@ public com.google.cloud.channel.v1.ChangeOfferRequest 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.cloud.channel.v1.ChangeOfferRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.ChangeOfferRequest)other);
+        return mergeFrom((com.google.cloud.channel.v1.ChangeOfferRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -700,9 +757,10 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ChangeOfferRequest other) {
             parametersBuilder_ = null;
             parameters_ = other.parameters_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            parametersBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getParametersFieldBuilder() : null;
+            parametersBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getParametersFieldBuilder()
+                    : null;
           } else {
             parametersBuilder_.addAllMessages(other.parameters_);
           }
@@ -742,45 +800,50 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              offer_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                offer_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              com.google.cloud.channel.v1.Parameter m =
-                  input.readMessage(
-                      com.google.cloud.channel.v1.Parameter.parser(),
-                      extensionRegistry);
-              if (parametersBuilder_ == null) {
-                ensureParametersIsMutable();
-                parameters_.add(m);
-              } else {
-                parametersBuilder_.addMessage(m);
-              }
-              break;
-            } // case 26
-            case 42: {
-              purchaseOrderId_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                com.google.cloud.channel.v1.Parameter m =
+                    input.readMessage(
+                        com.google.cloud.channel.v1.Parameter.parser(), extensionRegistry);
+                if (parametersBuilder_ == null) {
+                  ensureParametersIsMutable();
+                  parameters_.add(m);
+                } else {
+                  parametersBuilder_.addMessage(m);
+                }
+                break;
+              } // case 26
+            case 42:
+              {
+                purchaseOrderId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 42
-            case 50: {
-              requestId_ = input.readStringRequireUtf8();
+                break;
+              } // case 42
+            case 50:
+              {
+                requestId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 50
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -790,10 +853,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The resource name of the entitlement to update.
      * Name uses the format:
@@ -801,13 +867,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -816,6 +882,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the entitlement to update.
      * Name uses the format:
@@ -823,15 +891,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -839,6 +906,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the entitlement to update.
      * Name uses the format:
@@ -846,20 +915,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 entitlement to update.
      * Name uses the format:
@@ -867,15 +938,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the entitlement to update.
      * Name uses the format:
@@ -883,16 +957,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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,19 +974,23 @@ public Builder setNameBytes( private java.lang.Object offer_ = ""; /** + * + * *
      * Required. New Offer.
      * Format: accounts/{account_id}/offers/{offer_id}.
      * 
* - * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The offer. */ public java.lang.String getOffer() { java.lang.Object ref = offer_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); offer_ = s; return s; @@ -921,21 +999,24 @@ public java.lang.String getOffer() { } } /** + * + * *
      * Required. New Offer.
      * Format: accounts/{account_id}/offers/{offer_id}.
      * 
* - * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for offer. */ - public com.google.protobuf.ByteString - getOfferBytes() { + public com.google.protobuf.ByteString getOfferBytes() { java.lang.Object ref = offer_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); offer_ = b; return b; } else { @@ -943,75 +1024,94 @@ public java.lang.String getOffer() { } } /** + * + * *
      * Required. New Offer.
      * Format: accounts/{account_id}/offers/{offer_id}.
      * 
* - * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The offer to set. * @return This builder for chaining. */ - public Builder setOffer( - java.lang.String value) { + public Builder setOffer(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + offer_ = value; onChanged(); return this; } /** + * + * *
      * Required. New Offer.
      * Format: accounts/{account_id}/offers/{offer_id}.
      * 
* - * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearOffer() { - + offer_ = getDefaultInstance().getOffer(); onChanged(); return this; } /** + * + * *
      * Required. New Offer.
      * Format: accounts/{account_id}/offers/{offer_id}.
      * 
* - * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for offer to set. * @return This builder for chaining. */ - public Builder setOfferBytes( - com.google.protobuf.ByteString value) { + public Builder setOfferBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + offer_ = value; onChanged(); return this; } private java.util.List parameters_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureParametersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { parameters_ = new java.util.ArrayList(parameters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Parameter, com.google.cloud.channel.v1.Parameter.Builder, com.google.cloud.channel.v1.ParameterOrBuilder> parametersBuilder_; + com.google.cloud.channel.v1.Parameter, + com.google.cloud.channel.v1.Parameter.Builder, + com.google.cloud.channel.v1.ParameterOrBuilder> + parametersBuilder_; /** + * + * *
      * Optional. Parameters needed to purchase the Offer. To view the available
      * Parameters refer to the
@@ -1019,7 +1119,9 @@ private void ensureParametersIsMutable() {
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getParametersList() { if (parametersBuilder_ == null) { @@ -1029,6 +1131,8 @@ public java.util.List getParametersList() } } /** + * + * *
      * Optional. Parameters needed to purchase the Offer. To view the available
      * Parameters refer to the
@@ -1036,7 +1140,9 @@ public java.util.List getParametersList()
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getParametersCount() { if (parametersBuilder_ == null) { @@ -1046,6 +1152,8 @@ public int getParametersCount() { } } /** + * + * *
      * Optional. Parameters needed to purchase the Offer. To view the available
      * Parameters refer to the
@@ -1053,7 +1161,9 @@ public int getParametersCount() {
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.channel.v1.Parameter getParameters(int index) { if (parametersBuilder_ == null) { @@ -1063,6 +1173,8 @@ public com.google.cloud.channel.v1.Parameter getParameters(int index) { } } /** + * + * *
      * Optional. Parameters needed to purchase the Offer. To view the available
      * Parameters refer to the
@@ -1070,10 +1182,11 @@ public com.google.cloud.channel.v1.Parameter getParameters(int index) {
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setParameters( - int index, com.google.cloud.channel.v1.Parameter value) { + public Builder setParameters(int index, com.google.cloud.channel.v1.Parameter value) { if (parametersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1087,6 +1200,8 @@ public Builder setParameters( return this; } /** + * + * *
      * Optional. Parameters needed to purchase the Offer. To view the available
      * Parameters refer to the
@@ -1094,7 +1209,9 @@ public Builder setParameters(
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setParameters( int index, com.google.cloud.channel.v1.Parameter.Builder builderForValue) { @@ -1108,6 +1225,8 @@ public Builder setParameters( return this; } /** + * + * *
      * Optional. Parameters needed to purchase the Offer. To view the available
      * Parameters refer to the
@@ -1115,7 +1234,9 @@ public Builder setParameters(
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addParameters(com.google.cloud.channel.v1.Parameter value) { if (parametersBuilder_ == null) { @@ -1131,6 +1252,8 @@ public Builder addParameters(com.google.cloud.channel.v1.Parameter value) { return this; } /** + * + * *
      * Optional. Parameters needed to purchase the Offer. To view the available
      * Parameters refer to the
@@ -1138,10 +1261,11 @@ public Builder addParameters(com.google.cloud.channel.v1.Parameter value) {
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addParameters( - int index, com.google.cloud.channel.v1.Parameter value) { + public Builder addParameters(int index, com.google.cloud.channel.v1.Parameter value) { if (parametersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1155,6 +1279,8 @@ public Builder addParameters( return this; } /** + * + * *
      * Optional. Parameters needed to purchase the Offer. To view the available
      * Parameters refer to the
@@ -1162,10 +1288,11 @@ public Builder addParameters(
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addParameters( - com.google.cloud.channel.v1.Parameter.Builder builderForValue) { + public Builder addParameters(com.google.cloud.channel.v1.Parameter.Builder builderForValue) { if (parametersBuilder_ == null) { ensureParametersIsMutable(); parameters_.add(builderForValue.build()); @@ -1176,6 +1303,8 @@ public Builder addParameters( return this; } /** + * + * *
      * Optional. Parameters needed to purchase the Offer. To view the available
      * Parameters refer to the
@@ -1183,7 +1312,9 @@ public Builder addParameters(
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addParameters( int index, com.google.cloud.channel.v1.Parameter.Builder builderForValue) { @@ -1197,6 +1328,8 @@ public Builder addParameters( return this; } /** + * + * *
      * Optional. Parameters needed to purchase the Offer. To view the available
      * Parameters refer to the
@@ -1204,14 +1337,15 @@ public Builder addParameters(
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllParameters( java.lang.Iterable values) { if (parametersBuilder_ == null) { ensureParametersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, parameters_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, parameters_); onChanged(); } else { parametersBuilder_.addAllMessages(values); @@ -1219,6 +1353,8 @@ public Builder addAllParameters( return this; } /** + * + * *
      * Optional. Parameters needed to purchase the Offer. To view the available
      * Parameters refer to the
@@ -1226,7 +1362,9 @@ public Builder addAllParameters(
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearParameters() { if (parametersBuilder_ == null) { @@ -1239,6 +1377,8 @@ public Builder clearParameters() { return this; } /** + * + * *
      * Optional. Parameters needed to purchase the Offer. To view the available
      * Parameters refer to the
@@ -1246,7 +1386,9 @@ public Builder clearParameters() {
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeParameters(int index) { if (parametersBuilder_ == null) { @@ -1259,6 +1401,8 @@ public Builder removeParameters(int index) { return this; } /** + * + * *
      * Optional. Parameters needed to purchase the Offer. To view the available
      * Parameters refer to the
@@ -1266,13 +1410,16 @@ public Builder removeParameters(int index) {
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.channel.v1.Parameter.Builder getParametersBuilder( - int index) { + public com.google.cloud.channel.v1.Parameter.Builder getParametersBuilder(int index) { return getParametersFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. Parameters needed to purchase the Offer. To view the available
      * Parameters refer to the
@@ -1280,16 +1427,20 @@ public com.google.cloud.channel.v1.Parameter.Builder getParametersBuilder(
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder( - int index) { + public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(int index) { if (parametersBuilder_ == null) { - return parameters_.get(index); } else { + return parameters_.get(index); + } else { return parametersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. Parameters needed to purchase the Offer. To view the available
      * Parameters refer to the
@@ -1297,10 +1448,12 @@ public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getParametersOrBuilderList() { + public java.util.List + getParametersOrBuilderList() { if (parametersBuilder_ != null) { return parametersBuilder_.getMessageOrBuilderList(); } else { @@ -1308,6 +1461,8 @@ public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder( } } /** + * + * *
      * Optional. Parameters needed to purchase the Offer. To view the available
      * Parameters refer to the
@@ -1315,13 +1470,17 @@ public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.channel.v1.Parameter.Builder addParametersBuilder() { - return getParametersFieldBuilder().addBuilder( - com.google.cloud.channel.v1.Parameter.getDefaultInstance()); + return getParametersFieldBuilder() + .addBuilder(com.google.cloud.channel.v1.Parameter.getDefaultInstance()); } /** + * + * *
      * Optional. Parameters needed to purchase the Offer. To view the available
      * Parameters refer to the
@@ -1329,14 +1488,17 @@ public com.google.cloud.channel.v1.Parameter.Builder addParametersBuilder() {
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.channel.v1.Parameter.Builder addParametersBuilder( - int index) { - return getParametersFieldBuilder().addBuilder( - index, com.google.cloud.channel.v1.Parameter.getDefaultInstance()); + public com.google.cloud.channel.v1.Parameter.Builder addParametersBuilder(int index) { + return getParametersFieldBuilder() + .addBuilder(index, com.google.cloud.channel.v1.Parameter.getDefaultInstance()); } /** + * + * *
      * Optional. Parameters needed to purchase the Offer. To view the available
      * Parameters refer to the
@@ -1344,22 +1506,27 @@ public com.google.cloud.channel.v1.Parameter.Builder addParametersBuilder(
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getParametersBuilderList() { + public java.util.List + getParametersBuilderList() { return getParametersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Parameter, com.google.cloud.channel.v1.Parameter.Builder, com.google.cloud.channel.v1.ParameterOrBuilder> + com.google.cloud.channel.v1.Parameter, + com.google.cloud.channel.v1.Parameter.Builder, + com.google.cloud.channel.v1.ParameterOrBuilder> getParametersFieldBuilder() { if (parametersBuilder_ == null) { - parametersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Parameter, com.google.cloud.channel.v1.Parameter.Builder, com.google.cloud.channel.v1.ParameterOrBuilder>( - parameters_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + parametersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.Parameter, + com.google.cloud.channel.v1.Parameter.Builder, + com.google.cloud.channel.v1.ParameterOrBuilder>( + parameters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); parameters_ = null; } return parametersBuilder_; @@ -1367,18 +1534,20 @@ public com.google.cloud.channel.v1.Parameter.Builder addParametersBuilder( private java.lang.Object purchaseOrderId_ = ""; /** + * + * *
      * Optional. Purchase order id provided by the reseller.
      * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The purchaseOrderId. */ public java.lang.String getPurchaseOrderId() { java.lang.Object ref = purchaseOrderId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); purchaseOrderId_ = s; return s; @@ -1387,20 +1556,21 @@ public java.lang.String getPurchaseOrderId() { } } /** + * + * *
      * Optional. Purchase order id provided by the reseller.
      * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for purchaseOrderId. */ - public com.google.protobuf.ByteString - getPurchaseOrderIdBytes() { + public com.google.protobuf.ByteString getPurchaseOrderIdBytes() { java.lang.Object ref = purchaseOrderId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); purchaseOrderId_ = b; return b; } else { @@ -1408,54 +1578,61 @@ public java.lang.String getPurchaseOrderId() { } } /** + * + * *
      * Optional. Purchase order id provided by the reseller.
      * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The purchaseOrderId to set. * @return This builder for chaining. */ - public Builder setPurchaseOrderId( - java.lang.String value) { + public Builder setPurchaseOrderId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + purchaseOrderId_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Purchase order id provided by the reseller.
      * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPurchaseOrderId() { - + purchaseOrderId_ = getDefaultInstance().getPurchaseOrderId(); onChanged(); return this; } /** + * + * *
      * Optional. Purchase order id provided by the reseller.
      * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for purchaseOrderId to set. * @return This builder for chaining. */ - public Builder setPurchaseOrderIdBytes( - com.google.protobuf.ByteString value) { + public Builder setPurchaseOrderIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + purchaseOrderId_ = value; onChanged(); return this; @@ -1463,6 +1640,8 @@ public Builder setPurchaseOrderIdBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -1477,13 +1656,13 @@ public Builder setPurchaseOrderIdBytes(
      * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1492,6 +1671,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -1506,15 +1687,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1522,6 +1702,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -1536,20 +1718,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -1564,15 +1748,18 @@ public Builder setRequestId(
      * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -1587,23 +1774,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1613,12 +1800,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ChangeOfferRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ChangeOfferRequest) private static final com.google.cloud.channel.v1.ChangeOfferRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ChangeOfferRequest(); } @@ -1627,27 +1814,27 @@ public static com.google.cloud.channel.v1.ChangeOfferRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChangeOfferRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChangeOfferRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1662,6 +1849,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ChangeOfferRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequestOrBuilder.java index 8e49e022cb84..42bde65bcb60 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeOfferRequestOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ChangeOfferRequestOrBuilder extends +public interface ChangeOfferRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ChangeOfferRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the entitlement to update.
    * Name uses the format:
@@ -15,10 +33,13 @@ public interface ChangeOfferRequestOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the entitlement to update.
    * Name uses the format:
@@ -26,34 +47,45 @@ public interface ChangeOfferRequestOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. New Offer.
    * Format: accounts/{account_id}/offers/{offer_id}.
    * 
* - * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The offer. */ java.lang.String getOffer(); /** + * + * *
    * Required. New Offer.
    * Format: accounts/{account_id}/offers/{offer_id}.
    * 
* - * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for offer. */ - com.google.protobuf.ByteString - getOfferBytes(); + com.google.protobuf.ByteString getOfferBytes(); /** + * + * *
    * Optional. Parameters needed to purchase the Offer. To view the available
    * Parameters refer to the
@@ -61,11 +93,14 @@ public interface ChangeOfferRequestOrBuilder extends
    * from the desired offer.
    * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List - getParametersList(); + java.util.List getParametersList(); /** + * + * *
    * Optional. Parameters needed to purchase the Offer. To view the available
    * Parameters refer to the
@@ -73,10 +108,14 @@ public interface ChangeOfferRequestOrBuilder extends
    * from the desired offer.
    * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.channel.v1.Parameter getParameters(int index); /** + * + * *
    * Optional. Parameters needed to purchase the Offer. To view the available
    * Parameters refer to the
@@ -84,10 +123,14 @@ public interface ChangeOfferRequestOrBuilder extends
    * from the desired offer.
    * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getParametersCount(); /** + * + * *
    * Optional. Parameters needed to purchase the Offer. To view the available
    * Parameters refer to the
@@ -95,11 +138,15 @@ public interface ChangeOfferRequestOrBuilder extends
    * from the desired offer.
    * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getParametersOrBuilderList(); /** + * + * *
    * Optional. Parameters needed to purchase the Offer. To view the available
    * Parameters refer to the
@@ -107,32 +154,40 @@ public interface ChangeOfferRequestOrBuilder extends
    * from the desired offer.
    * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder( - int index); + com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(int index); /** + * + * *
    * Optional. Purchase order id provided by the reseller.
    * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The purchaseOrderId. */ java.lang.String getPurchaseOrderId(); /** + * + * *
    * Optional. Purchase order id provided by the reseller.
    * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for purchaseOrderId. */ - com.google.protobuf.ByteString - getPurchaseOrderIdBytes(); + com.google.protobuf.ByteString getPurchaseOrderIdBytes(); /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -147,10 +202,13 @@ com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(
    * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -165,8 +223,8 @@ com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(
    * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequest.java similarity index 72% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequest.java index 230bf9f7e5ea..2bac1d88b3be 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for [CloudChannelService.ChangeParametersRequest][].
  * 
* * Protobuf type {@code google.cloud.channel.v1.ChangeParametersRequest} */ -public final class ChangeParametersRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ChangeParametersRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ChangeParametersRequest) ChangeParametersRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ChangeParametersRequest.newBuilder() to construct. private ChangeParametersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ChangeParametersRequest() { name_ = ""; parameters_ = java.util.Collections.emptyList(); @@ -28,32 +46,35 @@ private ChangeParametersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ChangeParametersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ChangeParametersRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ChangeParametersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ChangeParametersRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ChangeParametersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ChangeParametersRequest.class, com.google.cloud.channel.v1.ChangeParametersRequest.Builder.class); + com.google.cloud.channel.v1.ChangeParametersRequest.class, + com.google.cloud.channel.v1.ChangeParametersRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the entitlement to update.
    * Name uses the format:
@@ -61,6 +82,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -69,14 +91,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the entitlement to update.
    * Name uses the format:
@@ -84,16 +107,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -104,6 +126,8 @@ public java.lang.String getName() { public static final int PARAMETERS_FIELD_NUMBER = 2; private java.util.List parameters_; /** + * + * *
    * Required. Entitlement parameters to update. You can only change editable
    * parameters.
@@ -112,13 +136,17 @@ public java.lang.String getName() {
    * from the desired offer.
    * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getParametersList() { return parameters_; } /** + * + * *
    * Required. Entitlement parameters to update. You can only change editable
    * parameters.
@@ -127,14 +155,18 @@ public java.util.List getParametersList()
    * from the desired offer.
    * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getParametersOrBuilderList() { return parameters_; } /** + * + * *
    * Required. Entitlement parameters to update. You can only change editable
    * parameters.
@@ -143,13 +175,17 @@ public java.util.List getParametersList()
    * from the desired offer.
    * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getParametersCount() { return parameters_.size(); } /** + * + * *
    * Required. Entitlement parameters to update. You can only change editable
    * parameters.
@@ -158,13 +194,17 @@ public int getParametersCount() {
    * from the desired offer.
    * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.channel.v1.Parameter getParameters(int index) { return parameters_.get(index); } /** + * + * *
    * Required. Entitlement parameters to update. You can only change editable
    * parameters.
@@ -173,17 +213,20 @@ public com.google.cloud.channel.v1.Parameter getParameters(int index) {
    * from the desired offer.
    * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder( - int index) { + public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(int index) { return parameters_.get(index); } public static final int REQUEST_ID_FIELD_NUMBER = 4; private volatile java.lang.Object requestId_; /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -198,6 +241,7 @@ public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -206,14 +250,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -228,16 +273,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -248,11 +292,14 @@ public java.lang.String getRequestId() { public static final int PURCHASE_ORDER_ID_FIELD_NUMBER = 5; private volatile java.lang.Object purchaseOrderId_; /** + * + * *
    * Optional. Purchase order ID provided by the reseller.
    * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The purchaseOrderId. */ @java.lang.Override @@ -261,29 +308,29 @@ public java.lang.String getPurchaseOrderId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); purchaseOrderId_ = s; return s; } } /** + * + * *
    * Optional. Purchase order ID provided by the reseller.
    * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for purchaseOrderId. */ @java.lang.Override - public com.google.protobuf.ByteString - getPurchaseOrderIdBytes() { + public com.google.protobuf.ByteString getPurchaseOrderIdBytes() { java.lang.Object ref = purchaseOrderId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); purchaseOrderId_ = b; return b; } else { @@ -292,6 +339,7 @@ public java.lang.String getPurchaseOrderId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -303,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_); } @@ -330,8 +377,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < parameters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, parameters_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, parameters_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); @@ -347,21 +393,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.ChangeParametersRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ChangeParametersRequest other = (com.google.cloud.channel.v1.ChangeParametersRequest) obj; + com.google.cloud.channel.v1.ChangeParametersRequest other = + (com.google.cloud.channel.v1.ChangeParametersRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getParametersList() - .equals(other.getParametersList())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (!getPurchaseOrderId() - .equals(other.getPurchaseOrderId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getParametersList().equals(other.getParametersList())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (!getPurchaseOrderId().equals(other.getPurchaseOrderId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -389,129 +432,135 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ChangeParametersRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ChangeParametersRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ChangeParametersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ChangeParametersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ChangeParametersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ChangeParametersRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ChangeParametersRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ChangeParametersRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ChangeParametersRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ChangeParametersRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ChangeParametersRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ChangeParametersRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ChangeParametersRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ChangeParametersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.ChangeParametersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for [CloudChannelService.ChangeParametersRequest][].
    * 
* * Protobuf type {@code google.cloud.channel.v1.ChangeParametersRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ChangeParametersRequest) com.google.cloud.channel.v1.ChangeParametersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ChangeParametersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ChangeParametersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ChangeParametersRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ChangeParametersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ChangeParametersRequest.class, com.google.cloud.channel.v1.ChangeParametersRequest.Builder.class); + com.google.cloud.channel.v1.ChangeParametersRequest.class, + com.google.cloud.channel.v1.ChangeParametersRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.ChangeParametersRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -532,9 +581,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ChangeParametersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ChangeParametersRequest_descriptor; } @java.lang.Override @@ -553,7 +602,8 @@ public com.google.cloud.channel.v1.ChangeParametersRequest build() { @java.lang.Override public com.google.cloud.channel.v1.ChangeParametersRequest buildPartial() { - com.google.cloud.channel.v1.ChangeParametersRequest result = new com.google.cloud.channel.v1.ChangeParametersRequest(this); + com.google.cloud.channel.v1.ChangeParametersRequest result = + new com.google.cloud.channel.v1.ChangeParametersRequest(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (parametersBuilder_ == null) { @@ -575,38 +625,39 @@ public com.google.cloud.channel.v1.ChangeParametersRequest 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.cloud.channel.v1.ChangeParametersRequest) { - return mergeFrom((com.google.cloud.channel.v1.ChangeParametersRequest)other); + return mergeFrom((com.google.cloud.channel.v1.ChangeParametersRequest) other); } else { super.mergeFrom(other); return this; @@ -614,7 +665,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ChangeParametersRequest other) { - if (other == com.google.cloud.channel.v1.ChangeParametersRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.channel.v1.ChangeParametersRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -637,9 +689,10 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ChangeParametersRequest oth parametersBuilder_ = null; parameters_ = other.parameters_; bitField0_ = (bitField0_ & ~0x00000001); - parametersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getParametersFieldBuilder() : null; + parametersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getParametersFieldBuilder() + : null; } else { parametersBuilder_.addAllMessages(other.parameters_); } @@ -679,40 +732,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); + case 10: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - com.google.cloud.channel.v1.Parameter m = - input.readMessage( - com.google.cloud.channel.v1.Parameter.parser(), - extensionRegistry); - if (parametersBuilder_ == null) { - ensureParametersIsMutable(); - parameters_.add(m); - } else { - parametersBuilder_.addMessage(m); - } - break; - } // case 18 - case 34: { - requestId_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + com.google.cloud.channel.v1.Parameter m = + input.readMessage( + com.google.cloud.channel.v1.Parameter.parser(), extensionRegistry); + if (parametersBuilder_ == null) { + ensureParametersIsMutable(); + parameters_.add(m); + } else { + parametersBuilder_.addMessage(m); + } + break; + } // case 18 + case 34: + { + requestId_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 42: { - purchaseOrderId_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 42: + { + purchaseOrderId_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -722,10 +779,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the entitlement to update.
      * Name uses the format:
@@ -733,13 +793,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.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() { } } /** + * + * *
      * Required. The name of the entitlement to update.
      * Name uses the format:
@@ -755,15 +817,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.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() { } } /** + * + * *
      * Required. The name of the entitlement to update.
      * Name uses the format:
@@ -778,20 +841,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 entitlement to update.
      * Name uses the format:
@@ -799,15 +864,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the entitlement to update.
      * Name uses the format:
@@ -815,34 +883,40 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 java.util.List parameters_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureParametersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { parameters_ = new java.util.ArrayList(parameters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Parameter, com.google.cloud.channel.v1.Parameter.Builder, com.google.cloud.channel.v1.ParameterOrBuilder> parametersBuilder_; + com.google.cloud.channel.v1.Parameter, + com.google.cloud.channel.v1.Parameter.Builder, + com.google.cloud.channel.v1.ParameterOrBuilder> + parametersBuilder_; /** + * + * *
      * Required. Entitlement parameters to update. You can only change editable
      * parameters.
@@ -851,7 +925,9 @@ private void ensureParametersIsMutable() {
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getParametersList() { if (parametersBuilder_ == null) { @@ -861,6 +937,8 @@ public java.util.List getParametersList() } } /** + * + * *
      * Required. Entitlement parameters to update. You can only change editable
      * parameters.
@@ -869,7 +947,9 @@ public java.util.List getParametersList()
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getParametersCount() { if (parametersBuilder_ == null) { @@ -879,6 +959,8 @@ public int getParametersCount() { } } /** + * + * *
      * Required. Entitlement parameters to update. You can only change editable
      * parameters.
@@ -887,7 +969,9 @@ public int getParametersCount() {
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.channel.v1.Parameter getParameters(int index) { if (parametersBuilder_ == null) { @@ -897,6 +981,8 @@ public com.google.cloud.channel.v1.Parameter getParameters(int index) { } } /** + * + * *
      * Required. Entitlement parameters to update. You can only change editable
      * parameters.
@@ -905,10 +991,11 @@ public com.google.cloud.channel.v1.Parameter getParameters(int index) {
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setParameters( - int index, com.google.cloud.channel.v1.Parameter value) { + public Builder setParameters(int index, com.google.cloud.channel.v1.Parameter value) { if (parametersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -922,6 +1009,8 @@ public Builder setParameters( return this; } /** + * + * *
      * Required. Entitlement parameters to update. You can only change editable
      * parameters.
@@ -930,7 +1019,9 @@ public Builder setParameters(
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setParameters( int index, com.google.cloud.channel.v1.Parameter.Builder builderForValue) { @@ -944,6 +1035,8 @@ public Builder setParameters( return this; } /** + * + * *
      * Required. Entitlement parameters to update. You can only change editable
      * parameters.
@@ -952,7 +1045,9 @@ public Builder setParameters(
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addParameters(com.google.cloud.channel.v1.Parameter value) { if (parametersBuilder_ == null) { @@ -968,6 +1063,8 @@ public Builder addParameters(com.google.cloud.channel.v1.Parameter value) { return this; } /** + * + * *
      * Required. Entitlement parameters to update. You can only change editable
      * parameters.
@@ -976,10 +1073,11 @@ public Builder addParameters(com.google.cloud.channel.v1.Parameter value) {
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addParameters( - int index, com.google.cloud.channel.v1.Parameter value) { + public Builder addParameters(int index, com.google.cloud.channel.v1.Parameter value) { if (parametersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -993,6 +1091,8 @@ public Builder addParameters( return this; } /** + * + * *
      * Required. Entitlement parameters to update. You can only change editable
      * parameters.
@@ -1001,10 +1101,11 @@ public Builder addParameters(
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addParameters( - com.google.cloud.channel.v1.Parameter.Builder builderForValue) { + public Builder addParameters(com.google.cloud.channel.v1.Parameter.Builder builderForValue) { if (parametersBuilder_ == null) { ensureParametersIsMutable(); parameters_.add(builderForValue.build()); @@ -1015,6 +1116,8 @@ public Builder addParameters( return this; } /** + * + * *
      * Required. Entitlement parameters to update. You can only change editable
      * parameters.
@@ -1023,7 +1126,9 @@ public Builder addParameters(
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addParameters( int index, com.google.cloud.channel.v1.Parameter.Builder builderForValue) { @@ -1037,6 +1142,8 @@ public Builder addParameters( return this; } /** + * + * *
      * Required. Entitlement parameters to update. You can only change editable
      * parameters.
@@ -1045,14 +1152,15 @@ public Builder addParameters(
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllParameters( java.lang.Iterable values) { if (parametersBuilder_ == null) { ensureParametersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, parameters_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, parameters_); onChanged(); } else { parametersBuilder_.addAllMessages(values); @@ -1060,6 +1168,8 @@ public Builder addAllParameters( return this; } /** + * + * *
      * Required. Entitlement parameters to update. You can only change editable
      * parameters.
@@ -1068,7 +1178,9 @@ public Builder addAllParameters(
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearParameters() { if (parametersBuilder_ == null) { @@ -1081,6 +1193,8 @@ public Builder clearParameters() { return this; } /** + * + * *
      * Required. Entitlement parameters to update. You can only change editable
      * parameters.
@@ -1089,7 +1203,9 @@ public Builder clearParameters() {
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeParameters(int index) { if (parametersBuilder_ == null) { @@ -1102,6 +1218,8 @@ public Builder removeParameters(int index) { return this; } /** + * + * *
      * Required. Entitlement parameters to update. You can only change editable
      * parameters.
@@ -1110,13 +1228,16 @@ public Builder removeParameters(int index) {
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.channel.v1.Parameter.Builder getParametersBuilder( - int index) { + public com.google.cloud.channel.v1.Parameter.Builder getParametersBuilder(int index) { return getParametersFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. Entitlement parameters to update. You can only change editable
      * parameters.
@@ -1125,16 +1246,20 @@ public com.google.cloud.channel.v1.Parameter.Builder getParametersBuilder(
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder( - int index) { + public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(int index) { if (parametersBuilder_ == null) { - return parameters_.get(index); } else { + return parameters_.get(index); + } else { return parametersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. Entitlement parameters to update. You can only change editable
      * parameters.
@@ -1143,10 +1268,12 @@ public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getParametersOrBuilderList() { + public java.util.List + getParametersOrBuilderList() { if (parametersBuilder_ != null) { return parametersBuilder_.getMessageOrBuilderList(); } else { @@ -1154,6 +1281,8 @@ public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder( } } /** + * + * *
      * Required. Entitlement parameters to update. You can only change editable
      * parameters.
@@ -1162,13 +1291,17 @@ public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.channel.v1.Parameter.Builder addParametersBuilder() { - return getParametersFieldBuilder().addBuilder( - com.google.cloud.channel.v1.Parameter.getDefaultInstance()); + return getParametersFieldBuilder() + .addBuilder(com.google.cloud.channel.v1.Parameter.getDefaultInstance()); } /** + * + * *
      * Required. Entitlement parameters to update. You can only change editable
      * parameters.
@@ -1177,14 +1310,17 @@ public com.google.cloud.channel.v1.Parameter.Builder addParametersBuilder() {
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.channel.v1.Parameter.Builder addParametersBuilder( - int index) { - return getParametersFieldBuilder().addBuilder( - index, com.google.cloud.channel.v1.Parameter.getDefaultInstance()); + public com.google.cloud.channel.v1.Parameter.Builder addParametersBuilder(int index) { + return getParametersFieldBuilder() + .addBuilder(index, com.google.cloud.channel.v1.Parameter.getDefaultInstance()); } /** + * + * *
      * Required. Entitlement parameters to update. You can only change editable
      * parameters.
@@ -1193,22 +1329,27 @@ public com.google.cloud.channel.v1.Parameter.Builder addParametersBuilder(
      * from the desired offer.
      * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getParametersBuilderList() { + public java.util.List + getParametersBuilderList() { return getParametersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Parameter, com.google.cloud.channel.v1.Parameter.Builder, com.google.cloud.channel.v1.ParameterOrBuilder> + com.google.cloud.channel.v1.Parameter, + com.google.cloud.channel.v1.Parameter.Builder, + com.google.cloud.channel.v1.ParameterOrBuilder> getParametersFieldBuilder() { if (parametersBuilder_ == null) { - parametersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Parameter, com.google.cloud.channel.v1.Parameter.Builder, com.google.cloud.channel.v1.ParameterOrBuilder>( - parameters_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + parametersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.Parameter, + com.google.cloud.channel.v1.Parameter.Builder, + com.google.cloud.channel.v1.ParameterOrBuilder>( + parameters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); parameters_ = null; } return parametersBuilder_; @@ -1216,6 +1357,8 @@ public com.google.cloud.channel.v1.Parameter.Builder addParametersBuilder( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -1230,13 +1373,13 @@ public com.google.cloud.channel.v1.Parameter.Builder addParametersBuilder(
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1245,6 +1388,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -1259,15 +1404,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1275,6 +1419,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -1289,20 +1435,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -1317,15 +1465,18 @@ public Builder setRequestId(
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -1340,16 +1491,16 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); return this; @@ -1357,18 +1508,20 @@ public Builder setRequestIdBytes( private java.lang.Object purchaseOrderId_ = ""; /** + * + * *
      * Optional. Purchase order ID provided by the reseller.
      * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The purchaseOrderId. */ public java.lang.String getPurchaseOrderId() { java.lang.Object ref = purchaseOrderId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); purchaseOrderId_ = s; return s; @@ -1377,20 +1530,21 @@ public java.lang.String getPurchaseOrderId() { } } /** + * + * *
      * Optional. Purchase order ID provided by the reseller.
      * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for purchaseOrderId. */ - public com.google.protobuf.ByteString - getPurchaseOrderIdBytes() { + public com.google.protobuf.ByteString getPurchaseOrderIdBytes() { java.lang.Object ref = purchaseOrderId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); purchaseOrderId_ = b; return b; } else { @@ -1398,61 +1552,68 @@ public java.lang.String getPurchaseOrderId() { } } /** + * + * *
      * Optional. Purchase order ID provided by the reseller.
      * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The purchaseOrderId to set. * @return This builder for chaining. */ - public Builder setPurchaseOrderId( - java.lang.String value) { + public Builder setPurchaseOrderId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + purchaseOrderId_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Purchase order ID provided by the reseller.
      * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPurchaseOrderId() { - + purchaseOrderId_ = getDefaultInstance().getPurchaseOrderId(); onChanged(); return this; } /** + * + * *
      * Optional. Purchase order ID provided by the reseller.
      * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for purchaseOrderId to set. * @return This builder for chaining. */ - public Builder setPurchaseOrderIdBytes( - com.google.protobuf.ByteString value) { + public Builder setPurchaseOrderIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + purchaseOrderId_ = 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); } @@ -1462,12 +1623,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ChangeParametersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ChangeParametersRequest) private static final com.google.cloud.channel.v1.ChangeParametersRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ChangeParametersRequest(); } @@ -1476,27 +1637,27 @@ public static com.google.cloud.channel.v1.ChangeParametersRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChangeParametersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChangeParametersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1511,6 +1672,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ChangeParametersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequestOrBuilder.java similarity index 73% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequestOrBuilder.java index 98dac9ba34cf..7a0f0eb45cf8 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeParametersRequestOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ChangeParametersRequestOrBuilder extends +public interface ChangeParametersRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ChangeParametersRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the entitlement to update.
    * Name uses the format:
@@ -15,10 +33,13 @@ public interface ChangeParametersRequestOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the entitlement to update.
    * Name uses the format:
@@ -26,12 +47,14 @@ public interface ChangeParametersRequestOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. Entitlement parameters to update. You can only change editable
    * parameters.
@@ -40,11 +63,14 @@ public interface ChangeParametersRequestOrBuilder extends
    * from the desired offer.
    * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getParametersList(); + java.util.List getParametersList(); /** + * + * *
    * Required. Entitlement parameters to update. You can only change editable
    * parameters.
@@ -53,10 +79,14 @@ public interface ChangeParametersRequestOrBuilder extends
    * from the desired offer.
    * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.channel.v1.Parameter getParameters(int index); /** + * + * *
    * Required. Entitlement parameters to update. You can only change editable
    * parameters.
@@ -65,10 +95,14 @@ public interface ChangeParametersRequestOrBuilder extends
    * from the desired offer.
    * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ int getParametersCount(); /** + * + * *
    * Required. Entitlement parameters to update. You can only change editable
    * parameters.
@@ -77,11 +111,15 @@ public interface ChangeParametersRequestOrBuilder extends
    * from the desired offer.
    * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getParametersOrBuilderList(); /** + * + * *
    * Required. Entitlement parameters to update. You can only change editable
    * parameters.
@@ -90,12 +128,15 @@ public interface ChangeParametersRequestOrBuilder extends
    * from the desired offer.
    * 
* - * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder( - int index); + com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(int index); /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -110,10 +151,13 @@ com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -128,28 +172,33 @@ com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. Purchase order ID provided by the reseller.
    * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The purchaseOrderId. */ java.lang.String getPurchaseOrderId(); /** + * + * *
    * Optional. Purchase order ID provided by the reseller.
    * 
* * string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for purchaseOrderId. */ - com.google.protobuf.ByteString - getPurchaseOrderIdBytes(); + com.google.protobuf.ByteString getPurchaseOrderIdBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequest.java similarity index 69% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequest.java index 2246256cf804..1beaacf5f759 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelService.ChangeRenewalSettings][google.cloud.channel.v1.CloudChannelService.ChangeRenewalSettings].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.ChangeRenewalSettingsRequest}
  */
-public final class ChangeRenewalSettingsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ChangeRenewalSettingsRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ChangeRenewalSettingsRequest)
     ChangeRenewalSettingsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ChangeRenewalSettingsRequest.newBuilder() to construct.
   private ChangeRenewalSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ChangeRenewalSettingsRequest() {
     name_ = "";
     requestId_ = "";
@@ -27,32 +45,35 @@ private ChangeRenewalSettingsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ChangeRenewalSettingsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.ChangeRenewalSettingsRequest.class, com.google.cloud.channel.v1.ChangeRenewalSettingsRequest.Builder.class);
+            com.google.cloud.channel.v1.ChangeRenewalSettingsRequest.class,
+            com.google.cloud.channel.v1.ChangeRenewalSettingsRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The name of the entitlement to update.
    * Name uses the format:
@@ -60,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -68,14 +90,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the entitlement to update.
    * Name uses the format:
@@ -83,16 +106,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -103,11 +125,16 @@ public java.lang.String getName() { public static final int RENEWAL_SETTINGS_FIELD_NUMBER = 4; private com.google.cloud.channel.v1.RenewalSettings renewalSettings_; /** + * + * *
    * Required. New renewal settings.
    * 
* - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the renewalSettings field is set. */ @java.lang.Override @@ -115,23 +142,34 @@ public boolean hasRenewalSettings() { return renewalSettings_ != null; } /** + * + * *
    * Required. New renewal settings.
    * 
* - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The renewalSettings. */ @java.lang.Override public com.google.cloud.channel.v1.RenewalSettings getRenewalSettings() { - return renewalSettings_ == null ? com.google.cloud.channel.v1.RenewalSettings.getDefaultInstance() : renewalSettings_; + return renewalSettings_ == null + ? com.google.cloud.channel.v1.RenewalSettings.getDefaultInstance() + : renewalSettings_; } /** + * + * *
    * Required. New renewal settings.
    * 
* - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.channel.v1.RenewalSettingsOrBuilder getRenewalSettingsOrBuilder() { @@ -141,6 +179,8 @@ public com.google.cloud.channel.v1.RenewalSettingsOrBuilder getRenewalSettingsOr public static final int REQUEST_ID_FIELD_NUMBER = 5; private volatile java.lang.Object requestId_; /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -155,6 +195,7 @@ public com.google.cloud.channel.v1.RenewalSettingsOrBuilder getRenewalSettingsOr
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -163,14 +204,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -185,16 +227,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -203,6 +244,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -214,8 +256,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(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,8 +279,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (renewalSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getRenewalSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRenewalSettings()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, requestId_); @@ -252,22 +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.cloud.channel.v1.ChangeRenewalSettingsRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ChangeRenewalSettingsRequest other = (com.google.cloud.channel.v1.ChangeRenewalSettingsRequest) obj; + com.google.cloud.channel.v1.ChangeRenewalSettingsRequest other = + (com.google.cloud.channel.v1.ChangeRenewalSettingsRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasRenewalSettings() != other.hasRenewalSettings()) return false; if (hasRenewalSettings()) { - if (!getRenewalSettings() - .equals(other.getRenewalSettings())) return false; + if (!getRenewalSettings().equals(other.getRenewalSettings())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -293,96 +331,104 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ChangeRenewalSettingsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ChangeRenewalSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ChangeRenewalSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ChangeRenewalSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ChangeRenewalSettingsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ChangeRenewalSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ChangeRenewalSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ChangeRenewalSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ChangeRenewalSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ChangeRenewalSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ChangeRenewalSettingsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ChangeRenewalSettingsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ChangeRenewalSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ChangeRenewalSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ChangeRenewalSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.ChangeRenewalSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelService.ChangeRenewalSettings][google.cloud.channel.v1.CloudChannelService.ChangeRenewalSettings].
@@ -390,33 +436,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.ChangeRenewalSettingsRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ChangeRenewalSettingsRequest)
       com.google.cloud.channel.v1.ChangeRenewalSettingsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.ChangeRenewalSettingsRequest.class, com.google.cloud.channel.v1.ChangeRenewalSettingsRequest.Builder.class);
+              com.google.cloud.channel.v1.ChangeRenewalSettingsRequest.class,
+              com.google.cloud.channel.v1.ChangeRenewalSettingsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.ChangeRenewalSettingsRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -434,9 +479,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -455,7 +500,8 @@ public com.google.cloud.channel.v1.ChangeRenewalSettingsRequest build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.ChangeRenewalSettingsRequest buildPartial() {
-      com.google.cloud.channel.v1.ChangeRenewalSettingsRequest result = new com.google.cloud.channel.v1.ChangeRenewalSettingsRequest(this);
+      com.google.cloud.channel.v1.ChangeRenewalSettingsRequest result =
+          new com.google.cloud.channel.v1.ChangeRenewalSettingsRequest(this);
       result.name_ = name_;
       if (renewalSettingsBuilder_ == null) {
         result.renewalSettings_ = renewalSettings_;
@@ -471,38 +517,39 @@ public com.google.cloud.channel.v1.ChangeRenewalSettingsRequest 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.cloud.channel.v1.ChangeRenewalSettingsRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.ChangeRenewalSettingsRequest)other);
+        return mergeFrom((com.google.cloud.channel.v1.ChangeRenewalSettingsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -510,7 +557,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.ChangeRenewalSettingsRequest other) {
-      if (other == com.google.cloud.channel.v1.ChangeRenewalSettingsRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.ChangeRenewalSettingsRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -548,29 +596,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 34: {
-              input.readMessage(
-                  getRenewalSettingsFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 34:
+              {
+                input.readMessage(getRenewalSettingsFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 34
-            case 42: {
-              requestId_ = input.readStringRequireUtf8();
+                break;
+              } // case 34
+            case 42:
+              {
+                requestId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -583,6 +633,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the entitlement to update.
      * Name uses the format:
@@ -590,13 +642,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -605,6 +657,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the entitlement to update.
      * Name uses the format:
@@ -612,15 +666,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -628,6 +681,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the entitlement to update.
      * Name uses the format:
@@ -635,20 +690,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 entitlement to update.
      * Name uses the format:
@@ -656,15 +713,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the entitlement to update.
      * Name uses the format:
@@ -672,16 +732,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -689,39 +749,58 @@ public Builder setNameBytes( private com.google.cloud.channel.v1.RenewalSettings renewalSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RenewalSettings, com.google.cloud.channel.v1.RenewalSettings.Builder, com.google.cloud.channel.v1.RenewalSettingsOrBuilder> renewalSettingsBuilder_; + com.google.cloud.channel.v1.RenewalSettings, + com.google.cloud.channel.v1.RenewalSettings.Builder, + com.google.cloud.channel.v1.RenewalSettingsOrBuilder> + renewalSettingsBuilder_; /** + * + * *
      * Required. New renewal settings.
      * 
* - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the renewalSettings field is set. */ public boolean hasRenewalSettings() { return renewalSettingsBuilder_ != null || renewalSettings_ != null; } /** + * + * *
      * Required. New renewal settings.
      * 
* - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The renewalSettings. */ public com.google.cloud.channel.v1.RenewalSettings getRenewalSettings() { if (renewalSettingsBuilder_ == null) { - return renewalSettings_ == null ? com.google.cloud.channel.v1.RenewalSettings.getDefaultInstance() : renewalSettings_; + return renewalSettings_ == null + ? com.google.cloud.channel.v1.RenewalSettings.getDefaultInstance() + : renewalSettings_; } else { return renewalSettingsBuilder_.getMessage(); } } /** + * + * *
      * Required. New renewal settings.
      * 
* - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRenewalSettings(com.google.cloud.channel.v1.RenewalSettings value) { if (renewalSettingsBuilder_ == null) { @@ -737,11 +816,15 @@ public Builder setRenewalSettings(com.google.cloud.channel.v1.RenewalSettings va return this; } /** + * + * *
      * Required. New renewal settings.
      * 
* - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRenewalSettings( com.google.cloud.channel.v1.RenewalSettings.Builder builderForValue) { @@ -755,17 +838,23 @@ public Builder setRenewalSettings( return this; } /** + * + * *
      * Required. New renewal settings.
      * 
* - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeRenewalSettings(com.google.cloud.channel.v1.RenewalSettings value) { if (renewalSettingsBuilder_ == null) { if (renewalSettings_ != null) { renewalSettings_ = - com.google.cloud.channel.v1.RenewalSettings.newBuilder(renewalSettings_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.RenewalSettings.newBuilder(renewalSettings_) + .mergeFrom(value) + .buildPartial(); } else { renewalSettings_ = value; } @@ -777,11 +866,15 @@ public Builder mergeRenewalSettings(com.google.cloud.channel.v1.RenewalSettings return this; } /** + * + * *
      * Required. New renewal settings.
      * 
* - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRenewalSettings() { if (renewalSettingsBuilder_ == null) { @@ -795,48 +888,64 @@ public Builder clearRenewalSettings() { return this; } /** + * + * *
      * Required. New renewal settings.
      * 
* - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.channel.v1.RenewalSettings.Builder getRenewalSettingsBuilder() { - + onChanged(); return getRenewalSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Required. New renewal settings.
      * 
* - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.channel.v1.RenewalSettingsOrBuilder getRenewalSettingsOrBuilder() { if (renewalSettingsBuilder_ != null) { return renewalSettingsBuilder_.getMessageOrBuilder(); } else { - return renewalSettings_ == null ? - com.google.cloud.channel.v1.RenewalSettings.getDefaultInstance() : renewalSettings_; + return renewalSettings_ == null + ? com.google.cloud.channel.v1.RenewalSettings.getDefaultInstance() + : renewalSettings_; } } /** + * + * *
      * Required. New renewal settings.
      * 
* - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RenewalSettings, com.google.cloud.channel.v1.RenewalSettings.Builder, com.google.cloud.channel.v1.RenewalSettingsOrBuilder> + com.google.cloud.channel.v1.RenewalSettings, + com.google.cloud.channel.v1.RenewalSettings.Builder, + com.google.cloud.channel.v1.RenewalSettingsOrBuilder> getRenewalSettingsFieldBuilder() { if (renewalSettingsBuilder_ == null) { - renewalSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RenewalSettings, com.google.cloud.channel.v1.RenewalSettings.Builder, com.google.cloud.channel.v1.RenewalSettingsOrBuilder>( - getRenewalSettings(), - getParentForChildren(), - isClean()); + renewalSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.RenewalSettings, + com.google.cloud.channel.v1.RenewalSettings.Builder, + com.google.cloud.channel.v1.RenewalSettingsOrBuilder>( + getRenewalSettings(), getParentForChildren(), isClean()); renewalSettings_ = null; } return renewalSettingsBuilder_; @@ -844,6 +953,8 @@ public com.google.cloud.channel.v1.RenewalSettingsOrBuilder getRenewalSettingsOr private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -858,13 +969,13 @@ public com.google.cloud.channel.v1.RenewalSettingsOrBuilder getRenewalSettingsOr
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -873,6 +984,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -887,15 +1000,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -903,6 +1015,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -917,20 +1031,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -945,15 +1061,18 @@ public Builder setRequestId(
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -968,23 +1087,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -994,12 +1113,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ChangeRenewalSettingsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ChangeRenewalSettingsRequest) private static final com.google.cloud.channel.v1.ChangeRenewalSettingsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ChangeRenewalSettingsRequest(); } @@ -1008,27 +1127,27 @@ public static com.google.cloud.channel.v1.ChangeRenewalSettingsRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChangeRenewalSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChangeRenewalSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1043,6 +1162,4 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.channel.v1.ChangeRenewalSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequestOrBuilder.java index af63ac13e18f..beb27d2ec7d5 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChangeRenewalSettingsRequestOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ChangeRenewalSettingsRequestOrBuilder extends +public interface ChangeRenewalSettingsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ChangeRenewalSettingsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the entitlement to update.
    * Name uses the format:
@@ -15,10 +33,13 @@ public interface ChangeRenewalSettingsRequestOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the entitlement to update.
    * Name uses the format:
@@ -26,39 +47,55 @@ public interface ChangeRenewalSettingsRequestOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. New renewal settings.
    * 
* - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the renewalSettings field is set. */ boolean hasRenewalSettings(); /** + * + * *
    * Required. New renewal settings.
    * 
* - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The renewalSettings. */ com.google.cloud.channel.v1.RenewalSettings getRenewalSettings(); /** + * + * *
    * Required. New renewal settings.
    * 
* - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.channel.v1.RenewalSettingsOrBuilder getRenewalSettingsOrBuilder(); /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -73,10 +110,13 @@ public interface ChangeRenewalSettingsRequestOrBuilder extends
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -91,8 +131,8 @@ public interface ChangeRenewalSettingsRequestOrBuilder extends
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLink.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLink.java similarity index 66% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLink.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLink.java index 620ed988f070..55d5f8576cc1 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLink.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLink.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/cloud/channel/v1/channel_partner_links.proto package com.google.cloud.channel.v1; /** + * + * *
  * Entity representing a link between distributors and their indirect
  * resellers in an n-tier resale channel.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.ChannelPartnerLink}
  */
-public final class ChannelPartnerLink extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ChannelPartnerLink extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ChannelPartnerLink)
     ChannelPartnerLinkOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ChannelPartnerLink.newBuilder() to construct.
   private ChannelPartnerLink(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ChannelPartnerLink() {
     name_ = "";
     resellerCloudIdentityId_ = "";
@@ -30,38 +48,42 @@ private ChannelPartnerLink() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ChannelPartnerLink();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ChannelPartnerLinksProto.internal_static_google_cloud_channel_v1_ChannelPartnerLink_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ChannelPartnerLinksProto
+        .internal_static_google_cloud_channel_v1_ChannelPartnerLink_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ChannelPartnerLinksProto.internal_static_google_cloud_channel_v1_ChannelPartnerLink_fieldAccessorTable
+    return com.google.cloud.channel.v1.ChannelPartnerLinksProto
+        .internal_static_google_cloud_channel_v1_ChannelPartnerLink_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.ChannelPartnerLink.class, com.google.cloud.channel.v1.ChannelPartnerLink.Builder.class);
+            com.google.cloud.channel.v1.ChannelPartnerLink.class,
+            com.google.cloud.channel.v1.ChannelPartnerLink.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Output only. Resource name for the channel partner link, in the format
    * accounts/{account_id}/channelPartnerLinks/{id}.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -70,30 +92,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 the channel partner link, in the format
    * accounts/{account_id}/channelPartnerLinks/{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 { @@ -104,11 +126,14 @@ public java.lang.String getName() { public static final int RESELLER_CLOUD_IDENTITY_ID_FIELD_NUMBER = 2; private volatile java.lang.Object resellerCloudIdentityId_; /** + * + * *
    * Required. Cloud Identity ID of the linked reseller.
    * 
* * string reseller_cloud_identity_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The resellerCloudIdentityId. */ @java.lang.Override @@ -117,29 +142,29 @@ public java.lang.String getResellerCloudIdentityId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resellerCloudIdentityId_ = s; return s; } } /** + * + * *
    * Required. Cloud Identity ID of the linked reseller.
    * 
* * string reseller_cloud_identity_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for resellerCloudIdentityId. */ @java.lang.Override - public com.google.protobuf.ByteString - getResellerCloudIdentityIdBytes() { + public com.google.protobuf.ByteString getResellerCloudIdentityIdBytes() { java.lang.Object ref = resellerCloudIdentityId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resellerCloudIdentityId_ = b; return b; } else { @@ -150,38 +175,56 @@ public java.lang.String getResellerCloudIdentityId() { public static final int LINK_STATE_FIELD_NUMBER = 3; private int linkState_; /** + * + * *
    * Required. State of the channel partner link.
    * 
* - * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for linkState. */ - @java.lang.Override public int getLinkStateValue() { + @java.lang.Override + public int getLinkStateValue() { return linkState_; } /** + * + * *
    * Required. State of the channel partner link.
    * 
* - * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The linkState. */ - @java.lang.Override public com.google.cloud.channel.v1.ChannelPartnerLinkState getLinkState() { + @java.lang.Override + public com.google.cloud.channel.v1.ChannelPartnerLinkState getLinkState() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.ChannelPartnerLinkState result = com.google.cloud.channel.v1.ChannelPartnerLinkState.valueOf(linkState_); - return result == null ? com.google.cloud.channel.v1.ChannelPartnerLinkState.UNRECOGNIZED : result; + com.google.cloud.channel.v1.ChannelPartnerLinkState result = + com.google.cloud.channel.v1.ChannelPartnerLinkState.valueOf(linkState_); + return result == null + ? com.google.cloud.channel.v1.ChannelPartnerLinkState.UNRECOGNIZED + : result; } public static final int INVITE_LINK_URI_FIELD_NUMBER = 4; private volatile java.lang.Object inviteLinkUri_; /** + * + * *
    * Output only. URI of the web page where partner accepts the link invitation.
    * 
* * string invite_link_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The inviteLinkUri. */ @java.lang.Override @@ -190,29 +233,29 @@ public java.lang.String getInviteLinkUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inviteLinkUri_ = s; return s; } } /** + * + * *
    * Output only. URI of the web page where partner accepts the link invitation.
    * 
* * string invite_link_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for inviteLinkUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getInviteLinkUriBytes() { + public com.google.protobuf.ByteString getInviteLinkUriBytes() { java.lang.Object ref = inviteLinkUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); inviteLinkUri_ = b; return b; } else { @@ -223,11 +266,15 @@ public java.lang.String getInviteLinkUri() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. Timestamp of when the channel partner link is created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -235,11 +282,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. Timestamp of when the channel partner link is created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -247,11 +298,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. Timestamp of when the channel partner link is created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -261,11 +315,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. Timestamp of when the channel partner link is updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -273,11 +331,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. Timestamp of when the channel partner link is updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -285,11 +347,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. Timestamp of when the channel partner link is updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -299,12 +364,15 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int PUBLIC_ID_FIELD_NUMBER = 7; private volatile java.lang.Object publicId_; /** + * + * *
    * Output only. Public identifier that a customer must use to generate a
    * transfer token to move to this distributor-reseller combination.
    * 
* * string public_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The publicId. */ @java.lang.Override @@ -313,30 +381,30 @@ public java.lang.String getPublicId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicId_ = s; return s; } } /** + * + * *
    * Output only. Public identifier that a customer must use to generate a
    * transfer token to move to this distributor-reseller combination.
    * 
* * string public_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for publicId. */ @java.lang.Override - public com.google.protobuf.ByteString - getPublicIdBytes() { + public com.google.protobuf.ByteString getPublicIdBytes() { java.lang.Object ref = publicId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); publicId_ = b; return b; } else { @@ -347,11 +415,16 @@ public java.lang.String getPublicId() { public static final int CHANNEL_PARTNER_CLOUD_IDENTITY_INFO_FIELD_NUMBER = 8; private com.google.cloud.channel.v1.CloudIdentityInfo channelPartnerCloudIdentityInfo_; /** + * + * *
    * Output only. Cloud Identity info of the channel partner (IR).
    * 
* - * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the channelPartnerCloudIdentityInfo field is set. */ @java.lang.Override @@ -359,30 +432,43 @@ public boolean hasChannelPartnerCloudIdentityInfo() { return channelPartnerCloudIdentityInfo_ != null; } /** + * + * *
    * Output only. Cloud Identity info of the channel partner (IR).
    * 
* - * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The channelPartnerCloudIdentityInfo. */ @java.lang.Override public com.google.cloud.channel.v1.CloudIdentityInfo getChannelPartnerCloudIdentityInfo() { - return channelPartnerCloudIdentityInfo_ == null ? com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() : channelPartnerCloudIdentityInfo_; + return channelPartnerCloudIdentityInfo_ == null + ? com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() + : channelPartnerCloudIdentityInfo_; } /** + * + * *
    * Output only. Cloud Identity info of the channel partner (IR).
    * 
* - * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder getChannelPartnerCloudIdentityInfoOrBuilder() { + public com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder + getChannelPartnerCloudIdentityInfoOrBuilder() { return getChannelPartnerCloudIdentityInfo(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -394,15 +480,17 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resellerCloudIdentityId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, resellerCloudIdentityId_); } - if (linkState_ != com.google.cloud.channel.v1.ChannelPartnerLinkState.CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED.getNumber()) { + if (linkState_ + != com.google.cloud.channel.v1.ChannelPartnerLinkState + .CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, linkState_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inviteLinkUri_)) { @@ -435,27 +523,28 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resellerCloudIdentityId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resellerCloudIdentityId_); } - if (linkState_ != com.google.cloud.channel.v1.ChannelPartnerLinkState.CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, linkState_); + if (linkState_ + != com.google.cloud.channel.v1.ChannelPartnerLinkState + .CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, linkState_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inviteLinkUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, inviteLinkUri_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(publicId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, publicId_); } if (channelPartnerCloudIdentityInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getChannelPartnerCloudIdentityInfo()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, getChannelPartnerCloudIdentityInfo()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -465,36 +554,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.ChannelPartnerLink)) { return super.equals(obj); } - com.google.cloud.channel.v1.ChannelPartnerLink other = (com.google.cloud.channel.v1.ChannelPartnerLink) obj; + com.google.cloud.channel.v1.ChannelPartnerLink other = + (com.google.cloud.channel.v1.ChannelPartnerLink) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getResellerCloudIdentityId() - .equals(other.getResellerCloudIdentityId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getResellerCloudIdentityId().equals(other.getResellerCloudIdentityId())) return false; if (linkState_ != other.linkState_) return false; - if (!getInviteLinkUri() - .equals(other.getInviteLinkUri())) return false; + if (!getInviteLinkUri().equals(other.getInviteLinkUri())) 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 (!getPublicId() - .equals(other.getPublicId())) return false; - if (hasChannelPartnerCloudIdentityInfo() != other.hasChannelPartnerCloudIdentityInfo()) return false; + if (!getPublicId().equals(other.getPublicId())) return false; + if (hasChannelPartnerCloudIdentityInfo() != other.hasChannelPartnerCloudIdentityInfo()) + return false; if (hasChannelPartnerCloudIdentityInfo()) { - if (!getChannelPartnerCloudIdentityInfo() - .equals(other.getChannelPartnerCloudIdentityInfo())) return false; + if (!getChannelPartnerCloudIdentityInfo().equals(other.getChannelPartnerCloudIdentityInfo())) + return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -534,97 +619,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ChannelPartnerLink parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.ChannelPartnerLink parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ChannelPartnerLink parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ChannelPartnerLink parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ChannelPartnerLink parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ChannelPartnerLink parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ChannelPartnerLink parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ChannelPartnerLink 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.cloud.channel.v1.ChannelPartnerLink parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ChannelPartnerLink parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ChannelPartnerLink parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ChannelPartnerLink parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ChannelPartnerLink parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ChannelPartnerLink parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.ChannelPartnerLink prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Entity representing a link between distributors and their indirect
    * resellers in an n-tier resale channel.
@@ -632,33 +724,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.ChannelPartnerLink}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ChannelPartnerLink)
       com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ChannelPartnerLinksProto.internal_static_google_cloud_channel_v1_ChannelPartnerLink_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ChannelPartnerLinksProto
+          .internal_static_google_cloud_channel_v1_ChannelPartnerLink_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ChannelPartnerLinksProto.internal_static_google_cloud_channel_v1_ChannelPartnerLink_fieldAccessorTable
+      return com.google.cloud.channel.v1.ChannelPartnerLinksProto
+          .internal_static_google_cloud_channel_v1_ChannelPartnerLink_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.ChannelPartnerLink.class, com.google.cloud.channel.v1.ChannelPartnerLink.Builder.class);
+              com.google.cloud.channel.v1.ChannelPartnerLink.class,
+              com.google.cloud.channel.v1.ChannelPartnerLink.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.ChannelPartnerLink.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -694,9 +785,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ChannelPartnerLinksProto.internal_static_google_cloud_channel_v1_ChannelPartnerLink_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ChannelPartnerLinksProto
+          .internal_static_google_cloud_channel_v1_ChannelPartnerLink_descriptor;
     }
 
     @java.lang.Override
@@ -715,7 +806,8 @@ public com.google.cloud.channel.v1.ChannelPartnerLink build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.ChannelPartnerLink buildPartial() {
-      com.google.cloud.channel.v1.ChannelPartnerLink result = new com.google.cloud.channel.v1.ChannelPartnerLink(this);
+      com.google.cloud.channel.v1.ChannelPartnerLink result =
+          new com.google.cloud.channel.v1.ChannelPartnerLink(this);
       result.name_ = name_;
       result.resellerCloudIdentityId_ = resellerCloudIdentityId_;
       result.linkState_ = linkState_;
@@ -744,38 +836,39 @@ public com.google.cloud.channel.v1.ChannelPartnerLink 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.cloud.channel.v1.ChannelPartnerLink) {
-        return mergeFrom((com.google.cloud.channel.v1.ChannelPartnerLink)other);
+        return mergeFrom((com.google.cloud.channel.v1.ChannelPartnerLink) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -838,58 +931,63 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              resellerCloudIdentityId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 24: {
-              linkState_ = input.readEnum();
-
-              break;
-            } // case 24
-            case 34: {
-              inviteLinkUri_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 50
-            case 58: {
-              publicId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getChannelPartnerCloudIdentityInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 66
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                resellerCloudIdentityId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 24:
+              {
+                linkState_ = input.readEnum();
+
+                break;
+              } // case 24
+            case 34:
+              {
+                inviteLinkUri_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 50
+            case 58:
+              {
+                publicId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(
+                    getChannelPartnerCloudIdentityInfoFieldBuilder().getBuilder(),
+                    extensionRegistry);
+
+                break;
+              } // case 66
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -902,19 +1000,21 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. Resource name for the channel partner link, in the format
      * accounts/{account_id}/channelPartnerLinks/{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; @@ -923,21 +1023,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name for the channel partner link, in the format
      * accounts/{account_id}/channelPartnerLinks/{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 { @@ -945,57 +1046,64 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name for the channel partner link, in the format
      * accounts/{account_id}/channelPartnerLinks/{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. Resource name for the channel partner link, in the format
      * accounts/{account_id}/channelPartnerLinks/{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. Resource name for the channel partner link, in the format
      * accounts/{account_id}/channelPartnerLinks/{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; @@ -1003,18 +1111,20 @@ public Builder setNameBytes( private java.lang.Object resellerCloudIdentityId_ = ""; /** + * + * *
      * Required. Cloud Identity ID of the linked reseller.
      * 
* * string reseller_cloud_identity_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The resellerCloudIdentityId. */ public java.lang.String getResellerCloudIdentityId() { java.lang.Object ref = resellerCloudIdentityId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resellerCloudIdentityId_ = s; return s; @@ -1023,20 +1133,21 @@ public java.lang.String getResellerCloudIdentityId() { } } /** + * + * *
      * Required. Cloud Identity ID of the linked reseller.
      * 
* * string reseller_cloud_identity_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for resellerCloudIdentityId. */ - public com.google.protobuf.ByteString - getResellerCloudIdentityIdBytes() { + public com.google.protobuf.ByteString getResellerCloudIdentityIdBytes() { java.lang.Object ref = resellerCloudIdentityId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resellerCloudIdentityId_ = b; return b; } else { @@ -1044,54 +1155,61 @@ public java.lang.String getResellerCloudIdentityId() { } } /** + * + * *
      * Required. Cloud Identity ID of the linked reseller.
      * 
* * string reseller_cloud_identity_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The resellerCloudIdentityId to set. * @return This builder for chaining. */ - public Builder setResellerCloudIdentityId( - java.lang.String value) { + public Builder setResellerCloudIdentityId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resellerCloudIdentityId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Cloud Identity ID of the linked reseller.
      * 
* * string reseller_cloud_identity_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearResellerCloudIdentityId() { - + resellerCloudIdentityId_ = getDefaultInstance().getResellerCloudIdentityId(); onChanged(); return this; } /** + * + * *
      * Required. Cloud Identity ID of the linked reseller.
      * 
* * string reseller_cloud_identity_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for resellerCloudIdentityId to set. * @return This builder for chaining. */ - public Builder setResellerCloudIdentityIdBytes( - com.google.protobuf.ByteString value) { + public Builder setResellerCloudIdentityIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resellerCloudIdentityId_ = value; onChanged(); return this; @@ -1099,51 +1217,75 @@ public Builder setResellerCloudIdentityIdBytes( private int linkState_ = 0; /** + * + * *
      * Required. State of the channel partner link.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for linkState. */ - @java.lang.Override public int getLinkStateValue() { + @java.lang.Override + public int getLinkStateValue() { return linkState_; } /** + * + * *
      * Required. State of the channel partner link.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for linkState to set. * @return This builder for chaining. */ public Builder setLinkStateValue(int value) { - + linkState_ = value; onChanged(); return this; } /** + * + * *
      * Required. State of the channel partner link.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The linkState. */ @java.lang.Override public com.google.cloud.channel.v1.ChannelPartnerLinkState getLinkState() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.ChannelPartnerLinkState result = com.google.cloud.channel.v1.ChannelPartnerLinkState.valueOf(linkState_); - return result == null ? com.google.cloud.channel.v1.ChannelPartnerLinkState.UNRECOGNIZED : result; + com.google.cloud.channel.v1.ChannelPartnerLinkState result = + com.google.cloud.channel.v1.ChannelPartnerLinkState.valueOf(linkState_); + return result == null + ? com.google.cloud.channel.v1.ChannelPartnerLinkState.UNRECOGNIZED + : result; } /** + * + * *
      * Required. State of the channel partner link.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The linkState to set. * @return This builder for chaining. */ @@ -1151,21 +1293,26 @@ public Builder setLinkState(com.google.cloud.channel.v1.ChannelPartnerLinkState if (value == null) { throw new NullPointerException(); } - + linkState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Required. State of the channel partner link.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearLinkState() { - + linkState_ = 0; onChanged(); return this; @@ -1173,18 +1320,20 @@ public Builder clearLinkState() { private java.lang.Object inviteLinkUri_ = ""; /** + * + * *
      * Output only. URI of the web page where partner accepts the link invitation.
      * 
* * string invite_link_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The inviteLinkUri. */ public java.lang.String getInviteLinkUri() { java.lang.Object ref = inviteLinkUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inviteLinkUri_ = s; return s; @@ -1193,20 +1342,21 @@ public java.lang.String getInviteLinkUri() { } } /** + * + * *
      * Output only. URI of the web page where partner accepts the link invitation.
      * 
* * string invite_link_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for inviteLinkUri. */ - public com.google.protobuf.ByteString - getInviteLinkUriBytes() { + public com.google.protobuf.ByteString getInviteLinkUriBytes() { java.lang.Object ref = inviteLinkUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); inviteLinkUri_ = b; return b; } else { @@ -1214,54 +1364,61 @@ public java.lang.String getInviteLinkUri() { } } /** + * + * *
      * Output only. URI of the web page where partner accepts the link invitation.
      * 
* * string invite_link_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The inviteLinkUri to set. * @return This builder for chaining. */ - public Builder setInviteLinkUri( - java.lang.String value) { + public Builder setInviteLinkUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inviteLinkUri_ = value; onChanged(); return this; } /** + * + * *
      * Output only. URI of the web page where partner accepts the link invitation.
      * 
* * string invite_link_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearInviteLinkUri() { - + inviteLinkUri_ = getDefaultInstance().getInviteLinkUri(); onChanged(); return this; } /** + * + * *
      * Output only. URI of the web page where partner accepts the link invitation.
      * 
* * string invite_link_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for inviteLinkUri to set. * @return This builder for chaining. */ - public Builder setInviteLinkUriBytes( - com.google.protobuf.ByteString value) { + public Builder setInviteLinkUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + inviteLinkUri_ = value; onChanged(); return this; @@ -1269,39 +1426,58 @@ public Builder setInviteLinkUriBytes( 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. Timestamp of when the channel partner link is created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. Timestamp of when the channel partner link is created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.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. Timestamp of when the channel partner link is created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1317,14 +1493,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Timestamp of when the channel partner link is created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.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(); @@ -1335,17 +1514,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Timestamp of when the channel partner link is created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.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; } @@ -1357,11 +1540,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Timestamp of when the channel partner link is created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1375,48 +1562,64 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Timestamp of when the channel partner link is created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Timestamp of when the channel partner link is created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.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. Timestamp of when the channel partner link is created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_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> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1424,39 +1627,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. Timestamp of when the channel partner link is updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Output only. Timestamp of when the channel partner link is updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.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. Timestamp of when the channel partner link is updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1472,14 +1694,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Timestamp of when the channel partner link is updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.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(); @@ -1490,17 +1715,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Timestamp of when the channel partner link is updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.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; } @@ -1512,11 +1741,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Timestamp of when the channel partner link is updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1530,48 +1763,64 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Timestamp of when the channel partner link is updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Timestamp of when the channel partner link is updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.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. Timestamp of when the channel partner link is updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -1579,19 +1828,21 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object publicId_ = ""; /** + * + * *
      * Output only. Public identifier that a customer must use to generate a
      * transfer token to move to this distributor-reseller combination.
      * 
* * string public_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The publicId. */ public java.lang.String getPublicId() { java.lang.Object ref = publicId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicId_ = s; return s; @@ -1600,21 +1851,22 @@ public java.lang.String getPublicId() { } } /** + * + * *
      * Output only. Public identifier that a customer must use to generate a
      * transfer token to move to this distributor-reseller combination.
      * 
* * string public_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for publicId. */ - public com.google.protobuf.ByteString - getPublicIdBytes() { + public com.google.protobuf.ByteString getPublicIdBytes() { java.lang.Object ref = publicId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); publicId_ = b; return b; } else { @@ -1622,57 +1874,64 @@ public java.lang.String getPublicId() { } } /** + * + * *
      * Output only. Public identifier that a customer must use to generate a
      * transfer token to move to this distributor-reseller combination.
      * 
* * string public_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The publicId to set. * @return This builder for chaining. */ - public Builder setPublicId( - java.lang.String value) { + public Builder setPublicId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + publicId_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Public identifier that a customer must use to generate a
      * transfer token to move to this distributor-reseller combination.
      * 
* * string public_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPublicId() { - + publicId_ = getDefaultInstance().getPublicId(); onChanged(); return this; } /** + * + * *
      * Output only. Public identifier that a customer must use to generate a
      * transfer token to move to this distributor-reseller combination.
      * 
* * string public_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for publicId to set. * @return This builder for chaining. */ - public Builder setPublicIdBytes( - com.google.protobuf.ByteString value) { + public Builder setPublicIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + publicId_ = value; onChanged(); return this; @@ -1680,41 +1939,62 @@ public Builder setPublicIdBytes( private com.google.cloud.channel.v1.CloudIdentityInfo channelPartnerCloudIdentityInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CloudIdentityInfo, com.google.cloud.channel.v1.CloudIdentityInfo.Builder, com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder> channelPartnerCloudIdentityInfoBuilder_; + com.google.cloud.channel.v1.CloudIdentityInfo, + com.google.cloud.channel.v1.CloudIdentityInfo.Builder, + com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder> + channelPartnerCloudIdentityInfoBuilder_; /** + * + * *
      * Output only. Cloud Identity info of the channel partner (IR).
      * 
* - * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the channelPartnerCloudIdentityInfo field is set. */ public boolean hasChannelPartnerCloudIdentityInfo() { - return channelPartnerCloudIdentityInfoBuilder_ != null || channelPartnerCloudIdentityInfo_ != null; + return channelPartnerCloudIdentityInfoBuilder_ != null + || channelPartnerCloudIdentityInfo_ != null; } /** + * + * *
      * Output only. Cloud Identity info of the channel partner (IR).
      * 
* - * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The channelPartnerCloudIdentityInfo. */ public com.google.cloud.channel.v1.CloudIdentityInfo getChannelPartnerCloudIdentityInfo() { if (channelPartnerCloudIdentityInfoBuilder_ == null) { - return channelPartnerCloudIdentityInfo_ == null ? com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() : channelPartnerCloudIdentityInfo_; + return channelPartnerCloudIdentityInfo_ == null + ? com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() + : channelPartnerCloudIdentityInfo_; } else { return channelPartnerCloudIdentityInfoBuilder_.getMessage(); } } /** + * + * *
      * Output only. Cloud Identity info of the channel partner (IR).
      * 
* - * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setChannelPartnerCloudIdentityInfo(com.google.cloud.channel.v1.CloudIdentityInfo value) { + public Builder setChannelPartnerCloudIdentityInfo( + com.google.cloud.channel.v1.CloudIdentityInfo value) { if (channelPartnerCloudIdentityInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1728,11 +2008,15 @@ public Builder setChannelPartnerCloudIdentityInfo(com.google.cloud.channel.v1.Cl return this; } /** + * + * *
      * Output only. Cloud Identity info of the channel partner (IR).
      * 
* - * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setChannelPartnerCloudIdentityInfo( com.google.cloud.channel.v1.CloudIdentityInfo.Builder builderForValue) { @@ -1746,17 +2030,25 @@ public Builder setChannelPartnerCloudIdentityInfo( return this; } /** + * + * *
      * Output only. Cloud Identity info of the channel partner (IR).
      * 
* - * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeChannelPartnerCloudIdentityInfo(com.google.cloud.channel.v1.CloudIdentityInfo value) { + public Builder mergeChannelPartnerCloudIdentityInfo( + com.google.cloud.channel.v1.CloudIdentityInfo value) { if (channelPartnerCloudIdentityInfoBuilder_ == null) { if (channelPartnerCloudIdentityInfo_ != null) { channelPartnerCloudIdentityInfo_ = - com.google.cloud.channel.v1.CloudIdentityInfo.newBuilder(channelPartnerCloudIdentityInfo_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.CloudIdentityInfo.newBuilder( + channelPartnerCloudIdentityInfo_) + .mergeFrom(value) + .buildPartial(); } else { channelPartnerCloudIdentityInfo_ = value; } @@ -1768,11 +2060,15 @@ public Builder mergeChannelPartnerCloudIdentityInfo(com.google.cloud.channel.v1. return this; } /** + * + * *
      * Output only. Cloud Identity info of the channel partner (IR).
      * 
* - * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearChannelPartnerCloudIdentityInfo() { if (channelPartnerCloudIdentityInfoBuilder_ == null) { @@ -1786,55 +2082,73 @@ public Builder clearChannelPartnerCloudIdentityInfo() { return this; } /** + * + * *
      * Output only. Cloud Identity info of the channel partner (IR).
      * 
* - * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.channel.v1.CloudIdentityInfo.Builder getChannelPartnerCloudIdentityInfoBuilder() { - + public com.google.cloud.channel.v1.CloudIdentityInfo.Builder + getChannelPartnerCloudIdentityInfoBuilder() { + onChanged(); return getChannelPartnerCloudIdentityInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Cloud Identity info of the channel partner (IR).
      * 
* - * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder getChannelPartnerCloudIdentityInfoOrBuilder() { + public com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder + getChannelPartnerCloudIdentityInfoOrBuilder() { if (channelPartnerCloudIdentityInfoBuilder_ != null) { return channelPartnerCloudIdentityInfoBuilder_.getMessageOrBuilder(); } else { - return channelPartnerCloudIdentityInfo_ == null ? - com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() : channelPartnerCloudIdentityInfo_; + return channelPartnerCloudIdentityInfo_ == null + ? com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() + : channelPartnerCloudIdentityInfo_; } } /** + * + * *
      * Output only. Cloud Identity info of the channel partner (IR).
      * 
* - * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CloudIdentityInfo, com.google.cloud.channel.v1.CloudIdentityInfo.Builder, com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder> + com.google.cloud.channel.v1.CloudIdentityInfo, + com.google.cloud.channel.v1.CloudIdentityInfo.Builder, + com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder> getChannelPartnerCloudIdentityInfoFieldBuilder() { if (channelPartnerCloudIdentityInfoBuilder_ == null) { - channelPartnerCloudIdentityInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CloudIdentityInfo, com.google.cloud.channel.v1.CloudIdentityInfo.Builder, com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder>( - getChannelPartnerCloudIdentityInfo(), - getParentForChildren(), - isClean()); + channelPartnerCloudIdentityInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.CloudIdentityInfo, + com.google.cloud.channel.v1.CloudIdentityInfo.Builder, + com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder>( + getChannelPartnerCloudIdentityInfo(), getParentForChildren(), isClean()); channelPartnerCloudIdentityInfo_ = null; } return channelPartnerCloudIdentityInfoBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1844,12 +2158,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ChannelPartnerLink) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ChannelPartnerLink) private static final com.google.cloud.channel.v1.ChannelPartnerLink DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ChannelPartnerLink(); } @@ -1858,27 +2172,27 @@ public static com.google.cloud.channel.v1.ChannelPartnerLink getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChannelPartnerLink parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChannelPartnerLink parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1893,6 +2207,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ChannelPartnerLink getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkName.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkName.java similarity index 100% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkName.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkName.java diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkOrBuilder.java similarity index 68% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkOrBuilder.java index 5ee527ed9adb..b8ca34594d2a 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkOrBuilder.java @@ -1,193 +1,276 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/channel_partner_links.proto package com.google.cloud.channel.v1; -public interface ChannelPartnerLinkOrBuilder extends +public interface ChannelPartnerLinkOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ChannelPartnerLink) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name for the channel partner link, in the format
    * accounts/{account_id}/channelPartnerLinks/{id}.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name for the channel partner link, in the format
    * accounts/{account_id}/channelPartnerLinks/{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(); /** + * + * *
    * Required. Cloud Identity ID of the linked reseller.
    * 
* * string reseller_cloud_identity_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The resellerCloudIdentityId. */ java.lang.String getResellerCloudIdentityId(); /** + * + * *
    * Required. Cloud Identity ID of the linked reseller.
    * 
* * string reseller_cloud_identity_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for resellerCloudIdentityId. */ - com.google.protobuf.ByteString - getResellerCloudIdentityIdBytes(); + com.google.protobuf.ByteString getResellerCloudIdentityIdBytes(); /** + * + * *
    * Required. State of the channel partner link.
    * 
* - * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for linkState. */ int getLinkStateValue(); /** + * + * *
    * Required. State of the channel partner link.
    * 
* - * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The linkState. */ com.google.cloud.channel.v1.ChannelPartnerLinkState getLinkState(); /** + * + * *
    * Output only. URI of the web page where partner accepts the link invitation.
    * 
* * string invite_link_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The inviteLinkUri. */ java.lang.String getInviteLinkUri(); /** + * + * *
    * Output only. URI of the web page where partner accepts the link invitation.
    * 
* * string invite_link_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for inviteLinkUri. */ - com.google.protobuf.ByteString - getInviteLinkUriBytes(); + com.google.protobuf.ByteString getInviteLinkUriBytes(); /** + * + * *
    * Output only. Timestamp of when the channel partner link is created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. Timestamp of when the channel partner link is created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. Timestamp of when the channel partner link is created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. Timestamp of when the channel partner link is updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. Timestamp of when the channel partner link is updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. Timestamp of when the channel partner link is updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. Public identifier that a customer must use to generate a
    * transfer token to move to this distributor-reseller combination.
    * 
* * string public_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The publicId. */ java.lang.String getPublicId(); /** + * + * *
    * Output only. Public identifier that a customer must use to generate a
    * transfer token to move to this distributor-reseller combination.
    * 
* * string public_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for publicId. */ - com.google.protobuf.ByteString - getPublicIdBytes(); + com.google.protobuf.ByteString getPublicIdBytes(); /** + * + * *
    * Output only. Cloud Identity info of the channel partner (IR).
    * 
* - * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the channelPartnerCloudIdentityInfo field is set. */ boolean hasChannelPartnerCloudIdentityInfo(); /** + * + * *
    * Output only. Cloud Identity info of the channel partner (IR).
    * 
* - * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The channelPartnerCloudIdentityInfo. */ com.google.cloud.channel.v1.CloudIdentityInfo getChannelPartnerCloudIdentityInfo(); /** + * + * *
    * Output only. Cloud Identity info of the channel partner (IR).
    * 
* - * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder getChannelPartnerCloudIdentityInfoOrBuilder(); + com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder + getChannelPartnerCloudIdentityInfoOrBuilder(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkState.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkState.java similarity index 71% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkState.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkState.java index 86f86bab6a33..28d798d3a7e5 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkState.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkState.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/cloud/channel/v1/channel_partner_links.proto package com.google.cloud.channel.v1; /** + * + * *
  * ChannelPartnerLinkState represents state of a channel partner link.
  * 
* * Protobuf enum {@code google.cloud.channel.v1.ChannelPartnerLinkState} */ -public enum ChannelPartnerLinkState - implements com.google.protobuf.ProtocolMessageEnum { +public enum ChannelPartnerLinkState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Not used.
    * 
@@ -21,6 +39,8 @@ public enum ChannelPartnerLinkState */ CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED(0), /** + * + * *
    * An invitation has been sent to the reseller to create a channel partner
    * link.
@@ -30,6 +50,8 @@ public enum ChannelPartnerLinkState
    */
   INVITED(1),
   /**
+   *
+   *
    * 
    * Status when the reseller is active.
    * 
@@ -38,6 +60,8 @@ public enum ChannelPartnerLinkState */ ACTIVE(2), /** + * + * *
    * Status when the reseller has been revoked by the distributor.
    * 
@@ -46,6 +70,8 @@ public enum ChannelPartnerLinkState */ REVOKED(3), /** + * + * *
    * Status when the reseller is suspended by Google or distributor.
    * 
@@ -57,6 +83,8 @@ public enum ChannelPartnerLinkState ; /** + * + * *
    * Not used.
    * 
@@ -65,6 +93,8 @@ public enum ChannelPartnerLinkState */ public static final int CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * An invitation has been sent to the reseller to create a channel partner
    * link.
@@ -74,6 +104,8 @@ public enum ChannelPartnerLinkState
    */
   public static final int INVITED_VALUE = 1;
   /**
+   *
+   *
    * 
    * Status when the reseller is active.
    * 
@@ -82,6 +114,8 @@ public enum ChannelPartnerLinkState */ public static final int ACTIVE_VALUE = 2; /** + * + * *
    * Status when the reseller has been revoked by the distributor.
    * 
@@ -90,6 +124,8 @@ public enum ChannelPartnerLinkState */ public static final int REVOKED_VALUE = 3; /** + * + * *
    * Status when the reseller is suspended by Google or distributor.
    * 
@@ -98,7 +134,6 @@ public enum ChannelPartnerLinkState */ public static final int SUSPENDED_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -123,12 +158,18 @@ public static ChannelPartnerLinkState valueOf(int value) { */ public static ChannelPartnerLinkState forNumber(int value) { switch (value) { - case 0: return CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED; - case 1: return INVITED; - case 2: return ACTIVE; - case 3: return REVOKED; - case 4: return SUSPENDED; - default: return null; + case 0: + return CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED; + case 1: + return INVITED; + case 2: + return ACTIVE; + case 3: + return REVOKED; + case 4: + return SUSPENDED; + default: + return null; } } @@ -136,29 +177,31 @@ public static ChannelPartnerLinkState forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ChannelPartnerLinkState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ChannelPartnerLinkState findValueByNumber(int number) { - return ChannelPartnerLinkState.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 ChannelPartnerLinkState findValueByNumber(int number) { + return ChannelPartnerLinkState.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.cloud.channel.v1.ChannelPartnerLinksProto.getDescriptor().getEnumTypes().get(1); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.channel.v1.ChannelPartnerLinksProto.getDescriptor() + .getEnumTypes() + .get(1); } private static final ChannelPartnerLinkState[] VALUES = values(); @@ -166,8 +209,7 @@ public ChannelPartnerLinkState findValueByNumber(int number) { public static ChannelPartnerLinkState 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; @@ -183,4 +225,3 @@ private ChannelPartnerLinkState(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.channel.v1.ChannelPartnerLinkState) } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkView.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkView.java similarity index 70% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkView.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkView.java index de82a69f261c..e702db92581b 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkView.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinkView.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/cloud/channel/v1/channel_partner_links.proto package com.google.cloud.channel.v1; /** + * + * *
  * The level of granularity the
  * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] will
@@ -12,9 +29,10 @@
  *
  * Protobuf enum {@code google.cloud.channel.v1.ChannelPartnerLinkView}
  */
-public enum ChannelPartnerLinkView
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum ChannelPartnerLinkView implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -24,6 +42,8 @@ public enum ChannelPartnerLinkView
    */
   UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * Includes all fields except the
    * [ChannelPartnerLink.channel_partner_cloud_identity_info][google.cloud.channel.v1.ChannelPartnerLink.channel_partner_cloud_identity_info].
@@ -33,6 +53,8 @@ public enum ChannelPartnerLinkView
    */
   BASIC(1),
   /**
+   *
+   *
    * 
    * Includes all fields.
    * 
@@ -44,6 +66,8 @@ public enum ChannelPartnerLinkView ; /** + * + * *
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -53,6 +77,8 @@ public enum ChannelPartnerLinkView
    */
   public static final int UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * Includes all fields except the
    * [ChannelPartnerLink.channel_partner_cloud_identity_info][google.cloud.channel.v1.ChannelPartnerLink.channel_partner_cloud_identity_info].
@@ -62,6 +88,8 @@ public enum ChannelPartnerLinkView
    */
   public static final int BASIC_VALUE = 1;
   /**
+   *
+   *
    * 
    * Includes all fields.
    * 
@@ -70,7 +98,6 @@ public enum ChannelPartnerLinkView */ public static final int FULL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -95,10 +122,14 @@ public static ChannelPartnerLinkView valueOf(int value) { */ public static ChannelPartnerLinkView forNumber(int value) { switch (value) { - case 0: return UNSPECIFIED; - case 1: return BASIC; - case 2: return FULL; - default: return null; + case 0: + return UNSPECIFIED; + case 1: + return BASIC; + case 2: + return FULL; + default: + return null; } } @@ -106,29 +137,31 @@ public static ChannelPartnerLinkView forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ChannelPartnerLinkView> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ChannelPartnerLinkView findValueByNumber(int number) { - return ChannelPartnerLinkView.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 ChannelPartnerLinkView findValueByNumber(int number) { + return ChannelPartnerLinkView.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.cloud.channel.v1.ChannelPartnerLinksProto.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.channel.v1.ChannelPartnerLinksProto.getDescriptor() + .getEnumTypes() + .get(0); } private static final ChannelPartnerLinkView[] VALUES = values(); @@ -136,8 +169,7 @@ public ChannelPartnerLinkView findValueByNumber(int number) { public static ChannelPartnerLinkView 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; @@ -153,4 +185,3 @@ private ChannelPartnerLinkView(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.channel.v1.ChannelPartnerLinkView) } - diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinksProto.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinksProto.java new file mode 100644 index 000000000000..f4d089cf878d --- /dev/null +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinksProto.java @@ -0,0 +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/cloud/channel/v1/channel_partner_links.proto + +package com.google.cloud.channel.v1; + +public final class ChannelPartnerLinksProto { + private ChannelPartnerLinksProto() {} + + 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_cloud_channel_v1_ChannelPartnerLink_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_ChannelPartnerLink_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n3google/cloud/channel/v1/channel_partne" + + "r_links.proto\022\027google.cloud.channel.v1\032\037" + + "google/api/field_behavior.proto\032\031google/" + + "api/resource.proto\032$google/cloud/channel" + + "/v1/common.proto\032\037google/protobuf/timest" + + "amp.proto\"\217\004\n\022ChannelPartnerLink\022\021\n\004name" + + "\030\001 \001(\tB\003\340A\003\022\'\n\032reseller_cloud_identity_i" + + "d\030\002 \001(\tB\003\340A\002\022I\n\nlink_state\030\003 \001(\01620.googl" + + "e.cloud.channel.v1.ChannelPartnerLinkSta" + + "teB\003\340A\002\022\034\n\017invite_link_uri\030\004 \001(\tB\003\340A\003\0224\n" + + "\013create_time\030\005 \001(\0132\032.google.protobuf.Tim" + + "estampB\003\340A\003\0224\n\013update_time\030\006 \001(\0132\032.googl" + + "e.protobuf.TimestampB\003\340A\003\022\026\n\tpublic_id\030\007" + + " \001(\tB\003\340A\003\022\\\n#channel_partner_cloud_ident" + + "ity_info\030\010 \001(\0132*.google.cloud.channel.v1" + + ".CloudIdentityInfoB\003\340A\003:r\352Ao\n.cloudchann" + + "el.googleapis.com/ChannelPartnerLink\022=ac" + + "counts/{account}/channelPartnerLinks/{ch" + + "annel_partner_link}*>\n\026ChannelPartnerLin" + + "kView\022\017\n\013UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FUL" + + "L\020\002*z\n\027ChannelPartnerLinkState\022*\n&CHANNE" + + "L_PARTNER_LINK_STATE_UNSPECIFIED\020\000\022\013\n\007IN" + + "VITED\020\001\022\n\n\006ACTIVE\020\002\022\013\n\007REVOKED\020\003\022\r\n\tSUSP" + + "ENDED\020\004By\n\033com.google.cloud.channel.v1B\030" + + "ChannelPartnerLinksProtoP\001Z>google.golan" + + "g.org/genproto/googleapis/cloud/channel/" + + "v1;channelb\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.cloud.channel.v1.CommonProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_channel_v1_ChannelPartnerLink_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_channel_v1_ChannelPartnerLink_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_ChannelPartnerLink_descriptor, + new java.lang.String[] { + "Name", + "ResellerCloudIdentityId", + "LinkState", + "InviteLinkUri", + "CreateTime", + "UpdateTime", + "PublicId", + "ChannelPartnerCloudIdentityInfo", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.channel.v1.CommonProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfig.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfig.java similarity index 67% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfig.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfig.java index 1c805c39aa51..a6dc90835ddc 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfig.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfig.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/cloud/channel/v1/repricing.proto package com.google.cloud.channel.v1; /** + * + * *
  * Configuration for how a distributor will rebill a channel partner
  * (also known as a distributor-authorized reseller).
@@ -11,47 +28,51 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.ChannelPartnerRepricingConfig}
  */
-public final class ChannelPartnerRepricingConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ChannelPartnerRepricingConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ChannelPartnerRepricingConfig)
     ChannelPartnerRepricingConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ChannelPartnerRepricingConfig.newBuilder() to construct.
   private ChannelPartnerRepricingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ChannelPartnerRepricingConfig() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ChannelPartnerRepricingConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.RepricingProto
+        .internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_fieldAccessorTable
+    return com.google.cloud.channel.v1.RepricingProto
+        .internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.class, com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder.class);
+            com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.class,
+            com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Output only. Resource name of the ChannelPartnerRepricingConfig.
    * Format:
@@ -59,6 +80,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -67,14 +89,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Resource name of the ChannelPartnerRepricingConfig.
    * Format:
@@ -82,16 +105,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -102,12 +124,17 @@ public java.lang.String getName() { public static final int REPRICING_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.RepricingConfig repricingConfig_; /** + * + * *
    * Required. The configuration for bill modifications made by a reseller
    * before sending it to ChannelPartner.
    * 
* - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the repricingConfig field is set. */ @java.lang.Override @@ -115,25 +142,36 @@ public boolean hasRepricingConfig() { return repricingConfig_ != null; } /** + * + * *
    * Required. The configuration for bill modifications made by a reseller
    * before sending it to ChannelPartner.
    * 
* - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The repricingConfig. */ @java.lang.Override public com.google.cloud.channel.v1.RepricingConfig getRepricingConfig() { - return repricingConfig_ == null ? com.google.cloud.channel.v1.RepricingConfig.getDefaultInstance() : repricingConfig_; + return repricingConfig_ == null + ? com.google.cloud.channel.v1.RepricingConfig.getDefaultInstance() + : repricingConfig_; } /** + * + * *
    * Required. The configuration for bill modifications made by a reseller
    * before sending it to ChannelPartner.
    * 
* - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.channel.v1.RepricingConfigOrBuilder getRepricingConfigOrBuilder() { @@ -143,6 +181,8 @@ public com.google.cloud.channel.v1.RepricingConfigOrBuilder getRepricingConfigOr public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. Timestamp of an update to the repricing rule. If `update_time`
    * is after
@@ -150,7 +190,9 @@ public com.google.cloud.channel.v1.RepricingConfigOrBuilder getRepricingConfigOr
    * then it indicates this was set mid-month.
    * 
* - * .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 @@ -158,6 +200,8 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. Timestamp of an update to the repricing rule. If `update_time`
    * is after
@@ -165,7 +209,9 @@ public boolean hasUpdateTime() {
    * then it indicates this was set mid-month.
    * 
* - * .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 @@ -173,6 +219,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. Timestamp of an update to the repricing rule. If `update_time`
    * is after
@@ -180,7 +228,8 @@ public com.google.protobuf.Timestamp getUpdateTime() {
    * then it indicates this was set mid-month.
    * 
* - * .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() { @@ -188,6 +237,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -223,12 +272,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (repricingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getRepricingConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRepricingConfig()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -238,24 +285,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.cloud.channel.v1.ChannelPartnerRepricingConfig)) { return super.equals(obj); } - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig other = (com.google.cloud.channel.v1.ChannelPartnerRepricingConfig) obj; + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig other = + (com.google.cloud.channel.v1.ChannelPartnerRepricingConfig) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasRepricingConfig() != other.hasRepricingConfig()) return false; if (hasRepricingConfig()) { - if (!getRepricingConfig() - .equals(other.getRepricingConfig())) return false; + if (!getRepricingConfig().equals(other.getRepricingConfig())) 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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -284,96 +329,104 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ChannelPartnerRepricingConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ChannelPartnerRepricingConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ChannelPartnerRepricingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ChannelPartnerRepricingConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ChannelPartnerRepricingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ChannelPartnerRepricingConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ChannelPartnerRepricingConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ChannelPartnerRepricingConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ChannelPartnerRepricingConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ChannelPartnerRepricingConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ChannelPartnerRepricingConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ChannelPartnerRepricingConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ChannelPartnerRepricingConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ChannelPartnerRepricingConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ChannelPartnerRepricingConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for how a distributor will rebill a channel partner
    * (also known as a distributor-authorized reseller).
@@ -381,33 +434,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.ChannelPartnerRepricingConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ChannelPartnerRepricingConfig)
       com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.RepricingProto
+          .internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_fieldAccessorTable
+      return com.google.cloud.channel.v1.RepricingProto
+          .internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.class, com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder.class);
+              com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.class,
+              com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -429,9 +481,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.RepricingProto
+          .internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_descriptor;
     }
 
     @java.lang.Override
@@ -450,7 +502,8 @@ public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig buildPartial() {
-      com.google.cloud.channel.v1.ChannelPartnerRepricingConfig result = new com.google.cloud.channel.v1.ChannelPartnerRepricingConfig(this);
+      com.google.cloud.channel.v1.ChannelPartnerRepricingConfig result =
+          new com.google.cloud.channel.v1.ChannelPartnerRepricingConfig(this);
       result.name_ = name_;
       if (repricingConfigBuilder_ == null) {
         result.repricingConfig_ = repricingConfig_;
@@ -470,38 +523,39 @@ public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig 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.cloud.channel.v1.ChannelPartnerRepricingConfig) {
-        return mergeFrom((com.google.cloud.channel.v1.ChannelPartnerRepricingConfig)other);
+        return mergeFrom((com.google.cloud.channel.v1.ChannelPartnerRepricingConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -509,7 +563,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.ChannelPartnerRepricingConfig other) {
-      if (other == com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -546,31 +601,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getRepricingConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getRepricingConfigFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -583,6 +638,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. Resource name of the ChannelPartnerRepricingConfig.
      * Format:
@@ -590,13 +647,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; @@ -605,6 +662,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of the ChannelPartnerRepricingConfig.
      * Format:
@@ -612,15 +671,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 { @@ -628,6 +686,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of the ChannelPartnerRepricingConfig.
      * Format:
@@ -635,20 +695,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 the ChannelPartnerRepricingConfig.
      * Format:
@@ -656,15 +718,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 the ChannelPartnerRepricingConfig.
      * Format:
@@ -672,16 +737,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; @@ -689,42 +754,61 @@ public Builder setNameBytes( private com.google.cloud.channel.v1.RepricingConfig repricingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingConfig, com.google.cloud.channel.v1.RepricingConfig.Builder, com.google.cloud.channel.v1.RepricingConfigOrBuilder> repricingConfigBuilder_; + com.google.cloud.channel.v1.RepricingConfig, + com.google.cloud.channel.v1.RepricingConfig.Builder, + com.google.cloud.channel.v1.RepricingConfigOrBuilder> + repricingConfigBuilder_; /** + * + * *
      * Required. The configuration for bill modifications made by a reseller
      * before sending it to ChannelPartner.
      * 
* - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the repricingConfig field is set. */ public boolean hasRepricingConfig() { return repricingConfigBuilder_ != null || repricingConfig_ != null; } /** + * + * *
      * Required. The configuration for bill modifications made by a reseller
      * before sending it to ChannelPartner.
      * 
* - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The repricingConfig. */ public com.google.cloud.channel.v1.RepricingConfig getRepricingConfig() { if (repricingConfigBuilder_ == null) { - return repricingConfig_ == null ? com.google.cloud.channel.v1.RepricingConfig.getDefaultInstance() : repricingConfig_; + return repricingConfig_ == null + ? com.google.cloud.channel.v1.RepricingConfig.getDefaultInstance() + : repricingConfig_; } else { return repricingConfigBuilder_.getMessage(); } } /** + * + * *
      * Required. The configuration for bill modifications made by a reseller
      * before sending it to ChannelPartner.
      * 
* - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRepricingConfig(com.google.cloud.channel.v1.RepricingConfig value) { if (repricingConfigBuilder_ == null) { @@ -740,12 +824,16 @@ public Builder setRepricingConfig(com.google.cloud.channel.v1.RepricingConfig va return this; } /** + * + * *
      * Required. The configuration for bill modifications made by a reseller
      * before sending it to ChannelPartner.
      * 
* - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRepricingConfig( com.google.cloud.channel.v1.RepricingConfig.Builder builderForValue) { @@ -759,18 +847,24 @@ public Builder setRepricingConfig( return this; } /** + * + * *
      * Required. The configuration for bill modifications made by a reseller
      * before sending it to ChannelPartner.
      * 
* - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeRepricingConfig(com.google.cloud.channel.v1.RepricingConfig value) { if (repricingConfigBuilder_ == null) { if (repricingConfig_ != null) { repricingConfig_ = - com.google.cloud.channel.v1.RepricingConfig.newBuilder(repricingConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.RepricingConfig.newBuilder(repricingConfig_) + .mergeFrom(value) + .buildPartial(); } else { repricingConfig_ = value; } @@ -782,12 +876,16 @@ public Builder mergeRepricingConfig(com.google.cloud.channel.v1.RepricingConfig return this; } /** + * + * *
      * Required. The configuration for bill modifications made by a reseller
      * before sending it to ChannelPartner.
      * 
* - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRepricingConfig() { if (repricingConfigBuilder_ == null) { @@ -801,51 +899,67 @@ public Builder clearRepricingConfig() { return this; } /** + * + * *
      * Required. The configuration for bill modifications made by a reseller
      * before sending it to ChannelPartner.
      * 
* - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.channel.v1.RepricingConfig.Builder getRepricingConfigBuilder() { - + onChanged(); return getRepricingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The configuration for bill modifications made by a reseller
      * before sending it to ChannelPartner.
      * 
* - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.channel.v1.RepricingConfigOrBuilder getRepricingConfigOrBuilder() { if (repricingConfigBuilder_ != null) { return repricingConfigBuilder_.getMessageOrBuilder(); } else { - return repricingConfig_ == null ? - com.google.cloud.channel.v1.RepricingConfig.getDefaultInstance() : repricingConfig_; + return repricingConfig_ == null + ? com.google.cloud.channel.v1.RepricingConfig.getDefaultInstance() + : repricingConfig_; } } /** + * + * *
      * Required. The configuration for bill modifications made by a reseller
      * before sending it to ChannelPartner.
      * 
* - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingConfig, com.google.cloud.channel.v1.RepricingConfig.Builder, com.google.cloud.channel.v1.RepricingConfigOrBuilder> + com.google.cloud.channel.v1.RepricingConfig, + com.google.cloud.channel.v1.RepricingConfig.Builder, + com.google.cloud.channel.v1.RepricingConfigOrBuilder> getRepricingConfigFieldBuilder() { if (repricingConfigBuilder_ == null) { - repricingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingConfig, com.google.cloud.channel.v1.RepricingConfig.Builder, com.google.cloud.channel.v1.RepricingConfigOrBuilder>( - getRepricingConfig(), - getParentForChildren(), - isClean()); + repricingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.RepricingConfig, + com.google.cloud.channel.v1.RepricingConfig.Builder, + com.google.cloud.channel.v1.RepricingConfigOrBuilder>( + getRepricingConfig(), getParentForChildren(), isClean()); repricingConfig_ = null; } return repricingConfigBuilder_; @@ -853,8 +967,13 @@ public com.google.cloud.channel.v1.RepricingConfigOrBuilder getRepricingConfigOr 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. Timestamp of an update to the repricing rule. If `update_time`
      * is after
@@ -862,13 +981,18 @@ public com.google.cloud.channel.v1.RepricingConfigOrBuilder getRepricingConfigOr
      * then it indicates this was set mid-month.
      * 
* - * .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. Timestamp of an update to the repricing rule. If `update_time`
      * is after
@@ -876,17 +1000,24 @@ public boolean hasUpdateTime() {
      * then it indicates this was set mid-month.
      * 
* - * .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. Timestamp of an update to the repricing rule. If `update_time`
      * is after
@@ -894,7 +1025,9 @@ public com.google.protobuf.Timestamp getUpdateTime() {
      * then it indicates this was set mid-month.
      * 
* - * .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) { @@ -910,6 +1043,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Timestamp of an update to the repricing rule. If `update_time`
      * is after
@@ -917,10 +1052,11 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      * then it indicates this was set mid-month.
      * 
* - * .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(); @@ -931,6 +1067,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Timestamp of an update to the repricing rule. If `update_time`
      * is after
@@ -938,13 +1076,15 @@ public Builder setUpdateTime(
      * then it indicates this was set mid-month.
      * 
* - * .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; } @@ -956,6 +1096,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Timestamp of an update to the repricing rule. If `update_time`
      * is after
@@ -963,7 +1105,9 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
      * then it indicates this was set mid-month.
      * 
* - * .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) { @@ -977,6 +1121,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Timestamp of an update to the repricing rule. If `update_time`
      * is after
@@ -984,14 +1130,18 @@ public Builder clearUpdateTime() {
      * then it indicates this was set mid-month.
      * 
* - * .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. Timestamp of an update to the repricing rule. If `update_time`
      * is after
@@ -999,17 +1149,22 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
      * then it indicates this was set mid-month.
      * 
* - * .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. Timestamp of an update to the repricing rule. If `update_time`
      * is after
@@ -1017,24 +1172,29 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * then it indicates this was set mid-month.
      * 
* - * .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_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1044,12 +1204,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ChannelPartnerRepricingConfig) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ChannelPartnerRepricingConfig) private static final com.google.cloud.channel.v1.ChannelPartnerRepricingConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ChannelPartnerRepricingConfig(); } @@ -1058,27 +1218,27 @@ public static com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChannelPartnerRepricingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChannelPartnerRepricingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1093,6 +1253,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigName.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigName.java similarity index 100% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigName.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigName.java diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigOrBuilder.java similarity index 68% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigOrBuilder.java index f094bed3773e..c63d1541cadc 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerRepricingConfigOrBuilder.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/cloud/channel/v1/repricing.proto package com.google.cloud.channel.v1; -public interface ChannelPartnerRepricingConfigOrBuilder extends +public interface ChannelPartnerRepricingConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ChannelPartnerRepricingConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name of the ChannelPartnerRepricingConfig.
    * Format:
@@ -15,10 +33,13 @@ public interface ChannelPartnerRepricingConfigOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name of the ChannelPartnerRepricingConfig.
    * Format:
@@ -26,42 +47,58 @@ public interface ChannelPartnerRepricingConfigOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The configuration for bill modifications made by a reseller
    * before sending it to ChannelPartner.
    * 
* - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the repricingConfig field is set. */ boolean hasRepricingConfig(); /** + * + * *
    * Required. The configuration for bill modifications made by a reseller
    * before sending it to ChannelPartner.
    * 
* - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The repricingConfig. */ com.google.cloud.channel.v1.RepricingConfig getRepricingConfig(); /** + * + * *
    * Required. The configuration for bill modifications made by a reseller
    * before sending it to ChannelPartner.
    * 
* - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.channel.v1.RepricingConfigOrBuilder getRepricingConfigOrBuilder(); /** + * + * *
    * Output only. Timestamp of an update to the repricing rule. If `update_time`
    * is after
@@ -69,11 +106,15 @@ public interface ChannelPartnerRepricingConfigOrBuilder extends
    * then it indicates this was set mid-month.
    * 
* - * .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. Timestamp of an update to the repricing rule. If `update_time`
    * is after
@@ -81,11 +122,15 @@ public interface ChannelPartnerRepricingConfigOrBuilder extends
    * then it indicates this was set mid-month.
    * 
* - * .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. Timestamp of an update to the repricing rule. If `update_time`
    * is after
@@ -93,7 +138,8 @@ public interface ChannelPartnerRepricingConfigOrBuilder extends
    * then it indicates this was set mid-month.
    * 
* - * .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(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequest.java similarity index 64% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequest.java index 7f106aca5348..755f5e154907 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelService.CheckCloudIdentityAccountsExist][google.cloud.channel.v1.CloudChannelService.CheckCloudIdentityAccountsExist].
@@ -11,15 +28,18 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest}
  */
-public final class CheckCloudIdentityAccountsExistRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CheckCloudIdentityAccountsExistRequest
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest)
     CheckCloudIdentityAccountsExistRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CheckCloudIdentityAccountsExistRequest.newBuilder() to construct.
-  private CheckCloudIdentityAccountsExistRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private CheckCloudIdentityAccountsExistRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CheckCloudIdentityAccountsExistRequest() {
     parent_ = "";
     domain_ = "";
@@ -27,38 +47,42 @@ private CheckCloudIdentityAccountsExistRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CheckCloudIdentityAccountsExistRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest.class, com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest.Builder.class);
+            com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest.class,
+            com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Required. The reseller account's resource name.
    * Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -67,30 +91,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 reseller account's resource name.
    * Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -101,11 +125,14 @@ public java.lang.String getParent() { public static final int DOMAIN_FIELD_NUMBER = 2; private volatile java.lang.Object domain_; /** + * + * *
    * Required. Domain to fetch for Cloud Identity account customer.
    * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The domain. */ @java.lang.Override @@ -114,29 +141,29 @@ public java.lang.String getDomain() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domain_ = s; return s; } } /** + * + * *
    * Required. Domain to fetch for Cloud Identity account customer.
    * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for domain. */ @java.lang.Override - public com.google.protobuf.ByteString - getDomainBytes() { + public com.google.protobuf.ByteString getDomainBytes() { java.lang.Object ref = domain_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domain_ = b; return b; } else { @@ -145,6 +172,7 @@ public java.lang.String getDomain() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -156,8 +184,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -187,17 +214,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest other = (com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest) obj; + com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest other = + (com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getDomain() - .equals(other.getDomain())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getDomain().equals(other.getDomain())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -219,96 +245,105 @@ public int hashCode() { } public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelService.CheckCloudIdentityAccountsExist][google.cloud.channel.v1.CloudChannelService.CheckCloudIdentityAccountsExist].
@@ -316,33 +351,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest)
       com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest.class, com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest.Builder.class);
+              com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest.class,
+              com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest.Builder.class);
     }
 
-    // Construct using com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest.newBuilder()
-    private Builder() {
+    // Construct using
+    // com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest.newBuilder()
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -354,14 +389,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest getDefaultInstanceForType() {
-      return com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest.getDefaultInstance();
+    public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest
+        getDefaultInstanceForType() {
+      return com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -375,7 +412,8 @@ public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest build(
 
     @java.lang.Override
     public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest buildPartial() {
-      com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest result = new com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest(this);
+      com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest result =
+          new com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest(this);
       result.parent_ = parent_;
       result.domain_ = domain_;
       onBuilt();
@@ -386,46 +424,51 @@ public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest 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.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest)other);
+        return mergeFrom(
+            (com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest other) {
-      if (other == com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest other) {
+      if (other
+          == com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest
+              .getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -460,22 +503,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              domain_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                domain_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -488,19 +534,21 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The reseller account's resource name.
      * Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -509,21 +557,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The reseller account's resource name.
      * Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -531,57 +580,64 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The reseller account's resource name.
      * Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 reseller account's resource name.
      * Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The reseller account's resource name.
      * Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -589,18 +645,20 @@ public Builder setParentBytes( private java.lang.Object domain_ = ""; /** + * + * *
      * Required. Domain to fetch for Cloud Identity account customer.
      * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The domain. */ public java.lang.String getDomain() { java.lang.Object ref = domain_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domain_ = s; return s; @@ -609,20 +667,21 @@ public java.lang.String getDomain() { } } /** + * + * *
      * Required. Domain to fetch for Cloud Identity account customer.
      * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for domain. */ - public com.google.protobuf.ByteString - getDomainBytes() { + public com.google.protobuf.ByteString getDomainBytes() { java.lang.Object ref = domain_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domain_ = b; return b; } else { @@ -630,61 +689,68 @@ public java.lang.String getDomain() { } } /** + * + * *
      * Required. Domain to fetch for Cloud Identity account customer.
      * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The domain to set. * @return This builder for chaining. */ - public Builder setDomain( - java.lang.String value) { + public Builder setDomain(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domain_ = value; onChanged(); return this; } /** + * + * *
      * Required. Domain to fetch for Cloud Identity account customer.
      * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDomain() { - + domain_ = getDefaultInstance().getDomain(); onChanged(); return this; } /** + * + * *
      * Required. Domain to fetch for Cloud Identity account customer.
      * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for domain to set. * @return This builder for chaining. */ - public Builder setDomainBytes( - com.google.protobuf.ByteString value) { + public Builder setDomainBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domain_ = 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); } @@ -694,41 +760,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest) - private static final com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest DEFAULT_INSTANCE; + private static final com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest(); } - public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest getDefaultInstance() { + public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CheckCloudIdentityAccountsExistRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CheckCloudIdentityAccountsExistRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -740,9 +808,8 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest getDefaultInstanceForType() { + public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequestOrBuilder.java index 79dcab185a5c..1d92410b46d5 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistRequestOrBuilder.java @@ -1,51 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface CheckCloudIdentityAccountsExistRequestOrBuilder extends +public interface CheckCloudIdentityAccountsExistRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The reseller account's resource name.
    * Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The reseller account's resource name.
    * Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. Domain to fetch for Cloud Identity account customer.
    * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The domain. */ java.lang.String getDomain(); /** + * + * *
    * Required. Domain to fetch for Cloud Identity account customer.
    * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for domain. */ - com.google.protobuf.ByteString - getDomainBytes(); + com.google.protobuf.ByteString getDomainBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponse.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponse.java similarity index 60% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponse.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponse.java index 06df6d9c697b..1353daab62d4 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponse.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponse.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Response message for
  * [CloudChannelService.CheckCloudIdentityAccountsExist][google.cloud.channel.v1.CloudChannelService.CheckCloudIdentityAccountsExist].
@@ -11,105 +28,133 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse}
  */
-public final class CheckCloudIdentityAccountsExistResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CheckCloudIdentityAccountsExistResponse
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse)
     CheckCloudIdentityAccountsExistResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CheckCloudIdentityAccountsExistResponse.newBuilder() to construct.
-  private CheckCloudIdentityAccountsExistResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private CheckCloudIdentityAccountsExistResponse(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CheckCloudIdentityAccountsExistResponse() {
     cloudIdentityAccounts_ = 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 CheckCloudIdentityAccountsExistResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse.class, com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse.Builder.class);
+            com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse.class,
+            com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse.Builder.class);
   }
 
   public static final int CLOUD_IDENTITY_ACCOUNTS_FIELD_NUMBER = 1;
-  private java.util.List cloudIdentityAccounts_;
+  private java.util.List
+      cloudIdentityAccounts_;
   /**
+   *
+   *
    * 
    * The Cloud Identity accounts associated with the domain.
    * 
* - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * */ @java.lang.Override - public java.util.List getCloudIdentityAccountsList() { + public java.util.List + getCloudIdentityAccountsList() { return cloudIdentityAccounts_; } /** + * + * *
    * The Cloud Identity accounts associated with the domain.
    * 
* - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List getCloudIdentityAccountsOrBuilderList() { return cloudIdentityAccounts_; } /** + * + * *
    * The Cloud Identity accounts associated with the domain.
    * 
* - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * */ @java.lang.Override public int getCloudIdentityAccountsCount() { return cloudIdentityAccounts_.size(); } /** + * + * *
    * The Cloud Identity accounts associated with the domain.
    * 
* - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * */ @java.lang.Override - public com.google.cloud.channel.v1.CloudIdentityCustomerAccount getCloudIdentityAccounts(int index) { + public com.google.cloud.channel.v1.CloudIdentityCustomerAccount getCloudIdentityAccounts( + int index) { return cloudIdentityAccounts_.get(index); } /** + * + * *
    * The Cloud Identity accounts associated with the domain.
    * 
* - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * */ @java.lang.Override - public com.google.cloud.channel.v1.CloudIdentityCustomerAccountOrBuilder getCloudIdentityAccountsOrBuilder( - int index) { + public com.google.cloud.channel.v1.CloudIdentityCustomerAccountOrBuilder + getCloudIdentityAccountsOrBuilder(int index) { return cloudIdentityAccounts_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -121,8 +166,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < cloudIdentityAccounts_.size(); i++) { output.writeMessage(1, cloudIdentityAccounts_.get(i)); } @@ -136,8 +180,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < cloudIdentityAccounts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, cloudIdentityAccounts_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, cloudIdentityAccounts_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -147,15 +192,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse other = (com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse) obj; + com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse other = + (com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse) obj; - if (!getCloudIdentityAccountsList() - .equals(other.getCloudIdentityAccountsList())) return false; + if (!getCloudIdentityAccountsList().equals(other.getCloudIdentityAccountsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -177,96 +222,105 @@ public int hashCode() { } public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [CloudChannelService.CheckCloudIdentityAccountsExist][google.cloud.channel.v1.CloudChannelService.CheckCloudIdentityAccountsExist].
@@ -274,33 +328,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse)
       com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse.class, com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse.Builder.class);
+              com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse.class,
+              com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse.Builder.class);
     }
 
-    // Construct using com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse.newBuilder()
-    private Builder() {
-
-    }
+    // Construct using
+    // com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse.newBuilder()
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -315,14 +369,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse getDefaultInstanceForType() {
-      return com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse.getDefaultInstance();
+    public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse
+        getDefaultInstanceForType() {
+      return com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -336,7 +392,8 @@ public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse build
 
     @java.lang.Override
     public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse buildPartial() {
-      com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse result = new com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse(this);
+      com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse result =
+          new com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse(this);
       int from_bitField0_ = bitField0_;
       if (cloudIdentityAccountsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -355,46 +412,51 @@ public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse 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.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse) {
-        return mergeFrom((com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse)other);
+        return mergeFrom(
+            (com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse other) {
-      if (other == com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse other) {
+      if (other
+          == com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse
+              .getDefaultInstance()) return this;
       if (cloudIdentityAccountsBuilder_ == null) {
         if (!other.cloudIdentityAccounts_.isEmpty()) {
           if (cloudIdentityAccounts_.isEmpty()) {
@@ -413,9 +475,10 @@ public Builder mergeFrom(com.google.cloud.channel.v1.CheckCloudIdentityAccountsE
             cloudIdentityAccountsBuilder_ = null;
             cloudIdentityAccounts_ = other.cloudIdentityAccounts_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            cloudIdentityAccountsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getCloudIdentityAccountsFieldBuilder() : null;
+            cloudIdentityAccountsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getCloudIdentityAccountsFieldBuilder()
+                    : null;
           } else {
             cloudIdentityAccountsBuilder_.addAllMessages(other.cloudIdentityAccounts_);
           }
@@ -447,25 +510,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.channel.v1.CloudIdentityCustomerAccount m =
-                  input.readMessage(
-                      com.google.cloud.channel.v1.CloudIdentityCustomerAccount.parser(),
-                      extensionRegistry);
-              if (cloudIdentityAccountsBuilder_ == null) {
-                ensureCloudIdentityAccountsIsMutable();
-                cloudIdentityAccounts_.add(m);
-              } else {
-                cloudIdentityAccountsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.cloud.channel.v1.CloudIdentityCustomerAccount m =
+                    input.readMessage(
+                        com.google.cloud.channel.v1.CloudIdentityCustomerAccount.parser(),
+                        extensionRegistry);
+                if (cloudIdentityAccountsBuilder_ == null) {
+                  ensureCloudIdentityAccountsIsMutable();
+                  cloudIdentityAccounts_.add(m);
+                } else {
+                  cloudIdentityAccountsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -475,28 +540,40 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List cloudIdentityAccounts_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        cloudIdentityAccounts_ = java.util.Collections.emptyList();
+
     private void ensureCloudIdentityAccountsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        cloudIdentityAccounts_ = new java.util.ArrayList(cloudIdentityAccounts_);
+        cloudIdentityAccounts_ =
+            new java.util.ArrayList(
+                cloudIdentityAccounts_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.channel.v1.CloudIdentityCustomerAccount, com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder, com.google.cloud.channel.v1.CloudIdentityCustomerAccountOrBuilder> cloudIdentityAccountsBuilder_;
+            com.google.cloud.channel.v1.CloudIdentityCustomerAccount,
+            com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder,
+            com.google.cloud.channel.v1.CloudIdentityCustomerAccountOrBuilder>
+        cloudIdentityAccountsBuilder_;
 
     /**
+     *
+     *
      * 
      * The Cloud Identity accounts associated with the domain.
      * 
* - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * */ - public java.util.List getCloudIdentityAccountsList() { + public java.util.List + getCloudIdentityAccountsList() { if (cloudIdentityAccountsBuilder_ == null) { return java.util.Collections.unmodifiableList(cloudIdentityAccounts_); } else { @@ -504,11 +581,15 @@ public java.util.List } } /** + * + * *
      * The Cloud Identity accounts associated with the domain.
      * 
* - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * */ public int getCloudIdentityAccountsCount() { if (cloudIdentityAccountsBuilder_ == null) { @@ -518,13 +599,18 @@ public int getCloudIdentityAccountsCount() { } } /** + * + * *
      * The Cloud Identity accounts associated with the domain.
      * 
* - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * */ - public com.google.cloud.channel.v1.CloudIdentityCustomerAccount getCloudIdentityAccounts(int index) { + public com.google.cloud.channel.v1.CloudIdentityCustomerAccount getCloudIdentityAccounts( + int index) { if (cloudIdentityAccountsBuilder_ == null) { return cloudIdentityAccounts_.get(index); } else { @@ -532,11 +618,15 @@ public com.google.cloud.channel.v1.CloudIdentityCustomerAccount getCloudIdentity } } /** + * + * *
      * The Cloud Identity accounts associated with the domain.
      * 
* - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * */ public Builder setCloudIdentityAccounts( int index, com.google.cloud.channel.v1.CloudIdentityCustomerAccount value) { @@ -553,14 +643,19 @@ public Builder setCloudIdentityAccounts( return this; } /** + * + * *
      * The Cloud Identity accounts associated with the domain.
      * 
* - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * */ public Builder setCloudIdentityAccounts( - int index, com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder builderForValue) { + int index, + com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder builderForValue) { if (cloudIdentityAccountsBuilder_ == null) { ensureCloudIdentityAccountsIsMutable(); cloudIdentityAccounts_.set(index, builderForValue.build()); @@ -571,13 +666,18 @@ public Builder setCloudIdentityAccounts( return this; } /** + * + * *
      * The Cloud Identity accounts associated with the domain.
      * 
* - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * */ - public Builder addCloudIdentityAccounts(com.google.cloud.channel.v1.CloudIdentityCustomerAccount value) { + public Builder addCloudIdentityAccounts( + com.google.cloud.channel.v1.CloudIdentityCustomerAccount value) { if (cloudIdentityAccountsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -591,11 +691,15 @@ public Builder addCloudIdentityAccounts(com.google.cloud.channel.v1.CloudIdentit return this; } /** + * + * *
      * The Cloud Identity accounts associated with the domain.
      * 
* - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * */ public Builder addCloudIdentityAccounts( int index, com.google.cloud.channel.v1.CloudIdentityCustomerAccount value) { @@ -612,11 +716,15 @@ public Builder addCloudIdentityAccounts( return this; } /** + * + * *
      * The Cloud Identity accounts associated with the domain.
      * 
* - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * */ public Builder addCloudIdentityAccounts( com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder builderForValue) { @@ -630,14 +738,19 @@ public Builder addCloudIdentityAccounts( return this; } /** + * + * *
      * The Cloud Identity accounts associated with the domain.
      * 
* - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * */ public Builder addCloudIdentityAccounts( - int index, com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder builderForValue) { + int index, + com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder builderForValue) { if (cloudIdentityAccountsBuilder_ == null) { ensureCloudIdentityAccountsIsMutable(); cloudIdentityAccounts_.add(index, builderForValue.build()); @@ -648,18 +761,22 @@ public Builder addCloudIdentityAccounts( return this; } /** + * + * *
      * The Cloud Identity accounts associated with the domain.
      * 
* - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * */ public Builder addAllCloudIdentityAccounts( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (cloudIdentityAccountsBuilder_ == null) { ensureCloudIdentityAccountsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, cloudIdentityAccounts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, cloudIdentityAccounts_); onChanged(); } else { cloudIdentityAccountsBuilder_.addAllMessages(values); @@ -667,11 +784,15 @@ public Builder addAllCloudIdentityAccounts( return this; } /** + * + * *
      * The Cloud Identity accounts associated with the domain.
      * 
* - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * */ public Builder clearCloudIdentityAccounts() { if (cloudIdentityAccountsBuilder_ == null) { @@ -684,11 +805,15 @@ public Builder clearCloudIdentityAccounts() { return this; } /** + * + * *
      * The Cloud Identity accounts associated with the domain.
      * 
* - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * */ public Builder removeCloudIdentityAccounts(int index) { if (cloudIdentityAccountsBuilder_ == null) { @@ -701,39 +826,53 @@ public Builder removeCloudIdentityAccounts(int index) { return this; } /** + * + * *
      * The Cloud Identity accounts associated with the domain.
      * 
* - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * */ - public com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder getCloudIdentityAccountsBuilder( - int index) { + public com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder + getCloudIdentityAccountsBuilder(int index) { return getCloudIdentityAccountsFieldBuilder().getBuilder(index); } /** + * + * *
      * The Cloud Identity accounts associated with the domain.
      * 
* - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * */ - public com.google.cloud.channel.v1.CloudIdentityCustomerAccountOrBuilder getCloudIdentityAccountsOrBuilder( - int index) { + public com.google.cloud.channel.v1.CloudIdentityCustomerAccountOrBuilder + getCloudIdentityAccountsOrBuilder(int index) { if (cloudIdentityAccountsBuilder_ == null) { - return cloudIdentityAccounts_.get(index); } else { + return cloudIdentityAccounts_.get(index); + } else { return cloudIdentityAccountsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The Cloud Identity accounts associated with the domain.
      * 
* - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * */ - public java.util.List - getCloudIdentityAccountsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.channel.v1.CloudIdentityCustomerAccountOrBuilder> + getCloudIdentityAccountsOrBuilderList() { if (cloudIdentityAccountsBuilder_ != null) { return cloudIdentityAccountsBuilder_.getMessageOrBuilderList(); } else { @@ -741,45 +880,66 @@ public com.google.cloud.channel.v1.CloudIdentityCustomerAccountOrBuilder getClou } } /** + * + * *
      * The Cloud Identity accounts associated with the domain.
      * 
* - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * */ - public com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder addCloudIdentityAccountsBuilder() { - return getCloudIdentityAccountsFieldBuilder().addBuilder( - com.google.cloud.channel.v1.CloudIdentityCustomerAccount.getDefaultInstance()); + public com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder + addCloudIdentityAccountsBuilder() { + return getCloudIdentityAccountsFieldBuilder() + .addBuilder( + com.google.cloud.channel.v1.CloudIdentityCustomerAccount.getDefaultInstance()); } /** + * + * *
      * The Cloud Identity accounts associated with the domain.
      * 
* - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * */ - public com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder addCloudIdentityAccountsBuilder( - int index) { - return getCloudIdentityAccountsFieldBuilder().addBuilder( - index, com.google.cloud.channel.v1.CloudIdentityCustomerAccount.getDefaultInstance()); + public com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder + addCloudIdentityAccountsBuilder(int index) { + return getCloudIdentityAccountsFieldBuilder() + .addBuilder( + index, com.google.cloud.channel.v1.CloudIdentityCustomerAccount.getDefaultInstance()); } /** + * + * *
      * The Cloud Identity accounts associated with the domain.
      * 
* - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * */ - public java.util.List - getCloudIdentityAccountsBuilderList() { + public java.util.List + getCloudIdentityAccountsBuilderList() { return getCloudIdentityAccountsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.CloudIdentityCustomerAccount, com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder, com.google.cloud.channel.v1.CloudIdentityCustomerAccountOrBuilder> + com.google.cloud.channel.v1.CloudIdentityCustomerAccount, + com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder, + com.google.cloud.channel.v1.CloudIdentityCustomerAccountOrBuilder> getCloudIdentityAccountsFieldBuilder() { if (cloudIdentityAccountsBuilder_ == null) { - cloudIdentityAccountsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.CloudIdentityCustomerAccount, com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder, com.google.cloud.channel.v1.CloudIdentityCustomerAccountOrBuilder>( + cloudIdentityAccountsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.CloudIdentityCustomerAccount, + com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder, + com.google.cloud.channel.v1.CloudIdentityCustomerAccountOrBuilder>( cloudIdentityAccounts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -788,9 +948,9 @@ public com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder addCloud } return cloudIdentityAccountsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -800,41 +960,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse) - private static final com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse DEFAULT_INSTANCE; + private static final com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse(); } - public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse getDefaultInstance() { + public static com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CheckCloudIdentityAccountsExistResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CheckCloudIdentityAccountsExistResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -846,9 +1008,8 @@ public com.google.protobuf.Parser getPa } @java.lang.Override - public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse getDefaultInstanceForType() { + public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponseOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponseOrBuilder.java new file mode 100644 index 000000000000..61c6a80ecd6e --- /dev/null +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponseOrBuilder.java @@ -0,0 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/service.proto + +package com.google.cloud.channel.v1; + +public interface CheckCloudIdentityAccountsExistResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The Cloud Identity accounts associated with the domain.
+   * 
+ * + * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * + */ + java.util.List + getCloudIdentityAccountsList(); + /** + * + * + *
+   * The Cloud Identity accounts associated with the domain.
+   * 
+ * + * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * + */ + com.google.cloud.channel.v1.CloudIdentityCustomerAccount getCloudIdentityAccounts(int index); + /** + * + * + *
+   * The Cloud Identity accounts associated with the domain.
+   * 
+ * + * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * + */ + int getCloudIdentityAccountsCount(); + /** + * + * + *
+   * The Cloud Identity accounts associated with the domain.
+   * 
+ * + * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * + */ + java.util.List + getCloudIdentityAccountsOrBuilderList(); + /** + * + * + *
+   * The Cloud Identity accounts associated with the domain.
+   * 
+ * + * + * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; + * + */ + com.google.cloud.channel.v1.CloudIdentityCustomerAccountOrBuilder + getCloudIdentityAccountsOrBuilder(int index); +} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccount.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccount.java similarity index 70% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccount.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccount.java index 77d75c40ae07..eaa6eaa63102 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccount.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccount.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Entity representing a Cloud Identity account that may be
  * associated with a Channel Services API partner.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.CloudIdentityCustomerAccount}
  */
-public final class CloudIdentityCustomerAccount extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CloudIdentityCustomerAccount extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.CloudIdentityCustomerAccount)
     CloudIdentityCustomerAccountOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CloudIdentityCustomerAccount.newBuilder() to construct.
   private CloudIdentityCustomerAccount(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CloudIdentityCustomerAccount() {
     customerName_ = "";
     customerCloudIdentityId_ = "";
@@ -27,37 +45,41 @@ private CloudIdentityCustomerAccount() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CloudIdentityCustomerAccount();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.CloudIdentityCustomerAccount.class, com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder.class);
+            com.google.cloud.channel.v1.CloudIdentityCustomerAccount.class,
+            com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder.class);
   }
 
   public static final int EXISTING_FIELD_NUMBER = 1;
   private boolean existing_;
   /**
+   *
+   *
    * 
    * Returns true if a Cloud Identity account exists for a specific domain.
    * 
* * bool existing = 1; + * * @return The existing. */ @java.lang.Override @@ -68,12 +90,15 @@ public boolean getExisting() { public static final int OWNED_FIELD_NUMBER = 2; private boolean owned_; /** + * + * *
    * Returns true if the Cloud Identity account is associated with a customer
    * of the Channel Services partner.
    * 
* * bool owned = 2; + * * @return The owned. */ @java.lang.Override @@ -84,6 +109,8 @@ public boolean getOwned() { public static final int CUSTOMER_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object customerName_; /** + * + * *
    * If owned = true, the name of the customer that owns the Cloud Identity
    * account.
@@ -92,6 +119,7 @@ public boolean getOwned() {
    * 
* * string customer_name = 3; + * * @return The customerName. */ @java.lang.Override @@ -100,14 +128,15 @@ public java.lang.String getCustomerName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customerName_ = s; return s; } } /** + * + * *
    * If owned = true, the name of the customer that owns the Cloud Identity
    * account.
@@ -116,16 +145,15 @@ public java.lang.String getCustomerName() {
    * 
* * string customer_name = 3; + * * @return The bytes for customerName. */ @java.lang.Override - public com.google.protobuf.ByteString - getCustomerNameBytes() { + public com.google.protobuf.ByteString getCustomerNameBytes() { java.lang.Object ref = customerName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customerName_ = b; return b; } else { @@ -136,11 +164,14 @@ public java.lang.String getCustomerName() { public static final int CUSTOMER_CLOUD_IDENTITY_ID_FIELD_NUMBER = 4; private volatile java.lang.Object customerCloudIdentityId_; /** + * + * *
    * If existing = true, the Cloud Identity ID of the customer.
    * 
* * string customer_cloud_identity_id = 4; + * * @return The customerCloudIdentityId. */ @java.lang.Override @@ -149,29 +180,29 @@ public java.lang.String getCustomerCloudIdentityId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customerCloudIdentityId_ = s; return s; } } /** + * + * *
    * If existing = true, the Cloud Identity ID of the customer.
    * 
* * string customer_cloud_identity_id = 4; + * * @return The bytes for customerCloudIdentityId. */ @java.lang.Override - public com.google.protobuf.ByteString - getCustomerCloudIdentityIdBytes() { + public com.google.protobuf.ByteString getCustomerCloudIdentityIdBytes() { java.lang.Object ref = customerCloudIdentityId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customerCloudIdentityId_ = b; return b; } else { @@ -180,6 +211,7 @@ public java.lang.String getCustomerCloudIdentityId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -191,8 +223,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (existing_ != false) { output.writeBool(1, existing_); } @@ -215,12 +246,10 @@ public int getSerializedSize() { size = 0; if (existing_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, existing_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, existing_); } if (owned_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, owned_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, owned_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(customerName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, customerName_); @@ -236,21 +265,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.cloud.channel.v1.CloudIdentityCustomerAccount)) { return super.equals(obj); } - com.google.cloud.channel.v1.CloudIdentityCustomerAccount other = (com.google.cloud.channel.v1.CloudIdentityCustomerAccount) obj; + com.google.cloud.channel.v1.CloudIdentityCustomerAccount other = + (com.google.cloud.channel.v1.CloudIdentityCustomerAccount) obj; - if (getExisting() - != other.getExisting()) return false; - if (getOwned() - != other.getOwned()) return false; - if (!getCustomerName() - .equals(other.getCustomerName())) return false; - if (!getCustomerCloudIdentityId() - .equals(other.getCustomerCloudIdentityId())) return false; + if (getExisting() != other.getExisting()) return false; + if (getOwned() != other.getOwned()) return false; + if (!getCustomerName().equals(other.getCustomerName())) return false; + if (!getCustomerCloudIdentityId().equals(other.getCustomerCloudIdentityId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -263,11 +289,9 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + EXISTING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getExisting()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExisting()); hash = (37 * hash) + OWNED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getOwned()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getOwned()); hash = (37 * hash) + CUSTOMER_NAME_FIELD_NUMBER; hash = (53 * hash) + getCustomerName().hashCode(); hash = (37 * hash) + CUSTOMER_CLOUD_IDENTITY_ID_FIELD_NUMBER; @@ -278,96 +302,104 @@ public int hashCode() { } public static com.google.cloud.channel.v1.CloudIdentityCustomerAccount parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CloudIdentityCustomerAccount parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.CloudIdentityCustomerAccount parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CloudIdentityCustomerAccount parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.CloudIdentityCustomerAccount parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CloudIdentityCustomerAccount parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CloudIdentityCustomerAccount parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.CloudIdentityCustomerAccount parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CloudIdentityCustomerAccount parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.CloudIdentityCustomerAccount parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.CloudIdentityCustomerAccount parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CloudIdentityCustomerAccount parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.CloudIdentityCustomerAccount parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CloudIdentityCustomerAccount parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.CloudIdentityCustomerAccount prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.CloudIdentityCustomerAccount prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Entity representing a Cloud Identity account that may be
    * associated with a Channel Services API partner.
@@ -375,33 +407,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.CloudIdentityCustomerAccount}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.CloudIdentityCustomerAccount)
       com.google.cloud.channel.v1.CloudIdentityCustomerAccountOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.CloudIdentityCustomerAccount.class, com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder.class);
+              com.google.cloud.channel.v1.CloudIdentityCustomerAccount.class,
+              com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.CloudIdentityCustomerAccount.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -417,9 +448,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_descriptor;
     }
 
     @java.lang.Override
@@ -438,7 +469,8 @@ public com.google.cloud.channel.v1.CloudIdentityCustomerAccount build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.CloudIdentityCustomerAccount buildPartial() {
-      com.google.cloud.channel.v1.CloudIdentityCustomerAccount result = new com.google.cloud.channel.v1.CloudIdentityCustomerAccount(this);
+      com.google.cloud.channel.v1.CloudIdentityCustomerAccount result =
+          new com.google.cloud.channel.v1.CloudIdentityCustomerAccount(this);
       result.existing_ = existing_;
       result.owned_ = owned_;
       result.customerName_ = customerName_;
@@ -451,38 +483,39 @@ public com.google.cloud.channel.v1.CloudIdentityCustomerAccount 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.cloud.channel.v1.CloudIdentityCustomerAccount) {
-        return mergeFrom((com.google.cloud.channel.v1.CloudIdentityCustomerAccount)other);
+        return mergeFrom((com.google.cloud.channel.v1.CloudIdentityCustomerAccount) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -490,7 +523,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.CloudIdentityCustomerAccount other) {
-      if (other == com.google.cloud.channel.v1.CloudIdentityCustomerAccount.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.CloudIdentityCustomerAccount.getDefaultInstance())
+        return this;
       if (other.getExisting() != false) {
         setExisting(other.getExisting());
       }
@@ -531,32 +565,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              existing_ = input.readBool();
-
-              break;
-            } // case 8
-            case 16: {
-              owned_ = input.readBool();
-
-              break;
-            } // case 16
-            case 26: {
-              customerName_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 26
-            case 34: {
-              customerCloudIdentityId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                existing_ = input.readBool();
+
+                break;
+              } // case 8
+            case 16:
+              {
+                owned_ = input.readBool();
+
+                break;
+              } // case 16
+            case 26:
+              {
+                customerName_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 26
+            case 34:
+              {
+                customerCloudIdentityId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -567,13 +606,16 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean existing_ ;
+    private boolean existing_;
     /**
+     *
+     *
      * 
      * Returns true if a Cloud Identity account exists for a specific domain.
      * 
* * bool existing = 1; + * * @return The existing. */ @java.lang.Override @@ -581,43 +623,52 @@ public boolean getExisting() { return existing_; } /** + * + * *
      * Returns true if a Cloud Identity account exists for a specific domain.
      * 
* * bool existing = 1; + * * @param value The existing to set. * @return This builder for chaining. */ public Builder setExisting(boolean value) { - + existing_ = value; onChanged(); return this; } /** + * + * *
      * Returns true if a Cloud Identity account exists for a specific domain.
      * 
* * bool existing = 1; + * * @return This builder for chaining. */ public Builder clearExisting() { - + existing_ = false; onChanged(); return this; } - private boolean owned_ ; + private boolean owned_; /** + * + * *
      * Returns true if the Cloud Identity account is associated with a customer
      * of the Channel Services partner.
      * 
* * bool owned = 2; + * * @return The owned. */ @java.lang.Override @@ -625,32 +676,38 @@ public boolean getOwned() { return owned_; } /** + * + * *
      * Returns true if the Cloud Identity account is associated with a customer
      * of the Channel Services partner.
      * 
* * bool owned = 2; + * * @param value The owned to set. * @return This builder for chaining. */ public Builder setOwned(boolean value) { - + owned_ = value; onChanged(); return this; } /** + * + * *
      * Returns true if the Cloud Identity account is associated with a customer
      * of the Channel Services partner.
      * 
* * bool owned = 2; + * * @return This builder for chaining. */ public Builder clearOwned() { - + owned_ = false; onChanged(); return this; @@ -658,6 +715,8 @@ public Builder clearOwned() { private java.lang.Object customerName_ = ""; /** + * + * *
      * If owned = true, the name of the customer that owns the Cloud Identity
      * account.
@@ -666,13 +725,13 @@ public Builder clearOwned() {
      * 
* * string customer_name = 3; + * * @return The customerName. */ public java.lang.String getCustomerName() { java.lang.Object ref = customerName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customerName_ = s; return s; @@ -681,6 +740,8 @@ public java.lang.String getCustomerName() { } } /** + * + * *
      * If owned = true, the name of the customer that owns the Cloud Identity
      * account.
@@ -689,15 +750,14 @@ public java.lang.String getCustomerName() {
      * 
* * string customer_name = 3; + * * @return The bytes for customerName. */ - public com.google.protobuf.ByteString - getCustomerNameBytes() { + public com.google.protobuf.ByteString getCustomerNameBytes() { java.lang.Object ref = customerName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customerName_ = b; return b; } else { @@ -705,6 +765,8 @@ public java.lang.String getCustomerName() { } } /** + * + * *
      * If owned = true, the name of the customer that owns the Cloud Identity
      * account.
@@ -713,20 +775,22 @@ public java.lang.String getCustomerName() {
      * 
* * string customer_name = 3; + * * @param value The customerName to set. * @return This builder for chaining. */ - public Builder setCustomerName( - java.lang.String value) { + public Builder setCustomerName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + customerName_ = value; onChanged(); return this; } /** + * + * *
      * If owned = true, the name of the customer that owns the Cloud Identity
      * account.
@@ -735,15 +799,18 @@ public Builder setCustomerName(
      * 
* * string customer_name = 3; + * * @return This builder for chaining. */ public Builder clearCustomerName() { - + customerName_ = getDefaultInstance().getCustomerName(); onChanged(); return this; } /** + * + * *
      * If owned = true, the name of the customer that owns the Cloud Identity
      * account.
@@ -752,16 +819,16 @@ public Builder clearCustomerName() {
      * 
* * string customer_name = 3; + * * @param value The bytes for customerName to set. * @return This builder for chaining. */ - public Builder setCustomerNameBytes( - com.google.protobuf.ByteString value) { + public Builder setCustomerNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + customerName_ = value; onChanged(); return this; @@ -769,18 +836,20 @@ public Builder setCustomerNameBytes( private java.lang.Object customerCloudIdentityId_ = ""; /** + * + * *
      * If existing = true, the Cloud Identity ID of the customer.
      * 
* * string customer_cloud_identity_id = 4; + * * @return The customerCloudIdentityId. */ public java.lang.String getCustomerCloudIdentityId() { java.lang.Object ref = customerCloudIdentityId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customerCloudIdentityId_ = s; return s; @@ -789,20 +858,21 @@ public java.lang.String getCustomerCloudIdentityId() { } } /** + * + * *
      * If existing = true, the Cloud Identity ID of the customer.
      * 
* * string customer_cloud_identity_id = 4; + * * @return The bytes for customerCloudIdentityId. */ - public com.google.protobuf.ByteString - getCustomerCloudIdentityIdBytes() { + public com.google.protobuf.ByteString getCustomerCloudIdentityIdBytes() { java.lang.Object ref = customerCloudIdentityId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customerCloudIdentityId_ = b; return b; } else { @@ -810,61 +880,68 @@ public java.lang.String getCustomerCloudIdentityId() { } } /** + * + * *
      * If existing = true, the Cloud Identity ID of the customer.
      * 
* * string customer_cloud_identity_id = 4; + * * @param value The customerCloudIdentityId to set. * @return This builder for chaining. */ - public Builder setCustomerCloudIdentityId( - java.lang.String value) { + public Builder setCustomerCloudIdentityId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + customerCloudIdentityId_ = value; onChanged(); return this; } /** + * + * *
      * If existing = true, the Cloud Identity ID of the customer.
      * 
* * string customer_cloud_identity_id = 4; + * * @return This builder for chaining. */ public Builder clearCustomerCloudIdentityId() { - + customerCloudIdentityId_ = getDefaultInstance().getCustomerCloudIdentityId(); onChanged(); return this; } /** + * + * *
      * If existing = true, the Cloud Identity ID of the customer.
      * 
* * string customer_cloud_identity_id = 4; + * * @param value The bytes for customerCloudIdentityId to set. * @return This builder for chaining. */ - public Builder setCustomerCloudIdentityIdBytes( - com.google.protobuf.ByteString value) { + public Builder setCustomerCloudIdentityIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + customerCloudIdentityId_ = 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); } @@ -874,12 +951,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.CloudIdentityCustomerAccount) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.CloudIdentityCustomerAccount) private static final com.google.cloud.channel.v1.CloudIdentityCustomerAccount DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.CloudIdentityCustomerAccount(); } @@ -888,27 +965,27 @@ public static com.google.cloud.channel.v1.CloudIdentityCustomerAccount getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudIdentityCustomerAccount parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudIdentityCustomerAccount parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -923,6 +1000,4 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.channel.v1.CloudIdentityCustomerAccount getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccountOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccountOrBuilder.java similarity index 67% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccountOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccountOrBuilder.java index f8864423266b..0aa5be0adeb4 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccountOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityCustomerAccountOrBuilder.java @@ -1,34 +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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface CloudIdentityCustomerAccountOrBuilder extends +public interface CloudIdentityCustomerAccountOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CloudIdentityCustomerAccount) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Returns true if a Cloud Identity account exists for a specific domain.
    * 
* * bool existing = 1; + * * @return The existing. */ boolean getExisting(); /** + * + * *
    * Returns true if the Cloud Identity account is associated with a customer
    * of the Channel Services partner.
    * 
* * bool owned = 2; + * * @return The owned. */ boolean getOwned(); /** + * + * *
    * If owned = true, the name of the customer that owns the Cloud Identity
    * account.
@@ -37,10 +61,13 @@ public interface CloudIdentityCustomerAccountOrBuilder extends
    * 
* * string customer_name = 3; + * * @return The customerName. */ java.lang.String getCustomerName(); /** + * + * *
    * If owned = true, the name of the customer that owns the Cloud Identity
    * account.
@@ -49,28 +76,33 @@ public interface CloudIdentityCustomerAccountOrBuilder extends
    * 
* * string customer_name = 3; + * * @return The bytes for customerName. */ - com.google.protobuf.ByteString - getCustomerNameBytes(); + com.google.protobuf.ByteString getCustomerNameBytes(); /** + * + * *
    * If existing = true, the Cloud Identity ID of the customer.
    * 
* * string customer_cloud_identity_id = 4; + * * @return The customerCloudIdentityId. */ java.lang.String getCustomerCloudIdentityId(); /** + * + * *
    * If existing = true, the Cloud Identity ID of the customer.
    * 
* * string customer_cloud_identity_id = 4; + * * @return The bytes for customerCloudIdentityId. */ - com.google.protobuf.ByteString - getCustomerCloudIdentityIdBytes(); + com.google.protobuf.ByteString getCustomerCloudIdentityIdBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfo.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfo.java similarity index 72% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfo.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfo.java index 90b8ee4db7b6..b8552a7fd627 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfo.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfo.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/cloud/channel/v1/common.proto package com.google.cloud.channel.v1; /** + * + * *
  * Cloud Identity information for the Cloud Channel Customer.
  * 
* * Protobuf type {@code google.cloud.channel.v1.CloudIdentityInfo} */ -public final class CloudIdentityInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CloudIdentityInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.CloudIdentityInfo) CloudIdentityInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CloudIdentityInfo.newBuilder() to construct. private CloudIdentityInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CloudIdentityInfo() { customerType_ = 0; primaryDomain_ = ""; @@ -30,39 +48,43 @@ private CloudIdentityInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CloudIdentityInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_CloudIdentityInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.CommonProto + .internal_static_google_cloud_channel_v1_CloudIdentityInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_CloudIdentityInfo_fieldAccessorTable + return com.google.cloud.channel.v1.CommonProto + .internal_static_google_cloud_channel_v1_CloudIdentityInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.CloudIdentityInfo.class, com.google.cloud.channel.v1.CloudIdentityInfo.Builder.class); + com.google.cloud.channel.v1.CloudIdentityInfo.class, + com.google.cloud.channel.v1.CloudIdentityInfo.Builder.class); } /** + * + * *
    * CustomerType of the customer
    * 
* * Protobuf enum {@code google.cloud.channel.v1.CloudIdentityInfo.CustomerType} */ - public enum CustomerType - implements com.google.protobuf.ProtocolMessageEnum { + public enum CustomerType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not used.
      * 
@@ -71,6 +93,8 @@ public enum CustomerType */ CUSTOMER_TYPE_UNSPECIFIED(0), /** + * + * *
      * Domain-owning customer which needs domain verification to use services.
      * 
@@ -79,6 +103,8 @@ public enum CustomerType */ DOMAIN(1), /** + * + * *
      * Team customer which needs email verification to use services.
      * 
@@ -90,6 +116,8 @@ public enum CustomerType ; /** + * + * *
      * Not used.
      * 
@@ -98,6 +126,8 @@ public enum CustomerType */ public static final int CUSTOMER_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Domain-owning customer which needs domain verification to use services.
      * 
@@ -106,6 +136,8 @@ public enum CustomerType */ public static final int DOMAIN_VALUE = 1; /** + * + * *
      * Team customer which needs email verification to use services.
      * 
@@ -114,7 +146,6 @@ public enum CustomerType */ public static final int TEAM_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -139,49 +170,49 @@ public static CustomerType valueOf(int value) { */ public static CustomerType forNumber(int value) { switch (value) { - case 0: return CUSTOMER_TYPE_UNSPECIFIED; - case 1: return DOMAIN; - case 2: return TEAM; - default: return null; + case 0: + return CUSTOMER_TYPE_UNSPECIFIED; + case 1: + return DOMAIN; + case 2: + return TEAM; + 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< - CustomerType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CustomerType findValueByNumber(int number) { - return CustomerType.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 CustomerType findValueByNumber(int number) { + return CustomerType.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.cloud.channel.v1.CloudIdentityInfo.getDescriptor().getEnumTypes().get(0); } private static final CustomerType[] VALUES = values(); - public static CustomerType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static CustomerType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -201,38 +232,52 @@ private CustomerType(int value) { public static final int CUSTOMER_TYPE_FIELD_NUMBER = 1; private int customerType_; /** + * + * *
    * CustomerType indicates verification type needed for using services.
    * 
* * .google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 1; + * * @return The enum numeric value on the wire for customerType. */ - @java.lang.Override public int getCustomerTypeValue() { + @java.lang.Override + public int getCustomerTypeValue() { return customerType_; } /** + * + * *
    * CustomerType indicates verification type needed for using services.
    * 
* * .google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 1; + * * @return The customerType. */ - @java.lang.Override public com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType getCustomerType() { + @java.lang.Override + public com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType getCustomerType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType result = com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType.valueOf(customerType_); - return result == null ? com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType.UNRECOGNIZED : result; + com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType result = + com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType.valueOf(customerType_); + return result == null + ? com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType.UNRECOGNIZED + : result; } public static final int PRIMARY_DOMAIN_FIELD_NUMBER = 9; private volatile java.lang.Object primaryDomain_; /** + * + * *
    * Output only. The primary domain name.
    * 
* * string primary_domain = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The primaryDomain. */ @java.lang.Override @@ -241,29 +286,29 @@ public java.lang.String getPrimaryDomain() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); primaryDomain_ = s; return s; } } /** + * + * *
    * Output only. The primary domain name.
    * 
* * string primary_domain = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for primaryDomain. */ @java.lang.Override - public com.google.protobuf.ByteString - getPrimaryDomainBytes() { + public com.google.protobuf.ByteString getPrimaryDomainBytes() { java.lang.Object ref = primaryDomain_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); primaryDomain_ = b; return b; } else { @@ -274,6 +319,8 @@ public java.lang.String getPrimaryDomain() { public static final int IS_DOMAIN_VERIFIED_FIELD_NUMBER = 4; private boolean isDomainVerified_; /** + * + * *
    * Output only. Whether the domain is verified.
    * This field is not returned for a Customer's cloud_identity_info resource.
@@ -283,6 +330,7 @@ public java.lang.String getPrimaryDomain() {
    * 
* * bool is_domain_verified = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The isDomainVerified. */ @java.lang.Override @@ -293,11 +341,14 @@ public boolean getIsDomainVerified() { public static final int ALTERNATE_EMAIL_FIELD_NUMBER = 6; private volatile java.lang.Object alternateEmail_; /** + * + * *
    * The alternate email.
    * 
* * string alternate_email = 6; + * * @return The alternateEmail. */ @java.lang.Override @@ -306,29 +357,29 @@ public java.lang.String getAlternateEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); alternateEmail_ = s; return s; } } /** + * + * *
    * The alternate email.
    * 
* * string alternate_email = 6; + * * @return The bytes for alternateEmail. */ @java.lang.Override - public com.google.protobuf.ByteString - getAlternateEmailBytes() { + public com.google.protobuf.ByteString getAlternateEmailBytes() { java.lang.Object ref = alternateEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); alternateEmail_ = b; return b; } else { @@ -339,11 +390,14 @@ public java.lang.String getAlternateEmail() { public static final int PHONE_NUMBER_FIELD_NUMBER = 7; private volatile java.lang.Object phoneNumber_; /** + * + * *
    * Phone number associated with the Cloud Identity.
    * 
* * string phone_number = 7; + * * @return The phoneNumber. */ @java.lang.Override @@ -352,29 +406,29 @@ public java.lang.String getPhoneNumber() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); phoneNumber_ = s; return s; } } /** + * + * *
    * Phone number associated with the Cloud Identity.
    * 
* * string phone_number = 7; + * * @return The bytes for phoneNumber. */ @java.lang.Override - public com.google.protobuf.ByteString - getPhoneNumberBytes() { + public com.google.protobuf.ByteString getPhoneNumberBytes() { java.lang.Object ref = phoneNumber_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); phoneNumber_ = b; return b; } else { @@ -385,11 +439,14 @@ public java.lang.String getPhoneNumber() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 8; private volatile java.lang.Object languageCode_; /** + * + * *
    * Language code.
    * 
* * string language_code = 8; + * * @return The languageCode. */ @java.lang.Override @@ -398,29 +455,29 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** + * + * *
    * Language code.
    * 
* * string language_code = 8; + * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -431,11 +488,14 @@ public java.lang.String getLanguageCode() { public static final int ADMIN_CONSOLE_URI_FIELD_NUMBER = 10; private volatile java.lang.Object adminConsoleUri_; /** + * + * *
    * Output only. URI of Customer's Admin console dashboard.
    * 
* * string admin_console_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The adminConsoleUri. */ @java.lang.Override @@ -444,29 +504,29 @@ public java.lang.String getAdminConsoleUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); adminConsoleUri_ = s; return s; } } /** + * + * *
    * Output only. URI of Customer's Admin console dashboard.
    * 
* * string admin_console_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for adminConsoleUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getAdminConsoleUriBytes() { + public com.google.protobuf.ByteString getAdminConsoleUriBytes() { java.lang.Object ref = adminConsoleUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); adminConsoleUri_ = b; return b; } else { @@ -477,11 +537,14 @@ public java.lang.String getAdminConsoleUri() { public static final int EDU_DATA_FIELD_NUMBER = 22; private com.google.cloud.channel.v1.EduData eduData_; /** + * + * *
    * Edu information about the customer.
    * 
* * .google.cloud.channel.v1.EduData edu_data = 22; + * * @return Whether the eduData field is set. */ @java.lang.Override @@ -489,11 +552,14 @@ public boolean hasEduData() { return eduData_ != null; } /** + * + * *
    * Edu information about the customer.
    * 
* * .google.cloud.channel.v1.EduData edu_data = 22; + * * @return The eduData. */ @java.lang.Override @@ -501,6 +567,8 @@ public com.google.cloud.channel.v1.EduData getEduData() { return eduData_ == null ? com.google.cloud.channel.v1.EduData.getDefaultInstance() : eduData_; } /** + * + * *
    * Edu information about the customer.
    * 
@@ -513,6 +581,7 @@ public com.google.cloud.channel.v1.EduDataOrBuilder getEduDataOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -524,9 +593,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (customerType_ != com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType.CUSTOMER_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (customerType_ + != com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType.CUSTOMER_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, customerType_); } if (isDomainVerified_ != false) { @@ -559,13 +629,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (customerType_ != com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType.CUSTOMER_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, customerType_); + if (customerType_ + != com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType.CUSTOMER_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, customerType_); } if (isDomainVerified_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, isDomainVerified_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, isDomainVerified_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(alternateEmail_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, alternateEmail_); @@ -583,8 +653,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, adminConsoleUri_); } if (eduData_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(22, getEduData()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getEduData()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -594,30 +663,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.cloud.channel.v1.CloudIdentityInfo)) { return super.equals(obj); } - com.google.cloud.channel.v1.CloudIdentityInfo other = (com.google.cloud.channel.v1.CloudIdentityInfo) obj; + com.google.cloud.channel.v1.CloudIdentityInfo other = + (com.google.cloud.channel.v1.CloudIdentityInfo) obj; if (customerType_ != other.customerType_) return false; - if (!getPrimaryDomain() - .equals(other.getPrimaryDomain())) return false; - if (getIsDomainVerified() - != other.getIsDomainVerified()) return false; - if (!getAlternateEmail() - .equals(other.getAlternateEmail())) return false; - if (!getPhoneNumber() - .equals(other.getPhoneNumber())) return false; - if (!getLanguageCode() - .equals(other.getLanguageCode())) return false; - if (!getAdminConsoleUri() - .equals(other.getAdminConsoleUri())) return false; + if (!getPrimaryDomain().equals(other.getPrimaryDomain())) return false; + if (getIsDomainVerified() != other.getIsDomainVerified()) return false; + if (!getAlternateEmail().equals(other.getAlternateEmail())) return false; + if (!getPhoneNumber().equals(other.getPhoneNumber())) return false; + if (!getLanguageCode().equals(other.getLanguageCode())) return false; + if (!getAdminConsoleUri().equals(other.getAdminConsoleUri())) return false; if (hasEduData() != other.hasEduData()) return false; if (hasEduData()) { - if (!getEduData() - .equals(other.getEduData())) return false; + if (!getEduData().equals(other.getEduData())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -635,8 +698,7 @@ public int hashCode() { hash = (37 * hash) + PRIMARY_DOMAIN_FIELD_NUMBER; hash = (53 * hash) + getPrimaryDomain().hashCode(); hash = (37 * hash) + IS_DOMAIN_VERIFIED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIsDomainVerified()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsDomainVerified()); hash = (37 * hash) + ALTERNATE_EMAIL_FIELD_NUMBER; hash = (53 * hash) + getAlternateEmail().hashCode(); hash = (37 * hash) + PHONE_NUMBER_FIELD_NUMBER; @@ -654,130 +716,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.CloudIdentityInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.CloudIdentityInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CloudIdentityInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.CloudIdentityInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CloudIdentityInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.CloudIdentityInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CloudIdentityInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.CloudIdentityInfo 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.cloud.channel.v1.CloudIdentityInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.CloudIdentityInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.CloudIdentityInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CloudIdentityInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.CloudIdentityInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CloudIdentityInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.CloudIdentityInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Cloud Identity information for the Cloud Channel Customer.
    * 
* * Protobuf type {@code google.cloud.channel.v1.CloudIdentityInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.CloudIdentityInfo) com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_CloudIdentityInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.CommonProto + .internal_static_google_cloud_channel_v1_CloudIdentityInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_CloudIdentityInfo_fieldAccessorTable + return com.google.cloud.channel.v1.CommonProto + .internal_static_google_cloud_channel_v1_CloudIdentityInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.CloudIdentityInfo.class, com.google.cloud.channel.v1.CloudIdentityInfo.Builder.class); + com.google.cloud.channel.v1.CloudIdentityInfo.class, + com.google.cloud.channel.v1.CloudIdentityInfo.Builder.class); } // Construct using com.google.cloud.channel.v1.CloudIdentityInfo.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -805,9 +873,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_CloudIdentityInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.CommonProto + .internal_static_google_cloud_channel_v1_CloudIdentityInfo_descriptor; } @java.lang.Override @@ -826,7 +894,8 @@ public com.google.cloud.channel.v1.CloudIdentityInfo build() { @java.lang.Override public com.google.cloud.channel.v1.CloudIdentityInfo buildPartial() { - com.google.cloud.channel.v1.CloudIdentityInfo result = new com.google.cloud.channel.v1.CloudIdentityInfo(this); + com.google.cloud.channel.v1.CloudIdentityInfo result = + new com.google.cloud.channel.v1.CloudIdentityInfo(this); result.customerType_ = customerType_; result.primaryDomain_ = primaryDomain_; result.isDomainVerified_ = isDomainVerified_; @@ -847,38 +916,39 @@ public com.google.cloud.channel.v1.CloudIdentityInfo 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.cloud.channel.v1.CloudIdentityInfo) { - return mergeFrom((com.google.cloud.channel.v1.CloudIdentityInfo)other); + return mergeFrom((com.google.cloud.channel.v1.CloudIdentityInfo) other); } else { super.mergeFrom(other); return this; @@ -942,54 +1012,61 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - customerType_ = input.readEnum(); - - break; - } // case 8 - case 32: { - isDomainVerified_ = input.readBool(); - - break; - } // case 32 - case 50: { - alternateEmail_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 58: { - phoneNumber_ = input.readStringRequireUtf8(); - - break; - } // case 58 - case 66: { - languageCode_ = input.readStringRequireUtf8(); - - break; - } // case 66 - case 74: { - primaryDomain_ = input.readStringRequireUtf8(); - - break; - } // case 74 - case 82: { - adminConsoleUri_ = input.readStringRequireUtf8(); - - break; - } // case 82 - case 178: { - input.readMessage( - getEduDataFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 178 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + customerType_ = input.readEnum(); + + break; + } // case 8 + case 32: + { + isDomainVerified_ = input.readBool(); + + break; + } // case 32 + case 50: + { + alternateEmail_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 58: + { + phoneNumber_ = input.readStringRequireUtf8(); + + break; + } // case 58 + case 66: + { + languageCode_ = input.readStringRequireUtf8(); + + break; + } // case 66 + case 74: + { + primaryDomain_ = input.readStringRequireUtf8(); + + break; + } // case 74 + case 82: + { + adminConsoleUri_ = input.readStringRequireUtf8(); + + break; + } // case 82 + case 178: + { + input.readMessage(getEduDataFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 178 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1002,73 +1079,93 @@ public Builder mergeFrom( private int customerType_ = 0; /** + * + * *
      * CustomerType indicates verification type needed for using services.
      * 
* * .google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 1; + * * @return The enum numeric value on the wire for customerType. */ - @java.lang.Override public int getCustomerTypeValue() { + @java.lang.Override + public int getCustomerTypeValue() { return customerType_; } /** + * + * *
      * CustomerType indicates verification type needed for using services.
      * 
* * .google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 1; + * * @param value The enum numeric value on the wire for customerType to set. * @return This builder for chaining. */ public Builder setCustomerTypeValue(int value) { - + customerType_ = value; onChanged(); return this; } /** + * + * *
      * CustomerType indicates verification type needed for using services.
      * 
* * .google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 1; + * * @return The customerType. */ @java.lang.Override public com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType getCustomerType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType result = com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType.valueOf(customerType_); - return result == null ? com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType.UNRECOGNIZED : result; + com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType result = + com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType.valueOf(customerType_); + return result == null + ? com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType.UNRECOGNIZED + : result; } /** + * + * *
      * CustomerType indicates verification type needed for using services.
      * 
* * .google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 1; + * * @param value The customerType to set. * @return This builder for chaining. */ - public Builder setCustomerType(com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType value) { + public Builder setCustomerType( + com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType value) { if (value == null) { throw new NullPointerException(); } - + customerType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * CustomerType indicates verification type needed for using services.
      * 
* * .google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 1; + * * @return This builder for chaining. */ public Builder clearCustomerType() { - + customerType_ = 0; onChanged(); return this; @@ -1076,18 +1173,20 @@ public Builder clearCustomerType() { private java.lang.Object primaryDomain_ = ""; /** + * + * *
      * Output only. The primary domain name.
      * 
* * string primary_domain = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The primaryDomain. */ public java.lang.String getPrimaryDomain() { java.lang.Object ref = primaryDomain_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); primaryDomain_ = s; return s; @@ -1096,20 +1195,21 @@ public java.lang.String getPrimaryDomain() { } } /** + * + * *
      * Output only. The primary domain name.
      * 
* * string primary_domain = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for primaryDomain. */ - public com.google.protobuf.ByteString - getPrimaryDomainBytes() { + public com.google.protobuf.ByteString getPrimaryDomainBytes() { java.lang.Object ref = primaryDomain_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); primaryDomain_ = b; return b; } else { @@ -1117,61 +1217,70 @@ public java.lang.String getPrimaryDomain() { } } /** + * + * *
      * Output only. The primary domain name.
      * 
* * string primary_domain = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The primaryDomain to set. * @return This builder for chaining. */ - public Builder setPrimaryDomain( - java.lang.String value) { + public Builder setPrimaryDomain(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + primaryDomain_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The primary domain name.
      * 
* * string primary_domain = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPrimaryDomain() { - + primaryDomain_ = getDefaultInstance().getPrimaryDomain(); onChanged(); return this; } /** + * + * *
      * Output only. The primary domain name.
      * 
* * string primary_domain = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for primaryDomain to set. * @return This builder for chaining. */ - public Builder setPrimaryDomainBytes( - com.google.protobuf.ByteString value) { + public Builder setPrimaryDomainBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + primaryDomain_ = value; onChanged(); return this; } - private boolean isDomainVerified_ ; + private boolean isDomainVerified_; /** + * + * *
      * Output only. Whether the domain is verified.
      * This field is not returned for a Customer's cloud_identity_info resource.
@@ -1181,6 +1290,7 @@ public Builder setPrimaryDomainBytes(
      * 
* * bool is_domain_verified = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The isDomainVerified. */ @java.lang.Override @@ -1188,6 +1298,8 @@ public boolean getIsDomainVerified() { return isDomainVerified_; } /** + * + * *
      * Output only. Whether the domain is verified.
      * This field is not returned for a Customer's cloud_identity_info resource.
@@ -1197,16 +1309,19 @@ public boolean getIsDomainVerified() {
      * 
* * bool is_domain_verified = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The isDomainVerified to set. * @return This builder for chaining. */ public Builder setIsDomainVerified(boolean value) { - + isDomainVerified_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Whether the domain is verified.
      * This field is not returned for a Customer's cloud_identity_info resource.
@@ -1216,10 +1331,11 @@ public Builder setIsDomainVerified(boolean value) {
      * 
* * bool is_domain_verified = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearIsDomainVerified() { - + isDomainVerified_ = false; onChanged(); return this; @@ -1227,18 +1343,20 @@ public Builder clearIsDomainVerified() { private java.lang.Object alternateEmail_ = ""; /** + * + * *
      * The alternate email.
      * 
* * string alternate_email = 6; + * * @return The alternateEmail. */ public java.lang.String getAlternateEmail() { java.lang.Object ref = alternateEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); alternateEmail_ = s; return s; @@ -1247,20 +1365,21 @@ public java.lang.String getAlternateEmail() { } } /** + * + * *
      * The alternate email.
      * 
* * string alternate_email = 6; + * * @return The bytes for alternateEmail. */ - public com.google.protobuf.ByteString - getAlternateEmailBytes() { + public com.google.protobuf.ByteString getAlternateEmailBytes() { java.lang.Object ref = alternateEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); alternateEmail_ = b; return b; } else { @@ -1268,54 +1387,61 @@ public java.lang.String getAlternateEmail() { } } /** + * + * *
      * The alternate email.
      * 
* * string alternate_email = 6; + * * @param value The alternateEmail to set. * @return This builder for chaining. */ - public Builder setAlternateEmail( - java.lang.String value) { + public Builder setAlternateEmail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + alternateEmail_ = value; onChanged(); return this; } /** + * + * *
      * The alternate email.
      * 
* * string alternate_email = 6; + * * @return This builder for chaining. */ public Builder clearAlternateEmail() { - + alternateEmail_ = getDefaultInstance().getAlternateEmail(); onChanged(); return this; } /** + * + * *
      * The alternate email.
      * 
* * string alternate_email = 6; + * * @param value The bytes for alternateEmail to set. * @return This builder for chaining. */ - public Builder setAlternateEmailBytes( - com.google.protobuf.ByteString value) { + public Builder setAlternateEmailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + alternateEmail_ = value; onChanged(); return this; @@ -1323,18 +1449,20 @@ public Builder setAlternateEmailBytes( private java.lang.Object phoneNumber_ = ""; /** + * + * *
      * Phone number associated with the Cloud Identity.
      * 
* * string phone_number = 7; + * * @return The phoneNumber. */ public java.lang.String getPhoneNumber() { java.lang.Object ref = phoneNumber_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); phoneNumber_ = s; return s; @@ -1343,20 +1471,21 @@ public java.lang.String getPhoneNumber() { } } /** + * + * *
      * Phone number associated with the Cloud Identity.
      * 
* * string phone_number = 7; + * * @return The bytes for phoneNumber. */ - public com.google.protobuf.ByteString - getPhoneNumberBytes() { + public com.google.protobuf.ByteString getPhoneNumberBytes() { java.lang.Object ref = phoneNumber_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); phoneNumber_ = b; return b; } else { @@ -1364,54 +1493,61 @@ public java.lang.String getPhoneNumber() { } } /** + * + * *
      * Phone number associated with the Cloud Identity.
      * 
* * string phone_number = 7; + * * @param value The phoneNumber to set. * @return This builder for chaining. */ - public Builder setPhoneNumber( - java.lang.String value) { + public Builder setPhoneNumber(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + phoneNumber_ = value; onChanged(); return this; } /** + * + * *
      * Phone number associated with the Cloud Identity.
      * 
* * string phone_number = 7; + * * @return This builder for chaining. */ public Builder clearPhoneNumber() { - + phoneNumber_ = getDefaultInstance().getPhoneNumber(); onChanged(); return this; } /** + * + * *
      * Phone number associated with the Cloud Identity.
      * 
* * string phone_number = 7; + * * @param value The bytes for phoneNumber to set. * @return This builder for chaining. */ - public Builder setPhoneNumberBytes( - com.google.protobuf.ByteString value) { + public Builder setPhoneNumberBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + phoneNumber_ = value; onChanged(); return this; @@ -1419,18 +1555,20 @@ public Builder setPhoneNumberBytes( private java.lang.Object languageCode_ = ""; /** + * + * *
      * Language code.
      * 
* * string language_code = 8; + * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -1439,20 +1577,21 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Language code.
      * 
* * string language_code = 8; + * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -1460,54 +1599,61 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Language code.
      * 
* * string language_code = 8; + * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode( - java.lang.String value) { + public Builder setLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** + * + * *
      * Language code.
      * 
* * string language_code = 8; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** + * + * *
      * Language code.
      * 
* * string language_code = 8; + * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; onChanged(); return this; @@ -1515,18 +1661,20 @@ public Builder setLanguageCodeBytes( private java.lang.Object adminConsoleUri_ = ""; /** + * + * *
      * Output only. URI of Customer's Admin console dashboard.
      * 
* * string admin_console_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The adminConsoleUri. */ public java.lang.String getAdminConsoleUri() { java.lang.Object ref = adminConsoleUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); adminConsoleUri_ = s; return s; @@ -1535,20 +1683,21 @@ public java.lang.String getAdminConsoleUri() { } } /** + * + * *
      * Output only. URI of Customer's Admin console dashboard.
      * 
* * string admin_console_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for adminConsoleUri. */ - public com.google.protobuf.ByteString - getAdminConsoleUriBytes() { + public com.google.protobuf.ByteString getAdminConsoleUriBytes() { java.lang.Object ref = adminConsoleUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); adminConsoleUri_ = b; return b; } else { @@ -1556,54 +1705,61 @@ public java.lang.String getAdminConsoleUri() { } } /** + * + * *
      * Output only. URI of Customer's Admin console dashboard.
      * 
* * string admin_console_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The adminConsoleUri to set. * @return This builder for chaining. */ - public Builder setAdminConsoleUri( - java.lang.String value) { + public Builder setAdminConsoleUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + adminConsoleUri_ = value; onChanged(); return this; } /** + * + * *
      * Output only. URI of Customer's Admin console dashboard.
      * 
* * string admin_console_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearAdminConsoleUri() { - + adminConsoleUri_ = getDefaultInstance().getAdminConsoleUri(); onChanged(); return this; } /** + * + * *
      * Output only. URI of Customer's Admin console dashboard.
      * 
* * string admin_console_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for adminConsoleUri to set. * @return This builder for chaining. */ - public Builder setAdminConsoleUriBytes( - com.google.protobuf.ByteString value) { + public Builder setAdminConsoleUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + adminConsoleUri_ = value; onChanged(); return this; @@ -1611,34 +1767,47 @@ public Builder setAdminConsoleUriBytes( private com.google.cloud.channel.v1.EduData eduData_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.EduData, com.google.cloud.channel.v1.EduData.Builder, com.google.cloud.channel.v1.EduDataOrBuilder> eduDataBuilder_; + com.google.cloud.channel.v1.EduData, + com.google.cloud.channel.v1.EduData.Builder, + com.google.cloud.channel.v1.EduDataOrBuilder> + eduDataBuilder_; /** + * + * *
      * Edu information about the customer.
      * 
* * .google.cloud.channel.v1.EduData edu_data = 22; + * * @return Whether the eduData field is set. */ public boolean hasEduData() { return eduDataBuilder_ != null || eduData_ != null; } /** + * + * *
      * Edu information about the customer.
      * 
* * .google.cloud.channel.v1.EduData edu_data = 22; + * * @return The eduData. */ public com.google.cloud.channel.v1.EduData getEduData() { if (eduDataBuilder_ == null) { - return eduData_ == null ? com.google.cloud.channel.v1.EduData.getDefaultInstance() : eduData_; + return eduData_ == null + ? com.google.cloud.channel.v1.EduData.getDefaultInstance() + : eduData_; } else { return eduDataBuilder_.getMessage(); } } /** + * + * *
      * Edu information about the customer.
      * 
@@ -1659,14 +1828,15 @@ public Builder setEduData(com.google.cloud.channel.v1.EduData value) { return this; } /** + * + * *
      * Edu information about the customer.
      * 
* * .google.cloud.channel.v1.EduData edu_data = 22; */ - public Builder setEduData( - com.google.cloud.channel.v1.EduData.Builder builderForValue) { + public Builder setEduData(com.google.cloud.channel.v1.EduData.Builder builderForValue) { if (eduDataBuilder_ == null) { eduData_ = builderForValue.build(); onChanged(); @@ -1677,6 +1847,8 @@ public Builder setEduData( return this; } /** + * + * *
      * Edu information about the customer.
      * 
@@ -1687,7 +1859,9 @@ public Builder mergeEduData(com.google.cloud.channel.v1.EduData value) { if (eduDataBuilder_ == null) { if (eduData_ != null) { eduData_ = - com.google.cloud.channel.v1.EduData.newBuilder(eduData_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.EduData.newBuilder(eduData_) + .mergeFrom(value) + .buildPartial(); } else { eduData_ = value; } @@ -1699,6 +1873,8 @@ public Builder mergeEduData(com.google.cloud.channel.v1.EduData value) { return this; } /** + * + * *
      * Edu information about the customer.
      * 
@@ -1717,6 +1893,8 @@ public Builder clearEduData() { return this; } /** + * + * *
      * Edu information about the customer.
      * 
@@ -1724,11 +1902,13 @@ public Builder clearEduData() { * .google.cloud.channel.v1.EduData edu_data = 22; */ public com.google.cloud.channel.v1.EduData.Builder getEduDataBuilder() { - + onChanged(); return getEduDataFieldBuilder().getBuilder(); } /** + * + * *
      * Edu information about the customer.
      * 
@@ -1739,11 +1919,14 @@ public com.google.cloud.channel.v1.EduDataOrBuilder getEduDataOrBuilder() { if (eduDataBuilder_ != null) { return eduDataBuilder_.getMessageOrBuilder(); } else { - return eduData_ == null ? - com.google.cloud.channel.v1.EduData.getDefaultInstance() : eduData_; + return eduData_ == null + ? com.google.cloud.channel.v1.EduData.getDefaultInstance() + : eduData_; } } /** + * + * *
      * Edu information about the customer.
      * 
@@ -1751,21 +1934,24 @@ public com.google.cloud.channel.v1.EduDataOrBuilder getEduDataOrBuilder() { * .google.cloud.channel.v1.EduData edu_data = 22; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.EduData, com.google.cloud.channel.v1.EduData.Builder, com.google.cloud.channel.v1.EduDataOrBuilder> + com.google.cloud.channel.v1.EduData, + com.google.cloud.channel.v1.EduData.Builder, + com.google.cloud.channel.v1.EduDataOrBuilder> getEduDataFieldBuilder() { if (eduDataBuilder_ == null) { - eduDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.EduData, com.google.cloud.channel.v1.EduData.Builder, com.google.cloud.channel.v1.EduDataOrBuilder>( - getEduData(), - getParentForChildren(), - isClean()); + eduDataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.EduData, + com.google.cloud.channel.v1.EduData.Builder, + com.google.cloud.channel.v1.EduDataOrBuilder>( + getEduData(), getParentForChildren(), isClean()); eduData_ = null; } return eduDataBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1775,12 +1961,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.CloudIdentityInfo) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.CloudIdentityInfo) private static final com.google.cloud.channel.v1.CloudIdentityInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.CloudIdentityInfo(); } @@ -1789,27 +1975,27 @@ public static com.google.cloud.channel.v1.CloudIdentityInfo getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudIdentityInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudIdentityInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1824,6 +2010,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.CloudIdentityInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfoOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfoOrBuilder.java similarity index 77% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfoOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfoOrBuilder.java index edf9e82c92f8..16e283f8e380 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfoOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CloudIdentityInfoOrBuilder.java @@ -1,52 +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/cloud/channel/v1/common.proto package com.google.cloud.channel.v1; -public interface CloudIdentityInfoOrBuilder extends +public interface CloudIdentityInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CloudIdentityInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * CustomerType indicates verification type needed for using services.
    * 
* * .google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 1; + * * @return The enum numeric value on the wire for customerType. */ int getCustomerTypeValue(); /** + * + * *
    * CustomerType indicates verification type needed for using services.
    * 
* * .google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 1; + * * @return The customerType. */ com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType getCustomerType(); /** + * + * *
    * Output only. The primary domain name.
    * 
* * string primary_domain = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The primaryDomain. */ java.lang.String getPrimaryDomain(); /** + * + * *
    * Output only. The primary domain name.
    * 
* * string primary_domain = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for primaryDomain. */ - com.google.protobuf.ByteString - getPrimaryDomainBytes(); + com.google.protobuf.ByteString getPrimaryDomainBytes(); /** + * + * *
    * Output only. Whether the domain is verified.
    * This field is not returned for a Customer's cloud_identity_info resource.
@@ -56,109 +85,138 @@ public interface CloudIdentityInfoOrBuilder extends
    * 
* * bool is_domain_verified = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The isDomainVerified. */ boolean getIsDomainVerified(); /** + * + * *
    * The alternate email.
    * 
* * string alternate_email = 6; + * * @return The alternateEmail. */ java.lang.String getAlternateEmail(); /** + * + * *
    * The alternate email.
    * 
* * string alternate_email = 6; + * * @return The bytes for alternateEmail. */ - com.google.protobuf.ByteString - getAlternateEmailBytes(); + com.google.protobuf.ByteString getAlternateEmailBytes(); /** + * + * *
    * Phone number associated with the Cloud Identity.
    * 
* * string phone_number = 7; + * * @return The phoneNumber. */ java.lang.String getPhoneNumber(); /** + * + * *
    * Phone number associated with the Cloud Identity.
    * 
* * string phone_number = 7; + * * @return The bytes for phoneNumber. */ - com.google.protobuf.ByteString - getPhoneNumberBytes(); + com.google.protobuf.ByteString getPhoneNumberBytes(); /** + * + * *
    * Language code.
    * 
* * string language_code = 8; + * * @return The languageCode. */ java.lang.String getLanguageCode(); /** + * + * *
    * Language code.
    * 
* * string language_code = 8; + * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString - getLanguageCodeBytes(); + com.google.protobuf.ByteString getLanguageCodeBytes(); /** + * + * *
    * Output only. URI of Customer's Admin console dashboard.
    * 
* * string admin_console_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The adminConsoleUri. */ java.lang.String getAdminConsoleUri(); /** + * + * *
    * Output only. URI of Customer's Admin console dashboard.
    * 
* * string admin_console_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for adminConsoleUri. */ - com.google.protobuf.ByteString - getAdminConsoleUriBytes(); + com.google.protobuf.ByteString getAdminConsoleUriBytes(); /** + * + * *
    * Edu information about the customer.
    * 
* * .google.cloud.channel.v1.EduData edu_data = 22; + * * @return Whether the eduData field is set. */ boolean hasEduData(); /** + * + * *
    * Edu information about the customer.
    * 
* * .google.cloud.channel.v1.EduData edu_data = 22; + * * @return The eduData. */ com.google.cloud.channel.v1.EduData getEduData(); /** + * + * *
    * Edu information about the customer.
    * 
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Column.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Column.java similarity index 71% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Column.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Column.java index 1a75d2562003..55b50a5a3606 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Column.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Column.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/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; /** + * + * *
  * The definition of a report column. Specifies the data properties
  * in the corresponding position of the report rows.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.Column}
  */
-public final class Column extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Column extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.Column)
     ColumnOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Column.newBuilder() to construct.
   private Column(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Column() {
     columnId_ = "";
     displayName_ = "";
@@ -28,30 +46,33 @@ private Column() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Column();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_Column_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ReportsServiceProto
+        .internal_static_google_cloud_channel_v1_Column_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_Column_fieldAccessorTable
+    return com.google.cloud.channel.v1.ReportsServiceProto
+        .internal_static_google_cloud_channel_v1_Column_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.Column.class, com.google.cloud.channel.v1.Column.Builder.class);
+            com.google.cloud.channel.v1.Column.class,
+            com.google.cloud.channel.v1.Column.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Available data types for columns. Corresponds to the fields in the
    * ReportValue `oneof` field.
@@ -59,9 +80,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.cloud.channel.v1.Column.DataType}
    */
-  public enum DataType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum DataType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Not used.
      * 
@@ -70,6 +92,8 @@ public enum DataType */ DATA_TYPE_UNSPECIFIED(0), /** + * + * *
      * ReportValues for this column will use string_value.
      * 
@@ -78,6 +102,8 @@ public enum DataType */ STRING(1), /** + * + * *
      * ReportValues for this column will use int_value.
      * 
@@ -86,6 +112,8 @@ public enum DataType */ INT(2), /** + * + * *
      * ReportValues for this column will use decimal_value.
      * 
@@ -94,6 +122,8 @@ public enum DataType */ DECIMAL(3), /** + * + * *
      * ReportValues for this column will use money_value.
      * 
@@ -102,6 +132,8 @@ public enum DataType */ MONEY(4), /** + * + * *
      * ReportValues for this column will use date_value.
      * 
@@ -110,6 +142,8 @@ public enum DataType */ DATE(5), /** + * + * *
      * ReportValues for this column will use date_time_value.
      * 
@@ -121,6 +155,8 @@ public enum DataType ; /** + * + * *
      * Not used.
      * 
@@ -129,6 +165,8 @@ public enum DataType */ public static final int DATA_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * ReportValues for this column will use string_value.
      * 
@@ -137,6 +175,8 @@ public enum DataType */ public static final int STRING_VALUE = 1; /** + * + * *
      * ReportValues for this column will use int_value.
      * 
@@ -145,6 +185,8 @@ public enum DataType */ public static final int INT_VALUE = 2; /** + * + * *
      * ReportValues for this column will use decimal_value.
      * 
@@ -153,6 +195,8 @@ public enum DataType */ public static final int DECIMAL_VALUE = 3; /** + * + * *
      * ReportValues for this column will use money_value.
      * 
@@ -161,6 +205,8 @@ public enum DataType */ public static final int MONEY_VALUE = 4; /** + * + * *
      * ReportValues for this column will use date_value.
      * 
@@ -169,6 +215,8 @@ public enum DataType */ public static final int DATE_VALUE = 5; /** + * + * *
      * ReportValues for this column will use date_time_value.
      * 
@@ -177,7 +225,6 @@ public enum DataType */ public static final int DATE_TIME_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -202,53 +249,57 @@ public static DataType valueOf(int value) { */ public static DataType forNumber(int value) { switch (value) { - case 0: return DATA_TYPE_UNSPECIFIED; - case 1: return STRING; - case 2: return INT; - case 3: return DECIMAL; - case 4: return MONEY; - case 5: return DATE; - case 6: return DATE_TIME; - default: return null; + case 0: + return DATA_TYPE_UNSPECIFIED; + case 1: + return STRING; + case 2: + return INT; + case 3: + return DECIMAL; + case 4: + return MONEY; + case 5: + return DATE; + case 6: + return DATE_TIME; + 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< - DataType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DataType findValueByNumber(int number) { - return DataType.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 DataType findValueByNumber(int number) { + return DataType.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.cloud.channel.v1.Column.getDescriptor().getEnumTypes().get(0); } private static final DataType[] VALUES = values(); - public static DataType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DataType 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; @@ -268,6 +319,8 @@ private DataType(int value) { public static final int COLUMN_ID_FIELD_NUMBER = 1; private volatile java.lang.Object columnId_; /** + * + * *
    * The unique name of the column (for example, customer_domain,
    * channel_partner, customer_cost). You can use column IDs in
@@ -277,6 +330,7 @@ private DataType(int value) {
    * 
* * string column_id = 1; + * * @return The columnId. */ @java.lang.Override @@ -285,14 +339,15 @@ public java.lang.String getColumnId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); columnId_ = s; return s; } } /** + * + * *
    * The unique name of the column (for example, customer_domain,
    * channel_partner, customer_cost). You can use column IDs in
@@ -302,16 +357,15 @@ public java.lang.String getColumnId() {
    * 
* * string column_id = 1; + * * @return The bytes for columnId. */ @java.lang.Override - public com.google.protobuf.ByteString - getColumnIdBytes() { + public com.google.protobuf.ByteString getColumnIdBytes() { java.lang.Object ref = columnId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); columnId_ = b; return b; } else { @@ -322,11 +376,14 @@ public java.lang.String getColumnId() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * The column's display name.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -335,29 +392,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; } } /** + * + * *
    * The column's display name.
    * 
* * 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 { @@ -368,31 +425,41 @@ public java.lang.String getDisplayName() { public static final int DATA_TYPE_FIELD_NUMBER = 3; private int dataType_; /** + * + * *
    * The type of the values for this column.
    * 
* * .google.cloud.channel.v1.Column.DataType data_type = 3; + * * @return The enum numeric value on the wire for dataType. */ - @java.lang.Override public int getDataTypeValue() { + @java.lang.Override + public int getDataTypeValue() { return dataType_; } /** + * + * *
    * The type of the values for this column.
    * 
* * .google.cloud.channel.v1.Column.DataType data_type = 3; + * * @return The dataType. */ - @java.lang.Override public com.google.cloud.channel.v1.Column.DataType getDataType() { + @java.lang.Override + public com.google.cloud.channel.v1.Column.DataType getDataType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.Column.DataType result = com.google.cloud.channel.v1.Column.DataType.valueOf(dataType_); + com.google.cloud.channel.v1.Column.DataType result = + com.google.cloud.channel.v1.Column.DataType.valueOf(dataType_); return result == null ? com.google.cloud.channel.v1.Column.DataType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -404,15 +471,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(columnId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, columnId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, displayName_); } - if (dataType_ != com.google.cloud.channel.v1.Column.DataType.DATA_TYPE_UNSPECIFIED.getNumber()) { + if (dataType_ + != com.google.cloud.channel.v1.Column.DataType.DATA_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, dataType_); } getUnknownFields().writeTo(output); @@ -430,9 +497,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); } - if (dataType_ != com.google.cloud.channel.v1.Column.DataType.DATA_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, dataType_); + if (dataType_ + != com.google.cloud.channel.v1.Column.DataType.DATA_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, dataType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -442,17 +509,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.Column)) { return super.equals(obj); } com.google.cloud.channel.v1.Column other = (com.google.cloud.channel.v1.Column) obj; - if (!getColumnId() - .equals(other.getColumnId())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getColumnId().equals(other.getColumnId())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (dataType_ != other.dataType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -476,97 +541,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.Column parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.Column parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Column parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Column parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.channel.v1.Column parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Column parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.Column parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Column parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.Column 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.cloud.channel.v1.Column parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.Column parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.Column parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.Column parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.Column parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.Column prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The definition of a report column. Specifies the data properties
    * in the corresponding position of the report rows.
@@ -574,33 +645,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.Column}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.Column)
       com.google.cloud.channel.v1.ColumnOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_Column_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ReportsServiceProto
+          .internal_static_google_cloud_channel_v1_Column_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_Column_fieldAccessorTable
+      return com.google.cloud.channel.v1.ReportsServiceProto
+          .internal_static_google_cloud_channel_v1_Column_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.Column.class, com.google.cloud.channel.v1.Column.Builder.class);
+              com.google.cloud.channel.v1.Column.class,
+              com.google.cloud.channel.v1.Column.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.Column.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -614,9 +684,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_Column_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ReportsServiceProto
+          .internal_static_google_cloud_channel_v1_Column_descriptor;
     }
 
     @java.lang.Override
@@ -647,38 +717,39 @@ public com.google.cloud.channel.v1.Column 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.cloud.channel.v1.Column) {
-        return mergeFrom((com.google.cloud.channel.v1.Column)other);
+        return mergeFrom((com.google.cloud.channel.v1.Column) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -724,27 +795,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              columnId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              displayName_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 24: {
-              dataType_ = input.readEnum();
-
-              break;
-            } // case 24
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                columnId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 24:
+              {
+                dataType_ = input.readEnum();
+
+                break;
+              } // case 24
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -757,6 +832,8 @@ public Builder mergeFrom(
 
     private java.lang.Object columnId_ = "";
     /**
+     *
+     *
      * 
      * The unique name of the column (for example, customer_domain,
      * channel_partner, customer_cost). You can use column IDs in
@@ -766,13 +843,13 @@ public Builder mergeFrom(
      * 
* * string column_id = 1; + * * @return The columnId. */ public java.lang.String getColumnId() { java.lang.Object ref = columnId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); columnId_ = s; return s; @@ -781,6 +858,8 @@ public java.lang.String getColumnId() { } } /** + * + * *
      * The unique name of the column (for example, customer_domain,
      * channel_partner, customer_cost). You can use column IDs in
@@ -790,15 +869,14 @@ public java.lang.String getColumnId() {
      * 
* * string column_id = 1; + * * @return The bytes for columnId. */ - public com.google.protobuf.ByteString - getColumnIdBytes() { + public com.google.protobuf.ByteString getColumnIdBytes() { java.lang.Object ref = columnId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); columnId_ = b; return b; } else { @@ -806,6 +884,8 @@ public java.lang.String getColumnId() { } } /** + * + * *
      * The unique name of the column (for example, customer_domain,
      * channel_partner, customer_cost). You can use column IDs in
@@ -815,20 +895,22 @@ public java.lang.String getColumnId() {
      * 
* * string column_id = 1; + * * @param value The columnId to set. * @return This builder for chaining. */ - public Builder setColumnId( - java.lang.String value) { + public Builder setColumnId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + columnId_ = value; onChanged(); return this; } /** + * + * *
      * The unique name of the column (for example, customer_domain,
      * channel_partner, customer_cost). You can use column IDs in
@@ -838,15 +920,18 @@ public Builder setColumnId(
      * 
* * string column_id = 1; + * * @return This builder for chaining. */ public Builder clearColumnId() { - + columnId_ = getDefaultInstance().getColumnId(); onChanged(); return this; } /** + * + * *
      * The unique name of the column (for example, customer_domain,
      * channel_partner, customer_cost). You can use column IDs in
@@ -856,16 +941,16 @@ public Builder clearColumnId() {
      * 
* * string column_id = 1; + * * @param value The bytes for columnId to set. * @return This builder for chaining. */ - public Builder setColumnIdBytes( - com.google.protobuf.ByteString value) { + public Builder setColumnIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + columnId_ = value; onChanged(); return this; @@ -873,18 +958,20 @@ public Builder setColumnIdBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * The column's display name.
      * 
* * 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; @@ -893,20 +980,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The column's display name.
      * 
* * 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 { @@ -914,54 +1002,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The column's display name.
      * 
* * 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; } /** + * + * *
      * The column's display name.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * The column's display name.
      * 
* * 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; @@ -969,51 +1064,65 @@ public Builder setDisplayNameBytes( private int dataType_ = 0; /** + * + * *
      * The type of the values for this column.
      * 
* * .google.cloud.channel.v1.Column.DataType data_type = 3; + * * @return The enum numeric value on the wire for dataType. */ - @java.lang.Override public int getDataTypeValue() { + @java.lang.Override + public int getDataTypeValue() { return dataType_; } /** + * + * *
      * The type of the values for this column.
      * 
* * .google.cloud.channel.v1.Column.DataType data_type = 3; + * * @param value The enum numeric value on the wire for dataType to set. * @return This builder for chaining. */ public Builder setDataTypeValue(int value) { - + dataType_ = value; onChanged(); return this; } /** + * + * *
      * The type of the values for this column.
      * 
* * .google.cloud.channel.v1.Column.DataType data_type = 3; + * * @return The dataType. */ @java.lang.Override public com.google.cloud.channel.v1.Column.DataType getDataType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.Column.DataType result = com.google.cloud.channel.v1.Column.DataType.valueOf(dataType_); + com.google.cloud.channel.v1.Column.DataType result = + com.google.cloud.channel.v1.Column.DataType.valueOf(dataType_); return result == null ? com.google.cloud.channel.v1.Column.DataType.UNRECOGNIZED : result; } /** + * + * *
      * The type of the values for this column.
      * 
* * .google.cloud.channel.v1.Column.DataType data_type = 3; + * * @param value The dataType to set. * @return This builder for chaining. */ @@ -1021,28 +1130,31 @@ public Builder setDataType(com.google.cloud.channel.v1.Column.DataType value) { if (value == null) { throw new NullPointerException(); } - + dataType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The type of the values for this column.
      * 
* * .google.cloud.channel.v1.Column.DataType data_type = 3; + * * @return This builder for chaining. */ public Builder clearDataType() { - + dataType_ = 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); } @@ -1052,12 +1164,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.Column) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.Column) private static final com.google.cloud.channel.v1.Column DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.Column(); } @@ -1066,27 +1178,27 @@ public static com.google.cloud.channel.v1.Column getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Column parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Column parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1101,6 +1213,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Column getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ColumnOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ColumnOrBuilder.java similarity index 71% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ColumnOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ColumnOrBuilder.java index c78500285dff..c6ae01ac8e4d 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ColumnOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ColumnOrBuilder.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/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; -public interface ColumnOrBuilder extends +public interface ColumnOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Column) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The unique name of the column (for example, customer_domain,
    * channel_partner, customer_cost). You can use column IDs in
@@ -17,10 +35,13 @@ public interface ColumnOrBuilder extends
    * 
* * string column_id = 1; + * * @return The columnId. */ java.lang.String getColumnId(); /** + * + * *
    * The unique name of the column (for example, customer_domain,
    * channel_partner, customer_cost). You can use column IDs in
@@ -30,46 +51,57 @@ public interface ColumnOrBuilder extends
    * 
* * string column_id = 1; + * * @return The bytes for columnId. */ - com.google.protobuf.ByteString - getColumnIdBytes(); + com.google.protobuf.ByteString getColumnIdBytes(); /** + * + * *
    * The column's display name.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The column's display name.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * The type of the values for this column.
    * 
* * .google.cloud.channel.v1.Column.DataType data_type = 3; + * * @return The enum numeric value on the wire for dataType. */ int getDataTypeValue(); /** + * + * *
    * The type of the values for this column.
    * 
* * .google.cloud.channel.v1.Column.DataType data_type = 3; + * * @return The dataType. */ com.google.cloud.channel.v1.Column.DataType getDataType(); diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettings.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettings.java similarity index 65% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettings.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettings.java index 513d38c5f03b..95c1f04ada74 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettings.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettings.java @@ -1,60 +1,82 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/entitlements.proto package com.google.cloud.channel.v1; /** + * + * *
  * Commitment settings for commitment-based offers.
  * 
* * Protobuf type {@code google.cloud.channel.v1.CommitmentSettings} */ -public final class CommitmentSettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CommitmentSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.CommitmentSettings) CommitmentSettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CommitmentSettings.newBuilder() to construct. private CommitmentSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CommitmentSettings() { - } + + private CommitmentSettings() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CommitmentSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_CommitmentSettings_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_CommitmentSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_CommitmentSettings_fieldAccessorTable + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_CommitmentSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.CommitmentSettings.class, com.google.cloud.channel.v1.CommitmentSettings.Builder.class); + com.google.cloud.channel.v1.CommitmentSettings.class, + com.google.cloud.channel.v1.CommitmentSettings.Builder.class); } public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * Output only. Commitment start timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -62,11 +84,15 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * Output only. Commitment start timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The startTime. */ @java.lang.Override @@ -74,11 +100,14 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Output only. Commitment start timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -88,11 +117,15 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Output only. Commitment end timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -100,11 +133,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * Output only. Commitment end timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ @java.lang.Override @@ -112,11 +149,14 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Output only. Commitment end timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -126,11 +166,16 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int RENEWAL_SETTINGS_FIELD_NUMBER = 4; private com.google.cloud.channel.v1.RenewalSettings renewalSettings_; /** + * + * *
    * Optional. Renewal settings applicable for a commitment-based Offer.
    * 
* - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the renewalSettings field is set. */ @java.lang.Override @@ -138,23 +183,34 @@ public boolean hasRenewalSettings() { return renewalSettings_ != null; } /** + * + * *
    * Optional. Renewal settings applicable for a commitment-based Offer.
    * 
* - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The renewalSettings. */ @java.lang.Override public com.google.cloud.channel.v1.RenewalSettings getRenewalSettings() { - return renewalSettings_ == null ? com.google.cloud.channel.v1.RenewalSettings.getDefaultInstance() : renewalSettings_; + return renewalSettings_ == null + ? com.google.cloud.channel.v1.RenewalSettings.getDefaultInstance() + : renewalSettings_; } /** + * + * *
    * Optional. Renewal settings applicable for a commitment-based Offer.
    * 
* - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.channel.v1.RenewalSettingsOrBuilder getRenewalSettingsOrBuilder() { @@ -162,6 +218,7 @@ public com.google.cloud.channel.v1.RenewalSettingsOrBuilder getRenewalSettingsOr } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,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 (startTime_ != null) { output.writeMessage(1, getStartTime()); } @@ -194,16 +250,13 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } if (renewalSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getRenewalSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRenewalSettings()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -213,27 +266,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.cloud.channel.v1.CommitmentSettings)) { return super.equals(obj); } - com.google.cloud.channel.v1.CommitmentSettings other = (com.google.cloud.channel.v1.CommitmentSettings) obj; + com.google.cloud.channel.v1.CommitmentSettings other = + (com.google.cloud.channel.v1.CommitmentSettings) obj; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime() - .equals(other.getStartTime())) return false; + if (!getStartTime().equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; } if (hasRenewalSettings() != other.hasRenewalSettings()) return false; if (hasRenewalSettings()) { - if (!getRenewalSettings() - .equals(other.getRenewalSettings())) return false; + if (!getRenewalSettings().equals(other.getRenewalSettings())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -263,130 +314,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.CommitmentSettings parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.CommitmentSettings parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CommitmentSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.CommitmentSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CommitmentSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.CommitmentSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CommitmentSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.CommitmentSettings 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.cloud.channel.v1.CommitmentSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.CommitmentSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.CommitmentSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CommitmentSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.CommitmentSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CommitmentSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.CommitmentSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Commitment settings for commitment-based offers.
    * 
* * Protobuf type {@code google.cloud.channel.v1.CommitmentSettings} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.CommitmentSettings) com.google.cloud.channel.v1.CommitmentSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_CommitmentSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_CommitmentSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_CommitmentSettings_fieldAccessorTable + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_CommitmentSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.CommitmentSettings.class, com.google.cloud.channel.v1.CommitmentSettings.Builder.class); + com.google.cloud.channel.v1.CommitmentSettings.class, + com.google.cloud.channel.v1.CommitmentSettings.Builder.class); } // Construct using com.google.cloud.channel.v1.CommitmentSettings.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -412,9 +469,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_CommitmentSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_CommitmentSettings_descriptor; } @java.lang.Override @@ -433,7 +490,8 @@ public com.google.cloud.channel.v1.CommitmentSettings build() { @java.lang.Override public com.google.cloud.channel.v1.CommitmentSettings buildPartial() { - com.google.cloud.channel.v1.CommitmentSettings result = new com.google.cloud.channel.v1.CommitmentSettings(this); + com.google.cloud.channel.v1.CommitmentSettings result = + new com.google.cloud.channel.v1.CommitmentSettings(this); if (startTimeBuilder_ == null) { result.startTime_ = startTime_; } else { @@ -457,38 +515,39 @@ public com.google.cloud.channel.v1.CommitmentSettings 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.cloud.channel.v1.CommitmentSettings) { - return mergeFrom((com.google.cloud.channel.v1.CommitmentSettings)other); + return mergeFrom((com.google.cloud.channel.v1.CommitmentSettings) other); } else { super.mergeFrom(other); return this; @@ -532,33 +591,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getStartTimeFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 18: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - case 34: { - input.readMessage( - getRenewalSettingsFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 34: + { + input.readMessage(getRenewalSettingsFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -571,24 +628,35 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; /** + * + * *
      * Output only. Commitment start timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * Output only. Commitment start timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -599,11 +667,14 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Output only. Commitment start timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -619,14 +690,16 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Commitment start timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -637,17 +710,20 @@ public Builder setStartTime( return this; } /** + * + * *
      * Output only. Commitment start timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -659,11 +735,14 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Commitment start timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearStartTime() { if (startTimeBuilder_ == null) { @@ -677,48 +756,59 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Output only. Commitment start timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Commitment start timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** + * + * *
      * Output only. Commitment start timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 1 [(.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> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartTime(), - getParentForChildren(), - isClean()); + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; @@ -726,24 +816,35 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * Output only. Commitment end timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * Output only. Commitment end timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -754,11 +855,14 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Output only. Commitment end timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -774,14 +878,16 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Commitment end timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -792,17 +898,20 @@ public Builder setEndTime( return this; } /** + * + * *
      * Output only. Commitment end timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -814,11 +923,14 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Commitment end timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEndTime() { if (endTimeBuilder_ == null) { @@ -832,48 +944,59 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Output only. Commitment end timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Commitment end timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * Output only. Commitment end timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_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> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; @@ -881,39 +1004,58 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private com.google.cloud.channel.v1.RenewalSettings renewalSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RenewalSettings, com.google.cloud.channel.v1.RenewalSettings.Builder, com.google.cloud.channel.v1.RenewalSettingsOrBuilder> renewalSettingsBuilder_; + com.google.cloud.channel.v1.RenewalSettings, + com.google.cloud.channel.v1.RenewalSettings.Builder, + com.google.cloud.channel.v1.RenewalSettingsOrBuilder> + renewalSettingsBuilder_; /** + * + * *
      * Optional. Renewal settings applicable for a commitment-based Offer.
      * 
* - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the renewalSettings field is set. */ public boolean hasRenewalSettings() { return renewalSettingsBuilder_ != null || renewalSettings_ != null; } /** + * + * *
      * Optional. Renewal settings applicable for a commitment-based Offer.
      * 
* - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The renewalSettings. */ public com.google.cloud.channel.v1.RenewalSettings getRenewalSettings() { if (renewalSettingsBuilder_ == null) { - return renewalSettings_ == null ? com.google.cloud.channel.v1.RenewalSettings.getDefaultInstance() : renewalSettings_; + return renewalSettings_ == null + ? com.google.cloud.channel.v1.RenewalSettings.getDefaultInstance() + : renewalSettings_; } else { return renewalSettingsBuilder_.getMessage(); } } /** + * + * *
      * Optional. Renewal settings applicable for a commitment-based Offer.
      * 
* - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRenewalSettings(com.google.cloud.channel.v1.RenewalSettings value) { if (renewalSettingsBuilder_ == null) { @@ -929,11 +1071,15 @@ public Builder setRenewalSettings(com.google.cloud.channel.v1.RenewalSettings va return this; } /** + * + * *
      * Optional. Renewal settings applicable for a commitment-based Offer.
      * 
* - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRenewalSettings( com.google.cloud.channel.v1.RenewalSettings.Builder builderForValue) { @@ -947,17 +1093,23 @@ public Builder setRenewalSettings( return this; } /** + * + * *
      * Optional. Renewal settings applicable for a commitment-based Offer.
      * 
* - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeRenewalSettings(com.google.cloud.channel.v1.RenewalSettings value) { if (renewalSettingsBuilder_ == null) { if (renewalSettings_ != null) { renewalSettings_ = - com.google.cloud.channel.v1.RenewalSettings.newBuilder(renewalSettings_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.RenewalSettings.newBuilder(renewalSettings_) + .mergeFrom(value) + .buildPartial(); } else { renewalSettings_ = value; } @@ -969,11 +1121,15 @@ public Builder mergeRenewalSettings(com.google.cloud.channel.v1.RenewalSettings return this; } /** + * + * *
      * Optional. Renewal settings applicable for a commitment-based Offer.
      * 
* - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearRenewalSettings() { if (renewalSettingsBuilder_ == null) { @@ -987,55 +1143,71 @@ public Builder clearRenewalSettings() { return this; } /** + * + * *
      * Optional. Renewal settings applicable for a commitment-based Offer.
      * 
* - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.channel.v1.RenewalSettings.Builder getRenewalSettingsBuilder() { - + onChanged(); return getRenewalSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Renewal settings applicable for a commitment-based Offer.
      * 
* - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.channel.v1.RenewalSettingsOrBuilder getRenewalSettingsOrBuilder() { if (renewalSettingsBuilder_ != null) { return renewalSettingsBuilder_.getMessageOrBuilder(); } else { - return renewalSettings_ == null ? - com.google.cloud.channel.v1.RenewalSettings.getDefaultInstance() : renewalSettings_; + return renewalSettings_ == null + ? com.google.cloud.channel.v1.RenewalSettings.getDefaultInstance() + : renewalSettings_; } } /** + * + * *
      * Optional. Renewal settings applicable for a commitment-based Offer.
      * 
* - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RenewalSettings, com.google.cloud.channel.v1.RenewalSettings.Builder, com.google.cloud.channel.v1.RenewalSettingsOrBuilder> + com.google.cloud.channel.v1.RenewalSettings, + com.google.cloud.channel.v1.RenewalSettings.Builder, + com.google.cloud.channel.v1.RenewalSettingsOrBuilder> getRenewalSettingsFieldBuilder() { if (renewalSettingsBuilder_ == null) { - renewalSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RenewalSettings, com.google.cloud.channel.v1.RenewalSettings.Builder, com.google.cloud.channel.v1.RenewalSettingsOrBuilder>( - getRenewalSettings(), - getParentForChildren(), - isClean()); + renewalSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.RenewalSettings, + com.google.cloud.channel.v1.RenewalSettings.Builder, + com.google.cloud.channel.v1.RenewalSettingsOrBuilder>( + getRenewalSettings(), getParentForChildren(), isClean()); renewalSettings_ = null; } return renewalSettingsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1045,12 +1217,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.CommitmentSettings) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.CommitmentSettings) private static final com.google.cloud.channel.v1.CommitmentSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.CommitmentSettings(); } @@ -1059,27 +1231,27 @@ public static com.google.cloud.channel.v1.CommitmentSettings getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CommitmentSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CommitmentSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1094,6 +1266,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.CommitmentSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettingsOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettingsOrBuilder.java similarity index 60% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettingsOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettingsOrBuilder.java index 15f94c1aeabc..5c2ed7dffb24 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettingsOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommitmentSettingsOrBuilder.java @@ -1,90 +1,142 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/entitlements.proto package com.google.cloud.channel.v1; -public interface CommitmentSettingsOrBuilder extends +public interface CommitmentSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CommitmentSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Commitment start timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * Output only. Commitment start timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * Output only. Commitment start timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * Output only. Commitment end timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Output only. Commitment end timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Output only. Commitment end timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * Optional. Renewal settings applicable for a commitment-based Offer.
    * 
* - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the renewalSettings field is set. */ boolean hasRenewalSettings(); /** + * + * *
    * Optional. Renewal settings applicable for a commitment-based Offer.
    * 
* - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The renewalSettings. */ com.google.cloud.channel.v1.RenewalSettings getRenewalSettings(); /** + * + * *
    * Optional. Renewal settings applicable for a commitment-based Offer.
    * 
* - * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.channel.v1.RenewalSettingsOrBuilder getRenewalSettingsOrBuilder(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommonProto.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommonProto.java new file mode 100644 index 000000000000..587af974ce50 --- /dev/null +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommonProto.java @@ -0,0 +1,145 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/common.proto + +package com.google.cloud.channel.v1; + +public final class CommonProto { + private CommonProto() {} + + 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_cloud_channel_v1_EduData_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_EduData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_CloudIdentityInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_CloudIdentityInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_Value_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_Value_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_AdminUser_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_AdminUser_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/cloud/channel/v1/common.proto\022\027" + + "google.cloud.channel.v1\032\037google/api/fiel" + + "d_behavior.proto\032\031google/protobuf/any.pr" + + "oto\"\260\003\n\007EduData\022F\n\016institute_type\030\001 \001(\0162" + + "..google.cloud.channel.v1.EduData.Instit" + + "uteType\022F\n\016institute_size\030\002 \001(\0162..google" + + ".cloud.channel.v1.EduData.InstituteSize\022" + + "\017\n\007website\030\003 \001(\t\"H\n\rInstituteType\022\036\n\032INS" + + "TITUTE_TYPE_UNSPECIFIED\020\000\022\007\n\003K12\020\001\022\016\n\nUN" + + "IVERSITY\020\002\"\271\001\n\rInstituteSize\022\036\n\032INSTITUT" + + "E_SIZE_UNSPECIFIED\020\000\022\016\n\nSIZE_1_100\020\001\022\020\n\014" + + "SIZE_101_500\020\002\022\021\n\rSIZE_501_1000\020\003\022\022\n\016SIZ" + + "E_1001_2000\020\004\022\022\n\016SIZE_2001_5000\020\005\022\023\n\017SIZ" + + "E_5001_10000\020\006\022\026\n\022SIZE_10001_OR_MORE\020\007\"\200" + + "\003\n\021CloudIdentityInfo\022N\n\rcustomer_type\030\001 " + + "\001(\01627.google.cloud.channel.v1.CloudIdent" + + "ityInfo.CustomerType\022\033\n\016primary_domain\030\t" + + " \001(\tB\003\340A\003\022\037\n\022is_domain_verified\030\004 \001(\010B\003\340" + + "A\003\022\027\n\017alternate_email\030\006 \001(\t\022\024\n\014phone_num" + + "ber\030\007 \001(\t\022\025\n\rlanguage_code\030\010 \001(\t\022\036\n\021admi" + + "n_console_uri\030\n \001(\tB\003\340A\003\0222\n\010edu_data\030\026 \001" + + "(\0132 .google.cloud.channel.v1.EduData\"C\n\014" + + "CustomerType\022\035\n\031CUSTOMER_TYPE_UNSPECIFIE" + + "D\020\000\022\n\n\006DOMAIN\020\001\022\010\n\004TEAM\020\002\"\231\001\n\005Value\022\025\n\013i" + + "nt64_value\030\001 \001(\003H\000\022\026\n\014string_value\030\002 \001(\t" + + "H\000\022\026\n\014double_value\030\003 \001(\001H\000\022+\n\013proto_valu" + + "e\030\004 \001(\0132\024.google.protobuf.AnyH\000\022\024\n\nbool_" + + "value\030\005 \001(\010H\000B\006\n\004kind\"C\n\tAdminUser\022\r\n\005em" + + "ail\030\001 \001(\t\022\022\n\ngiven_name\030\002 \001(\t\022\023\n\013family_" + + "name\030\003 \001(\tBl\n\033com.google.cloud.channel.v" + + "1B\013CommonProtoP\001Z>google.golang.org/genp" + + "roto/googleapis/cloud/channel/v1;channel" + + "b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.protobuf.AnyProto.getDescriptor(), + }); + internal_static_google_cloud_channel_v1_EduData_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_channel_v1_EduData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_EduData_descriptor, + new java.lang.String[] { + "InstituteType", "InstituteSize", "Website", + }); + internal_static_google_cloud_channel_v1_CloudIdentityInfo_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_channel_v1_CloudIdentityInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_CloudIdentityInfo_descriptor, + new java.lang.String[] { + "CustomerType", + "PrimaryDomain", + "IsDomainVerified", + "AlternateEmail", + "PhoneNumber", + "LanguageCode", + "AdminConsoleUri", + "EduData", + }); + internal_static_google_cloud_channel_v1_Value_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_channel_v1_Value_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_Value_descriptor, + new java.lang.String[] { + "Int64Value", "StringValue", "DoubleValue", "ProtoValue", "BoolValue", "Kind", + }); + internal_static_google_cloud_channel_v1_AdminUser_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_channel_v1_AdminUser_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_AdminUser_descriptor, + new java.lang.String[] { + "Email", "GivenName", "FamilyName", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.protobuf.AnyProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConditionalOverride.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConditionalOverride.java similarity index 61% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConditionalOverride.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConditionalOverride.java index 8937819c547d..0a4ce213912f 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConditionalOverride.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConditionalOverride.java @@ -1,61 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/repricing.proto package com.google.cloud.channel.v1; /** + * + * *
  * Specifies the override to conditionally apply.
  * 
* * Protobuf type {@code google.cloud.channel.v1.ConditionalOverride} */ -public final class ConditionalOverride extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ConditionalOverride extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ConditionalOverride) ConditionalOverrideOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConditionalOverride.newBuilder() to construct. private ConditionalOverride(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ConditionalOverride() { rebillingBasis_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ConditionalOverride(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_ConditionalOverride_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.RepricingProto + .internal_static_google_cloud_channel_v1_ConditionalOverride_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_ConditionalOverride_fieldAccessorTable + return com.google.cloud.channel.v1.RepricingProto + .internal_static_google_cloud_channel_v1_ConditionalOverride_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ConditionalOverride.class, com.google.cloud.channel.v1.ConditionalOverride.Builder.class); + com.google.cloud.channel.v1.ConditionalOverride.class, + com.google.cloud.channel.v1.ConditionalOverride.Builder.class); } public static final int ADJUSTMENT_FIELD_NUMBER = 1; private com.google.cloud.channel.v1.RepricingAdjustment adjustment_; /** + * + * *
    * Required. Information about the applied override's adjustment.
    * 
* - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the adjustment field is set. */ @java.lang.Override @@ -63,23 +87,34 @@ public boolean hasAdjustment() { return adjustment_ != null; } /** + * + * *
    * Required. Information about the applied override's adjustment.
    * 
* - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The adjustment. */ @java.lang.Override public com.google.cloud.channel.v1.RepricingAdjustment getAdjustment() { - return adjustment_ == null ? com.google.cloud.channel.v1.RepricingAdjustment.getDefaultInstance() : adjustment_; + return adjustment_ == null + ? com.google.cloud.channel.v1.RepricingAdjustment.getDefaultInstance() + : adjustment_; } /** + * + * *
    * Required. Information about the applied override's adjustment.
    * 
* - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder getAdjustmentOrBuilder() { @@ -89,42 +124,60 @@ public com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder getAdjustmentOrB public static final int REBILLING_BASIS_FIELD_NUMBER = 2; private int rebillingBasis_; /** + * + * *
    * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
    * use for the applied override. Shows the relative cost based on your
    * repricing costs.
    * 
* - * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for rebillingBasis. */ - @java.lang.Override public int getRebillingBasisValue() { + @java.lang.Override + public int getRebillingBasisValue() { return rebillingBasis_; } /** + * + * *
    * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
    * use for the applied override. Shows the relative cost based on your
    * repricing costs.
    * 
* - * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The rebillingBasis. */ - @java.lang.Override public com.google.cloud.channel.v1.RebillingBasis getRebillingBasis() { + @java.lang.Override + public com.google.cloud.channel.v1.RebillingBasis getRebillingBasis() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.RebillingBasis result = com.google.cloud.channel.v1.RebillingBasis.valueOf(rebillingBasis_); + com.google.cloud.channel.v1.RebillingBasis result = + com.google.cloud.channel.v1.RebillingBasis.valueOf(rebillingBasis_); return result == null ? com.google.cloud.channel.v1.RebillingBasis.UNRECOGNIZED : result; } public static final int REPRICING_CONDITION_FIELD_NUMBER = 3; private com.google.cloud.channel.v1.RepricingCondition repricingCondition_; /** + * + * *
    * Required. Specifies the condition which, if met, will apply the override.
    * 
* - * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the repricingCondition field is set. */ @java.lang.Override @@ -132,23 +185,34 @@ public boolean hasRepricingCondition() { return repricingCondition_ != null; } /** + * + * *
    * Required. Specifies the condition which, if met, will apply the override.
    * 
* - * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The repricingCondition. */ @java.lang.Override public com.google.cloud.channel.v1.RepricingCondition getRepricingCondition() { - return repricingCondition_ == null ? com.google.cloud.channel.v1.RepricingCondition.getDefaultInstance() : repricingCondition_; + return repricingCondition_ == null + ? com.google.cloud.channel.v1.RepricingCondition.getDefaultInstance() + : repricingCondition_; } /** + * + * *
    * Required. Specifies the condition which, if met, will apply the override.
    * 
* - * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.channel.v1.RepricingConditionOrBuilder getRepricingConditionOrBuilder() { @@ -156,6 +220,7 @@ public com.google.cloud.channel.v1.RepricingConditionOrBuilder getRepricingCondi } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,12 +232,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 (adjustment_ != null) { output.writeMessage(1, getAdjustment()); } - if (rebillingBasis_ != com.google.cloud.channel.v1.RebillingBasis.REBILLING_BASIS_UNSPECIFIED.getNumber()) { + if (rebillingBasis_ + != com.google.cloud.channel.v1.RebillingBasis.REBILLING_BASIS_UNSPECIFIED.getNumber()) { output.writeEnum(2, rebillingBasis_); } if (repricingCondition_ != null) { @@ -188,16 +253,14 @@ public int getSerializedSize() { size = 0; if (adjustment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAdjustment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAdjustment()); } - if (rebillingBasis_ != com.google.cloud.channel.v1.RebillingBasis.REBILLING_BASIS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, rebillingBasis_); + if (rebillingBasis_ + != com.google.cloud.channel.v1.RebillingBasis.REBILLING_BASIS_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, rebillingBasis_); } if (repricingCondition_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getRepricingCondition()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRepricingCondition()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -207,23 +270,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.cloud.channel.v1.ConditionalOverride)) { return super.equals(obj); } - com.google.cloud.channel.v1.ConditionalOverride other = (com.google.cloud.channel.v1.ConditionalOverride) obj; + com.google.cloud.channel.v1.ConditionalOverride other = + (com.google.cloud.channel.v1.ConditionalOverride) obj; if (hasAdjustment() != other.hasAdjustment()) return false; if (hasAdjustment()) { - if (!getAdjustment() - .equals(other.getAdjustment())) return false; + if (!getAdjustment().equals(other.getAdjustment())) return false; } if (rebillingBasis_ != other.rebillingBasis_) return false; if (hasRepricingCondition() != other.hasRepricingCondition()) return false; if (hasRepricingCondition()) { - if (!getRepricingCondition() - .equals(other.getRepricingCondition())) return false; + if (!getRepricingCondition().equals(other.getRepricingCondition())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -251,130 +313,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ConditionalOverride parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.ConditionalOverride parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ConditionalOverride parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ConditionalOverride parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ConditionalOverride parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ConditionalOverride parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ConditionalOverride parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ConditionalOverride 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.cloud.channel.v1.ConditionalOverride parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ConditionalOverride parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ConditionalOverride parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ConditionalOverride parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ConditionalOverride parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ConditionalOverride parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.ConditionalOverride prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Specifies the override to conditionally apply.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ConditionalOverride} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ConditionalOverride) com.google.cloud.channel.v1.ConditionalOverrideOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_ConditionalOverride_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.RepricingProto + .internal_static_google_cloud_channel_v1_ConditionalOverride_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_ConditionalOverride_fieldAccessorTable + return com.google.cloud.channel.v1.RepricingProto + .internal_static_google_cloud_channel_v1_ConditionalOverride_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ConditionalOverride.class, com.google.cloud.channel.v1.ConditionalOverride.Builder.class); + com.google.cloud.channel.v1.ConditionalOverride.class, + com.google.cloud.channel.v1.ConditionalOverride.Builder.class); } // Construct using com.google.cloud.channel.v1.ConditionalOverride.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -396,9 +464,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_ConditionalOverride_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.RepricingProto + .internal_static_google_cloud_channel_v1_ConditionalOverride_descriptor; } @java.lang.Override @@ -417,7 +485,8 @@ public com.google.cloud.channel.v1.ConditionalOverride build() { @java.lang.Override public com.google.cloud.channel.v1.ConditionalOverride buildPartial() { - com.google.cloud.channel.v1.ConditionalOverride result = new com.google.cloud.channel.v1.ConditionalOverride(this); + com.google.cloud.channel.v1.ConditionalOverride result = + new com.google.cloud.channel.v1.ConditionalOverride(this); if (adjustmentBuilder_ == null) { result.adjustment_ = adjustment_; } else { @@ -437,38 +506,39 @@ public com.google.cloud.channel.v1.ConditionalOverride 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.cloud.channel.v1.ConditionalOverride) { - return mergeFrom((com.google.cloud.channel.v1.ConditionalOverride)other); + return mergeFrom((com.google.cloud.channel.v1.ConditionalOverride) other); } else { super.mergeFrom(other); return this; @@ -476,7 +546,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ConditionalOverride other) { - if (other == com.google.cloud.channel.v1.ConditionalOverride.getDefaultInstance()) return this; + if (other == com.google.cloud.channel.v1.ConditionalOverride.getDefaultInstance()) + return this; if (other.hasAdjustment()) { mergeAdjustment(other.getAdjustment()); } @@ -512,31 +583,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getAdjustmentFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage(getAdjustmentFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 16: { - rebillingBasis_ = input.readEnum(); + break; + } // case 10 + case 16: + { + rebillingBasis_ = input.readEnum(); - break; - } // case 16 - case 26: { - input.readMessage( - getRepricingConditionFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 16 + case 26: + { + input.readMessage( + getRepricingConditionFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -549,39 +621,58 @@ public Builder mergeFrom( private com.google.cloud.channel.v1.RepricingAdjustment adjustment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingAdjustment, com.google.cloud.channel.v1.RepricingAdjustment.Builder, com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder> adjustmentBuilder_; + com.google.cloud.channel.v1.RepricingAdjustment, + com.google.cloud.channel.v1.RepricingAdjustment.Builder, + com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder> + adjustmentBuilder_; /** + * + * *
      * Required. Information about the applied override's adjustment.
      * 
* - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the adjustment field is set. */ public boolean hasAdjustment() { return adjustmentBuilder_ != null || adjustment_ != null; } /** + * + * *
      * Required. Information about the applied override's adjustment.
      * 
* - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The adjustment. */ public com.google.cloud.channel.v1.RepricingAdjustment getAdjustment() { if (adjustmentBuilder_ == null) { - return adjustment_ == null ? com.google.cloud.channel.v1.RepricingAdjustment.getDefaultInstance() : adjustment_; + return adjustment_ == null + ? com.google.cloud.channel.v1.RepricingAdjustment.getDefaultInstance() + : adjustment_; } else { return adjustmentBuilder_.getMessage(); } } /** + * + * *
      * Required. Information about the applied override's adjustment.
      * 
* - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAdjustment(com.google.cloud.channel.v1.RepricingAdjustment value) { if (adjustmentBuilder_ == null) { @@ -597,11 +688,15 @@ public Builder setAdjustment(com.google.cloud.channel.v1.RepricingAdjustment val return this; } /** + * + * *
      * Required. Information about the applied override's adjustment.
      * 
* - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAdjustment( com.google.cloud.channel.v1.RepricingAdjustment.Builder builderForValue) { @@ -615,17 +710,23 @@ public Builder setAdjustment( return this; } /** + * + * *
      * Required. Information about the applied override's adjustment.
      * 
* - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAdjustment(com.google.cloud.channel.v1.RepricingAdjustment value) { if (adjustmentBuilder_ == null) { if (adjustment_ != null) { adjustment_ = - com.google.cloud.channel.v1.RepricingAdjustment.newBuilder(adjustment_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.RepricingAdjustment.newBuilder(adjustment_) + .mergeFrom(value) + .buildPartial(); } else { adjustment_ = value; } @@ -637,11 +738,15 @@ public Builder mergeAdjustment(com.google.cloud.channel.v1.RepricingAdjustment v return this; } /** + * + * *
      * Required. Information about the applied override's adjustment.
      * 
* - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAdjustment() { if (adjustmentBuilder_ == null) { @@ -655,48 +760,64 @@ public Builder clearAdjustment() { return this; } /** + * + * *
      * Required. Information about the applied override's adjustment.
      * 
* - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.channel.v1.RepricingAdjustment.Builder getAdjustmentBuilder() { - + onChanged(); return getAdjustmentFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Information about the applied override's adjustment.
      * 
* - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder getAdjustmentOrBuilder() { if (adjustmentBuilder_ != null) { return adjustmentBuilder_.getMessageOrBuilder(); } else { - return adjustment_ == null ? - com.google.cloud.channel.v1.RepricingAdjustment.getDefaultInstance() : adjustment_; + return adjustment_ == null + ? com.google.cloud.channel.v1.RepricingAdjustment.getDefaultInstance() + : adjustment_; } } /** + * + * *
      * Required. Information about the applied override's adjustment.
      * 
* - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingAdjustment, com.google.cloud.channel.v1.RepricingAdjustment.Builder, com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder> + com.google.cloud.channel.v1.RepricingAdjustment, + com.google.cloud.channel.v1.RepricingAdjustment.Builder, + com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder> getAdjustmentFieldBuilder() { if (adjustmentBuilder_ == null) { - adjustmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingAdjustment, com.google.cloud.channel.v1.RepricingAdjustment.Builder, com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder>( - getAdjustment(), - getParentForChildren(), - isClean()); + adjustmentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.RepricingAdjustment, + com.google.cloud.channel.v1.RepricingAdjustment.Builder, + com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder>( + getAdjustment(), getParentForChildren(), isClean()); adjustment_ = null; } return adjustmentBuilder_; @@ -704,59 +825,81 @@ public com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder getAdjustmentOrB private int rebillingBasis_ = 0; /** + * + * *
      * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
      * use for the applied override. Shows the relative cost based on your
      * repricing costs.
      * 
* - * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for rebillingBasis. */ - @java.lang.Override public int getRebillingBasisValue() { + @java.lang.Override + public int getRebillingBasisValue() { return rebillingBasis_; } /** + * + * *
      * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
      * use for the applied override. Shows the relative cost based on your
      * repricing costs.
      * 
* - * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for rebillingBasis to set. * @return This builder for chaining. */ public Builder setRebillingBasisValue(int value) { - + rebillingBasis_ = value; onChanged(); return this; } /** + * + * *
      * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
      * use for the applied override. Shows the relative cost based on your
      * repricing costs.
      * 
* - * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The rebillingBasis. */ @java.lang.Override public com.google.cloud.channel.v1.RebillingBasis getRebillingBasis() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.RebillingBasis result = com.google.cloud.channel.v1.RebillingBasis.valueOf(rebillingBasis_); + com.google.cloud.channel.v1.RebillingBasis result = + com.google.cloud.channel.v1.RebillingBasis.valueOf(rebillingBasis_); return result == null ? com.google.cloud.channel.v1.RebillingBasis.UNRECOGNIZED : result; } /** + * + * *
      * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
      * use for the applied override. Shows the relative cost based on your
      * repricing costs.
      * 
* - * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The rebillingBasis to set. * @return This builder for chaining. */ @@ -764,23 +907,28 @@ public Builder setRebillingBasis(com.google.cloud.channel.v1.RebillingBasis valu if (value == null) { throw new NullPointerException(); } - + rebillingBasis_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
      * use for the applied override. Shows the relative cost based on your
      * repricing costs.
      * 
* - * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearRebillingBasis() { - + rebillingBasis_ = 0; onChanged(); return this; @@ -788,39 +936,58 @@ public Builder clearRebillingBasis() { private com.google.cloud.channel.v1.RepricingCondition repricingCondition_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingCondition, com.google.cloud.channel.v1.RepricingCondition.Builder, com.google.cloud.channel.v1.RepricingConditionOrBuilder> repricingConditionBuilder_; + com.google.cloud.channel.v1.RepricingCondition, + com.google.cloud.channel.v1.RepricingCondition.Builder, + com.google.cloud.channel.v1.RepricingConditionOrBuilder> + repricingConditionBuilder_; /** + * + * *
      * Required. Specifies the condition which, if met, will apply the override.
      * 
* - * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the repricingCondition field is set. */ public boolean hasRepricingCondition() { return repricingConditionBuilder_ != null || repricingCondition_ != null; } /** + * + * *
      * Required. Specifies the condition which, if met, will apply the override.
      * 
* - * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The repricingCondition. */ public com.google.cloud.channel.v1.RepricingCondition getRepricingCondition() { if (repricingConditionBuilder_ == null) { - return repricingCondition_ == null ? com.google.cloud.channel.v1.RepricingCondition.getDefaultInstance() : repricingCondition_; + return repricingCondition_ == null + ? com.google.cloud.channel.v1.RepricingCondition.getDefaultInstance() + : repricingCondition_; } else { return repricingConditionBuilder_.getMessage(); } } /** + * + * *
      * Required. Specifies the condition which, if met, will apply the override.
      * 
* - * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRepricingCondition(com.google.cloud.channel.v1.RepricingCondition value) { if (repricingConditionBuilder_ == null) { @@ -836,11 +1003,15 @@ public Builder setRepricingCondition(com.google.cloud.channel.v1.RepricingCondit return this; } /** + * + * *
      * Required. Specifies the condition which, if met, will apply the override.
      * 
* - * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRepricingCondition( com.google.cloud.channel.v1.RepricingCondition.Builder builderForValue) { @@ -854,17 +1025,23 @@ public Builder setRepricingCondition( return this; } /** + * + * *
      * Required. Specifies the condition which, if met, will apply the override.
      * 
* - * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeRepricingCondition(com.google.cloud.channel.v1.RepricingCondition value) { if (repricingConditionBuilder_ == null) { if (repricingCondition_ != null) { repricingCondition_ = - com.google.cloud.channel.v1.RepricingCondition.newBuilder(repricingCondition_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.RepricingCondition.newBuilder(repricingCondition_) + .mergeFrom(value) + .buildPartial(); } else { repricingCondition_ = value; } @@ -876,11 +1053,15 @@ public Builder mergeRepricingCondition(com.google.cloud.channel.v1.RepricingCond return this; } /** + * + * *
      * Required. Specifies the condition which, if met, will apply the override.
      * 
* - * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRepricingCondition() { if (repricingConditionBuilder_ == null) { @@ -894,55 +1075,72 @@ public Builder clearRepricingCondition() { return this; } /** + * + * *
      * Required. Specifies the condition which, if met, will apply the override.
      * 
* - * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.channel.v1.RepricingCondition.Builder getRepricingConditionBuilder() { - + onChanged(); return getRepricingConditionFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Specifies the condition which, if met, will apply the override.
      * 
* - * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.channel.v1.RepricingConditionOrBuilder getRepricingConditionOrBuilder() { + public com.google.cloud.channel.v1.RepricingConditionOrBuilder + getRepricingConditionOrBuilder() { if (repricingConditionBuilder_ != null) { return repricingConditionBuilder_.getMessageOrBuilder(); } else { - return repricingCondition_ == null ? - com.google.cloud.channel.v1.RepricingCondition.getDefaultInstance() : repricingCondition_; + return repricingCondition_ == null + ? com.google.cloud.channel.v1.RepricingCondition.getDefaultInstance() + : repricingCondition_; } } /** + * + * *
      * Required. Specifies the condition which, if met, will apply the override.
      * 
* - * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingCondition, com.google.cloud.channel.v1.RepricingCondition.Builder, com.google.cloud.channel.v1.RepricingConditionOrBuilder> + com.google.cloud.channel.v1.RepricingCondition, + com.google.cloud.channel.v1.RepricingCondition.Builder, + com.google.cloud.channel.v1.RepricingConditionOrBuilder> getRepricingConditionFieldBuilder() { if (repricingConditionBuilder_ == null) { - repricingConditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingCondition, com.google.cloud.channel.v1.RepricingCondition.Builder, com.google.cloud.channel.v1.RepricingConditionOrBuilder>( - getRepricingCondition(), - getParentForChildren(), - isClean()); + repricingConditionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.RepricingCondition, + com.google.cloud.channel.v1.RepricingCondition.Builder, + com.google.cloud.channel.v1.RepricingConditionOrBuilder>( + getRepricingCondition(), getParentForChildren(), isClean()); repricingCondition_ = null; } return repricingConditionBuilder_; } + @java.lang.Override - 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,12 +1150,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ConditionalOverride) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ConditionalOverride) private static final com.google.cloud.channel.v1.ConditionalOverride DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ConditionalOverride(); } @@ -966,27 +1164,27 @@ public static com.google.cloud.channel.v1.ConditionalOverride getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConditionalOverride parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConditionalOverride parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1001,6 +1199,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ConditionalOverride getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConditionalOverrideOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConditionalOverrideOrBuilder.java similarity index 53% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConditionalOverrideOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConditionalOverrideOrBuilder.java index 7d5e4b2a7a50..f6953eda95f7 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConditionalOverrideOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConditionalOverrideOrBuilder.java @@ -1,86 +1,140 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/repricing.proto package com.google.cloud.channel.v1; -public interface ConditionalOverrideOrBuilder extends +public interface ConditionalOverrideOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ConditionalOverride) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Information about the applied override's adjustment.
    * 
* - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the adjustment field is set. */ boolean hasAdjustment(); /** + * + * *
    * Required. Information about the applied override's adjustment.
    * 
* - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The adjustment. */ com.google.cloud.channel.v1.RepricingAdjustment getAdjustment(); /** + * + * *
    * Required. Information about the applied override's adjustment.
    * 
* - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder getAdjustmentOrBuilder(); /** + * + * *
    * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
    * use for the applied override. Shows the relative cost based on your
    * repricing costs.
    * 
* - * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for rebillingBasis. */ int getRebillingBasisValue(); /** + * + * *
    * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
    * use for the applied override. Shows the relative cost based on your
    * repricing costs.
    * 
* - * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The rebillingBasis. */ com.google.cloud.channel.v1.RebillingBasis getRebillingBasis(); /** + * + * *
    * Required. Specifies the condition which, if met, will apply the override.
    * 
* - * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the repricingCondition field is set. */ boolean hasRepricingCondition(); /** + * + * *
    * Required. Specifies the condition which, if met, will apply the override.
    * 
* - * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The repricingCondition. */ com.google.cloud.channel.v1.RepricingCondition getRepricingCondition(); /** + * + * *
    * Required. Specifies the condition which, if met, will apply the override.
    * 
* - * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingCondition repricing_condition = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.channel.v1.RepricingConditionOrBuilder getRepricingConditionOrBuilder(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Constraints.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Constraints.java similarity index 67% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Constraints.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Constraints.java index b78f69385008..91b336876197 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Constraints.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Constraints.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; /** + * + * *
  * Represents the constraints for buying the Offer.
  * 
* * Protobuf type {@code google.cloud.channel.v1.Constraints} */ -public final class Constraints extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Constraints extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.Constraints) ConstraintsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Constraints.newBuilder() to construct. private Constraints(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Constraints() { - } + + private Constraints() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Constraints(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Constraints_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.OffersProto + .internal_static_google_cloud_channel_v1_Constraints_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Constraints_fieldAccessorTable + return com.google.cloud.channel.v1.OffersProto + .internal_static_google_cloud_channel_v1_Constraints_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Constraints.class, com.google.cloud.channel.v1.Constraints.Builder.class); + com.google.cloud.channel.v1.Constraints.class, + com.google.cloud.channel.v1.Constraints.Builder.class); } public static final int CUSTOMER_CONSTRAINTS_FIELD_NUMBER = 1; private com.google.cloud.channel.v1.CustomerConstraints customerConstraints_; /** + * + * *
    * Represents constraints required to purchase the Offer for a customer.
    * 
* * .google.cloud.channel.v1.CustomerConstraints customer_constraints = 1; + * * @return Whether the customerConstraints field is set. */ @java.lang.Override @@ -62,18 +83,25 @@ public boolean hasCustomerConstraints() { return customerConstraints_ != null; } /** + * + * *
    * Represents constraints required to purchase the Offer for a customer.
    * 
* * .google.cloud.channel.v1.CustomerConstraints customer_constraints = 1; + * * @return The customerConstraints. */ @java.lang.Override public com.google.cloud.channel.v1.CustomerConstraints getCustomerConstraints() { - return customerConstraints_ == null ? com.google.cloud.channel.v1.CustomerConstraints.getDefaultInstance() : customerConstraints_; + return customerConstraints_ == null + ? com.google.cloud.channel.v1.CustomerConstraints.getDefaultInstance() + : customerConstraints_; } /** + * + * *
    * Represents constraints required to purchase the Offer for a customer.
    * 
@@ -81,11 +109,13 @@ public com.google.cloud.channel.v1.CustomerConstraints getCustomerConstraints() * .google.cloud.channel.v1.CustomerConstraints customer_constraints = 1; */ @java.lang.Override - public com.google.cloud.channel.v1.CustomerConstraintsOrBuilder getCustomerConstraintsOrBuilder() { + public com.google.cloud.channel.v1.CustomerConstraintsOrBuilder + getCustomerConstraintsOrBuilder() { return getCustomerConstraints(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -97,8 +127,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (customerConstraints_ != null) { output.writeMessage(1, getCustomerConstraints()); } @@ -112,8 +141,7 @@ public int getSerializedSize() { size = 0; if (customerConstraints_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCustomerConstraints()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCustomerConstraints()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -123,7 +151,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.Constraints)) { return super.equals(obj); @@ -132,8 +160,7 @@ public boolean equals(final java.lang.Object obj) { if (hasCustomerConstraints() != other.hasCustomerConstraints()) return false; if (hasCustomerConstraints()) { - if (!getCustomerConstraints() - .equals(other.getCustomerConstraints())) return false; + if (!getCustomerConstraints().equals(other.getCustomerConstraints())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -155,130 +182,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.Constraints parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.Constraints parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Constraints parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.Constraints parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Constraints parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.Constraints parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Constraints parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.Constraints 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.cloud.channel.v1.Constraints parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.Constraints parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.Constraints parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.Constraints parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.Constraints parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.Constraints parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.Constraints prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents the constraints for buying the Offer.
    * 
* * Protobuf type {@code google.cloud.channel.v1.Constraints} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.Constraints) com.google.cloud.channel.v1.ConstraintsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Constraints_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.OffersProto + .internal_static_google_cloud_channel_v1_Constraints_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Constraints_fieldAccessorTable + return com.google.cloud.channel.v1.OffersProto + .internal_static_google_cloud_channel_v1_Constraints_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Constraints.class, com.google.cloud.channel.v1.Constraints.Builder.class); + com.google.cloud.channel.v1.Constraints.class, + com.google.cloud.channel.v1.Constraints.Builder.class); } // Construct using com.google.cloud.channel.v1.Constraints.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,9 +325,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Constraints_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.OffersProto + .internal_static_google_cloud_channel_v1_Constraints_descriptor; } @java.lang.Override @@ -313,7 +346,8 @@ public com.google.cloud.channel.v1.Constraints build() { @java.lang.Override public com.google.cloud.channel.v1.Constraints buildPartial() { - com.google.cloud.channel.v1.Constraints result = new com.google.cloud.channel.v1.Constraints(this); + com.google.cloud.channel.v1.Constraints result = + new com.google.cloud.channel.v1.Constraints(this); if (customerConstraintsBuilder_ == null) { result.customerConstraints_ = customerConstraints_; } else { @@ -327,38 +361,39 @@ public com.google.cloud.channel.v1.Constraints 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.cloud.channel.v1.Constraints) { - return mergeFrom((com.google.cloud.channel.v1.Constraints)other); + return mergeFrom((com.google.cloud.channel.v1.Constraints) other); } else { super.mergeFrom(other); return this; @@ -396,19 +431,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCustomerConstraintsFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getCustomerConstraintsFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,34 +457,47 @@ public Builder mergeFrom( private com.google.cloud.channel.v1.CustomerConstraints customerConstraints_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CustomerConstraints, com.google.cloud.channel.v1.CustomerConstraints.Builder, com.google.cloud.channel.v1.CustomerConstraintsOrBuilder> customerConstraintsBuilder_; + com.google.cloud.channel.v1.CustomerConstraints, + com.google.cloud.channel.v1.CustomerConstraints.Builder, + com.google.cloud.channel.v1.CustomerConstraintsOrBuilder> + customerConstraintsBuilder_; /** + * + * *
      * Represents constraints required to purchase the Offer for a customer.
      * 
* * .google.cloud.channel.v1.CustomerConstraints customer_constraints = 1; + * * @return Whether the customerConstraints field is set. */ public boolean hasCustomerConstraints() { return customerConstraintsBuilder_ != null || customerConstraints_ != null; } /** + * + * *
      * Represents constraints required to purchase the Offer for a customer.
      * 
* * .google.cloud.channel.v1.CustomerConstraints customer_constraints = 1; + * * @return The customerConstraints. */ public com.google.cloud.channel.v1.CustomerConstraints getCustomerConstraints() { if (customerConstraintsBuilder_ == null) { - return customerConstraints_ == null ? com.google.cloud.channel.v1.CustomerConstraints.getDefaultInstance() : customerConstraints_; + return customerConstraints_ == null + ? com.google.cloud.channel.v1.CustomerConstraints.getDefaultInstance() + : customerConstraints_; } else { return customerConstraintsBuilder_.getMessage(); } } /** + * + * *
      * Represents constraints required to purchase the Offer for a customer.
      * 
@@ -469,6 +518,8 @@ public Builder setCustomerConstraints(com.google.cloud.channel.v1.CustomerConstr return this; } /** + * + * *
      * Represents constraints required to purchase the Offer for a customer.
      * 
@@ -487,6 +538,8 @@ public Builder setCustomerConstraints( return this; } /** + * + * *
      * Represents constraints required to purchase the Offer for a customer.
      * 
@@ -497,7 +550,9 @@ public Builder mergeCustomerConstraints(com.google.cloud.channel.v1.CustomerCons if (customerConstraintsBuilder_ == null) { if (customerConstraints_ != null) { customerConstraints_ = - com.google.cloud.channel.v1.CustomerConstraints.newBuilder(customerConstraints_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.CustomerConstraints.newBuilder(customerConstraints_) + .mergeFrom(value) + .buildPartial(); } else { customerConstraints_ = value; } @@ -509,6 +564,8 @@ public Builder mergeCustomerConstraints(com.google.cloud.channel.v1.CustomerCons return this; } /** + * + * *
      * Represents constraints required to purchase the Offer for a customer.
      * 
@@ -527,6 +584,8 @@ public Builder clearCustomerConstraints() { return this; } /** + * + * *
      * Represents constraints required to purchase the Offer for a customer.
      * 
@@ -534,26 +593,32 @@ public Builder clearCustomerConstraints() { * .google.cloud.channel.v1.CustomerConstraints customer_constraints = 1; */ public com.google.cloud.channel.v1.CustomerConstraints.Builder getCustomerConstraintsBuilder() { - + onChanged(); return getCustomerConstraintsFieldBuilder().getBuilder(); } /** + * + * *
      * Represents constraints required to purchase the Offer for a customer.
      * 
* * .google.cloud.channel.v1.CustomerConstraints customer_constraints = 1; */ - public com.google.cloud.channel.v1.CustomerConstraintsOrBuilder getCustomerConstraintsOrBuilder() { + public com.google.cloud.channel.v1.CustomerConstraintsOrBuilder + getCustomerConstraintsOrBuilder() { if (customerConstraintsBuilder_ != null) { return customerConstraintsBuilder_.getMessageOrBuilder(); } else { - return customerConstraints_ == null ? - com.google.cloud.channel.v1.CustomerConstraints.getDefaultInstance() : customerConstraints_; + return customerConstraints_ == null + ? com.google.cloud.channel.v1.CustomerConstraints.getDefaultInstance() + : customerConstraints_; } } /** + * + * *
      * Represents constraints required to purchase the Offer for a customer.
      * 
@@ -561,21 +626,24 @@ public com.google.cloud.channel.v1.CustomerConstraintsOrBuilder getCustomerConst * .google.cloud.channel.v1.CustomerConstraints customer_constraints = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CustomerConstraints, com.google.cloud.channel.v1.CustomerConstraints.Builder, com.google.cloud.channel.v1.CustomerConstraintsOrBuilder> + com.google.cloud.channel.v1.CustomerConstraints, + com.google.cloud.channel.v1.CustomerConstraints.Builder, + com.google.cloud.channel.v1.CustomerConstraintsOrBuilder> getCustomerConstraintsFieldBuilder() { if (customerConstraintsBuilder_ == null) { - customerConstraintsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CustomerConstraints, com.google.cloud.channel.v1.CustomerConstraints.Builder, com.google.cloud.channel.v1.CustomerConstraintsOrBuilder>( - getCustomerConstraints(), - getParentForChildren(), - isClean()); + customerConstraintsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.CustomerConstraints, + com.google.cloud.channel.v1.CustomerConstraints.Builder, + com.google.cloud.channel.v1.CustomerConstraintsOrBuilder>( + getCustomerConstraints(), getParentForChildren(), isClean()); customerConstraints_ = null; } return customerConstraintsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -585,12 +653,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.Constraints) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.Constraints) private static final com.google.cloud.channel.v1.Constraints DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.Constraints(); } @@ -599,27 +667,27 @@ public static com.google.cloud.channel.v1.Constraints getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Constraints parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Constraints parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -634,6 +702,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Constraints getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConstraintsOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConstraintsOrBuilder.java similarity index 63% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConstraintsOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConstraintsOrBuilder.java index 94bf826d83c3..6f8b79bb1c61 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConstraintsOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ConstraintsOrBuilder.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/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; -public interface ConstraintsOrBuilder extends +public interface ConstraintsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Constraints) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Represents constraints required to purchase the Offer for a customer.
    * 
* * .google.cloud.channel.v1.CustomerConstraints customer_constraints = 1; + * * @return Whether the customerConstraints field is set. */ boolean hasCustomerConstraints(); /** + * + * *
    * Represents constraints required to purchase the Offer for a customer.
    * 
* * .google.cloud.channel.v1.CustomerConstraints customer_constraints = 1; + * * @return The customerConstraints. */ com.google.cloud.channel.v1.CustomerConstraints getCustomerConstraints(); /** + * + * *
    * Represents constraints required to purchase the Offer for a customer.
    * 
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfo.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfo.java similarity index 72% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfo.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfo.java index 0b3aa1b197e1..096d230b6496 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfo.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfo.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/cloud/channel/v1/customers.proto package com.google.cloud.channel.v1; /** + * + * *
  * Contact information for a customer account.
  * 
* * Protobuf type {@code google.cloud.channel.v1.ContactInfo} */ -public final class ContactInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ContactInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ContactInfo) ContactInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ContactInfo.newBuilder() to construct. private ContactInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ContactInfo() { firstName_ = ""; lastName_ = ""; @@ -30,37 +48,41 @@ private ContactInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ContactInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.CustomersProto.internal_static_google_cloud_channel_v1_ContactInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.CustomersProto + .internal_static_google_cloud_channel_v1_ContactInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.CustomersProto.internal_static_google_cloud_channel_v1_ContactInfo_fieldAccessorTable + return com.google.cloud.channel.v1.CustomersProto + .internal_static_google_cloud_channel_v1_ContactInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ContactInfo.class, com.google.cloud.channel.v1.ContactInfo.Builder.class); + com.google.cloud.channel.v1.ContactInfo.class, + com.google.cloud.channel.v1.ContactInfo.Builder.class); } public static final int FIRST_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object firstName_; /** + * + * *
    * The customer account contact's first name. Optional for Team customers.
    * 
* * string first_name = 1; + * * @return The firstName. */ @java.lang.Override @@ -69,29 +91,29 @@ public java.lang.String getFirstName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firstName_ = s; return s; } } /** + * + * *
    * The customer account contact's first name. Optional for Team customers.
    * 
* * string first_name = 1; + * * @return The bytes for firstName. */ @java.lang.Override - public com.google.protobuf.ByteString - getFirstNameBytes() { + public com.google.protobuf.ByteString getFirstNameBytes() { java.lang.Object ref = firstName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); firstName_ = b; return b; } else { @@ -102,11 +124,14 @@ public java.lang.String getFirstName() { public static final int LAST_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object lastName_; /** + * + * *
    * The customer account contact's last name. Optional for Team customers.
    * 
* * string last_name = 2; + * * @return The lastName. */ @java.lang.Override @@ -115,29 +140,29 @@ public java.lang.String getLastName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lastName_ = s; return s; } } /** + * + * *
    * The customer account contact's last name. Optional for Team customers.
    * 
* * string last_name = 2; + * * @return The bytes for lastName. */ @java.lang.Override - public com.google.protobuf.ByteString - getLastNameBytes() { + public com.google.protobuf.ByteString getLastNameBytes() { java.lang.Object ref = lastName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); lastName_ = b; return b; } else { @@ -148,12 +173,15 @@ public java.lang.String getLastName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 4; private volatile java.lang.Object displayName_; /** + * + * *
    * Output only. The customer account contact's display name, formatted as a
    * combination of the customer's first and last name.
    * 
* * string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The displayName. */ @java.lang.Override @@ -162,30 +190,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; } } /** + * + * *
    * Output only. The customer account contact's display name, formatted as a
    * combination of the customer's first and last name.
    * 
* * string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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 { @@ -196,6 +224,8 @@ public java.lang.String getDisplayName() { public static final int EMAIL_FIELD_NUMBER = 5; private volatile java.lang.Object email_; /** + * + * *
    * The customer account's contact email. Required for entitlements that create
    * admin.google.com accounts, and serves as the customer's username for those
@@ -203,6 +233,7 @@ public java.lang.String getDisplayName() {
    * 
* * string email = 5; + * * @return The email. */ @java.lang.Override @@ -211,14 +242,15 @@ public java.lang.String getEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); email_ = s; return s; } } /** + * + * *
    * The customer account's contact email. Required for entitlements that create
    * admin.google.com accounts, and serves as the customer's username for those
@@ -226,16 +258,15 @@ public java.lang.String getEmail() {
    * 
* * string email = 5; + * * @return The bytes for email. */ @java.lang.Override - public com.google.protobuf.ByteString - getEmailBytes() { + public com.google.protobuf.ByteString getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); email_ = b; return b; } else { @@ -246,11 +277,14 @@ public java.lang.String getEmail() { public static final int TITLE_FIELD_NUMBER = 6; private volatile java.lang.Object title_; /** + * + * *
    * Optional. The customer account contact's job title.
    * 
* * string title = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The title. */ @java.lang.Override @@ -259,29 +293,29 @@ public java.lang.String getTitle() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; } } /** + * + * *
    * Optional. The customer account contact's job title.
    * 
* * string title = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for title. */ @java.lang.Override - public com.google.protobuf.ByteString - getTitleBytes() { + public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); title_ = b; return b; } else { @@ -292,11 +326,14 @@ public java.lang.String getTitle() { public static final int PHONE_FIELD_NUMBER = 7; private volatile java.lang.Object phone_; /** + * + * *
    * The customer account's contact phone number.
    * 
* * string phone = 7; + * * @return The phone. */ @java.lang.Override @@ -305,29 +342,29 @@ public java.lang.String getPhone() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); phone_ = s; return s; } } /** + * + * *
    * The customer account's contact phone number.
    * 
* * string phone = 7; + * * @return The bytes for phone. */ @java.lang.Override - public com.google.protobuf.ByteString - getPhoneBytes() { + public com.google.protobuf.ByteString getPhoneBytes() { java.lang.Object ref = phone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); phone_ = b; return b; } else { @@ -336,6 +373,7 @@ public java.lang.String getPhone() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -347,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(firstName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, firstName_); } @@ -402,25 +439,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.cloud.channel.v1.ContactInfo)) { return super.equals(obj); } com.google.cloud.channel.v1.ContactInfo other = (com.google.cloud.channel.v1.ContactInfo) obj; - if (!getFirstName() - .equals(other.getFirstName())) return false; - if (!getLastName() - .equals(other.getLastName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getEmail() - .equals(other.getEmail())) return false; - if (!getTitle() - .equals(other.getTitle())) return false; - if (!getPhone() - .equals(other.getPhone())) return false; + if (!getFirstName().equals(other.getFirstName())) return false; + if (!getLastName().equals(other.getLastName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getEmail().equals(other.getEmail())) return false; + if (!getTitle().equals(other.getTitle())) return false; + if (!getPhone().equals(other.getPhone())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -449,130 +480,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ContactInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.ContactInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ContactInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ContactInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ContactInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ContactInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ContactInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ContactInfo 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.cloud.channel.v1.ContactInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ContactInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ContactInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ContactInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ContactInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ContactInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.ContactInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Contact information for a customer account.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ContactInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ContactInfo) com.google.cloud.channel.v1.ContactInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.CustomersProto.internal_static_google_cloud_channel_v1_ContactInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.CustomersProto + .internal_static_google_cloud_channel_v1_ContactInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.CustomersProto.internal_static_google_cloud_channel_v1_ContactInfo_fieldAccessorTable + return com.google.cloud.channel.v1.CustomersProto + .internal_static_google_cloud_channel_v1_ContactInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ContactInfo.class, com.google.cloud.channel.v1.ContactInfo.Builder.class); + com.google.cloud.channel.v1.ContactInfo.class, + com.google.cloud.channel.v1.ContactInfo.Builder.class); } // Construct using com.google.cloud.channel.v1.ContactInfo.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -592,9 +629,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.CustomersProto.internal_static_google_cloud_channel_v1_ContactInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.CustomersProto + .internal_static_google_cloud_channel_v1_ContactInfo_descriptor; } @java.lang.Override @@ -613,7 +650,8 @@ public com.google.cloud.channel.v1.ContactInfo build() { @java.lang.Override public com.google.cloud.channel.v1.ContactInfo buildPartial() { - com.google.cloud.channel.v1.ContactInfo result = new com.google.cloud.channel.v1.ContactInfo(this); + com.google.cloud.channel.v1.ContactInfo result = + new com.google.cloud.channel.v1.ContactInfo(this); result.firstName_ = firstName_; result.lastName_ = lastName_; result.displayName_ = displayName_; @@ -628,38 +666,39 @@ public com.google.cloud.channel.v1.ContactInfo 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.cloud.channel.v1.ContactInfo) { - return mergeFrom((com.google.cloud.channel.v1.ContactInfo)other); + return mergeFrom((com.google.cloud.channel.v1.ContactInfo) other); } else { super.mergeFrom(other); return this; @@ -718,42 +757,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - firstName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - lastName_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 34: { - displayName_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: { - email_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 50: { - title_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 58: { - phone_ = input.readStringRequireUtf8(); - - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + firstName_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + lastName_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 34: + { + displayName_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: + { + email_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 50: + { + title_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 58: + { + phone_ = input.readStringRequireUtf8(); + + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -766,18 +812,20 @@ public Builder mergeFrom( private java.lang.Object firstName_ = ""; /** + * + * *
      * The customer account contact's first name. Optional for Team customers.
      * 
* * string first_name = 1; + * * @return The firstName. */ public java.lang.String getFirstName() { java.lang.Object ref = firstName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); firstName_ = s; return s; @@ -786,20 +834,21 @@ public java.lang.String getFirstName() { } } /** + * + * *
      * The customer account contact's first name. Optional for Team customers.
      * 
* * string first_name = 1; + * * @return The bytes for firstName. */ - public com.google.protobuf.ByteString - getFirstNameBytes() { + public com.google.protobuf.ByteString getFirstNameBytes() { java.lang.Object ref = firstName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); firstName_ = b; return b; } else { @@ -807,54 +856,61 @@ public java.lang.String getFirstName() { } } /** + * + * *
      * The customer account contact's first name. Optional for Team customers.
      * 
* * string first_name = 1; + * * @param value The firstName to set. * @return This builder for chaining. */ - public Builder setFirstName( - java.lang.String value) { + public Builder setFirstName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + firstName_ = value; onChanged(); return this; } /** + * + * *
      * The customer account contact's first name. Optional for Team customers.
      * 
* * string first_name = 1; + * * @return This builder for chaining. */ public Builder clearFirstName() { - + firstName_ = getDefaultInstance().getFirstName(); onChanged(); return this; } /** + * + * *
      * The customer account contact's first name. Optional for Team customers.
      * 
* * string first_name = 1; + * * @param value The bytes for firstName to set. * @return This builder for chaining. */ - public Builder setFirstNameBytes( - com.google.protobuf.ByteString value) { + public Builder setFirstNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + firstName_ = value; onChanged(); return this; @@ -862,18 +918,20 @@ public Builder setFirstNameBytes( private java.lang.Object lastName_ = ""; /** + * + * *
      * The customer account contact's last name. Optional for Team customers.
      * 
* * string last_name = 2; + * * @return The lastName. */ public java.lang.String getLastName() { java.lang.Object ref = lastName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lastName_ = s; return s; @@ -882,20 +940,21 @@ public java.lang.String getLastName() { } } /** + * + * *
      * The customer account contact's last name. Optional for Team customers.
      * 
* * string last_name = 2; + * * @return The bytes for lastName. */ - public com.google.protobuf.ByteString - getLastNameBytes() { + public com.google.protobuf.ByteString getLastNameBytes() { java.lang.Object ref = lastName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); lastName_ = b; return b; } else { @@ -903,54 +962,61 @@ public java.lang.String getLastName() { } } /** + * + * *
      * The customer account contact's last name. Optional for Team customers.
      * 
* * string last_name = 2; + * * @param value The lastName to set. * @return This builder for chaining. */ - public Builder setLastName( - java.lang.String value) { + public Builder setLastName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + lastName_ = value; onChanged(); return this; } /** + * + * *
      * The customer account contact's last name. Optional for Team customers.
      * 
* * string last_name = 2; + * * @return This builder for chaining. */ public Builder clearLastName() { - + lastName_ = getDefaultInstance().getLastName(); onChanged(); return this; } /** + * + * *
      * The customer account contact's last name. Optional for Team customers.
      * 
* * string last_name = 2; + * * @param value The bytes for lastName to set. * @return This builder for chaining. */ - public Builder setLastNameBytes( - com.google.protobuf.ByteString value) { + public Builder setLastNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + lastName_ = value; onChanged(); return this; @@ -958,19 +1024,21 @@ public Builder setLastNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Output only. The customer account contact's display name, formatted as a
      * combination of the customer's first and last name.
      * 
* * string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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; @@ -979,21 +1047,22 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Output only. The customer account contact's display name, formatted as a
      * combination of the customer's first and last name.
      * 
* * string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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 { @@ -1001,57 +1070,64 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Output only. The customer account contact's display name, formatted as a
      * combination of the customer's first and last name.
      * 
* * string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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; } /** + * + * *
      * Output only. The customer account contact's display name, formatted as a
      * combination of the customer's first and last name.
      * 
* * string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * Output only. The customer account contact's display name, formatted as a
      * combination of the customer's first and last name.
      * 
* * string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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; @@ -1059,6 +1135,8 @@ public Builder setDisplayNameBytes( private java.lang.Object email_ = ""; /** + * + * *
      * The customer account's contact email. Required for entitlements that create
      * admin.google.com accounts, and serves as the customer's username for those
@@ -1066,13 +1144,13 @@ public Builder setDisplayNameBytes(
      * 
* * string email = 5; + * * @return The email. */ public java.lang.String getEmail() { java.lang.Object ref = email_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); email_ = s; return s; @@ -1081,6 +1159,8 @@ public java.lang.String getEmail() { } } /** + * + * *
      * The customer account's contact email. Required for entitlements that create
      * admin.google.com accounts, and serves as the customer's username for those
@@ -1088,15 +1168,14 @@ public java.lang.String getEmail() {
      * 
* * string email = 5; + * * @return The bytes for email. */ - public com.google.protobuf.ByteString - getEmailBytes() { + public com.google.protobuf.ByteString getEmailBytes() { java.lang.Object ref = email_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); email_ = b; return b; } else { @@ -1104,6 +1183,8 @@ public java.lang.String getEmail() { } } /** + * + * *
      * The customer account's contact email. Required for entitlements that create
      * admin.google.com accounts, and serves as the customer's username for those
@@ -1111,20 +1192,22 @@ public java.lang.String getEmail() {
      * 
* * string email = 5; + * * @param value The email to set. * @return This builder for chaining. */ - public Builder setEmail( - java.lang.String value) { + public Builder setEmail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + email_ = value; onChanged(); return this; } /** + * + * *
      * The customer account's contact email. Required for entitlements that create
      * admin.google.com accounts, and serves as the customer's username for those
@@ -1132,15 +1215,18 @@ public Builder setEmail(
      * 
* * string email = 5; + * * @return This builder for chaining. */ public Builder clearEmail() { - + email_ = getDefaultInstance().getEmail(); onChanged(); return this; } /** + * + * *
      * The customer account's contact email. Required for entitlements that create
      * admin.google.com accounts, and serves as the customer's username for those
@@ -1148,16 +1234,16 @@ public Builder clearEmail() {
      * 
* * string email = 5; + * * @param value The bytes for email to set. * @return This builder for chaining. */ - public Builder setEmailBytes( - com.google.protobuf.ByteString value) { + public Builder setEmailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + email_ = value; onChanged(); return this; @@ -1165,18 +1251,20 @@ public Builder setEmailBytes( private java.lang.Object title_ = ""; /** + * + * *
      * Optional. The customer account contact's job title.
      * 
* * string title = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The title. */ public java.lang.String getTitle() { java.lang.Object ref = title_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; @@ -1185,20 +1273,21 @@ public java.lang.String getTitle() { } } /** + * + * *
      * Optional. The customer account contact's job title.
      * 
* * string title = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for title. */ - public com.google.protobuf.ByteString - getTitleBytes() { + public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); title_ = b; return b; } else { @@ -1206,54 +1295,61 @@ public java.lang.String getTitle() { } } /** + * + * *
      * Optional. The customer account contact's job title.
      * 
* * string title = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The title to set. * @return This builder for chaining. */ - public Builder setTitle( - java.lang.String value) { + public Builder setTitle(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + title_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The customer account contact's job title.
      * 
* * string title = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearTitle() { - + title_ = getDefaultInstance().getTitle(); onChanged(); return this; } /** + * + * *
      * Optional. The customer account contact's job title.
      * 
* * string title = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for title to set. * @return This builder for chaining. */ - public Builder setTitleBytes( - com.google.protobuf.ByteString value) { + public Builder setTitleBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + title_ = value; onChanged(); return this; @@ -1261,18 +1357,20 @@ public Builder setTitleBytes( private java.lang.Object phone_ = ""; /** + * + * *
      * The customer account's contact phone number.
      * 
* * string phone = 7; + * * @return The phone. */ public java.lang.String getPhone() { java.lang.Object ref = phone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); phone_ = s; return s; @@ -1281,20 +1379,21 @@ public java.lang.String getPhone() { } } /** + * + * *
      * The customer account's contact phone number.
      * 
* * string phone = 7; + * * @return The bytes for phone. */ - public com.google.protobuf.ByteString - getPhoneBytes() { + public com.google.protobuf.ByteString getPhoneBytes() { java.lang.Object ref = phone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); phone_ = b; return b; } else { @@ -1302,61 +1401,68 @@ public java.lang.String getPhone() { } } /** + * + * *
      * The customer account's contact phone number.
      * 
* * string phone = 7; + * * @param value The phone to set. * @return This builder for chaining. */ - public Builder setPhone( - java.lang.String value) { + public Builder setPhone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + phone_ = value; onChanged(); return this; } /** + * + * *
      * The customer account's contact phone number.
      * 
* * string phone = 7; + * * @return This builder for chaining. */ public Builder clearPhone() { - + phone_ = getDefaultInstance().getPhone(); onChanged(); return this; } /** + * + * *
      * The customer account's contact phone number.
      * 
* * string phone = 7; + * * @param value The bytes for phone to set. * @return This builder for chaining. */ - public Builder setPhoneBytes( - com.google.protobuf.ByteString value) { + public Builder setPhoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + phone_ = 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); } @@ -1366,12 +1472,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ContactInfo) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ContactInfo) private static final com.google.cloud.channel.v1.ContactInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ContactInfo(); } @@ -1380,27 +1486,27 @@ public static com.google.cloud.channel.v1.ContactInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContactInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContactInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1415,6 +1521,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ContactInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfoOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfoOrBuilder.java similarity index 73% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfoOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfoOrBuilder.java index 4d6d1732646e..37e369400b62 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfoOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ContactInfoOrBuilder.java @@ -1,75 +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/cloud/channel/v1/customers.proto package com.google.cloud.channel.v1; -public interface ContactInfoOrBuilder extends +public interface ContactInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ContactInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The customer account contact's first name. Optional for Team customers.
    * 
* * string first_name = 1; + * * @return The firstName. */ java.lang.String getFirstName(); /** + * + * *
    * The customer account contact's first name. Optional for Team customers.
    * 
* * string first_name = 1; + * * @return The bytes for firstName. */ - com.google.protobuf.ByteString - getFirstNameBytes(); + com.google.protobuf.ByteString getFirstNameBytes(); /** + * + * *
    * The customer account contact's last name. Optional for Team customers.
    * 
* * string last_name = 2; + * * @return The lastName. */ java.lang.String getLastName(); /** + * + * *
    * The customer account contact's last name. Optional for Team customers.
    * 
* * string last_name = 2; + * * @return The bytes for lastName. */ - com.google.protobuf.ByteString - getLastNameBytes(); + com.google.protobuf.ByteString getLastNameBytes(); /** + * + * *
    * Output only. The customer account contact's display name, formatted as a
    * combination of the customer's first and last name.
    * 
* * string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Output only. The customer account contact's display name, formatted as a
    * combination of the customer's first and last name.
    * 
* * string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * The customer account's contact email. Required for entitlements that create
    * admin.google.com accounts, and serves as the customer's username for those
@@ -77,10 +110,13 @@ public interface ContactInfoOrBuilder extends
    * 
* * string email = 5; + * * @return The email. */ java.lang.String getEmail(); /** + * + * *
    * The customer account's contact email. Required for entitlements that create
    * admin.google.com accounts, and serves as the customer's username for those
@@ -88,48 +124,58 @@ public interface ContactInfoOrBuilder extends
    * 
* * string email = 5; + * * @return The bytes for email. */ - com.google.protobuf.ByteString - getEmailBytes(); + com.google.protobuf.ByteString getEmailBytes(); /** + * + * *
    * Optional. The customer account contact's job title.
    * 
* * string title = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The title. */ java.lang.String getTitle(); /** + * + * *
    * Optional. The customer account contact's job title.
    * 
* * string title = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for title. */ - com.google.protobuf.ByteString - getTitleBytes(); + com.google.protobuf.ByteString getTitleBytes(); /** + * + * *
    * The customer account's contact phone number.
    * 
* * string phone = 7; + * * @return The phone. */ java.lang.String getPhone(); /** + * + * *
    * The customer account's contact phone number.
    * 
* * string phone = 7; + * * @return The bytes for phone. */ - com.google.protobuf.ByteString - getPhoneBytes(); + com.google.protobuf.ByteString getPhoneBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest.java similarity index 65% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest.java index f02f55150347..992aaf6259a2 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelService.CreateChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerLink]
@@ -11,47 +28,52 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.CreateChannelPartnerLinkRequest}
  */
-public final class CreateChannelPartnerLinkRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CreateChannelPartnerLinkRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.CreateChannelPartnerLinkRequest)
     CreateChannelPartnerLinkRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CreateChannelPartnerLinkRequest.newBuilder() to construct.
-  private CreateChannelPartnerLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private CreateChannelPartnerLinkRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CreateChannelPartnerLinkRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateChannelPartnerLinkRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest.class, com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest.Builder.class);
+            com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest.class,
+            com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Required. Create a channel partner link for the provided reseller account's
    * resource name.
@@ -59,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -67,14 +90,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Create a channel partner link for the provided reseller account's
    * resource name.
@@ -82,16 +106,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -102,13 +125,18 @@ public java.lang.String getParent() { public static final int CHANNEL_PARTNER_LINK_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.ChannelPartnerLink channelPartnerLink_; /** + * + * *
    * Required. The channel partner link to create.
    * Either channel_partner_link.reseller_cloud_identity_id or domain can be
    * used to create a link.
    * 
* - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the channelPartnerLink field is set. */ @java.lang.Override @@ -116,27 +144,38 @@ public boolean hasChannelPartnerLink() { return channelPartnerLink_ != null; } /** + * + * *
    * Required. The channel partner link to create.
    * Either channel_partner_link.reseller_cloud_identity_id or domain can be
    * used to create a link.
    * 
* - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The channelPartnerLink. */ @java.lang.Override public com.google.cloud.channel.v1.ChannelPartnerLink getChannelPartnerLink() { - return channelPartnerLink_ == null ? com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance() : channelPartnerLink_; + return channelPartnerLink_ == null + ? com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance() + : channelPartnerLink_; } /** + * + * *
    * Required. The channel partner link to create.
    * Either channel_partner_link.reseller_cloud_identity_id or domain can be
    * used to create a link.
    * 
* - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartnerLinkOrBuilder() { @@ -144,6 +183,7 @@ public com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartner } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,8 +195,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -176,8 +215,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (channelPartnerLink_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getChannelPartnerLink()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getChannelPartnerLink()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -187,19 +225,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.cloud.channel.v1.CreateChannelPartnerLinkRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest other = (com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest) obj; + com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest other = + (com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasChannelPartnerLink() != other.hasChannelPartnerLink()) return false; if (hasChannelPartnerLink()) { - if (!getChannelPartnerLink() - .equals(other.getChannelPartnerLink())) return false; + if (!getChannelPartnerLink().equals(other.getChannelPartnerLink())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -224,96 +261,104 @@ public int hashCode() { } public static com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelService.CreateChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerLink]
@@ -321,33 +366,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.CreateChannelPartnerLinkRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.CreateChannelPartnerLinkRequest)
       com.google.cloud.channel.v1.CreateChannelPartnerLinkRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest.class, com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest.Builder.class);
+              com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest.class,
+              com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -363,9 +407,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_descriptor;
     }
 
     @java.lang.Override
@@ -384,7 +428,8 @@ public com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest buildPartial() {
-      com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest result = new com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest(this);
+      com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest result =
+          new com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest(this);
       result.parent_ = parent_;
       if (channelPartnerLinkBuilder_ == null) {
         result.channelPartnerLink_ = channelPartnerLink_;
@@ -399,38 +444,39 @@ public com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest 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.cloud.channel.v1.CreateChannelPartnerLinkRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest)other);
+        return mergeFrom((com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -438,7 +484,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest other) {
-      if (other == com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -472,24 +519,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getChannelPartnerLinkFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(
+                    getChannelPartnerLinkFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -502,6 +551,8 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. Create a channel partner link for the provided reseller account's
      * resource name.
@@ -509,13 +560,13 @@ public Builder mergeFrom(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -524,6 +575,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Create a channel partner link for the provided reseller account's
      * resource name.
@@ -531,15 +584,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -547,6 +599,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Create a channel partner link for the provided reseller account's
      * resource name.
@@ -554,20 +608,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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. Create a channel partner link for the provided reseller account's
      * resource name.
@@ -575,15 +631,18 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Create a channel partner link for the provided reseller account's
      * resource name.
@@ -591,16 +650,16 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -608,45 +667,64 @@ public Builder setParentBytes( private com.google.cloud.channel.v1.ChannelPartnerLink channelPartnerLink_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ChannelPartnerLink, com.google.cloud.channel.v1.ChannelPartnerLink.Builder, com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder> channelPartnerLinkBuilder_; + com.google.cloud.channel.v1.ChannelPartnerLink, + com.google.cloud.channel.v1.ChannelPartnerLink.Builder, + com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder> + channelPartnerLinkBuilder_; /** + * + * *
      * Required. The channel partner link to create.
      * Either channel_partner_link.reseller_cloud_identity_id or domain can be
      * used to create a link.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the channelPartnerLink field is set. */ public boolean hasChannelPartnerLink() { return channelPartnerLinkBuilder_ != null || channelPartnerLink_ != null; } /** + * + * *
      * Required. The channel partner link to create.
      * Either channel_partner_link.reseller_cloud_identity_id or domain can be
      * used to create a link.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The channelPartnerLink. */ public com.google.cloud.channel.v1.ChannelPartnerLink getChannelPartnerLink() { if (channelPartnerLinkBuilder_ == null) { - return channelPartnerLink_ == null ? com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance() : channelPartnerLink_; + return channelPartnerLink_ == null + ? com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance() + : channelPartnerLink_; } else { return channelPartnerLinkBuilder_.getMessage(); } } /** + * + * *
      * Required. The channel partner link to create.
      * Either channel_partner_link.reseller_cloud_identity_id or domain can be
      * used to create a link.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setChannelPartnerLink(com.google.cloud.channel.v1.ChannelPartnerLink value) { if (channelPartnerLinkBuilder_ == null) { @@ -662,13 +740,17 @@ public Builder setChannelPartnerLink(com.google.cloud.channel.v1.ChannelPartnerL return this; } /** + * + * *
      * Required. The channel partner link to create.
      * Either channel_partner_link.reseller_cloud_identity_id or domain can be
      * used to create a link.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setChannelPartnerLink( com.google.cloud.channel.v1.ChannelPartnerLink.Builder builderForValue) { @@ -682,19 +764,25 @@ public Builder setChannelPartnerLink( return this; } /** + * + * *
      * Required. The channel partner link to create.
      * Either channel_partner_link.reseller_cloud_identity_id or domain can be
      * used to create a link.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeChannelPartnerLink(com.google.cloud.channel.v1.ChannelPartnerLink value) { if (channelPartnerLinkBuilder_ == null) { if (channelPartnerLink_ != null) { channelPartnerLink_ = - com.google.cloud.channel.v1.ChannelPartnerLink.newBuilder(channelPartnerLink_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.ChannelPartnerLink.newBuilder(channelPartnerLink_) + .mergeFrom(value) + .buildPartial(); } else { channelPartnerLink_ = value; } @@ -706,13 +794,17 @@ public Builder mergeChannelPartnerLink(com.google.cloud.channel.v1.ChannelPartne return this; } /** + * + * *
      * Required. The channel partner link to create.
      * Either channel_partner_link.reseller_cloud_identity_id or domain can be
      * used to create a link.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearChannelPartnerLink() { if (channelPartnerLinkBuilder_ == null) { @@ -726,61 +818,78 @@ public Builder clearChannelPartnerLink() { return this; } /** + * + * *
      * Required. The channel partner link to create.
      * Either channel_partner_link.reseller_cloud_identity_id or domain can be
      * used to create a link.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.channel.v1.ChannelPartnerLink.Builder getChannelPartnerLinkBuilder() { - + onChanged(); return getChannelPartnerLinkFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The channel partner link to create.
      * Either channel_partner_link.reseller_cloud_identity_id or domain can be
      * used to create a link.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartnerLinkOrBuilder() { + public com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder + getChannelPartnerLinkOrBuilder() { if (channelPartnerLinkBuilder_ != null) { return channelPartnerLinkBuilder_.getMessageOrBuilder(); } else { - return channelPartnerLink_ == null ? - com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance() : channelPartnerLink_; + return channelPartnerLink_ == null + ? com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance() + : channelPartnerLink_; } } /** + * + * *
      * Required. The channel partner link to create.
      * Either channel_partner_link.reseller_cloud_identity_id or domain can be
      * used to create a link.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ChannelPartnerLink, com.google.cloud.channel.v1.ChannelPartnerLink.Builder, com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder> + com.google.cloud.channel.v1.ChannelPartnerLink, + com.google.cloud.channel.v1.ChannelPartnerLink.Builder, + com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder> getChannelPartnerLinkFieldBuilder() { if (channelPartnerLinkBuilder_ == null) { - channelPartnerLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ChannelPartnerLink, com.google.cloud.channel.v1.ChannelPartnerLink.Builder, com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder>( - getChannelPartnerLink(), - getParentForChildren(), - isClean()); + channelPartnerLinkBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.ChannelPartnerLink, + com.google.cloud.channel.v1.ChannelPartnerLink.Builder, + com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder>( + getChannelPartnerLink(), getParentForChildren(), isClean()); channelPartnerLink_ = null; } return channelPartnerLinkBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -790,12 +899,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.CreateChannelPartnerLinkRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.CreateChannelPartnerLinkRequest) private static final com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest(); } @@ -804,27 +913,27 @@ public static com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateChannelPartnerLinkRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateChannelPartnerLinkRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -839,6 +948,4 @@ public com.google.protobuf.Parser getParserForT public com.google.cloud.channel.v1.CreateChannelPartnerLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequestOrBuilder.java index 6772bdae5651..a41b0d463cdf 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerLinkRequestOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface CreateChannelPartnerLinkRequestOrBuilder extends +public interface CreateChannelPartnerLinkRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CreateChannelPartnerLinkRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Create a channel partner link for the provided reseller account's
    * resource name.
@@ -15,10 +33,13 @@ public interface CreateChannelPartnerLinkRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Create a channel partner link for the provided reseller account's
    * resource name.
@@ -26,41 +47,55 @@ public interface CreateChannelPartnerLinkRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The channel partner link to create.
    * Either channel_partner_link.reseller_cloud_identity_id or domain can be
    * used to create a link.
    * 
* - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the channelPartnerLink field is set. */ boolean hasChannelPartnerLink(); /** + * + * *
    * Required. The channel partner link to create.
    * Either channel_partner_link.reseller_cloud_identity_id or domain can be
    * used to create a link.
    * 
* - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The channelPartnerLink. */ com.google.cloud.channel.v1.ChannelPartnerLink getChannelPartnerLink(); /** + * + * *
    * Required. The channel partner link to create.
    * Either channel_partner_link.reseller_cloud_identity_id or domain can be
    * used to create a link.
    * 
* - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartnerLinkOrBuilder(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequest.java similarity index 58% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequest.java index 97f9b51b5659..af88dade16c7 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelService.CreateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerRepricingConfig].
@@ -11,54 +28,63 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest}
  */
-public final class CreateChannelPartnerRepricingConfigRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CreateChannelPartnerRepricingConfigRequest
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest)
     CreateChannelPartnerRepricingConfigRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CreateChannelPartnerRepricingConfigRequest.newBuilder() to construct.
-  private CreateChannelPartnerRepricingConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private CreateChannelPartnerRepricingConfigRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CreateChannelPartnerRepricingConfigRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateChannelPartnerRepricingConfigRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest.class, com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest.Builder.class);
+            com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest.class,
+            com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Required. The resource name of the ChannelPartner that will receive the
    * repricing config. Parent uses the format:
    * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -67,31 +93,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the ChannelPartner that will receive the
    * repricing config. Parent uses the format:
    * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -102,11 +130,16 @@ public java.lang.String getParent() { public static final int CHANNEL_PARTNER_REPRICING_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.ChannelPartnerRepricingConfig channelPartnerRepricingConfig_; /** + * + * *
    * Required. The ChannelPartnerRepricingConfig object to update.
    * 
* - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the channelPartnerRepricingConfig field is set. */ @java.lang.Override @@ -114,30 +147,44 @@ public boolean hasChannelPartnerRepricingConfig() { return channelPartnerRepricingConfig_ != null; } /** + * + * *
    * Required. The ChannelPartnerRepricingConfig object to update.
    * 
* - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The channelPartnerRepricingConfig. */ @java.lang.Override - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getChannelPartnerRepricingConfig() { - return channelPartnerRepricingConfig_ == null ? com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance() : channelPartnerRepricingConfig_; + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig + getChannelPartnerRepricingConfig() { + return channelPartnerRepricingConfig_ == null + ? com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance() + : channelPartnerRepricingConfig_; } /** + * + * *
    * Required. The ChannelPartnerRepricingConfig object to update.
    * 
* - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder getChannelPartnerRepricingConfigOrBuilder() { + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder + getChannelPartnerRepricingConfigOrBuilder() { return getChannelPartnerRepricingConfig(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,8 +196,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -170,8 +216,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (channelPartnerRepricingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getChannelPartnerRepricingConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, getChannelPartnerRepricingConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -181,19 +228,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.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest other = (com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest) obj; + com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest other = + (com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (hasChannelPartnerRepricingConfig() != other.hasChannelPartnerRepricingConfig()) return false; + if (!getParent().equals(other.getParent())) return false; + if (hasChannelPartnerRepricingConfig() != other.hasChannelPartnerRepricingConfig()) + return false; if (hasChannelPartnerRepricingConfig()) { - if (!getChannelPartnerRepricingConfig() - .equals(other.getChannelPartnerRepricingConfig())) return false; + if (!getChannelPartnerRepricingConfig().equals(other.getChannelPartnerRepricingConfig())) + return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -218,96 +266,105 @@ public int hashCode() { } public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelService.CreateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerRepricingConfig].
@@ -315,33 +372,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest)
       com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest.class, com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest.Builder.class);
+              com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest.class,
+              com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest.Builder.class);
     }
 
-    // Construct using com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest.newBuilder()
-    private Builder() {
-
-    }
+    // Construct using
+    // com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest.newBuilder()
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -357,19 +414,22 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest getDefaultInstanceForType() {
-      return com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest.getDefaultInstance();
+    public com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest
+        getDefaultInstanceForType() {
+      return com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest
+          .getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest build() {
-      com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest result = buildPartial();
+      com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest result =
+          buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -378,7 +438,8 @@ public com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest bu
 
     @java.lang.Override
     public com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest buildPartial() {
-      com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest result = new com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest(this);
+      com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest result =
+          new com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest(this);
       result.parent_ = parent_;
       if (channelPartnerRepricingConfigBuilder_ == null) {
         result.channelPartnerRepricingConfig_ = channelPartnerRepricingConfig_;
@@ -393,46 +454,51 @@ public com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest 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.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest)other);
+        return mergeFrom(
+            (com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest other) {
-      if (other == com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest other) {
+      if (other
+          == com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest
+              .getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -466,24 +532,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getChannelPartnerRepricingConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(
+                    getChannelPartnerRepricingConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -496,20 +564,24 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The resource name of the ChannelPartner that will receive the
      * repricing config. Parent uses the format:
      * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}
      * 
* - * string parent = 1 [(.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; @@ -518,22 +590,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the ChannelPartner that will receive the
      * repricing config. Parent uses the format:
      * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -541,102 +616,138 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the ChannelPartner that will receive the
      * repricing config. Parent uses the format:
      * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}
      * 
* - * string parent = 1 [(.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 ChannelPartner that will receive the
      * repricing config. Parent uses the format:
      * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}
      * 
* - * string 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 ChannelPartner that will receive the
      * repricing config. Parent uses the format:
      * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}
      * 
* - * string parent = 1 [(.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.cloud.channel.v1.ChannelPartnerRepricingConfig channelPartnerRepricingConfig_; + private com.google.cloud.channel.v1.ChannelPartnerRepricingConfig + channelPartnerRepricingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig, com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder, com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder> channelPartnerRepricingConfigBuilder_; + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig, + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder, + com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder> + channelPartnerRepricingConfigBuilder_; /** + * + * *
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the channelPartnerRepricingConfig field is set. */ public boolean hasChannelPartnerRepricingConfig() { - return channelPartnerRepricingConfigBuilder_ != null || channelPartnerRepricingConfig_ != null; + return channelPartnerRepricingConfigBuilder_ != null + || channelPartnerRepricingConfig_ != null; } /** + * + * *
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The channelPartnerRepricingConfig. */ - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getChannelPartnerRepricingConfig() { + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig + getChannelPartnerRepricingConfig() { if (channelPartnerRepricingConfigBuilder_ == null) { - return channelPartnerRepricingConfig_ == null ? com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance() : channelPartnerRepricingConfig_; + return channelPartnerRepricingConfig_ == null + ? com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance() + : channelPartnerRepricingConfig_; } else { return channelPartnerRepricingConfigBuilder_.getMessage(); } } /** + * + * *
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setChannelPartnerRepricingConfig(com.google.cloud.channel.v1.ChannelPartnerRepricingConfig value) { + public Builder setChannelPartnerRepricingConfig( + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig value) { if (channelPartnerRepricingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -650,11 +761,15 @@ public Builder setChannelPartnerRepricingConfig(com.google.cloud.channel.v1.Chan return this; } /** + * + * *
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setChannelPartnerRepricingConfig( com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder builderForValue) { @@ -668,17 +783,25 @@ public Builder setChannelPartnerRepricingConfig( return this; } /** + * + * *
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeChannelPartnerRepricingConfig(com.google.cloud.channel.v1.ChannelPartnerRepricingConfig value) { + public Builder mergeChannelPartnerRepricingConfig( + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig value) { if (channelPartnerRepricingConfigBuilder_ == null) { if (channelPartnerRepricingConfig_ != null) { channelPartnerRepricingConfig_ = - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.newBuilder(channelPartnerRepricingConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.newBuilder( + channelPartnerRepricingConfig_) + .mergeFrom(value) + .buildPartial(); } else { channelPartnerRepricingConfig_ = value; } @@ -690,11 +813,15 @@ public Builder mergeChannelPartnerRepricingConfig(com.google.cloud.channel.v1.Ch return this; } /** + * + * *
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearChannelPartnerRepricingConfig() { if (channelPartnerRepricingConfigBuilder_ == null) { @@ -708,55 +835,73 @@ public Builder clearChannelPartnerRepricingConfig() { return this; } /** + * + * *
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder getChannelPartnerRepricingConfigBuilder() { - + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder + getChannelPartnerRepricingConfigBuilder() { + onChanged(); return getChannelPartnerRepricingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder getChannelPartnerRepricingConfigOrBuilder() { + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder + getChannelPartnerRepricingConfigOrBuilder() { if (channelPartnerRepricingConfigBuilder_ != null) { return channelPartnerRepricingConfigBuilder_.getMessageOrBuilder(); } else { - return channelPartnerRepricingConfig_ == null ? - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance() : channelPartnerRepricingConfig_; + return channelPartnerRepricingConfig_ == null + ? com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance() + : channelPartnerRepricingConfig_; } } /** + * + * *
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig, com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder, com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder> + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig, + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder, + com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder> getChannelPartnerRepricingConfigFieldBuilder() { if (channelPartnerRepricingConfigBuilder_ == null) { - channelPartnerRepricingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig, com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder, com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder>( - getChannelPartnerRepricingConfig(), - getParentForChildren(), - isClean()); + channelPartnerRepricingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig, + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder, + com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder>( + getChannelPartnerRepricingConfig(), getParentForChildren(), isClean()); channelPartnerRepricingConfig_ = null; } return channelPartnerRepricingConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -766,41 +911,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest) - private static final com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest DEFAULT_INSTANCE; + private static final com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest(); } - public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest getDefaultInstance() { + public static com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateChannelPartnerRepricingConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateChannelPartnerRepricingConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -812,9 +961,8 @@ public com.google.protobuf.Parser ge } @java.lang.Override - public com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest getDefaultInstanceForType() { + public com.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequestOrBuilder.java similarity index 50% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequestOrBuilder.java index 3f7beb736a1a..8609b2495c6b 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateChannelPartnerRepricingConfigRequestOrBuilder.java @@ -1,60 +1,100 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface CreateChannelPartnerRepricingConfigRequestOrBuilder extends +public interface CreateChannelPartnerRepricingConfigRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the ChannelPartner that will receive the
    * repricing config. Parent uses the format:
    * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}
    * 
* - * string parent = 1 [(.google.api.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 ChannelPartner that will receive the
    * repricing config. Parent uses the format:
    * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}
    * 
* - * string parent = 1 [(.google.api.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 ChannelPartnerRepricingConfig object to update.
    * 
* - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the channelPartnerRepricingConfig field is set. */ boolean hasChannelPartnerRepricingConfig(); /** + * + * *
    * Required. The ChannelPartnerRepricingConfig object to update.
    * 
* - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The channelPartnerRepricingConfig. */ com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getChannelPartnerRepricingConfig(); /** + * + * *
    * Required. The ChannelPartnerRepricingConfig object to update.
    * 
* - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder getChannelPartnerRepricingConfigOrBuilder(); + com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder + getChannelPartnerRepricingConfigOrBuilder(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequest.java similarity index 59% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequest.java index c43a094e6a42..406292bdd588 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelService.CreateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig].
@@ -11,54 +28,63 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.CreateCustomerRepricingConfigRequest}
  */
-public final class CreateCustomerRepricingConfigRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CreateCustomerRepricingConfigRequest
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.CreateCustomerRepricingConfigRequest)
     CreateCustomerRepricingConfigRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CreateCustomerRepricingConfigRequest.newBuilder() to construct.
-  private CreateCustomerRepricingConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private CreateCustomerRepricingConfigRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CreateCustomerRepricingConfigRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateCustomerRepricingConfigRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest.class, com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest.Builder.class);
+            com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest.class,
+            com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Required. The resource name of the customer that will receive this
    * repricing config. Parent uses the format:
    * accounts/{account_id}/customers/{customer_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -67,31 +93,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the customer that will receive this
    * repricing config. Parent uses the format:
    * accounts/{account_id}/customers/{customer_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -102,11 +130,16 @@ public java.lang.String getParent() { public static final int CUSTOMER_REPRICING_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.CustomerRepricingConfig customerRepricingConfig_; /** + * + * *
    * Required. The CustomerRepricingConfig object to update.
    * 
* - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the customerRepricingConfig field is set. */ @java.lang.Override @@ -114,30 +147,43 @@ public boolean hasCustomerRepricingConfig() { return customerRepricingConfig_ != null; } /** + * + * *
    * Required. The CustomerRepricingConfig object to update.
    * 
* - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The customerRepricingConfig. */ @java.lang.Override public com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingConfig() { - return customerRepricingConfig_ == null ? com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance() : customerRepricingConfig_; + return customerRepricingConfig_ == null + ? com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance() + : customerRepricingConfig_; } /** + * + * *
    * Required. The CustomerRepricingConfig object to update.
    * 
* - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder getCustomerRepricingConfigOrBuilder() { + public com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder + getCustomerRepricingConfigOrBuilder() { return getCustomerRepricingConfig(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,8 +195,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -170,8 +215,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (customerRepricingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCustomerRepricingConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCustomerRepricingConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -181,19 +226,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.cloud.channel.v1.CreateCustomerRepricingConfigRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest other = (com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest) obj; + com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest other = + (com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasCustomerRepricingConfig() != other.hasCustomerRepricingConfig()) return false; if (hasCustomerRepricingConfig()) { - if (!getCustomerRepricingConfig() - .equals(other.getCustomerRepricingConfig())) return false; + if (!getCustomerRepricingConfig().equals(other.getCustomerRepricingConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -218,96 +262,104 @@ public int hashCode() { } public static com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelService.CreateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig].
@@ -315,33 +367,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.CreateCustomerRepricingConfigRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.CreateCustomerRepricingConfigRequest)
       com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest.class, com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest.Builder.class);
+              com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest.class,
+              com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -357,13 +408,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest getDefaultInstanceForType() {
+    public com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest.getDefaultInstance();
     }
 
@@ -378,7 +430,8 @@ public com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest build()
 
     @java.lang.Override
     public com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest buildPartial() {
-      com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest result = new com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest(this);
+      com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest result =
+          new com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest(this);
       result.parent_ = parent_;
       if (customerRepricingConfigBuilder_ == null) {
         result.customerRepricingConfig_ = customerRepricingConfig_;
@@ -393,46 +446,50 @@ public com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest 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.cloud.channel.v1.CreateCustomerRepricingConfigRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest)other);
+        return mergeFrom((com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest other) {
-      if (other == com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest other) {
+      if (other
+          == com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -466,24 +523,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getCustomerRepricingConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(
+                    getCustomerRepricingConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -496,20 +555,24 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The resource name of the customer that will receive this
      * repricing config. Parent uses the format:
      * accounts/{account_id}/customers/{customer_id}
      * 
* - * string parent = 1 [(.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; @@ -518,22 +581,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the customer that will receive this
      * repricing config. Parent uses the format:
      * accounts/{account_id}/customers/{customer_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -541,60 +607,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the customer that will receive this
      * repricing config. Parent uses the format:
      * accounts/{account_id}/customers/{customer_id}
      * 
* - * string parent = 1 [(.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 customer that will receive this
      * repricing config. Parent uses the format:
      * accounts/{account_id}/customers/{customer_id}
      * 
* - * string 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 customer that will receive this
      * repricing config. Parent uses the format:
      * accounts/{account_id}/customers/{customer_id}
      * 
* - * string parent = 1 [(.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; @@ -602,41 +681,61 @@ public Builder setParentBytes( private com.google.cloud.channel.v1.CustomerRepricingConfig customerRepricingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CustomerRepricingConfig, com.google.cloud.channel.v1.CustomerRepricingConfig.Builder, com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder> customerRepricingConfigBuilder_; + com.google.cloud.channel.v1.CustomerRepricingConfig, + com.google.cloud.channel.v1.CustomerRepricingConfig.Builder, + com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder> + customerRepricingConfigBuilder_; /** + * + * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the customerRepricingConfig field is set. */ public boolean hasCustomerRepricingConfig() { return customerRepricingConfigBuilder_ != null || customerRepricingConfig_ != null; } /** + * + * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The customerRepricingConfig. */ public com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingConfig() { if (customerRepricingConfigBuilder_ == null) { - return customerRepricingConfig_ == null ? com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance() : customerRepricingConfig_; + return customerRepricingConfig_ == null + ? com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance() + : customerRepricingConfig_; } else { return customerRepricingConfigBuilder_.getMessage(); } } /** + * + * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCustomerRepricingConfig(com.google.cloud.channel.v1.CustomerRepricingConfig value) { + public Builder setCustomerRepricingConfig( + com.google.cloud.channel.v1.CustomerRepricingConfig value) { if (customerRepricingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -650,11 +749,15 @@ public Builder setCustomerRepricingConfig(com.google.cloud.channel.v1.CustomerRe return this; } /** + * + * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCustomerRepricingConfig( com.google.cloud.channel.v1.CustomerRepricingConfig.Builder builderForValue) { @@ -668,17 +771,25 @@ public Builder setCustomerRepricingConfig( return this; } /** + * + * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeCustomerRepricingConfig(com.google.cloud.channel.v1.CustomerRepricingConfig value) { + public Builder mergeCustomerRepricingConfig( + com.google.cloud.channel.v1.CustomerRepricingConfig value) { if (customerRepricingConfigBuilder_ == null) { if (customerRepricingConfig_ != null) { customerRepricingConfig_ = - com.google.cloud.channel.v1.CustomerRepricingConfig.newBuilder(customerRepricingConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.CustomerRepricingConfig.newBuilder( + customerRepricingConfig_) + .mergeFrom(value) + .buildPartial(); } else { customerRepricingConfig_ = value; } @@ -690,11 +801,15 @@ public Builder mergeCustomerRepricingConfig(com.google.cloud.channel.v1.Customer return this; } /** + * + * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCustomerRepricingConfig() { if (customerRepricingConfigBuilder_ == null) { @@ -708,55 +823,73 @@ public Builder clearCustomerRepricingConfig() { return this; } /** + * + * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.channel.v1.CustomerRepricingConfig.Builder getCustomerRepricingConfigBuilder() { - + public com.google.cloud.channel.v1.CustomerRepricingConfig.Builder + getCustomerRepricingConfigBuilder() { + onChanged(); return getCustomerRepricingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder getCustomerRepricingConfigOrBuilder() { + public com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder + getCustomerRepricingConfigOrBuilder() { if (customerRepricingConfigBuilder_ != null) { return customerRepricingConfigBuilder_.getMessageOrBuilder(); } else { - return customerRepricingConfig_ == null ? - com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance() : customerRepricingConfig_; + return customerRepricingConfig_ == null + ? com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance() + : customerRepricingConfig_; } } /** + * + * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CustomerRepricingConfig, com.google.cloud.channel.v1.CustomerRepricingConfig.Builder, com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder> + com.google.cloud.channel.v1.CustomerRepricingConfig, + com.google.cloud.channel.v1.CustomerRepricingConfig.Builder, + com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder> getCustomerRepricingConfigFieldBuilder() { if (customerRepricingConfigBuilder_ == null) { - customerRepricingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CustomerRepricingConfig, com.google.cloud.channel.v1.CustomerRepricingConfig.Builder, com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder>( - getCustomerRepricingConfig(), - getParentForChildren(), - isClean()); + customerRepricingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.CustomerRepricingConfig, + com.google.cloud.channel.v1.CustomerRepricingConfig.Builder, + com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder>( + getCustomerRepricingConfig(), getParentForChildren(), isClean()); customerRepricingConfig_ = null; } return customerRepricingConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -766,41 +899,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.CreateCustomerRepricingConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.CreateCustomerRepricingConfigRequest) - private static final com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest DEFAULT_INSTANCE; + private static final com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest(); } - public static com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest getDefaultInstance() { + public static com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateCustomerRepricingConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCustomerRepricingConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -812,9 +947,8 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest getDefaultInstanceForType() { + public com.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequestOrBuilder.java new file mode 100644 index 000000000000..e01c8cbe0db7 --- /dev/null +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequestOrBuilder.java @@ -0,0 +1,100 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/service.proto + +package com.google.cloud.channel.v1; + +public interface CreateCustomerRepricingConfigRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CreateCustomerRepricingConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the customer that will receive this
+   * repricing config. Parent uses the format:
+   * accounts/{account_id}/customers/{customer_id}
+   * 
+ * + * + * 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 customer that will receive this
+   * repricing config. Parent uses the format:
+   * accounts/{account_id}/customers/{customer_id}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. The CustomerRepricingConfig object to update.
+   * 
+ * + * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the customerRepricingConfig field is set. + */ + boolean hasCustomerRepricingConfig(); + /** + * + * + *
+   * Required. The CustomerRepricingConfig object to update.
+   * 
+ * + * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The customerRepricingConfig. + */ + com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingConfig(); + /** + * + * + *
+   * Required. The CustomerRepricingConfig object to update.
+   * 
+ * + * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder + getCustomerRepricingConfigOrBuilder(); +} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequest.java similarity index 64% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequest.java index 5314091b2b38..3f6724668611 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelService.CreateCustomer][google.cloud.channel.v1.CloudChannelService.CreateCustomer]
@@ -11,53 +28,58 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.CreateCustomerRequest}
  */
-public final class CreateCustomerRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CreateCustomerRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.CreateCustomerRequest)
     CreateCustomerRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CreateCustomerRequest.newBuilder() to construct.
   private CreateCustomerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CreateCustomerRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateCustomerRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateCustomerRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_CreateCustomerRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateCustomerRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_CreateCustomerRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.CreateCustomerRequest.class, com.google.cloud.channel.v1.CreateCustomerRequest.Builder.class);
+            com.google.cloud.channel.v1.CreateCustomerRequest.class,
+            com.google.cloud.channel.v1.CreateCustomerRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Required. The resource name of reseller account in which to create the
    * customer. Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -66,30 +88,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 reseller account in which to create the
    * customer. Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -100,11 +122,15 @@ public java.lang.String getParent() { public static final int CUSTOMER_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.Customer customer_; /** + * + * *
    * Required. The customer to create.
    * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the customer field is set. */ @java.lang.Override @@ -112,23 +138,32 @@ public boolean hasCustomer() { return customer_ != null; } /** + * + * *
    * Required. The customer to create.
    * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The customer. */ @java.lang.Override public com.google.cloud.channel.v1.Customer getCustomer() { - return customer_ == null ? com.google.cloud.channel.v1.Customer.getDefaultInstance() : customer_; + return customer_ == null + ? com.google.cloud.channel.v1.Customer.getDefaultInstance() + : customer_; } /** + * + * *
    * Required. The customer to create.
    * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.channel.v1.CustomerOrBuilder getCustomerOrBuilder() { @@ -136,6 +171,7 @@ public com.google.cloud.channel.v1.CustomerOrBuilder getCustomerOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -147,8 +183,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -168,8 +203,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (customer_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCustomer()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCustomer()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -179,19 +213,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.CreateCustomerRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.CreateCustomerRequest other = (com.google.cloud.channel.v1.CreateCustomerRequest) obj; + com.google.cloud.channel.v1.CreateCustomerRequest other = + (com.google.cloud.channel.v1.CreateCustomerRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasCustomer() != other.hasCustomer()) return false; if (hasCustomer()) { - if (!getCustomer() - .equals(other.getCustomer())) return false; + if (!getCustomer().equals(other.getCustomer())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -216,96 +249,103 @@ public int hashCode() { } public static com.google.cloud.channel.v1.CreateCustomerRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CreateCustomerRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.CreateCustomerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CreateCustomerRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.CreateCustomerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CreateCustomerRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CreateCustomerRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.CreateCustomerRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CreateCustomerRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.CreateCustomerRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.CreateCustomerRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CreateCustomerRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.CreateCustomerRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CreateCustomerRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.CreateCustomerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelService.CreateCustomer][google.cloud.channel.v1.CloudChannelService.CreateCustomer]
@@ -313,33 +353,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.CreateCustomerRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.CreateCustomerRequest)
       com.google.cloud.channel.v1.CreateCustomerRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateCustomerRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_CreateCustomerRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateCustomerRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_CreateCustomerRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.CreateCustomerRequest.class, com.google.cloud.channel.v1.CreateCustomerRequest.Builder.class);
+              com.google.cloud.channel.v1.CreateCustomerRequest.class,
+              com.google.cloud.channel.v1.CreateCustomerRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.CreateCustomerRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -355,9 +394,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateCustomerRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_CreateCustomerRequest_descriptor;
     }
 
     @java.lang.Override
@@ -376,7 +415,8 @@ public com.google.cloud.channel.v1.CreateCustomerRequest build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.CreateCustomerRequest buildPartial() {
-      com.google.cloud.channel.v1.CreateCustomerRequest result = new com.google.cloud.channel.v1.CreateCustomerRequest(this);
+      com.google.cloud.channel.v1.CreateCustomerRequest result =
+          new com.google.cloud.channel.v1.CreateCustomerRequest(this);
       result.parent_ = parent_;
       if (customerBuilder_ == null) {
         result.customer_ = customer_;
@@ -391,38 +431,39 @@ public com.google.cloud.channel.v1.CreateCustomerRequest 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.cloud.channel.v1.CreateCustomerRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.CreateCustomerRequest)other);
+        return mergeFrom((com.google.cloud.channel.v1.CreateCustomerRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -430,7 +471,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.CreateCustomerRequest other) {
-      if (other == com.google.cloud.channel.v1.CreateCustomerRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.CreateCustomerRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -464,24 +506,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getCustomerFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getCustomerFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -494,19 +537,21 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The resource name of reseller account in which to create the
      * customer. Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -515,21 +560,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of reseller account in which to create the
      * customer. Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -537,57 +583,64 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of reseller account in which to create the
      * customer. Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 reseller account in which to create the
      * customer. Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of reseller account in which to create the
      * customer. Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -595,39 +648,58 @@ public Builder setParentBytes( private com.google.cloud.channel.v1.Customer customer_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Customer, com.google.cloud.channel.v1.Customer.Builder, com.google.cloud.channel.v1.CustomerOrBuilder> customerBuilder_; + com.google.cloud.channel.v1.Customer, + com.google.cloud.channel.v1.Customer.Builder, + com.google.cloud.channel.v1.CustomerOrBuilder> + customerBuilder_; /** + * + * *
      * Required. The customer to create.
      * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the customer field is set. */ public boolean hasCustomer() { return customerBuilder_ != null || customer_ != null; } /** + * + * *
      * Required. The customer to create.
      * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The customer. */ public com.google.cloud.channel.v1.Customer getCustomer() { if (customerBuilder_ == null) { - return customer_ == null ? com.google.cloud.channel.v1.Customer.getDefaultInstance() : customer_; + return customer_ == null + ? com.google.cloud.channel.v1.Customer.getDefaultInstance() + : customer_; } else { return customerBuilder_.getMessage(); } } /** + * + * *
      * Required. The customer to create.
      * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCustomer(com.google.cloud.channel.v1.Customer value) { if (customerBuilder_ == null) { @@ -643,14 +715,17 @@ public Builder setCustomer(com.google.cloud.channel.v1.Customer value) { return this; } /** + * + * *
      * Required. The customer to create.
      * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCustomer( - com.google.cloud.channel.v1.Customer.Builder builderForValue) { + public Builder setCustomer(com.google.cloud.channel.v1.Customer.Builder builderForValue) { if (customerBuilder_ == null) { customer_ = builderForValue.build(); onChanged(); @@ -661,17 +736,23 @@ public Builder setCustomer( return this; } /** + * + * *
      * Required. The customer to create.
      * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCustomer(com.google.cloud.channel.v1.Customer value) { if (customerBuilder_ == null) { if (customer_ != null) { customer_ = - com.google.cloud.channel.v1.Customer.newBuilder(customer_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.Customer.newBuilder(customer_) + .mergeFrom(value) + .buildPartial(); } else { customer_ = value; } @@ -683,11 +764,15 @@ public Builder mergeCustomer(com.google.cloud.channel.v1.Customer value) { return this; } /** + * + * *
      * Required. The customer to create.
      * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCustomer() { if (customerBuilder_ == null) { @@ -701,55 +786,71 @@ public Builder clearCustomer() { return this; } /** + * + * *
      * Required. The customer to create.
      * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.channel.v1.Customer.Builder getCustomerBuilder() { - + onChanged(); return getCustomerFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The customer to create.
      * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.channel.v1.CustomerOrBuilder getCustomerOrBuilder() { if (customerBuilder_ != null) { return customerBuilder_.getMessageOrBuilder(); } else { - return customer_ == null ? - com.google.cloud.channel.v1.Customer.getDefaultInstance() : customer_; + return customer_ == null + ? com.google.cloud.channel.v1.Customer.getDefaultInstance() + : customer_; } } /** + * + * *
      * Required. The customer to create.
      * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Customer, com.google.cloud.channel.v1.Customer.Builder, com.google.cloud.channel.v1.CustomerOrBuilder> + com.google.cloud.channel.v1.Customer, + com.google.cloud.channel.v1.Customer.Builder, + com.google.cloud.channel.v1.CustomerOrBuilder> getCustomerFieldBuilder() { if (customerBuilder_ == null) { - customerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Customer, com.google.cloud.channel.v1.Customer.Builder, com.google.cloud.channel.v1.CustomerOrBuilder>( - getCustomer(), - getParentForChildren(), - isClean()); + customerBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Customer, + com.google.cloud.channel.v1.Customer.Builder, + com.google.cloud.channel.v1.CustomerOrBuilder>( + getCustomer(), getParentForChildren(), isClean()); customer_ = null; } return customerBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -759,12 +860,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.CreateCustomerRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.CreateCustomerRequest) private static final com.google.cloud.channel.v1.CreateCustomerRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.CreateCustomerRequest(); } @@ -773,27 +874,27 @@ public static com.google.cloud.channel.v1.CreateCustomerRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateCustomerRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCustomerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -808,6 +909,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.CreateCustomerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequestOrBuilder.java index 0a6e42864bb3..0f2e398a4088 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRequestOrBuilder.java @@ -1,58 +1,90 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface CreateCustomerRequestOrBuilder extends +public interface CreateCustomerRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CreateCustomerRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of reseller account in which to create the
    * customer. Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of reseller account in which to create the
    * customer. Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The customer to create.
    * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the customer field is set. */ boolean hasCustomer(); /** + * + * *
    * Required. The customer to create.
    * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The customer. */ com.google.cloud.channel.v1.Customer getCustomer(); /** + * + * *
    * Required. The customer to create.
    * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.channel.v1.CustomerOrBuilder getCustomerOrBuilder(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequest.java similarity index 67% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequest.java index 1d94d4a6c5d2..12f2676caeb6 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelService.CreateEntitlement][google.cloud.channel.v1.CloudChannelService.CreateEntitlement]
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.CreateEntitlementRequest}
  */
-public final class CreateEntitlementRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CreateEntitlementRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.CreateEntitlementRequest)
     CreateEntitlementRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CreateEntitlementRequest.newBuilder() to construct.
   private CreateEntitlementRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CreateEntitlementRequest() {
     parent_ = "";
     requestId_ = "";
@@ -27,39 +45,45 @@ private CreateEntitlementRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateEntitlementRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateEntitlementRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_CreateEntitlementRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateEntitlementRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_CreateEntitlementRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.CreateEntitlementRequest.class, com.google.cloud.channel.v1.CreateEntitlementRequest.Builder.class);
+            com.google.cloud.channel.v1.CreateEntitlementRequest.class,
+            com.google.cloud.channel.v1.CreateEntitlementRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Required. The resource name of the reseller's customer account in which to
    * create the entitlement. Parent uses the format:
    * accounts/{account_id}/customers/{customer_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -68,31 +92,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the reseller's customer account in which to
    * create the entitlement. Parent uses the format:
    * accounts/{account_id}/customers/{customer_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -103,11 +129,16 @@ public java.lang.String getParent() { public static final int ENTITLEMENT_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.Entitlement entitlement_; /** + * + * *
    * Required. The entitlement to create.
    * 
* - * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the entitlement field is set. */ @java.lang.Override @@ -115,23 +146,34 @@ public boolean hasEntitlement() { return entitlement_ != null; } /** + * + * *
    * Required. The entitlement to create.
    * 
* - * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The entitlement. */ @java.lang.Override public com.google.cloud.channel.v1.Entitlement getEntitlement() { - return entitlement_ == null ? com.google.cloud.channel.v1.Entitlement.getDefaultInstance() : entitlement_; + return entitlement_ == null + ? com.google.cloud.channel.v1.Entitlement.getDefaultInstance() + : entitlement_; } /** + * + * *
    * Required. The entitlement to create.
    * 
* - * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementOrBuilder() { @@ -141,6 +183,8 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementOrBuilder( public static final int REQUEST_ID_FIELD_NUMBER = 5; private volatile java.lang.Object requestId_; /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -155,6 +199,7 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementOrBuilder(
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -163,14 +208,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -185,16 +231,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -203,6 +248,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -214,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_); } @@ -238,8 +283,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (entitlement_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEntitlement()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEntitlement()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, requestId_); @@ -252,22 +296,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.cloud.channel.v1.CreateEntitlementRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.CreateEntitlementRequest other = (com.google.cloud.channel.v1.CreateEntitlementRequest) obj; + com.google.cloud.channel.v1.CreateEntitlementRequest other = + (com.google.cloud.channel.v1.CreateEntitlementRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasEntitlement() != other.hasEntitlement()) return false; if (hasEntitlement()) { - if (!getEntitlement() - .equals(other.getEntitlement())) return false; + if (!getEntitlement().equals(other.getEntitlement())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -293,96 +335,103 @@ public int hashCode() { } public static com.google.cloud.channel.v1.CreateEntitlementRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CreateEntitlementRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.CreateEntitlementRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CreateEntitlementRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.CreateEntitlementRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CreateEntitlementRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CreateEntitlementRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.CreateEntitlementRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CreateEntitlementRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.CreateEntitlementRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.CreateEntitlementRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CreateEntitlementRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.CreateEntitlementRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CreateEntitlementRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.CreateEntitlementRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelService.CreateEntitlement][google.cloud.channel.v1.CloudChannelService.CreateEntitlement]
@@ -390,33 +439,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.CreateEntitlementRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.CreateEntitlementRequest)
       com.google.cloud.channel.v1.CreateEntitlementRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateEntitlementRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_CreateEntitlementRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateEntitlementRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_CreateEntitlementRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.CreateEntitlementRequest.class, com.google.cloud.channel.v1.CreateEntitlementRequest.Builder.class);
+              com.google.cloud.channel.v1.CreateEntitlementRequest.class,
+              com.google.cloud.channel.v1.CreateEntitlementRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.CreateEntitlementRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -434,9 +482,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_CreateEntitlementRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_CreateEntitlementRequest_descriptor;
     }
 
     @java.lang.Override
@@ -455,7 +503,8 @@ public com.google.cloud.channel.v1.CreateEntitlementRequest build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.CreateEntitlementRequest buildPartial() {
-      com.google.cloud.channel.v1.CreateEntitlementRequest result = new com.google.cloud.channel.v1.CreateEntitlementRequest(this);
+      com.google.cloud.channel.v1.CreateEntitlementRequest result =
+          new com.google.cloud.channel.v1.CreateEntitlementRequest(this);
       result.parent_ = parent_;
       if (entitlementBuilder_ == null) {
         result.entitlement_ = entitlement_;
@@ -471,38 +520,39 @@ public com.google.cloud.channel.v1.CreateEntitlementRequest 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.cloud.channel.v1.CreateEntitlementRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.CreateEntitlementRequest)other);
+        return mergeFrom((com.google.cloud.channel.v1.CreateEntitlementRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -510,7 +560,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.CreateEntitlementRequest other) {
-      if (other == com.google.cloud.channel.v1.CreateEntitlementRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.CreateEntitlementRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -548,29 +599,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getEntitlementFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getEntitlementFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            case 42: {
-              requestId_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 42:
+              {
+                requestId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -583,20 +636,24 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The resource name of the reseller's customer account in which to
      * create the entitlement. Parent uses the format:
      * accounts/{account_id}/customers/{customer_id}
      * 
* - * string parent = 1 [(.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; @@ -605,22 +662,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the reseller's customer account in which to
      * create the entitlement. Parent uses the format:
      * accounts/{account_id}/customers/{customer_id}
      * 
* - * string parent = 1 [(.google.api.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 { @@ -628,60 +688,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the reseller's customer account in which to
      * create the entitlement. Parent uses the format:
      * accounts/{account_id}/customers/{customer_id}
      * 
* - * string parent = 1 [(.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 reseller's customer account in which to
      * create the entitlement. Parent uses the format:
      * accounts/{account_id}/customers/{customer_id}
      * 
* - * string 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 reseller's customer account in which to
      * create the entitlement. Parent uses the format:
      * accounts/{account_id}/customers/{customer_id}
      * 
* - * string parent = 1 [(.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; @@ -689,39 +762,58 @@ public Builder setParentBytes( private com.google.cloud.channel.v1.Entitlement entitlement_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Entitlement, com.google.cloud.channel.v1.Entitlement.Builder, com.google.cloud.channel.v1.EntitlementOrBuilder> entitlementBuilder_; + com.google.cloud.channel.v1.Entitlement, + com.google.cloud.channel.v1.Entitlement.Builder, + com.google.cloud.channel.v1.EntitlementOrBuilder> + entitlementBuilder_; /** + * + * *
      * Required. The entitlement to create.
      * 
* - * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the entitlement field is set. */ public boolean hasEntitlement() { return entitlementBuilder_ != null || entitlement_ != null; } /** + * + * *
      * Required. The entitlement to create.
      * 
* - * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The entitlement. */ public com.google.cloud.channel.v1.Entitlement getEntitlement() { if (entitlementBuilder_ == null) { - return entitlement_ == null ? com.google.cloud.channel.v1.Entitlement.getDefaultInstance() : entitlement_; + return entitlement_ == null + ? com.google.cloud.channel.v1.Entitlement.getDefaultInstance() + : entitlement_; } else { return entitlementBuilder_.getMessage(); } } /** + * + * *
      * Required. The entitlement to create.
      * 
* - * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setEntitlement(com.google.cloud.channel.v1.Entitlement value) { if (entitlementBuilder_ == null) { @@ -737,14 +829,17 @@ public Builder setEntitlement(com.google.cloud.channel.v1.Entitlement value) { return this; } /** + * + * *
      * Required. The entitlement to create.
      * 
* - * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setEntitlement( - com.google.cloud.channel.v1.Entitlement.Builder builderForValue) { + public Builder setEntitlement(com.google.cloud.channel.v1.Entitlement.Builder builderForValue) { if (entitlementBuilder_ == null) { entitlement_ = builderForValue.build(); onChanged(); @@ -755,17 +850,23 @@ public Builder setEntitlement( return this; } /** + * + * *
      * Required. The entitlement to create.
      * 
* - * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeEntitlement(com.google.cloud.channel.v1.Entitlement value) { if (entitlementBuilder_ == null) { if (entitlement_ != null) { entitlement_ = - com.google.cloud.channel.v1.Entitlement.newBuilder(entitlement_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.Entitlement.newBuilder(entitlement_) + .mergeFrom(value) + .buildPartial(); } else { entitlement_ = value; } @@ -777,11 +878,15 @@ public Builder mergeEntitlement(com.google.cloud.channel.v1.Entitlement value) { return this; } /** + * + * *
      * Required. The entitlement to create.
      * 
* - * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearEntitlement() { if (entitlementBuilder_ == null) { @@ -795,48 +900,64 @@ public Builder clearEntitlement() { return this; } /** + * + * *
      * Required. The entitlement to create.
      * 
* - * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.channel.v1.Entitlement.Builder getEntitlementBuilder() { - + onChanged(); return getEntitlementFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The entitlement to create.
      * 
* - * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementOrBuilder() { if (entitlementBuilder_ != null) { return entitlementBuilder_.getMessageOrBuilder(); } else { - return entitlement_ == null ? - com.google.cloud.channel.v1.Entitlement.getDefaultInstance() : entitlement_; + return entitlement_ == null + ? com.google.cloud.channel.v1.Entitlement.getDefaultInstance() + : entitlement_; } } /** + * + * *
      * Required. The entitlement to create.
      * 
* - * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Entitlement, com.google.cloud.channel.v1.Entitlement.Builder, com.google.cloud.channel.v1.EntitlementOrBuilder> + com.google.cloud.channel.v1.Entitlement, + com.google.cloud.channel.v1.Entitlement.Builder, + com.google.cloud.channel.v1.EntitlementOrBuilder> getEntitlementFieldBuilder() { if (entitlementBuilder_ == null) { - entitlementBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Entitlement, com.google.cloud.channel.v1.Entitlement.Builder, com.google.cloud.channel.v1.EntitlementOrBuilder>( - getEntitlement(), - getParentForChildren(), - isClean()); + entitlementBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Entitlement, + com.google.cloud.channel.v1.Entitlement.Builder, + com.google.cloud.channel.v1.EntitlementOrBuilder>( + getEntitlement(), getParentForChildren(), isClean()); entitlement_ = null; } return entitlementBuilder_; @@ -844,6 +965,8 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementOrBuilder( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -858,13 +981,13 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementOrBuilder(
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -873,6 +996,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -887,15 +1012,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -903,6 +1027,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -917,20 +1043,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -945,15 +1073,18 @@ public Builder setRequestId(
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -968,23 +1099,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -994,12 +1125,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.CreateEntitlementRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.CreateEntitlementRequest) private static final com.google.cloud.channel.v1.CreateEntitlementRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.CreateEntitlementRequest(); } @@ -1008,27 +1139,27 @@ public static com.google.cloud.channel.v1.CreateEntitlementRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateEntitlementRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateEntitlementRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1043,6 +1174,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.CreateEntitlementRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequestOrBuilder.java index b91668ddcb0d..f9d43a5daef4 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateEntitlementRequestOrBuilder.java @@ -1,64 +1,105 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface CreateEntitlementRequestOrBuilder extends +public interface CreateEntitlementRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CreateEntitlementRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the reseller's customer account in which to
    * create the entitlement. Parent uses the format:
    * accounts/{account_id}/customers/{customer_id}
    * 
* - * string parent = 1 [(.google.api.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 reseller's customer account in which to
    * create the entitlement. Parent uses the format:
    * accounts/{account_id}/customers/{customer_id}
    * 
* - * string parent = 1 [(.google.api.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 entitlement to create.
    * 
* - * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the entitlement field is set. */ boolean hasEntitlement(); /** + * + * *
    * Required. The entitlement to create.
    * 
* - * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The entitlement. */ com.google.cloud.channel.v1.Entitlement getEntitlement(); /** + * + * *
    * Required. The entitlement to create.
    * 
* - * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.Entitlement entitlement = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementOrBuilder(); /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -73,10 +114,13 @@ public interface CreateEntitlementRequestOrBuilder extends
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -91,8 +135,8 @@ public interface CreateEntitlementRequestOrBuilder extends
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Customer.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Customer.java similarity index 71% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Customer.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Customer.java index afdf691782b4..c4a07fe2527d 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Customer.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Customer.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/cloud/channel/v1/customers.proto package com.google.cloud.channel.v1; /** + * + * *
  * Entity representing a customer of a reseller or distributor.
  * 
* * Protobuf type {@code google.cloud.channel.v1.Customer} */ -public final class Customer extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Customer extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.Customer) CustomerOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Customer.newBuilder() to construct. private Customer(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Customer() { name_ = ""; orgDisplayName_ = ""; @@ -31,38 +49,42 @@ private Customer() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Customer(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.CustomersProto.internal_static_google_cloud_channel_v1_Customer_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.CustomersProto + .internal_static_google_cloud_channel_v1_Customer_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.CustomersProto.internal_static_google_cloud_channel_v1_Customer_fieldAccessorTable + return com.google.cloud.channel.v1.CustomersProto + .internal_static_google_cloud_channel_v1_Customer_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Customer.class, com.google.cloud.channel.v1.Customer.Builder.class); + com.google.cloud.channel.v1.Customer.class, + com.google.cloud.channel.v1.Customer.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. Resource name of the customer.
    * Format: accounts/{account_id}/customers/{customer_id}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -71,30 +93,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Resource name of the customer.
    * Format: accounts/{account_id}/customers/{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 { @@ -105,11 +127,14 @@ public java.lang.String getName() { public static final int ORG_DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object orgDisplayName_; /** + * + * *
    * Required. Name of the organization that the customer entity represents.
    * 
* * string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The orgDisplayName. */ @java.lang.Override @@ -118,29 +143,29 @@ public java.lang.String getOrgDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orgDisplayName_ = s; return s; } } /** + * + * *
    * Required. Name of the organization that the customer entity represents.
    * 
* * string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for orgDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrgDisplayNameBytes() { + public com.google.protobuf.ByteString getOrgDisplayNameBytes() { java.lang.Object ref = orgDisplayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orgDisplayName_ = b; return b; } else { @@ -151,6 +176,8 @@ public java.lang.String getOrgDisplayName() { public static final int ORG_POSTAL_ADDRESS_FIELD_NUMBER = 3; private com.google.type.PostalAddress orgPostalAddress_; /** + * + * *
    * Required. The organization address for the customer. To enforce US laws and
    * embargoes, we require a region and zip code. You must provide valid
@@ -158,7 +185,10 @@ public java.lang.String getOrgDisplayName() {
    * Customer-level language code.
    * 
* - * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the orgPostalAddress field is set. */ @java.lang.Override @@ -166,6 +196,8 @@ public boolean hasOrgPostalAddress() { return orgPostalAddress_ != null; } /** + * + * *
    * Required. The organization address for the customer. To enforce US laws and
    * embargoes, we require a region and zip code. You must provide valid
@@ -173,14 +205,21 @@ public boolean hasOrgPostalAddress() {
    * Customer-level language code.
    * 
* - * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The orgPostalAddress. */ @java.lang.Override public com.google.type.PostalAddress getOrgPostalAddress() { - return orgPostalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : orgPostalAddress_; + return orgPostalAddress_ == null + ? com.google.type.PostalAddress.getDefaultInstance() + : orgPostalAddress_; } /** + * + * *
    * Required. The organization address for the customer. To enforce US laws and
    * embargoes, we require a region and zip code. You must provide valid
@@ -188,7 +227,9 @@ public com.google.type.PostalAddress getOrgPostalAddress() {
    * Customer-level language code.
    * 
* - * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.type.PostalAddressOrBuilder getOrgPostalAddressOrBuilder() { @@ -198,11 +239,14 @@ public com.google.type.PostalAddressOrBuilder getOrgPostalAddressOrBuilder() { public static final int PRIMARY_CONTACT_INFO_FIELD_NUMBER = 4; private com.google.cloud.channel.v1.ContactInfo primaryContactInfo_; /** + * + * *
    * Primary contact info.
    * 
* * .google.cloud.channel.v1.ContactInfo primary_contact_info = 4; + * * @return Whether the primaryContactInfo field is set. */ @java.lang.Override @@ -210,18 +254,25 @@ public boolean hasPrimaryContactInfo() { return primaryContactInfo_ != null; } /** + * + * *
    * Primary contact info.
    * 
* * .google.cloud.channel.v1.ContactInfo primary_contact_info = 4; + * * @return The primaryContactInfo. */ @java.lang.Override public com.google.cloud.channel.v1.ContactInfo getPrimaryContactInfo() { - return primaryContactInfo_ == null ? com.google.cloud.channel.v1.ContactInfo.getDefaultInstance() : primaryContactInfo_; + return primaryContactInfo_ == null + ? com.google.cloud.channel.v1.ContactInfo.getDefaultInstance() + : primaryContactInfo_; } /** + * + * *
    * Primary contact info.
    * 
@@ -236,6 +287,8 @@ public com.google.cloud.channel.v1.ContactInfoOrBuilder getPrimaryContactInfoOrB public static final int ALTERNATE_EMAIL_FIELD_NUMBER = 5; private volatile java.lang.Object alternateEmail_; /** + * + * *
    * Secondary contact email. You need to provide an alternate email to create
    * different domains if a primary contact email already exists. Users will
@@ -245,6 +298,7 @@ public com.google.cloud.channel.v1.ContactInfoOrBuilder getPrimaryContactInfoOrB
    * 
* * string alternate_email = 5; + * * @return The alternateEmail. */ @java.lang.Override @@ -253,14 +307,15 @@ public java.lang.String getAlternateEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); alternateEmail_ = s; return s; } } /** + * + * *
    * Secondary contact email. You need to provide an alternate email to create
    * different domains if a primary contact email already exists. Users will
@@ -270,16 +325,15 @@ public java.lang.String getAlternateEmail() {
    * 
* * string alternate_email = 5; + * * @return The bytes for alternateEmail. */ @java.lang.Override - public com.google.protobuf.ByteString - getAlternateEmailBytes() { + public com.google.protobuf.ByteString getAlternateEmailBytes() { java.lang.Object ref = alternateEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); alternateEmail_ = b; return b; } else { @@ -290,12 +344,15 @@ public java.lang.String getAlternateEmail() { public static final int DOMAIN_FIELD_NUMBER = 6; private volatile java.lang.Object domain_; /** + * + * *
    * Required. The customer's primary domain. Must match the primary contact
    * email's domain.
    * 
* * string domain = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The domain. */ @java.lang.Override @@ -304,30 +361,30 @@ public java.lang.String getDomain() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domain_ = s; return s; } } /** + * + * *
    * Required. The customer's primary domain. Must match the primary contact
    * email's domain.
    * 
* * string domain = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for domain. */ @java.lang.Override - public com.google.protobuf.ByteString - getDomainBytes() { + public com.google.protobuf.ByteString getDomainBytes() { java.lang.Object ref = domain_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domain_ = b; return b; } else { @@ -338,11 +395,15 @@ public java.lang.String getDomain() { public static final int CREATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. Time when the customer was 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 @@ -350,11 +411,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. Time when the customer was 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 @@ -362,11 +427,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. Time when the customer was 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() { @@ -376,11 +444,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 the customer was 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 @@ -388,11 +460,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. Time when the customer was 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 @@ -400,11 +476,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. Time when the customer was 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() { @@ -414,12 +493,15 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int CLOUD_IDENTITY_ID_FIELD_NUMBER = 9; private volatile java.lang.Object cloudIdentityId_; /** + * + * *
    * Output only. The customer's Cloud Identity ID if the customer has a Cloud
    * Identity resource.
    * 
* * string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The cloudIdentityId. */ @java.lang.Override @@ -428,30 +510,30 @@ public java.lang.String getCloudIdentityId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cloudIdentityId_ = s; return s; } } /** + * + * *
    * Output only. The customer's Cloud Identity ID if the customer has a Cloud
    * Identity resource.
    * 
* * string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for cloudIdentityId. */ @java.lang.Override - public com.google.protobuf.ByteString - getCloudIdentityIdBytes() { + public com.google.protobuf.ByteString getCloudIdentityIdBytes() { java.lang.Object ref = cloudIdentityId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cloudIdentityId_ = b; return b; } else { @@ -462,6 +544,8 @@ public java.lang.String getCloudIdentityId() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 10; private volatile java.lang.Object languageCode_; /** + * + * *
    * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
    * information, see
@@ -469,6 +553,7 @@ public java.lang.String getCloudIdentityId() {
    * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ @java.lang.Override @@ -477,14 +562,15 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** + * + * *
    * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
    * information, see
@@ -492,16 +578,15 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -512,12 +597,17 @@ public java.lang.String getLanguageCode() { public static final int CLOUD_IDENTITY_INFO_FIELD_NUMBER = 12; private com.google.cloud.channel.v1.CloudIdentityInfo cloudIdentityInfo_; /** + * + * *
    * Output only. Cloud Identity information for the customer.
    * Populated only if a Cloud Identity account exists for this customer.
    * 
* - * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the cloudIdentityInfo field is set. */ @java.lang.Override @@ -525,25 +615,36 @@ public boolean hasCloudIdentityInfo() { return cloudIdentityInfo_ != null; } /** + * + * *
    * Output only. Cloud Identity information for the customer.
    * Populated only if a Cloud Identity account exists for this customer.
    * 
* - * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The cloudIdentityInfo. */ @java.lang.Override public com.google.cloud.channel.v1.CloudIdentityInfo getCloudIdentityInfo() { - return cloudIdentityInfo_ == null ? com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() : cloudIdentityInfo_; + return cloudIdentityInfo_ == null + ? com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() + : cloudIdentityInfo_; } /** + * + * *
    * Output only. Cloud Identity information for the customer.
    * Populated only if a Cloud Identity account exists for this customer.
    * 
* - * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder getCloudIdentityInfoOrBuilder() { @@ -553,12 +654,15 @@ public com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder getCloudIdentityIn public static final int CHANNEL_PARTNER_ID_FIELD_NUMBER = 13; private volatile java.lang.Object channelPartnerId_; /** + * + * *
    * Cloud Identity ID of the customer's channel partner.
    * Populated only if a channel partner exists for this customer.
    * 
* * string channel_partner_id = 13; + * * @return The channelPartnerId. */ @java.lang.Override @@ -567,30 +671,30 @@ public java.lang.String getChannelPartnerId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); channelPartnerId_ = s; return s; } } /** + * + * *
    * Cloud Identity ID of the customer's channel partner.
    * Populated only if a channel partner exists for this customer.
    * 
* * string channel_partner_id = 13; + * * @return The bytes for channelPartnerId. */ @java.lang.Override - public com.google.protobuf.ByteString - getChannelPartnerIdBytes() { + public com.google.protobuf.ByteString getChannelPartnerIdBytes() { java.lang.Object ref = channelPartnerId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); channelPartnerId_ = b; return b; } else { @@ -599,6 +703,7 @@ public java.lang.String getChannelPartnerId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -610,8 +715,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -664,12 +768,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, orgDisplayName_); } if (orgPostalAddress_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getOrgPostalAddress()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getOrgPostalAddress()); } if (primaryContactInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getPrimaryContactInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPrimaryContactInfo()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(alternateEmail_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, alternateEmail_); @@ -678,12 +780,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, domain_); } 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(cloudIdentityId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, cloudIdentityId_); @@ -692,8 +792,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, languageCode_); } if (cloudIdentityInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getCloudIdentityInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getCloudIdentityInfo()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(channelPartnerId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, channelPartnerId_); @@ -706,52 +805,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.cloud.channel.v1.Customer)) { return super.equals(obj); } com.google.cloud.channel.v1.Customer other = (com.google.cloud.channel.v1.Customer) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getOrgDisplayName() - .equals(other.getOrgDisplayName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getOrgDisplayName().equals(other.getOrgDisplayName())) return false; if (hasOrgPostalAddress() != other.hasOrgPostalAddress()) return false; if (hasOrgPostalAddress()) { - if (!getOrgPostalAddress() - .equals(other.getOrgPostalAddress())) return false; + if (!getOrgPostalAddress().equals(other.getOrgPostalAddress())) return false; } if (hasPrimaryContactInfo() != other.hasPrimaryContactInfo()) return false; if (hasPrimaryContactInfo()) { - if (!getPrimaryContactInfo() - .equals(other.getPrimaryContactInfo())) return false; + if (!getPrimaryContactInfo().equals(other.getPrimaryContactInfo())) return false; } - if (!getAlternateEmail() - .equals(other.getAlternateEmail())) return false; - if (!getDomain() - .equals(other.getDomain())) return false; + if (!getAlternateEmail().equals(other.getAlternateEmail())) return false; + if (!getDomain().equals(other.getDomain())) 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 (!getCloudIdentityId() - .equals(other.getCloudIdentityId())) return false; - if (!getLanguageCode() - .equals(other.getLanguageCode())) return false; + if (!getCloudIdentityId().equals(other.getCloudIdentityId())) return false; + if (!getLanguageCode().equals(other.getLanguageCode())) return false; if (hasCloudIdentityInfo() != other.hasCloudIdentityInfo()) return false; if (hasCloudIdentityInfo()) { - if (!getCloudIdentityInfo() - .equals(other.getCloudIdentityInfo())) return false; + if (!getCloudIdentityInfo().equals(other.getCloudIdentityInfo())) return false; } - if (!getChannelPartnerId() - .equals(other.getChannelPartnerId())) return false; + if (!getChannelPartnerId().equals(other.getChannelPartnerId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -802,130 +889,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.Customer parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.Customer parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Customer parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Customer parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.channel.v1.Customer parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Customer parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.Customer parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Customer parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.Customer 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.cloud.channel.v1.Customer parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.Customer parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.Customer parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.Customer parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.Customer parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.Customer prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Entity representing a customer of a reseller or distributor.
    * 
* * Protobuf type {@code google.cloud.channel.v1.Customer} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.Customer) com.google.cloud.channel.v1.CustomerOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.CustomersProto.internal_static_google_cloud_channel_v1_Customer_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.CustomersProto + .internal_static_google_cloud_channel_v1_Customer_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.CustomersProto.internal_static_google_cloud_channel_v1_Customer_fieldAccessorTable + return com.google.cloud.channel.v1.CustomersProto + .internal_static_google_cloud_channel_v1_Customer_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Customer.class, com.google.cloud.channel.v1.Customer.Builder.class); + com.google.cloud.channel.v1.Customer.class, + com.google.cloud.channel.v1.Customer.Builder.class); } // Construct using com.google.cloud.channel.v1.Customer.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -977,9 +1069,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.CustomersProto.internal_static_google_cloud_channel_v1_Customer_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.CustomersProto + .internal_static_google_cloud_channel_v1_Customer_descriptor; } @java.lang.Override @@ -1039,38 +1131,39 @@ public com.google.cloud.channel.v1.Customer 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.cloud.channel.v1.Customer) { - return mergeFrom((com.google.cloud.channel.v1.Customer)other); + return mergeFrom((com.google.cloud.channel.v1.Customer) other); } else { super.mergeFrom(other); return this; @@ -1148,82 +1241,88 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - orgDisplayName_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - input.readMessage( - getOrgPostalAddressFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - case 34: { - input.readMessage( - getPrimaryContactInfoFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 34 - case 42: { - alternateEmail_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 50: { - domain_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 58: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 58 - case 66: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 66 - case 74: { - cloudIdentityId_ = input.readStringRequireUtf8(); - - break; - } // case 74 - case 82: { - languageCode_ = input.readStringRequireUtf8(); - - break; - } // case 82 - case 98: { - input.readMessage( - getCloudIdentityInfoFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 98 - case 106: { - channelPartnerId_ = input.readStringRequireUtf8(); - - break; - } // case 106 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + orgDisplayName_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + input.readMessage( + getOrgPostalAddressFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + case 34: + { + input.readMessage( + getPrimaryContactInfoFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 34 + case 42: + { + alternateEmail_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 50: + { + domain_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 58: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 58 + case 66: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 66 + case 74: + { + cloudIdentityId_ = input.readStringRequireUtf8(); + + break; + } // case 74 + case 82: + { + languageCode_ = input.readStringRequireUtf8(); + + break; + } // case 82 + case 98: + { + input.readMessage( + getCloudIdentityInfoFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 98 + case 106: + { + channelPartnerId_ = input.readStringRequireUtf8(); + + break; + } // case 106 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1236,19 +1335,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Resource name of the customer.
      * Format: accounts/{account_id}/customers/{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; @@ -1257,21 +1358,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of the customer.
      * Format: accounts/{account_id}/customers/{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 { @@ -1279,57 +1381,64 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of the customer.
      * Format: accounts/{account_id}/customers/{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. Resource name of the customer.
      * Format: accounts/{account_id}/customers/{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. Resource name of the customer.
      * Format: accounts/{account_id}/customers/{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; @@ -1337,18 +1446,20 @@ public Builder setNameBytes( private java.lang.Object orgDisplayName_ = ""; /** + * + * *
      * Required. Name of the organization that the customer entity represents.
      * 
* * string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The orgDisplayName. */ public java.lang.String getOrgDisplayName() { java.lang.Object ref = orgDisplayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orgDisplayName_ = s; return s; @@ -1357,20 +1468,21 @@ public java.lang.String getOrgDisplayName() { } } /** + * + * *
      * Required. Name of the organization that the customer entity represents.
      * 
* * string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for orgDisplayName. */ - public com.google.protobuf.ByteString - getOrgDisplayNameBytes() { + public com.google.protobuf.ByteString getOrgDisplayNameBytes() { java.lang.Object ref = orgDisplayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orgDisplayName_ = b; return b; } else { @@ -1378,54 +1490,61 @@ public java.lang.String getOrgDisplayName() { } } /** + * + * *
      * Required. Name of the organization that the customer entity represents.
      * 
* * string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The orgDisplayName to set. * @return This builder for chaining. */ - public Builder setOrgDisplayName( - java.lang.String value) { + public Builder setOrgDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orgDisplayName_ = value; onChanged(); return this; } /** + * + * *
      * Required. Name of the organization that the customer entity represents.
      * 
* * string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearOrgDisplayName() { - + orgDisplayName_ = getDefaultInstance().getOrgDisplayName(); onChanged(); return this; } /** + * + * *
      * Required. Name of the organization that the customer entity represents.
      * 
* * string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for orgDisplayName to set. * @return This builder for chaining. */ - public Builder setOrgDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setOrgDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orgDisplayName_ = value; onChanged(); return this; @@ -1433,8 +1552,13 @@ public Builder setOrgDisplayNameBytes( private com.google.type.PostalAddress orgPostalAddress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> orgPostalAddressBuilder_; + com.google.type.PostalAddress, + com.google.type.PostalAddress.Builder, + com.google.type.PostalAddressOrBuilder> + orgPostalAddressBuilder_; /** + * + * *
      * Required. The organization address for the customer. To enforce US laws and
      * embargoes, we require a region and zip code. You must provide valid
@@ -1442,13 +1566,18 @@ public Builder setOrgDisplayNameBytes(
      * Customer-level language code.
      * 
* - * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the orgPostalAddress field is set. */ public boolean hasOrgPostalAddress() { return orgPostalAddressBuilder_ != null || orgPostalAddress_ != null; } /** + * + * *
      * Required. The organization address for the customer. To enforce US laws and
      * embargoes, we require a region and zip code. You must provide valid
@@ -1456,17 +1585,24 @@ public boolean hasOrgPostalAddress() {
      * Customer-level language code.
      * 
* - * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The orgPostalAddress. */ public com.google.type.PostalAddress getOrgPostalAddress() { if (orgPostalAddressBuilder_ == null) { - return orgPostalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : orgPostalAddress_; + return orgPostalAddress_ == null + ? com.google.type.PostalAddress.getDefaultInstance() + : orgPostalAddress_; } else { return orgPostalAddressBuilder_.getMessage(); } } /** + * + * *
      * Required. The organization address for the customer. To enforce US laws and
      * embargoes, we require a region and zip code. You must provide valid
@@ -1474,7 +1610,9 @@ public com.google.type.PostalAddress getOrgPostalAddress() {
      * Customer-level language code.
      * 
* - * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOrgPostalAddress(com.google.type.PostalAddress value) { if (orgPostalAddressBuilder_ == null) { @@ -1490,6 +1628,8 @@ public Builder setOrgPostalAddress(com.google.type.PostalAddress value) { return this; } /** + * + * *
      * Required. The organization address for the customer. To enforce US laws and
      * embargoes, we require a region and zip code. You must provide valid
@@ -1497,10 +1637,11 @@ public Builder setOrgPostalAddress(com.google.type.PostalAddress value) {
      * Customer-level language code.
      * 
* - * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setOrgPostalAddress( - com.google.type.PostalAddress.Builder builderForValue) { + public Builder setOrgPostalAddress(com.google.type.PostalAddress.Builder builderForValue) { if (orgPostalAddressBuilder_ == null) { orgPostalAddress_ = builderForValue.build(); onChanged(); @@ -1511,6 +1652,8 @@ public Builder setOrgPostalAddress( return this; } /** + * + * *
      * Required. The organization address for the customer. To enforce US laws and
      * embargoes, we require a region and zip code. You must provide valid
@@ -1518,13 +1661,17 @@ public Builder setOrgPostalAddress(
      * Customer-level language code.
      * 
* - * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeOrgPostalAddress(com.google.type.PostalAddress value) { if (orgPostalAddressBuilder_ == null) { if (orgPostalAddress_ != null) { orgPostalAddress_ = - com.google.type.PostalAddress.newBuilder(orgPostalAddress_).mergeFrom(value).buildPartial(); + com.google.type.PostalAddress.newBuilder(orgPostalAddress_) + .mergeFrom(value) + .buildPartial(); } else { orgPostalAddress_ = value; } @@ -1536,6 +1683,8 @@ public Builder mergeOrgPostalAddress(com.google.type.PostalAddress value) { return this; } /** + * + * *
      * Required. The organization address for the customer. To enforce US laws and
      * embargoes, we require a region and zip code. You must provide valid
@@ -1543,7 +1692,9 @@ public Builder mergeOrgPostalAddress(com.google.type.PostalAddress value) {
      * Customer-level language code.
      * 
* - * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearOrgPostalAddress() { if (orgPostalAddressBuilder_ == null) { @@ -1557,6 +1708,8 @@ public Builder clearOrgPostalAddress() { return this; } /** + * + * *
      * Required. The organization address for the customer. To enforce US laws and
      * embargoes, we require a region and zip code. You must provide valid
@@ -1564,14 +1717,18 @@ public Builder clearOrgPostalAddress() {
      * Customer-level language code.
      * 
* - * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.type.PostalAddress.Builder getOrgPostalAddressBuilder() { - + onChanged(); return getOrgPostalAddressFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The organization address for the customer. To enforce US laws and
      * embargoes, we require a region and zip code. You must provide valid
@@ -1579,17 +1736,22 @@ public com.google.type.PostalAddress.Builder getOrgPostalAddressBuilder() {
      * Customer-level language code.
      * 
* - * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.type.PostalAddressOrBuilder getOrgPostalAddressOrBuilder() { if (orgPostalAddressBuilder_ != null) { return orgPostalAddressBuilder_.getMessageOrBuilder(); } else { - return orgPostalAddress_ == null ? - com.google.type.PostalAddress.getDefaultInstance() : orgPostalAddress_; + return orgPostalAddress_ == null + ? com.google.type.PostalAddress.getDefaultInstance() + : orgPostalAddress_; } } /** + * + * *
      * Required. The organization address for the customer. To enforce US laws and
      * embargoes, we require a region and zip code. You must provide valid
@@ -1597,17 +1759,22 @@ public com.google.type.PostalAddressOrBuilder getOrgPostalAddressOrBuilder() {
      * Customer-level language code.
      * 
* - * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> + com.google.type.PostalAddress, + com.google.type.PostalAddress.Builder, + com.google.type.PostalAddressOrBuilder> getOrgPostalAddressFieldBuilder() { if (orgPostalAddressBuilder_ == null) { - orgPostalAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder>( - getOrgPostalAddress(), - getParentForChildren(), - isClean()); + orgPostalAddressBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.PostalAddress, + com.google.type.PostalAddress.Builder, + com.google.type.PostalAddressOrBuilder>( + getOrgPostalAddress(), getParentForChildren(), isClean()); orgPostalAddress_ = null; } return orgPostalAddressBuilder_; @@ -1615,34 +1782,47 @@ public com.google.type.PostalAddressOrBuilder getOrgPostalAddressOrBuilder() { private com.google.cloud.channel.v1.ContactInfo primaryContactInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ContactInfo, com.google.cloud.channel.v1.ContactInfo.Builder, com.google.cloud.channel.v1.ContactInfoOrBuilder> primaryContactInfoBuilder_; + com.google.cloud.channel.v1.ContactInfo, + com.google.cloud.channel.v1.ContactInfo.Builder, + com.google.cloud.channel.v1.ContactInfoOrBuilder> + primaryContactInfoBuilder_; /** + * + * *
      * Primary contact info.
      * 
* * .google.cloud.channel.v1.ContactInfo primary_contact_info = 4; + * * @return Whether the primaryContactInfo field is set. */ public boolean hasPrimaryContactInfo() { return primaryContactInfoBuilder_ != null || primaryContactInfo_ != null; } /** + * + * *
      * Primary contact info.
      * 
* * .google.cloud.channel.v1.ContactInfo primary_contact_info = 4; + * * @return The primaryContactInfo. */ public com.google.cloud.channel.v1.ContactInfo getPrimaryContactInfo() { if (primaryContactInfoBuilder_ == null) { - return primaryContactInfo_ == null ? com.google.cloud.channel.v1.ContactInfo.getDefaultInstance() : primaryContactInfo_; + return primaryContactInfo_ == null + ? com.google.cloud.channel.v1.ContactInfo.getDefaultInstance() + : primaryContactInfo_; } else { return primaryContactInfoBuilder_.getMessage(); } } /** + * + * *
      * Primary contact info.
      * 
@@ -1663,6 +1843,8 @@ public Builder setPrimaryContactInfo(com.google.cloud.channel.v1.ContactInfo val return this; } /** + * + * *
      * Primary contact info.
      * 
@@ -1681,6 +1863,8 @@ public Builder setPrimaryContactInfo( return this; } /** + * + * *
      * Primary contact info.
      * 
@@ -1691,7 +1875,9 @@ public Builder mergePrimaryContactInfo(com.google.cloud.channel.v1.ContactInfo v if (primaryContactInfoBuilder_ == null) { if (primaryContactInfo_ != null) { primaryContactInfo_ = - com.google.cloud.channel.v1.ContactInfo.newBuilder(primaryContactInfo_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.ContactInfo.newBuilder(primaryContactInfo_) + .mergeFrom(value) + .buildPartial(); } else { primaryContactInfo_ = value; } @@ -1703,6 +1889,8 @@ public Builder mergePrimaryContactInfo(com.google.cloud.channel.v1.ContactInfo v return this; } /** + * + * *
      * Primary contact info.
      * 
@@ -1721,6 +1909,8 @@ public Builder clearPrimaryContactInfo() { return this; } /** + * + * *
      * Primary contact info.
      * 
@@ -1728,11 +1918,13 @@ public Builder clearPrimaryContactInfo() { * .google.cloud.channel.v1.ContactInfo primary_contact_info = 4; */ public com.google.cloud.channel.v1.ContactInfo.Builder getPrimaryContactInfoBuilder() { - + onChanged(); return getPrimaryContactInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Primary contact info.
      * 
@@ -1743,11 +1935,14 @@ public com.google.cloud.channel.v1.ContactInfoOrBuilder getPrimaryContactInfoOrB if (primaryContactInfoBuilder_ != null) { return primaryContactInfoBuilder_.getMessageOrBuilder(); } else { - return primaryContactInfo_ == null ? - com.google.cloud.channel.v1.ContactInfo.getDefaultInstance() : primaryContactInfo_; + return primaryContactInfo_ == null + ? com.google.cloud.channel.v1.ContactInfo.getDefaultInstance() + : primaryContactInfo_; } } /** + * + * *
      * Primary contact info.
      * 
@@ -1755,14 +1950,17 @@ public com.google.cloud.channel.v1.ContactInfoOrBuilder getPrimaryContactInfoOrB * .google.cloud.channel.v1.ContactInfo primary_contact_info = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ContactInfo, com.google.cloud.channel.v1.ContactInfo.Builder, com.google.cloud.channel.v1.ContactInfoOrBuilder> + com.google.cloud.channel.v1.ContactInfo, + com.google.cloud.channel.v1.ContactInfo.Builder, + com.google.cloud.channel.v1.ContactInfoOrBuilder> getPrimaryContactInfoFieldBuilder() { if (primaryContactInfoBuilder_ == null) { - primaryContactInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ContactInfo, com.google.cloud.channel.v1.ContactInfo.Builder, com.google.cloud.channel.v1.ContactInfoOrBuilder>( - getPrimaryContactInfo(), - getParentForChildren(), - isClean()); + primaryContactInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.ContactInfo, + com.google.cloud.channel.v1.ContactInfo.Builder, + com.google.cloud.channel.v1.ContactInfoOrBuilder>( + getPrimaryContactInfo(), getParentForChildren(), isClean()); primaryContactInfo_ = null; } return primaryContactInfoBuilder_; @@ -1770,6 +1968,8 @@ public com.google.cloud.channel.v1.ContactInfoOrBuilder getPrimaryContactInfoOrB private java.lang.Object alternateEmail_ = ""; /** + * + * *
      * Secondary contact email. You need to provide an alternate email to create
      * different domains if a primary contact email already exists. Users will
@@ -1779,13 +1979,13 @@ public com.google.cloud.channel.v1.ContactInfoOrBuilder getPrimaryContactInfoOrB
      * 
* * string alternate_email = 5; + * * @return The alternateEmail. */ public java.lang.String getAlternateEmail() { java.lang.Object ref = alternateEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); alternateEmail_ = s; return s; @@ -1794,6 +1994,8 @@ public java.lang.String getAlternateEmail() { } } /** + * + * *
      * Secondary contact email. You need to provide an alternate email to create
      * different domains if a primary contact email already exists. Users will
@@ -1803,15 +2005,14 @@ public java.lang.String getAlternateEmail() {
      * 
* * string alternate_email = 5; + * * @return The bytes for alternateEmail. */ - public com.google.protobuf.ByteString - getAlternateEmailBytes() { + public com.google.protobuf.ByteString getAlternateEmailBytes() { java.lang.Object ref = alternateEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); alternateEmail_ = b; return b; } else { @@ -1819,6 +2020,8 @@ public java.lang.String getAlternateEmail() { } } /** + * + * *
      * Secondary contact email. You need to provide an alternate email to create
      * different domains if a primary contact email already exists. Users will
@@ -1828,20 +2031,22 @@ public java.lang.String getAlternateEmail() {
      * 
* * string alternate_email = 5; + * * @param value The alternateEmail to set. * @return This builder for chaining. */ - public Builder setAlternateEmail( - java.lang.String value) { + public Builder setAlternateEmail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + alternateEmail_ = value; onChanged(); return this; } /** + * + * *
      * Secondary contact email. You need to provide an alternate email to create
      * different domains if a primary contact email already exists. Users will
@@ -1851,15 +2056,18 @@ public Builder setAlternateEmail(
      * 
* * string alternate_email = 5; + * * @return This builder for chaining. */ public Builder clearAlternateEmail() { - + alternateEmail_ = getDefaultInstance().getAlternateEmail(); onChanged(); return this; } /** + * + * *
      * Secondary contact email. You need to provide an alternate email to create
      * different domains if a primary contact email already exists. Users will
@@ -1869,16 +2077,16 @@ public Builder clearAlternateEmail() {
      * 
* * string alternate_email = 5; + * * @param value The bytes for alternateEmail to set. * @return This builder for chaining. */ - public Builder setAlternateEmailBytes( - com.google.protobuf.ByteString value) { + public Builder setAlternateEmailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + alternateEmail_ = value; onChanged(); return this; @@ -1886,19 +2094,21 @@ public Builder setAlternateEmailBytes( private java.lang.Object domain_ = ""; /** + * + * *
      * Required. The customer's primary domain. Must match the primary contact
      * email's domain.
      * 
* * string domain = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The domain. */ public java.lang.String getDomain() { java.lang.Object ref = domain_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domain_ = s; return s; @@ -1907,21 +2117,22 @@ public java.lang.String getDomain() { } } /** + * + * *
      * Required. The customer's primary domain. Must match the primary contact
      * email's domain.
      * 
* * string domain = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for domain. */ - public com.google.protobuf.ByteString - getDomainBytes() { + public com.google.protobuf.ByteString getDomainBytes() { java.lang.Object ref = domain_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domain_ = b; return b; } else { @@ -1929,57 +2140,64 @@ public java.lang.String getDomain() { } } /** + * + * *
      * Required. The customer's primary domain. Must match the primary contact
      * email's domain.
      * 
* * string domain = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The domain to set. * @return This builder for chaining. */ - public Builder setDomain( - java.lang.String value) { + public Builder setDomain(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domain_ = value; onChanged(); return this; } /** + * + * *
      * Required. The customer's primary domain. Must match the primary contact
      * email's domain.
      * 
* * string domain = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDomain() { - + domain_ = getDefaultInstance().getDomain(); onChanged(); return this; } /** + * + * *
      * Required. The customer's primary domain. Must match the primary contact
      * email's domain.
      * 
* * string domain = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for domain to set. * @return This builder for chaining. */ - public Builder setDomainBytes( - com.google.protobuf.ByteString value) { + public Builder setDomainBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domain_ = value; onChanged(); return this; @@ -1987,39 +2205,58 @@ public Builder setDomainBytes( 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 customer was 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 the customer was 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 the customer was 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) { @@ -2035,14 +2272,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time when the customer was 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(); @@ -2053,17 +2293,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Time when the customer was 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; } @@ -2075,11 +2319,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time when the customer was 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) { @@ -2093,48 +2341,64 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Time when the customer was 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 the customer was 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 the customer was 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_; @@ -2142,39 +2406,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 the customer was 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 the customer was 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 the customer was 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) { @@ -2190,14 +2473,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time when the customer was 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(); @@ -2208,17 +2494,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Time when the customer was 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; } @@ -2230,11 +2520,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time when the customer was 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) { @@ -2248,48 +2542,64 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Time when the customer was 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 the customer was 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 the customer was 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_; @@ -2297,19 +2607,21 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object cloudIdentityId_ = ""; /** + * + * *
      * Output only. The customer's Cloud Identity ID if the customer has a Cloud
      * Identity resource.
      * 
* * string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The cloudIdentityId. */ public java.lang.String getCloudIdentityId() { java.lang.Object ref = cloudIdentityId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cloudIdentityId_ = s; return s; @@ -2318,21 +2630,22 @@ public java.lang.String getCloudIdentityId() { } } /** + * + * *
      * Output only. The customer's Cloud Identity ID if the customer has a Cloud
      * Identity resource.
      * 
* * string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for cloudIdentityId. */ - public com.google.protobuf.ByteString - getCloudIdentityIdBytes() { + public com.google.protobuf.ByteString getCloudIdentityIdBytes() { java.lang.Object ref = cloudIdentityId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cloudIdentityId_ = b; return b; } else { @@ -2340,57 +2653,64 @@ public java.lang.String getCloudIdentityId() { } } /** + * + * *
      * Output only. The customer's Cloud Identity ID if the customer has a Cloud
      * Identity resource.
      * 
* * string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The cloudIdentityId to set. * @return This builder for chaining. */ - public Builder setCloudIdentityId( - java.lang.String value) { + public Builder setCloudIdentityId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cloudIdentityId_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The customer's Cloud Identity ID if the customer has a Cloud
      * Identity resource.
      * 
* * string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearCloudIdentityId() { - + cloudIdentityId_ = getDefaultInstance().getCloudIdentityId(); onChanged(); return this; } /** + * + * *
      * Output only. The customer's Cloud Identity ID if the customer has a Cloud
      * Identity resource.
      * 
* * string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for cloudIdentityId to set. * @return This builder for chaining. */ - public Builder setCloudIdentityIdBytes( - com.google.protobuf.ByteString value) { + public Builder setCloudIdentityIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cloudIdentityId_ = value; onChanged(); return this; @@ -2398,6 +2718,8 @@ public Builder setCloudIdentityIdBytes( private java.lang.Object languageCode_ = ""; /** + * + * *
      * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
      * information, see
@@ -2405,13 +2727,13 @@ public Builder setCloudIdentityIdBytes(
      * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -2420,6 +2742,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
      * information, see
@@ -2427,15 +2751,14 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -2443,6 +2766,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
      * information, see
@@ -2450,20 +2775,22 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode( - java.lang.String value) { + public Builder setLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
      * information, see
@@ -2471,15 +2798,18 @@ public Builder setLanguageCode(
      * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** + * + * *
      * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
      * information, see
@@ -2487,16 +2817,16 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; onChanged(); return this; @@ -2504,42 +2834,61 @@ public Builder setLanguageCodeBytes( private com.google.cloud.channel.v1.CloudIdentityInfo cloudIdentityInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CloudIdentityInfo, com.google.cloud.channel.v1.CloudIdentityInfo.Builder, com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder> cloudIdentityInfoBuilder_; + com.google.cloud.channel.v1.CloudIdentityInfo, + com.google.cloud.channel.v1.CloudIdentityInfo.Builder, + com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder> + cloudIdentityInfoBuilder_; /** + * + * *
      * Output only. Cloud Identity information for the customer.
      * Populated only if a Cloud Identity account exists for this customer.
      * 
* - * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the cloudIdentityInfo field is set. */ public boolean hasCloudIdentityInfo() { return cloudIdentityInfoBuilder_ != null || cloudIdentityInfo_ != null; } /** + * + * *
      * Output only. Cloud Identity information for the customer.
      * Populated only if a Cloud Identity account exists for this customer.
      * 
* - * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The cloudIdentityInfo. */ public com.google.cloud.channel.v1.CloudIdentityInfo getCloudIdentityInfo() { if (cloudIdentityInfoBuilder_ == null) { - return cloudIdentityInfo_ == null ? com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() : cloudIdentityInfo_; + return cloudIdentityInfo_ == null + ? com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() + : cloudIdentityInfo_; } else { return cloudIdentityInfoBuilder_.getMessage(); } } /** + * + * *
      * Output only. Cloud Identity information for the customer.
      * Populated only if a Cloud Identity account exists for this customer.
      * 
* - * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCloudIdentityInfo(com.google.cloud.channel.v1.CloudIdentityInfo value) { if (cloudIdentityInfoBuilder_ == null) { @@ -2555,12 +2904,16 @@ public Builder setCloudIdentityInfo(com.google.cloud.channel.v1.CloudIdentityInf return this; } /** + * + * *
      * Output only. Cloud Identity information for the customer.
      * Populated only if a Cloud Identity account exists for this customer.
      * 
* - * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCloudIdentityInfo( com.google.cloud.channel.v1.CloudIdentityInfo.Builder builderForValue) { @@ -2574,18 +2927,24 @@ public Builder setCloudIdentityInfo( return this; } /** + * + * *
      * Output only. Cloud Identity information for the customer.
      * Populated only if a Cloud Identity account exists for this customer.
      * 
* - * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCloudIdentityInfo(com.google.cloud.channel.v1.CloudIdentityInfo value) { if (cloudIdentityInfoBuilder_ == null) { if (cloudIdentityInfo_ != null) { cloudIdentityInfo_ = - com.google.cloud.channel.v1.CloudIdentityInfo.newBuilder(cloudIdentityInfo_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.CloudIdentityInfo.newBuilder(cloudIdentityInfo_) + .mergeFrom(value) + .buildPartial(); } else { cloudIdentityInfo_ = value; } @@ -2597,12 +2956,16 @@ public Builder mergeCloudIdentityInfo(com.google.cloud.channel.v1.CloudIdentityI return this; } /** + * + * *
      * Output only. Cloud Identity information for the customer.
      * Populated only if a Cloud Identity account exists for this customer.
      * 
* - * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCloudIdentityInfo() { if (cloudIdentityInfoBuilder_ == null) { @@ -2616,51 +2979,67 @@ public Builder clearCloudIdentityInfo() { return this; } /** + * + * *
      * Output only. Cloud Identity information for the customer.
      * Populated only if a Cloud Identity account exists for this customer.
      * 
* - * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.channel.v1.CloudIdentityInfo.Builder getCloudIdentityInfoBuilder() { - + onChanged(); return getCloudIdentityInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Cloud Identity information for the customer.
      * Populated only if a Cloud Identity account exists for this customer.
      * 
* - * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder getCloudIdentityInfoOrBuilder() { if (cloudIdentityInfoBuilder_ != null) { return cloudIdentityInfoBuilder_.getMessageOrBuilder(); } else { - return cloudIdentityInfo_ == null ? - com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() : cloudIdentityInfo_; + return cloudIdentityInfo_ == null + ? com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() + : cloudIdentityInfo_; } } /** + * + * *
      * Output only. Cloud Identity information for the customer.
      * Populated only if a Cloud Identity account exists for this customer.
      * 
* - * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CloudIdentityInfo, com.google.cloud.channel.v1.CloudIdentityInfo.Builder, com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder> + com.google.cloud.channel.v1.CloudIdentityInfo, + com.google.cloud.channel.v1.CloudIdentityInfo.Builder, + com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder> getCloudIdentityInfoFieldBuilder() { if (cloudIdentityInfoBuilder_ == null) { - cloudIdentityInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CloudIdentityInfo, com.google.cloud.channel.v1.CloudIdentityInfo.Builder, com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder>( - getCloudIdentityInfo(), - getParentForChildren(), - isClean()); + cloudIdentityInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.CloudIdentityInfo, + com.google.cloud.channel.v1.CloudIdentityInfo.Builder, + com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder>( + getCloudIdentityInfo(), getParentForChildren(), isClean()); cloudIdentityInfo_ = null; } return cloudIdentityInfoBuilder_; @@ -2668,19 +3047,21 @@ public com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder getCloudIdentityIn private java.lang.Object channelPartnerId_ = ""; /** + * + * *
      * Cloud Identity ID of the customer's channel partner.
      * Populated only if a channel partner exists for this customer.
      * 
* * string channel_partner_id = 13; + * * @return The channelPartnerId. */ public java.lang.String getChannelPartnerId() { java.lang.Object ref = channelPartnerId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); channelPartnerId_ = s; return s; @@ -2689,21 +3070,22 @@ public java.lang.String getChannelPartnerId() { } } /** + * + * *
      * Cloud Identity ID of the customer's channel partner.
      * Populated only if a channel partner exists for this customer.
      * 
* * string channel_partner_id = 13; + * * @return The bytes for channelPartnerId. */ - public com.google.protobuf.ByteString - getChannelPartnerIdBytes() { + public com.google.protobuf.ByteString getChannelPartnerIdBytes() { java.lang.Object ref = channelPartnerId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); channelPartnerId_ = b; return b; } else { @@ -2711,64 +3093,71 @@ public java.lang.String getChannelPartnerId() { } } /** + * + * *
      * Cloud Identity ID of the customer's channel partner.
      * Populated only if a channel partner exists for this customer.
      * 
* * string channel_partner_id = 13; + * * @param value The channelPartnerId to set. * @return This builder for chaining. */ - public Builder setChannelPartnerId( - java.lang.String value) { + public Builder setChannelPartnerId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + channelPartnerId_ = value; onChanged(); return this; } /** + * + * *
      * Cloud Identity ID of the customer's channel partner.
      * Populated only if a channel partner exists for this customer.
      * 
* * string channel_partner_id = 13; + * * @return This builder for chaining. */ public Builder clearChannelPartnerId() { - + channelPartnerId_ = getDefaultInstance().getChannelPartnerId(); onChanged(); return this; } /** + * + * *
      * Cloud Identity ID of the customer's channel partner.
      * Populated only if a channel partner exists for this customer.
      * 
* * string channel_partner_id = 13; + * * @param value The bytes for channelPartnerId to set. * @return This builder for chaining. */ - public Builder setChannelPartnerIdBytes( - com.google.protobuf.ByteString value) { + public Builder setChannelPartnerIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + channelPartnerId_ = 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); } @@ -2778,12 +3167,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.Customer) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.Customer) private static final com.google.cloud.channel.v1.Customer DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.Customer(); } @@ -2792,27 +3181,27 @@ public static com.google.cloud.channel.v1.Customer getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Customer parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Customer parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2827,6 +3216,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Customer getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraints.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraints.java similarity index 69% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraints.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraints.java index 3f3e7a7b0466..1048f167145a 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraints.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraints.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/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; /** + * + * *
  * Represents constraints required to purchase the Offer for a customer.
  * 
* * Protobuf type {@code google.cloud.channel.v1.CustomerConstraints} */ -public final class CustomerConstraints extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CustomerConstraints extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.CustomerConstraints) CustomerConstraintsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CustomerConstraints.newBuilder() to construct. private CustomerConstraints(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CustomerConstraints() { allowedRegions_ = com.google.protobuf.LazyStringArrayList.EMPTY; allowedCustomerTypes_ = java.util.Collections.emptyList(); @@ -27,60 +45,69 @@ private CustomerConstraints() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CustomerConstraints(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_CustomerConstraints_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.OffersProto + .internal_static_google_cloud_channel_v1_CustomerConstraints_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_CustomerConstraints_fieldAccessorTable + return com.google.cloud.channel.v1.OffersProto + .internal_static_google_cloud_channel_v1_CustomerConstraints_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.CustomerConstraints.class, com.google.cloud.channel.v1.CustomerConstraints.Builder.class); + com.google.cloud.channel.v1.CustomerConstraints.class, + com.google.cloud.channel.v1.CustomerConstraints.Builder.class); } public static final int ALLOWED_REGIONS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList allowedRegions_; /** + * + * *
    * Allowed geographical regions of the customer.
    * 
* * repeated string allowed_regions = 1; + * * @return A list containing the allowedRegions. */ - public com.google.protobuf.ProtocolStringList - getAllowedRegionsList() { + public com.google.protobuf.ProtocolStringList getAllowedRegionsList() { return allowedRegions_; } /** + * + * *
    * Allowed geographical regions of the customer.
    * 
* * repeated string allowed_regions = 1; + * * @return The count of allowedRegions. */ public int getAllowedRegionsCount() { return allowedRegions_.size(); } /** + * + * *
    * Allowed geographical regions of the customer.
    * 
* * repeated string allowed_regions = 1; + * * @param index The index of the element to return. * @return The allowedRegions at the given index. */ @@ -88,50 +115,69 @@ public java.lang.String getAllowedRegions(int index) { return allowedRegions_.get(index); } /** + * + * *
    * Allowed geographical regions of the customer.
    * 
* * repeated string allowed_regions = 1; + * * @param index The index of the value to return. * @return The bytes of the allowedRegions at the given index. */ - public com.google.protobuf.ByteString - getAllowedRegionsBytes(int index) { + public com.google.protobuf.ByteString getAllowedRegionsBytes(int index) { return allowedRegions_.getByteString(index); } public static final int ALLOWED_CUSTOMER_TYPES_FIELD_NUMBER = 2; private java.util.List allowedCustomerTypes_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType> allowedCustomerTypes_converter_ = + java.lang.Integer, com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType> + allowedCustomerTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType>() { - public com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType convert(java.lang.Integer from) { + public com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType convert( + java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType result = com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType.valueOf(from); - return result == null ? com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType.UNRECOGNIZED : result; + com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType result = + com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType.valueOf(from); + return result == null + ? com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType.UNRECOGNIZED + : result; } }; /** + * + * *
    * Allowed Customer Type.
    * 
* - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * * @return A list containing the allowedCustomerTypes. */ @java.lang.Override - public java.util.List getAllowedCustomerTypesList() { + public java.util.List + getAllowedCustomerTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType>(allowedCustomerTypes_, allowedCustomerTypes_converter_); + java.lang.Integer, com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType>( + allowedCustomerTypes_, allowedCustomerTypes_converter_); } /** + * + * *
    * Allowed Customer Type.
    * 
* - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * * @return The count of allowedCustomerTypes. */ @java.lang.Override @@ -139,37 +185,52 @@ public int getAllowedCustomerTypesCount() { return allowedCustomerTypes_.size(); } /** + * + * *
    * Allowed Customer Type.
    * 
* - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * * @param index The index of the element to return. * @return The allowedCustomerTypes at the given index. */ @java.lang.Override - public com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType getAllowedCustomerTypes(int index) { + public com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType getAllowedCustomerTypes( + int index) { return allowedCustomerTypes_converter_.convert(allowedCustomerTypes_.get(index)); } /** + * + * *
    * Allowed Customer Type.
    * 
* - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * * @return A list containing the enum numeric values on the wire for allowedCustomerTypes. */ @java.lang.Override - public java.util.List - getAllowedCustomerTypesValueList() { + public java.util.List getAllowedCustomerTypesValueList() { return allowedCustomerTypes_; } /** + * + * *
    * Allowed Customer Type.
    * 
* - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of allowedCustomerTypes at the given index. */ @@ -177,39 +238,55 @@ public com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType getAllowedCust public int getAllowedCustomerTypesValue(int index) { return allowedCustomerTypes_.get(index); } + private int allowedCustomerTypesMemoizedSerializedSize; public static final int PROMOTIONAL_ORDER_TYPES_FIELD_NUMBER = 3; private java.util.List promotionalOrderTypes_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.channel.v1.PromotionalOrderType> promotionalOrderTypes_converter_ = + java.lang.Integer, com.google.cloud.channel.v1.PromotionalOrderType> + promotionalOrderTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.channel.v1.PromotionalOrderType>() { - public com.google.cloud.channel.v1.PromotionalOrderType convert(java.lang.Integer from) { + public com.google.cloud.channel.v1.PromotionalOrderType convert( + java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.PromotionalOrderType result = com.google.cloud.channel.v1.PromotionalOrderType.valueOf(from); - return result == null ? com.google.cloud.channel.v1.PromotionalOrderType.UNRECOGNIZED : result; + com.google.cloud.channel.v1.PromotionalOrderType result = + com.google.cloud.channel.v1.PromotionalOrderType.valueOf(from); + return result == null + ? com.google.cloud.channel.v1.PromotionalOrderType.UNRECOGNIZED + : result; } }; /** + * + * *
    * Allowed Promotional Order Type. Present for Promotional offers.
    * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * + * * @return A list containing the promotionalOrderTypes. */ @java.lang.Override - public java.util.List getPromotionalOrderTypesList() { + public java.util.List + getPromotionalOrderTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.channel.v1.PromotionalOrderType>(promotionalOrderTypes_, promotionalOrderTypes_converter_); + java.lang.Integer, com.google.cloud.channel.v1.PromotionalOrderType>( + promotionalOrderTypes_, promotionalOrderTypes_converter_); } /** + * + * *
    * Allowed Promotional Order Type. Present for Promotional offers.
    * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * + * * @return The count of promotionalOrderTypes. */ @java.lang.Override @@ -217,11 +294,15 @@ public int getPromotionalOrderTypesCount() { return promotionalOrderTypes_.size(); } /** + * + * *
    * Allowed Promotional Order Type. Present for Promotional offers.
    * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * + * * @param index The index of the element to return. * @return The promotionalOrderTypes at the given index. */ @@ -230,24 +311,31 @@ public com.google.cloud.channel.v1.PromotionalOrderType getPromotionalOrderTypes return promotionalOrderTypes_converter_.convert(promotionalOrderTypes_.get(index)); } /** + * + * *
    * Allowed Promotional Order Type. Present for Promotional offers.
    * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * + * * @return A list containing the enum numeric values on the wire for promotionalOrderTypes. */ @java.lang.Override - public java.util.List - getPromotionalOrderTypesValueList() { + public java.util.List getPromotionalOrderTypesValueList() { return promotionalOrderTypes_; } /** + * + * *
    * Allowed Promotional Order Type. Present for Promotional offers.
    * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of promotionalOrderTypes at the given index. */ @@ -255,9 +343,11 @@ public com.google.cloud.channel.v1.PromotionalOrderType getPromotionalOrderTypes public int getPromotionalOrderTypesValue(int index) { return promotionalOrderTypes_.get(index); } + private int promotionalOrderTypesMemoizedSerializedSize; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,8 +359,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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(); for (int i = 0; i < allowedRegions_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, allowedRegions_.getRaw(i)); @@ -309,26 +398,30 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < allowedCustomerTypes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(allowedCustomerTypes_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag( + allowedCustomerTypes_.get(i)); } size += dataSize; - if (!getAllowedCustomerTypesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }allowedCustomerTypesMemoizedSerializedSize = dataSize; + if (!getAllowedCustomerTypesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + allowedCustomerTypesMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < promotionalOrderTypes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(promotionalOrderTypes_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag( + promotionalOrderTypes_.get(i)); } size += dataSize; - if (!getPromotionalOrderTypesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }promotionalOrderTypesMemoizedSerializedSize = dataSize; + if (!getPromotionalOrderTypesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + promotionalOrderTypesMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -338,15 +431,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.CustomerConstraints)) { return super.equals(obj); } - com.google.cloud.channel.v1.CustomerConstraints other = (com.google.cloud.channel.v1.CustomerConstraints) obj; + com.google.cloud.channel.v1.CustomerConstraints other = + (com.google.cloud.channel.v1.CustomerConstraints) obj; - if (!getAllowedRegionsList() - .equals(other.getAllowedRegionsList())) return false; + if (!getAllowedRegionsList().equals(other.getAllowedRegionsList())) return false; if (!allowedCustomerTypes_.equals(other.allowedCustomerTypes_)) return false; if (!promotionalOrderTypes_.equals(other.promotionalOrderTypes_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -377,130 +470,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.CustomerConstraints parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.CustomerConstraints parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CustomerConstraints parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.CustomerConstraints parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CustomerConstraints parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.CustomerConstraints parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CustomerConstraints parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.CustomerConstraints 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.cloud.channel.v1.CustomerConstraints parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.CustomerConstraints parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.CustomerConstraints parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CustomerConstraints parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.CustomerConstraints parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CustomerConstraints parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.CustomerConstraints prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents constraints required to purchase the Offer for a customer.
    * 
* * Protobuf type {@code google.cloud.channel.v1.CustomerConstraints} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.CustomerConstraints) com.google.cloud.channel.v1.CustomerConstraintsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_CustomerConstraints_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.OffersProto + .internal_static_google_cloud_channel_v1_CustomerConstraints_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_CustomerConstraints_fieldAccessorTable + return com.google.cloud.channel.v1.OffersProto + .internal_static_google_cloud_channel_v1_CustomerConstraints_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.CustomerConstraints.class, com.google.cloud.channel.v1.CustomerConstraints.Builder.class); + com.google.cloud.channel.v1.CustomerConstraints.class, + com.google.cloud.channel.v1.CustomerConstraints.Builder.class); } // Construct using com.google.cloud.channel.v1.CustomerConstraints.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -514,9 +613,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_CustomerConstraints_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.OffersProto + .internal_static_google_cloud_channel_v1_CustomerConstraints_descriptor; } @java.lang.Override @@ -535,7 +634,8 @@ public com.google.cloud.channel.v1.CustomerConstraints build() { @java.lang.Override public com.google.cloud.channel.v1.CustomerConstraints buildPartial() { - com.google.cloud.channel.v1.CustomerConstraints result = new com.google.cloud.channel.v1.CustomerConstraints(this); + com.google.cloud.channel.v1.CustomerConstraints result = + new com.google.cloud.channel.v1.CustomerConstraints(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { allowedRegions_ = allowedRegions_.getUnmodifiableView(); @@ -560,38 +660,39 @@ public com.google.cloud.channel.v1.CustomerConstraints 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.cloud.channel.v1.CustomerConstraints) { - return mergeFrom((com.google.cloud.channel.v1.CustomerConstraints)other); + return mergeFrom((com.google.cloud.channel.v1.CustomerConstraints) other); } else { super.mergeFrom(other); return this; @@ -599,7 +700,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.CustomerConstraints other) { - if (other == com.google.cloud.channel.v1.CustomerConstraints.getDefaultInstance()) return this; + if (other == com.google.cloud.channel.v1.CustomerConstraints.getDefaultInstance()) + return this; if (!other.allowedRegions_.isEmpty()) { if (allowedRegions_.isEmpty()) { allowedRegions_ = other.allowedRegions_; @@ -656,52 +758,58 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureAllowedRegionsIsMutable(); - allowedRegions_.add(s); - break; - } // case 10 - case 16: { - int tmpRaw = input.readEnum(); - ensureAllowedCustomerTypesIsMutable(); - allowedCustomerTypes_.add(tmpRaw); - break; - } // case 16 - case 18: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureAllowedRegionsIsMutable(); + allowedRegions_.add(s); + break; + } // case 10 + case 16: + { int tmpRaw = input.readEnum(); ensureAllowedCustomerTypesIsMutable(); allowedCustomerTypes_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 18 - case 24: { - int tmpRaw = input.readEnum(); - ensurePromotionalOrderTypesIsMutable(); - promotionalOrderTypes_.add(tmpRaw); - break; - } // case 24 - case 26: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + break; + } // case 16 + case 18: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureAllowedCustomerTypesIsMutable(); + allowedCustomerTypes_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 18 + case 24: + { int tmpRaw = input.readEnum(); ensurePromotionalOrderTypesIsMutable(); promotionalOrderTypes_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 24 + case 26: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensurePromotionalOrderTypesIsMutable(); + promotionalOrderTypes_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -711,44 +819,55 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList allowedRegions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList allowedRegions_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureAllowedRegionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { allowedRegions_ = new com.google.protobuf.LazyStringArrayList(allowedRegions_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Allowed geographical regions of the customer.
      * 
* * repeated string allowed_regions = 1; + * * @return A list containing the allowedRegions. */ - public com.google.protobuf.ProtocolStringList - getAllowedRegionsList() { + public com.google.protobuf.ProtocolStringList getAllowedRegionsList() { return allowedRegions_.getUnmodifiableView(); } /** + * + * *
      * Allowed geographical regions of the customer.
      * 
* * repeated string allowed_regions = 1; + * * @return The count of allowedRegions. */ public int getAllowedRegionsCount() { return allowedRegions_.size(); } /** + * + * *
      * Allowed geographical regions of the customer.
      * 
* * repeated string allowed_regions = 1; + * * @param index The index of the element to return. * @return The allowedRegions at the given index. */ @@ -756,80 +875,90 @@ public java.lang.String getAllowedRegions(int index) { return allowedRegions_.get(index); } /** + * + * *
      * Allowed geographical regions of the customer.
      * 
* * repeated string allowed_regions = 1; + * * @param index The index of the value to return. * @return The bytes of the allowedRegions at the given index. */ - public com.google.protobuf.ByteString - getAllowedRegionsBytes(int index) { + public com.google.protobuf.ByteString getAllowedRegionsBytes(int index) { return allowedRegions_.getByteString(index); } /** + * + * *
      * Allowed geographical regions of the customer.
      * 
* * repeated string allowed_regions = 1; + * * @param index The index to set the value at. * @param value The allowedRegions to set. * @return This builder for chaining. */ - public Builder setAllowedRegions( - int index, java.lang.String value) { + public Builder setAllowedRegions(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAllowedRegionsIsMutable(); + throw new NullPointerException(); + } + ensureAllowedRegionsIsMutable(); allowedRegions_.set(index, value); onChanged(); return this; } /** + * + * *
      * Allowed geographical regions of the customer.
      * 
* * repeated string allowed_regions = 1; + * * @param value The allowedRegions to add. * @return This builder for chaining. */ - public Builder addAllowedRegions( - java.lang.String value) { + public Builder addAllowedRegions(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAllowedRegionsIsMutable(); + throw new NullPointerException(); + } + ensureAllowedRegionsIsMutable(); allowedRegions_.add(value); onChanged(); return this; } /** + * + * *
      * Allowed geographical regions of the customer.
      * 
* * repeated string allowed_regions = 1; + * * @param values The allowedRegions to add. * @return This builder for chaining. */ - public Builder addAllAllowedRegions( - java.lang.Iterable values) { + public Builder addAllAllowedRegions(java.lang.Iterable values) { ensureAllowedRegionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, allowedRegions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedRegions_); onChanged(); return this; } /** + * + * *
      * Allowed geographical regions of the customer.
      * 
* * repeated string allowed_regions = 1; + * * @return This builder for chaining. */ public Builder clearAllowedRegions() { @@ -839,20 +968,22 @@ public Builder clearAllowedRegions() { return this; } /** + * + * *
      * Allowed geographical regions of the customer.
      * 
* * repeated string allowed_regions = 1; + * * @param value The bytes of the allowedRegions to add. * @return This builder for chaining. */ - public Builder addAllowedRegionsBytes( - com.google.protobuf.ByteString value) { + public Builder addAllowedRegionsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAllowedRegionsIsMutable(); allowedRegions_.add(value); onChanged(); @@ -860,7 +991,8 @@ public Builder addAllowedRegionsBytes( } private java.util.List allowedCustomerTypes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAllowedCustomerTypesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { allowedCustomerTypes_ = new java.util.ArrayList(allowedCustomerTypes_); @@ -868,46 +1000,69 @@ private void ensureAllowedCustomerTypesIsMutable() { } } /** + * + * *
      * Allowed Customer Type.
      * 
* - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * * @return A list containing the allowedCustomerTypes. */ - public java.util.List getAllowedCustomerTypesList() { + public java.util.List + getAllowedCustomerTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType>(allowedCustomerTypes_, allowedCustomerTypes_converter_); + java.lang.Integer, com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType>( + allowedCustomerTypes_, allowedCustomerTypes_converter_); } /** + * + * *
      * Allowed Customer Type.
      * 
* - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * * @return The count of allowedCustomerTypes. */ public int getAllowedCustomerTypesCount() { return allowedCustomerTypes_.size(); } /** + * + * *
      * Allowed Customer Type.
      * 
* - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * * @param index The index of the element to return. * @return The allowedCustomerTypes at the given index. */ - public com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType getAllowedCustomerTypes(int index) { + public com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType getAllowedCustomerTypes( + int index) { return allowedCustomerTypes_converter_.convert(allowedCustomerTypes_.get(index)); } /** + * + * *
      * Allowed Customer Type.
      * 
* - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * * @param index The index to set the value at. * @param value The allowedCustomerTypes to set. * @return This builder for chaining. @@ -923,15 +1078,21 @@ public Builder setAllowedCustomerTypes( return this; } /** + * + * *
      * Allowed Customer Type.
      * 
* - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * * @param value The allowedCustomerTypes to add. * @return This builder for chaining. */ - public Builder addAllowedCustomerTypes(com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType value) { + public Builder addAllowedCustomerTypes( + com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType value) { if (value == null) { throw new NullPointerException(); } @@ -941,16 +1102,22 @@ public Builder addAllowedCustomerTypes(com.google.cloud.channel.v1.CloudIdentity return this; } /** + * + * *
      * Allowed Customer Type.
      * 
* - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * * @param values The allowedCustomerTypes to add. * @return This builder for chaining. */ public Builder addAllAllowedCustomerTypes( - java.lang.Iterable values) { + java.lang.Iterable + values) { ensureAllowedCustomerTypesIsMutable(); for (com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType value : values) { allowedCustomerTypes_.add(value.getNumber()); @@ -959,11 +1126,16 @@ public Builder addAllAllowedCustomerTypes( return this; } /** + * + * *
      * Allowed Customer Type.
      * 
* - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * * @return This builder for chaining. */ public Builder clearAllowedCustomerTypes() { @@ -973,23 +1145,32 @@ public Builder clearAllowedCustomerTypes() { return this; } /** + * + * *
      * Allowed Customer Type.
      * 
* - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * * @return A list containing the enum numeric values on the wire for allowedCustomerTypes. */ - public java.util.List - getAllowedCustomerTypesValueList() { + public java.util.List getAllowedCustomerTypesValueList() { return java.util.Collections.unmodifiableList(allowedCustomerTypes_); } /** + * + * *
      * Allowed Customer Type.
      * 
* - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of allowedCustomerTypes at the given index. */ @@ -997,28 +1178,37 @@ public int getAllowedCustomerTypesValue(int index) { return allowedCustomerTypes_.get(index); } /** + * + * *
      * Allowed Customer Type.
      * 
* - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for allowedCustomerTypes to set. * @return This builder for chaining. */ - public Builder setAllowedCustomerTypesValue( - int index, int value) { + public Builder setAllowedCustomerTypesValue(int index, int value) { ensureAllowedCustomerTypesIsMutable(); allowedCustomerTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * Allowed Customer Type.
      * 
* - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * * @param value The enum numeric value on the wire for allowedCustomerTypes to add. * @return This builder for chaining. */ @@ -1029,16 +1219,20 @@ public Builder addAllowedCustomerTypesValue(int value) { return this; } /** + * + * *
      * Allowed Customer Type.
      * 
* - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * * @param values The enum numeric values on the wire for allowedCustomerTypes to add. * @return This builder for chaining. */ - public Builder addAllAllowedCustomerTypesValue( - java.lang.Iterable values) { + public Builder addAllAllowedCustomerTypesValue(java.lang.Iterable values) { ensureAllowedCustomerTypesIsMutable(); for (int value : values) { allowedCustomerTypes_.add(value); @@ -1048,7 +1242,8 @@ public Builder addAllAllowedCustomerTypesValue( } private java.util.List promotionalOrderTypes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePromotionalOrderTypesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { promotionalOrderTypes_ = new java.util.ArrayList(promotionalOrderTypes_); @@ -1056,34 +1251,48 @@ private void ensurePromotionalOrderTypesIsMutable() { } } /** + * + * *
      * Allowed Promotional Order Type. Present for Promotional offers.
      * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * + * * @return A list containing the promotionalOrderTypes. */ - public java.util.List getPromotionalOrderTypesList() { + public java.util.List + getPromotionalOrderTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.channel.v1.PromotionalOrderType>(promotionalOrderTypes_, promotionalOrderTypes_converter_); + java.lang.Integer, com.google.cloud.channel.v1.PromotionalOrderType>( + promotionalOrderTypes_, promotionalOrderTypes_converter_); } /** + * + * *
      * Allowed Promotional Order Type. Present for Promotional offers.
      * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * + * * @return The count of promotionalOrderTypes. */ public int getPromotionalOrderTypesCount() { return promotionalOrderTypes_.size(); } /** + * + * *
      * Allowed Promotional Order Type. Present for Promotional offers.
      * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * + * * @param index The index of the element to return. * @return The promotionalOrderTypes at the given index. */ @@ -1091,11 +1300,15 @@ public com.google.cloud.channel.v1.PromotionalOrderType getPromotionalOrderTypes return promotionalOrderTypes_converter_.convert(promotionalOrderTypes_.get(index)); } /** + * + * *
      * Allowed Promotional Order Type. Present for Promotional offers.
      * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * + * * @param index The index to set the value at. * @param value The promotionalOrderTypes to set. * @return This builder for chaining. @@ -1111,15 +1324,20 @@ public Builder setPromotionalOrderTypes( return this; } /** + * + * *
      * Allowed Promotional Order Type. Present for Promotional offers.
      * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * + * * @param value The promotionalOrderTypes to add. * @return This builder for chaining. */ - public Builder addPromotionalOrderTypes(com.google.cloud.channel.v1.PromotionalOrderType value) { + public Builder addPromotionalOrderTypes( + com.google.cloud.channel.v1.PromotionalOrderType value) { if (value == null) { throw new NullPointerException(); } @@ -1129,11 +1347,15 @@ public Builder addPromotionalOrderTypes(com.google.cloud.channel.v1.PromotionalO return this; } /** + * + * *
      * Allowed Promotional Order Type. Present for Promotional offers.
      * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * + * * @param values The promotionalOrderTypes to add. * @return This builder for chaining. */ @@ -1147,11 +1369,15 @@ public Builder addAllPromotionalOrderTypes( return this; } /** + * + * *
      * Allowed Promotional Order Type. Present for Promotional offers.
      * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * + * * @return This builder for chaining. */ public Builder clearPromotionalOrderTypes() { @@ -1161,23 +1387,30 @@ public Builder clearPromotionalOrderTypes() { return this; } /** + * + * *
      * Allowed Promotional Order Type. Present for Promotional offers.
      * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * + * * @return A list containing the enum numeric values on the wire for promotionalOrderTypes. */ - public java.util.List - getPromotionalOrderTypesValueList() { + public java.util.List getPromotionalOrderTypesValueList() { return java.util.Collections.unmodifiableList(promotionalOrderTypes_); } /** + * + * *
      * Allowed Promotional Order Type. Present for Promotional offers.
      * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of promotionalOrderTypes at the given index. */ @@ -1185,28 +1418,35 @@ public int getPromotionalOrderTypesValue(int index) { return promotionalOrderTypes_.get(index); } /** + * + * *
      * Allowed Promotional Order Type. Present for Promotional offers.
      * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for promotionalOrderTypes to set. * @return This builder for chaining. */ - public Builder setPromotionalOrderTypesValue( - int index, int value) { + public Builder setPromotionalOrderTypesValue(int index, int value) { ensurePromotionalOrderTypesIsMutable(); promotionalOrderTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * Allowed Promotional Order Type. Present for Promotional offers.
      * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * + * * @param value The enum numeric value on the wire for promotionalOrderTypes to add. * @return This builder for chaining. */ @@ -1217,16 +1457,19 @@ public Builder addPromotionalOrderTypesValue(int value) { return this; } /** + * + * *
      * Allowed Promotional Order Type. Present for Promotional offers.
      * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * + * * @param values The enum numeric values on the wire for promotionalOrderTypes to add. * @return This builder for chaining. */ - public Builder addAllPromotionalOrderTypesValue( - java.lang.Iterable values) { + public Builder addAllPromotionalOrderTypesValue(java.lang.Iterable values) { ensurePromotionalOrderTypesIsMutable(); for (int value : values) { promotionalOrderTypes_.add(value); @@ -1234,9 +1477,9 @@ public Builder addAllPromotionalOrderTypesValue( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1246,12 +1489,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.CustomerConstraints) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.CustomerConstraints) private static final com.google.cloud.channel.v1.CustomerConstraints DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.CustomerConstraints(); } @@ -1260,27 +1503,27 @@ public static com.google.cloud.channel.v1.CustomerConstraints getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomerConstraints parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomerConstraints parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1295,6 +1538,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.CustomerConstraints getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraintsOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraintsOrBuilder.java similarity index 65% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraintsOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraintsOrBuilder.java index df9fa18e78ab..5107108df901 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraintsOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerConstraintsOrBuilder.java @@ -1,146 +1,216 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; -public interface CustomerConstraintsOrBuilder extends +public interface CustomerConstraintsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CustomerConstraints) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Allowed geographical regions of the customer.
    * 
* * repeated string allowed_regions = 1; + * * @return A list containing the allowedRegions. */ - java.util.List - getAllowedRegionsList(); + java.util.List getAllowedRegionsList(); /** + * + * *
    * Allowed geographical regions of the customer.
    * 
* * repeated string allowed_regions = 1; + * * @return The count of allowedRegions. */ int getAllowedRegionsCount(); /** + * + * *
    * Allowed geographical regions of the customer.
    * 
* * repeated string allowed_regions = 1; + * * @param index The index of the element to return. * @return The allowedRegions at the given index. */ java.lang.String getAllowedRegions(int index); /** + * + * *
    * Allowed geographical regions of the customer.
    * 
* * repeated string allowed_regions = 1; + * * @param index The index of the value to return. * @return The bytes of the allowedRegions at the given index. */ - com.google.protobuf.ByteString - getAllowedRegionsBytes(int index); + com.google.protobuf.ByteString getAllowedRegionsBytes(int index); /** + * + * *
    * Allowed Customer Type.
    * 
* - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * * @return A list containing the allowedCustomerTypes. */ - java.util.List getAllowedCustomerTypesList(); + java.util.List + getAllowedCustomerTypesList(); /** + * + * *
    * Allowed Customer Type.
    * 
* - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * * @return The count of allowedCustomerTypes. */ int getAllowedCustomerTypesCount(); /** + * + * *
    * Allowed Customer Type.
    * 
* - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * * @param index The index of the element to return. * @return The allowedCustomerTypes at the given index. */ com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType getAllowedCustomerTypes(int index); /** + * + * *
    * Allowed Customer Type.
    * 
* - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * * @return A list containing the enum numeric values on the wire for allowedCustomerTypes. */ - java.util.List - getAllowedCustomerTypesValueList(); + java.util.List getAllowedCustomerTypesValueList(); /** + * + * *
    * Allowed Customer Type.
    * 
* - * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of allowedCustomerTypes at the given index. */ int getAllowedCustomerTypesValue(int index); /** + * + * *
    * Allowed Promotional Order Type. Present for Promotional offers.
    * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * + * * @return A list containing the promotionalOrderTypes. */ java.util.List getPromotionalOrderTypesList(); /** + * + * *
    * Allowed Promotional Order Type. Present for Promotional offers.
    * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * + * * @return The count of promotionalOrderTypes. */ int getPromotionalOrderTypesCount(); /** + * + * *
    * Allowed Promotional Order Type. Present for Promotional offers.
    * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * + * * @param index The index of the element to return. * @return The promotionalOrderTypes at the given index. */ com.google.cloud.channel.v1.PromotionalOrderType getPromotionalOrderTypes(int index); /** + * + * *
    * Allowed Promotional Order Type. Present for Promotional offers.
    * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * + * * @return A list containing the enum numeric values on the wire for promotionalOrderTypes. */ - java.util.List - getPromotionalOrderTypesValueList(); + java.util.List getPromotionalOrderTypesValueList(); /** + * + * *
    * Allowed Promotional Order Type. Present for Promotional offers.
    * 
* - * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of promotionalOrderTypes at the given index. */ diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEvent.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEvent.java similarity index 69% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEvent.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEvent.java index f12013af0267..097dfe6547b3 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEvent.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEvent.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/cloud/channel/v1/subscriber_event.proto package com.google.cloud.channel.v1; /** + * + * *
  * Represents Pub/Sub message content describing customer update.
  * 
* * Protobuf type {@code google.cloud.channel.v1.CustomerEvent} */ -public final class CustomerEvent extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CustomerEvent extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.CustomerEvent) CustomerEventOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CustomerEvent.newBuilder() to construct. private CustomerEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CustomerEvent() { customer_ = ""; eventType_ = 0; @@ -26,39 +44,43 @@ private CustomerEvent() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CustomerEvent(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.SubscriberEventProto.internal_static_google_cloud_channel_v1_CustomerEvent_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.SubscriberEventProto + .internal_static_google_cloud_channel_v1_CustomerEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.SubscriberEventProto.internal_static_google_cloud_channel_v1_CustomerEvent_fieldAccessorTable + return com.google.cloud.channel.v1.SubscriberEventProto + .internal_static_google_cloud_channel_v1_CustomerEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.CustomerEvent.class, com.google.cloud.channel.v1.CustomerEvent.Builder.class); + com.google.cloud.channel.v1.CustomerEvent.class, + com.google.cloud.channel.v1.CustomerEvent.Builder.class); } /** + * + * *
    * Type of customer event.
    * 
* * Protobuf enum {@code google.cloud.channel.v1.CustomerEvent.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not used.
      * 
@@ -67,6 +89,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
      * Primary domain for customer was changed.
      * 
@@ -75,6 +99,8 @@ public enum Type */ PRIMARY_DOMAIN_CHANGED(1), /** + * + * *
      * Primary domain of the customer has been verified.
      * 
@@ -86,6 +112,8 @@ public enum Type ; /** + * + * *
      * Not used.
      * 
@@ -94,6 +122,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Primary domain for customer was changed.
      * 
@@ -102,6 +132,8 @@ public enum Type */ public static final int PRIMARY_DOMAIN_CHANGED_VALUE = 1; /** + * + * *
      * Primary domain of the customer has been verified.
      * 
@@ -110,7 +142,6 @@ public enum Type */ public static final int PRIMARY_DOMAIN_VERIFIED_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -135,49 +166,49 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return TYPE_UNSPECIFIED; - case 1: return PRIMARY_DOMAIN_CHANGED; - case 2: return PRIMARY_DOMAIN_VERIFIED; - default: return null; + case 0: + return TYPE_UNSPECIFIED; + case 1: + return PRIMARY_DOMAIN_CHANGED; + case 2: + return PRIMARY_DOMAIN_VERIFIED; + 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< - Type> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.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 Type findValueByNumber(int number) { + return Type.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.cloud.channel.v1.CustomerEvent.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type 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,12 +228,15 @@ private Type(int value) { public static final int CUSTOMER_FIELD_NUMBER = 1; private volatile java.lang.Object customer_; /** + * + * *
    * Resource name of the customer.
    * Format: accounts/{account_id}/customers/{customer_id}
    * 
* * string customer = 1 [(.google.api.resource_reference) = { ... } + * * @return The customer. */ @java.lang.Override @@ -211,30 +245,30 @@ public java.lang.String getCustomer() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customer_ = s; return s; } } /** + * + * *
    * Resource name of the customer.
    * Format: accounts/{account_id}/customers/{customer_id}
    * 
* * string customer = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for customer. */ @java.lang.Override - public com.google.protobuf.ByteString - getCustomerBytes() { + public com.google.protobuf.ByteString getCustomerBytes() { java.lang.Object ref = customer_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customer_ = b; return b; } else { @@ -245,31 +279,41 @@ public java.lang.String getCustomer() { public static final int EVENT_TYPE_FIELD_NUMBER = 2; private int eventType_; /** + * + * *
    * Type of event which happened on the customer.
    * 
* * .google.cloud.channel.v1.CustomerEvent.Type event_type = 2; + * * @return The enum numeric value on the wire for eventType. */ - @java.lang.Override public int getEventTypeValue() { + @java.lang.Override + public int getEventTypeValue() { return eventType_; } /** + * + * *
    * Type of event which happened on the customer.
    * 
* * .google.cloud.channel.v1.CustomerEvent.Type event_type = 2; + * * @return The eventType. */ - @java.lang.Override public com.google.cloud.channel.v1.CustomerEvent.Type getEventType() { + @java.lang.Override + public com.google.cloud.channel.v1.CustomerEvent.Type getEventType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.CustomerEvent.Type result = com.google.cloud.channel.v1.CustomerEvent.Type.valueOf(eventType_); + com.google.cloud.channel.v1.CustomerEvent.Type result = + com.google.cloud.channel.v1.CustomerEvent.Type.valueOf(eventType_); return result == null ? com.google.cloud.channel.v1.CustomerEvent.Type.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -281,8 +325,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(customer_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, customer_); } @@ -302,8 +345,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, customer_); } if (eventType_ != com.google.cloud.channel.v1.CustomerEvent.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, eventType_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, eventType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -313,15 +355,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.CustomerEvent)) { return super.equals(obj); } - com.google.cloud.channel.v1.CustomerEvent other = (com.google.cloud.channel.v1.CustomerEvent) obj; + com.google.cloud.channel.v1.CustomerEvent other = + (com.google.cloud.channel.v1.CustomerEvent) obj; - if (!getCustomer() - .equals(other.getCustomer())) return false; + if (!getCustomer().equals(other.getCustomer())) return false; if (eventType_ != other.eventType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -343,130 +385,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.CustomerEvent parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.CustomerEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CustomerEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.CustomerEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CustomerEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.CustomerEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CustomerEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.CustomerEvent 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.cloud.channel.v1.CustomerEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.CustomerEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.CustomerEvent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CustomerEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.CustomerEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CustomerEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.CustomerEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents Pub/Sub message content describing customer update.
    * 
* * Protobuf type {@code google.cloud.channel.v1.CustomerEvent} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.CustomerEvent) com.google.cloud.channel.v1.CustomerEventOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.SubscriberEventProto.internal_static_google_cloud_channel_v1_CustomerEvent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.SubscriberEventProto + .internal_static_google_cloud_channel_v1_CustomerEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.SubscriberEventProto.internal_static_google_cloud_channel_v1_CustomerEvent_fieldAccessorTable + return com.google.cloud.channel.v1.SubscriberEventProto + .internal_static_google_cloud_channel_v1_CustomerEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.CustomerEvent.class, com.google.cloud.channel.v1.CustomerEvent.Builder.class); + com.google.cloud.channel.v1.CustomerEvent.class, + com.google.cloud.channel.v1.CustomerEvent.Builder.class); } // Construct using com.google.cloud.channel.v1.CustomerEvent.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -478,9 +526,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.SubscriberEventProto.internal_static_google_cloud_channel_v1_CustomerEvent_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.SubscriberEventProto + .internal_static_google_cloud_channel_v1_CustomerEvent_descriptor; } @java.lang.Override @@ -499,7 +547,8 @@ public com.google.cloud.channel.v1.CustomerEvent build() { @java.lang.Override public com.google.cloud.channel.v1.CustomerEvent buildPartial() { - com.google.cloud.channel.v1.CustomerEvent result = new com.google.cloud.channel.v1.CustomerEvent(this); + com.google.cloud.channel.v1.CustomerEvent result = + new com.google.cloud.channel.v1.CustomerEvent(this); result.customer_ = customer_; result.eventType_ = eventType_; onBuilt(); @@ -510,38 +559,39 @@ public com.google.cloud.channel.v1.CustomerEvent 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.cloud.channel.v1.CustomerEvent) { - return mergeFrom((com.google.cloud.channel.v1.CustomerEvent)other); + return mergeFrom((com.google.cloud.channel.v1.CustomerEvent) other); } else { super.mergeFrom(other); return this; @@ -583,22 +633,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - customer_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: { - eventType_ = input.readEnum(); - - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + customer_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: + { + eventType_ = input.readEnum(); + + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -611,19 +664,21 @@ public Builder mergeFrom( private java.lang.Object customer_ = ""; /** + * + * *
      * Resource name of the customer.
      * Format: accounts/{account_id}/customers/{customer_id}
      * 
* * string customer = 1 [(.google.api.resource_reference) = { ... } + * * @return The customer. */ public java.lang.String getCustomer() { java.lang.Object ref = customer_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customer_ = s; return s; @@ -632,21 +687,22 @@ public java.lang.String getCustomer() { } } /** + * + * *
      * Resource name of the customer.
      * Format: accounts/{account_id}/customers/{customer_id}
      * 
* * string customer = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for customer. */ - public com.google.protobuf.ByteString - getCustomerBytes() { + public com.google.protobuf.ByteString getCustomerBytes() { java.lang.Object ref = customer_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customer_ = b; return b; } else { @@ -654,57 +710,64 @@ public java.lang.String getCustomer() { } } /** + * + * *
      * Resource name of the customer.
      * Format: accounts/{account_id}/customers/{customer_id}
      * 
* * string customer = 1 [(.google.api.resource_reference) = { ... } + * * @param value The customer to set. * @return This builder for chaining. */ - public Builder setCustomer( - java.lang.String value) { + public Builder setCustomer(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + customer_ = value; onChanged(); return this; } /** + * + * *
      * Resource name of the customer.
      * Format: accounts/{account_id}/customers/{customer_id}
      * 
* * string customer = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearCustomer() { - + customer_ = getDefaultInstance().getCustomer(); onChanged(); return this; } /** + * + * *
      * Resource name of the customer.
      * Format: accounts/{account_id}/customers/{customer_id}
      * 
* * string customer = 1 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for customer to set. * @return This builder for chaining. */ - public Builder setCustomerBytes( - com.google.protobuf.ByteString value) { + public Builder setCustomerBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + customer_ = value; onChanged(); return this; @@ -712,51 +775,65 @@ public Builder setCustomerBytes( private int eventType_ = 0; /** + * + * *
      * Type of event which happened on the customer.
      * 
* * .google.cloud.channel.v1.CustomerEvent.Type event_type = 2; + * * @return The enum numeric value on the wire for eventType. */ - @java.lang.Override public int getEventTypeValue() { + @java.lang.Override + public int getEventTypeValue() { return eventType_; } /** + * + * *
      * Type of event which happened on the customer.
      * 
* * .google.cloud.channel.v1.CustomerEvent.Type event_type = 2; + * * @param value The enum numeric value on the wire for eventType to set. * @return This builder for chaining. */ public Builder setEventTypeValue(int value) { - + eventType_ = value; onChanged(); return this; } /** + * + * *
      * Type of event which happened on the customer.
      * 
* * .google.cloud.channel.v1.CustomerEvent.Type event_type = 2; + * * @return The eventType. */ @java.lang.Override public com.google.cloud.channel.v1.CustomerEvent.Type getEventType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.CustomerEvent.Type result = com.google.cloud.channel.v1.CustomerEvent.Type.valueOf(eventType_); + com.google.cloud.channel.v1.CustomerEvent.Type result = + com.google.cloud.channel.v1.CustomerEvent.Type.valueOf(eventType_); return result == null ? com.google.cloud.channel.v1.CustomerEvent.Type.UNRECOGNIZED : result; } /** + * + * *
      * Type of event which happened on the customer.
      * 
* * .google.cloud.channel.v1.CustomerEvent.Type event_type = 2; + * * @param value The eventType to set. * @return This builder for chaining. */ @@ -764,28 +841,31 @@ public Builder setEventType(com.google.cloud.channel.v1.CustomerEvent.Type value if (value == null) { throw new NullPointerException(); } - + eventType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Type of event which happened on the customer.
      * 
* * .google.cloud.channel.v1.CustomerEvent.Type event_type = 2; + * * @return This builder for chaining. */ public Builder clearEventType() { - + eventType_ = 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); } @@ -795,12 +875,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.CustomerEvent) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.CustomerEvent) private static final com.google.cloud.channel.v1.CustomerEvent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.CustomerEvent(); } @@ -809,27 +889,27 @@ public static com.google.cloud.channel.v1.CustomerEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomerEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomerEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -844,6 +924,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.CustomerEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEventOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEventOrBuilder.java similarity index 63% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEventOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEventOrBuilder.java index d637b572c76a..89016c0b5514 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEventOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerEventOrBuilder.java @@ -1,49 +1,76 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/subscriber_event.proto package com.google.cloud.channel.v1; -public interface CustomerEventOrBuilder extends +public interface CustomerEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CustomerEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Resource name of the customer.
    * Format: accounts/{account_id}/customers/{customer_id}
    * 
* * string customer = 1 [(.google.api.resource_reference) = { ... } + * * @return The customer. */ java.lang.String getCustomer(); /** + * + * *
    * Resource name of the customer.
    * Format: accounts/{account_id}/customers/{customer_id}
    * 
* * string customer = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for customer. */ - com.google.protobuf.ByteString - getCustomerBytes(); + com.google.protobuf.ByteString getCustomerBytes(); /** + * + * *
    * Type of event which happened on the customer.
    * 
* * .google.cloud.channel.v1.CustomerEvent.Type event_type = 2; + * * @return The enum numeric value on the wire for eventType. */ int getEventTypeValue(); /** + * + * *
    * Type of event which happened on the customer.
    * 
* * .google.cloud.channel.v1.CustomerEvent.Type event_type = 2; + * * @return The eventType. */ com.google.cloud.channel.v1.CustomerEvent.Type getEventType(); diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerName.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerName.java similarity index 100% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerName.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerName.java diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerOrBuilder.java similarity index 77% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerOrBuilder.java index 3fe2fa84e39b..e7501b72953a 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerOrBuilder.java @@ -1,55 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/customers.proto package com.google.cloud.channel.v1; -public interface CustomerOrBuilder extends +public interface CustomerOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Customer) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name of the customer.
    * Format: accounts/{account_id}/customers/{customer_id}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name of the customer.
    * Format: accounts/{account_id}/customers/{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(); /** + * + * *
    * Required. Name of the organization that the customer entity represents.
    * 
* * string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The orgDisplayName. */ java.lang.String getOrgDisplayName(); /** + * + * *
    * Required. Name of the organization that the customer entity represents.
    * 
* * string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for orgDisplayName. */ - com.google.protobuf.ByteString - getOrgDisplayNameBytes(); + com.google.protobuf.ByteString getOrgDisplayNameBytes(); /** + * + * *
    * Required. The organization address for the customer. To enforce US laws and
    * embargoes, we require a region and zip code. You must provide valid
@@ -57,11 +85,16 @@ public interface CustomerOrBuilder extends
    * Customer-level language code.
    * 
* - * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the orgPostalAddress field is set. */ boolean hasOrgPostalAddress(); /** + * + * *
    * Required. The organization address for the customer. To enforce US laws and
    * embargoes, we require a region and zip code. You must provide valid
@@ -69,11 +102,16 @@ public interface CustomerOrBuilder extends
    * Customer-level language code.
    * 
* - * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The orgPostalAddress. */ com.google.type.PostalAddress getOrgPostalAddress(); /** + * + * *
    * Required. The organization address for the customer. To enforce US laws and
    * embargoes, we require a region and zip code. You must provide valid
@@ -81,29 +119,39 @@ public interface CustomerOrBuilder extends
    * Customer-level language code.
    * 
* - * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.type.PostalAddressOrBuilder getOrgPostalAddressOrBuilder(); /** + * + * *
    * Primary contact info.
    * 
* * .google.cloud.channel.v1.ContactInfo primary_contact_info = 4; + * * @return Whether the primaryContactInfo field is set. */ boolean hasPrimaryContactInfo(); /** + * + * *
    * Primary contact info.
    * 
* * .google.cloud.channel.v1.ContactInfo primary_contact_info = 4; + * * @return The primaryContactInfo. */ com.google.cloud.channel.v1.ContactInfo getPrimaryContactInfo(); /** + * + * *
    * Primary contact info.
    * 
@@ -113,6 +161,8 @@ public interface CustomerOrBuilder extends com.google.cloud.channel.v1.ContactInfoOrBuilder getPrimaryContactInfoOrBuilder(); /** + * + * *
    * Secondary contact email. You need to provide an alternate email to create
    * different domains if a primary contact email already exists. Users will
@@ -122,10 +172,13 @@ public interface CustomerOrBuilder extends
    * 
* * string alternate_email = 5; + * * @return The alternateEmail. */ java.lang.String getAlternateEmail(); /** + * + * *
    * Secondary contact email. You need to provide an alternate email to create
    * different domains if a primary contact email already exists. Users will
@@ -135,110 +188,144 @@ public interface CustomerOrBuilder extends
    * 
* * string alternate_email = 5; + * * @return The bytes for alternateEmail. */ - com.google.protobuf.ByteString - getAlternateEmailBytes(); + com.google.protobuf.ByteString getAlternateEmailBytes(); /** + * + * *
    * Required. The customer's primary domain. Must match the primary contact
    * email's domain.
    * 
* * string domain = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The domain. */ java.lang.String getDomain(); /** + * + * *
    * Required. The customer's primary domain. Must match the primary contact
    * email's domain.
    * 
* * string domain = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for domain. */ - com.google.protobuf.ByteString - getDomainBytes(); + com.google.protobuf.ByteString getDomainBytes(); /** + * + * *
    * Output only. Time when the customer was 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 the customer was 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 the customer was 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 the customer was 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 the customer was 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 the customer was 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. The customer's Cloud Identity ID if the customer has a Cloud
    * Identity resource.
    * 
* * string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The cloudIdentityId. */ java.lang.String getCloudIdentityId(); /** + * + * *
    * Output only. The customer's Cloud Identity ID if the customer has a Cloud
    * Identity resource.
    * 
* * string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for cloudIdentityId. */ - com.google.protobuf.ByteString - getCloudIdentityIdBytes(); + com.google.protobuf.ByteString getCloudIdentityIdBytes(); /** + * + * *
    * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
    * information, see
@@ -246,10 +333,13 @@ public interface CustomerOrBuilder extends
    * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ java.lang.String getLanguageCode(); /** + * + * *
    * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
    * information, see
@@ -257,60 +347,79 @@ public interface CustomerOrBuilder extends
    * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString - getLanguageCodeBytes(); + com.google.protobuf.ByteString getLanguageCodeBytes(); /** + * + * *
    * Output only. Cloud Identity information for the customer.
    * Populated only if a Cloud Identity account exists for this customer.
    * 
* - * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the cloudIdentityInfo field is set. */ boolean hasCloudIdentityInfo(); /** + * + * *
    * Output only. Cloud Identity information for the customer.
    * Populated only if a Cloud Identity account exists for this customer.
    * 
* - * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The cloudIdentityInfo. */ com.google.cloud.channel.v1.CloudIdentityInfo getCloudIdentityInfo(); /** + * + * *
    * Output only. Cloud Identity information for the customer.
    * Populated only if a Cloud Identity account exists for this customer.
    * 
* - * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder getCloudIdentityInfoOrBuilder(); /** + * + * *
    * Cloud Identity ID of the customer's channel partner.
    * Populated only if a channel partner exists for this customer.
    * 
* * string channel_partner_id = 13; + * * @return The channelPartnerId. */ java.lang.String getChannelPartnerId(); /** + * + * *
    * Cloud Identity ID of the customer's channel partner.
    * Populated only if a channel partner exists for this customer.
    * 
* * string channel_partner_id = 13; + * * @return The bytes for channelPartnerId. */ - com.google.protobuf.ByteString - getChannelPartnerIdBytes(); + com.google.protobuf.ByteString getChannelPartnerIdBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfig.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfig.java similarity index 66% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfig.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfig.java index 5eb776e4a662..9d79adb8521f 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfig.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfig.java @@ -1,56 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/repricing.proto package com.google.cloud.channel.v1; /** + * + * *
  * Configuration for how a reseller will reprice a Customer.
  * 
* * Protobuf type {@code google.cloud.channel.v1.CustomerRepricingConfig} */ -public final class CustomerRepricingConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CustomerRepricingConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.CustomerRepricingConfig) CustomerRepricingConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CustomerRepricingConfig.newBuilder() to construct. private CustomerRepricingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CustomerRepricingConfig() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CustomerRepricingConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_CustomerRepricingConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.RepricingProto + .internal_static_google_cloud_channel_v1_CustomerRepricingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_CustomerRepricingConfig_fieldAccessorTable + return com.google.cloud.channel.v1.RepricingProto + .internal_static_google_cloud_channel_v1_CustomerRepricingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.CustomerRepricingConfig.class, com.google.cloud.channel.v1.CustomerRepricingConfig.Builder.class); + com.google.cloud.channel.v1.CustomerRepricingConfig.class, + com.google.cloud.channel.v1.CustomerRepricingConfig.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. Resource name of the CustomerRepricingConfig.
    * Format:
@@ -58,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -66,14 +88,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Resource name of the CustomerRepricingConfig.
    * Format:
@@ -81,16 +104,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -101,12 +123,17 @@ public java.lang.String getName() { public static final int REPRICING_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.RepricingConfig repricingConfig_; /** + * + * *
    * Required. The configuration for bill modifications made by a reseller
    * before sending it to customers.
    * 
* - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the repricingConfig field is set. */ @java.lang.Override @@ -114,25 +141,36 @@ public boolean hasRepricingConfig() { return repricingConfig_ != null; } /** + * + * *
    * Required. The configuration for bill modifications made by a reseller
    * before sending it to customers.
    * 
* - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The repricingConfig. */ @java.lang.Override public com.google.cloud.channel.v1.RepricingConfig getRepricingConfig() { - return repricingConfig_ == null ? com.google.cloud.channel.v1.RepricingConfig.getDefaultInstance() : repricingConfig_; + return repricingConfig_ == null + ? com.google.cloud.channel.v1.RepricingConfig.getDefaultInstance() + : repricingConfig_; } /** + * + * *
    * Required. The configuration for bill modifications made by a reseller
    * before sending it to customers.
    * 
* - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.channel.v1.RepricingConfigOrBuilder getRepricingConfigOrBuilder() { @@ -142,6 +180,8 @@ public com.google.cloud.channel.v1.RepricingConfigOrBuilder getRepricingConfigOr public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. Timestamp of an update to the repricing rule. If `update_time`
    * is after
@@ -149,7 +189,9 @@ public com.google.cloud.channel.v1.RepricingConfigOrBuilder getRepricingConfigOr
    * then it indicates this was set mid-month.
    * 
* - * .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 @@ -157,6 +199,8 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. Timestamp of an update to the repricing rule. If `update_time`
    * is after
@@ -164,7 +208,9 @@ public boolean hasUpdateTime() {
    * then it indicates this was set mid-month.
    * 
* - * .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 @@ -172,6 +218,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. Timestamp of an update to the repricing rule. If `update_time`
    * is after
@@ -179,7 +227,8 @@ public com.google.protobuf.Timestamp getUpdateTime() {
    * then it indicates this was set mid-month.
    * 
* - * .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() { @@ -187,6 +236,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -198,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -222,12 +271,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (repricingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getRepricingConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRepricingConfig()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -237,24 +284,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.CustomerRepricingConfig)) { return super.equals(obj); } - com.google.cloud.channel.v1.CustomerRepricingConfig other = (com.google.cloud.channel.v1.CustomerRepricingConfig) obj; + com.google.cloud.channel.v1.CustomerRepricingConfig other = + (com.google.cloud.channel.v1.CustomerRepricingConfig) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasRepricingConfig() != other.hasRepricingConfig()) return false; if (hasRepricingConfig()) { - if (!getRepricingConfig() - .equals(other.getRepricingConfig())) return false; + if (!getRepricingConfig().equals(other.getRepricingConfig())) 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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -283,129 +328,135 @@ public int hashCode() { } public static com.google.cloud.channel.v1.CustomerRepricingConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CustomerRepricingConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.CustomerRepricingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CustomerRepricingConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.CustomerRepricingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.CustomerRepricingConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.CustomerRepricingConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.CustomerRepricingConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CustomerRepricingConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.CustomerRepricingConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.CustomerRepricingConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CustomerRepricingConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.CustomerRepricingConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.CustomerRepricingConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.CustomerRepricingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for how a reseller will reprice a Customer.
    * 
* * Protobuf type {@code google.cloud.channel.v1.CustomerRepricingConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.CustomerRepricingConfig) com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_CustomerRepricingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.RepricingProto + .internal_static_google_cloud_channel_v1_CustomerRepricingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_CustomerRepricingConfig_fieldAccessorTable + return com.google.cloud.channel.v1.RepricingProto + .internal_static_google_cloud_channel_v1_CustomerRepricingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.CustomerRepricingConfig.class, com.google.cloud.channel.v1.CustomerRepricingConfig.Builder.class); + com.google.cloud.channel.v1.CustomerRepricingConfig.class, + com.google.cloud.channel.v1.CustomerRepricingConfig.Builder.class); } // Construct using com.google.cloud.channel.v1.CustomerRepricingConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -427,9 +478,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_CustomerRepricingConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.RepricingProto + .internal_static_google_cloud_channel_v1_CustomerRepricingConfig_descriptor; } @java.lang.Override @@ -448,7 +499,8 @@ public com.google.cloud.channel.v1.CustomerRepricingConfig build() { @java.lang.Override public com.google.cloud.channel.v1.CustomerRepricingConfig buildPartial() { - com.google.cloud.channel.v1.CustomerRepricingConfig result = new com.google.cloud.channel.v1.CustomerRepricingConfig(this); + com.google.cloud.channel.v1.CustomerRepricingConfig result = + new com.google.cloud.channel.v1.CustomerRepricingConfig(this); result.name_ = name_; if (repricingConfigBuilder_ == null) { result.repricingConfig_ = repricingConfig_; @@ -468,38 +520,39 @@ public com.google.cloud.channel.v1.CustomerRepricingConfig 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.cloud.channel.v1.CustomerRepricingConfig) { - return mergeFrom((com.google.cloud.channel.v1.CustomerRepricingConfig)other); + return mergeFrom((com.google.cloud.channel.v1.CustomerRepricingConfig) other); } else { super.mergeFrom(other); return this; @@ -507,7 +560,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.CustomerRepricingConfig other) { - if (other == com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -544,31 +598,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); + case 10: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - input.readMessage( - getRepricingConfigFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getRepricingConfigFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - case 26: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -581,6 +635,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Resource name of the CustomerRepricingConfig.
      * Format:
@@ -588,13 +644,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; @@ -603,6 +659,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of the CustomerRepricingConfig.
      * Format:
@@ -610,15 +668,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -626,6 +683,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of the CustomerRepricingConfig.
      * Format:
@@ -633,20 +692,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 the CustomerRepricingConfig.
      * Format:
@@ -654,15 +715,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 the CustomerRepricingConfig.
      * Format:
@@ -670,16 +734,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; @@ -687,42 +751,61 @@ public Builder setNameBytes( private com.google.cloud.channel.v1.RepricingConfig repricingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingConfig, com.google.cloud.channel.v1.RepricingConfig.Builder, com.google.cloud.channel.v1.RepricingConfigOrBuilder> repricingConfigBuilder_; + com.google.cloud.channel.v1.RepricingConfig, + com.google.cloud.channel.v1.RepricingConfig.Builder, + com.google.cloud.channel.v1.RepricingConfigOrBuilder> + repricingConfigBuilder_; /** + * + * *
      * Required. The configuration for bill modifications made by a reseller
      * before sending it to customers.
      * 
* - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the repricingConfig field is set. */ public boolean hasRepricingConfig() { return repricingConfigBuilder_ != null || repricingConfig_ != null; } /** + * + * *
      * Required. The configuration for bill modifications made by a reseller
      * before sending it to customers.
      * 
* - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The repricingConfig. */ public com.google.cloud.channel.v1.RepricingConfig getRepricingConfig() { if (repricingConfigBuilder_ == null) { - return repricingConfig_ == null ? com.google.cloud.channel.v1.RepricingConfig.getDefaultInstance() : repricingConfig_; + return repricingConfig_ == null + ? com.google.cloud.channel.v1.RepricingConfig.getDefaultInstance() + : repricingConfig_; } else { return repricingConfigBuilder_.getMessage(); } } /** + * + * *
      * Required. The configuration for bill modifications made by a reseller
      * before sending it to customers.
      * 
* - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRepricingConfig(com.google.cloud.channel.v1.RepricingConfig value) { if (repricingConfigBuilder_ == null) { @@ -738,12 +821,16 @@ public Builder setRepricingConfig(com.google.cloud.channel.v1.RepricingConfig va return this; } /** + * + * *
      * Required. The configuration for bill modifications made by a reseller
      * before sending it to customers.
      * 
* - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRepricingConfig( com.google.cloud.channel.v1.RepricingConfig.Builder builderForValue) { @@ -757,18 +844,24 @@ public Builder setRepricingConfig( return this; } /** + * + * *
      * Required. The configuration for bill modifications made by a reseller
      * before sending it to customers.
      * 
* - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeRepricingConfig(com.google.cloud.channel.v1.RepricingConfig value) { if (repricingConfigBuilder_ == null) { if (repricingConfig_ != null) { repricingConfig_ = - com.google.cloud.channel.v1.RepricingConfig.newBuilder(repricingConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.RepricingConfig.newBuilder(repricingConfig_) + .mergeFrom(value) + .buildPartial(); } else { repricingConfig_ = value; } @@ -780,12 +873,16 @@ public Builder mergeRepricingConfig(com.google.cloud.channel.v1.RepricingConfig return this; } /** + * + * *
      * Required. The configuration for bill modifications made by a reseller
      * before sending it to customers.
      * 
* - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRepricingConfig() { if (repricingConfigBuilder_ == null) { @@ -799,51 +896,67 @@ public Builder clearRepricingConfig() { return this; } /** + * + * *
      * Required. The configuration for bill modifications made by a reseller
      * before sending it to customers.
      * 
* - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.channel.v1.RepricingConfig.Builder getRepricingConfigBuilder() { - + onChanged(); return getRepricingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The configuration for bill modifications made by a reseller
      * before sending it to customers.
      * 
* - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.channel.v1.RepricingConfigOrBuilder getRepricingConfigOrBuilder() { if (repricingConfigBuilder_ != null) { return repricingConfigBuilder_.getMessageOrBuilder(); } else { - return repricingConfig_ == null ? - com.google.cloud.channel.v1.RepricingConfig.getDefaultInstance() : repricingConfig_; + return repricingConfig_ == null + ? com.google.cloud.channel.v1.RepricingConfig.getDefaultInstance() + : repricingConfig_; } } /** + * + * *
      * Required. The configuration for bill modifications made by a reseller
      * before sending it to customers.
      * 
* - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingConfig, com.google.cloud.channel.v1.RepricingConfig.Builder, com.google.cloud.channel.v1.RepricingConfigOrBuilder> + com.google.cloud.channel.v1.RepricingConfig, + com.google.cloud.channel.v1.RepricingConfig.Builder, + com.google.cloud.channel.v1.RepricingConfigOrBuilder> getRepricingConfigFieldBuilder() { if (repricingConfigBuilder_ == null) { - repricingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingConfig, com.google.cloud.channel.v1.RepricingConfig.Builder, com.google.cloud.channel.v1.RepricingConfigOrBuilder>( - getRepricingConfig(), - getParentForChildren(), - isClean()); + repricingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.RepricingConfig, + com.google.cloud.channel.v1.RepricingConfig.Builder, + com.google.cloud.channel.v1.RepricingConfigOrBuilder>( + getRepricingConfig(), getParentForChildren(), isClean()); repricingConfig_ = null; } return repricingConfigBuilder_; @@ -851,8 +964,13 @@ public com.google.cloud.channel.v1.RepricingConfigOrBuilder getRepricingConfigOr 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. Timestamp of an update to the repricing rule. If `update_time`
      * is after
@@ -860,13 +978,18 @@ public com.google.cloud.channel.v1.RepricingConfigOrBuilder getRepricingConfigOr
      * then it indicates this was set mid-month.
      * 
* - * .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. Timestamp of an update to the repricing rule. If `update_time`
      * is after
@@ -874,17 +997,24 @@ public boolean hasUpdateTime() {
      * then it indicates this was set mid-month.
      * 
* - * .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. Timestamp of an update to the repricing rule. If `update_time`
      * is after
@@ -892,7 +1022,9 @@ public com.google.protobuf.Timestamp getUpdateTime() {
      * then it indicates this was set mid-month.
      * 
* - * .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) { @@ -908,6 +1040,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Timestamp of an update to the repricing rule. If `update_time`
      * is after
@@ -915,10 +1049,11 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      * then it indicates this was set mid-month.
      * 
* - * .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(); @@ -929,6 +1064,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Timestamp of an update to the repricing rule. If `update_time`
      * is after
@@ -936,13 +1073,15 @@ public Builder setUpdateTime(
      * then it indicates this was set mid-month.
      * 
* - * .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; } @@ -954,6 +1093,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Timestamp of an update to the repricing rule. If `update_time`
      * is after
@@ -961,7 +1102,9 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
      * then it indicates this was set mid-month.
      * 
* - * .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) { @@ -975,6 +1118,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Timestamp of an update to the repricing rule. If `update_time`
      * is after
@@ -982,14 +1127,18 @@ public Builder clearUpdateTime() {
      * then it indicates this was set mid-month.
      * 
* - * .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. Timestamp of an update to the repricing rule. If `update_time`
      * is after
@@ -997,17 +1146,22 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
      * then it indicates this was set mid-month.
      * 
* - * .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. Timestamp of an update to the repricing rule. If `update_time`
      * is after
@@ -1015,24 +1169,29 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * then it indicates this was set mid-month.
      * 
* - * .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_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1042,12 +1201,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.CustomerRepricingConfig) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.CustomerRepricingConfig) private static final com.google.cloud.channel.v1.CustomerRepricingConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.CustomerRepricingConfig(); } @@ -1056,27 +1215,27 @@ public static com.google.cloud.channel.v1.CustomerRepricingConfig getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomerRepricingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomerRepricingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1091,6 +1250,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.CustomerRepricingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigName.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigName.java similarity index 100% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigName.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigName.java diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigOrBuilder.java similarity index 68% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigOrBuilder.java index 6ba469d5b250..17d6bbc49e6c 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomerRepricingConfigOrBuilder.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/cloud/channel/v1/repricing.proto package com.google.cloud.channel.v1; -public interface CustomerRepricingConfigOrBuilder extends +public interface CustomerRepricingConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CustomerRepricingConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name of the CustomerRepricingConfig.
    * Format:
@@ -15,10 +33,13 @@ public interface CustomerRepricingConfigOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name of the CustomerRepricingConfig.
    * Format:
@@ -26,42 +47,58 @@ public interface CustomerRepricingConfigOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The configuration for bill modifications made by a reseller
    * before sending it to customers.
    * 
* - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the repricingConfig field is set. */ boolean hasRepricingConfig(); /** + * + * *
    * Required. The configuration for bill modifications made by a reseller
    * before sending it to customers.
    * 
* - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The repricingConfig. */ com.google.cloud.channel.v1.RepricingConfig getRepricingConfig(); /** + * + * *
    * Required. The configuration for bill modifications made by a reseller
    * before sending it to customers.
    * 
* - * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingConfig repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.channel.v1.RepricingConfigOrBuilder getRepricingConfigOrBuilder(); /** + * + * *
    * Output only. Timestamp of an update to the repricing rule. If `update_time`
    * is after
@@ -69,11 +106,15 @@ public interface CustomerRepricingConfigOrBuilder extends
    * then it indicates this was set mid-month.
    * 
* - * .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. Timestamp of an update to the repricing rule. If `update_time`
    * is after
@@ -81,11 +122,15 @@ public interface CustomerRepricingConfigOrBuilder extends
    * then it indicates this was set mid-month.
    * 
* - * .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. Timestamp of an update to the repricing rule. If `update_time`
    * is after
@@ -93,7 +138,8 @@ public interface CustomerRepricingConfigOrBuilder extends
    * then it indicates this was set mid-month.
    * 
* - * .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(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomersProto.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomersProto.java new file mode 100644 index 000000000000..737c9507f391 --- /dev/null +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomersProto.java @@ -0,0 +1,126 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/customers.proto + +package com.google.cloud.channel.v1; + +public final class CustomersProto { + private CustomersProto() {} + + 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_cloud_channel_v1_Customer_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_Customer_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_ContactInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_ContactInfo_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/cloud/channel/v1/customers.prot" + + "o\022\027google.cloud.channel.v1\032\037google/api/f" + + "ield_behavior.proto\032\031google/api/resource" + + ".proto\032$google/cloud/channel/v1/common.p" + + "roto\032\037google/protobuf/timestamp.proto\032 g" + + "oogle/type/postal_address.proto\"\321\004\n\010Cust" + + "omer\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\035\n\020org_display_n" + + "ame\030\002 \001(\tB\003\340A\002\022;\n\022org_postal_address\030\003 \001" + + "(\0132\032.google.type.PostalAddressB\003\340A\002\022B\n\024p" + + "rimary_contact_info\030\004 \001(\0132$.google.cloud" + + ".channel.v1.ContactInfo\022\027\n\017alternate_ema" + + "il\030\005 \001(\t\022\023\n\006domain\030\006 \001(\tB\003\340A\002\0224\n\013create_" + + "time\030\007 \001(\0132\032.google.protobuf.TimestampB\003" + + "\340A\003\0224\n\013update_time\030\010 \001(\0132\032.google.protob" + + "uf.TimestampB\003\340A\003\022\036\n\021cloud_identity_id\030\t" + + " \001(\tB\003\340A\003\022\032\n\rlanguage_code\030\n \001(\tB\003\340A\001\022L\n" + + "\023cloud_identity_info\030\014 \001(\0132*.google.clou" + + "d.channel.v1.CloudIdentityInfoB\003\340A\003\022\032\n\022c" + + "hannel_partner_id\030\r \001(\t:R\352AO\n$cloudchann" + + "el.googleapis.com/Customer\022\'accounts/{ac" + + "count}/customers/{customer}\"\201\001\n\013ContactI" + + "nfo\022\022\n\nfirst_name\030\001 \001(\t\022\021\n\tlast_name\030\002 \001" + + "(\t\022\031\n\014display_name\030\004 \001(\tB\003\340A\003\022\r\n\005email\030\005" + + " \001(\t\022\022\n\005title\030\006 \001(\tB\003\340A\001\022\r\n\005phone\030\007 \001(\tB" + + "o\n\033com.google.cloud.channel.v1B\016Customer" + + "sProtoP\001Z>google.golang.org/genproto/goo" + + "gleapis/cloud/channel/v1;channelb\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.cloud.channel.v1.CommonProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.type.PostalAddressProto.getDescriptor(), + }); + internal_static_google_cloud_channel_v1_Customer_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_channel_v1_Customer_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_Customer_descriptor, + new java.lang.String[] { + "Name", + "OrgDisplayName", + "OrgPostalAddress", + "PrimaryContactInfo", + "AlternateEmail", + "Domain", + "CreateTime", + "UpdateTime", + "CloudIdentityId", + "LanguageCode", + "CloudIdentityInfo", + "ChannelPartnerId", + }); + internal_static_google_cloud_channel_v1_ContactInfo_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_channel_v1_ContactInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_ContactInfo_descriptor, + new java.lang.String[] { + "FirstName", "LastName", "DisplayName", "Email", "Title", "Phone", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.channel.v1.CommonProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.type.PostalAddressProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DateRange.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DateRange.java similarity index 77% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DateRange.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DateRange.java index 44ab7c841816..4d00aaa31bd8 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DateRange.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DateRange.java @@ -1,55 +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/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; /** + * + * *
  * A representation of usage or invoice date ranges.
  * 
* * Protobuf type {@code google.cloud.channel.v1.DateRange} */ -public final class DateRange extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DateRange extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.DateRange) DateRangeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DateRange.newBuilder() to construct. private DateRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DateRange() { - } + + private DateRange() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DateRange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_DateRange_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ReportsServiceProto + .internal_static_google_cloud_channel_v1_DateRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_DateRange_fieldAccessorTable + return com.google.cloud.channel.v1.ReportsServiceProto + .internal_static_google_cloud_channel_v1_DateRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.DateRange.class, com.google.cloud.channel.v1.DateRange.Builder.class); + com.google.cloud.channel.v1.DateRange.class, + com.google.cloud.channel.v1.DateRange.Builder.class); } public static final int USAGE_START_DATE_TIME_FIELD_NUMBER = 1; private com.google.type.DateTime usageStartDateTime_; /** + * + * *
    * The earliest usage date time (inclusive).
    * If you use time groupings (daily, weekly, etc), each group uses
@@ -59,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.type.DateTime usage_start_date_time = 1; + * * @return Whether the usageStartDateTime field is set. */ @java.lang.Override @@ -66,6 +87,8 @@ public boolean hasUsageStartDateTime() { return usageStartDateTime_ != null; } /** + * + * *
    * The earliest usage date time (inclusive).
    * If you use time groupings (daily, weekly, etc), each group uses
@@ -75,13 +98,18 @@ public boolean hasUsageStartDateTime() {
    * 
* * .google.type.DateTime usage_start_date_time = 1; + * * @return The usageStartDateTime. */ @java.lang.Override public com.google.type.DateTime getUsageStartDateTime() { - return usageStartDateTime_ == null ? com.google.type.DateTime.getDefaultInstance() : usageStartDateTime_; + return usageStartDateTime_ == null + ? com.google.type.DateTime.getDefaultInstance() + : usageStartDateTime_; } /** + * + * *
    * The earliest usage date time (inclusive).
    * If you use time groupings (daily, weekly, etc), each group uses
@@ -100,6 +128,8 @@ public com.google.type.DateTimeOrBuilder getUsageStartDateTimeOrBuilder() {
   public static final int USAGE_END_DATE_TIME_FIELD_NUMBER = 2;
   private com.google.type.DateTime usageEndDateTime_;
   /**
+   *
+   *
    * 
    * The latest usage date time (exclusive).
    * If you use time groupings (daily, weekly, etc), each group uses
@@ -109,6 +139,7 @@ public com.google.type.DateTimeOrBuilder getUsageStartDateTimeOrBuilder() {
    * 
* * .google.type.DateTime usage_end_date_time = 2; + * * @return Whether the usageEndDateTime field is set. */ @java.lang.Override @@ -116,6 +147,8 @@ public boolean hasUsageEndDateTime() { return usageEndDateTime_ != null; } /** + * + * *
    * The latest usage date time (exclusive).
    * If you use time groupings (daily, weekly, etc), each group uses
@@ -125,13 +158,18 @@ public boolean hasUsageEndDateTime() {
    * 
* * .google.type.DateTime usage_end_date_time = 2; + * * @return The usageEndDateTime. */ @java.lang.Override public com.google.type.DateTime getUsageEndDateTime() { - return usageEndDateTime_ == null ? com.google.type.DateTime.getDefaultInstance() : usageEndDateTime_; + return usageEndDateTime_ == null + ? com.google.type.DateTime.getDefaultInstance() + : usageEndDateTime_; } /** + * + * *
    * The latest usage date time (exclusive).
    * If you use time groupings (daily, weekly, etc), each group uses
@@ -150,6 +188,8 @@ public com.google.type.DateTimeOrBuilder getUsageEndDateTimeOrBuilder() {
   public static final int INVOICE_START_DATE_FIELD_NUMBER = 3;
   private com.google.type.Date invoiceStartDate_;
   /**
+   *
+   *
    * 
    * The earliest invoice date (inclusive).
    * If your product uses monthly invoices, and this value is not the beginning
@@ -157,6 +197,7 @@ public com.google.type.DateTimeOrBuilder getUsageEndDateTimeOrBuilder() {
    * 
* * .google.type.Date invoice_start_date = 3; + * * @return Whether the invoiceStartDate field is set. */ @java.lang.Override @@ -164,6 +205,8 @@ public boolean hasInvoiceStartDate() { return invoiceStartDate_ != null; } /** + * + * *
    * The earliest invoice date (inclusive).
    * If your product uses monthly invoices, and this value is not the beginning
@@ -171,13 +214,18 @@ public boolean hasInvoiceStartDate() {
    * 
* * .google.type.Date invoice_start_date = 3; + * * @return The invoiceStartDate. */ @java.lang.Override public com.google.type.Date getInvoiceStartDate() { - return invoiceStartDate_ == null ? com.google.type.Date.getDefaultInstance() : invoiceStartDate_; + return invoiceStartDate_ == null + ? com.google.type.Date.getDefaultInstance() + : invoiceStartDate_; } /** + * + * *
    * The earliest invoice date (inclusive).
    * If your product uses monthly invoices, and this value is not the beginning
@@ -194,6 +242,8 @@ public com.google.type.DateOrBuilder getInvoiceStartDateOrBuilder() {
   public static final int INVOICE_END_DATE_FIELD_NUMBER = 4;
   private com.google.type.Date invoiceEndDate_;
   /**
+   *
+   *
    * 
    * The latest invoice date (exclusive).
    * If your product uses monthly invoices, and this value is not the beginning
@@ -202,6 +252,7 @@ public com.google.type.DateOrBuilder getInvoiceStartDateOrBuilder() {
    * 
* * .google.type.Date invoice_end_date = 4; + * * @return Whether the invoiceEndDate field is set. */ @java.lang.Override @@ -209,6 +260,8 @@ public boolean hasInvoiceEndDate() { return invoiceEndDate_ != null; } /** + * + * *
    * The latest invoice date (exclusive).
    * If your product uses monthly invoices, and this value is not the beginning
@@ -217,6 +270,7 @@ public boolean hasInvoiceEndDate() {
    * 
* * .google.type.Date invoice_end_date = 4; + * * @return The invoiceEndDate. */ @java.lang.Override @@ -224,6 +278,8 @@ public com.google.type.Date getInvoiceEndDate() { return invoiceEndDate_ == null ? com.google.type.Date.getDefaultInstance() : invoiceEndDate_; } /** + * + * *
    * The latest invoice date (exclusive).
    * If your product uses monthly invoices, and this value is not the beginning
@@ -239,6 +295,7 @@ public com.google.type.DateOrBuilder getInvoiceEndDateOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -250,8 +307,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (usageStartDateTime_ != null) {
       output.writeMessage(1, getUsageStartDateTime());
     }
@@ -274,20 +330,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (usageStartDateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getUsageStartDateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUsageStartDateTime());
     }
     if (usageEndDateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUsageEndDateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUsageEndDateTime());
     }
     if (invoiceStartDate_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getInvoiceStartDate());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInvoiceStartDate());
     }
     if (invoiceEndDate_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getInvoiceEndDate());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getInvoiceEndDate());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -297,7 +349,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.channel.v1.DateRange)) {
       return super.equals(obj);
@@ -306,23 +358,19 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasUsageStartDateTime() != other.hasUsageStartDateTime()) return false;
     if (hasUsageStartDateTime()) {
-      if (!getUsageStartDateTime()
-          .equals(other.getUsageStartDateTime())) return false;
+      if (!getUsageStartDateTime().equals(other.getUsageStartDateTime())) return false;
     }
     if (hasUsageEndDateTime() != other.hasUsageEndDateTime()) return false;
     if (hasUsageEndDateTime()) {
-      if (!getUsageEndDateTime()
-          .equals(other.getUsageEndDateTime())) return false;
+      if (!getUsageEndDateTime().equals(other.getUsageEndDateTime())) return false;
     }
     if (hasInvoiceStartDate() != other.hasInvoiceStartDate()) return false;
     if (hasInvoiceStartDate()) {
-      if (!getInvoiceStartDate()
-          .equals(other.getInvoiceStartDate())) return false;
+      if (!getInvoiceStartDate().equals(other.getInvoiceStartDate())) return false;
     }
     if (hasInvoiceEndDate() != other.hasInvoiceEndDate()) return false;
     if (hasInvoiceEndDate()) {
-      if (!getInvoiceEndDate()
-          .equals(other.getInvoiceEndDate())) return false;
+      if (!getInvoiceEndDate().equals(other.getInvoiceEndDate())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -356,130 +404,135 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.channel.v1.DateRange parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.channel.v1.DateRange parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.channel.v1.DateRange parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.channel.v1.DateRange parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.cloud.channel.v1.DateRange parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.channel.v1.DateRange parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.DateRange parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.channel.v1.DateRange parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.DateRange 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.cloud.channel.v1.DateRange parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.DateRange parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.channel.v1.DateRange parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.DateRange parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.channel.v1.DateRange parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.channel.v1.DateRange prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 representation of usage or invoice date ranges.
    * 
* * Protobuf type {@code google.cloud.channel.v1.DateRange} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.DateRange) com.google.cloud.channel.v1.DateRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_DateRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ReportsServiceProto + .internal_static_google_cloud_channel_v1_DateRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_DateRange_fieldAccessorTable + return com.google.cloud.channel.v1.ReportsServiceProto + .internal_static_google_cloud_channel_v1_DateRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.DateRange.class, com.google.cloud.channel.v1.DateRange.Builder.class); + com.google.cloud.channel.v1.DateRange.class, + com.google.cloud.channel.v1.DateRange.Builder.class); } // Construct using com.google.cloud.channel.v1.DateRange.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -511,9 +564,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_DateRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.ReportsServiceProto + .internal_static_google_cloud_channel_v1_DateRange_descriptor; } @java.lang.Override @@ -532,7 +585,8 @@ public com.google.cloud.channel.v1.DateRange build() { @java.lang.Override public com.google.cloud.channel.v1.DateRange buildPartial() { - com.google.cloud.channel.v1.DateRange result = new com.google.cloud.channel.v1.DateRange(this); + com.google.cloud.channel.v1.DateRange result = + new com.google.cloud.channel.v1.DateRange(this); if (usageStartDateTimeBuilder_ == null) { result.usageStartDateTime_ = usageStartDateTime_; } else { @@ -561,38 +615,39 @@ public com.google.cloud.channel.v1.DateRange 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.cloud.channel.v1.DateRange) { - return mergeFrom((com.google.cloud.channel.v1.DateRange)other); + return mergeFrom((com.google.cloud.channel.v1.DateRange) other); } else { super.mergeFrom(other); return this; @@ -639,40 +694,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUsageStartDateTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getUsageEndDateTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - case 26: { - input.readMessage( - getInvoiceStartDateFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - case 34: { - input.readMessage( - getInvoiceEndDateFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getUsageStartDateTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + input.readMessage( + getUsageEndDateTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + case 26: + { + input.readMessage( + getInvoiceStartDateFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + case 34: + { + input.readMessage(getInvoiceEndDateFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -685,8 +740,13 @@ public Builder mergeFrom( private com.google.type.DateTime usageStartDateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.DateTime, com.google.type.DateTime.Builder, com.google.type.DateTimeOrBuilder> usageStartDateTimeBuilder_; + com.google.type.DateTime, + com.google.type.DateTime.Builder, + com.google.type.DateTimeOrBuilder> + usageStartDateTimeBuilder_; /** + * + * *
      * The earliest usage date time (inclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -696,12 +756,15 @@ public Builder mergeFrom(
      * 
* * .google.type.DateTime usage_start_date_time = 1; + * * @return Whether the usageStartDateTime field is set. */ public boolean hasUsageStartDateTime() { return usageStartDateTimeBuilder_ != null || usageStartDateTime_ != null; } /** + * + * *
      * The earliest usage date time (inclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -711,16 +774,21 @@ public boolean hasUsageStartDateTime() {
      * 
* * .google.type.DateTime usage_start_date_time = 1; + * * @return The usageStartDateTime. */ public com.google.type.DateTime getUsageStartDateTime() { if (usageStartDateTimeBuilder_ == null) { - return usageStartDateTime_ == null ? com.google.type.DateTime.getDefaultInstance() : usageStartDateTime_; + return usageStartDateTime_ == null + ? com.google.type.DateTime.getDefaultInstance() + : usageStartDateTime_; } else { return usageStartDateTimeBuilder_.getMessage(); } } /** + * + * *
      * The earliest usage date time (inclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -745,6 +813,8 @@ public Builder setUsageStartDateTime(com.google.type.DateTime value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The earliest usage date time (inclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -755,8 +825,7 @@ public Builder setUsageStartDateTime(com.google.type.DateTime value) {
      *
      * .google.type.DateTime usage_start_date_time = 1;
      */
-    public Builder setUsageStartDateTime(
-        com.google.type.DateTime.Builder builderForValue) {
+    public Builder setUsageStartDateTime(com.google.type.DateTime.Builder builderForValue) {
       if (usageStartDateTimeBuilder_ == null) {
         usageStartDateTime_ = builderForValue.build();
         onChanged();
@@ -767,6 +836,8 @@ public Builder setUsageStartDateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The earliest usage date time (inclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -781,7 +852,9 @@ public Builder mergeUsageStartDateTime(com.google.type.DateTime value) {
       if (usageStartDateTimeBuilder_ == null) {
         if (usageStartDateTime_ != null) {
           usageStartDateTime_ =
-            com.google.type.DateTime.newBuilder(usageStartDateTime_).mergeFrom(value).buildPartial();
+              com.google.type.DateTime.newBuilder(usageStartDateTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           usageStartDateTime_ = value;
         }
@@ -793,6 +866,8 @@ public Builder mergeUsageStartDateTime(com.google.type.DateTime value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The earliest usage date time (inclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -815,6 +890,8 @@ public Builder clearUsageStartDateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The earliest usage date time (inclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -826,11 +903,13 @@ public Builder clearUsageStartDateTime() {
      * .google.type.DateTime usage_start_date_time = 1;
      */
     public com.google.type.DateTime.Builder getUsageStartDateTimeBuilder() {
-      
+
       onChanged();
       return getUsageStartDateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The earliest usage date time (inclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -845,11 +924,14 @@ public com.google.type.DateTimeOrBuilder getUsageStartDateTimeOrBuilder() {
       if (usageStartDateTimeBuilder_ != null) {
         return usageStartDateTimeBuilder_.getMessageOrBuilder();
       } else {
-        return usageStartDateTime_ == null ?
-            com.google.type.DateTime.getDefaultInstance() : usageStartDateTime_;
+        return usageStartDateTime_ == null
+            ? com.google.type.DateTime.getDefaultInstance()
+            : usageStartDateTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The earliest usage date time (inclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -861,14 +943,17 @@ public com.google.type.DateTimeOrBuilder getUsageStartDateTimeOrBuilder() {
      * .google.type.DateTime usage_start_date_time = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.DateTime, com.google.type.DateTime.Builder, com.google.type.DateTimeOrBuilder> 
+            com.google.type.DateTime,
+            com.google.type.DateTime.Builder,
+            com.google.type.DateTimeOrBuilder>
         getUsageStartDateTimeFieldBuilder() {
       if (usageStartDateTimeBuilder_ == null) {
-        usageStartDateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.DateTime, com.google.type.DateTime.Builder, com.google.type.DateTimeOrBuilder>(
-                getUsageStartDateTime(),
-                getParentForChildren(),
-                isClean());
+        usageStartDateTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.type.DateTime,
+                com.google.type.DateTime.Builder,
+                com.google.type.DateTimeOrBuilder>(
+                getUsageStartDateTime(), getParentForChildren(), isClean());
         usageStartDateTime_ = null;
       }
       return usageStartDateTimeBuilder_;
@@ -876,8 +961,13 @@ public com.google.type.DateTimeOrBuilder getUsageStartDateTimeOrBuilder() {
 
     private com.google.type.DateTime usageEndDateTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.DateTime, com.google.type.DateTime.Builder, com.google.type.DateTimeOrBuilder> usageEndDateTimeBuilder_;
+            com.google.type.DateTime,
+            com.google.type.DateTime.Builder,
+            com.google.type.DateTimeOrBuilder>
+        usageEndDateTimeBuilder_;
     /**
+     *
+     *
      * 
      * The latest usage date time (exclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -887,12 +977,15 @@ public com.google.type.DateTimeOrBuilder getUsageStartDateTimeOrBuilder() {
      * 
* * .google.type.DateTime usage_end_date_time = 2; + * * @return Whether the usageEndDateTime field is set. */ public boolean hasUsageEndDateTime() { return usageEndDateTimeBuilder_ != null || usageEndDateTime_ != null; } /** + * + * *
      * The latest usage date time (exclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -902,16 +995,21 @@ public boolean hasUsageEndDateTime() {
      * 
* * .google.type.DateTime usage_end_date_time = 2; + * * @return The usageEndDateTime. */ public com.google.type.DateTime getUsageEndDateTime() { if (usageEndDateTimeBuilder_ == null) { - return usageEndDateTime_ == null ? com.google.type.DateTime.getDefaultInstance() : usageEndDateTime_; + return usageEndDateTime_ == null + ? com.google.type.DateTime.getDefaultInstance() + : usageEndDateTime_; } else { return usageEndDateTimeBuilder_.getMessage(); } } /** + * + * *
      * The latest usage date time (exclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -936,6 +1034,8 @@ public Builder setUsageEndDateTime(com.google.type.DateTime value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The latest usage date time (exclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -946,8 +1046,7 @@ public Builder setUsageEndDateTime(com.google.type.DateTime value) {
      *
      * .google.type.DateTime usage_end_date_time = 2;
      */
-    public Builder setUsageEndDateTime(
-        com.google.type.DateTime.Builder builderForValue) {
+    public Builder setUsageEndDateTime(com.google.type.DateTime.Builder builderForValue) {
       if (usageEndDateTimeBuilder_ == null) {
         usageEndDateTime_ = builderForValue.build();
         onChanged();
@@ -958,6 +1057,8 @@ public Builder setUsageEndDateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The latest usage date time (exclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -972,7 +1073,9 @@ public Builder mergeUsageEndDateTime(com.google.type.DateTime value) {
       if (usageEndDateTimeBuilder_ == null) {
         if (usageEndDateTime_ != null) {
           usageEndDateTime_ =
-            com.google.type.DateTime.newBuilder(usageEndDateTime_).mergeFrom(value).buildPartial();
+              com.google.type.DateTime.newBuilder(usageEndDateTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           usageEndDateTime_ = value;
         }
@@ -984,6 +1087,8 @@ public Builder mergeUsageEndDateTime(com.google.type.DateTime value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The latest usage date time (exclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -1006,6 +1111,8 @@ public Builder clearUsageEndDateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The latest usage date time (exclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -1017,11 +1124,13 @@ public Builder clearUsageEndDateTime() {
      * .google.type.DateTime usage_end_date_time = 2;
      */
     public com.google.type.DateTime.Builder getUsageEndDateTimeBuilder() {
-      
+
       onChanged();
       return getUsageEndDateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The latest usage date time (exclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -1036,11 +1145,14 @@ public com.google.type.DateTimeOrBuilder getUsageEndDateTimeOrBuilder() {
       if (usageEndDateTimeBuilder_ != null) {
         return usageEndDateTimeBuilder_.getMessageOrBuilder();
       } else {
-        return usageEndDateTime_ == null ?
-            com.google.type.DateTime.getDefaultInstance() : usageEndDateTime_;
+        return usageEndDateTime_ == null
+            ? com.google.type.DateTime.getDefaultInstance()
+            : usageEndDateTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The latest usage date time (exclusive).
      * If you use time groupings (daily, weekly, etc), each group uses
@@ -1052,14 +1164,17 @@ public com.google.type.DateTimeOrBuilder getUsageEndDateTimeOrBuilder() {
      * .google.type.DateTime usage_end_date_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.DateTime, com.google.type.DateTime.Builder, com.google.type.DateTimeOrBuilder> 
+            com.google.type.DateTime,
+            com.google.type.DateTime.Builder,
+            com.google.type.DateTimeOrBuilder>
         getUsageEndDateTimeFieldBuilder() {
       if (usageEndDateTimeBuilder_ == null) {
-        usageEndDateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.DateTime, com.google.type.DateTime.Builder, com.google.type.DateTimeOrBuilder>(
-                getUsageEndDateTime(),
-                getParentForChildren(),
-                isClean());
+        usageEndDateTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.type.DateTime,
+                com.google.type.DateTime.Builder,
+                com.google.type.DateTimeOrBuilder>(
+                getUsageEndDateTime(), getParentForChildren(), isClean());
         usageEndDateTime_ = null;
       }
       return usageEndDateTimeBuilder_;
@@ -1067,8 +1182,11 @@ public com.google.type.DateTimeOrBuilder getUsageEndDateTimeOrBuilder() {
 
     private com.google.type.Date invoiceStartDate_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> invoiceStartDateBuilder_;
+            com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
+        invoiceStartDateBuilder_;
     /**
+     *
+     *
      * 
      * The earliest invoice date (inclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1076,12 +1194,15 @@ public com.google.type.DateTimeOrBuilder getUsageEndDateTimeOrBuilder() {
      * 
* * .google.type.Date invoice_start_date = 3; + * * @return Whether the invoiceStartDate field is set. */ public boolean hasInvoiceStartDate() { return invoiceStartDateBuilder_ != null || invoiceStartDate_ != null; } /** + * + * *
      * The earliest invoice date (inclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1089,16 +1210,21 @@ public boolean hasInvoiceStartDate() {
      * 
* * .google.type.Date invoice_start_date = 3; + * * @return The invoiceStartDate. */ public com.google.type.Date getInvoiceStartDate() { if (invoiceStartDateBuilder_ == null) { - return invoiceStartDate_ == null ? com.google.type.Date.getDefaultInstance() : invoiceStartDate_; + return invoiceStartDate_ == null + ? com.google.type.Date.getDefaultInstance() + : invoiceStartDate_; } else { return invoiceStartDateBuilder_.getMessage(); } } /** + * + * *
      * The earliest invoice date (inclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1121,6 +1247,8 @@ public Builder setInvoiceStartDate(com.google.type.Date value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The earliest invoice date (inclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1129,8 +1257,7 @@ public Builder setInvoiceStartDate(com.google.type.Date value) {
      *
      * .google.type.Date invoice_start_date = 3;
      */
-    public Builder setInvoiceStartDate(
-        com.google.type.Date.Builder builderForValue) {
+    public Builder setInvoiceStartDate(com.google.type.Date.Builder builderForValue) {
       if (invoiceStartDateBuilder_ == null) {
         invoiceStartDate_ = builderForValue.build();
         onChanged();
@@ -1141,6 +1268,8 @@ public Builder setInvoiceStartDate(
       return this;
     }
     /**
+     *
+     *
      * 
      * The earliest invoice date (inclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1153,7 +1282,7 @@ public Builder mergeInvoiceStartDate(com.google.type.Date value) {
       if (invoiceStartDateBuilder_ == null) {
         if (invoiceStartDate_ != null) {
           invoiceStartDate_ =
-            com.google.type.Date.newBuilder(invoiceStartDate_).mergeFrom(value).buildPartial();
+              com.google.type.Date.newBuilder(invoiceStartDate_).mergeFrom(value).buildPartial();
         } else {
           invoiceStartDate_ = value;
         }
@@ -1165,6 +1294,8 @@ public Builder mergeInvoiceStartDate(com.google.type.Date value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The earliest invoice date (inclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1185,6 +1316,8 @@ public Builder clearInvoiceStartDate() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The earliest invoice date (inclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1194,11 +1327,13 @@ public Builder clearInvoiceStartDate() {
      * .google.type.Date invoice_start_date = 3;
      */
     public com.google.type.Date.Builder getInvoiceStartDateBuilder() {
-      
+
       onChanged();
       return getInvoiceStartDateFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The earliest invoice date (inclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1211,11 +1346,14 @@ public com.google.type.DateOrBuilder getInvoiceStartDateOrBuilder() {
       if (invoiceStartDateBuilder_ != null) {
         return invoiceStartDateBuilder_.getMessageOrBuilder();
       } else {
-        return invoiceStartDate_ == null ?
-            com.google.type.Date.getDefaultInstance() : invoiceStartDate_;
+        return invoiceStartDate_ == null
+            ? com.google.type.Date.getDefaultInstance()
+            : invoiceStartDate_;
       }
     }
     /**
+     *
+     *
      * 
      * The earliest invoice date (inclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1225,14 +1363,13 @@ public com.google.type.DateOrBuilder getInvoiceStartDateOrBuilder() {
      * .google.type.Date invoice_start_date = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> 
+            com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
         getInvoiceStartDateFieldBuilder() {
       if (invoiceStartDateBuilder_ == null) {
-        invoiceStartDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
-                getInvoiceStartDate(),
-                getParentForChildren(),
-                isClean());
+        invoiceStartDateBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
+                getInvoiceStartDate(), getParentForChildren(), isClean());
         invoiceStartDate_ = null;
       }
       return invoiceStartDateBuilder_;
@@ -1240,8 +1377,11 @@ public com.google.type.DateOrBuilder getInvoiceStartDateOrBuilder() {
 
     private com.google.type.Date invoiceEndDate_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> invoiceEndDateBuilder_;
+            com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
+        invoiceEndDateBuilder_;
     /**
+     *
+     *
      * 
      * The latest invoice date (exclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1250,12 +1390,15 @@ public com.google.type.DateOrBuilder getInvoiceStartDateOrBuilder() {
      * 
* * .google.type.Date invoice_end_date = 4; + * * @return Whether the invoiceEndDate field is set. */ public boolean hasInvoiceEndDate() { return invoiceEndDateBuilder_ != null || invoiceEndDate_ != null; } /** + * + * *
      * The latest invoice date (exclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1264,16 +1407,21 @@ public boolean hasInvoiceEndDate() {
      * 
* * .google.type.Date invoice_end_date = 4; + * * @return The invoiceEndDate. */ public com.google.type.Date getInvoiceEndDate() { if (invoiceEndDateBuilder_ == null) { - return invoiceEndDate_ == null ? com.google.type.Date.getDefaultInstance() : invoiceEndDate_; + return invoiceEndDate_ == null + ? com.google.type.Date.getDefaultInstance() + : invoiceEndDate_; } else { return invoiceEndDateBuilder_.getMessage(); } } /** + * + * *
      * The latest invoice date (exclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1297,6 +1445,8 @@ public Builder setInvoiceEndDate(com.google.type.Date value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The latest invoice date (exclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1306,8 +1456,7 @@ public Builder setInvoiceEndDate(com.google.type.Date value) {
      *
      * .google.type.Date invoice_end_date = 4;
      */
-    public Builder setInvoiceEndDate(
-        com.google.type.Date.Builder builderForValue) {
+    public Builder setInvoiceEndDate(com.google.type.Date.Builder builderForValue) {
       if (invoiceEndDateBuilder_ == null) {
         invoiceEndDate_ = builderForValue.build();
         onChanged();
@@ -1318,6 +1467,8 @@ public Builder setInvoiceEndDate(
       return this;
     }
     /**
+     *
+     *
      * 
      * The latest invoice date (exclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1331,7 +1482,7 @@ public Builder mergeInvoiceEndDate(com.google.type.Date value) {
       if (invoiceEndDateBuilder_ == null) {
         if (invoiceEndDate_ != null) {
           invoiceEndDate_ =
-            com.google.type.Date.newBuilder(invoiceEndDate_).mergeFrom(value).buildPartial();
+              com.google.type.Date.newBuilder(invoiceEndDate_).mergeFrom(value).buildPartial();
         } else {
           invoiceEndDate_ = value;
         }
@@ -1343,6 +1494,8 @@ public Builder mergeInvoiceEndDate(com.google.type.Date value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The latest invoice date (exclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1364,6 +1517,8 @@ public Builder clearInvoiceEndDate() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The latest invoice date (exclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1374,11 +1529,13 @@ public Builder clearInvoiceEndDate() {
      * .google.type.Date invoice_end_date = 4;
      */
     public com.google.type.Date.Builder getInvoiceEndDateBuilder() {
-      
+
       onChanged();
       return getInvoiceEndDateFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The latest invoice date (exclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1392,11 +1549,14 @@ public com.google.type.DateOrBuilder getInvoiceEndDateOrBuilder() {
       if (invoiceEndDateBuilder_ != null) {
         return invoiceEndDateBuilder_.getMessageOrBuilder();
       } else {
-        return invoiceEndDate_ == null ?
-            com.google.type.Date.getDefaultInstance() : invoiceEndDate_;
+        return invoiceEndDate_ == null
+            ? com.google.type.Date.getDefaultInstance()
+            : invoiceEndDate_;
       }
     }
     /**
+     *
+     *
      * 
      * The latest invoice date (exclusive).
      * If your product uses monthly invoices, and this value is not the beginning
@@ -1407,21 +1567,20 @@ public com.google.type.DateOrBuilder getInvoiceEndDateOrBuilder() {
      * .google.type.Date invoice_end_date = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> 
+            com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
         getInvoiceEndDateFieldBuilder() {
       if (invoiceEndDateBuilder_ == null) {
-        invoiceEndDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
-                getInvoiceEndDate(),
-                getParentForChildren(),
-                isClean());
+        invoiceEndDateBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>(
+                getInvoiceEndDate(), getParentForChildren(), isClean());
         invoiceEndDate_ = null;
       }
       return invoiceEndDateBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1431,12 +1590,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.DateRange)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.DateRange)
   private static final com.google.cloud.channel.v1.DateRange DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.channel.v1.DateRange();
   }
@@ -1445,27 +1604,27 @@ public static com.google.cloud.channel.v1.DateRange getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public DateRange parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public DateRange parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1480,6 +1639,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.channel.v1.DateRange getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DateRangeOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DateRangeOrBuilder.java
similarity index 87%
rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DateRangeOrBuilder.java
rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DateRangeOrBuilder.java
index ccc1e4b5960a..cc4a3d9da5a4 100644
--- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DateRangeOrBuilder.java
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DateRangeOrBuilder.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/cloud/channel/v1/reports_service.proto
 
 package com.google.cloud.channel.v1;
 
-public interface DateRangeOrBuilder extends
+public interface DateRangeOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.DateRange)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The earliest usage date time (inclusive).
    * If you use time groupings (daily, weekly, etc), each group uses
@@ -17,10 +35,13 @@ public interface DateRangeOrBuilder extends
    * 
* * .google.type.DateTime usage_start_date_time = 1; + * * @return Whether the usageStartDateTime field is set. */ boolean hasUsageStartDateTime(); /** + * + * *
    * The earliest usage date time (inclusive).
    * If you use time groupings (daily, weekly, etc), each group uses
@@ -30,10 +51,13 @@ public interface DateRangeOrBuilder extends
    * 
* * .google.type.DateTime usage_start_date_time = 1; + * * @return The usageStartDateTime. */ com.google.type.DateTime getUsageStartDateTime(); /** + * + * *
    * The earliest usage date time (inclusive).
    * If you use time groupings (daily, weekly, etc), each group uses
@@ -47,6 +71,8 @@ public interface DateRangeOrBuilder extends
   com.google.type.DateTimeOrBuilder getUsageStartDateTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The latest usage date time (exclusive).
    * If you use time groupings (daily, weekly, etc), each group uses
@@ -56,10 +82,13 @@ public interface DateRangeOrBuilder extends
    * 
* * .google.type.DateTime usage_end_date_time = 2; + * * @return Whether the usageEndDateTime field is set. */ boolean hasUsageEndDateTime(); /** + * + * *
    * The latest usage date time (exclusive).
    * If you use time groupings (daily, weekly, etc), each group uses
@@ -69,10 +98,13 @@ public interface DateRangeOrBuilder extends
    * 
* * .google.type.DateTime usage_end_date_time = 2; + * * @return The usageEndDateTime. */ com.google.type.DateTime getUsageEndDateTime(); /** + * + * *
    * The latest usage date time (exclusive).
    * If you use time groupings (daily, weekly, etc), each group uses
@@ -86,6 +118,8 @@ public interface DateRangeOrBuilder extends
   com.google.type.DateTimeOrBuilder getUsageEndDateTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The earliest invoice date (inclusive).
    * If your product uses monthly invoices, and this value is not the beginning
@@ -93,10 +127,13 @@ public interface DateRangeOrBuilder extends
    * 
* * .google.type.Date invoice_start_date = 3; + * * @return Whether the invoiceStartDate field is set. */ boolean hasInvoiceStartDate(); /** + * + * *
    * The earliest invoice date (inclusive).
    * If your product uses monthly invoices, and this value is not the beginning
@@ -104,10 +141,13 @@ public interface DateRangeOrBuilder extends
    * 
* * .google.type.Date invoice_start_date = 3; + * * @return The invoiceStartDate. */ com.google.type.Date getInvoiceStartDate(); /** + * + * *
    * The earliest invoice date (inclusive).
    * If your product uses monthly invoices, and this value is not the beginning
@@ -119,6 +159,8 @@ public interface DateRangeOrBuilder extends
   com.google.type.DateOrBuilder getInvoiceStartDateOrBuilder();
 
   /**
+   *
+   *
    * 
    * The latest invoice date (exclusive).
    * If your product uses monthly invoices, and this value is not the beginning
@@ -127,10 +169,13 @@ public interface DateRangeOrBuilder extends
    * 
* * .google.type.Date invoice_end_date = 4; + * * @return Whether the invoiceEndDate field is set. */ boolean hasInvoiceEndDate(); /** + * + * *
    * The latest invoice date (exclusive).
    * If your product uses monthly invoices, and this value is not the beginning
@@ -139,10 +184,13 @@ public interface DateRangeOrBuilder extends
    * 
* * .google.type.Date invoice_end_date = 4; + * * @return The invoiceEndDate. */ com.google.type.Date getInvoiceEndDate(); /** + * + * *
    * The latest invoice date (exclusive).
    * If your product uses monthly invoices, and this value is not the beginning
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequest.java
similarity index 57%
rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequest.java
rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequest.java
index 9ff86f816b23..0972458fe609 100644
--- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequest.java
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequest.java
@@ -1,62 +1,88 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/channel/v1/service.proto
 
 package com.google.cloud.channel.v1;
 
 /**
+ *
+ *
  * 
  * Request message for DeleteChannelPartnerRepricingConfig.
  * 
* * Protobuf type {@code google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest} */ -public final class DeleteChannelPartnerRepricingConfigRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteChannelPartnerRepricingConfigRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest) DeleteChannelPartnerRepricingConfigRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteChannelPartnerRepricingConfigRequest.newBuilder() to construct. - private DeleteChannelPartnerRepricingConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteChannelPartnerRepricingConfigRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteChannelPartnerRepricingConfigRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteChannelPartnerRepricingConfigRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest.class, com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest.Builder.class); + com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest.class, + com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the channel partner repricing config rule to
    * delete.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,30 +91,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the channel partner repricing config rule to
    * delete.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -97,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -133,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest other = (com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest) obj; + com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest other = + (com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -161,129 +189,138 @@ public int hashCode() { } public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for DeleteChannelPartnerRepricingConfig.
    * 
* * Protobuf type {@code google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest) com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest.class, com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest.Builder.class); + com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest.class, + com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest.Builder.class); } - // Construct using com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -293,19 +330,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_descriptor; } @java.lang.Override - public com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest getDefaultInstanceForType() { - return com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest.getDefaultInstance(); + public com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest + getDefaultInstanceForType() { + return com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest build() { - com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest result = buildPartial(); + com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -314,7 +354,8 @@ public com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest bu @java.lang.Override public com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest buildPartial() { - com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest result = new com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest(this); + com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest result = + new com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest(this); result.name_ = name_; onBuilt(); return result; @@ -324,46 +365,51 @@ public com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest 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.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest) { - return mergeFrom((com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest)other); + return mergeFrom( + (com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest other) { - if (other == com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest other) { + if (other + == com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -394,17 +440,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -417,19 +465,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the channel partner repricing config rule to
      * delete.
      * 
* - * string name = 1 [(.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; @@ -438,21 +490,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the channel partner repricing config rule to
      * delete.
      * 
* - * string name = 1 [(.google.api.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 { @@ -460,64 +515,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the channel partner repricing config rule to
      * delete.
      * 
* - * string name = 1 [(.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 channel partner repricing config rule to
      * delete.
      * 
* - * string 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 channel partner repricing config rule to
      * delete.
      * 
* - * string name = 1 [(.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); } @@ -527,41 +595,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest) - private static final com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest DEFAULT_INSTANCE; + private static final com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest(); } - public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest getDefaultInstance() { + public static com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteChannelPartnerRepricingConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteChannelPartnerRepricingConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -573,9 +645,8 @@ public com.google.protobuf.Parser ge } @java.lang.Override - public com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest getDefaultInstanceForType() { + public com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequestOrBuilder.java new file mode 100644 index 000000000000..d473ca57884c --- /dev/null +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequestOrBuilder.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/cloud/channel/v1/service.proto + +package com.google.cloud.channel.v1; + +public interface DeleteChannelPartnerRepricingConfigRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the channel partner repricing config rule to
+   * delete.
+   * 
+ * + * + * 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 channel partner repricing config rule to
+   * delete.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequest.java similarity index 60% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequest.java index 1f5675f48c91..c45ef96dc001 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelService.DeleteCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.DeleteCustomerRepricingConfig].
@@ -11,54 +28,63 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest}
  */
-public final class DeleteCustomerRepricingConfigRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeleteCustomerRepricingConfigRequest
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest)
     DeleteCustomerRepricingConfigRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeleteCustomerRepricingConfigRequest.newBuilder() to construct.
-  private DeleteCustomerRepricingConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private DeleteCustomerRepricingConfigRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeleteCustomerRepricingConfigRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteCustomerRepricingConfigRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest.class, com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest.Builder.class);
+            com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest.class,
+            com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The resource name of the customer repricing config rule to
    * delete. Format:
    * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -67,31 +93,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 customer repricing config rule to
    * delete. Format:
    * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -100,6 +128,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +140,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -136,15 +164,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest other = (com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest) obj; + com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest other = + (com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,96 +192,104 @@ public int hashCode() { } public static com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelService.DeleteCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.DeleteCustomerRepricingConfig].
@@ -261,33 +297,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest)
       com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest.class, com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest.Builder.class);
+              com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest.class,
+              com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -297,13 +332,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest getDefaultInstanceForType() {
+    public com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest.getDefaultInstance();
     }
 
@@ -318,7 +354,8 @@ public com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest build()
 
     @java.lang.Override
     public com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest buildPartial() {
-      com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest result = new com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest(this);
+      com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest result =
+          new com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -328,46 +365,50 @@ public com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest 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.cloud.channel.v1.DeleteCustomerRepricingConfigRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest)other);
+        return mergeFrom((com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest other) {
-      if (other == com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest other) {
+      if (other
+          == com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -398,17 +439,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -421,20 +464,24 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The resource name of the customer repricing config rule to
      * delete. Format:
      * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
      * 
* - * string name = 1 [(.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; @@ -443,22 +490,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the customer repricing config rule to
      * delete. Format:
      * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -466,67 +516,80 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the customer repricing config rule to
      * delete. Format:
      * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
      * 
* - * string name = 1 [(.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 customer repricing config rule to
      * delete. Format:
      * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
      * 
* - * string 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 customer repricing config rule to
      * delete. Format:
      * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
      * 
* - * string name = 1 [(.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); } @@ -536,41 +599,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest) - private static final com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest DEFAULT_INSTANCE; + private static final com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest(); } - public static com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest getDefaultInstance() { + public static com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteCustomerRepricingConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteCustomerRepricingConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -582,9 +647,8 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest getDefaultInstanceForType() { + public com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequestOrBuilder.java new file mode 100644 index 000000000000..a7539aca3235 --- /dev/null +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequestOrBuilder.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/cloud/channel/v1/service.proto + +package com.google.cloud.channel.v1; + +public interface DeleteCustomerRepricingConfigRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the customer repricing config rule to
+   * delete. Format:
+   * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
+   * 
+ * + * + * 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 customer repricing config rule to
+   * delete. Format:
+   * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequest.java similarity index 61% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequest.java index eaf38f66cccf..796bd8898767 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelService.DeleteCustomer][google.cloud.channel.v1.CloudChannelService.DeleteCustomer].
@@ -11,52 +28,59 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.DeleteCustomerRequest}
  */
-public final class DeleteCustomerRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeleteCustomerRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.DeleteCustomerRequest)
     DeleteCustomerRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeleteCustomerRequest.newBuilder() to construct.
   private DeleteCustomerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeleteCustomerRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteCustomerRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_DeleteCustomerRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_DeleteCustomerRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_DeleteCustomerRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_DeleteCustomerRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.DeleteCustomerRequest.class, com.google.cloud.channel.v1.DeleteCustomerRequest.Builder.class);
+            com.google.cloud.channel.v1.DeleteCustomerRequest.class,
+            com.google.cloud.channel.v1.DeleteCustomerRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The resource name of the customer to delete.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,29 +89,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 customer to delete.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -96,6 +122,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +134,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -132,15 +158,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.DeleteCustomerRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.DeleteCustomerRequest other = (com.google.cloud.channel.v1.DeleteCustomerRequest) obj; + com.google.cloud.channel.v1.DeleteCustomerRequest other = + (com.google.cloud.channel.v1.DeleteCustomerRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,96 +186,103 @@ public int hashCode() { } public static com.google.cloud.channel.v1.DeleteCustomerRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.DeleteCustomerRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.DeleteCustomerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.DeleteCustomerRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.DeleteCustomerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.DeleteCustomerRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.DeleteCustomerRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.DeleteCustomerRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.DeleteCustomerRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.DeleteCustomerRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.DeleteCustomerRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.DeleteCustomerRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.DeleteCustomerRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.DeleteCustomerRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.DeleteCustomerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelService.DeleteCustomer][google.cloud.channel.v1.CloudChannelService.DeleteCustomer].
@@ -257,33 +290,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.DeleteCustomerRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.DeleteCustomerRequest)
       com.google.cloud.channel.v1.DeleteCustomerRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_DeleteCustomerRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_DeleteCustomerRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_DeleteCustomerRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_DeleteCustomerRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.DeleteCustomerRequest.class, com.google.cloud.channel.v1.DeleteCustomerRequest.Builder.class);
+              com.google.cloud.channel.v1.DeleteCustomerRequest.class,
+              com.google.cloud.channel.v1.DeleteCustomerRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.DeleteCustomerRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -293,9 +325,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_DeleteCustomerRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_DeleteCustomerRequest_descriptor;
     }
 
     @java.lang.Override
@@ -314,7 +346,8 @@ public com.google.cloud.channel.v1.DeleteCustomerRequest build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.DeleteCustomerRequest buildPartial() {
-      com.google.cloud.channel.v1.DeleteCustomerRequest result = new com.google.cloud.channel.v1.DeleteCustomerRequest(this);
+      com.google.cloud.channel.v1.DeleteCustomerRequest result =
+          new com.google.cloud.channel.v1.DeleteCustomerRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -324,38 +357,39 @@ public com.google.cloud.channel.v1.DeleteCustomerRequest 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.cloud.channel.v1.DeleteCustomerRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.DeleteCustomerRequest)other);
+        return mergeFrom((com.google.cloud.channel.v1.DeleteCustomerRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -363,7 +397,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.DeleteCustomerRequest other) {
-      if (other == com.google.cloud.channel.v1.DeleteCustomerRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.DeleteCustomerRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -394,17 +429,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -417,18 +454,22 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The resource name of the customer to delete.
      * 
* - * string name = 1 [(.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; @@ -437,20 +478,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the customer to delete.
      * 
* - * string name = 1 [(.google.api.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 { @@ -458,61 +502,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the customer to delete.
      * 
* - * string name = 1 [(.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 customer to delete.
      * 
* - * string 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 customer to delete.
      * 
* - * string name = 1 [(.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); } @@ -522,12 +579,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.DeleteCustomerRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.DeleteCustomerRequest) private static final com.google.cloud.channel.v1.DeleteCustomerRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.DeleteCustomerRequest(); } @@ -536,27 +593,27 @@ public static com.google.cloud.channel.v1.DeleteCustomerRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteCustomerRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteCustomerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -571,6 +628,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.DeleteCustomerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequestOrBuilder.java new file mode 100644 index 000000000000..33c36302f7ce --- /dev/null +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequestOrBuilder.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/cloud/channel/v1/service.proto + +package com.google.cloud.channel.v1; + +public interface DeleteCustomerRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.DeleteCustomerRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the customer to delete.
+   * 
+ * + * + * 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 customer to delete.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduData.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduData.java similarity index 69% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduData.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduData.java index eef206212840..cd4ff818f8dc 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduData.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduData.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/cloud/channel/v1/common.proto package com.google.cloud.channel.v1; /** + * + * *
  * Required Edu Attributes
  * 
* * Protobuf type {@code google.cloud.channel.v1.EduData} */ -public final class EduData extends - com.google.protobuf.GeneratedMessageV3 implements +public final class EduData extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.EduData) EduDataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use EduData.newBuilder() to construct. private EduData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private EduData() { instituteType_ = 0; instituteSize_ = 0; @@ -27,39 +45,43 @@ private EduData() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new EduData(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_EduData_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.CommonProto + .internal_static_google_cloud_channel_v1_EduData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_EduData_fieldAccessorTable + return com.google.cloud.channel.v1.CommonProto + .internal_static_google_cloud_channel_v1_EduData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.EduData.class, com.google.cloud.channel.v1.EduData.Builder.class); + com.google.cloud.channel.v1.EduData.class, + com.google.cloud.channel.v1.EduData.Builder.class); } /** + * + * *
    * Enum to specify the institute type.
    * 
* * Protobuf enum {@code google.cloud.channel.v1.EduData.InstituteType} */ - public enum InstituteType - implements com.google.protobuf.ProtocolMessageEnum { + public enum InstituteType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not used.
      * 
@@ -68,6 +90,8 @@ public enum InstituteType */ INSTITUTE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Elementary/Secondary Schools & Districts
      * 
@@ -76,6 +100,8 @@ public enum InstituteType */ K12(1), /** + * + * *
      * Higher Education Universities & Colleges
      * 
@@ -87,6 +113,8 @@ public enum InstituteType ; /** + * + * *
      * Not used.
      * 
@@ -95,6 +123,8 @@ public enum InstituteType */ public static final int INSTITUTE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Elementary/Secondary Schools & Districts
      * 
@@ -103,6 +133,8 @@ public enum InstituteType */ public static final int K12_VALUE = 1; /** + * + * *
      * Higher Education Universities & Colleges
      * 
@@ -111,7 +143,6 @@ public enum InstituteType */ public static final int UNIVERSITY_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -136,49 +167,49 @@ public static InstituteType valueOf(int value) { */ public static InstituteType forNumber(int value) { switch (value) { - case 0: return INSTITUTE_TYPE_UNSPECIFIED; - case 1: return K12; - case 2: return UNIVERSITY; - default: return null; + case 0: + return INSTITUTE_TYPE_UNSPECIFIED; + case 1: + return K12; + case 2: + return UNIVERSITY; + 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< - InstituteType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public InstituteType findValueByNumber(int number) { - return InstituteType.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 InstituteType findValueByNumber(int number) { + return InstituteType.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.cloud.channel.v1.EduData.getDescriptor().getEnumTypes().get(0); } private static final InstituteType[] VALUES = values(); - public static InstituteType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static InstituteType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -196,15 +227,18 @@ private InstituteType(int value) { } /** + * + * *
    * Number of students and staff the institute has.
    * 
* * Protobuf enum {@code google.cloud.channel.v1.EduData.InstituteSize} */ - public enum InstituteSize - implements com.google.protobuf.ProtocolMessageEnum { + public enum InstituteSize implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not used.
      * 
@@ -213,6 +247,8 @@ public enum InstituteSize */ INSTITUTE_SIZE_UNSPECIFIED(0), /** + * + * *
      * 1 - 100
      * 
@@ -221,6 +257,8 @@ public enum InstituteSize */ SIZE_1_100(1), /** + * + * *
      * 101 - 500
      * 
@@ -229,6 +267,8 @@ public enum InstituteSize */ SIZE_101_500(2), /** + * + * *
      * 501 - 1,000
      * 
@@ -237,6 +277,8 @@ public enum InstituteSize */ SIZE_501_1000(3), /** + * + * *
      * 1,001 - 2,000
      * 
@@ -245,6 +287,8 @@ public enum InstituteSize */ SIZE_1001_2000(4), /** + * + * *
      * 2,001 - 5,000
      * 
@@ -253,6 +297,8 @@ public enum InstituteSize */ SIZE_2001_5000(5), /** + * + * *
      * 5,001 - 10,000
      * 
@@ -261,6 +307,8 @@ public enum InstituteSize */ SIZE_5001_10000(6), /** + * + * *
      * 10,001 +
      * 
@@ -272,6 +320,8 @@ public enum InstituteSize ; /** + * + * *
      * Not used.
      * 
@@ -280,6 +330,8 @@ public enum InstituteSize */ public static final int INSTITUTE_SIZE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * 1 - 100
      * 
@@ -288,6 +340,8 @@ public enum InstituteSize */ public static final int SIZE_1_100_VALUE = 1; /** + * + * *
      * 101 - 500
      * 
@@ -296,6 +350,8 @@ public enum InstituteSize */ public static final int SIZE_101_500_VALUE = 2; /** + * + * *
      * 501 - 1,000
      * 
@@ -304,6 +360,8 @@ public enum InstituteSize */ public static final int SIZE_501_1000_VALUE = 3; /** + * + * *
      * 1,001 - 2,000
      * 
@@ -312,6 +370,8 @@ public enum InstituteSize */ public static final int SIZE_1001_2000_VALUE = 4; /** + * + * *
      * 2,001 - 5,000
      * 
@@ -320,6 +380,8 @@ public enum InstituteSize */ public static final int SIZE_2001_5000_VALUE = 5; /** + * + * *
      * 5,001 - 10,000
      * 
@@ -328,6 +390,8 @@ public enum InstituteSize */ public static final int SIZE_5001_10000_VALUE = 6; /** + * + * *
      * 10,001 +
      * 
@@ -336,7 +400,6 @@ public enum InstituteSize */ public static final int SIZE_10001_OR_MORE_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -361,54 +424,59 @@ public static InstituteSize valueOf(int value) { */ public static InstituteSize forNumber(int value) { switch (value) { - case 0: return INSTITUTE_SIZE_UNSPECIFIED; - case 1: return SIZE_1_100; - case 2: return SIZE_101_500; - case 3: return SIZE_501_1000; - case 4: return SIZE_1001_2000; - case 5: return SIZE_2001_5000; - case 6: return SIZE_5001_10000; - case 7: return SIZE_10001_OR_MORE; - default: return null; + case 0: + return INSTITUTE_SIZE_UNSPECIFIED; + case 1: + return SIZE_1_100; + case 2: + return SIZE_101_500; + case 3: + return SIZE_501_1000; + case 4: + return SIZE_1001_2000; + case 5: + return SIZE_2001_5000; + case 6: + return SIZE_5001_10000; + case 7: + return SIZE_10001_OR_MORE; + 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< - InstituteSize> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public InstituteSize findValueByNumber(int number) { - return InstituteSize.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 InstituteSize findValueByNumber(int number) { + return InstituteSize.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.cloud.channel.v1.EduData.getDescriptor().getEnumTypes().get(1); } private static final InstituteSize[] VALUES = values(); - public static InstituteSize valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static InstituteSize 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; @@ -428,65 +496,86 @@ private InstituteSize(int value) { public static final int INSTITUTE_TYPE_FIELD_NUMBER = 1; private int instituteType_; /** + * + * *
    * Designated institute type of customer.
    * 
* * .google.cloud.channel.v1.EduData.InstituteType institute_type = 1; + * * @return The enum numeric value on the wire for instituteType. */ - @java.lang.Override public int getInstituteTypeValue() { + @java.lang.Override + public int getInstituteTypeValue() { return instituteType_; } /** + * + * *
    * Designated institute type of customer.
    * 
* * .google.cloud.channel.v1.EduData.InstituteType institute_type = 1; + * * @return The instituteType. */ - @java.lang.Override public com.google.cloud.channel.v1.EduData.InstituteType getInstituteType() { + @java.lang.Override + public com.google.cloud.channel.v1.EduData.InstituteType getInstituteType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.EduData.InstituteType result = com.google.cloud.channel.v1.EduData.InstituteType.valueOf(instituteType_); + com.google.cloud.channel.v1.EduData.InstituteType result = + com.google.cloud.channel.v1.EduData.InstituteType.valueOf(instituteType_); return result == null ? com.google.cloud.channel.v1.EduData.InstituteType.UNRECOGNIZED : result; } public static final int INSTITUTE_SIZE_FIELD_NUMBER = 2; private int instituteSize_; /** + * + * *
    * Size of the institute.
    * 
* * .google.cloud.channel.v1.EduData.InstituteSize institute_size = 2; + * * @return The enum numeric value on the wire for instituteSize. */ - @java.lang.Override public int getInstituteSizeValue() { + @java.lang.Override + public int getInstituteSizeValue() { return instituteSize_; } /** + * + * *
    * Size of the institute.
    * 
* * .google.cloud.channel.v1.EduData.InstituteSize institute_size = 2; + * * @return The instituteSize. */ - @java.lang.Override public com.google.cloud.channel.v1.EduData.InstituteSize getInstituteSize() { + @java.lang.Override + public com.google.cloud.channel.v1.EduData.InstituteSize getInstituteSize() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.EduData.InstituteSize result = com.google.cloud.channel.v1.EduData.InstituteSize.valueOf(instituteSize_); + com.google.cloud.channel.v1.EduData.InstituteSize result = + com.google.cloud.channel.v1.EduData.InstituteSize.valueOf(instituteSize_); return result == null ? com.google.cloud.channel.v1.EduData.InstituteSize.UNRECOGNIZED : result; } public static final int WEBSITE_FIELD_NUMBER = 3; private volatile java.lang.Object website_; /** + * + * *
    * Web address for the edu customer's institution.
    * 
* * string website = 3; + * * @return The website. */ @java.lang.Override @@ -495,29 +584,29 @@ public java.lang.String getWebsite() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); website_ = s; return s; } } /** + * + * *
    * Web address for the edu customer's institution.
    * 
* * string website = 3; + * * @return The bytes for website. */ @java.lang.Override - public com.google.protobuf.ByteString - getWebsiteBytes() { + public com.google.protobuf.ByteString getWebsiteBytes() { java.lang.Object ref = website_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); website_ = b; return b; } else { @@ -526,6 +615,7 @@ public java.lang.String getWebsite() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -537,12 +627,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (instituteType_ != com.google.cloud.channel.v1.EduData.InstituteType.INSTITUTE_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (instituteType_ + != com.google.cloud.channel.v1.EduData.InstituteType.INSTITUTE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, instituteType_); } - if (instituteSize_ != com.google.cloud.channel.v1.EduData.InstituteSize.INSTITUTE_SIZE_UNSPECIFIED.getNumber()) { + if (instituteSize_ + != com.google.cloud.channel.v1.EduData.InstituteSize.INSTITUTE_SIZE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, instituteSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(website_)) { @@ -557,13 +650,15 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (instituteType_ != com.google.cloud.channel.v1.EduData.InstituteType.INSTITUTE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, instituteType_); + if (instituteType_ + != com.google.cloud.channel.v1.EduData.InstituteType.INSTITUTE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, instituteType_); } - if (instituteSize_ != com.google.cloud.channel.v1.EduData.InstituteSize.INSTITUTE_SIZE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, instituteSize_); + if (instituteSize_ + != com.google.cloud.channel.v1.EduData.InstituteSize.INSTITUTE_SIZE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, instituteSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(website_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, website_); @@ -576,7 +671,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.EduData)) { return super.equals(obj); @@ -585,8 +680,7 @@ public boolean equals(final java.lang.Object obj) { if (instituteType_ != other.instituteType_) return false; if (instituteSize_ != other.instituteSize_) return false; - if (!getWebsite() - .equals(other.getWebsite())) return false; + if (!getWebsite().equals(other.getWebsite())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -609,130 +703,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.EduData parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.EduData parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.EduData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.EduData parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.channel.v1.EduData parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.EduData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.EduData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.EduData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.EduData 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.cloud.channel.v1.EduData parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.EduData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.EduData parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.EduData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.EduData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.EduData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Required Edu Attributes
    * 
* * Protobuf type {@code google.cloud.channel.v1.EduData} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.EduData) com.google.cloud.channel.v1.EduDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_EduData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.CommonProto + .internal_static_google_cloud_channel_v1_EduData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_EduData_fieldAccessorTable + return com.google.cloud.channel.v1.CommonProto + .internal_static_google_cloud_channel_v1_EduData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.EduData.class, com.google.cloud.channel.v1.EduData.Builder.class); + com.google.cloud.channel.v1.EduData.class, + com.google.cloud.channel.v1.EduData.Builder.class); } // Construct using com.google.cloud.channel.v1.EduData.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -746,9 +845,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_EduData_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.CommonProto + .internal_static_google_cloud_channel_v1_EduData_descriptor; } @java.lang.Override @@ -779,38 +878,39 @@ public com.google.cloud.channel.v1.EduData 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.cloud.channel.v1.EduData) { - return mergeFrom((com.google.cloud.channel.v1.EduData)other); + return mergeFrom((com.google.cloud.channel.v1.EduData) other); } else { super.mergeFrom(other); return this; @@ -855,27 +955,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - instituteType_ = input.readEnum(); - - break; - } // case 8 - case 16: { - instituteSize_ = input.readEnum(); - - break; - } // case 16 - case 26: { - website_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + instituteType_ = input.readEnum(); + + break; + } // case 8 + case 16: + { + instituteSize_ = input.readEnum(); + + break; + } // case 16 + case 26: + { + website_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -888,51 +992,67 @@ public Builder mergeFrom( private int instituteType_ = 0; /** + * + * *
      * Designated institute type of customer.
      * 
* * .google.cloud.channel.v1.EduData.InstituteType institute_type = 1; + * * @return The enum numeric value on the wire for instituteType. */ - @java.lang.Override public int getInstituteTypeValue() { + @java.lang.Override + public int getInstituteTypeValue() { return instituteType_; } /** + * + * *
      * Designated institute type of customer.
      * 
* * .google.cloud.channel.v1.EduData.InstituteType institute_type = 1; + * * @param value The enum numeric value on the wire for instituteType to set. * @return This builder for chaining. */ public Builder setInstituteTypeValue(int value) { - + instituteType_ = value; onChanged(); return this; } /** + * + * *
      * Designated institute type of customer.
      * 
* * .google.cloud.channel.v1.EduData.InstituteType institute_type = 1; + * * @return The instituteType. */ @java.lang.Override public com.google.cloud.channel.v1.EduData.InstituteType getInstituteType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.EduData.InstituteType result = com.google.cloud.channel.v1.EduData.InstituteType.valueOf(instituteType_); - return result == null ? com.google.cloud.channel.v1.EduData.InstituteType.UNRECOGNIZED : result; + com.google.cloud.channel.v1.EduData.InstituteType result = + com.google.cloud.channel.v1.EduData.InstituteType.valueOf(instituteType_); + return result == null + ? com.google.cloud.channel.v1.EduData.InstituteType.UNRECOGNIZED + : result; } /** + * + * *
      * Designated institute type of customer.
      * 
* * .google.cloud.channel.v1.EduData.InstituteType institute_type = 1; + * * @param value The instituteType to set. * @return This builder for chaining. */ @@ -940,21 +1060,24 @@ public Builder setInstituteType(com.google.cloud.channel.v1.EduData.InstituteTyp if (value == null) { throw new NullPointerException(); } - + instituteType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Designated institute type of customer.
      * 
* * .google.cloud.channel.v1.EduData.InstituteType institute_type = 1; + * * @return This builder for chaining. */ public Builder clearInstituteType() { - + instituteType_ = 0; onChanged(); return this; @@ -962,51 +1085,67 @@ public Builder clearInstituteType() { private int instituteSize_ = 0; /** + * + * *
      * Size of the institute.
      * 
* * .google.cloud.channel.v1.EduData.InstituteSize institute_size = 2; + * * @return The enum numeric value on the wire for instituteSize. */ - @java.lang.Override public int getInstituteSizeValue() { + @java.lang.Override + public int getInstituteSizeValue() { return instituteSize_; } /** + * + * *
      * Size of the institute.
      * 
* * .google.cloud.channel.v1.EduData.InstituteSize institute_size = 2; + * * @param value The enum numeric value on the wire for instituteSize to set. * @return This builder for chaining. */ public Builder setInstituteSizeValue(int value) { - + instituteSize_ = value; onChanged(); return this; } /** + * + * *
      * Size of the institute.
      * 
* * .google.cloud.channel.v1.EduData.InstituteSize institute_size = 2; + * * @return The instituteSize. */ @java.lang.Override public com.google.cloud.channel.v1.EduData.InstituteSize getInstituteSize() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.EduData.InstituteSize result = com.google.cloud.channel.v1.EduData.InstituteSize.valueOf(instituteSize_); - return result == null ? com.google.cloud.channel.v1.EduData.InstituteSize.UNRECOGNIZED : result; + com.google.cloud.channel.v1.EduData.InstituteSize result = + com.google.cloud.channel.v1.EduData.InstituteSize.valueOf(instituteSize_); + return result == null + ? com.google.cloud.channel.v1.EduData.InstituteSize.UNRECOGNIZED + : result; } /** + * + * *
      * Size of the institute.
      * 
* * .google.cloud.channel.v1.EduData.InstituteSize institute_size = 2; + * * @param value The instituteSize to set. * @return This builder for chaining. */ @@ -1014,21 +1153,24 @@ public Builder setInstituteSize(com.google.cloud.channel.v1.EduData.InstituteSiz if (value == null) { throw new NullPointerException(); } - + instituteSize_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Size of the institute.
      * 
* * .google.cloud.channel.v1.EduData.InstituteSize institute_size = 2; + * * @return This builder for chaining. */ public Builder clearInstituteSize() { - + instituteSize_ = 0; onChanged(); return this; @@ -1036,18 +1178,20 @@ public Builder clearInstituteSize() { private java.lang.Object website_ = ""; /** + * + * *
      * Web address for the edu customer's institution.
      * 
* * string website = 3; + * * @return The website. */ public java.lang.String getWebsite() { java.lang.Object ref = website_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); website_ = s; return s; @@ -1056,20 +1200,21 @@ public java.lang.String getWebsite() { } } /** + * + * *
      * Web address for the edu customer's institution.
      * 
* * string website = 3; + * * @return The bytes for website. */ - public com.google.protobuf.ByteString - getWebsiteBytes() { + public com.google.protobuf.ByteString getWebsiteBytes() { java.lang.Object ref = website_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); website_ = b; return b; } else { @@ -1077,61 +1222,68 @@ public java.lang.String getWebsite() { } } /** + * + * *
      * Web address for the edu customer's institution.
      * 
* * string website = 3; + * * @param value The website to set. * @return This builder for chaining. */ - public Builder setWebsite( - java.lang.String value) { + public Builder setWebsite(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + website_ = value; onChanged(); return this; } /** + * + * *
      * Web address for the edu customer's institution.
      * 
* * string website = 3; + * * @return This builder for chaining. */ public Builder clearWebsite() { - + website_ = getDefaultInstance().getWebsite(); onChanged(); return this; } /** + * + * *
      * Web address for the edu customer's institution.
      * 
* * string website = 3; + * * @param value The bytes for website to set. * @return This builder for chaining. */ - public Builder setWebsiteBytes( - com.google.protobuf.ByteString value) { + public Builder setWebsiteBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + website_ = 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,12 +1293,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.EduData) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.EduData) private static final com.google.cloud.channel.v1.EduData DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.EduData(); } @@ -1155,27 +1307,27 @@ public static com.google.cloud.channel.v1.EduData getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EduData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EduData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1190,6 +1342,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.EduData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduDataOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduDataOrBuilder.java similarity index 68% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduDataOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduDataOrBuilder.java index 3b7e51550ef7..03d095dca9d2 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduDataOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EduDataOrBuilder.java @@ -1,67 +1,100 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/common.proto package com.google.cloud.channel.v1; -public interface EduDataOrBuilder extends +public interface EduDataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.EduData) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Designated institute type of customer.
    * 
* * .google.cloud.channel.v1.EduData.InstituteType institute_type = 1; + * * @return The enum numeric value on the wire for instituteType. */ int getInstituteTypeValue(); /** + * + * *
    * Designated institute type of customer.
    * 
* * .google.cloud.channel.v1.EduData.InstituteType institute_type = 1; + * * @return The instituteType. */ com.google.cloud.channel.v1.EduData.InstituteType getInstituteType(); /** + * + * *
    * Size of the institute.
    * 
* * .google.cloud.channel.v1.EduData.InstituteSize institute_size = 2; + * * @return The enum numeric value on the wire for instituteSize. */ int getInstituteSizeValue(); /** + * + * *
    * Size of the institute.
    * 
* * .google.cloud.channel.v1.EduData.InstituteSize institute_size = 2; + * * @return The instituteSize. */ com.google.cloud.channel.v1.EduData.InstituteSize getInstituteSize(); /** + * + * *
    * Web address for the edu customer's institution.
    * 
* * string website = 3; + * * @return The website. */ java.lang.String getWebsite(); /** + * + * *
    * Web address for the edu customer's institution.
    * 
* * string website = 3; + * * @return The bytes for website. */ - com.google.protobuf.ByteString - getWebsiteBytes(); + com.google.protobuf.ByteString getWebsiteBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Entitlement.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Entitlement.java similarity index 71% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Entitlement.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Entitlement.java index e23a07a2ebf4..6c07561f6e4e 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Entitlement.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Entitlement.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/cloud/channel/v1/entitlements.proto package com.google.cloud.channel.v1; /** + * + * *
  * An entitlement is a representation of a customer's ability to use a service.
  * 
* * Protobuf type {@code google.cloud.channel.v1.Entitlement} */ -public final class Entitlement extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Entitlement extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.Entitlement) EntitlementOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Entitlement.newBuilder() to construct. private Entitlement(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Entitlement() { name_ = ""; offer_ = ""; @@ -30,39 +48,43 @@ private Entitlement() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Entitlement(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_Entitlement_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_Entitlement_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_Entitlement_fieldAccessorTable + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_Entitlement_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Entitlement.class, com.google.cloud.channel.v1.Entitlement.Builder.class); + com.google.cloud.channel.v1.Entitlement.class, + com.google.cloud.channel.v1.Entitlement.Builder.class); } /** + * + * *
    * Indicates the current provisioning state of the entitlement.
    * 
* * Protobuf enum {@code google.cloud.channel.v1.Entitlement.ProvisioningState} */ - public enum ProvisioningState - implements com.google.protobuf.ProtocolMessageEnum { + public enum ProvisioningState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not used.
      * 
@@ -71,6 +93,8 @@ public enum ProvisioningState */ PROVISIONING_STATE_UNSPECIFIED(0), /** + * + * *
      * The entitlement is currently active.
      * 
@@ -79,6 +103,8 @@ public enum ProvisioningState */ ACTIVE(1), /** + * + * *
      * The entitlement is currently suspended.
      * 
@@ -90,6 +116,8 @@ public enum ProvisioningState ; /** + * + * *
      * Not used.
      * 
@@ -98,6 +126,8 @@ public enum ProvisioningState */ public static final int PROVISIONING_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The entitlement is currently active.
      * 
@@ -106,6 +136,8 @@ public enum ProvisioningState */ public static final int ACTIVE_VALUE = 1; /** + * + * *
      * The entitlement is currently suspended.
      * 
@@ -114,7 +146,6 @@ public enum ProvisioningState */ public static final int SUSPENDED_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -139,10 +170,14 @@ public static ProvisioningState valueOf(int value) { */ public static ProvisioningState forNumber(int value) { switch (value) { - case 0: return PROVISIONING_STATE_UNSPECIFIED; - case 1: return ACTIVE; - case 5: return SUSPENDED; - default: return null; + case 0: + return PROVISIONING_STATE_UNSPECIFIED; + case 1: + return ACTIVE; + case 5: + return SUSPENDED; + default: + return null; } } @@ -150,28 +185,28 @@ public static ProvisioningState forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ProvisioningState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ProvisioningState findValueByNumber(int number) { - return ProvisioningState.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 ProvisioningState findValueByNumber(int number) { + return ProvisioningState.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.cloud.channel.v1.Entitlement.getDescriptor().getEnumTypes().get(0); } @@ -180,8 +215,7 @@ public ProvisioningState findValueByNumber(int number) { public static ProvisioningState 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; @@ -199,6 +233,8 @@ private ProvisioningState(int value) { } /** + * + * *
    * Suspension reason for an entitlement if
    * [provisioning_state][google.cloud.channel.v1.Entitlement.provisioning_state]
@@ -207,9 +243,10 @@ private ProvisioningState(int value) {
    *
    * Protobuf enum {@code google.cloud.channel.v1.Entitlement.SuspensionReason}
    */
-  public enum SuspensionReason
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum SuspensionReason implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Not used.
      * 
@@ -218,6 +255,8 @@ public enum SuspensionReason */ SUSPENSION_REASON_UNSPECIFIED(0), /** + * + * *
      * Entitlement was manually suspended by the Reseller.
      * 
@@ -226,6 +265,8 @@ public enum SuspensionReason */ RESELLER_INITIATED(1), /** + * + * *
      * Trial ended.
      * 
@@ -234,6 +275,8 @@ public enum SuspensionReason */ TRIAL_ENDED(2), /** + * + * *
      * Entitlement renewal was canceled.
      * 
@@ -242,6 +285,8 @@ public enum SuspensionReason */ RENEWAL_WITH_TYPE_CANCEL(3), /** + * + * *
      * Entitlement was automatically suspended on creation for pending ToS
      * acceptance on customer.
@@ -251,6 +296,8 @@ public enum SuspensionReason
      */
     PENDING_TOS_ACCEPTANCE(4),
     /**
+     *
+     *
      * 
      * Other reasons (internal reasons, abuse, etc.).
      * 
@@ -262,6 +309,8 @@ public enum SuspensionReason ; /** + * + * *
      * Not used.
      * 
@@ -270,6 +319,8 @@ public enum SuspensionReason */ public static final int SUSPENSION_REASON_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Entitlement was manually suspended by the Reseller.
      * 
@@ -278,6 +329,8 @@ public enum SuspensionReason */ public static final int RESELLER_INITIATED_VALUE = 1; /** + * + * *
      * Trial ended.
      * 
@@ -286,6 +339,8 @@ public enum SuspensionReason */ public static final int TRIAL_ENDED_VALUE = 2; /** + * + * *
      * Entitlement renewal was canceled.
      * 
@@ -294,6 +349,8 @@ public enum SuspensionReason */ public static final int RENEWAL_WITH_TYPE_CANCEL_VALUE = 3; /** + * + * *
      * Entitlement was automatically suspended on creation for pending ToS
      * acceptance on customer.
@@ -303,6 +360,8 @@ public enum SuspensionReason
      */
     public static final int PENDING_TOS_ACCEPTANCE_VALUE = 4;
     /**
+     *
+     *
      * 
      * Other reasons (internal reasons, abuse, etc.).
      * 
@@ -311,7 +370,6 @@ public enum SuspensionReason */ public static final int OTHER_VALUE = 100; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -336,42 +394,48 @@ public static SuspensionReason valueOf(int value) { */ public static SuspensionReason forNumber(int value) { switch (value) { - case 0: return SUSPENSION_REASON_UNSPECIFIED; - case 1: return RESELLER_INITIATED; - case 2: return TRIAL_ENDED; - case 3: return RENEWAL_WITH_TYPE_CANCEL; - case 4: return PENDING_TOS_ACCEPTANCE; - case 100: return OTHER; - default: return null; + case 0: + return SUSPENSION_REASON_UNSPECIFIED; + case 1: + return RESELLER_INITIATED; + case 2: + return TRIAL_ENDED; + case 3: + return RENEWAL_WITH_TYPE_CANCEL; + case 4: + return PENDING_TOS_ACCEPTANCE; + case 100: + return OTHER; + 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< - SuspensionReason> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public SuspensionReason findValueByNumber(int number) { - return SuspensionReason.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 SuspensionReason findValueByNumber(int number) { + return SuspensionReason.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.cloud.channel.v1.Entitlement.getDescriptor().getEnumTypes().get(1); } @@ -380,8 +444,7 @@ public SuspensionReason findValueByNumber(int number) { public static SuspensionReason 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; @@ -401,12 +464,15 @@ private SuspensionReason(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. Resource name of an entitlement in the form:
    * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -415,30 +481,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 an entitlement in the form:
    * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_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 { @@ -449,11 +515,15 @@ public java.lang.String getName() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time at which the entitlement is created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -461,11 +531,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time at which the entitlement is created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -473,11 +547,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time at which the entitlement is created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -487,11 +564,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The time at which the entitlement is updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -499,11 +580,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The time at which the entitlement is updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -511,11 +596,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The time at which the entitlement is updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -525,12 +613,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int OFFER_FIELD_NUMBER = 8; private volatile java.lang.Object offer_; /** + * + * *
    * Required. The offer resource name for which the entitlement is to be
    * created. Takes the form: accounts/{account_id}/offers/{offer_id}.
    * 
* - * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The offer. */ @java.lang.Override @@ -539,30 +632,32 @@ public java.lang.String getOffer() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); offer_ = s; return s; } } /** + * + * *
    * Required. The offer resource name for which the entitlement is to be
    * created. Takes the form: accounts/{account_id}/offers/{offer_id}.
    * 
* - * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for offer. */ @java.lang.Override - public com.google.protobuf.ByteString - getOfferBytes() { + public com.google.protobuf.ByteString getOfferBytes() { java.lang.Object ref = offer_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); offer_ = b; return b; } else { @@ -573,12 +668,15 @@ public java.lang.String getOffer() { public static final int COMMITMENT_SETTINGS_FIELD_NUMBER = 12; private com.google.cloud.channel.v1.CommitmentSettings commitmentSettings_; /** + * + * *
    * Commitment settings for a commitment-based Offer.
    * Required for commitment based offers.
    * 
* * .google.cloud.channel.v1.CommitmentSettings commitment_settings = 12; + * * @return Whether the commitmentSettings field is set. */ @java.lang.Override @@ -586,19 +684,26 @@ public boolean hasCommitmentSettings() { return commitmentSettings_ != null; } /** + * + * *
    * Commitment settings for a commitment-based Offer.
    * Required for commitment based offers.
    * 
* * .google.cloud.channel.v1.CommitmentSettings commitment_settings = 12; + * * @return The commitmentSettings. */ @java.lang.Override public com.google.cloud.channel.v1.CommitmentSettings getCommitmentSettings() { - return commitmentSettings_ == null ? com.google.cloud.channel.v1.CommitmentSettings.getDefaultInstance() : commitmentSettings_; + return commitmentSettings_ == null + ? com.google.cloud.channel.v1.CommitmentSettings.getDefaultInstance() + : commitmentSettings_; } /** + * + * *
    * Commitment settings for a commitment-based Offer.
    * Required for commitment based offers.
@@ -614,38 +719,58 @@ public com.google.cloud.channel.v1.CommitmentSettingsOrBuilder getCommitmentSett
   public static final int PROVISIONING_STATE_FIELD_NUMBER = 13;
   private int provisioningState_;
   /**
+   *
+   *
    * 
    * Output only. Current provisioning state of the entitlement.
    * 
* - * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for provisioningState. */ - @java.lang.Override public int getProvisioningStateValue() { + @java.lang.Override + public int getProvisioningStateValue() { return provisioningState_; } /** + * + * *
    * Output only. Current provisioning state of the entitlement.
    * 
* - * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The provisioningState. */ - @java.lang.Override public com.google.cloud.channel.v1.Entitlement.ProvisioningState getProvisioningState() { + @java.lang.Override + public com.google.cloud.channel.v1.Entitlement.ProvisioningState getProvisioningState() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.Entitlement.ProvisioningState result = com.google.cloud.channel.v1.Entitlement.ProvisioningState.valueOf(provisioningState_); - return result == null ? com.google.cloud.channel.v1.Entitlement.ProvisioningState.UNRECOGNIZED : result; + com.google.cloud.channel.v1.Entitlement.ProvisioningState result = + com.google.cloud.channel.v1.Entitlement.ProvisioningState.valueOf(provisioningState_); + return result == null + ? com.google.cloud.channel.v1.Entitlement.ProvisioningState.UNRECOGNIZED + : result; } public static final int PROVISIONED_SERVICE_FIELD_NUMBER = 16; private com.google.cloud.channel.v1.ProvisionedService provisionedService_; /** + * + * *
    * Output only. Service provisioning details for the entitlement.
    * 
* - * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the provisionedService field is set. */ @java.lang.Override @@ -653,23 +778,34 @@ public boolean hasProvisionedService() { return provisionedService_ != null; } /** + * + * *
    * Output only. Service provisioning details for the entitlement.
    * 
* - * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The provisionedService. */ @java.lang.Override public com.google.cloud.channel.v1.ProvisionedService getProvisionedService() { - return provisionedService_ == null ? com.google.cloud.channel.v1.ProvisionedService.getDefaultInstance() : provisionedService_; + return provisionedService_ == null + ? com.google.cloud.channel.v1.ProvisionedService.getDefaultInstance() + : provisionedService_; } /** + * + * *
    * Output only. Service provisioning details for the entitlement.
    * 
* - * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.channel.v1.ProvisionedServiceOrBuilder getProvisionedServiceOrBuilder() { @@ -679,36 +815,53 @@ public com.google.cloud.channel.v1.ProvisionedServiceOrBuilder getProvisionedSer public static final int SUSPENSION_REASONS_FIELD_NUMBER = 18; private java.util.List suspensionReasons_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.channel.v1.Entitlement.SuspensionReason> suspensionReasons_converter_ = + java.lang.Integer, com.google.cloud.channel.v1.Entitlement.SuspensionReason> + suspensionReasons_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.channel.v1.Entitlement.SuspensionReason>() { - public com.google.cloud.channel.v1.Entitlement.SuspensionReason convert(java.lang.Integer from) { + public com.google.cloud.channel.v1.Entitlement.SuspensionReason convert( + java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.Entitlement.SuspensionReason result = com.google.cloud.channel.v1.Entitlement.SuspensionReason.valueOf(from); - return result == null ? com.google.cloud.channel.v1.Entitlement.SuspensionReason.UNRECOGNIZED : result; + com.google.cloud.channel.v1.Entitlement.SuspensionReason result = + com.google.cloud.channel.v1.Entitlement.SuspensionReason.valueOf(from); + return result == null + ? com.google.cloud.channel.v1.Entitlement.SuspensionReason.UNRECOGNIZED + : result; } }; /** + * + * *
    * Output only. Enumerable of all current suspension reasons for an
    * entitlement.
    * 
* - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the suspensionReasons. */ @java.lang.Override - public java.util.List getSuspensionReasonsList() { + public java.util.List + getSuspensionReasonsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.channel.v1.Entitlement.SuspensionReason>(suspensionReasons_, suspensionReasons_converter_); + java.lang.Integer, com.google.cloud.channel.v1.Entitlement.SuspensionReason>( + suspensionReasons_, suspensionReasons_converter_); } /** + * + * *
    * Output only. Enumerable of all current suspension reasons for an
    * entitlement.
    * 
* - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of suspensionReasons. */ @java.lang.Override @@ -716,12 +869,17 @@ public int getSuspensionReasonsCount() { return suspensionReasons_.size(); } /** + * + * *
    * Output only. Enumerable of all current suspension reasons for an
    * entitlement.
    * 
* - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The suspensionReasons at the given index. */ @@ -730,26 +888,35 @@ public com.google.cloud.channel.v1.Entitlement.SuspensionReason getSuspensionRea return suspensionReasons_converter_.convert(suspensionReasons_.get(index)); } /** + * + * *
    * Output only. Enumerable of all current suspension reasons for an
    * entitlement.
    * 
* - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for suspensionReasons. */ @java.lang.Override - public java.util.List - getSuspensionReasonsValueList() { + public java.util.List getSuspensionReasonsValueList() { return suspensionReasons_; } /** + * + * *
    * Output only. Enumerable of all current suspension reasons for an
    * entitlement.
    * 
* - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of suspensionReasons at the given index. */ @@ -757,11 +924,14 @@ public com.google.cloud.channel.v1.Entitlement.SuspensionReason getSuspensionRea public int getSuspensionReasonsValue(int index) { return suspensionReasons_.get(index); } + private int suspensionReasonsMemoizedSerializedSize; public static final int PURCHASE_ORDER_ID_FIELD_NUMBER = 19; private volatile java.lang.Object purchaseOrderId_; /** + * + * *
    * Optional. This purchase order (PO) information is for resellers to use for
    * their company tracking usage. If a purchaseOrderId value is given, it
@@ -771,6 +941,7 @@ public int getSuspensionReasonsValue(int index) {
    * 
* * string purchase_order_id = 19 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The purchaseOrderId. */ @java.lang.Override @@ -779,14 +950,15 @@ public java.lang.String getPurchaseOrderId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); purchaseOrderId_ = s; return s; } } /** + * + * *
    * Optional. This purchase order (PO) information is for resellers to use for
    * their company tracking usage. If a purchaseOrderId value is given, it
@@ -796,16 +968,15 @@ public java.lang.String getPurchaseOrderId() {
    * 
* * string purchase_order_id = 19 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for purchaseOrderId. */ @java.lang.Override - public com.google.protobuf.ByteString - getPurchaseOrderIdBytes() { + public com.google.protobuf.ByteString getPurchaseOrderIdBytes() { java.lang.Object ref = purchaseOrderId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); purchaseOrderId_ = b; return b; } else { @@ -816,11 +987,16 @@ public java.lang.String getPurchaseOrderId() { public static final int TRIAL_SETTINGS_FIELD_NUMBER = 21; private com.google.cloud.channel.v1.TrialSettings trialSettings_; /** + * + * *
    * Output only. Settings for trial offers.
    * 
* - * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the trialSettings field is set. */ @java.lang.Override @@ -828,23 +1004,34 @@ public boolean hasTrialSettings() { return trialSettings_ != null; } /** + * + * *
    * Output only. Settings for trial offers.
    * 
* - * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The trialSettings. */ @java.lang.Override public com.google.cloud.channel.v1.TrialSettings getTrialSettings() { - return trialSettings_ == null ? com.google.cloud.channel.v1.TrialSettings.getDefaultInstance() : trialSettings_; + return trialSettings_ == null + ? com.google.cloud.channel.v1.TrialSettings.getDefaultInstance() + : trialSettings_; } /** + * + * *
    * Output only. Settings for trial offers.
    * 
* - * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.channel.v1.TrialSettingsOrBuilder getTrialSettingsOrBuilder() { @@ -854,11 +1041,14 @@ public com.google.cloud.channel.v1.TrialSettingsOrBuilder getTrialSettingsOrBuil public static final int ASSOCIATION_INFO_FIELD_NUMBER = 23; private com.google.cloud.channel.v1.AssociationInfo associationInfo_; /** + * + * *
    * Association information to other entitlements.
    * 
* * .google.cloud.channel.v1.AssociationInfo association_info = 23; + * * @return Whether the associationInfo field is set. */ @java.lang.Override @@ -866,18 +1056,25 @@ public boolean hasAssociationInfo() { return associationInfo_ != null; } /** + * + * *
    * Association information to other entitlements.
    * 
* * .google.cloud.channel.v1.AssociationInfo association_info = 23; + * * @return The associationInfo. */ @java.lang.Override public com.google.cloud.channel.v1.AssociationInfo getAssociationInfo() { - return associationInfo_ == null ? com.google.cloud.channel.v1.AssociationInfo.getDefaultInstance() : associationInfo_; + return associationInfo_ == null + ? com.google.cloud.channel.v1.AssociationInfo.getDefaultInstance() + : associationInfo_; } /** + * + * *
    * Association information to other entitlements.
    * 
@@ -892,6 +1089,8 @@ public com.google.cloud.channel.v1.AssociationInfoOrBuilder getAssociationInfoOr public static final int PARAMETERS_FIELD_NUMBER = 26; private java.util.List parameters_; /** + * + * *
    * Extended entitlement parameters. When creating an entitlement, valid
    * parameter names and values are defined in the
@@ -909,6 +1108,8 @@ public java.util.List getParametersList()
     return parameters_;
   }
   /**
+   *
+   *
    * 
    * Extended entitlement parameters. When creating an entitlement, valid
    * parameter names and values are defined in the
@@ -922,11 +1123,13 @@ public java.util.List getParametersList()
    * repeated .google.cloud.channel.v1.Parameter parameters = 26;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getParametersOrBuilderList() {
     return parameters_;
   }
   /**
+   *
+   *
    * 
    * Extended entitlement parameters. When creating an entitlement, valid
    * parameter names and values are defined in the
@@ -944,6 +1147,8 @@ public int getParametersCount() {
     return parameters_.size();
   }
   /**
+   *
+   *
    * 
    * Extended entitlement parameters. When creating an entitlement, valid
    * parameter names and values are defined in the
@@ -961,6 +1166,8 @@ public com.google.cloud.channel.v1.Parameter getParameters(int index) {
     return parameters_.get(index);
   }
   /**
+   *
+   *
    * 
    * Extended entitlement parameters. When creating an entitlement, valid
    * parameter names and values are defined in the
@@ -974,12 +1181,12 @@ public com.google.cloud.channel.v1.Parameter getParameters(int index) {
    * repeated .google.cloud.channel.v1.Parameter parameters = 26;
    */
   @java.lang.Override
-  public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(
-      int index) {
+  public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(int index) {
     return parameters_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -991,8 +1198,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     getSerializedSize();
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
@@ -1009,7 +1215,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
     if (commitmentSettings_ != null) {
       output.writeMessage(12, getCommitmentSettings());
     }
-    if (provisioningState_ != com.google.cloud.channel.v1.Entitlement.ProvisioningState.PROVISIONING_STATE_UNSPECIFIED.getNumber()) {
+    if (provisioningState_
+        != com.google.cloud.channel.v1.Entitlement.ProvisioningState.PROVISIONING_STATE_UNSPECIFIED
+            .getNumber()) {
       output.writeEnum(13, provisioningState_);
     }
     if (provisionedService_ != null) {
@@ -1047,54 +1255,49 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(offer_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, offer_);
     }
     if (commitmentSettings_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(12, getCommitmentSettings());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getCommitmentSettings());
     }
-    if (provisioningState_ != com.google.cloud.channel.v1.Entitlement.ProvisioningState.PROVISIONING_STATE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(13, provisioningState_);
+    if (provisioningState_
+        != com.google.cloud.channel.v1.Entitlement.ProvisioningState.PROVISIONING_STATE_UNSPECIFIED
+            .getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(13, provisioningState_);
     }
     if (provisionedService_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(16, getProvisionedService());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getProvisionedService());
     }
     {
       int dataSize = 0;
       for (int i = 0; i < suspensionReasons_.size(); i++) {
-        dataSize += com.google.protobuf.CodedOutputStream
-          .computeEnumSizeNoTag(suspensionReasons_.get(i));
+        dataSize +=
+            com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(suspensionReasons_.get(i));
       }
       size += dataSize;
-      if (!getSuspensionReasonsList().isEmpty()) {  size += 2;
-        size += com.google.protobuf.CodedOutputStream
-          .computeUInt32SizeNoTag(dataSize);
-      }suspensionReasonsMemoizedSerializedSize = dataSize;
+      if (!getSuspensionReasonsList().isEmpty()) {
+        size += 2;
+        size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize);
+      }
+      suspensionReasonsMemoizedSerializedSize = dataSize;
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(purchaseOrderId_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, purchaseOrderId_);
     }
     if (trialSettings_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(21, getTrialSettings());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getTrialSettings());
     }
     if (associationInfo_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(23, getAssociationInfo());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getAssociationInfo());
     }
     for (int i = 0; i < parameters_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(26, parameters_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(26, parameters_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1104,53 +1307,43 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.channel.v1.Entitlement)) {
       return super.equals(obj);
     }
     com.google.cloud.channel.v1.Entitlement other = (com.google.cloud.channel.v1.Entitlement) 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 (!getOffer()
-        .equals(other.getOffer())) return false;
+    if (!getOffer().equals(other.getOffer())) return false;
     if (hasCommitmentSettings() != other.hasCommitmentSettings()) return false;
     if (hasCommitmentSettings()) {
-      if (!getCommitmentSettings()
-          .equals(other.getCommitmentSettings())) return false;
+      if (!getCommitmentSettings().equals(other.getCommitmentSettings())) return false;
     }
     if (provisioningState_ != other.provisioningState_) return false;
     if (hasProvisionedService() != other.hasProvisionedService()) return false;
     if (hasProvisionedService()) {
-      if (!getProvisionedService()
-          .equals(other.getProvisionedService())) return false;
+      if (!getProvisionedService().equals(other.getProvisionedService())) return false;
     }
     if (!suspensionReasons_.equals(other.suspensionReasons_)) return false;
-    if (!getPurchaseOrderId()
-        .equals(other.getPurchaseOrderId())) return false;
+    if (!getPurchaseOrderId().equals(other.getPurchaseOrderId())) return false;
     if (hasTrialSettings() != other.hasTrialSettings()) return false;
     if (hasTrialSettings()) {
-      if (!getTrialSettings()
-          .equals(other.getTrialSettings())) return false;
+      if (!getTrialSettings().equals(other.getTrialSettings())) return false;
     }
     if (hasAssociationInfo() != other.hasAssociationInfo()) return false;
     if (hasAssociationInfo()) {
-      if (!getAssociationInfo()
-          .equals(other.getAssociationInfo())) return false;
+      if (!getAssociationInfo().equals(other.getAssociationInfo())) return false;
     }
-    if (!getParametersList()
-        .equals(other.getParametersList())) return false;
+    if (!getParametersList().equals(other.getParametersList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -1207,130 +1400,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.channel.v1.Entitlement parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.channel.v1.Entitlement parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.channel.v1.Entitlement parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.Entitlement parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.channel.v1.Entitlement parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.Entitlement parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.channel.v1.Entitlement parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.Entitlement 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.cloud.channel.v1.Entitlement parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.channel.v1.Entitlement parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.channel.v1.Entitlement parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.channel.v1.Entitlement parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.Entitlement parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.channel.v1.Entitlement parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.channel.v1.Entitlement prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * An entitlement is a representation of a customer's ability to use a service.
    * 
* * Protobuf type {@code google.cloud.channel.v1.Entitlement} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.Entitlement) com.google.cloud.channel.v1.EntitlementOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_Entitlement_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_Entitlement_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_Entitlement_fieldAccessorTable + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_Entitlement_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Entitlement.class, com.google.cloud.channel.v1.Entitlement.Builder.class); + com.google.cloud.channel.v1.Entitlement.class, + com.google.cloud.channel.v1.Entitlement.Builder.class); } // Construct using com.google.cloud.channel.v1.Entitlement.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1391,9 +1590,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_Entitlement_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_Entitlement_descriptor; } @java.lang.Override @@ -1412,7 +1611,8 @@ public com.google.cloud.channel.v1.Entitlement build() { @java.lang.Override public com.google.cloud.channel.v1.Entitlement buildPartial() { - com.google.cloud.channel.v1.Entitlement result = new com.google.cloud.channel.v1.Entitlement(this); + com.google.cloud.channel.v1.Entitlement result = + new com.google.cloud.channel.v1.Entitlement(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (createTimeBuilder_ == null) { @@ -1470,38 +1670,39 @@ public com.google.cloud.channel.v1.Entitlement 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.cloud.channel.v1.Entitlement) { - return mergeFrom((com.google.cloud.channel.v1.Entitlement)other); + return mergeFrom((com.google.cloud.channel.v1.Entitlement) other); } else { super.mergeFrom(other); return this; @@ -1571,9 +1772,10 @@ public Builder mergeFrom(com.google.cloud.channel.v1.Entitlement other) { parametersBuilder_ = null; parameters_ = other.parameters_; bitField0_ = (bitField0_ & ~0x00000002); - parametersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getParametersFieldBuilder() : null; + parametersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getParametersFieldBuilder() + : null; } else { parametersBuilder_.addAllMessages(other.parameters_); } @@ -1605,104 +1807,107 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 42: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 42 - case 50: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 50 - case 66: { - offer_ = input.readStringRequireUtf8(); - - break; - } // case 66 - case 98: { - input.readMessage( - getCommitmentSettingsFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 98 - case 104: { - provisioningState_ = input.readEnum(); - - break; - } // case 104 - case 130: { - input.readMessage( - getProvisionedServiceFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 130 - case 144: { - int tmpRaw = input.readEnum(); - ensureSuspensionReasonsIsMutable(); - suspensionReasons_.add(tmpRaw); - break; - } // case 144 - case 146: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 42: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 42 + case 50: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 50 + case 66: + { + offer_ = input.readStringRequireUtf8(); + + break; + } // case 66 + case 98: + { + input.readMessage( + getCommitmentSettingsFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 98 + case 104: + { + provisioningState_ = input.readEnum(); + + break; + } // case 104 + case 130: + { + input.readMessage( + getProvisionedServiceFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 130 + case 144: + { int tmpRaw = input.readEnum(); ensureSuspensionReasonsIsMutable(); suspensionReasons_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 146 - case 154: { - purchaseOrderId_ = input.readStringRequireUtf8(); - - break; - } // case 154 - case 170: { - input.readMessage( - getTrialSettingsFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 170 - case 186: { - input.readMessage( - getAssociationInfoFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 186 - case 210: { - com.google.cloud.channel.v1.Parameter m = - input.readMessage( - com.google.cloud.channel.v1.Parameter.parser(), - extensionRegistry); - if (parametersBuilder_ == null) { - ensureParametersIsMutable(); - parameters_.add(m); - } else { - parametersBuilder_.addMessage(m); - } - break; - } // case 210 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 144 + case 146: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureSuspensionReasonsIsMutable(); + suspensionReasons_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 146 + case 154: + { + purchaseOrderId_ = input.readStringRequireUtf8(); + + break; + } // case 154 + case 170: + { + input.readMessage(getTrialSettingsFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 170 + case 186: + { + input.readMessage(getAssociationInfoFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 186 + case 210: + { + com.google.cloud.channel.v1.Parameter m = + input.readMessage( + com.google.cloud.channel.v1.Parameter.parser(), extensionRegistry); + if (parametersBuilder_ == null) { + ensureParametersIsMutable(); + parameters_.add(m); + } else { + parametersBuilder_.addMessage(m); + } + break; + } // case 210 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1712,23 +1917,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Resource name of an entitlement in the form:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_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; @@ -1737,21 +1945,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of an entitlement in the form:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_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 { @@ -1759,57 +1968,64 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of an entitlement in the form:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_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. Resource name of an entitlement in the form:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_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. Resource name of an entitlement in the form:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_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; @@ -1817,39 +2033,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. The time at which the entitlement is created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. The time at which the entitlement is created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.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. The time at which the entitlement is created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1865,14 +2100,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which the entitlement is created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.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(); @@ -1883,17 +2121,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time at which the entitlement is created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.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; } @@ -1905,11 +2147,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which the entitlement is created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1923,48 +2169,64 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time at which the entitlement is created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time at which the entitlement is created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.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. The time at which the entitlement is created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_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> 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_; @@ -1972,39 +2234,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. The time at which the entitlement is updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Output only. The time at which the entitlement is updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.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. The time at which the entitlement is updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2020,14 +2301,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which the entitlement is updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.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(); @@ -2038,17 +2322,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The time at which the entitlement is updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.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; } @@ -2060,11 +2348,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which the entitlement is updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -2078,48 +2370,64 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The time at which the entitlement is updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time at which the entitlement is updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.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. The time at which the entitlement is updated.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.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_; @@ -2127,19 +2435,23 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object offer_ = ""; /** + * + * *
      * Required. The offer resource name for which the entitlement is to be
      * created. Takes the form: accounts/{account_id}/offers/{offer_id}.
      * 
* - * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The offer. */ public java.lang.String getOffer() { java.lang.Object ref = offer_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); offer_ = s; return s; @@ -2148,21 +2460,24 @@ public java.lang.String getOffer() { } } /** + * + * *
      * Required. The offer resource name for which the entitlement is to be
      * created. Takes the form: accounts/{account_id}/offers/{offer_id}.
      * 
* - * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for offer. */ - public com.google.protobuf.ByteString - getOfferBytes() { + public com.google.protobuf.ByteString getOfferBytes() { java.lang.Object ref = offer_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); offer_ = b; return b; } else { @@ -2170,57 +2485,70 @@ public java.lang.String getOffer() { } } /** + * + * *
      * Required. The offer resource name for which the entitlement is to be
      * created. Takes the form: accounts/{account_id}/offers/{offer_id}.
      * 
* - * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The offer to set. * @return This builder for chaining. */ - public Builder setOffer( - java.lang.String value) { + public Builder setOffer(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + offer_ = value; onChanged(); return this; } /** + * + * *
      * Required. The offer resource name for which the entitlement is to be
      * created. Takes the form: accounts/{account_id}/offers/{offer_id}.
      * 
* - * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearOffer() { - + offer_ = getDefaultInstance().getOffer(); onChanged(); return this; } /** + * + * *
      * Required. The offer resource name for which the entitlement is to be
      * created. Takes the form: accounts/{account_id}/offers/{offer_id}.
      * 
* - * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for offer to set. * @return This builder for chaining. */ - public Builder setOfferBytes( - com.google.protobuf.ByteString value) { + public Builder setOfferBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + offer_ = value; onChanged(); return this; @@ -2228,36 +2556,49 @@ public Builder setOfferBytes( private com.google.cloud.channel.v1.CommitmentSettings commitmentSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CommitmentSettings, com.google.cloud.channel.v1.CommitmentSettings.Builder, com.google.cloud.channel.v1.CommitmentSettingsOrBuilder> commitmentSettingsBuilder_; + com.google.cloud.channel.v1.CommitmentSettings, + com.google.cloud.channel.v1.CommitmentSettings.Builder, + com.google.cloud.channel.v1.CommitmentSettingsOrBuilder> + commitmentSettingsBuilder_; /** + * + * *
      * Commitment settings for a commitment-based Offer.
      * Required for commitment based offers.
      * 
* * .google.cloud.channel.v1.CommitmentSettings commitment_settings = 12; + * * @return Whether the commitmentSettings field is set. */ public boolean hasCommitmentSettings() { return commitmentSettingsBuilder_ != null || commitmentSettings_ != null; } /** + * + * *
      * Commitment settings for a commitment-based Offer.
      * Required for commitment based offers.
      * 
* * .google.cloud.channel.v1.CommitmentSettings commitment_settings = 12; + * * @return The commitmentSettings. */ public com.google.cloud.channel.v1.CommitmentSettings getCommitmentSettings() { if (commitmentSettingsBuilder_ == null) { - return commitmentSettings_ == null ? com.google.cloud.channel.v1.CommitmentSettings.getDefaultInstance() : commitmentSettings_; + return commitmentSettings_ == null + ? com.google.cloud.channel.v1.CommitmentSettings.getDefaultInstance() + : commitmentSettings_; } else { return commitmentSettingsBuilder_.getMessage(); } } /** + * + * *
      * Commitment settings for a commitment-based Offer.
      * Required for commitment based offers.
@@ -2279,6 +2620,8 @@ public Builder setCommitmentSettings(com.google.cloud.channel.v1.CommitmentSetti
       return this;
     }
     /**
+     *
+     *
      * 
      * Commitment settings for a commitment-based Offer.
      * Required for commitment based offers.
@@ -2298,6 +2641,8 @@ public Builder setCommitmentSettings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Commitment settings for a commitment-based Offer.
      * Required for commitment based offers.
@@ -2309,7 +2654,9 @@ public Builder mergeCommitmentSettings(com.google.cloud.channel.v1.CommitmentSet
       if (commitmentSettingsBuilder_ == null) {
         if (commitmentSettings_ != null) {
           commitmentSettings_ =
-            com.google.cloud.channel.v1.CommitmentSettings.newBuilder(commitmentSettings_).mergeFrom(value).buildPartial();
+              com.google.cloud.channel.v1.CommitmentSettings.newBuilder(commitmentSettings_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           commitmentSettings_ = value;
         }
@@ -2321,6 +2668,8 @@ public Builder mergeCommitmentSettings(com.google.cloud.channel.v1.CommitmentSet
       return this;
     }
     /**
+     *
+     *
      * 
      * Commitment settings for a commitment-based Offer.
      * Required for commitment based offers.
@@ -2340,6 +2689,8 @@ public Builder clearCommitmentSettings() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Commitment settings for a commitment-based Offer.
      * Required for commitment based offers.
@@ -2348,11 +2699,13 @@ public Builder clearCommitmentSettings() {
      * .google.cloud.channel.v1.CommitmentSettings commitment_settings = 12;
      */
     public com.google.cloud.channel.v1.CommitmentSettings.Builder getCommitmentSettingsBuilder() {
-      
+
       onChanged();
       return getCommitmentSettingsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Commitment settings for a commitment-based Offer.
      * Required for commitment based offers.
@@ -2360,15 +2713,19 @@ public com.google.cloud.channel.v1.CommitmentSettings.Builder getCommitmentSetti
      *
      * .google.cloud.channel.v1.CommitmentSettings commitment_settings = 12;
      */
-    public com.google.cloud.channel.v1.CommitmentSettingsOrBuilder getCommitmentSettingsOrBuilder() {
+    public com.google.cloud.channel.v1.CommitmentSettingsOrBuilder
+        getCommitmentSettingsOrBuilder() {
       if (commitmentSettingsBuilder_ != null) {
         return commitmentSettingsBuilder_.getMessageOrBuilder();
       } else {
-        return commitmentSettings_ == null ?
-            com.google.cloud.channel.v1.CommitmentSettings.getDefaultInstance() : commitmentSettings_;
+        return commitmentSettings_ == null
+            ? com.google.cloud.channel.v1.CommitmentSettings.getDefaultInstance()
+            : commitmentSettings_;
       }
     }
     /**
+     *
+     *
      * 
      * Commitment settings for a commitment-based Offer.
      * Required for commitment based offers.
@@ -2377,14 +2734,17 @@ public com.google.cloud.channel.v1.CommitmentSettingsOrBuilder getCommitmentSett
      * .google.cloud.channel.v1.CommitmentSettings commitment_settings = 12;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.channel.v1.CommitmentSettings, com.google.cloud.channel.v1.CommitmentSettings.Builder, com.google.cloud.channel.v1.CommitmentSettingsOrBuilder> 
+            com.google.cloud.channel.v1.CommitmentSettings,
+            com.google.cloud.channel.v1.CommitmentSettings.Builder,
+            com.google.cloud.channel.v1.CommitmentSettingsOrBuilder>
         getCommitmentSettingsFieldBuilder() {
       if (commitmentSettingsBuilder_ == null) {
-        commitmentSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.channel.v1.CommitmentSettings, com.google.cloud.channel.v1.CommitmentSettings.Builder, com.google.cloud.channel.v1.CommitmentSettingsOrBuilder>(
-                getCommitmentSettings(),
-                getParentForChildren(),
-                isClean());
+        commitmentSettingsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.channel.v1.CommitmentSettings,
+                com.google.cloud.channel.v1.CommitmentSettings.Builder,
+                com.google.cloud.channel.v1.CommitmentSettingsOrBuilder>(
+                getCommitmentSettings(), getParentForChildren(), isClean());
         commitmentSettings_ = null;
       }
       return commitmentSettingsBuilder_;
@@ -2392,73 +2752,103 @@ public com.google.cloud.channel.v1.CommitmentSettingsOrBuilder getCommitmentSett
 
     private int provisioningState_ = 0;
     /**
+     *
+     *
      * 
      * Output only. Current provisioning state of the entitlement.
      * 
* - * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for provisioningState. */ - @java.lang.Override public int getProvisioningStateValue() { + @java.lang.Override + public int getProvisioningStateValue() { return provisioningState_; } /** + * + * *
      * Output only. Current provisioning state of the entitlement.
      * 
* - * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for provisioningState to set. * @return This builder for chaining. */ public Builder setProvisioningStateValue(int value) { - + provisioningState_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Current provisioning state of the entitlement.
      * 
* - * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The provisioningState. */ @java.lang.Override public com.google.cloud.channel.v1.Entitlement.ProvisioningState getProvisioningState() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.Entitlement.ProvisioningState result = com.google.cloud.channel.v1.Entitlement.ProvisioningState.valueOf(provisioningState_); - return result == null ? com.google.cloud.channel.v1.Entitlement.ProvisioningState.UNRECOGNIZED : result; + com.google.cloud.channel.v1.Entitlement.ProvisioningState result = + com.google.cloud.channel.v1.Entitlement.ProvisioningState.valueOf(provisioningState_); + return result == null + ? com.google.cloud.channel.v1.Entitlement.ProvisioningState.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. Current provisioning state of the entitlement.
      * 
* - * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The provisioningState to set. * @return This builder for chaining. */ - public Builder setProvisioningState(com.google.cloud.channel.v1.Entitlement.ProvisioningState value) { + public Builder setProvisioningState( + com.google.cloud.channel.v1.Entitlement.ProvisioningState value) { if (value == null) { throw new NullPointerException(); } - + provisioningState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. Current provisioning state of the entitlement.
      * 
* - * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearProvisioningState() { - + provisioningState_ = 0; onChanged(); return this; @@ -2466,39 +2856,58 @@ public Builder clearProvisioningState() { private com.google.cloud.channel.v1.ProvisionedService provisionedService_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ProvisionedService, com.google.cloud.channel.v1.ProvisionedService.Builder, com.google.cloud.channel.v1.ProvisionedServiceOrBuilder> provisionedServiceBuilder_; + com.google.cloud.channel.v1.ProvisionedService, + com.google.cloud.channel.v1.ProvisionedService.Builder, + com.google.cloud.channel.v1.ProvisionedServiceOrBuilder> + provisionedServiceBuilder_; /** + * + * *
      * Output only. Service provisioning details for the entitlement.
      * 
* - * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the provisionedService field is set. */ public boolean hasProvisionedService() { return provisionedServiceBuilder_ != null || provisionedService_ != null; } /** + * + * *
      * Output only. Service provisioning details for the entitlement.
      * 
* - * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The provisionedService. */ public com.google.cloud.channel.v1.ProvisionedService getProvisionedService() { if (provisionedServiceBuilder_ == null) { - return provisionedService_ == null ? com.google.cloud.channel.v1.ProvisionedService.getDefaultInstance() : provisionedService_; + return provisionedService_ == null + ? com.google.cloud.channel.v1.ProvisionedService.getDefaultInstance() + : provisionedService_; } else { return provisionedServiceBuilder_.getMessage(); } } /** + * + * *
      * Output only. Service provisioning details for the entitlement.
      * 
* - * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setProvisionedService(com.google.cloud.channel.v1.ProvisionedService value) { if (provisionedServiceBuilder_ == null) { @@ -2514,11 +2923,15 @@ public Builder setProvisionedService(com.google.cloud.channel.v1.ProvisionedServ return this; } /** + * + * *
      * Output only. Service provisioning details for the entitlement.
      * 
* - * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setProvisionedService( com.google.cloud.channel.v1.ProvisionedService.Builder builderForValue) { @@ -2532,17 +2945,23 @@ public Builder setProvisionedService( return this; } /** + * + * *
      * Output only. Service provisioning details for the entitlement.
      * 
* - * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeProvisionedService(com.google.cloud.channel.v1.ProvisionedService value) { if (provisionedServiceBuilder_ == null) { if (provisionedService_ != null) { provisionedService_ = - com.google.cloud.channel.v1.ProvisionedService.newBuilder(provisionedService_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.ProvisionedService.newBuilder(provisionedService_) + .mergeFrom(value) + .buildPartial(); } else { provisionedService_ = value; } @@ -2554,11 +2973,15 @@ public Builder mergeProvisionedService(com.google.cloud.channel.v1.ProvisionedSe return this; } /** + * + * *
      * Output only. Service provisioning details for the entitlement.
      * 
* - * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearProvisionedService() { if (provisionedServiceBuilder_ == null) { @@ -2572,55 +2995,73 @@ public Builder clearProvisionedService() { return this; } /** + * + * *
      * Output only. Service provisioning details for the entitlement.
      * 
* - * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.channel.v1.ProvisionedService.Builder getProvisionedServiceBuilder() { - + onChanged(); return getProvisionedServiceFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Service provisioning details for the entitlement.
      * 
* - * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.channel.v1.ProvisionedServiceOrBuilder getProvisionedServiceOrBuilder() { + public com.google.cloud.channel.v1.ProvisionedServiceOrBuilder + getProvisionedServiceOrBuilder() { if (provisionedServiceBuilder_ != null) { return provisionedServiceBuilder_.getMessageOrBuilder(); } else { - return provisionedService_ == null ? - com.google.cloud.channel.v1.ProvisionedService.getDefaultInstance() : provisionedService_; + return provisionedService_ == null + ? com.google.cloud.channel.v1.ProvisionedService.getDefaultInstance() + : provisionedService_; } } /** + * + * *
      * Output only. Service provisioning details for the entitlement.
      * 
* - * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ProvisionedService, com.google.cloud.channel.v1.ProvisionedService.Builder, com.google.cloud.channel.v1.ProvisionedServiceOrBuilder> + com.google.cloud.channel.v1.ProvisionedService, + com.google.cloud.channel.v1.ProvisionedService.Builder, + com.google.cloud.channel.v1.ProvisionedServiceOrBuilder> getProvisionedServiceFieldBuilder() { if (provisionedServiceBuilder_ == null) { - provisionedServiceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ProvisionedService, com.google.cloud.channel.v1.ProvisionedService.Builder, com.google.cloud.channel.v1.ProvisionedServiceOrBuilder>( - getProvisionedService(), - getParentForChildren(), - isClean()); + provisionedServiceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.ProvisionedService, + com.google.cloud.channel.v1.ProvisionedService.Builder, + com.google.cloud.channel.v1.ProvisionedServiceOrBuilder>( + getProvisionedService(), getParentForChildren(), isClean()); provisionedService_ = null; } return provisionedServiceBuilder_; } private java.util.List suspensionReasons_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureSuspensionReasonsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { suspensionReasons_ = new java.util.ArrayList(suspensionReasons_); @@ -2628,50 +3069,73 @@ private void ensureSuspensionReasonsIsMutable() { } } /** + * + * *
      * Output only. Enumerable of all current suspension reasons for an
      * entitlement.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the suspensionReasons. */ - public java.util.List getSuspensionReasonsList() { + public java.util.List + getSuspensionReasonsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.channel.v1.Entitlement.SuspensionReason>(suspensionReasons_, suspensionReasons_converter_); + java.lang.Integer, com.google.cloud.channel.v1.Entitlement.SuspensionReason>( + suspensionReasons_, suspensionReasons_converter_); } /** + * + * *
      * Output only. Enumerable of all current suspension reasons for an
      * entitlement.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of suspensionReasons. */ public int getSuspensionReasonsCount() { return suspensionReasons_.size(); } /** + * + * *
      * Output only. Enumerable of all current suspension reasons for an
      * entitlement.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The suspensionReasons at the given index. */ - public com.google.cloud.channel.v1.Entitlement.SuspensionReason getSuspensionReasons(int index) { + public com.google.cloud.channel.v1.Entitlement.SuspensionReason getSuspensionReasons( + int index) { return suspensionReasons_converter_.convert(suspensionReasons_.get(index)); } /** + * + * *
      * Output only. Enumerable of all current suspension reasons for an
      * entitlement.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index to set the value at. * @param value The suspensionReasons to set. * @return This builder for chaining. @@ -2687,16 +3151,22 @@ public Builder setSuspensionReasons( return this; } /** + * + * *
      * Output only. Enumerable of all current suspension reasons for an
      * entitlement.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The suspensionReasons to add. * @return This builder for chaining. */ - public Builder addSuspensionReasons(com.google.cloud.channel.v1.Entitlement.SuspensionReason value) { + public Builder addSuspensionReasons( + com.google.cloud.channel.v1.Entitlement.SuspensionReason value) { if (value == null) { throw new NullPointerException(); } @@ -2706,17 +3176,23 @@ public Builder addSuspensionReasons(com.google.cloud.channel.v1.Entitlement.Susp return this; } /** + * + * *
      * Output only. Enumerable of all current suspension reasons for an
      * entitlement.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The suspensionReasons to add. * @return This builder for chaining. */ public Builder addAllSuspensionReasons( - java.lang.Iterable values) { + java.lang.Iterable + values) { ensureSuspensionReasonsIsMutable(); for (com.google.cloud.channel.v1.Entitlement.SuspensionReason value : values) { suspensionReasons_.add(value.getNumber()); @@ -2725,12 +3201,17 @@ public Builder addAllSuspensionReasons( return this; } /** + * + * *
      * Output only. Enumerable of all current suspension reasons for an
      * entitlement.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearSuspensionReasons() { @@ -2740,25 +3221,34 @@ public Builder clearSuspensionReasons() { return this; } /** + * + * *
      * Output only. Enumerable of all current suspension reasons for an
      * entitlement.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for suspensionReasons. */ - public java.util.List - getSuspensionReasonsValueList() { + public java.util.List getSuspensionReasonsValueList() { return java.util.Collections.unmodifiableList(suspensionReasons_); } /** + * + * *
      * Output only. Enumerable of all current suspension reasons for an
      * entitlement.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of suspensionReasons at the given index. */ @@ -2766,30 +3256,39 @@ public int getSuspensionReasonsValue(int index) { return suspensionReasons_.get(index); } /** + * + * *
      * Output only. Enumerable of all current suspension reasons for an
      * entitlement.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for suspensionReasons to set. * @return This builder for chaining. */ - public Builder setSuspensionReasonsValue( - int index, int value) { + public Builder setSuspensionReasonsValue(int index, int value) { ensureSuspensionReasonsIsMutable(); suspensionReasons_.set(index, value); onChanged(); return this; } /** + * + * *
      * Output only. Enumerable of all current suspension reasons for an
      * entitlement.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for suspensionReasons to add. * @return This builder for chaining. */ @@ -2800,17 +3299,21 @@ public Builder addSuspensionReasonsValue(int value) { return this; } /** + * + * *
      * Output only. Enumerable of all current suspension reasons for an
      * entitlement.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The enum numeric values on the wire for suspensionReasons to add. * @return This builder for chaining. */ - public Builder addAllSuspensionReasonsValue( - java.lang.Iterable values) { + public Builder addAllSuspensionReasonsValue(java.lang.Iterable values) { ensureSuspensionReasonsIsMutable(); for (int value : values) { suspensionReasons_.add(value); @@ -2821,6 +3324,8 @@ public Builder addAllSuspensionReasonsValue( private java.lang.Object purchaseOrderId_ = ""; /** + * + * *
      * Optional. This purchase order (PO) information is for resellers to use for
      * their company tracking usage. If a purchaseOrderId value is given, it
@@ -2830,13 +3335,13 @@ public Builder addAllSuspensionReasonsValue(
      * 
* * string purchase_order_id = 19 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The purchaseOrderId. */ public java.lang.String getPurchaseOrderId() { java.lang.Object ref = purchaseOrderId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); purchaseOrderId_ = s; return s; @@ -2845,6 +3350,8 @@ public java.lang.String getPurchaseOrderId() { } } /** + * + * *
      * Optional. This purchase order (PO) information is for resellers to use for
      * their company tracking usage. If a purchaseOrderId value is given, it
@@ -2854,15 +3361,14 @@ public java.lang.String getPurchaseOrderId() {
      * 
* * string purchase_order_id = 19 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for purchaseOrderId. */ - public com.google.protobuf.ByteString - getPurchaseOrderIdBytes() { + public com.google.protobuf.ByteString getPurchaseOrderIdBytes() { java.lang.Object ref = purchaseOrderId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); purchaseOrderId_ = b; return b; } else { @@ -2870,6 +3376,8 @@ public java.lang.String getPurchaseOrderId() { } } /** + * + * *
      * Optional. This purchase order (PO) information is for resellers to use for
      * their company tracking usage. If a purchaseOrderId value is given, it
@@ -2879,20 +3387,22 @@ public java.lang.String getPurchaseOrderId() {
      * 
* * string purchase_order_id = 19 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The purchaseOrderId to set. * @return This builder for chaining. */ - public Builder setPurchaseOrderId( - java.lang.String value) { + public Builder setPurchaseOrderId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + purchaseOrderId_ = value; onChanged(); return this; } /** + * + * *
      * Optional. This purchase order (PO) information is for resellers to use for
      * their company tracking usage. If a purchaseOrderId value is given, it
@@ -2902,15 +3412,18 @@ public Builder setPurchaseOrderId(
      * 
* * string purchase_order_id = 19 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPurchaseOrderId() { - + purchaseOrderId_ = getDefaultInstance().getPurchaseOrderId(); onChanged(); return this; } /** + * + * *
      * Optional. This purchase order (PO) information is for resellers to use for
      * their company tracking usage. If a purchaseOrderId value is given, it
@@ -2920,16 +3433,16 @@ public Builder clearPurchaseOrderId() {
      * 
* * string purchase_order_id = 19 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for purchaseOrderId to set. * @return This builder for chaining. */ - public Builder setPurchaseOrderIdBytes( - com.google.protobuf.ByteString value) { + public Builder setPurchaseOrderIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + purchaseOrderId_ = value; onChanged(); return this; @@ -2937,39 +3450,58 @@ public Builder setPurchaseOrderIdBytes( private com.google.cloud.channel.v1.TrialSettings trialSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.TrialSettings, com.google.cloud.channel.v1.TrialSettings.Builder, com.google.cloud.channel.v1.TrialSettingsOrBuilder> trialSettingsBuilder_; + com.google.cloud.channel.v1.TrialSettings, + com.google.cloud.channel.v1.TrialSettings.Builder, + com.google.cloud.channel.v1.TrialSettingsOrBuilder> + trialSettingsBuilder_; /** + * + * *
      * Output only. Settings for trial offers.
      * 
* - * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the trialSettings field is set. */ public boolean hasTrialSettings() { return trialSettingsBuilder_ != null || trialSettings_ != null; } /** + * + * *
      * Output only. Settings for trial offers.
      * 
* - * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The trialSettings. */ public com.google.cloud.channel.v1.TrialSettings getTrialSettings() { if (trialSettingsBuilder_ == null) { - return trialSettings_ == null ? com.google.cloud.channel.v1.TrialSettings.getDefaultInstance() : trialSettings_; + return trialSettings_ == null + ? com.google.cloud.channel.v1.TrialSettings.getDefaultInstance() + : trialSettings_; } else { return trialSettingsBuilder_.getMessage(); } } /** + * + * *
      * Output only. Settings for trial offers.
      * 
* - * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setTrialSettings(com.google.cloud.channel.v1.TrialSettings value) { if (trialSettingsBuilder_ == null) { @@ -2985,11 +3517,15 @@ public Builder setTrialSettings(com.google.cloud.channel.v1.TrialSettings value) return this; } /** + * + * *
      * Output only. Settings for trial offers.
      * 
* - * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setTrialSettings( com.google.cloud.channel.v1.TrialSettings.Builder builderForValue) { @@ -3003,17 +3539,23 @@ public Builder setTrialSettings( return this; } /** + * + * *
      * Output only. Settings for trial offers.
      * 
* - * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeTrialSettings(com.google.cloud.channel.v1.TrialSettings value) { if (trialSettingsBuilder_ == null) { if (trialSettings_ != null) { trialSettings_ = - com.google.cloud.channel.v1.TrialSettings.newBuilder(trialSettings_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.TrialSettings.newBuilder(trialSettings_) + .mergeFrom(value) + .buildPartial(); } else { trialSettings_ = value; } @@ -3025,11 +3567,15 @@ public Builder mergeTrialSettings(com.google.cloud.channel.v1.TrialSettings valu return this; } /** + * + * *
      * Output only. Settings for trial offers.
      * 
* - * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearTrialSettings() { if (trialSettingsBuilder_ == null) { @@ -3043,48 +3589,64 @@ public Builder clearTrialSettings() { return this; } /** + * + * *
      * Output only. Settings for trial offers.
      * 
* - * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.channel.v1.TrialSettings.Builder getTrialSettingsBuilder() { - + onChanged(); return getTrialSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Settings for trial offers.
      * 
* - * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.channel.v1.TrialSettingsOrBuilder getTrialSettingsOrBuilder() { if (trialSettingsBuilder_ != null) { return trialSettingsBuilder_.getMessageOrBuilder(); } else { - return trialSettings_ == null ? - com.google.cloud.channel.v1.TrialSettings.getDefaultInstance() : trialSettings_; + return trialSettings_ == null + ? com.google.cloud.channel.v1.TrialSettings.getDefaultInstance() + : trialSettings_; } } /** + * + * *
      * Output only. Settings for trial offers.
      * 
* - * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.TrialSettings, com.google.cloud.channel.v1.TrialSettings.Builder, com.google.cloud.channel.v1.TrialSettingsOrBuilder> + com.google.cloud.channel.v1.TrialSettings, + com.google.cloud.channel.v1.TrialSettings.Builder, + com.google.cloud.channel.v1.TrialSettingsOrBuilder> getTrialSettingsFieldBuilder() { if (trialSettingsBuilder_ == null) { - trialSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.TrialSettings, com.google.cloud.channel.v1.TrialSettings.Builder, com.google.cloud.channel.v1.TrialSettingsOrBuilder>( - getTrialSettings(), - getParentForChildren(), - isClean()); + trialSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.TrialSettings, + com.google.cloud.channel.v1.TrialSettings.Builder, + com.google.cloud.channel.v1.TrialSettingsOrBuilder>( + getTrialSettings(), getParentForChildren(), isClean()); trialSettings_ = null; } return trialSettingsBuilder_; @@ -3092,34 +3654,47 @@ public com.google.cloud.channel.v1.TrialSettingsOrBuilder getTrialSettingsOrBuil private com.google.cloud.channel.v1.AssociationInfo associationInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.AssociationInfo, com.google.cloud.channel.v1.AssociationInfo.Builder, com.google.cloud.channel.v1.AssociationInfoOrBuilder> associationInfoBuilder_; + com.google.cloud.channel.v1.AssociationInfo, + com.google.cloud.channel.v1.AssociationInfo.Builder, + com.google.cloud.channel.v1.AssociationInfoOrBuilder> + associationInfoBuilder_; /** + * + * *
      * Association information to other entitlements.
      * 
* * .google.cloud.channel.v1.AssociationInfo association_info = 23; + * * @return Whether the associationInfo field is set. */ public boolean hasAssociationInfo() { return associationInfoBuilder_ != null || associationInfo_ != null; } /** + * + * *
      * Association information to other entitlements.
      * 
* * .google.cloud.channel.v1.AssociationInfo association_info = 23; + * * @return The associationInfo. */ public com.google.cloud.channel.v1.AssociationInfo getAssociationInfo() { if (associationInfoBuilder_ == null) { - return associationInfo_ == null ? com.google.cloud.channel.v1.AssociationInfo.getDefaultInstance() : associationInfo_; + return associationInfo_ == null + ? com.google.cloud.channel.v1.AssociationInfo.getDefaultInstance() + : associationInfo_; } else { return associationInfoBuilder_.getMessage(); } } /** + * + * *
      * Association information to other entitlements.
      * 
@@ -3140,6 +3715,8 @@ public Builder setAssociationInfo(com.google.cloud.channel.v1.AssociationInfo va return this; } /** + * + * *
      * Association information to other entitlements.
      * 
@@ -3158,6 +3735,8 @@ public Builder setAssociationInfo( return this; } /** + * + * *
      * Association information to other entitlements.
      * 
@@ -3168,7 +3747,9 @@ public Builder mergeAssociationInfo(com.google.cloud.channel.v1.AssociationInfo if (associationInfoBuilder_ == null) { if (associationInfo_ != null) { associationInfo_ = - com.google.cloud.channel.v1.AssociationInfo.newBuilder(associationInfo_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.AssociationInfo.newBuilder(associationInfo_) + .mergeFrom(value) + .buildPartial(); } else { associationInfo_ = value; } @@ -3180,6 +3761,8 @@ public Builder mergeAssociationInfo(com.google.cloud.channel.v1.AssociationInfo return this; } /** + * + * *
      * Association information to other entitlements.
      * 
@@ -3198,6 +3781,8 @@ public Builder clearAssociationInfo() { return this; } /** + * + * *
      * Association information to other entitlements.
      * 
@@ -3205,11 +3790,13 @@ public Builder clearAssociationInfo() { * .google.cloud.channel.v1.AssociationInfo association_info = 23; */ public com.google.cloud.channel.v1.AssociationInfo.Builder getAssociationInfoBuilder() { - + onChanged(); return getAssociationInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Association information to other entitlements.
      * 
@@ -3220,11 +3807,14 @@ public com.google.cloud.channel.v1.AssociationInfoOrBuilder getAssociationInfoOr if (associationInfoBuilder_ != null) { return associationInfoBuilder_.getMessageOrBuilder(); } else { - return associationInfo_ == null ? - com.google.cloud.channel.v1.AssociationInfo.getDefaultInstance() : associationInfo_; + return associationInfo_ == null + ? com.google.cloud.channel.v1.AssociationInfo.getDefaultInstance() + : associationInfo_; } } /** + * + * *
      * Association information to other entitlements.
      * 
@@ -3232,32 +3822,41 @@ public com.google.cloud.channel.v1.AssociationInfoOrBuilder getAssociationInfoOr * .google.cloud.channel.v1.AssociationInfo association_info = 23; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.AssociationInfo, com.google.cloud.channel.v1.AssociationInfo.Builder, com.google.cloud.channel.v1.AssociationInfoOrBuilder> + com.google.cloud.channel.v1.AssociationInfo, + com.google.cloud.channel.v1.AssociationInfo.Builder, + com.google.cloud.channel.v1.AssociationInfoOrBuilder> getAssociationInfoFieldBuilder() { if (associationInfoBuilder_ == null) { - associationInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.AssociationInfo, com.google.cloud.channel.v1.AssociationInfo.Builder, com.google.cloud.channel.v1.AssociationInfoOrBuilder>( - getAssociationInfo(), - getParentForChildren(), - isClean()); + associationInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.AssociationInfo, + com.google.cloud.channel.v1.AssociationInfo.Builder, + com.google.cloud.channel.v1.AssociationInfoOrBuilder>( + getAssociationInfo(), getParentForChildren(), isClean()); associationInfo_ = null; } return associationInfoBuilder_; } private java.util.List parameters_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureParametersIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { parameters_ = new java.util.ArrayList(parameters_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Parameter, com.google.cloud.channel.v1.Parameter.Builder, com.google.cloud.channel.v1.ParameterOrBuilder> parametersBuilder_; + com.google.cloud.channel.v1.Parameter, + com.google.cloud.channel.v1.Parameter.Builder, + com.google.cloud.channel.v1.ParameterOrBuilder> + parametersBuilder_; /** + * + * *
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -3278,6 +3877,8 @@ public java.util.List getParametersList()
       }
     }
     /**
+     *
+     *
      * 
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -3298,6 +3899,8 @@ public int getParametersCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -3318,6 +3921,8 @@ public com.google.cloud.channel.v1.Parameter getParameters(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -3330,8 +3935,7 @@ public com.google.cloud.channel.v1.Parameter getParameters(int index) {
      *
      * repeated .google.cloud.channel.v1.Parameter parameters = 26;
      */
-    public Builder setParameters(
-        int index, com.google.cloud.channel.v1.Parameter value) {
+    public Builder setParameters(int index, com.google.cloud.channel.v1.Parameter value) {
       if (parametersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3345,6 +3949,8 @@ public Builder setParameters(
       return this;
     }
     /**
+     *
+     *
      * 
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -3369,6 +3975,8 @@ public Builder setParameters(
       return this;
     }
     /**
+     *
+     *
      * 
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -3395,6 +4003,8 @@ public Builder addParameters(com.google.cloud.channel.v1.Parameter value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -3407,8 +4017,7 @@ public Builder addParameters(com.google.cloud.channel.v1.Parameter value) {
      *
      * repeated .google.cloud.channel.v1.Parameter parameters = 26;
      */
-    public Builder addParameters(
-        int index, com.google.cloud.channel.v1.Parameter value) {
+    public Builder addParameters(int index, com.google.cloud.channel.v1.Parameter value) {
       if (parametersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3422,6 +4031,8 @@ public Builder addParameters(
       return this;
     }
     /**
+     *
+     *
      * 
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -3434,8 +4045,7 @@ public Builder addParameters(
      *
      * repeated .google.cloud.channel.v1.Parameter parameters = 26;
      */
-    public Builder addParameters(
-        com.google.cloud.channel.v1.Parameter.Builder builderForValue) {
+    public Builder addParameters(com.google.cloud.channel.v1.Parameter.Builder builderForValue) {
       if (parametersBuilder_ == null) {
         ensureParametersIsMutable();
         parameters_.add(builderForValue.build());
@@ -3446,6 +4056,8 @@ public Builder addParameters(
       return this;
     }
     /**
+     *
+     *
      * 
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -3470,6 +4082,8 @@ public Builder addParameters(
       return this;
     }
     /**
+     *
+     *
      * 
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -3486,8 +4100,7 @@ public Builder addAllParameters(
         java.lang.Iterable values) {
       if (parametersBuilder_ == null) {
         ensureParametersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, parameters_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, parameters_);
         onChanged();
       } else {
         parametersBuilder_.addAllMessages(values);
@@ -3495,6 +4108,8 @@ public Builder addAllParameters(
       return this;
     }
     /**
+     *
+     *
      * 
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -3518,6 +4133,8 @@ public Builder clearParameters() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -3541,6 +4158,8 @@ public Builder removeParameters(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -3553,11 +4172,12 @@ public Builder removeParameters(int index) {
      *
      * repeated .google.cloud.channel.v1.Parameter parameters = 26;
      */
-    public com.google.cloud.channel.v1.Parameter.Builder getParametersBuilder(
-        int index) {
+    public com.google.cloud.channel.v1.Parameter.Builder getParametersBuilder(int index) {
       return getParametersFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -3570,14 +4190,16 @@ public com.google.cloud.channel.v1.Parameter.Builder getParametersBuilder(
      *
      * repeated .google.cloud.channel.v1.Parameter parameters = 26;
      */
-    public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(
-        int index) {
+    public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(int index) {
       if (parametersBuilder_ == null) {
-        return parameters_.get(index);  } else {
+        return parameters_.get(index);
+      } else {
         return parametersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -3590,8 +4212,8 @@ public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(
      *
      * repeated .google.cloud.channel.v1.Parameter parameters = 26;
      */
-    public java.util.List 
-         getParametersOrBuilderList() {
+    public java.util.List
+        getParametersOrBuilderList() {
       if (parametersBuilder_ != null) {
         return parametersBuilder_.getMessageOrBuilderList();
       } else {
@@ -3599,6 +4221,8 @@ public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -3612,10 +4236,12 @@ public com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(
      * repeated .google.cloud.channel.v1.Parameter parameters = 26;
      */
     public com.google.cloud.channel.v1.Parameter.Builder addParametersBuilder() {
-      return getParametersFieldBuilder().addBuilder(
-          com.google.cloud.channel.v1.Parameter.getDefaultInstance());
+      return getParametersFieldBuilder()
+          .addBuilder(com.google.cloud.channel.v1.Parameter.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -3628,12 +4254,13 @@ public com.google.cloud.channel.v1.Parameter.Builder addParametersBuilder() {
      *
      * repeated .google.cloud.channel.v1.Parameter parameters = 26;
      */
-    public com.google.cloud.channel.v1.Parameter.Builder addParametersBuilder(
-        int index) {
-      return getParametersFieldBuilder().addBuilder(
-          index, com.google.cloud.channel.v1.Parameter.getDefaultInstance());
+    public com.google.cloud.channel.v1.Parameter.Builder addParametersBuilder(int index) {
+      return getParametersFieldBuilder()
+          .addBuilder(index, com.google.cloud.channel.v1.Parameter.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Extended entitlement parameters. When creating an entitlement, valid
      * parameter names and values are defined in the
@@ -3646,27 +4273,30 @@ public com.google.cloud.channel.v1.Parameter.Builder addParametersBuilder(
      *
      * repeated .google.cloud.channel.v1.Parameter parameters = 26;
      */
-    public java.util.List 
-         getParametersBuilderList() {
+    public java.util.List
+        getParametersBuilderList() {
       return getParametersFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.channel.v1.Parameter, com.google.cloud.channel.v1.Parameter.Builder, com.google.cloud.channel.v1.ParameterOrBuilder> 
+            com.google.cloud.channel.v1.Parameter,
+            com.google.cloud.channel.v1.Parameter.Builder,
+            com.google.cloud.channel.v1.ParameterOrBuilder>
         getParametersFieldBuilder() {
       if (parametersBuilder_ == null) {
-        parametersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.channel.v1.Parameter, com.google.cloud.channel.v1.Parameter.Builder, com.google.cloud.channel.v1.ParameterOrBuilder>(
-                parameters_,
-                ((bitField0_ & 0x00000002) != 0),
-                getParentForChildren(),
-                isClean());
+        parametersBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.channel.v1.Parameter,
+                com.google.cloud.channel.v1.Parameter.Builder,
+                com.google.cloud.channel.v1.ParameterOrBuilder>(
+                parameters_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
         parameters_ = null;
       }
       return parametersBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -3676,12 +4306,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.Entitlement)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.Entitlement)
   private static final com.google.cloud.channel.v1.Entitlement DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.channel.v1.Entitlement();
   }
@@ -3690,27 +4320,27 @@ public static com.google.cloud.channel.v1.Entitlement getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Entitlement parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Entitlement parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -3725,6 +4355,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.channel.v1.Entitlement getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEvent.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEvent.java
similarity index 71%
rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEvent.java
rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEvent.java
index bae06d5662ce..bcff24d7da68 100644
--- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEvent.java
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEvent.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/cloud/channel/v1/subscriber_event.proto
 
 package com.google.cloud.channel.v1;
 
 /**
+ *
+ *
  * 
  * Represents Pub/Sub message content describing entitlement update.
  * 
* * Protobuf type {@code google.cloud.channel.v1.EntitlementEvent} */ -public final class EntitlementEvent extends - com.google.protobuf.GeneratedMessageV3 implements +public final class EntitlementEvent extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.EntitlementEvent) EntitlementEventOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use EntitlementEvent.newBuilder() to construct. private EntitlementEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private EntitlementEvent() { entitlement_ = ""; eventType_ = 0; @@ -26,39 +44,43 @@ private EntitlementEvent() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new EntitlementEvent(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.SubscriberEventProto.internal_static_google_cloud_channel_v1_EntitlementEvent_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.SubscriberEventProto + .internal_static_google_cloud_channel_v1_EntitlementEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.SubscriberEventProto.internal_static_google_cloud_channel_v1_EntitlementEvent_fieldAccessorTable + return com.google.cloud.channel.v1.SubscriberEventProto + .internal_static_google_cloud_channel_v1_EntitlementEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.EntitlementEvent.class, com.google.cloud.channel.v1.EntitlementEvent.Builder.class); + com.google.cloud.channel.v1.EntitlementEvent.class, + com.google.cloud.channel.v1.EntitlementEvent.Builder.class); } /** + * + * *
    * Type of entitlement event.
    * 
* * Protobuf enum {@code google.cloud.channel.v1.EntitlementEvent.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not used.
      * 
@@ -67,6 +89,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
      * A new entitlement was created.
      * 
@@ -75,6 +99,8 @@ public enum Type */ CREATED(1), /** + * + * *
      * The offer type associated with an entitlement was changed.
      * This is not triggered if an entitlement converts from a commit offer to a
@@ -85,6 +111,8 @@ public enum Type
      */
     PRICE_PLAN_SWITCHED(3),
     /**
+     *
+     *
      * 
      * Annual commitment for a commit plan was changed.
      * 
@@ -93,6 +121,8 @@ public enum Type */ COMMITMENT_CHANGED(4), /** + * + * *
      * An annual entitlement was renewed.
      * 
@@ -101,6 +131,8 @@ public enum Type */ RENEWED(5), /** + * + * *
      * Entitlement was suspended.
      * 
@@ -109,6 +141,8 @@ public enum Type */ SUSPENDED(6), /** + * + * *
      * Entitlement was unsuspended.
      * 
@@ -117,6 +151,8 @@ public enum Type */ ACTIVATED(7), /** + * + * *
      * Entitlement was cancelled.
      * 
@@ -125,6 +161,8 @@ public enum Type */ CANCELLED(8), /** + * + * *
      * Entitlement was upgraded or downgraded (e.g. from Google Workspace
      * Business Standard to Google Workspace Business Plus).
@@ -134,6 +172,8 @@ public enum Type
      */
     SKU_CHANGED(9),
     /**
+     *
+     *
      * 
      * The renewal settings of an entitlement has changed.
      * 
@@ -142,6 +182,8 @@ public enum Type */ RENEWAL_SETTING_CHANGED(10), /** + * + * *
      * Paid service has started on trial entitlement.
      * 
@@ -150,6 +192,8 @@ public enum Type */ PAID_SERVICE_STARTED(11), /** + * + * *
      * License was assigned to or revoked from a user.
      * 
@@ -158,6 +202,8 @@ public enum Type */ LICENSE_ASSIGNMENT_CHANGED(12), /** + * + * *
      * License cap was changed for the entitlement.
      * 
@@ -169,6 +215,8 @@ public enum Type ; /** + * + * *
      * Not used.
      * 
@@ -177,6 +225,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * A new entitlement was created.
      * 
@@ -185,6 +235,8 @@ public enum Type */ public static final int CREATED_VALUE = 1; /** + * + * *
      * The offer type associated with an entitlement was changed.
      * This is not triggered if an entitlement converts from a commit offer to a
@@ -195,6 +247,8 @@ public enum Type
      */
     public static final int PRICE_PLAN_SWITCHED_VALUE = 3;
     /**
+     *
+     *
      * 
      * Annual commitment for a commit plan was changed.
      * 
@@ -203,6 +257,8 @@ public enum Type */ public static final int COMMITMENT_CHANGED_VALUE = 4; /** + * + * *
      * An annual entitlement was renewed.
      * 
@@ -211,6 +267,8 @@ public enum Type */ public static final int RENEWED_VALUE = 5; /** + * + * *
      * Entitlement was suspended.
      * 
@@ -219,6 +277,8 @@ public enum Type */ public static final int SUSPENDED_VALUE = 6; /** + * + * *
      * Entitlement was unsuspended.
      * 
@@ -227,6 +287,8 @@ public enum Type */ public static final int ACTIVATED_VALUE = 7; /** + * + * *
      * Entitlement was cancelled.
      * 
@@ -235,6 +297,8 @@ public enum Type */ public static final int CANCELLED_VALUE = 8; /** + * + * *
      * Entitlement was upgraded or downgraded (e.g. from Google Workspace
      * Business Standard to Google Workspace Business Plus).
@@ -244,6 +308,8 @@ public enum Type
      */
     public static final int SKU_CHANGED_VALUE = 9;
     /**
+     *
+     *
      * 
      * The renewal settings of an entitlement has changed.
      * 
@@ -252,6 +318,8 @@ public enum Type */ public static final int RENEWAL_SETTING_CHANGED_VALUE = 10; /** + * + * *
      * Paid service has started on trial entitlement.
      * 
@@ -260,6 +328,8 @@ public enum Type */ public static final int PAID_SERVICE_STARTED_VALUE = 11; /** + * + * *
      * License was assigned to or revoked from a user.
      * 
@@ -268,6 +338,8 @@ public enum Type */ public static final int LICENSE_ASSIGNMENT_CHANGED_VALUE = 12; /** + * + * *
      * License cap was changed for the entitlement.
      * 
@@ -276,7 +348,6 @@ public enum Type */ public static final int LICENSE_CAP_CHANGED_VALUE = 13; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -301,59 +372,69 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return TYPE_UNSPECIFIED; - case 1: return CREATED; - case 3: return PRICE_PLAN_SWITCHED; - case 4: return COMMITMENT_CHANGED; - case 5: return RENEWED; - case 6: return SUSPENDED; - case 7: return ACTIVATED; - case 8: return CANCELLED; - case 9: return SKU_CHANGED; - case 10: return RENEWAL_SETTING_CHANGED; - case 11: return PAID_SERVICE_STARTED; - case 12: return LICENSE_ASSIGNMENT_CHANGED; - case 13: return LICENSE_CAP_CHANGED; - default: return null; + case 0: + return TYPE_UNSPECIFIED; + case 1: + return CREATED; + case 3: + return PRICE_PLAN_SWITCHED; + case 4: + return COMMITMENT_CHANGED; + case 5: + return RENEWED; + case 6: + return SUSPENDED; + case 7: + return ACTIVATED; + case 8: + return CANCELLED; + case 9: + return SKU_CHANGED; + case 10: + return RENEWAL_SETTING_CHANGED; + case 11: + return PAID_SERVICE_STARTED; + case 12: + return LICENSE_ASSIGNMENT_CHANGED; + case 13: + return LICENSE_CAP_CHANGED; + 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< - Type> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.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 Type findValueByNumber(int number) { + return Type.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.cloud.channel.v1.EntitlementEvent.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type 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; @@ -373,12 +454,15 @@ private Type(int value) { public static final int ENTITLEMENT_FIELD_NUMBER = 1; private volatile java.lang.Object entitlement_; /** + * + * *
    * Resource name of an entitlement of the form:
    * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
    * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } + * * @return The entitlement. */ @java.lang.Override @@ -387,30 +471,30 @@ public java.lang.String getEntitlement() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entitlement_ = s; return s; } } /** + * + * *
    * Resource name of an entitlement of the form:
    * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
    * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for entitlement. */ @java.lang.Override - public com.google.protobuf.ByteString - getEntitlementBytes() { + public com.google.protobuf.ByteString getEntitlementBytes() { java.lang.Object ref = entitlement_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); entitlement_ = b; return b; } else { @@ -421,31 +505,41 @@ public java.lang.String getEntitlement() { public static final int EVENT_TYPE_FIELD_NUMBER = 2; private int eventType_; /** + * + * *
    * Type of event which happened on the entitlement.
    * 
* * .google.cloud.channel.v1.EntitlementEvent.Type event_type = 2; + * * @return The enum numeric value on the wire for eventType. */ - @java.lang.Override public int getEventTypeValue() { + @java.lang.Override + public int getEventTypeValue() { return eventType_; } /** + * + * *
    * Type of event which happened on the entitlement.
    * 
* * .google.cloud.channel.v1.EntitlementEvent.Type event_type = 2; + * * @return The eventType. */ - @java.lang.Override public com.google.cloud.channel.v1.EntitlementEvent.Type getEventType() { + @java.lang.Override + public com.google.cloud.channel.v1.EntitlementEvent.Type getEventType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.EntitlementEvent.Type result = com.google.cloud.channel.v1.EntitlementEvent.Type.valueOf(eventType_); + com.google.cloud.channel.v1.EntitlementEvent.Type result = + com.google.cloud.channel.v1.EntitlementEvent.Type.valueOf(eventType_); return result == null ? com.google.cloud.channel.v1.EntitlementEvent.Type.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -457,12 +551,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(entitlement_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entitlement_); } - if (eventType_ != com.google.cloud.channel.v1.EntitlementEvent.Type.TYPE_UNSPECIFIED.getNumber()) { + if (eventType_ + != com.google.cloud.channel.v1.EntitlementEvent.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, eventType_); } getUnknownFields().writeTo(output); @@ -477,9 +571,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entitlement_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, entitlement_); } - if (eventType_ != com.google.cloud.channel.v1.EntitlementEvent.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, eventType_); + if (eventType_ + != com.google.cloud.channel.v1.EntitlementEvent.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, eventType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -489,15 +583,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.EntitlementEvent)) { return super.equals(obj); } - com.google.cloud.channel.v1.EntitlementEvent other = (com.google.cloud.channel.v1.EntitlementEvent) obj; + com.google.cloud.channel.v1.EntitlementEvent other = + (com.google.cloud.channel.v1.EntitlementEvent) obj; - if (!getEntitlement() - .equals(other.getEntitlement())) return false; + if (!getEntitlement().equals(other.getEntitlement())) return false; if (eventType_ != other.eventType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -519,130 +613,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.EntitlementEvent parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.EntitlementEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.EntitlementEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.EntitlementEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.EntitlementEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.EntitlementEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.EntitlementEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.EntitlementEvent 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.cloud.channel.v1.EntitlementEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.EntitlementEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.EntitlementEvent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.EntitlementEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.EntitlementEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.EntitlementEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.EntitlementEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents Pub/Sub message content describing entitlement update.
    * 
* * Protobuf type {@code google.cloud.channel.v1.EntitlementEvent} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.EntitlementEvent) com.google.cloud.channel.v1.EntitlementEventOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.SubscriberEventProto.internal_static_google_cloud_channel_v1_EntitlementEvent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.SubscriberEventProto + .internal_static_google_cloud_channel_v1_EntitlementEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.SubscriberEventProto.internal_static_google_cloud_channel_v1_EntitlementEvent_fieldAccessorTable + return com.google.cloud.channel.v1.SubscriberEventProto + .internal_static_google_cloud_channel_v1_EntitlementEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.EntitlementEvent.class, com.google.cloud.channel.v1.EntitlementEvent.Builder.class); + com.google.cloud.channel.v1.EntitlementEvent.class, + com.google.cloud.channel.v1.EntitlementEvent.Builder.class); } // Construct using com.google.cloud.channel.v1.EntitlementEvent.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -654,9 +754,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.SubscriberEventProto.internal_static_google_cloud_channel_v1_EntitlementEvent_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.SubscriberEventProto + .internal_static_google_cloud_channel_v1_EntitlementEvent_descriptor; } @java.lang.Override @@ -675,7 +775,8 @@ public com.google.cloud.channel.v1.EntitlementEvent build() { @java.lang.Override public com.google.cloud.channel.v1.EntitlementEvent buildPartial() { - com.google.cloud.channel.v1.EntitlementEvent result = new com.google.cloud.channel.v1.EntitlementEvent(this); + com.google.cloud.channel.v1.EntitlementEvent result = + new com.google.cloud.channel.v1.EntitlementEvent(this); result.entitlement_ = entitlement_; result.eventType_ = eventType_; onBuilt(); @@ -686,38 +787,39 @@ public com.google.cloud.channel.v1.EntitlementEvent 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.cloud.channel.v1.EntitlementEvent) { - return mergeFrom((com.google.cloud.channel.v1.EntitlementEvent)other); + return mergeFrom((com.google.cloud.channel.v1.EntitlementEvent) other); } else { super.mergeFrom(other); return this; @@ -759,22 +861,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - entitlement_ = input.readStringRequireUtf8(); + case 10: + { + entitlement_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 16: { - eventType_ = input.readEnum(); + break; + } // case 10 + case 16: + { + eventType_ = input.readEnum(); - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -787,19 +892,21 @@ public Builder mergeFrom( private java.lang.Object entitlement_ = ""; /** + * + * *
      * Resource name of an entitlement of the form:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
      * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } + * * @return The entitlement. */ public java.lang.String getEntitlement() { java.lang.Object ref = entitlement_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entitlement_ = s; return s; @@ -808,21 +915,22 @@ public java.lang.String getEntitlement() { } } /** + * + * *
      * Resource name of an entitlement of the form:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
      * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for entitlement. */ - public com.google.protobuf.ByteString - getEntitlementBytes() { + public com.google.protobuf.ByteString getEntitlementBytes() { java.lang.Object ref = entitlement_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); entitlement_ = b; return b; } else { @@ -830,57 +938,64 @@ public java.lang.String getEntitlement() { } } /** + * + * *
      * Resource name of an entitlement of the form:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
      * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } + * * @param value The entitlement to set. * @return This builder for chaining. */ - public Builder setEntitlement( - java.lang.String value) { + public Builder setEntitlement(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entitlement_ = value; onChanged(); return this; } /** + * + * *
      * Resource name of an entitlement of the form:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
      * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearEntitlement() { - + entitlement_ = getDefaultInstance().getEntitlement(); onChanged(); return this; } /** + * + * *
      * Resource name of an entitlement of the form:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
      * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for entitlement to set. * @return This builder for chaining. */ - public Builder setEntitlementBytes( - com.google.protobuf.ByteString value) { + public Builder setEntitlementBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entitlement_ = value; onChanged(); return this; @@ -888,51 +1003,67 @@ public Builder setEntitlementBytes( private int eventType_ = 0; /** + * + * *
      * Type of event which happened on the entitlement.
      * 
* * .google.cloud.channel.v1.EntitlementEvent.Type event_type = 2; + * * @return The enum numeric value on the wire for eventType. */ - @java.lang.Override public int getEventTypeValue() { + @java.lang.Override + public int getEventTypeValue() { return eventType_; } /** + * + * *
      * Type of event which happened on the entitlement.
      * 
* * .google.cloud.channel.v1.EntitlementEvent.Type event_type = 2; + * * @param value The enum numeric value on the wire for eventType to set. * @return This builder for chaining. */ public Builder setEventTypeValue(int value) { - + eventType_ = value; onChanged(); return this; } /** + * + * *
      * Type of event which happened on the entitlement.
      * 
* * .google.cloud.channel.v1.EntitlementEvent.Type event_type = 2; + * * @return The eventType. */ @java.lang.Override public com.google.cloud.channel.v1.EntitlementEvent.Type getEventType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.EntitlementEvent.Type result = com.google.cloud.channel.v1.EntitlementEvent.Type.valueOf(eventType_); - return result == null ? com.google.cloud.channel.v1.EntitlementEvent.Type.UNRECOGNIZED : result; + com.google.cloud.channel.v1.EntitlementEvent.Type result = + com.google.cloud.channel.v1.EntitlementEvent.Type.valueOf(eventType_); + return result == null + ? com.google.cloud.channel.v1.EntitlementEvent.Type.UNRECOGNIZED + : result; } /** + * + * *
      * Type of event which happened on the entitlement.
      * 
* * .google.cloud.channel.v1.EntitlementEvent.Type event_type = 2; + * * @param value The eventType to set. * @return This builder for chaining. */ @@ -940,28 +1071,31 @@ public Builder setEventType(com.google.cloud.channel.v1.EntitlementEvent.Type va if (value == null) { throw new NullPointerException(); } - + eventType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Type of event which happened on the entitlement.
      * 
* * .google.cloud.channel.v1.EntitlementEvent.Type event_type = 2; + * * @return This builder for chaining. */ public Builder clearEventType() { - + eventType_ = 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); } @@ -971,12 +1105,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.EntitlementEvent) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.EntitlementEvent) private static final com.google.cloud.channel.v1.EntitlementEvent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.EntitlementEvent(); } @@ -985,27 +1119,27 @@ public static com.google.cloud.channel.v1.EntitlementEvent getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EntitlementEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EntitlementEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1020,6 +1154,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.EntitlementEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEventOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEventOrBuilder.java similarity index 65% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEventOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEventOrBuilder.java index 976156efcad8..2292bc4aceae 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEventOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementEventOrBuilder.java @@ -1,49 +1,76 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/subscriber_event.proto package com.google.cloud.channel.v1; -public interface EntitlementEventOrBuilder extends +public interface EntitlementEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.EntitlementEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Resource name of an entitlement of the form:
    * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
    * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } + * * @return The entitlement. */ java.lang.String getEntitlement(); /** + * + * *
    * Resource name of an entitlement of the form:
    * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
    * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for entitlement. */ - com.google.protobuf.ByteString - getEntitlementBytes(); + com.google.protobuf.ByteString getEntitlementBytes(); /** + * + * *
    * Type of event which happened on the entitlement.
    * 
* * .google.cloud.channel.v1.EntitlementEvent.Type event_type = 2; + * * @return The enum numeric value on the wire for eventType. */ int getEventTypeValue(); /** + * + * *
    * Type of event which happened on the entitlement.
    * 
* * .google.cloud.channel.v1.EntitlementEvent.Type event_type = 2; + * * @return The eventType. */ com.google.cloud.channel.v1.EntitlementEvent.Type getEventType(); diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementName.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementName.java similarity index 100% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementName.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementName.java diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementOrBuilder.java similarity index 74% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementOrBuilder.java index 28dc1ed3a992..c0561f37694a 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementOrBuilder.java @@ -1,131 +1,191 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/entitlements.proto package com.google.cloud.channel.v1; -public interface EntitlementOrBuilder extends +public interface EntitlementOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Entitlement) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name of an entitlement in the form:
    * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name of an entitlement in the form:
    * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_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(); /** + * + * *
    * Output only. The time at which the entitlement is created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time at which the entitlement is created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time at which the entitlement is created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time at which the entitlement is updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The time at which the entitlement is updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The time at which the entitlement is updated.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Required. The offer resource name for which the entitlement is to be
    * created. Takes the form: accounts/{account_id}/offers/{offer_id}.
    * 
* - * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The offer. */ java.lang.String getOffer(); /** + * + * *
    * Required. The offer resource name for which the entitlement is to be
    * created. Takes the form: accounts/{account_id}/offers/{offer_id}.
    * 
* - * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string offer = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for offer. */ - com.google.protobuf.ByteString - getOfferBytes(); + com.google.protobuf.ByteString getOfferBytes(); /** + * + * *
    * Commitment settings for a commitment-based Offer.
    * Required for commitment based offers.
    * 
* * .google.cloud.channel.v1.CommitmentSettings commitment_settings = 12; + * * @return Whether the commitmentSettings field is set. */ boolean hasCommitmentSettings(); /** + * + * *
    * Commitment settings for a commitment-based Offer.
    * Required for commitment based offers.
    * 
* * .google.cloud.channel.v1.CommitmentSettings commitment_settings = 12; + * * @return The commitmentSettings. */ com.google.cloud.channel.v1.CommitmentSettings getCommitmentSettings(); /** + * + * *
    * Commitment settings for a commitment-based Offer.
    * Required for commitment based offers.
@@ -136,106 +196,157 @@ public interface EntitlementOrBuilder extends
   com.google.cloud.channel.v1.CommitmentSettingsOrBuilder getCommitmentSettingsOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. Current provisioning state of the entitlement.
    * 
* - * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for provisioningState. */ int getProvisioningStateValue(); /** + * + * *
    * Output only. Current provisioning state of the entitlement.
    * 
* - * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.Entitlement.ProvisioningState provisioning_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The provisioningState. */ com.google.cloud.channel.v1.Entitlement.ProvisioningState getProvisioningState(); /** + * + * *
    * Output only. Service provisioning details for the entitlement.
    * 
* - * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the provisionedService field is set. */ boolean hasProvisionedService(); /** + * + * *
    * Output only. Service provisioning details for the entitlement.
    * 
* - * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The provisionedService. */ com.google.cloud.channel.v1.ProvisionedService getProvisionedService(); /** + * + * *
    * Output only. Service provisioning details for the entitlement.
    * 
* - * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.ProvisionedService provisioned_service = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.channel.v1.ProvisionedServiceOrBuilder getProvisionedServiceOrBuilder(); /** + * + * *
    * Output only. Enumerable of all current suspension reasons for an
    * entitlement.
    * 
* - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the suspensionReasons. */ - java.util.List getSuspensionReasonsList(); + java.util.List + getSuspensionReasonsList(); /** + * + * *
    * Output only. Enumerable of all current suspension reasons for an
    * entitlement.
    * 
* - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of suspensionReasons. */ int getSuspensionReasonsCount(); /** + * + * *
    * Output only. Enumerable of all current suspension reasons for an
    * entitlement.
    * 
* - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The suspensionReasons at the given index. */ com.google.cloud.channel.v1.Entitlement.SuspensionReason getSuspensionReasons(int index); /** + * + * *
    * Output only. Enumerable of all current suspension reasons for an
    * entitlement.
    * 
* - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for suspensionReasons. */ - java.util.List - getSuspensionReasonsValueList(); + java.util.List getSuspensionReasonsValueList(); /** + * + * *
    * Output only. Enumerable of all current suspension reasons for an
    * entitlement.
    * 
* - * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of suspensionReasons at the given index. */ int getSuspensionReasonsValue(int index); /** + * + * *
    * Optional. This purchase order (PO) information is for resellers to use for
    * their company tracking usage. If a purchaseOrderId value is given, it
@@ -245,10 +356,13 @@ public interface EntitlementOrBuilder extends
    * 
* * string purchase_order_id = 19 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The purchaseOrderId. */ java.lang.String getPurchaseOrderId(); /** + * + * *
    * Optional. This purchase order (PO) information is for resellers to use for
    * their company tracking usage. If a purchaseOrderId value is given, it
@@ -258,57 +372,79 @@ public interface EntitlementOrBuilder extends
    * 
* * string purchase_order_id = 19 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for purchaseOrderId. */ - com.google.protobuf.ByteString - getPurchaseOrderIdBytes(); + com.google.protobuf.ByteString getPurchaseOrderIdBytes(); /** + * + * *
    * Output only. Settings for trial offers.
    * 
* - * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the trialSettings field is set. */ boolean hasTrialSettings(); /** + * + * *
    * Output only. Settings for trial offers.
    * 
* - * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The trialSettings. */ com.google.cloud.channel.v1.TrialSettings getTrialSettings(); /** + * + * *
    * Output only. Settings for trial offers.
    * 
* - * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.channel.v1.TrialSettings trial_settings = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.channel.v1.TrialSettingsOrBuilder getTrialSettingsOrBuilder(); /** + * + * *
    * Association information to other entitlements.
    * 
* * .google.cloud.channel.v1.AssociationInfo association_info = 23; + * * @return Whether the associationInfo field is set. */ boolean hasAssociationInfo(); /** + * + * *
    * Association information to other entitlements.
    * 
* * .google.cloud.channel.v1.AssociationInfo association_info = 23; + * * @return The associationInfo. */ com.google.cloud.channel.v1.AssociationInfo getAssociationInfo(); /** + * + * *
    * Association information to other entitlements.
    * 
@@ -318,6 +454,8 @@ public interface EntitlementOrBuilder extends com.google.cloud.channel.v1.AssociationInfoOrBuilder getAssociationInfoOrBuilder(); /** + * + * *
    * Extended entitlement parameters. When creating an entitlement, valid
    * parameter names and values are defined in the
@@ -330,9 +468,10 @@ public interface EntitlementOrBuilder extends
    *
    * repeated .google.cloud.channel.v1.Parameter parameters = 26;
    */
-  java.util.List 
-      getParametersList();
+  java.util.List getParametersList();
   /**
+   *
+   *
    * 
    * Extended entitlement parameters. When creating an entitlement, valid
    * parameter names and values are defined in the
@@ -347,6 +486,8 @@ public interface EntitlementOrBuilder extends
    */
   com.google.cloud.channel.v1.Parameter getParameters(int index);
   /**
+   *
+   *
    * 
    * Extended entitlement parameters. When creating an entitlement, valid
    * parameter names and values are defined in the
@@ -361,6 +502,8 @@ public interface EntitlementOrBuilder extends
    */
   int getParametersCount();
   /**
+   *
+   *
    * 
    * Extended entitlement parameters. When creating an entitlement, valid
    * parameter names and values are defined in the
@@ -373,9 +516,11 @@ public interface EntitlementOrBuilder extends
    *
    * repeated .google.cloud.channel.v1.Parameter parameters = 26;
    */
-  java.util.List 
+  java.util.List
       getParametersOrBuilderList();
   /**
+   *
+   *
    * 
    * Extended entitlement parameters. When creating an entitlement, valid
    * parameter names and values are defined in the
@@ -388,6 +533,5 @@ public interface EntitlementOrBuilder extends
    *
    * repeated .google.cloud.channel.v1.Parameter parameters = 26;
    */
-  com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(
-      int index);
+  com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(int index);
 }
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java
new file mode 100644
index 000000000000..a2ac7d427ef8
--- /dev/null
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java
@@ -0,0 +1,254 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/channel/v1/entitlements.proto
+
+package com.google.cloud.channel.v1;
+
+public final class EntitlementsProto {
+  private EntitlementsProto() {}
+
+  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_cloud_channel_v1_Entitlement_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_Entitlement_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_Parameter_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_Parameter_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_AssociationInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_AssociationInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ProvisionedService_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ProvisionedService_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_CommitmentSettings_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_CommitmentSettings_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_RenewalSettings_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_RenewalSettings_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_TrialSettings_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_TrialSettings_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_TransferableSku_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_TransferableSku_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_TransferEligibility_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_TransferEligibility_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/cloud/channel/v1/entitlements.p"
+          + "roto\022\027google.cloud.channel.v1\032\037google/ap"
+          + "i/field_behavior.proto\032\031google/api/resou"
+          + "rce.proto\032$google/cloud/channel/v1/commo"
+          + "n.proto\032$google/cloud/channel/v1/offers."
+          + "proto\032&google/cloud/channel/v1/products."
+          + "proto\032\037google/protobuf/timestamp.proto\"\335"
+          + "\010\n\013Entitlement\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013cre"
+          + "ate_time\030\005 \001(\0132\032.google.protobuf.Timesta"
+          + "mpB\003\340A\003\0224\n\013update_time\030\006 \001(\0132\032.google.pr"
+          + "otobuf.TimestampB\003\340A\003\0228\n\005offer\030\010 \001(\tB)\340A"
+          + "\002\372A#\n!cloudchannel.googleapis.com/Offer\022"
+          + "H\n\023commitment_settings\030\014 \001(\0132+.google.cl"
+          + "oud.channel.v1.CommitmentSettings\022W\n\022pro"
+          + "visioning_state\030\r \001(\01626.google.cloud.cha"
+          + "nnel.v1.Entitlement.ProvisioningStateB\003\340"
+          + "A\003\022M\n\023provisioned_service\030\020 \001(\0132+.google"
+          + ".cloud.channel.v1.ProvisionedServiceB\003\340A"
+          + "\003\022V\n\022suspension_reasons\030\022 \003(\01625.google.c"
+          + "loud.channel.v1.Entitlement.SuspensionRe"
+          + "asonB\003\340A\003\022\036\n\021purchase_order_id\030\023 \001(\tB\003\340A"
+          + "\001\022C\n\016trial_settings\030\025 \001(\0132&.google.cloud"
+          + ".channel.v1.TrialSettingsB\003\340A\003\022B\n\020associ"
+          + "ation_info\030\027 \001(\0132(.google.cloud.channel."
+          + "v1.AssociationInfo\0226\n\nparameters\030\032 \003(\0132\""
+          + ".google.cloud.channel.v1.Parameter\"R\n\021Pr"
+          + "ovisioningState\022\"\n\036PROVISIONING_STATE_UN"
+          + "SPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\r\n\tSUSPENDED\020\005\"\243"
+          + "\001\n\020SuspensionReason\022!\n\035SUSPENSION_REASON"
+          + "_UNSPECIFIED\020\000\022\026\n\022RESELLER_INITIATED\020\001\022\017"
+          + "\n\013TRIAL_ENDED\020\002\022\034\n\030RENEWAL_WITH_TYPE_CAN"
+          + "CEL\020\003\022\032\n\026PENDING_TOS_ACCEPTANCE\020\004\022\t\n\005OTH"
+          + "ER\020d:p\352Am\n\'cloudchannel.googleapis.com/E"
+          + "ntitlement\022Baccounts/{account}/customers"
+          + "/{customer}/entitlements/{entitlement}\"_"
+          + "\n\tParameter\022\014\n\004name\030\001 \001(\t\022-\n\005value\030\002 \001(\013"
+          + "2\036.google.cloud.channel.v1.Value\022\025\n\010edit"
+          + "able\030\003 \001(\010B\003\340A\003\"Y\n\017AssociationInfo\022F\n\020ba"
+          + "se_entitlement\030\001 \001(\tB,\372A)\n\'cloudchannel."
+          + "googleapis.com/Entitlement\"`\n\022Provisione"
+          + "dService\022\034\n\017provisioning_id\030\001 \001(\tB\003\340A\003\022\027"
+          + "\n\nproduct_id\030\002 \001(\tB\003\340A\003\022\023\n\006sku_id\030\003 \001(\tB"
+          + "\003\340A\003\"\305\001\n\022CommitmentSettings\0223\n\nstart_tim"
+          + "e\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003"
+          + "\0221\n\010end_time\030\002 \001(\0132\032.google.protobuf.Tim"
+          + "estampB\003\340A\003\022G\n\020renewal_settings\030\004 \001(\0132(."
+          + "google.cloud.channel.v1.RenewalSettingsB"
+          + "\003\340A\001\"\270\001\n\017RenewalSettings\022\026\n\016enable_renew"
+          + "al\030\001 \001(\010\022\031\n\021resize_unit_count\030\002 \001(\010\022:\n\014p"
+          + "ayment_plan\030\005 \001(\0162$.google.cloud.channel"
+          + ".v1.PaymentPlan\0226\n\rpayment_cycle\030\006 \001(\0132\037"
+          + ".google.cloud.channel.v1.Period\"L\n\rTrial"
+          + "Settings\022\r\n\005trial\030\001 \001(\010\022,\n\010end_time\030\002 \001("
+          + "\0132\032.google.protobuf.Timestamp\"\277\001\n\017Transf"
+          + "erableSku\022J\n\024transfer_eligibility\030\t \001(\0132"
+          + ",.google.cloud.channel.v1.TransferEligib"
+          + "ility\022)\n\003sku\030\013 \001(\0132\034.google.cloud.channe"
+          + "l.v1.Sku\0225\n\nlegacy_sku\030\014 \001(\0132\034.google.cl"
+          + "oud.channel.v1.SkuB\003\340A\001\"\371\001\n\023TransferElig"
+          + "ibility\022\023\n\013is_eligible\030\001 \001(\010\022\023\n\013descript"
+          + "ion\030\002 \001(\t\022Q\n\024ineligibility_reason\030\003 \001(\0162"
+          + "3.google.cloud.channel.v1.TransferEligib"
+          + "ility.Reason\"e\n\006Reason\022\026\n\022REASON_UNSPECI"
+          + "FIED\020\000\022\032\n\026PENDING_TOS_ACCEPTANCE\020\001\022\024\n\020SK"
+          + "U_NOT_ELIGIBLE\020\002\022\021\n\rSKU_SUSPENDED\020\003Br\n\033c"
+          + "om.google.cloud.channel.v1B\021Entitlements"
+          + "ProtoP\001Z>google.golang.org/genproto/goog"
+          + "leapis/cloud/channel/v1;channelb\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.cloud.channel.v1.CommonProto.getDescriptor(),
+              com.google.cloud.channel.v1.OffersProto.getDescriptor(),
+              com.google.cloud.channel.v1.ProductsProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+            });
+    internal_static_google_cloud_channel_v1_Entitlement_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_channel_v1_Entitlement_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_Entitlement_descriptor,
+            new java.lang.String[] {
+              "Name",
+              "CreateTime",
+              "UpdateTime",
+              "Offer",
+              "CommitmentSettings",
+              "ProvisioningState",
+              "ProvisionedService",
+              "SuspensionReasons",
+              "PurchaseOrderId",
+              "TrialSettings",
+              "AssociationInfo",
+              "Parameters",
+            });
+    internal_static_google_cloud_channel_v1_Parameter_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_channel_v1_Parameter_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_Parameter_descriptor,
+            new java.lang.String[] {
+              "Name", "Value", "Editable",
+            });
+    internal_static_google_cloud_channel_v1_AssociationInfo_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_channel_v1_AssociationInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_AssociationInfo_descriptor,
+            new java.lang.String[] {
+              "BaseEntitlement",
+            });
+    internal_static_google_cloud_channel_v1_ProvisionedService_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_channel_v1_ProvisionedService_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ProvisionedService_descriptor,
+            new java.lang.String[] {
+              "ProvisioningId", "ProductId", "SkuId",
+            });
+    internal_static_google_cloud_channel_v1_CommitmentSettings_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_channel_v1_CommitmentSettings_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_CommitmentSettings_descriptor,
+            new java.lang.String[] {
+              "StartTime", "EndTime", "RenewalSettings",
+            });
+    internal_static_google_cloud_channel_v1_RenewalSettings_descriptor =
+        getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_channel_v1_RenewalSettings_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_RenewalSettings_descriptor,
+            new java.lang.String[] {
+              "EnableRenewal", "ResizeUnitCount", "PaymentPlan", "PaymentCycle",
+            });
+    internal_static_google_cloud_channel_v1_TrialSettings_descriptor =
+        getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_channel_v1_TrialSettings_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_TrialSettings_descriptor,
+            new java.lang.String[] {
+              "Trial", "EndTime",
+            });
+    internal_static_google_cloud_channel_v1_TransferableSku_descriptor =
+        getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_channel_v1_TransferableSku_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_TransferableSku_descriptor,
+            new java.lang.String[] {
+              "TransferEligibility", "Sku", "LegacySku",
+            });
+    internal_static_google_cloud_channel_v1_TransferEligibility_descriptor =
+        getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_channel_v1_TransferEligibility_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_TransferEligibility_descriptor,
+            new java.lang.String[] {
+              "IsEligible", "Description", "IneligibilityReason",
+            });
+    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.cloud.channel.v1.CommonProto.getDescriptor();
+    com.google.cloud.channel.v1.OffersProto.getDescriptor();
+    com.google.cloud.channel.v1.ProductsProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsRequest.java
similarity index 70%
rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsRequest.java
rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsRequest.java
index 0035bdc360a0..ea0f69b121e9 100644
--- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsRequest.java
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsRequest.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/cloud/channel/v1/reports_service.proto
 
 package com.google.cloud.channel.v1;
 
 /**
+ *
+ *
  * 
  * Request message for
  * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.FetchReportResultsRequest}
  */
-public final class FetchReportResultsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class FetchReportResultsRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.FetchReportResultsRequest)
     FetchReportResultsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use FetchReportResultsRequest.newBuilder() to construct.
   private FetchReportResultsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private FetchReportResultsRequest() {
     reportJob_ = "";
     pageToken_ = "";
@@ -27,32 +45,35 @@ private FetchReportResultsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new FetchReportResultsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_FetchReportResultsRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ReportsServiceProto
+        .internal_static_google_cloud_channel_v1_FetchReportResultsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_FetchReportResultsRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ReportsServiceProto
+        .internal_static_google_cloud_channel_v1_FetchReportResultsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.FetchReportResultsRequest.class, com.google.cloud.channel.v1.FetchReportResultsRequest.Builder.class);
+            com.google.cloud.channel.v1.FetchReportResultsRequest.class,
+            com.google.cloud.channel.v1.FetchReportResultsRequest.Builder.class);
   }
 
   public static final int REPORT_JOB_FIELD_NUMBER = 1;
   private volatile java.lang.Object reportJob_;
   /**
+   *
+   *
    * 
    * Required. The report job created by
    * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
@@ -60,7 +81,10 @@ protected java.lang.Object newInstance(
    * accounts/{account_id}/reportJobs/{report_job_id}
    * 
* - * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The reportJob. */ @java.lang.Override @@ -69,14 +93,15 @@ public java.lang.String getReportJob() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reportJob_ = s; return s; } } /** + * + * *
    * Required. The report job created by
    * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
@@ -84,17 +109,18 @@ public java.lang.String getReportJob() {
    * accounts/{account_id}/reportJobs/{report_job_id}
    * 
* - * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for reportJob. */ @java.lang.Override - public com.google.protobuf.ByteString - getReportJobBytes() { + public com.google.protobuf.ByteString getReportJobBytes() { java.lang.Object ref = reportJob_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); reportJob_ = b; return b; } else { @@ -105,6 +131,8 @@ public java.lang.String getReportJob() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Optional. Requested page size of the report. The server may return fewer
    * results than requested. If you don't specify a page size, the server uses a
@@ -114,6 +142,7 @@ public java.lang.String getReportJob() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -124,6 +153,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. A token that specifies a page of results beyond the first page.
    * Obtained through
@@ -134,6 +165,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -142,14 +174,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. A token that specifies a page of results beyond the first page.
    * Obtained through
@@ -160,16 +193,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -178,6 +210,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -189,8 +222,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reportJob_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, reportJob_); } @@ -213,8 +245,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, reportJob_); } 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_); @@ -227,19 +258,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.cloud.channel.v1.FetchReportResultsRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.FetchReportResultsRequest other = (com.google.cloud.channel.v1.FetchReportResultsRequest) obj; + com.google.cloud.channel.v1.FetchReportResultsRequest other = + (com.google.cloud.channel.v1.FetchReportResultsRequest) obj; - if (!getReportJob() - .equals(other.getReportJob())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getReportJob().equals(other.getReportJob())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -263,96 +292,104 @@ public int hashCode() { } public static com.google.cloud.channel.v1.FetchReportResultsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.FetchReportResultsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.FetchReportResultsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.FetchReportResultsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.FetchReportResultsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.FetchReportResultsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.FetchReportResultsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.FetchReportResultsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.FetchReportResultsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.FetchReportResultsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.FetchReportResultsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.FetchReportResultsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.FetchReportResultsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.FetchReportResultsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.FetchReportResultsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.FetchReportResultsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults].
@@ -360,33 +397,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.FetchReportResultsRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.FetchReportResultsRequest)
       com.google.cloud.channel.v1.FetchReportResultsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_FetchReportResultsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ReportsServiceProto
+          .internal_static_google_cloud_channel_v1_FetchReportResultsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_FetchReportResultsRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ReportsServiceProto
+          .internal_static_google_cloud_channel_v1_FetchReportResultsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.FetchReportResultsRequest.class, com.google.cloud.channel.v1.FetchReportResultsRequest.Builder.class);
+              com.google.cloud.channel.v1.FetchReportResultsRequest.class,
+              com.google.cloud.channel.v1.FetchReportResultsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.FetchReportResultsRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -400,9 +436,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_FetchReportResultsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ReportsServiceProto
+          .internal_static_google_cloud_channel_v1_FetchReportResultsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -421,7 +457,8 @@ public com.google.cloud.channel.v1.FetchReportResultsRequest build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.FetchReportResultsRequest buildPartial() {
-      com.google.cloud.channel.v1.FetchReportResultsRequest result = new com.google.cloud.channel.v1.FetchReportResultsRequest(this);
+      com.google.cloud.channel.v1.FetchReportResultsRequest result =
+          new com.google.cloud.channel.v1.FetchReportResultsRequest(this);
       result.reportJob_ = reportJob_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -433,38 +470,39 @@ public com.google.cloud.channel.v1.FetchReportResultsRequest 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.cloud.channel.v1.FetchReportResultsRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.FetchReportResultsRequest)other);
+        return mergeFrom((com.google.cloud.channel.v1.FetchReportResultsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -472,7 +510,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.FetchReportResultsRequest other) {
-      if (other == com.google.cloud.channel.v1.FetchReportResultsRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.FetchReportResultsRequest.getDefaultInstance())
+        return this;
       if (!other.getReportJob().isEmpty()) {
         reportJob_ = other.reportJob_;
         onChanged();
@@ -510,27 +549,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              reportJob_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 16: {
-              pageSize_ = input.readInt32();
-
-              break;
-            } // case 16
-            case 26: {
-              pageToken_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                reportJob_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 16:
+              {
+                pageSize_ = input.readInt32();
+
+                break;
+              } // case 16
+            case 26:
+              {
+                pageToken_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -543,6 +586,8 @@ public Builder mergeFrom(
 
     private java.lang.Object reportJob_ = "";
     /**
+     *
+     *
      * 
      * Required. The report job created by
      * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
@@ -550,14 +595,16 @@ public Builder mergeFrom(
      * accounts/{account_id}/reportJobs/{report_job_id}
      * 
* - * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The reportJob. */ public java.lang.String getReportJob() { java.lang.Object ref = reportJob_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reportJob_ = s; return s; @@ -566,6 +613,8 @@ public java.lang.String getReportJob() { } } /** + * + * *
      * Required. The report job created by
      * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
@@ -573,16 +622,17 @@ public java.lang.String getReportJob() {
      * accounts/{account_id}/reportJobs/{report_job_id}
      * 
* - * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for reportJob. */ - public com.google.protobuf.ByteString - getReportJobBytes() { + public com.google.protobuf.ByteString getReportJobBytes() { java.lang.Object ref = reportJob_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); reportJob_ = b; return b; } else { @@ -590,6 +640,8 @@ public java.lang.String getReportJob() { } } /** + * + * *
      * Required. The report job created by
      * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
@@ -597,21 +649,25 @@ public java.lang.String getReportJob() {
      * accounts/{account_id}/reportJobs/{report_job_id}
      * 
* - * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The reportJob to set. * @return This builder for chaining. */ - public Builder setReportJob( - java.lang.String value) { + public Builder setReportJob(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + reportJob_ = value; onChanged(); return this; } /** + * + * *
      * Required. The report job created by
      * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
@@ -619,16 +675,21 @@ public Builder setReportJob(
      * accounts/{account_id}/reportJobs/{report_job_id}
      * 
* - * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearReportJob() { - + reportJob_ = getDefaultInstance().getReportJob(); onChanged(); return this; } /** + * + * *
      * Required. The report job created by
      * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
@@ -636,24 +697,28 @@ public Builder clearReportJob() {
      * accounts/{account_id}/reportJobs/{report_job_id}
      * 
* - * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for reportJob to set. * @return This builder for chaining. */ - public Builder setReportJobBytes( - com.google.protobuf.ByteString value) { + public Builder setReportJobBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + reportJob_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Requested page size of the report. The server may return fewer
      * results than requested. If you don't specify a page size, the server uses a
@@ -663,6 +728,7 @@ public Builder setReportJobBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -670,6 +736,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Requested page size of the report. The server may return fewer
      * results than requested. If you don't specify a page size, the server uses a
@@ -679,16 +747,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.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. Requested page size of the report. The server may return fewer
      * results than requested. If you don't specify a page size, the server uses a
@@ -698,10 +769,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -709,6 +781,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. A token that specifies a page of results beyond the first page.
      * Obtained through
@@ -719,13 +793,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -734,6 +808,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A token that specifies a page of results beyond the first page.
      * Obtained through
@@ -744,15 +820,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -760,6 +835,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A token that specifies a page of results beyond the first page.
      * Obtained through
@@ -770,20 +847,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Optional. A token that specifies a page of results beyond the first page.
      * Obtained through
@@ -794,15 +873,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. A token that specifies a page of results beyond the first page.
      * Obtained through
@@ -813,23 +895,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + 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 +921,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.FetchReportResultsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.FetchReportResultsRequest) private static final com.google.cloud.channel.v1.FetchReportResultsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.FetchReportResultsRequest(); } @@ -853,27 +935,27 @@ public static com.google.cloud.channel.v1.FetchReportResultsRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchReportResultsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchReportResultsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -888,6 +970,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.channel.v1.FetchReportResultsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsRequestOrBuilder.java index 835718ffe499..43a0c9fe67f5 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsRequestOrBuilder.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/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; -public interface FetchReportResultsRequestOrBuilder extends +public interface FetchReportResultsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.FetchReportResultsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The report job created by
    * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
@@ -15,11 +33,16 @@ public interface FetchReportResultsRequestOrBuilder extends
    * accounts/{account_id}/reportJobs/{report_job_id}
    * 
* - * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The reportJob. */ java.lang.String getReportJob(); /** + * + * *
    * Required. The report job created by
    * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
@@ -27,13 +50,17 @@ public interface FetchReportResultsRequestOrBuilder extends
    * accounts/{account_id}/reportJobs/{report_job_id}
    * 
* - * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string report_job = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for reportJob. */ - com.google.protobuf.ByteString - getReportJobBytes(); + com.google.protobuf.ByteString getReportJobBytes(); /** + * + * *
    * Optional. Requested page size of the report. The server may return fewer
    * results than requested. If you don't specify a page size, the server uses a
@@ -43,11 +70,14 @@ public interface FetchReportResultsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. A token that specifies a page of results beyond the first page.
    * Obtained through
@@ -58,10 +88,13 @@ public interface FetchReportResultsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. A token that specifies a page of results beyond the first page.
    * Obtained through
@@ -72,8 +105,8 @@ public interface FetchReportResultsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsResponse.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsResponse.java similarity index 73% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsResponse.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsResponse.java index e5ca60834efa..3ae2c1496f38 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsResponse.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsResponse.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/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Response message for
  * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults].
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.FetchReportResultsResponse}
  */
-public final class FetchReportResultsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class FetchReportResultsResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.FetchReportResultsResponse)
     FetchReportResultsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use FetchReportResultsResponse.newBuilder() to construct.
   private FetchReportResultsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private FetchReportResultsResponse() {
     rows_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -28,38 +46,42 @@ private FetchReportResultsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new FetchReportResultsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_FetchReportResultsResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ReportsServiceProto
+        .internal_static_google_cloud_channel_v1_FetchReportResultsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_FetchReportResultsResponse_fieldAccessorTable
+    return com.google.cloud.channel.v1.ReportsServiceProto
+        .internal_static_google_cloud_channel_v1_FetchReportResultsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.FetchReportResultsResponse.class, com.google.cloud.channel.v1.FetchReportResultsResponse.Builder.class);
+            com.google.cloud.channel.v1.FetchReportResultsResponse.class,
+            com.google.cloud.channel.v1.FetchReportResultsResponse.Builder.class);
   }
 
   public static final int REPORT_METADATA_FIELD_NUMBER = 1;
   private com.google.cloud.channel.v1.ReportResultsMetadata reportMetadata_;
   /**
+   *
+   *
    * 
    * The metadata for the report results (display name, columns, row count, and
    * date ranges).
    * 
* * .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 1; + * * @return Whether the reportMetadata field is set. */ @java.lang.Override @@ -67,19 +89,26 @@ public boolean hasReportMetadata() { return reportMetadata_ != null; } /** + * + * *
    * The metadata for the report results (display name, columns, row count, and
    * date ranges).
    * 
* * .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 1; + * * @return The reportMetadata. */ @java.lang.Override public com.google.cloud.channel.v1.ReportResultsMetadata getReportMetadata() { - return reportMetadata_ == null ? com.google.cloud.channel.v1.ReportResultsMetadata.getDefaultInstance() : reportMetadata_; + return reportMetadata_ == null + ? com.google.cloud.channel.v1.ReportResultsMetadata.getDefaultInstance() + : reportMetadata_; } /** + * + * *
    * The metadata for the report results (display name, columns, row count, and
    * date ranges).
@@ -95,6 +124,8 @@ public com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder getReportMetad
   public static final int ROWS_FIELD_NUMBER = 2;
   private java.util.List rows_;
   /**
+   *
+   *
    * 
    * The report's lists of values. Each row follows the settings and ordering
    * of the columns from `report_metadata`.
@@ -107,6 +138,8 @@ public java.util.List getRowsList() {
     return rows_;
   }
   /**
+   *
+   *
    * 
    * The report's lists of values. Each row follows the settings and ordering
    * of the columns from `report_metadata`.
@@ -115,11 +148,12 @@ public java.util.List getRowsList() {
    * repeated .google.cloud.channel.v1.Row rows = 2;
    */
   @java.lang.Override
-  public java.util.List 
-      getRowsOrBuilderList() {
+  public java.util.List getRowsOrBuilderList() {
     return rows_;
   }
   /**
+   *
+   *
    * 
    * The report's lists of values. Each row follows the settings and ordering
    * of the columns from `report_metadata`.
@@ -132,6 +166,8 @@ public int getRowsCount() {
     return rows_.size();
   }
   /**
+   *
+   *
    * 
    * The report's lists of values. Each row follows the settings and ordering
    * of the columns from `report_metadata`.
@@ -144,6 +180,8 @@ public com.google.cloud.channel.v1.Row getRows(int index) {
     return rows_.get(index);
   }
   /**
+   *
+   *
    * 
    * The report's lists of values. Each row follows the settings and ordering
    * of the columns from `report_metadata`.
@@ -152,14 +190,15 @@ public com.google.cloud.channel.v1.Row getRows(int index) {
    * repeated .google.cloud.channel.v1.Row rows = 2;
    */
   @java.lang.Override
-  public com.google.cloud.channel.v1.RowOrBuilder getRowsOrBuilder(
-      int index) {
+  public com.google.cloud.channel.v1.RowOrBuilder getRowsOrBuilder(int index) {
     return rows_.get(index);
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3;
   private volatile java.lang.Object nextPageToken_;
   /**
+   *
+   *
    * 
    * Pass this token to
    * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
@@ -167,6 +206,7 @@ public com.google.cloud.channel.v1.RowOrBuilder getRowsOrBuilder(
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ @java.lang.Override @@ -175,14 +215,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; } } /** + * + * *
    * Pass this token to
    * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
@@ -190,16 +231,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 3; + * * @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 { @@ -208,6 +248,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,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 (reportMetadata_ != null) { output.writeMessage(1, getReportMetadata()); } @@ -240,12 +280,10 @@ public int getSerializedSize() { size = 0; if (reportMetadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getReportMetadata()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReportMetadata()); } for (int i = 0; i < rows_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, rows_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, rows_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); @@ -258,22 +296,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.cloud.channel.v1.FetchReportResultsResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.FetchReportResultsResponse other = (com.google.cloud.channel.v1.FetchReportResultsResponse) obj; + com.google.cloud.channel.v1.FetchReportResultsResponse other = + (com.google.cloud.channel.v1.FetchReportResultsResponse) obj; if (hasReportMetadata() != other.hasReportMetadata()) return false; if (hasReportMetadata()) { - if (!getReportMetadata() - .equals(other.getReportMetadata())) return false; + if (!getReportMetadata().equals(other.getReportMetadata())) return false; } - if (!getRowsList() - .equals(other.getRowsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getRowsList().equals(other.getRowsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -301,96 +337,104 @@ public int hashCode() { } public static com.google.cloud.channel.v1.FetchReportResultsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.FetchReportResultsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.FetchReportResultsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.FetchReportResultsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.FetchReportResultsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.FetchReportResultsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.FetchReportResultsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.FetchReportResultsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.FetchReportResultsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.FetchReportResultsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.FetchReportResultsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.FetchReportResultsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.FetchReportResultsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.FetchReportResultsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.FetchReportResultsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.FetchReportResultsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults].
@@ -399,33 +443,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.FetchReportResultsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.FetchReportResultsResponse)
       com.google.cloud.channel.v1.FetchReportResultsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_FetchReportResultsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ReportsServiceProto
+          .internal_static_google_cloud_channel_v1_FetchReportResultsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_FetchReportResultsResponse_fieldAccessorTable
+      return com.google.cloud.channel.v1.ReportsServiceProto
+          .internal_static_google_cloud_channel_v1_FetchReportResultsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.FetchReportResultsResponse.class, com.google.cloud.channel.v1.FetchReportResultsResponse.Builder.class);
+              com.google.cloud.channel.v1.FetchReportResultsResponse.class,
+              com.google.cloud.channel.v1.FetchReportResultsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.FetchReportResultsResponse.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -448,9 +491,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_FetchReportResultsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ReportsServiceProto
+          .internal_static_google_cloud_channel_v1_FetchReportResultsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -469,7 +512,8 @@ public com.google.cloud.channel.v1.FetchReportResultsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.FetchReportResultsResponse buildPartial() {
-      com.google.cloud.channel.v1.FetchReportResultsResponse result = new com.google.cloud.channel.v1.FetchReportResultsResponse(this);
+      com.google.cloud.channel.v1.FetchReportResultsResponse result =
+          new com.google.cloud.channel.v1.FetchReportResultsResponse(this);
       int from_bitField0_ = bitField0_;
       if (reportMetadataBuilder_ == null) {
         result.reportMetadata_ = reportMetadata_;
@@ -494,38 +538,39 @@ public com.google.cloud.channel.v1.FetchReportResultsResponse 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.cloud.channel.v1.FetchReportResultsResponse) {
-        return mergeFrom((com.google.cloud.channel.v1.FetchReportResultsResponse)other);
+        return mergeFrom((com.google.cloud.channel.v1.FetchReportResultsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -533,7 +578,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.FetchReportResultsResponse other) {
-      if (other == com.google.cloud.channel.v1.FetchReportResultsResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.FetchReportResultsResponse.getDefaultInstance())
+        return this;
       if (other.hasReportMetadata()) {
         mergeReportMetadata(other.getReportMetadata());
       }
@@ -555,9 +601,10 @@ public Builder mergeFrom(com.google.cloud.channel.v1.FetchReportResultsResponse
             rowsBuilder_ = null;
             rows_ = other.rows_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            rowsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getRowsFieldBuilder() : null;
+            rowsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getRowsFieldBuilder()
+                    : null;
           } else {
             rowsBuilder_.addAllMessages(other.rows_);
           }
@@ -593,37 +640,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getReportMetadataFieldBuilder().getBuilder(),
-                  extensionRegistry);
+            case 10:
+              {
+                input.readMessage(getReportMetadataFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 10
-            case 18: {
-              com.google.cloud.channel.v1.Row m =
-                  input.readMessage(
-                      com.google.cloud.channel.v1.Row.parser(),
-                      extensionRegistry);
-              if (rowsBuilder_ == null) {
-                ensureRowsIsMutable();
-                rows_.add(m);
-              } else {
-                rowsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            case 26: {
-              nextPageToken_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.cloud.channel.v1.Row m =
+                    input.readMessage(com.google.cloud.channel.v1.Row.parser(), extensionRegistry);
+                if (rowsBuilder_ == null) {
+                  ensureRowsIsMutable();
+                  rows_.add(m);
+                } else {
+                  rowsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 18
+            case 26:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -633,40 +680,54 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.cloud.channel.v1.ReportResultsMetadata reportMetadata_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.channel.v1.ReportResultsMetadata, com.google.cloud.channel.v1.ReportResultsMetadata.Builder, com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder> reportMetadataBuilder_;
+            com.google.cloud.channel.v1.ReportResultsMetadata,
+            com.google.cloud.channel.v1.ReportResultsMetadata.Builder,
+            com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder>
+        reportMetadataBuilder_;
     /**
+     *
+     *
      * 
      * The metadata for the report results (display name, columns, row count, and
      * date ranges).
      * 
* * .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 1; + * * @return Whether the reportMetadata field is set. */ public boolean hasReportMetadata() { return reportMetadataBuilder_ != null || reportMetadata_ != null; } /** + * + * *
      * The metadata for the report results (display name, columns, row count, and
      * date ranges).
      * 
* * .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 1; + * * @return The reportMetadata. */ public com.google.cloud.channel.v1.ReportResultsMetadata getReportMetadata() { if (reportMetadataBuilder_ == null) { - return reportMetadata_ == null ? com.google.cloud.channel.v1.ReportResultsMetadata.getDefaultInstance() : reportMetadata_; + return reportMetadata_ == null + ? com.google.cloud.channel.v1.ReportResultsMetadata.getDefaultInstance() + : reportMetadata_; } else { return reportMetadataBuilder_.getMessage(); } } /** + * + * *
      * The metadata for the report results (display name, columns, row count, and
      * date ranges).
@@ -688,6 +749,8 @@ public Builder setReportMetadata(com.google.cloud.channel.v1.ReportResultsMetada
       return this;
     }
     /**
+     *
+     *
      * 
      * The metadata for the report results (display name, columns, row count, and
      * date ranges).
@@ -707,6 +770,8 @@ public Builder setReportMetadata(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metadata for the report results (display name, columns, row count, and
      * date ranges).
@@ -718,7 +783,9 @@ public Builder mergeReportMetadata(com.google.cloud.channel.v1.ReportResultsMeta
       if (reportMetadataBuilder_ == null) {
         if (reportMetadata_ != null) {
           reportMetadata_ =
-            com.google.cloud.channel.v1.ReportResultsMetadata.newBuilder(reportMetadata_).mergeFrom(value).buildPartial();
+              com.google.cloud.channel.v1.ReportResultsMetadata.newBuilder(reportMetadata_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           reportMetadata_ = value;
         }
@@ -730,6 +797,8 @@ public Builder mergeReportMetadata(com.google.cloud.channel.v1.ReportResultsMeta
       return this;
     }
     /**
+     *
+     *
      * 
      * The metadata for the report results (display name, columns, row count, and
      * date ranges).
@@ -749,6 +818,8 @@ public Builder clearReportMetadata() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The metadata for the report results (display name, columns, row count, and
      * date ranges).
@@ -757,11 +828,13 @@ public Builder clearReportMetadata() {
      * .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 1;
      */
     public com.google.cloud.channel.v1.ReportResultsMetadata.Builder getReportMetadataBuilder() {
-      
+
       onChanged();
       return getReportMetadataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The metadata for the report results (display name, columns, row count, and
      * date ranges).
@@ -773,11 +846,14 @@ public com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder getReportMetad
       if (reportMetadataBuilder_ != null) {
         return reportMetadataBuilder_.getMessageOrBuilder();
       } else {
-        return reportMetadata_ == null ?
-            com.google.cloud.channel.v1.ReportResultsMetadata.getDefaultInstance() : reportMetadata_;
+        return reportMetadata_ == null
+            ? com.google.cloud.channel.v1.ReportResultsMetadata.getDefaultInstance()
+            : reportMetadata_;
       }
     }
     /**
+     *
+     *
      * 
      * The metadata for the report results (display name, columns, row count, and
      * date ranges).
@@ -786,32 +862,41 @@ public com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder getReportMetad
      * .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.channel.v1.ReportResultsMetadata, com.google.cloud.channel.v1.ReportResultsMetadata.Builder, com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder> 
+            com.google.cloud.channel.v1.ReportResultsMetadata,
+            com.google.cloud.channel.v1.ReportResultsMetadata.Builder,
+            com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder>
         getReportMetadataFieldBuilder() {
       if (reportMetadataBuilder_ == null) {
-        reportMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.channel.v1.ReportResultsMetadata, com.google.cloud.channel.v1.ReportResultsMetadata.Builder, com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder>(
-                getReportMetadata(),
-                getParentForChildren(),
-                isClean());
+        reportMetadataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.channel.v1.ReportResultsMetadata,
+                com.google.cloud.channel.v1.ReportResultsMetadata.Builder,
+                com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder>(
+                getReportMetadata(), getParentForChildren(), isClean());
         reportMetadata_ = null;
       }
       return reportMetadataBuilder_;
     }
 
     private java.util.List rows_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureRowsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         rows_ = new java.util.ArrayList(rows_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.channel.v1.Row, com.google.cloud.channel.v1.Row.Builder, com.google.cloud.channel.v1.RowOrBuilder> rowsBuilder_;
+            com.google.cloud.channel.v1.Row,
+            com.google.cloud.channel.v1.Row.Builder,
+            com.google.cloud.channel.v1.RowOrBuilder>
+        rowsBuilder_;
 
     /**
+     *
+     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -827,6 +912,8 @@ public java.util.List getRowsList() {
       }
     }
     /**
+     *
+     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -842,6 +929,8 @@ public int getRowsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -857,6 +946,8 @@ public com.google.cloud.channel.v1.Row getRows(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -864,8 +955,7 @@ public com.google.cloud.channel.v1.Row getRows(int index) {
      *
      * repeated .google.cloud.channel.v1.Row rows = 2;
      */
-    public Builder setRows(
-        int index, com.google.cloud.channel.v1.Row value) {
+    public Builder setRows(int index, com.google.cloud.channel.v1.Row value) {
       if (rowsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -879,6 +969,8 @@ public Builder setRows(
       return this;
     }
     /**
+     *
+     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -886,8 +978,7 @@ public Builder setRows(
      *
      * repeated .google.cloud.channel.v1.Row rows = 2;
      */
-    public Builder setRows(
-        int index, com.google.cloud.channel.v1.Row.Builder builderForValue) {
+    public Builder setRows(int index, com.google.cloud.channel.v1.Row.Builder builderForValue) {
       if (rowsBuilder_ == null) {
         ensureRowsIsMutable();
         rows_.set(index, builderForValue.build());
@@ -898,6 +989,8 @@ public Builder setRows(
       return this;
     }
     /**
+     *
+     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -919,6 +1012,8 @@ public Builder addRows(com.google.cloud.channel.v1.Row value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -926,8 +1021,7 @@ public Builder addRows(com.google.cloud.channel.v1.Row value) {
      *
      * repeated .google.cloud.channel.v1.Row rows = 2;
      */
-    public Builder addRows(
-        int index, com.google.cloud.channel.v1.Row value) {
+    public Builder addRows(int index, com.google.cloud.channel.v1.Row value) {
       if (rowsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -941,6 +1035,8 @@ public Builder addRows(
       return this;
     }
     /**
+     *
+     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -948,8 +1044,7 @@ public Builder addRows(
      *
      * repeated .google.cloud.channel.v1.Row rows = 2;
      */
-    public Builder addRows(
-        com.google.cloud.channel.v1.Row.Builder builderForValue) {
+    public Builder addRows(com.google.cloud.channel.v1.Row.Builder builderForValue) {
       if (rowsBuilder_ == null) {
         ensureRowsIsMutable();
         rows_.add(builderForValue.build());
@@ -960,6 +1055,8 @@ public Builder addRows(
       return this;
     }
     /**
+     *
+     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -967,8 +1064,7 @@ public Builder addRows(
      *
      * repeated .google.cloud.channel.v1.Row rows = 2;
      */
-    public Builder addRows(
-        int index, com.google.cloud.channel.v1.Row.Builder builderForValue) {
+    public Builder addRows(int index, com.google.cloud.channel.v1.Row.Builder builderForValue) {
       if (rowsBuilder_ == null) {
         ensureRowsIsMutable();
         rows_.add(index, builderForValue.build());
@@ -979,6 +1075,8 @@ public Builder addRows(
       return this;
     }
     /**
+     *
+     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -990,8 +1088,7 @@ public Builder addAllRows(
         java.lang.Iterable values) {
       if (rowsBuilder_ == null) {
         ensureRowsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, rows_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rows_);
         onChanged();
       } else {
         rowsBuilder_.addAllMessages(values);
@@ -999,6 +1096,8 @@ public Builder addAllRows(
       return this;
     }
     /**
+     *
+     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -1017,6 +1116,8 @@ public Builder clearRows() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -1035,6 +1136,8 @@ public Builder removeRows(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -1042,11 +1145,12 @@ public Builder removeRows(int index) {
      *
      * repeated .google.cloud.channel.v1.Row rows = 2;
      */
-    public com.google.cloud.channel.v1.Row.Builder getRowsBuilder(
-        int index) {
+    public com.google.cloud.channel.v1.Row.Builder getRowsBuilder(int index) {
       return getRowsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -1054,14 +1158,16 @@ public com.google.cloud.channel.v1.Row.Builder getRowsBuilder(
      *
      * repeated .google.cloud.channel.v1.Row rows = 2;
      */
-    public com.google.cloud.channel.v1.RowOrBuilder getRowsOrBuilder(
-        int index) {
+    public com.google.cloud.channel.v1.RowOrBuilder getRowsOrBuilder(int index) {
       if (rowsBuilder_ == null) {
-        return rows_.get(index);  } else {
+        return rows_.get(index);
+      } else {
         return rowsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -1069,8 +1175,8 @@ public com.google.cloud.channel.v1.RowOrBuilder getRowsOrBuilder(
      *
      * repeated .google.cloud.channel.v1.Row rows = 2;
      */
-    public java.util.List 
-         getRowsOrBuilderList() {
+    public java.util.List
+        getRowsOrBuilderList() {
       if (rowsBuilder_ != null) {
         return rowsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1078,6 +1184,8 @@ public com.google.cloud.channel.v1.RowOrBuilder getRowsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -1086,10 +1194,11 @@ public com.google.cloud.channel.v1.RowOrBuilder getRowsOrBuilder(
      * repeated .google.cloud.channel.v1.Row rows = 2;
      */
     public com.google.cloud.channel.v1.Row.Builder addRowsBuilder() {
-      return getRowsFieldBuilder().addBuilder(
-          com.google.cloud.channel.v1.Row.getDefaultInstance());
+      return getRowsFieldBuilder().addBuilder(com.google.cloud.channel.v1.Row.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -1097,12 +1206,13 @@ public com.google.cloud.channel.v1.Row.Builder addRowsBuilder() {
      *
      * repeated .google.cloud.channel.v1.Row rows = 2;
      */
-    public com.google.cloud.channel.v1.Row.Builder addRowsBuilder(
-        int index) {
-      return getRowsFieldBuilder().addBuilder(
-          index, com.google.cloud.channel.v1.Row.getDefaultInstance());
+    public com.google.cloud.channel.v1.Row.Builder addRowsBuilder(int index) {
+      return getRowsFieldBuilder()
+          .addBuilder(index, com.google.cloud.channel.v1.Row.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The report's lists of values. Each row follows the settings and ordering
      * of the columns from `report_metadata`.
@@ -1110,20 +1220,22 @@ public com.google.cloud.channel.v1.Row.Builder addRowsBuilder(
      *
      * repeated .google.cloud.channel.v1.Row rows = 2;
      */
-    public java.util.List 
-         getRowsBuilderList() {
+    public java.util.List getRowsBuilderList() {
       return getRowsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.channel.v1.Row, com.google.cloud.channel.v1.Row.Builder, com.google.cloud.channel.v1.RowOrBuilder> 
+            com.google.cloud.channel.v1.Row,
+            com.google.cloud.channel.v1.Row.Builder,
+            com.google.cloud.channel.v1.RowOrBuilder>
         getRowsFieldBuilder() {
       if (rowsBuilder_ == null) {
-        rowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.channel.v1.Row, com.google.cloud.channel.v1.Row.Builder, com.google.cloud.channel.v1.RowOrBuilder>(
-                rows_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        rowsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.channel.v1.Row,
+                com.google.cloud.channel.v1.Row.Builder,
+                com.google.cloud.channel.v1.RowOrBuilder>(
+                rows_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         rows_ = null;
       }
       return rowsBuilder_;
@@ -1131,6 +1243,8 @@ public com.google.cloud.channel.v1.Row.Builder addRowsBuilder(
 
     private java.lang.Object nextPageToken_ = "";
     /**
+     *
+     *
      * 
      * Pass this token to
      * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
@@ -1138,13 +1252,13 @@ public com.google.cloud.channel.v1.Row.Builder addRowsBuilder(
      * 
* * string next_page_token = 3; + * * @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; @@ -1153,6 +1267,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Pass this token to
      * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
@@ -1160,15 +1276,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 3; + * * @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 { @@ -1176,6 +1291,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Pass this token to
      * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
@@ -1183,20 +1300,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 3; + * * @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; } /** + * + * *
      * Pass this token to
      * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
@@ -1204,15 +1323,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 3; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * Pass this token to
      * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
@@ -1220,23 +1342,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 3; + * * @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); } @@ -1246,12 +1368,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.FetchReportResultsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.FetchReportResultsResponse) private static final com.google.cloud.channel.v1.FetchReportResultsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.FetchReportResultsResponse(); } @@ -1260,27 +1382,27 @@ public static com.google.cloud.channel.v1.FetchReportResultsResponse getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchReportResultsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchReportResultsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1295,6 +1417,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.channel.v1.FetchReportResultsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsResponseOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsResponseOrBuilder.java similarity index 75% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsResponseOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsResponseOrBuilder.java index 62218a14a713..e4e34e3c6833 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsResponseOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/FetchReportResultsResponseOrBuilder.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/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; -public interface FetchReportResultsResponseOrBuilder extends +public interface FetchReportResultsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.FetchReportResultsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The metadata for the report results (display name, columns, row count, and
    * date ranges).
    * 
* * .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 1; + * * @return Whether the reportMetadata field is set. */ boolean hasReportMetadata(); /** + * + * *
    * The metadata for the report results (display name, columns, row count, and
    * date ranges).
    * 
* * .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 1; + * * @return The reportMetadata. */ com.google.cloud.channel.v1.ReportResultsMetadata getReportMetadata(); /** + * + * *
    * The metadata for the report results (display name, columns, row count, and
    * date ranges).
@@ -38,6 +62,8 @@ public interface FetchReportResultsResponseOrBuilder extends
   com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder getReportMetadataOrBuilder();
 
   /**
+   *
+   *
    * 
    * The report's lists of values. Each row follows the settings and ordering
    * of the columns from `report_metadata`.
@@ -45,9 +71,10 @@ public interface FetchReportResultsResponseOrBuilder extends
    *
    * repeated .google.cloud.channel.v1.Row rows = 2;
    */
-  java.util.List 
-      getRowsList();
+  java.util.List getRowsList();
   /**
+   *
+   *
    * 
    * The report's lists of values. Each row follows the settings and ordering
    * of the columns from `report_metadata`.
@@ -57,6 +84,8 @@ public interface FetchReportResultsResponseOrBuilder extends
    */
   com.google.cloud.channel.v1.Row getRows(int index);
   /**
+   *
+   *
    * 
    * The report's lists of values. Each row follows the settings and ordering
    * of the columns from `report_metadata`.
@@ -66,6 +95,8 @@ public interface FetchReportResultsResponseOrBuilder extends
    */
   int getRowsCount();
   /**
+   *
+   *
    * 
    * The report's lists of values. Each row follows the settings and ordering
    * of the columns from `report_metadata`.
@@ -73,9 +104,10 @@ public interface FetchReportResultsResponseOrBuilder extends
    *
    * repeated .google.cloud.channel.v1.Row rows = 2;
    */
-  java.util.List 
-      getRowsOrBuilderList();
+  java.util.List getRowsOrBuilderList();
   /**
+   *
+   *
    * 
    * The report's lists of values. Each row follows the settings and ordering
    * of the columns from `report_metadata`.
@@ -83,10 +115,11 @@ public interface FetchReportResultsResponseOrBuilder extends
    *
    * repeated .google.cloud.channel.v1.Row rows = 2;
    */
-  com.google.cloud.channel.v1.RowOrBuilder getRowsOrBuilder(
-      int index);
+  com.google.cloud.channel.v1.RowOrBuilder getRowsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Pass this token to
    * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
@@ -94,10 +127,13 @@ com.google.cloud.channel.v1.RowOrBuilder getRowsOrBuilder(
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Pass this token to
    * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
@@ -105,8 +141,8 @@ com.google.cloud.channel.v1.RowOrBuilder getRowsOrBuilder(
    * 
* * string next_page_token = 3; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequest.java similarity index 65% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequest.java index d936276e3759..b1c137934d77 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelService.GetChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.GetChannelPartnerLink].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.GetChannelPartnerLinkRequest}
  */
-public final class GetChannelPartnerLinkRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GetChannelPartnerLinkRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.GetChannelPartnerLinkRequest)
     GetChannelPartnerLinkRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GetChannelPartnerLinkRequest.newBuilder() to construct.
   private GetChannelPartnerLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GetChannelPartnerLinkRequest() {
     name_ = "";
     view_ = 0;
@@ -27,32 +45,35 @@ private GetChannelPartnerLinkRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetChannelPartnerLinkRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.GetChannelPartnerLinkRequest.class, com.google.cloud.channel.v1.GetChannelPartnerLinkRequest.Builder.class);
+            com.google.cloud.channel.v1.GetChannelPartnerLinkRequest.class,
+            com.google.cloud.channel.v1.GetChannelPartnerLinkRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The resource name of the channel partner link to retrieve.
    * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -60,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -68,14 +90,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the channel partner link to retrieve.
    * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -83,16 +106,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -103,31 +125,47 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** + * + * *
    * Optional. The level of granularity the ChannelPartnerLink will display.
    * 
* - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * Optional. The level of granularity the ChannelPartnerLink will display.
    * 
* - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ - @java.lang.Override public com.google.cloud.channel.v1.ChannelPartnerLinkView getView() { + @java.lang.Override + public com.google.cloud.channel.v1.ChannelPartnerLinkView getView() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.ChannelPartnerLinkView result = com.google.cloud.channel.v1.ChannelPartnerLinkView.valueOf(view_); - return result == null ? com.google.cloud.channel.v1.ChannelPartnerLinkView.UNRECOGNIZED : result; + com.google.cloud.channel.v1.ChannelPartnerLinkView result = + com.google.cloud.channel.v1.ChannelPartnerLinkView.valueOf(view_); + return result == null + ? com.google.cloud.channel.v1.ChannelPartnerLinkView.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,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_); } @@ -160,8 +197,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (view_ != com.google.cloud.channel.v1.ChannelPartnerLinkView.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, view_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -171,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.cloud.channel.v1.GetChannelPartnerLinkRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.GetChannelPartnerLinkRequest other = (com.google.cloud.channel.v1.GetChannelPartnerLinkRequest) obj; + com.google.cloud.channel.v1.GetChannelPartnerLinkRequest other = + (com.google.cloud.channel.v1.GetChannelPartnerLinkRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -202,96 +238,104 @@ public int hashCode() { } public static com.google.cloud.channel.v1.GetChannelPartnerLinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.GetChannelPartnerLinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.GetChannelPartnerLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.GetChannelPartnerLinkRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.GetChannelPartnerLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.GetChannelPartnerLinkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.GetChannelPartnerLinkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.GetChannelPartnerLinkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.GetChannelPartnerLinkRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.GetChannelPartnerLinkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.GetChannelPartnerLinkRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.GetChannelPartnerLinkRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.GetChannelPartnerLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.GetChannelPartnerLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.GetChannelPartnerLinkRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.GetChannelPartnerLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelService.GetChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.GetChannelPartnerLink].
@@ -299,33 +343,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.GetChannelPartnerLinkRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.GetChannelPartnerLinkRequest)
       com.google.cloud.channel.v1.GetChannelPartnerLinkRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.GetChannelPartnerLinkRequest.class, com.google.cloud.channel.v1.GetChannelPartnerLinkRequest.Builder.class);
+              com.google.cloud.channel.v1.GetChannelPartnerLinkRequest.class,
+              com.google.cloud.channel.v1.GetChannelPartnerLinkRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.GetChannelPartnerLinkRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -337,9 +380,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_descriptor;
     }
 
     @java.lang.Override
@@ -358,7 +401,8 @@ public com.google.cloud.channel.v1.GetChannelPartnerLinkRequest build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.GetChannelPartnerLinkRequest buildPartial() {
-      com.google.cloud.channel.v1.GetChannelPartnerLinkRequest result = new com.google.cloud.channel.v1.GetChannelPartnerLinkRequest(this);
+      com.google.cloud.channel.v1.GetChannelPartnerLinkRequest result =
+          new com.google.cloud.channel.v1.GetChannelPartnerLinkRequest(this);
       result.name_ = name_;
       result.view_ = view_;
       onBuilt();
@@ -369,38 +413,39 @@ public com.google.cloud.channel.v1.GetChannelPartnerLinkRequest 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.cloud.channel.v1.GetChannelPartnerLinkRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.GetChannelPartnerLinkRequest)other);
+        return mergeFrom((com.google.cloud.channel.v1.GetChannelPartnerLinkRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -408,7 +453,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.GetChannelPartnerLinkRequest other) {
-      if (other == com.google.cloud.channel.v1.GetChannelPartnerLinkRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.GetChannelPartnerLinkRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -442,22 +488,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 16: {
-              view_ = input.readEnum();
-
-              break;
-            } // case 16
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 16:
+              {
+                view_ = input.readEnum();
+
+                break;
+              } // case 16
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -470,6 +519,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The resource name of the channel partner link to retrieve.
      * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -477,13 +528,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -492,6 +543,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the channel partner link to retrieve.
      * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -499,15 +552,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -515,6 +567,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the channel partner link to retrieve.
      * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -522,20 +576,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 channel partner link to retrieve.
      * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -543,15 +599,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the channel partner link to retrieve.
      * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -559,16 +618,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -576,51 +635,75 @@ public Builder setNameBytes( private int view_ = 0; /** + * + * *
      * Optional. The level of granularity the ChannelPartnerLink will display.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * Optional. The level of granularity the ChannelPartnerLink will display.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The level of granularity the ChannelPartnerLink will display.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ @java.lang.Override public com.google.cloud.channel.v1.ChannelPartnerLinkView getView() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.ChannelPartnerLinkView result = com.google.cloud.channel.v1.ChannelPartnerLinkView.valueOf(view_); - return result == null ? com.google.cloud.channel.v1.ChannelPartnerLinkView.UNRECOGNIZED : result; + com.google.cloud.channel.v1.ChannelPartnerLinkView result = + com.google.cloud.channel.v1.ChannelPartnerLinkView.valueOf(view_); + return result == null + ? com.google.cloud.channel.v1.ChannelPartnerLinkView.UNRECOGNIZED + : result; } /** + * + * *
      * Optional. The level of granularity the ChannelPartnerLink will display.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The view to set. * @return This builder for chaining. */ @@ -628,28 +711,33 @@ public Builder setView(com.google.cloud.channel.v1.ChannelPartnerLinkView value) if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Optional. The level of granularity the ChannelPartnerLink will display.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 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); } @@ -659,12 +747,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.GetChannelPartnerLinkRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.GetChannelPartnerLinkRequest) private static final com.google.cloud.channel.v1.GetChannelPartnerLinkRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.GetChannelPartnerLinkRequest(); } @@ -673,27 +761,27 @@ public static com.google.cloud.channel.v1.GetChannelPartnerLinkRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetChannelPartnerLinkRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetChannelPartnerLinkRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -708,6 +796,4 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.channel.v1.GetChannelPartnerLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequestOrBuilder.java similarity index 58% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequestOrBuilder.java index 2eec289fc286..a026f314a8f6 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerLinkRequestOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface GetChannelPartnerLinkRequestOrBuilder extends +public interface GetChannelPartnerLinkRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.GetChannelPartnerLinkRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the channel partner link to retrieve.
    * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -15,10 +33,13 @@ public interface GetChannelPartnerLinkRequestOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the channel partner link to retrieve.
    * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -26,26 +47,36 @@ public interface GetChannelPartnerLinkRequestOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. The level of granularity the ChannelPartnerLink will display.
    * 
* - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * Optional. The level of granularity the ChannelPartnerLink will display.
    * 
* - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ com.google.cloud.channel.v1.ChannelPartnerLinkView getView(); diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequest.java similarity index 59% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequest.java index c4aea5683d7c..2bd63d6fa2fd 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelService.GetChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.GetChannelPartnerRepricingConfig]
@@ -11,54 +28,63 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest}
  */
-public final class GetChannelPartnerRepricingConfigRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GetChannelPartnerRepricingConfigRequest
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest)
     GetChannelPartnerRepricingConfigRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GetChannelPartnerRepricingConfigRequest.newBuilder() to construct.
-  private GetChannelPartnerRepricingConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private GetChannelPartnerRepricingConfigRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GetChannelPartnerRepricingConfigRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetChannelPartnerRepricingConfigRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest.class, com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest.Builder.class);
+            com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest.class,
+            com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The resource name of the ChannelPartnerRepricingConfig
    * Format:
    * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -67,31 +93,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 ChannelPartnerRepricingConfig
    * Format:
    * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -100,6 +128,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +140,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -136,15 +164,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest other = (com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest) obj; + com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest other = + (com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,96 +192,105 @@ public int hashCode() { } public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelService.GetChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.GetChannelPartnerRepricingConfig]
@@ -261,33 +298,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest)
       com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest.class, com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest.Builder.class);
+              com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest.class,
+              com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest.Builder.class);
     }
 
-    // Construct using com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest.newBuilder()
-    private Builder() {
-
-    }
+    // Construct using
+    // com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest.newBuilder()
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -297,14 +334,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest getDefaultInstanceForType() {
-      return com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest.getDefaultInstance();
+    public com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest
+        getDefaultInstanceForType() {
+      return com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -318,7 +357,8 @@ public com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest build
 
     @java.lang.Override
     public com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest buildPartial() {
-      com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest result = new com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest(this);
+      com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest result =
+          new com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -328,46 +368,51 @@ public com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest 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.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest)other);
+        return mergeFrom(
+            (com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest other) {
-      if (other == com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest other) {
+      if (other
+          == com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest
+              .getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -398,17 +443,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -421,20 +468,24 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The resource name of the ChannelPartnerRepricingConfig
      * Format:
      * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}.
      * 
* - * string name = 1 [(.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; @@ -443,22 +494,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the ChannelPartnerRepricingConfig
      * Format:
      * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -466,67 +520,80 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the ChannelPartnerRepricingConfig
      * Format:
      * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}.
      * 
* - * string name = 1 [(.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 ChannelPartnerRepricingConfig
      * Format:
      * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}.
      * 
* - * string 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 ChannelPartnerRepricingConfig
      * Format:
      * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}.
      * 
* - * string name = 1 [(.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); } @@ -536,41 +603,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest) - private static final com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest DEFAULT_INSTANCE; + private static final com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest(); } - public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest getDefaultInstance() { + public static com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetChannelPartnerRepricingConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetChannelPartnerRepricingConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -582,9 +651,8 @@ public com.google.protobuf.Parser getPa } @java.lang.Override - public com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest getDefaultInstanceForType() { + public com.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequestOrBuilder.java new file mode 100644 index 000000000000..4bf78069f707 --- /dev/null +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequestOrBuilder.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/cloud/channel/v1/service.proto + +package com.google.cloud.channel.v1; + +public interface GetChannelPartnerRepricingConfigRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the ChannelPartnerRepricingConfig
+   * Format:
+   * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}.
+   * 
+ * + * + * 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 ChannelPartnerRepricingConfig
+   * Format:
+   * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequest.java similarity index 61% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequest.java index 7a3d52c14513..75f3caea1d43 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelService.GetCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.GetCustomerRepricingConfig].
@@ -11,54 +28,62 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.GetCustomerRepricingConfigRequest}
  */
-public final class GetCustomerRepricingConfigRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GetCustomerRepricingConfigRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.GetCustomerRepricingConfigRequest)
     GetCustomerRepricingConfigRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GetCustomerRepricingConfigRequest.newBuilder() to construct.
-  private GetCustomerRepricingConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private GetCustomerRepricingConfigRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GetCustomerRepricingConfigRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetCustomerRepricingConfigRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest.class, com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest.Builder.class);
+            com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest.class,
+            com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The resource name of the CustomerRepricingConfig.
    * Format:
    * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -67,31 +92,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the CustomerRepricingConfig.
    * Format:
    * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -100,6 +127,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -136,15 +163,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest other = (com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest) obj; + com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest other = + (com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,96 +191,104 @@ public int hashCode() { } public static com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelService.GetCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.GetCustomerRepricingConfig].
@@ -261,33 +296,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.GetCustomerRepricingConfigRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.GetCustomerRepricingConfigRequest)
       com.google.cloud.channel.v1.GetCustomerRepricingConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest.class, com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest.Builder.class);
+              com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest.class,
+              com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -297,13 +331,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest getDefaultInstanceForType() {
+    public com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest.getDefaultInstance();
     }
 
@@ -318,7 +353,8 @@ public com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest buildPartial() {
-      com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest result = new com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest(this);
+      com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest result =
+          new com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -328,38 +364,39 @@ public com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest 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.cloud.channel.v1.GetCustomerRepricingConfigRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest)other);
+        return mergeFrom((com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -367,7 +404,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest other) {
-      if (other == com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -398,17 +437,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -421,20 +462,24 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The resource name of the CustomerRepricingConfig.
      * Format:
      * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
      * 
* - * string name = 1 [(.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; @@ -443,22 +488,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the CustomerRepricingConfig.
      * Format:
      * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -466,67 +514,80 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the CustomerRepricingConfig.
      * Format:
      * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
      * 
* - * string name = 1 [(.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 CustomerRepricingConfig.
      * Format:
      * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
      * 
* - * string 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 CustomerRepricingConfig.
      * Format:
      * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
      * 
* - * string name = 1 [(.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); } @@ -536,12 +597,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.GetCustomerRepricingConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.GetCustomerRepricingConfigRequest) - private static final com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest DEFAULT_INSTANCE; + private static final com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest(); } @@ -550,27 +612,27 @@ public static com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCustomerRepricingConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCustomerRepricingConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -585,6 +647,4 @@ public com.google.protobuf.Parser getParserFo public com.google.cloud.channel.v1.GetCustomerRepricingConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequestOrBuilder.java new file mode 100644 index 000000000000..032f9aade9fe --- /dev/null +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequestOrBuilder.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/cloud/channel/v1/service.proto + +package com.google.cloud.channel.v1; + +public interface GetCustomerRepricingConfigRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.GetCustomerRepricingConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the CustomerRepricingConfig.
+   * Format:
+   * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
+   * 
+ * + * + * 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 CustomerRepricingConfig.
+   * Format:
+   * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequest.java similarity index 63% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequest.java index d09d4dcd8b34..8ad35c61445d 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelService.GetCustomer][google.cloud.channel.v1.CloudChannelService.GetCustomer].
@@ -11,53 +28,60 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.GetCustomerRequest}
  */
-public final class GetCustomerRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GetCustomerRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.GetCustomerRequest)
     GetCustomerRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GetCustomerRequest.newBuilder() to construct.
   private GetCustomerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GetCustomerRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetCustomerRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetCustomerRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_GetCustomerRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetCustomerRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_GetCustomerRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.GetCustomerRequest.class, com.google.cloud.channel.v1.GetCustomerRequest.Builder.class);
+            com.google.cloud.channel.v1.GetCustomerRequest.class,
+            com.google.cloud.channel.v1.GetCustomerRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The resource name of the customer to retrieve.
    * Name uses the format: accounts/{account_id}/customers/{customer_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,30 +90,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 resource name of the customer to retrieve.
    * Name uses the format: accounts/{account_id}/customers/{customer_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,6 +124,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +136,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +160,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.GetCustomerRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.GetCustomerRequest other = (com.google.cloud.channel.v1.GetCustomerRequest) obj; + com.google.cloud.channel.v1.GetCustomerRequest other = + (com.google.cloud.channel.v1.GetCustomerRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -161,97 +187,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.GetCustomerRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.GetCustomerRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.GetCustomerRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.GetCustomerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.GetCustomerRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.GetCustomerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.GetCustomerRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.GetCustomerRequest 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.cloud.channel.v1.GetCustomerRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.GetCustomerRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.GetCustomerRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.GetCustomerRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.GetCustomerRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.GetCustomerRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.GetCustomerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelService.GetCustomer][google.cloud.channel.v1.CloudChannelService.GetCustomer].
@@ -259,33 +292,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.GetCustomerRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.GetCustomerRequest)
       com.google.cloud.channel.v1.GetCustomerRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetCustomerRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_GetCustomerRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetCustomerRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_GetCustomerRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.GetCustomerRequest.class, com.google.cloud.channel.v1.GetCustomerRequest.Builder.class);
+              com.google.cloud.channel.v1.GetCustomerRequest.class,
+              com.google.cloud.channel.v1.GetCustomerRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.GetCustomerRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -295,9 +327,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetCustomerRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_GetCustomerRequest_descriptor;
     }
 
     @java.lang.Override
@@ -316,7 +348,8 @@ public com.google.cloud.channel.v1.GetCustomerRequest build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.GetCustomerRequest buildPartial() {
-      com.google.cloud.channel.v1.GetCustomerRequest result = new com.google.cloud.channel.v1.GetCustomerRequest(this);
+      com.google.cloud.channel.v1.GetCustomerRequest result =
+          new com.google.cloud.channel.v1.GetCustomerRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -326,38 +359,39 @@ public com.google.cloud.channel.v1.GetCustomerRequest 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.cloud.channel.v1.GetCustomerRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.GetCustomerRequest)other);
+        return mergeFrom((com.google.cloud.channel.v1.GetCustomerRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -396,17 +430,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -419,19 +455,23 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The resource name of the customer to retrieve.
      * Name uses the format: accounts/{account_id}/customers/{customer_id}
      * 
* - * string name = 1 [(.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; @@ -440,21 +480,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the customer to retrieve.
      * Name uses the format: accounts/{account_id}/customers/{customer_id}
      * 
* - * string name = 1 [(.google.api.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 { @@ -462,64 +505,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the customer to retrieve.
      * Name uses the format: accounts/{account_id}/customers/{customer_id}
      * 
* - * string name = 1 [(.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 customer to retrieve.
      * Name uses the format: accounts/{account_id}/customers/{customer_id}
      * 
* - * string 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 customer to retrieve.
      * Name uses the format: accounts/{account_id}/customers/{customer_id}
      * 
* - * string name = 1 [(.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); } @@ -529,12 +585,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.GetCustomerRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.GetCustomerRequest) private static final com.google.cloud.channel.v1.GetCustomerRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.GetCustomerRequest(); } @@ -543,27 +599,27 @@ public static com.google.cloud.channel.v1.GetCustomerRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCustomerRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCustomerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -578,6 +634,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.GetCustomerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequestOrBuilder.java new file mode 100644 index 000000000000..b153896bc1e0 --- /dev/null +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequestOrBuilder.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/cloud/channel/v1/service.proto + +package com.google.cloud.channel.v1; + +public interface GetCustomerRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.GetCustomerRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the customer to retrieve.
+   * Name uses the format: accounts/{account_id}/customers/{customer_id}
+   * 
+ * + * + * 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 customer to retrieve.
+   * Name uses the format: accounts/{account_id}/customers/{customer_id}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequest.java similarity index 63% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequest.java index 7b775a35a3fb..2c3851ce3c55 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelService.GetEntitlement][google.cloud.channel.v1.CloudChannelService.GetEntitlement].
@@ -11,54 +28,61 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.GetEntitlementRequest}
  */
-public final class GetEntitlementRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GetEntitlementRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.GetEntitlementRequest)
     GetEntitlementRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GetEntitlementRequest.newBuilder() to construct.
   private GetEntitlementRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GetEntitlementRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetEntitlementRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetEntitlementRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_GetEntitlementRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetEntitlementRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_GetEntitlementRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.GetEntitlementRequest.class, com.google.cloud.channel.v1.GetEntitlementRequest.Builder.class);
+            com.google.cloud.channel.v1.GetEntitlementRequest.class,
+            com.google.cloud.channel.v1.GetEntitlementRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The resource name of the entitlement to retrieve.
    * Name uses the format:
    * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -67,31 +91,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the entitlement to retrieve.
    * Name uses the format:
    * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -100,6 +126,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +138,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -136,15 +162,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.GetEntitlementRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.GetEntitlementRequest other = (com.google.cloud.channel.v1.GetEntitlementRequest) obj; + com.google.cloud.channel.v1.GetEntitlementRequest other = + (com.google.cloud.channel.v1.GetEntitlementRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,96 +190,103 @@ public int hashCode() { } public static com.google.cloud.channel.v1.GetEntitlementRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.GetEntitlementRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.GetEntitlementRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.GetEntitlementRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.GetEntitlementRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.GetEntitlementRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.GetEntitlementRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.GetEntitlementRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.GetEntitlementRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.GetEntitlementRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.GetEntitlementRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.GetEntitlementRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.GetEntitlementRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.GetEntitlementRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.GetEntitlementRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelService.GetEntitlement][google.cloud.channel.v1.CloudChannelService.GetEntitlement].
@@ -261,33 +294,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.GetEntitlementRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.GetEntitlementRequest)
       com.google.cloud.channel.v1.GetEntitlementRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetEntitlementRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_GetEntitlementRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetEntitlementRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_GetEntitlementRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.GetEntitlementRequest.class, com.google.cloud.channel.v1.GetEntitlementRequest.Builder.class);
+              com.google.cloud.channel.v1.GetEntitlementRequest.class,
+              com.google.cloud.channel.v1.GetEntitlementRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.GetEntitlementRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -297,9 +329,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_GetEntitlementRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_GetEntitlementRequest_descriptor;
     }
 
     @java.lang.Override
@@ -318,7 +350,8 @@ public com.google.cloud.channel.v1.GetEntitlementRequest build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.GetEntitlementRequest buildPartial() {
-      com.google.cloud.channel.v1.GetEntitlementRequest result = new com.google.cloud.channel.v1.GetEntitlementRequest(this);
+      com.google.cloud.channel.v1.GetEntitlementRequest result =
+          new com.google.cloud.channel.v1.GetEntitlementRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -328,38 +361,39 @@ public com.google.cloud.channel.v1.GetEntitlementRequest 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.cloud.channel.v1.GetEntitlementRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.GetEntitlementRequest)other);
+        return mergeFrom((com.google.cloud.channel.v1.GetEntitlementRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -367,7 +401,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.GetEntitlementRequest other) {
-      if (other == com.google.cloud.channel.v1.GetEntitlementRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.GetEntitlementRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -398,17 +433,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -421,20 +458,24 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The resource name of the entitlement to retrieve.
      * Name uses the format:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
      * 
* - * string name = 1 [(.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; @@ -443,22 +484,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the entitlement to retrieve.
      * Name uses the format:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -466,67 +510,80 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the entitlement to retrieve.
      * Name uses the format:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
      * 
* - * string name = 1 [(.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 entitlement to retrieve.
      * Name uses the format:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
      * 
* - * string 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 entitlement to retrieve.
      * Name uses the format:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
      * 
* - * string name = 1 [(.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); } @@ -536,12 +593,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.GetEntitlementRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.GetEntitlementRequest) private static final com.google.cloud.channel.v1.GetEntitlementRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.GetEntitlementRequest(); } @@ -550,27 +607,27 @@ public static com.google.cloud.channel.v1.GetEntitlementRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetEntitlementRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetEntitlementRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -585,6 +642,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.GetEntitlementRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequestOrBuilder.java new file mode 100644 index 000000000000..92ac2af0519b --- /dev/null +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequestOrBuilder.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/cloud/channel/v1/service.proto + +package com.google.cloud.channel.v1; + +public interface GetEntitlementRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.GetEntitlementRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the entitlement to retrieve.
+   * Name uses the format:
+   * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
+   * 
+ * + * + * 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 entitlement to retrieve.
+   * Name uses the format:
+   * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequest.java similarity index 73% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequest.java index 710399a0ac58..4ba2b6129a77 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelService.ImportCustomer][google.cloud.channel.v1.CloudChannelService.ImportCustomer]
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.ImportCustomerRequest}
  */
-public final class ImportCustomerRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ImportCustomerRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ImportCustomerRequest)
     ImportCustomerRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ImportCustomerRequest.newBuilder() to construct.
   private ImportCustomerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ImportCustomerRequest() {
     parent_ = "";
     authToken_ = "";
@@ -29,38 +47,42 @@ private ImportCustomerRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ImportCustomerRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ImportCustomerRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ImportCustomerRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ImportCustomerRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ImportCustomerRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.ImportCustomerRequest.class, com.google.cloud.channel.v1.ImportCustomerRequest.Builder.class);
+            com.google.cloud.channel.v1.ImportCustomerRequest.class,
+            com.google.cloud.channel.v1.ImportCustomerRequest.Builder.class);
   }
 
   private int customerIdentityCase_ = 0;
   private java.lang.Object customerIdentity_;
+
   public enum CustomerIdentityCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     DOMAIN(2),
     CLOUD_IDENTITY_ID(3),
     CUSTOMERIDENTITY_NOT_SET(0);
     private final int value;
+
     private CustomerIdentityCase(int value) {
       this.value = value;
     }
@@ -76,41 +98,50 @@ public static CustomerIdentityCase valueOf(int value) {
 
     public static CustomerIdentityCase forNumber(int value) {
       switch (value) {
-        case 2: return DOMAIN;
-        case 3: return CLOUD_IDENTITY_ID;
-        case 0: return CUSTOMERIDENTITY_NOT_SET;
-        default: return null;
+        case 2:
+          return DOMAIN;
+        case 3:
+          return CLOUD_IDENTITY_ID;
+        case 0:
+          return CUSTOMERIDENTITY_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public CustomerIdentityCase
-  getCustomerIdentityCase() {
-    return CustomerIdentityCase.forNumber(
-        customerIdentityCase_);
+  public CustomerIdentityCase getCustomerIdentityCase() {
+    return CustomerIdentityCase.forNumber(customerIdentityCase_);
   }
 
   public static final int DOMAIN_FIELD_NUMBER = 2;
   /**
+   *
+   *
    * 
    * Required. Customer domain.
    * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the domain field is set. */ public boolean hasDomain() { return customerIdentityCase_ == 2; } /** + * + * *
    * Required. Customer domain.
    * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The domain. */ public java.lang.String getDomain() { @@ -121,8 +152,7 @@ public java.lang.String getDomain() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (customerIdentityCase_ == 2) { customerIdentity_ = s; @@ -131,23 +161,24 @@ public java.lang.String getDomain() { } } /** + * + * *
    * Required. Customer domain.
    * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for domain. */ - public com.google.protobuf.ByteString - getDomainBytes() { + public com.google.protobuf.ByteString getDomainBytes() { java.lang.Object ref = ""; if (customerIdentityCase_ == 2) { ref = customerIdentity_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (customerIdentityCase_ == 2) { customerIdentity_ = b; } @@ -159,22 +190,28 @@ public java.lang.String getDomain() { public static final int CLOUD_IDENTITY_ID_FIELD_NUMBER = 3; /** + * + * *
    * Required. Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the cloudIdentityId field is set. */ public boolean hasCloudIdentityId() { return customerIdentityCase_ == 3; } /** + * + * *
    * Required. Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The cloudIdentityId. */ public java.lang.String getCloudIdentityId() { @@ -185,8 +222,7 @@ public java.lang.String getCloudIdentityId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (customerIdentityCase_ == 3) { customerIdentity_ = s; @@ -195,23 +231,24 @@ public java.lang.String getCloudIdentityId() { } } /** + * + * *
    * Required. Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for cloudIdentityId. */ - public com.google.protobuf.ByteString - getCloudIdentityIdBytes() { + public com.google.protobuf.ByteString getCloudIdentityIdBytes() { java.lang.Object ref = ""; if (customerIdentityCase_ == 3) { ref = customerIdentity_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (customerIdentityCase_ == 3) { customerIdentity_ = b; } @@ -224,6 +261,8 @@ public java.lang.String getCloudIdentityId() { public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The resource name of the reseller's account.
    * Parent takes the format: accounts/{account_id} or
@@ -231,6 +270,7 @@ public java.lang.String getCloudIdentityId() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -239,14 +279,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 reseller's account.
    * Parent takes the format: accounts/{account_id} or
@@ -254,16 +295,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -274,6 +314,8 @@ public java.lang.String getParent() { public static final int AUTH_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object authToken_; /** + * + * *
    * Optional. The super admin of the resold customer generates this token to
    * authorize a reseller to access their Cloud Identity and purchase
@@ -282,6 +324,7 @@ public java.lang.String getParent() {
    * 
* * string auth_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The authToken. */ @java.lang.Override @@ -290,14 +333,15 @@ public java.lang.String getAuthToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authToken_ = s; return s; } } /** + * + * *
    * Optional. The super admin of the resold customer generates this token to
    * authorize a reseller to access their Cloud Identity and purchase
@@ -306,16 +350,15 @@ public java.lang.String getAuthToken() {
    * 
* * string auth_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for authToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getAuthTokenBytes() { + public com.google.protobuf.ByteString getAuthTokenBytes() { java.lang.Object ref = authToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); authToken_ = b; return b; } else { @@ -326,6 +369,8 @@ public java.lang.String getAuthToken() { public static final int OVERWRITE_IF_EXISTS_FIELD_NUMBER = 5; private boolean overwriteIfExists_; /** + * + * *
    * Required. Choose to overwrite an existing customer if found.
    * This must be set to true if there is an existing customer with a
@@ -333,6 +378,7 @@ public java.lang.String getAuthToken() {
    * 
* * bool overwrite_if_exists = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The overwriteIfExists. */ @java.lang.Override @@ -343,6 +389,8 @@ public boolean getOverwriteIfExists() { public static final int CHANNEL_PARTNER_ID_FIELD_NUMBER = 6; private volatile java.lang.Object channelPartnerId_; /** + * + * *
    * Optional. Cloud Identity ID of a channel partner who will be the direct
    * reseller for the customer's order. This field is required for 2-tier
@@ -351,6 +399,7 @@ public boolean getOverwriteIfExists() {
    * 
* * string channel_partner_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The channelPartnerId. */ @java.lang.Override @@ -359,14 +408,15 @@ public java.lang.String getChannelPartnerId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); channelPartnerId_ = s; return s; } } /** + * + * *
    * Optional. Cloud Identity ID of a channel partner who will be the direct
    * reseller for the customer's order. This field is required for 2-tier
@@ -375,16 +425,15 @@ public java.lang.String getChannelPartnerId() {
    * 
* * string channel_partner_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for channelPartnerId. */ @java.lang.Override - public com.google.protobuf.ByteString - getChannelPartnerIdBytes() { + public com.google.protobuf.ByteString getChannelPartnerIdBytes() { java.lang.Object ref = channelPartnerId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); channelPartnerId_ = b; return b; } else { @@ -395,13 +444,18 @@ public java.lang.String getChannelPartnerId() { public static final int CUSTOMER_FIELD_NUMBER = 7; private volatile java.lang.Object customer_; /** + * + * *
    * Optional. Specifies the customer that will receive imported Cloud Identity
    * information.
    * Format: accounts/{account_id}/customers/{customer_id}
    * 
* - * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The customer. */ @java.lang.Override @@ -410,31 +464,33 @@ public java.lang.String getCustomer() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customer_ = s; return s; } } /** + * + * *
    * Optional. Specifies the customer that will receive imported Cloud Identity
    * information.
    * Format: accounts/{account_id}/customers/{customer_id}
    * 
* - * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for customer. */ @java.lang.Override - public com.google.protobuf.ByteString - getCustomerBytes() { + public com.google.protobuf.ByteString getCustomerBytes() { java.lang.Object ref = customer_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customer_ = b; return b; } else { @@ -443,6 +499,7 @@ public java.lang.String getCustomer() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -454,8 +511,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -499,8 +555,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, authToken_); } if (overwriteIfExists_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, overwriteIfExists_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, overwriteIfExists_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(channelPartnerId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, channelPartnerId_); @@ -516,32 +571,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.cloud.channel.v1.ImportCustomerRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ImportCustomerRequest other = (com.google.cloud.channel.v1.ImportCustomerRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getAuthToken() - .equals(other.getAuthToken())) return false; - if (getOverwriteIfExists() - != other.getOverwriteIfExists()) return false; - if (!getChannelPartnerId() - .equals(other.getChannelPartnerId())) return false; - if (!getCustomer() - .equals(other.getCustomer())) return false; + com.google.cloud.channel.v1.ImportCustomerRequest other = + (com.google.cloud.channel.v1.ImportCustomerRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getAuthToken().equals(other.getAuthToken())) return false; + if (getOverwriteIfExists() != other.getOverwriteIfExists()) return false; + if (!getChannelPartnerId().equals(other.getChannelPartnerId())) return false; + if (!getCustomer().equals(other.getCustomer())) return false; if (!getCustomerIdentityCase().equals(other.getCustomerIdentityCase())) return false; switch (customerIdentityCase_) { case 2: - if (!getDomain() - .equals(other.getDomain())) return false; + if (!getDomain().equals(other.getDomain())) return false; break; case 3: - if (!getCloudIdentityId() - .equals(other.getCloudIdentityId())) return false; + if (!getCloudIdentityId().equals(other.getCloudIdentityId())) return false; break; case 0: default: @@ -562,8 +611,7 @@ public int hashCode() { hash = (37 * hash) + AUTH_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getAuthToken().hashCode(); hash = (37 * hash) + OVERWRITE_IF_EXISTS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getOverwriteIfExists()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getOverwriteIfExists()); hash = (37 * hash) + CHANNEL_PARTNER_ID_FIELD_NUMBER; hash = (53 * hash) + getChannelPartnerId().hashCode(); hash = (37 * hash) + CUSTOMER_FIELD_NUMBER; @@ -586,96 +634,103 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ImportCustomerRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ImportCustomerRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ImportCustomerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ImportCustomerRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ImportCustomerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ImportCustomerRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ImportCustomerRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ImportCustomerRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ImportCustomerRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ImportCustomerRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ImportCustomerRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ImportCustomerRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ImportCustomerRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ImportCustomerRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.ImportCustomerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelService.ImportCustomer][google.cloud.channel.v1.CloudChannelService.ImportCustomer]
@@ -683,33 +738,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.ImportCustomerRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ImportCustomerRequest)
       com.google.cloud.channel.v1.ImportCustomerRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ImportCustomerRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ImportCustomerRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ImportCustomerRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ImportCustomerRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.ImportCustomerRequest.class, com.google.cloud.channel.v1.ImportCustomerRequest.Builder.class);
+              com.google.cloud.channel.v1.ImportCustomerRequest.class,
+              com.google.cloud.channel.v1.ImportCustomerRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.ImportCustomerRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -729,9 +783,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ImportCustomerRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ImportCustomerRequest_descriptor;
     }
 
     @java.lang.Override
@@ -750,7 +804,8 @@ public com.google.cloud.channel.v1.ImportCustomerRequest build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.ImportCustomerRequest buildPartial() {
-      com.google.cloud.channel.v1.ImportCustomerRequest result = new com.google.cloud.channel.v1.ImportCustomerRequest(this);
+      com.google.cloud.channel.v1.ImportCustomerRequest result =
+          new com.google.cloud.channel.v1.ImportCustomerRequest(this);
       if (customerIdentityCase_ == 2) {
         result.customerIdentity_ = customerIdentity_;
       }
@@ -771,38 +826,39 @@ public com.google.cloud.channel.v1.ImportCustomerRequest 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.cloud.channel.v1.ImportCustomerRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.ImportCustomerRequest)other);
+        return mergeFrom((com.google.cloud.channel.v1.ImportCustomerRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -810,7 +866,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.ImportCustomerRequest other) {
-      if (other == com.google.cloud.channel.v1.ImportCustomerRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.ImportCustomerRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -831,21 +888,24 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ImportCustomerRequest other
         onChanged();
       }
       switch (other.getCustomerIdentityCase()) {
-        case DOMAIN: {
-          customerIdentityCase_ = 2;
-          customerIdentity_ = other.customerIdentity_;
-          onChanged();
-          break;
-        }
-        case CLOUD_IDENTITY_ID: {
-          customerIdentityCase_ = 3;
-          customerIdentity_ = other.customerIdentity_;
-          onChanged();
-          break;
-        }
-        case CUSTOMERIDENTITY_NOT_SET: {
-          break;
-        }
+        case DOMAIN:
+          {
+            customerIdentityCase_ = 2;
+            customerIdentity_ = other.customerIdentity_;
+            onChanged();
+            break;
+          }
+        case CLOUD_IDENTITY_ID:
+          {
+            customerIdentityCase_ = 3;
+            customerIdentity_ = other.customerIdentity_;
+            onChanged();
+            break;
+          }
+        case CUSTOMERIDENTITY_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -873,49 +933,57 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              customerIdentityCase_ = 2;
-              customerIdentity_ = s;
-              break;
-            } // case 18
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              customerIdentityCase_ = 3;
-              customerIdentity_ = s;
-              break;
-            } // case 26
-            case 34: {
-              authToken_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 34
-            case 40: {
-              overwriteIfExists_ = input.readBool();
-
-              break;
-            } // case 40
-            case 50: {
-              channelPartnerId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 50
-            case 58: {
-              customer_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 58
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                customerIdentityCase_ = 2;
+                customerIdentity_ = s;
+                break;
+              } // case 18
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                customerIdentityCase_ = 3;
+                customerIdentity_ = s;
+                break;
+              } // case 26
+            case 34:
+              {
+                authToken_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 34
+            case 40:
+              {
+                overwriteIfExists_ = input.readBool();
+
+                break;
+              } // case 40
+            case 50:
+              {
+                channelPartnerId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 50
+            case 58:
+              {
+                customer_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 58
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -925,12 +993,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int customerIdentityCase_ = 0;
     private java.lang.Object customerIdentity_;
-    public CustomerIdentityCase
-        getCustomerIdentityCase() {
-      return CustomerIdentityCase.forNumber(
-          customerIdentityCase_);
+
+    public CustomerIdentityCase getCustomerIdentityCase() {
+      return CustomerIdentityCase.forNumber(customerIdentityCase_);
     }
 
     public Builder clearCustomerIdentity() {
@@ -940,13 +1008,15 @@ public Builder clearCustomerIdentity() {
       return this;
     }
 
-
     /**
+     *
+     *
      * 
      * Required. Customer domain.
      * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the domain field is set. */ @java.lang.Override @@ -954,11 +1024,14 @@ public boolean hasDomain() { return customerIdentityCase_ == 2; } /** + * + * *
      * Required. Customer domain.
      * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The domain. */ @java.lang.Override @@ -968,8 +1041,7 @@ public java.lang.String getDomain() { ref = customerIdentity_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (customerIdentityCase_ == 2) { customerIdentity_ = s; @@ -980,24 +1052,25 @@ public java.lang.String getDomain() { } } /** + * + * *
      * Required. Customer domain.
      * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for domain. */ @java.lang.Override - public com.google.protobuf.ByteString - getDomainBytes() { + public com.google.protobuf.ByteString getDomainBytes() { java.lang.Object ref = ""; if (customerIdentityCase_ == 2) { ref = customerIdentity_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (customerIdentityCase_ == 2) { customerIdentity_ = b; } @@ -1007,30 +1080,35 @@ public java.lang.String getDomain() { } } /** + * + * *
      * Required. Customer domain.
      * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The domain to set. * @return This builder for chaining. */ - public Builder setDomain( - java.lang.String value) { + public Builder setDomain(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - customerIdentityCase_ = 2; + throw new NullPointerException(); + } + customerIdentityCase_ = 2; customerIdentity_ = value; onChanged(); return this; } /** + * + * *
      * Required. Customer domain.
      * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDomain() { @@ -1042,20 +1120,22 @@ public Builder clearDomain() { return this; } /** + * + * *
      * Required. Customer domain.
      * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for domain to set. * @return This builder for chaining. */ - public Builder setDomainBytes( - com.google.protobuf.ByteString value) { + public Builder setDomainBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); customerIdentityCase_ = 2; customerIdentity_ = value; onChanged(); @@ -1063,11 +1143,14 @@ public Builder setDomainBytes( } /** + * + * *
      * Required. Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the cloudIdentityId field is set. */ @java.lang.Override @@ -1075,11 +1158,14 @@ public boolean hasCloudIdentityId() { return customerIdentityCase_ == 3; } /** + * + * *
      * Required. Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The cloudIdentityId. */ @java.lang.Override @@ -1089,8 +1175,7 @@ public java.lang.String getCloudIdentityId() { ref = customerIdentity_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (customerIdentityCase_ == 3) { customerIdentity_ = s; @@ -1101,24 +1186,25 @@ public java.lang.String getCloudIdentityId() { } } /** + * + * *
      * Required. Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for cloudIdentityId. */ @java.lang.Override - public com.google.protobuf.ByteString - getCloudIdentityIdBytes() { + public com.google.protobuf.ByteString getCloudIdentityIdBytes() { java.lang.Object ref = ""; if (customerIdentityCase_ == 3) { ref = customerIdentity_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (customerIdentityCase_ == 3) { customerIdentity_ = b; } @@ -1128,30 +1214,35 @@ public java.lang.String getCloudIdentityId() { } } /** + * + * *
      * Required. Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The cloudIdentityId to set. * @return This builder for chaining. */ - public Builder setCloudIdentityId( - java.lang.String value) { + public Builder setCloudIdentityId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - customerIdentityCase_ = 3; + throw new NullPointerException(); + } + customerIdentityCase_ = 3; customerIdentity_ = value; onChanged(); return this; } /** + * + * *
      * Required. Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearCloudIdentityId() { @@ -1163,20 +1254,22 @@ public Builder clearCloudIdentityId() { return this; } /** + * + * *
      * Required. Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for cloudIdentityId to set. * @return This builder for chaining. */ - public Builder setCloudIdentityIdBytes( - com.google.protobuf.ByteString value) { + public Builder setCloudIdentityIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); customerIdentityCase_ = 3; customerIdentity_ = value; onChanged(); @@ -1185,6 +1278,8 @@ public Builder setCloudIdentityIdBytes( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the reseller's account.
      * Parent takes the format: accounts/{account_id} or
@@ -1192,13 +1287,13 @@ public Builder setCloudIdentityIdBytes(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -1207,6 +1302,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the reseller's account.
      * Parent takes the format: accounts/{account_id} or
@@ -1214,15 +1311,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -1230,6 +1326,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the reseller's account.
      * Parent takes the format: accounts/{account_id} or
@@ -1237,20 +1335,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 reseller's account.
      * Parent takes the format: accounts/{account_id} or
@@ -1258,15 +1358,18 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the reseller's account.
      * Parent takes the format: accounts/{account_id} or
@@ -1274,16 +1377,16 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -1291,6 +1394,8 @@ public Builder setParentBytes( private java.lang.Object authToken_ = ""; /** + * + * *
      * Optional. The super admin of the resold customer generates this token to
      * authorize a reseller to access their Cloud Identity and purchase
@@ -1299,13 +1404,13 @@ public Builder setParentBytes(
      * 
* * string auth_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The authToken. */ public java.lang.String getAuthToken() { java.lang.Object ref = authToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authToken_ = s; return s; @@ -1314,6 +1419,8 @@ public java.lang.String getAuthToken() { } } /** + * + * *
      * Optional. The super admin of the resold customer generates this token to
      * authorize a reseller to access their Cloud Identity and purchase
@@ -1322,15 +1429,14 @@ public java.lang.String getAuthToken() {
      * 
* * string auth_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for authToken. */ - public com.google.protobuf.ByteString - getAuthTokenBytes() { + public com.google.protobuf.ByteString getAuthTokenBytes() { java.lang.Object ref = authToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); authToken_ = b; return b; } else { @@ -1338,6 +1444,8 @@ public java.lang.String getAuthToken() { } } /** + * + * *
      * Optional. The super admin of the resold customer generates this token to
      * authorize a reseller to access their Cloud Identity and purchase
@@ -1346,20 +1454,22 @@ public java.lang.String getAuthToken() {
      * 
* * string auth_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The authToken to set. * @return This builder for chaining. */ - public Builder setAuthToken( - java.lang.String value) { + public Builder setAuthToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + authToken_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The super admin of the resold customer generates this token to
      * authorize a reseller to access their Cloud Identity and purchase
@@ -1368,15 +1478,18 @@ public Builder setAuthToken(
      * 
* * string auth_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAuthToken() { - + authToken_ = getDefaultInstance().getAuthToken(); onChanged(); return this; } /** + * + * *
      * Optional. The super admin of the resold customer generates this token to
      * authorize a reseller to access their Cloud Identity and purchase
@@ -1385,23 +1498,25 @@ public Builder clearAuthToken() {
      * 
* * string auth_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for authToken to set. * @return This builder for chaining. */ - public Builder setAuthTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setAuthTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + authToken_ = value; onChanged(); return this; } - private boolean overwriteIfExists_ ; + private boolean overwriteIfExists_; /** + * + * *
      * Required. Choose to overwrite an existing customer if found.
      * This must be set to true if there is an existing customer with a
@@ -1409,6 +1524,7 @@ public Builder setAuthTokenBytes(
      * 
* * bool overwrite_if_exists = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The overwriteIfExists. */ @java.lang.Override @@ -1416,6 +1532,8 @@ public boolean getOverwriteIfExists() { return overwriteIfExists_; } /** + * + * *
      * Required. Choose to overwrite an existing customer if found.
      * This must be set to true if there is an existing customer with a
@@ -1423,16 +1541,19 @@ public boolean getOverwriteIfExists() {
      * 
* * bool overwrite_if_exists = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The overwriteIfExists to set. * @return This builder for chaining. */ public Builder setOverwriteIfExists(boolean value) { - + overwriteIfExists_ = value; onChanged(); return this; } /** + * + * *
      * Required. Choose to overwrite an existing customer if found.
      * This must be set to true if there is an existing customer with a
@@ -1440,10 +1561,11 @@ public Builder setOverwriteIfExists(boolean value) {
      * 
* * bool overwrite_if_exists = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearOverwriteIfExists() { - + overwriteIfExists_ = false; onChanged(); return this; @@ -1451,6 +1573,8 @@ public Builder clearOverwriteIfExists() { private java.lang.Object channelPartnerId_ = ""; /** + * + * *
      * Optional. Cloud Identity ID of a channel partner who will be the direct
      * reseller for the customer's order. This field is required for 2-tier
@@ -1459,13 +1583,13 @@ public Builder clearOverwriteIfExists() {
      * 
* * string channel_partner_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The channelPartnerId. */ public java.lang.String getChannelPartnerId() { java.lang.Object ref = channelPartnerId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); channelPartnerId_ = s; return s; @@ -1474,6 +1598,8 @@ public java.lang.String getChannelPartnerId() { } } /** + * + * *
      * Optional. Cloud Identity ID of a channel partner who will be the direct
      * reseller for the customer's order. This field is required for 2-tier
@@ -1482,15 +1608,14 @@ public java.lang.String getChannelPartnerId() {
      * 
* * string channel_partner_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for channelPartnerId. */ - public com.google.protobuf.ByteString - getChannelPartnerIdBytes() { + public com.google.protobuf.ByteString getChannelPartnerIdBytes() { java.lang.Object ref = channelPartnerId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); channelPartnerId_ = b; return b; } else { @@ -1498,6 +1623,8 @@ public java.lang.String getChannelPartnerId() { } } /** + * + * *
      * Optional. Cloud Identity ID of a channel partner who will be the direct
      * reseller for the customer's order. This field is required for 2-tier
@@ -1506,20 +1633,22 @@ public java.lang.String getChannelPartnerId() {
      * 
* * string channel_partner_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The channelPartnerId to set. * @return This builder for chaining. */ - public Builder setChannelPartnerId( - java.lang.String value) { + public Builder setChannelPartnerId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + channelPartnerId_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Cloud Identity ID of a channel partner who will be the direct
      * reseller for the customer's order. This field is required for 2-tier
@@ -1528,15 +1657,18 @@ public Builder setChannelPartnerId(
      * 
* * string channel_partner_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearChannelPartnerId() { - + channelPartnerId_ = getDefaultInstance().getChannelPartnerId(); onChanged(); return this; } /** + * + * *
      * Optional. Cloud Identity ID of a channel partner who will be the direct
      * reseller for the customer's order. This field is required for 2-tier
@@ -1545,16 +1677,16 @@ public Builder clearChannelPartnerId() {
      * 
* * string channel_partner_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for channelPartnerId to set. * @return This builder for chaining. */ - public Builder setChannelPartnerIdBytes( - com.google.protobuf.ByteString value) { + public Builder setChannelPartnerIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + channelPartnerId_ = value; onChanged(); return this; @@ -1562,20 +1694,24 @@ public Builder setChannelPartnerIdBytes( private java.lang.Object customer_ = ""; /** + * + * *
      * Optional. Specifies the customer that will receive imported Cloud Identity
      * information.
      * Format: accounts/{account_id}/customers/{customer_id}
      * 
* - * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The customer. */ public java.lang.String getCustomer() { java.lang.Object ref = customer_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customer_ = s; return s; @@ -1584,22 +1720,25 @@ public java.lang.String getCustomer() { } } /** + * + * *
      * Optional. Specifies the customer that will receive imported Cloud Identity
      * information.
      * Format: accounts/{account_id}/customers/{customer_id}
      * 
* - * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for customer. */ - public com.google.protobuf.ByteString - getCustomerBytes() { + public com.google.protobuf.ByteString getCustomerBytes() { java.lang.Object ref = customer_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customer_ = b; return b; } else { @@ -1607,67 +1746,80 @@ public java.lang.String getCustomer() { } } /** + * + * *
      * Optional. Specifies the customer that will receive imported Cloud Identity
      * information.
      * Format: accounts/{account_id}/customers/{customer_id}
      * 
* - * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param value The customer to set. * @return This builder for chaining. */ - public Builder setCustomer( - java.lang.String value) { + public Builder setCustomer(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + customer_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Specifies the customer that will receive imported Cloud Identity
      * information.
      * Format: accounts/{account_id}/customers/{customer_id}
      * 
* - * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearCustomer() { - + customer_ = getDefaultInstance().getCustomer(); onChanged(); return this; } /** + * + * *
      * Optional. Specifies the customer that will receive imported Cloud Identity
      * information.
      * Format: accounts/{account_id}/customers/{customer_id}
      * 
* - * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for customer to set. * @return This builder for chaining. */ - public Builder setCustomerBytes( - com.google.protobuf.ByteString value) { + public Builder setCustomerBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + customer_ = 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); } @@ -1677,12 +1829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ImportCustomerRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ImportCustomerRequest) private static final com.google.cloud.channel.v1.ImportCustomerRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ImportCustomerRequest(); } @@ -1691,27 +1843,27 @@ public static com.google.cloud.channel.v1.ImportCustomerRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportCustomerRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportCustomerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1726,6 +1878,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ImportCustomerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequestOrBuilder.java similarity index 76% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequestOrBuilder.java index 5587829069ac..d3062ca52792 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ImportCustomerRequestOrBuilder.java @@ -1,71 +1,105 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ImportCustomerRequestOrBuilder extends +public interface ImportCustomerRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ImportCustomerRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Customer domain.
    * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the domain field is set. */ boolean hasDomain(); /** + * + * *
    * Required. Customer domain.
    * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The domain. */ java.lang.String getDomain(); /** + * + * *
    * Required. Customer domain.
    * 
* * string domain = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for domain. */ - com.google.protobuf.ByteString - getDomainBytes(); + com.google.protobuf.ByteString getDomainBytes(); /** + * + * *
    * Required. Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the cloudIdentityId field is set. */ boolean hasCloudIdentityId(); /** + * + * *
    * Required. Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The cloudIdentityId. */ java.lang.String getCloudIdentityId(); /** + * + * *
    * Required. Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for cloudIdentityId. */ - com.google.protobuf.ByteString - getCloudIdentityIdBytes(); + com.google.protobuf.ByteString getCloudIdentityIdBytes(); /** + * + * *
    * Required. The resource name of the reseller's account.
    * Parent takes the format: accounts/{account_id} or
@@ -73,10 +107,13 @@ public interface ImportCustomerRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the reseller's account.
    * Parent takes the format: accounts/{account_id} or
@@ -84,12 +121,14 @@ public interface ImportCustomerRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. The super admin of the resold customer generates this token to
    * authorize a reseller to access their Cloud Identity and purchase
@@ -98,10 +137,13 @@ public interface ImportCustomerRequestOrBuilder extends
    * 
* * string auth_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The authToken. */ java.lang.String getAuthToken(); /** + * + * *
    * Optional. The super admin of the resold customer generates this token to
    * authorize a reseller to access their Cloud Identity and purchase
@@ -110,12 +152,14 @@ public interface ImportCustomerRequestOrBuilder extends
    * 
* * string auth_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for authToken. */ - com.google.protobuf.ByteString - getAuthTokenBytes(); + com.google.protobuf.ByteString getAuthTokenBytes(); /** + * + * *
    * Required. Choose to overwrite an existing customer if found.
    * This must be set to true if there is an existing customer with a
@@ -123,11 +167,14 @@ public interface ImportCustomerRequestOrBuilder extends
    * 
* * bool overwrite_if_exists = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The overwriteIfExists. */ boolean getOverwriteIfExists(); /** + * + * *
    * Optional. Cloud Identity ID of a channel partner who will be the direct
    * reseller for the customer's order. This field is required for 2-tier
@@ -136,10 +183,13 @@ public interface ImportCustomerRequestOrBuilder extends
    * 
* * string channel_partner_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The channelPartnerId. */ java.lang.String getChannelPartnerId(); /** + * + * *
    * Optional. Cloud Identity ID of a channel partner who will be the direct
    * reseller for the customer's order. This field is required for 2-tier
@@ -148,34 +198,44 @@ public interface ImportCustomerRequestOrBuilder extends
    * 
* * string channel_partner_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for channelPartnerId. */ - com.google.protobuf.ByteString - getChannelPartnerIdBytes(); + com.google.protobuf.ByteString getChannelPartnerIdBytes(); /** + * + * *
    * Optional. Specifies the customer that will receive imported Cloud Identity
    * information.
    * Format: accounts/{account_id}/customers/{customer_id}
    * 
* - * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The customer. */ java.lang.String getCustomer(); /** + * + * *
    * Optional. Specifies the customer that will receive imported Cloud Identity
    * information.
    * Format: accounts/{account_id}/customers/{customer_id}
    * 
* - * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for customer. */ - com.google.protobuf.ByteString - getCustomerBytes(); + com.google.protobuf.ByteString getCustomerBytes(); - public com.google.cloud.channel.v1.ImportCustomerRequest.CustomerIdentityCase getCustomerIdentityCase(); + public com.google.cloud.channel.v1.ImportCustomerRequest.CustomerIdentityCase + getCustomerIdentityCase(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequest.java similarity index 70% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequest.java index 20d3b24a408e..32aaa45746cb 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks]
@@ -11,15 +28,17 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.ListChannelPartnerLinksRequest}
  */
-public final class ListChannelPartnerLinksRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListChannelPartnerLinksRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListChannelPartnerLinksRequest)
     ListChannelPartnerLinksRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListChannelPartnerLinksRequest.newBuilder() to construct.
-  private ListChannelPartnerLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListChannelPartnerLinksRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListChannelPartnerLinksRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -28,38 +47,42 @@ private ListChannelPartnerLinksRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListChannelPartnerLinksRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.ListChannelPartnerLinksRequest.class, com.google.cloud.channel.v1.ListChannelPartnerLinksRequest.Builder.class);
+            com.google.cloud.channel.v1.ListChannelPartnerLinksRequest.class,
+            com.google.cloud.channel.v1.ListChannelPartnerLinksRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Required. The resource name of the reseller account for listing channel
    * partner links. Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -68,30 +91,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 reseller account for listing channel
    * partner links. Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -102,6 +125,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Optional. Requested page size. Server might return fewer results than
    * requested. If unspecified, server will pick a default size (25). The
@@ -109,6 +134,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -119,6 +145,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. A token for a page of results other than the first page.
    * Obtained using
@@ -129,6 +157,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -137,14 +166,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 token for a page of results other than the first page.
    * Obtained using
@@ -155,16 +185,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -175,31 +204,47 @@ public java.lang.String getPageToken() { public static final int VIEW_FIELD_NUMBER = 4; private int view_; /** + * + * *
    * Optional. The level of granularity the ChannelPartnerLink will display.
    * 
* - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * Optional. The level of granularity the ChannelPartnerLink will display.
    * 
* - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ - @java.lang.Override public com.google.cloud.channel.v1.ChannelPartnerLinkView getView() { + @java.lang.Override + public com.google.cloud.channel.v1.ChannelPartnerLinkView getView() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.ChannelPartnerLinkView result = com.google.cloud.channel.v1.ChannelPartnerLinkView.valueOf(view_); - return result == null ? com.google.cloud.channel.v1.ChannelPartnerLinkView.UNRECOGNIZED : result; + com.google.cloud.channel.v1.ChannelPartnerLinkView result = + com.google.cloud.channel.v1.ChannelPartnerLinkView.valueOf(view_); + return result == null + ? com.google.cloud.channel.v1.ChannelPartnerLinkView.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -211,8 +256,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -238,15 +282,13 @@ 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_); } if (view_ != com.google.cloud.channel.v1.ChannelPartnerLinkView.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, view_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -256,19 +298,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.cloud.channel.v1.ListChannelPartnerLinksRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListChannelPartnerLinksRequest other = (com.google.cloud.channel.v1.ListChannelPartnerLinksRequest) obj; + com.google.cloud.channel.v1.ListChannelPartnerLinksRequest other = + (com.google.cloud.channel.v1.ListChannelPartnerLinksRequest) 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 (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -295,96 +335,104 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListChannelPartnerLinksRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListChannelPartnerLinksRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListChannelPartnerLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListChannelPartnerLinksRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListChannelPartnerLinksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListChannelPartnerLinksRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListChannelPartnerLinksRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListChannelPartnerLinksRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListChannelPartnerLinksRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListChannelPartnerLinksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListChannelPartnerLinksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListChannelPartnerLinksRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ListChannelPartnerLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListChannelPartnerLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ListChannelPartnerLinksRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.ListChannelPartnerLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks]
@@ -392,33 +440,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.ListChannelPartnerLinksRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListChannelPartnerLinksRequest)
       com.google.cloud.channel.v1.ListChannelPartnerLinksRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.ListChannelPartnerLinksRequest.class, com.google.cloud.channel.v1.ListChannelPartnerLinksRequest.Builder.class);
+              com.google.cloud.channel.v1.ListChannelPartnerLinksRequest.class,
+              com.google.cloud.channel.v1.ListChannelPartnerLinksRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.ListChannelPartnerLinksRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -434,9 +481,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_descriptor;
     }
 
     @java.lang.Override
@@ -455,7 +502,8 @@ public com.google.cloud.channel.v1.ListChannelPartnerLinksRequest build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.ListChannelPartnerLinksRequest buildPartial() {
-      com.google.cloud.channel.v1.ListChannelPartnerLinksRequest result = new com.google.cloud.channel.v1.ListChannelPartnerLinksRequest(this);
+      com.google.cloud.channel.v1.ListChannelPartnerLinksRequest result =
+          new com.google.cloud.channel.v1.ListChannelPartnerLinksRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -468,38 +516,39 @@ public com.google.cloud.channel.v1.ListChannelPartnerLinksRequest 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.cloud.channel.v1.ListChannelPartnerLinksRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.ListChannelPartnerLinksRequest)other);
+        return mergeFrom((com.google.cloud.channel.v1.ListChannelPartnerLinksRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -507,7 +556,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.ListChannelPartnerLinksRequest other) {
-      if (other == com.google.cloud.channel.v1.ListChannelPartnerLinksRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.ListChannelPartnerLinksRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -548,32 +598,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 16: {
-              pageSize_ = input.readInt32();
+                break;
+              } // case 10
+            case 16:
+              {
+                pageSize_ = input.readInt32();
 
-              break;
-            } // case 16
-            case 26: {
-              pageToken_ = input.readStringRequireUtf8();
+                break;
+              } // case 16
+            case 26:
+              {
+                pageToken_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 32: {
-              view_ = input.readEnum();
+                break;
+              } // case 26
+            case 32:
+              {
+                view_ = input.readEnum();
 
-              break;
-            } // case 32
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 32
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -586,19 +641,21 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The resource name of the reseller account for listing channel
      * partner links. Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -607,21 +664,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the reseller account for listing channel
      * partner links. Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -629,64 +687,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the reseller account for listing channel
      * partner links. Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 reseller account for listing channel
      * partner links. Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the reseller account for listing channel
      * partner links. Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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_; /** + * + * *
      * Optional. Requested page size. Server might return fewer results than
      * requested. If unspecified, server will pick a default size (25). The
@@ -694,6 +761,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -701,6 +769,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Requested page size. Server might return fewer results than
      * requested. If unspecified, server will pick a default size (25). The
@@ -708,16 +778,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.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. Requested page size. Server might return fewer results than
      * requested. If unspecified, server will pick a default size (25). The
@@ -725,10 +798,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -736,6 +810,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. A token for a page of results other than the first page.
      * Obtained using
@@ -746,13 +822,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -761,6 +837,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A token for a page of results other than the first page.
      * Obtained using
@@ -771,15 +849,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -787,6 +864,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A token for a page of results other than the first page.
      * Obtained using
@@ -797,20 +876,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Optional. A token for a page of results other than the first page.
      * Obtained using
@@ -821,15 +902,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. A token for a page of results other than the first page.
      * Obtained using
@@ -840,16 +924,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + 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; @@ -857,51 +941,75 @@ public Builder setPageTokenBytes( private int view_ = 0; /** + * + * *
      * Optional. The level of granularity the ChannelPartnerLink will display.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * Optional. The level of granularity the ChannelPartnerLink will display.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The level of granularity the ChannelPartnerLink will display.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ @java.lang.Override public com.google.cloud.channel.v1.ChannelPartnerLinkView getView() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.ChannelPartnerLinkView result = com.google.cloud.channel.v1.ChannelPartnerLinkView.valueOf(view_); - return result == null ? com.google.cloud.channel.v1.ChannelPartnerLinkView.UNRECOGNIZED : result; + com.google.cloud.channel.v1.ChannelPartnerLinkView result = + com.google.cloud.channel.v1.ChannelPartnerLinkView.valueOf(view_); + return result == null + ? com.google.cloud.channel.v1.ChannelPartnerLinkView.UNRECOGNIZED + : result; } /** + * + * *
      * Optional. The level of granularity the ChannelPartnerLink will display.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The view to set. * @return This builder for chaining. */ @@ -909,28 +1017,33 @@ public Builder setView(com.google.cloud.channel.v1.ChannelPartnerLinkView value) if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Optional. The level of granularity the ChannelPartnerLink will display.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 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); } @@ -940,12 +1053,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListChannelPartnerLinksRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListChannelPartnerLinksRequest) private static final com.google.cloud.channel.v1.ListChannelPartnerLinksRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListChannelPartnerLinksRequest(); } @@ -954,27 +1067,27 @@ public static com.google.cloud.channel.v1.ListChannelPartnerLinksRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListChannelPartnerLinksRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListChannelPartnerLinksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -989,6 +1102,4 @@ public com.google.protobuf.Parser getParserForTy public com.google.cloud.channel.v1.ListChannelPartnerLinksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequestOrBuilder.java index 3faf34a8abbb..bb04bb538c3d 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksRequestOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListChannelPartnerLinksRequestOrBuilder extends +public interface ListChannelPartnerLinksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListChannelPartnerLinksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the reseller account for listing channel
    * partner links. Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the reseller account for listing channel
    * partner links. Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. Requested page size. Server might return fewer results than
    * requested. If unspecified, server will pick a default size (25). The
@@ -37,11 +60,14 @@ public interface ListChannelPartnerLinksRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. A token for a page of results other than the first page.
    * Obtained using
@@ -52,10 +78,13 @@ public interface ListChannelPartnerLinksRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. A token for a page of results other than the first page.
    * Obtained using
@@ -66,26 +95,36 @@ public interface ListChannelPartnerLinksRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. The level of granularity the ChannelPartnerLink will display.
    * 
* - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * Optional. The level of granularity the ChannelPartnerLink will display.
    * 
* - * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.ChannelPartnerLinkView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ com.google.cloud.channel.v1.ChannelPartnerLinkView getView(); diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponse.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponse.java similarity index 73% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponse.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponse.java index db366e61f1a3..31b4ae509133 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponse.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponse.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Response message for
  * [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks].
@@ -11,15 +28,17 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.ListChannelPartnerLinksResponse}
  */
-public final class ListChannelPartnerLinksResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListChannelPartnerLinksResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListChannelPartnerLinksResponse)
     ListChannelPartnerLinksResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListChannelPartnerLinksResponse.newBuilder() to construct.
-  private ListChannelPartnerLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListChannelPartnerLinksResponse(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListChannelPartnerLinksResponse() {
     channelPartnerLinks_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,32 +46,35 @@ private ListChannelPartnerLinksResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListChannelPartnerLinksResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.ListChannelPartnerLinksResponse.class, com.google.cloud.channel.v1.ListChannelPartnerLinksResponse.Builder.class);
+            com.google.cloud.channel.v1.ListChannelPartnerLinksResponse.class,
+            com.google.cloud.channel.v1.ListChannelPartnerLinksResponse.Builder.class);
   }
 
   public static final int CHANNEL_PARTNER_LINKS_FIELD_NUMBER = 1;
   private java.util.List channelPartnerLinks_;
   /**
+   *
+   *
    * 
    * The Channel partner links for a reseller.
    * 
@@ -60,10 +82,13 @@ protected java.lang.Object newInstance( * repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1; */ @java.lang.Override - public java.util.List getChannelPartnerLinksList() { + public java.util.List + getChannelPartnerLinksList() { return channelPartnerLinks_; } /** + * + * *
    * The Channel partner links for a reseller.
    * 
@@ -71,11 +96,13 @@ public java.util.List getChannel * repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1; */ @java.lang.Override - public java.util.List + public java.util.List getChannelPartnerLinksOrBuilderList() { return channelPartnerLinks_; } /** + * + * *
    * The Channel partner links for a reseller.
    * 
@@ -87,6 +114,8 @@ public int getChannelPartnerLinksCount() { return channelPartnerLinks_.size(); } /** + * + * *
    * The Channel partner links for a reseller.
    * 
@@ -98,6 +127,8 @@ public com.google.cloud.channel.v1.ChannelPartnerLink getChannelPartnerLinks(int return channelPartnerLinks_.get(index); } /** + * + * *
    * The Channel partner links for a reseller.
    * 
@@ -113,6 +144,8 @@ public com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartner public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token to retrieve the next page of results.
    * Pass to
@@ -121,6 +154,7 @@ public com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartner
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -129,14 +163,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 to retrieve the next page of results.
    * Pass to
@@ -145,16 +180,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 { @@ -163,6 +197,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +209,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < channelPartnerLinks_.size(); i++) { output.writeMessage(1, channelPartnerLinks_.get(i)); } @@ -192,8 +226,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < channelPartnerLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, channelPartnerLinks_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, channelPartnerLinks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -206,17 +240,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.ListChannelPartnerLinksResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListChannelPartnerLinksResponse other = (com.google.cloud.channel.v1.ListChannelPartnerLinksResponse) obj; + com.google.cloud.channel.v1.ListChannelPartnerLinksResponse other = + (com.google.cloud.channel.v1.ListChannelPartnerLinksResponse) obj; - if (!getChannelPartnerLinksList() - .equals(other.getChannelPartnerLinksList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getChannelPartnerLinksList().equals(other.getChannelPartnerLinksList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -240,96 +273,104 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListChannelPartnerLinksResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListChannelPartnerLinksResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListChannelPartnerLinksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListChannelPartnerLinksResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListChannelPartnerLinksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListChannelPartnerLinksResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListChannelPartnerLinksResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListChannelPartnerLinksResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListChannelPartnerLinksResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListChannelPartnerLinksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListChannelPartnerLinksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListChannelPartnerLinksResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ListChannelPartnerLinksResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListChannelPartnerLinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ListChannelPartnerLinksResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.ListChannelPartnerLinksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks].
@@ -337,33 +378,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.ListChannelPartnerLinksResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListChannelPartnerLinksResponse)
       com.google.cloud.channel.v1.ListChannelPartnerLinksResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.ListChannelPartnerLinksResponse.class, com.google.cloud.channel.v1.ListChannelPartnerLinksResponse.Builder.class);
+              com.google.cloud.channel.v1.ListChannelPartnerLinksResponse.class,
+              com.google.cloud.channel.v1.ListChannelPartnerLinksResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.ListChannelPartnerLinksResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -380,9 +420,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_descriptor;
     }
 
     @java.lang.Override
@@ -401,7 +441,8 @@ public com.google.cloud.channel.v1.ListChannelPartnerLinksResponse build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.ListChannelPartnerLinksResponse buildPartial() {
-      com.google.cloud.channel.v1.ListChannelPartnerLinksResponse result = new com.google.cloud.channel.v1.ListChannelPartnerLinksResponse(this);
+      com.google.cloud.channel.v1.ListChannelPartnerLinksResponse result =
+          new com.google.cloud.channel.v1.ListChannelPartnerLinksResponse(this);
       int from_bitField0_ = bitField0_;
       if (channelPartnerLinksBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -421,38 +462,39 @@ public com.google.cloud.channel.v1.ListChannelPartnerLinksResponse 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.cloud.channel.v1.ListChannelPartnerLinksResponse) {
-        return mergeFrom((com.google.cloud.channel.v1.ListChannelPartnerLinksResponse)other);
+        return mergeFrom((com.google.cloud.channel.v1.ListChannelPartnerLinksResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -460,7 +502,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.ListChannelPartnerLinksResponse other) {
-      if (other == com.google.cloud.channel.v1.ListChannelPartnerLinksResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.ListChannelPartnerLinksResponse.getDefaultInstance())
+        return this;
       if (channelPartnerLinksBuilder_ == null) {
         if (!other.channelPartnerLinks_.isEmpty()) {
           if (channelPartnerLinks_.isEmpty()) {
@@ -479,9 +522,10 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ListChannelPartnerLinksResp
             channelPartnerLinksBuilder_ = null;
             channelPartnerLinks_ = other.channelPartnerLinks_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            channelPartnerLinksBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getChannelPartnerLinksFieldBuilder() : null;
+            channelPartnerLinksBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getChannelPartnerLinksFieldBuilder()
+                    : null;
           } else {
             channelPartnerLinksBuilder_.addAllMessages(other.channelPartnerLinks_);
           }
@@ -517,30 +561,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.channel.v1.ChannelPartnerLink m =
-                  input.readMessage(
-                      com.google.cloud.channel.v1.ChannelPartnerLink.parser(),
-                      extensionRegistry);
-              if (channelPartnerLinksBuilder_ == null) {
-                ensureChannelPartnerLinksIsMutable();
-                channelPartnerLinks_.add(m);
-              } else {
-                channelPartnerLinksBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            case 18: {
-              nextPageToken_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                com.google.cloud.channel.v1.ChannelPartnerLink m =
+                    input.readMessage(
+                        com.google.cloud.channel.v1.ChannelPartnerLink.parser(), extensionRegistry);
+                if (channelPartnerLinksBuilder_ == null) {
+                  ensureChannelPartnerLinksIsMutable();
+                  channelPartnerLinks_.add(m);
+                } else {
+                  channelPartnerLinksBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -550,28 +596,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List channelPartnerLinks_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureChannelPartnerLinksIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        channelPartnerLinks_ = new java.util.ArrayList(channelPartnerLinks_);
+        channelPartnerLinks_ =
+            new java.util.ArrayList(
+                channelPartnerLinks_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.channel.v1.ChannelPartnerLink, com.google.cloud.channel.v1.ChannelPartnerLink.Builder, com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder> channelPartnerLinksBuilder_;
+            com.google.cloud.channel.v1.ChannelPartnerLink,
+            com.google.cloud.channel.v1.ChannelPartnerLink.Builder,
+            com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder>
+        channelPartnerLinksBuilder_;
 
     /**
+     *
+     *
      * 
      * The Channel partner links for a reseller.
      * 
* * repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1; */ - public java.util.List getChannelPartnerLinksList() { + public java.util.List + getChannelPartnerLinksList() { if (channelPartnerLinksBuilder_ == null) { return java.util.Collections.unmodifiableList(channelPartnerLinks_); } else { @@ -579,6 +635,8 @@ public java.util.List getChannel } } /** + * + * *
      * The Channel partner links for a reseller.
      * 
@@ -593,6 +651,8 @@ public int getChannelPartnerLinksCount() { } } /** + * + * *
      * The Channel partner links for a reseller.
      * 
@@ -607,6 +667,8 @@ public com.google.cloud.channel.v1.ChannelPartnerLink getChannelPartnerLinks(int } } /** + * + * *
      * The Channel partner links for a reseller.
      * 
@@ -628,6 +690,8 @@ public Builder setChannelPartnerLinks( return this; } /** + * + * *
      * The Channel partner links for a reseller.
      * 
@@ -646,6 +710,8 @@ public Builder setChannelPartnerLinks( return this; } /** + * + * *
      * The Channel partner links for a reseller.
      * 
@@ -666,6 +732,8 @@ public Builder addChannelPartnerLinks(com.google.cloud.channel.v1.ChannelPartner return this; } /** + * + * *
      * The Channel partner links for a reseller.
      * 
@@ -687,6 +755,8 @@ public Builder addChannelPartnerLinks( return this; } /** + * + * *
      * The Channel partner links for a reseller.
      * 
@@ -705,6 +775,8 @@ public Builder addChannelPartnerLinks( return this; } /** + * + * *
      * The Channel partner links for a reseller.
      * 
@@ -723,6 +795,8 @@ public Builder addChannelPartnerLinks( return this; } /** + * + * *
      * The Channel partner links for a reseller.
      * 
@@ -733,8 +807,7 @@ public Builder addAllChannelPartnerLinks( java.lang.Iterable values) { if (channelPartnerLinksBuilder_ == null) { ensureChannelPartnerLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, channelPartnerLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, channelPartnerLinks_); onChanged(); } else { channelPartnerLinksBuilder_.addAllMessages(values); @@ -742,6 +815,8 @@ public Builder addAllChannelPartnerLinks( return this; } /** + * + * *
      * The Channel partner links for a reseller.
      * 
@@ -759,6 +834,8 @@ public Builder clearChannelPartnerLinks() { return this; } /** + * + * *
      * The Channel partner links for a reseller.
      * 
@@ -776,6 +853,8 @@ public Builder removeChannelPartnerLinks(int index) { return this; } /** + * + * *
      * The Channel partner links for a reseller.
      * 
@@ -787,6 +866,8 @@ public com.google.cloud.channel.v1.ChannelPartnerLink.Builder getChannelPartnerL return getChannelPartnerLinksFieldBuilder().getBuilder(index); } /** + * + * *
      * The Channel partner links for a reseller.
      * 
@@ -796,19 +877,22 @@ public com.google.cloud.channel.v1.ChannelPartnerLink.Builder getChannelPartnerL public com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartnerLinksOrBuilder( int index) { if (channelPartnerLinksBuilder_ == null) { - return channelPartnerLinks_.get(index); } else { + return channelPartnerLinks_.get(index); + } else { return channelPartnerLinksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The Channel partner links for a reseller.
      * 
* * repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1; */ - public java.util.List - getChannelPartnerLinksOrBuilderList() { + public java.util.List + getChannelPartnerLinksOrBuilderList() { if (channelPartnerLinksBuilder_ != null) { return channelPartnerLinksBuilder_.getMessageOrBuilderList(); } else { @@ -816,6 +900,8 @@ public com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartner } } /** + * + * *
      * The Channel partner links for a reseller.
      * 
@@ -823,10 +909,12 @@ public com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartner * repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1; */ public com.google.cloud.channel.v1.ChannelPartnerLink.Builder addChannelPartnerLinksBuilder() { - return getChannelPartnerLinksFieldBuilder().addBuilder( - com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance()); + return getChannelPartnerLinksFieldBuilder() + .addBuilder(com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance()); } /** + * + * *
      * The Channel partner links for a reseller.
      * 
@@ -835,26 +923,34 @@ public com.google.cloud.channel.v1.ChannelPartnerLink.Builder addChannelPartnerL */ public com.google.cloud.channel.v1.ChannelPartnerLink.Builder addChannelPartnerLinksBuilder( int index) { - return getChannelPartnerLinksFieldBuilder().addBuilder( - index, com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance()); + return getChannelPartnerLinksFieldBuilder() + .addBuilder(index, com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance()); } /** + * + * *
      * The Channel partner links for a reseller.
      * 
* * repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1; */ - public java.util.List - getChannelPartnerLinksBuilderList() { + public java.util.List + getChannelPartnerLinksBuilderList() { return getChannelPartnerLinksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.ChannelPartnerLink, com.google.cloud.channel.v1.ChannelPartnerLink.Builder, com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder> + com.google.cloud.channel.v1.ChannelPartnerLink, + com.google.cloud.channel.v1.ChannelPartnerLink.Builder, + com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder> getChannelPartnerLinksFieldBuilder() { if (channelPartnerLinksBuilder_ == null) { - channelPartnerLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.ChannelPartnerLink, com.google.cloud.channel.v1.ChannelPartnerLink.Builder, com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder>( + channelPartnerLinksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.ChannelPartnerLink, + com.google.cloud.channel.v1.ChannelPartnerLink.Builder, + com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder>( channelPartnerLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -866,6 +962,8 @@ public com.google.cloud.channel.v1.ChannelPartnerLink.Builder addChannelPartnerL private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve the next page of results.
      * Pass to
@@ -874,13 +972,13 @@ public com.google.cloud.channel.v1.ChannelPartnerLink.Builder addChannelPartnerL
      * 
* * 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; @@ -889,6 +987,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * Pass to
@@ -897,15 +997,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 { @@ -913,6 +1012,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * Pass to
@@ -921,20 +1022,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 to retrieve the next page of results.
      * Pass to
@@ -943,15 +1046,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 to retrieve the next page of results.
      * Pass to
@@ -960,23 +1066,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); } @@ -986,12 +1092,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListChannelPartnerLinksResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListChannelPartnerLinksResponse) private static final com.google.cloud.channel.v1.ListChannelPartnerLinksResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListChannelPartnerLinksResponse(); } @@ -1000,27 +1106,27 @@ public static com.google.cloud.channel.v1.ListChannelPartnerLinksResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListChannelPartnerLinksResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListChannelPartnerLinksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1035,6 +1141,4 @@ public com.google.protobuf.Parser getParserForT public com.google.cloud.channel.v1.ListChannelPartnerLinksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponseOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponseOrBuilder.java similarity index 73% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponseOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponseOrBuilder.java index 281aa5646a20..85d4db002000 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponseOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerLinksResponseOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListChannelPartnerLinksResponseOrBuilder extends +public interface ListChannelPartnerLinksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListChannelPartnerLinksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Channel partner links for a reseller.
    * 
* * repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1; */ - java.util.List - getChannelPartnerLinksList(); + java.util.List getChannelPartnerLinksList(); /** + * + * *
    * The Channel partner links for a reseller.
    * 
@@ -25,6 +44,8 @@ public interface ListChannelPartnerLinksResponseOrBuilder extends */ com.google.cloud.channel.v1.ChannelPartnerLink getChannelPartnerLinks(int index); /** + * + * *
    * The Channel partner links for a reseller.
    * 
@@ -33,15 +54,19 @@ public interface ListChannelPartnerLinksResponseOrBuilder extends */ int getChannelPartnerLinksCount(); /** + * + * *
    * The Channel partner links for a reseller.
    * 
* * repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1; */ - java.util.List + java.util.List getChannelPartnerLinksOrBuilderList(); /** + * + * *
    * The Channel partner links for a reseller.
    * 
@@ -52,6 +77,8 @@ com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartnerLinksOr int index); /** + * + * *
    * A token to retrieve the next page of results.
    * Pass to
@@ -60,10 +87,13 @@ com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartnerLinksOr
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve the next page of results.
    * Pass to
@@ -72,8 +102,8 @@ com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartnerLinksOr
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequest.java similarity index 71% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequest.java index 39d899abf33c..ba179d63df5d 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs].
@@ -11,15 +28,18 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest}
  */
-public final class ListChannelPartnerRepricingConfigsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListChannelPartnerRepricingConfigsRequest
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest)
     ListChannelPartnerRepricingConfigsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListChannelPartnerRepricingConfigsRequest.newBuilder() to construct.
-  private ListChannelPartnerRepricingConfigsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListChannelPartnerRepricingConfigsRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListChannelPartnerRepricingConfigsRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -28,32 +48,35 @@ private ListChannelPartnerRepricingConfigsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListChannelPartnerRepricingConfigsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.class, com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.Builder.class);
+            com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.class,
+            com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Required. The resource name of the account's
    * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]. Parent
@@ -63,7 +86,10 @@ protected java.lang.Object newInstance(
    * for all channel partners.
    * 
* - * string parent = 1 [(.google.api.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 @@ -72,14 +98,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 account's
    * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]. Parent
@@ -89,17 +116,18 @@ public java.lang.String getParent() {
    * for all channel partners.
    * 
* - * string parent = 1 [(.google.api.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 { @@ -110,6 +138,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Optional. The maximum number of repricing configs to return. The service
    * may return fewer than this value. If unspecified, returns a maximum of 50
@@ -117,6 +147,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -127,6 +158,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. A token identifying a page of results beyond the first page.
    * Obtained through
@@ -137,6 +170,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -145,14 +179,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 token identifying a page of results beyond the first page.
    * Obtained through
@@ -163,16 +198,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -183,6 +217,8 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * Optional. A filter for
    * [CloudChannelService.ListChannelPartnerRepricingConfigs] results
@@ -195,6 +231,7 @@ public java.lang.String getPageToken() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -203,14 +240,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; } } /** + * + * *
    * Optional. A filter for
    * [CloudChannelService.ListChannelPartnerRepricingConfigs] results
@@ -223,16 +261,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -241,6 +278,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -252,8 +290,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -279,8 +316,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_); @@ -296,21 +332,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.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest other = (com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest other = + (com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -336,96 +369,105 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs].
@@ -433,33 +475,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest)
       com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.class, com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.Builder.class);
+              com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.class,
+              com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.Builder.class);
     }
 
-    // Construct using com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.newBuilder()
-    private Builder() {
+    // Construct using
+    // com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.newBuilder()
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -475,14 +517,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest getDefaultInstanceForType() {
-      return com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.getDefaultInstance();
+    public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest
+        getDefaultInstanceForType() {
+      return com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -496,7 +540,8 @@ public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest bui
 
     @java.lang.Override
     public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest buildPartial() {
-      com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest result = new com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest(this);
+      com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest result =
+          new com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -509,46 +554,51 @@ public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest 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.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest)other);
+        return mergeFrom(
+            (com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest other) {
-      if (other == com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest other) {
+      if (other
+          == com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest
+              .getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -590,32 +640,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 16: {
-              pageSize_ = input.readInt32();
+                break;
+              } // case 10
+            case 16:
+              {
+                pageSize_ = input.readInt32();
 
-              break;
-            } // case 16
-            case 26: {
-              pageToken_ = input.readStringRequireUtf8();
+                break;
+              } // case 16
+            case 26:
+              {
+                pageToken_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 34: {
-              filter_ = input.readStringRequireUtf8();
+                break;
+              } // case 26
+            case 34:
+              {
+                filter_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -628,6 +683,8 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The resource name of the account's
      * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]. Parent
@@ -637,14 +694,16 @@ public Builder mergeFrom(
      * for all channel partners.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -653,6 +712,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the account's
      * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]. Parent
@@ -662,16 +723,17 @@ public java.lang.String getParent() {
      * for all channel partners.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -679,6 +741,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the account's
      * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]. Parent
@@ -688,21 +752,25 @@ public java.lang.String getParent() {
      * for all channel partners.
      * 
* - * string parent = 1 [(.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 account's
      * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]. Parent
@@ -712,16 +780,21 @@ public Builder setParent(
      * for all channel partners.
      * 
* - * string 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 account's
      * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]. Parent
@@ -731,24 +804,28 @@ public Builder clearParent() {
      * for all channel partners.
      * 
* - * string parent = 1 [(.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_; /** + * + * *
      * Optional. The maximum number of repricing configs to return. The service
      * may return fewer than this value. If unspecified, returns a maximum of 50
@@ -756,6 +833,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -763,6 +841,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. The maximum number of repricing configs to return. The service
      * may return fewer than this value. If unspecified, returns a maximum of 50
@@ -770,16 +850,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.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 repricing configs to return. The service
      * may return fewer than this value. If unspecified, returns a maximum of 50
@@ -787,10 +870,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -798,6 +882,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. A token identifying a page of results beyond the first page.
      * Obtained through
@@ -808,13 +894,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -823,6 +909,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A token identifying a page of results beyond the first page.
      * Obtained through
@@ -833,15 +921,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -849,6 +936,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A token identifying a page of results beyond the first page.
      * Obtained through
@@ -859,20 +948,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Optional. A token identifying a page of results beyond the first page.
      * Obtained through
@@ -883,15 +974,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. A token identifying a page of results beyond the first page.
      * Obtained through
@@ -902,16 +996,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + 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; @@ -919,6 +1013,8 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. A filter for
      * [CloudChannelService.ListChannelPartnerRepricingConfigs] results
@@ -931,13 +1027,13 @@ public Builder setPageTokenBytes(
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -946,6 +1042,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. A filter for
      * [CloudChannelService.ListChannelPartnerRepricingConfigs] results
@@ -958,15 +1056,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -974,6 +1071,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. A filter for
      * [CloudChannelService.ListChannelPartnerRepricingConfigs] results
@@ -986,20 +1085,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; } /** + * + * *
      * Optional. A filter for
      * [CloudChannelService.ListChannelPartnerRepricingConfigs] results
@@ -1012,15 +1113,18 @@ public Builder setFilter(
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Optional. A filter for
      * [CloudChannelService.ListChannelPartnerRepricingConfigs] results
@@ -1033,23 +1137,23 @@ public Builder clearFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1059,41 +1163,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest) - private static final com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest(); } - public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest getDefaultInstance() { + public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListChannelPartnerRepricingConfigsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListChannelPartnerRepricingConfigsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1105,9 +1213,8 @@ public com.google.protobuf.Parser get } @java.lang.Override - public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest getDefaultInstanceForType() { + public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequestOrBuilder.java index a121095b1c64..1901d9bf389d 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsRequestOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListChannelPartnerRepricingConfigsRequestOrBuilder extends +public interface ListChannelPartnerRepricingConfigsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the account's
    * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]. Parent
@@ -17,11 +35,16 @@ public interface ListChannelPartnerRepricingConfigsRequestOrBuilder extends
    * for all channel partners.
    * 
* - * string parent = 1 [(.google.api.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 account's
    * [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]. Parent
@@ -31,13 +54,17 @@ public interface ListChannelPartnerRepricingConfigsRequestOrBuilder extends
    * for all channel partners.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. The maximum number of repricing configs to return. The service
    * may return fewer than this value. If unspecified, returns a maximum of 50
@@ -45,11 +72,14 @@ public interface ListChannelPartnerRepricingConfigsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. A token identifying a page of results beyond the first page.
    * Obtained through
@@ -60,10 +90,13 @@ public interface ListChannelPartnerRepricingConfigsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. A token identifying a page of results beyond the first page.
    * Obtained through
@@ -74,12 +107,14 @@ public interface ListChannelPartnerRepricingConfigsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. A filter for
    * [CloudChannelService.ListChannelPartnerRepricingConfigs] results
@@ -92,10 +127,13 @@ public interface ListChannelPartnerRepricingConfigsRequestOrBuilder extends
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. A filter for
    * [CloudChannelService.ListChannelPartnerRepricingConfigs] results
@@ -108,8 +146,8 @@ public interface ListChannelPartnerRepricingConfigsRequestOrBuilder extends
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponse.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponse.java similarity index 62% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponse.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponse.java index a4f2391aba2f..8fcb66929b8a 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponse.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponse.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Response message for
  * [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs].
@@ -11,15 +28,18 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse}
  */
-public final class ListChannelPartnerRepricingConfigsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListChannelPartnerRepricingConfigsResponse
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse)
     ListChannelPartnerRepricingConfigsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListChannelPartnerRepricingConfigsResponse.newBuilder() to construct.
-  private ListChannelPartnerRepricingConfigsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListChannelPartnerRepricingConfigsResponse(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListChannelPartnerRepricingConfigsResponse() {
     channelPartnerRepricingConfigs_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,92 +47,119 @@ private ListChannelPartnerRepricingConfigsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListChannelPartnerRepricingConfigsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.class, com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.Builder.class);
+            com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.class,
+            com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.Builder.class);
   }
 
   public static final int CHANNEL_PARTNER_REPRICING_CONFIGS_FIELD_NUMBER = 1;
-  private java.util.List channelPartnerRepricingConfigs_;
+  private java.util.List
+      channelPartnerRepricingConfigs_;
   /**
+   *
+   *
    * 
    * The repricing configs for this channel partner.
    * 
* - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * */ @java.lang.Override - public java.util.List getChannelPartnerRepricingConfigsList() { + public java.util.List + getChannelPartnerRepricingConfigsList() { return channelPartnerRepricingConfigs_; } /** + * + * *
    * The repricing configs for this channel partner.
    * 
* - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder> getChannelPartnerRepricingConfigsOrBuilderList() { return channelPartnerRepricingConfigs_; } /** + * + * *
    * The repricing configs for this channel partner.
    * 
* - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * */ @java.lang.Override public int getChannelPartnerRepricingConfigsCount() { return channelPartnerRepricingConfigs_.size(); } /** + * + * *
    * The repricing configs for this channel partner.
    * 
* - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * */ @java.lang.Override - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getChannelPartnerRepricingConfigs(int index) { + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig + getChannelPartnerRepricingConfigs(int index) { return channelPartnerRepricingConfigs_.get(index); } /** + * + * *
    * The repricing configs for this channel partner.
    * 
* - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * */ @java.lang.Override - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder getChannelPartnerRepricingConfigsOrBuilder( - int index) { + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder + getChannelPartnerRepricingConfigsOrBuilder(int index) { return channelPartnerRepricingConfigs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token to retrieve the next page of results.
    * Pass to
@@ -121,6 +168,7 @@ public com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder getCha
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -129,14 +177,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 to retrieve the next page of results.
    * Pass to
@@ -145,16 +194,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 { @@ -163,6 +211,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +223,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < channelPartnerRepricingConfigs_.size(); i++) { output.writeMessage(1, channelPartnerRepricingConfigs_.get(i)); } @@ -192,8 +240,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < channelPartnerRepricingConfigs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, channelPartnerRepricingConfigs_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, channelPartnerRepricingConfigs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -206,17 +255,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse other = (com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse) obj; + com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse other = + (com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse) obj; if (!getChannelPartnerRepricingConfigsList() .equals(other.getChannelPartnerRepricingConfigsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -240,96 +289,105 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs].
@@ -337,33 +395,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse)
       com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.class, com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.Builder.class);
+              com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.class,
+              com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.Builder.class);
     }
 
-    // Construct using com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.newBuilder()
-    private Builder() {
-
-    }
+    // Construct using
+    // com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.newBuilder()
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -380,19 +438,22 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse getDefaultInstanceForType() {
-      return com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.getDefaultInstance();
+    public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse
+        getDefaultInstanceForType() {
+      return com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse
+          .getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse build() {
-      com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse result = buildPartial();
+      com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse result =
+          buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -401,11 +462,13 @@ public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse bu
 
     @java.lang.Override
     public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse buildPartial() {
-      com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse result = new com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse(this);
+      com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse result =
+          new com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse(this);
       int from_bitField0_ = bitField0_;
       if (channelPartnerRepricingConfigsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
-          channelPartnerRepricingConfigs_ = java.util.Collections.unmodifiableList(channelPartnerRepricingConfigs_);
+          channelPartnerRepricingConfigs_ =
+              java.util.Collections.unmodifiableList(channelPartnerRepricingConfigs_);
           bitField0_ = (bitField0_ & ~0x00000001);
         }
         result.channelPartnerRepricingConfigs_ = channelPartnerRepricingConfigs_;
@@ -421,46 +484,51 @@ public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse 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.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse) {
-        return mergeFrom((com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse)other);
+        return mergeFrom(
+            (com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse other) {
-      if (other == com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse other) {
+      if (other
+          == com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse
+              .getDefaultInstance()) return this;
       if (channelPartnerRepricingConfigsBuilder_ == null) {
         if (!other.channelPartnerRepricingConfigs_.isEmpty()) {
           if (channelPartnerRepricingConfigs_.isEmpty()) {
@@ -479,11 +547,13 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ListChannelPartnerRepricing
             channelPartnerRepricingConfigsBuilder_ = null;
             channelPartnerRepricingConfigs_ = other.channelPartnerRepricingConfigs_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            channelPartnerRepricingConfigsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getChannelPartnerRepricingConfigsFieldBuilder() : null;
+            channelPartnerRepricingConfigsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getChannelPartnerRepricingConfigsFieldBuilder()
+                    : null;
           } else {
-            channelPartnerRepricingConfigsBuilder_.addAllMessages(other.channelPartnerRepricingConfigs_);
+            channelPartnerRepricingConfigsBuilder_.addAllMessages(
+                other.channelPartnerRepricingConfigs_);
           }
         }
       }
@@ -517,30 +587,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.channel.v1.ChannelPartnerRepricingConfig m =
-                  input.readMessage(
-                      com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.parser(),
-                      extensionRegistry);
-              if (channelPartnerRepricingConfigsBuilder_ == null) {
-                ensureChannelPartnerRepricingConfigsIsMutable();
-                channelPartnerRepricingConfigs_.add(m);
-              } else {
-                channelPartnerRepricingConfigsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            case 18: {
-              nextPageToken_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                com.google.cloud.channel.v1.ChannelPartnerRepricingConfig m =
+                    input.readMessage(
+                        com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.parser(),
+                        extensionRegistry);
+                if (channelPartnerRepricingConfigsBuilder_ == null) {
+                  ensureChannelPartnerRepricingConfigsIsMutable();
+                  channelPartnerRepricingConfigs_.add(m);
+                } else {
+                  channelPartnerRepricingConfigsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -550,28 +623,40 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List channelPartnerRepricingConfigs_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        channelPartnerRepricingConfigs_ = java.util.Collections.emptyList();
+
     private void ensureChannelPartnerRepricingConfigsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        channelPartnerRepricingConfigs_ = new java.util.ArrayList(channelPartnerRepricingConfigs_);
+        channelPartnerRepricingConfigs_ =
+            new java.util.ArrayList(
+                channelPartnerRepricingConfigs_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.channel.v1.ChannelPartnerRepricingConfig, com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder, com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder> channelPartnerRepricingConfigsBuilder_;
+            com.google.cloud.channel.v1.ChannelPartnerRepricingConfig,
+            com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder,
+            com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder>
+        channelPartnerRepricingConfigsBuilder_;
 
     /**
+     *
+     *
      * 
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * */ - public java.util.List getChannelPartnerRepricingConfigsList() { + public java.util.List + getChannelPartnerRepricingConfigsList() { if (channelPartnerRepricingConfigsBuilder_ == null) { return java.util.Collections.unmodifiableList(channelPartnerRepricingConfigs_); } else { @@ -579,11 +664,15 @@ public java.util.List } } /** + * + * *
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * */ public int getChannelPartnerRepricingConfigsCount() { if (channelPartnerRepricingConfigsBuilder_ == null) { @@ -593,13 +682,18 @@ public int getChannelPartnerRepricingConfigsCount() { } } /** + * + * *
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * */ - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getChannelPartnerRepricingConfigs(int index) { + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig + getChannelPartnerRepricingConfigs(int index) { if (channelPartnerRepricingConfigsBuilder_ == null) { return channelPartnerRepricingConfigs_.get(index); } else { @@ -607,11 +701,15 @@ public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getChannelPartn } } /** + * + * *
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * */ public Builder setChannelPartnerRepricingConfigs( int index, com.google.cloud.channel.v1.ChannelPartnerRepricingConfig value) { @@ -628,14 +726,19 @@ public Builder setChannelPartnerRepricingConfigs( return this; } /** + * + * *
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * */ public Builder setChannelPartnerRepricingConfigs( - int index, com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder builderForValue) { + int index, + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder builderForValue) { if (channelPartnerRepricingConfigsBuilder_ == null) { ensureChannelPartnerRepricingConfigsIsMutable(); channelPartnerRepricingConfigs_.set(index, builderForValue.build()); @@ -646,13 +749,18 @@ public Builder setChannelPartnerRepricingConfigs( return this; } /** + * + * *
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * */ - public Builder addChannelPartnerRepricingConfigs(com.google.cloud.channel.v1.ChannelPartnerRepricingConfig value) { + public Builder addChannelPartnerRepricingConfigs( + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig value) { if (channelPartnerRepricingConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -666,11 +774,15 @@ public Builder addChannelPartnerRepricingConfigs(com.google.cloud.channel.v1.Cha return this; } /** + * + * *
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * */ public Builder addChannelPartnerRepricingConfigs( int index, com.google.cloud.channel.v1.ChannelPartnerRepricingConfig value) { @@ -687,11 +799,15 @@ public Builder addChannelPartnerRepricingConfigs( return this; } /** + * + * *
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * */ public Builder addChannelPartnerRepricingConfigs( com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder builderForValue) { @@ -705,14 +821,19 @@ public Builder addChannelPartnerRepricingConfigs( return this; } /** + * + * *
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * */ public Builder addChannelPartnerRepricingConfigs( - int index, com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder builderForValue) { + int index, + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder builderForValue) { if (channelPartnerRepricingConfigsBuilder_ == null) { ensureChannelPartnerRepricingConfigsIsMutable(); channelPartnerRepricingConfigs_.add(index, builderForValue.build()); @@ -723,14 +844,19 @@ public Builder addChannelPartnerRepricingConfigs( return this; } /** + * + * *
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * */ public Builder addAllChannelPartnerRepricingConfigs( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (channelPartnerRepricingConfigsBuilder_ == null) { ensureChannelPartnerRepricingConfigsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -742,11 +868,15 @@ public Builder addAllChannelPartnerRepricingConfigs( return this; } /** + * + * *
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * */ public Builder clearChannelPartnerRepricingConfigs() { if (channelPartnerRepricingConfigsBuilder_ == null) { @@ -759,11 +889,15 @@ public Builder clearChannelPartnerRepricingConfigs() { return this; } /** + * + * *
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * */ public Builder removeChannelPartnerRepricingConfigs(int index) { if (channelPartnerRepricingConfigsBuilder_ == null) { @@ -776,39 +910,53 @@ public Builder removeChannelPartnerRepricingConfigs(int index) { return this; } /** + * + * *
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * */ - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder getChannelPartnerRepricingConfigsBuilder( - int index) { + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder + getChannelPartnerRepricingConfigsBuilder(int index) { return getChannelPartnerRepricingConfigsFieldBuilder().getBuilder(index); } /** + * + * *
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * */ - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder getChannelPartnerRepricingConfigsOrBuilder( - int index) { + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder + getChannelPartnerRepricingConfigsOrBuilder(int index) { if (channelPartnerRepricingConfigsBuilder_ == null) { - return channelPartnerRepricingConfigs_.get(index); } else { + return channelPartnerRepricingConfigs_.get(index); + } else { return channelPartnerRepricingConfigsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * */ - public java.util.List - getChannelPartnerRepricingConfigsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder> + getChannelPartnerRepricingConfigsOrBuilderList() { if (channelPartnerRepricingConfigsBuilder_ != null) { return channelPartnerRepricingConfigsBuilder_.getMessageOrBuilderList(); } else { @@ -816,45 +964,67 @@ public com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder getCha } } /** + * + * *
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * */ - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder addChannelPartnerRepricingConfigsBuilder() { - return getChannelPartnerRepricingConfigsFieldBuilder().addBuilder( - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance()); + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder + addChannelPartnerRepricingConfigsBuilder() { + return getChannelPartnerRepricingConfigsFieldBuilder() + .addBuilder( + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance()); } /** + * + * *
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * */ - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder addChannelPartnerRepricingConfigsBuilder( - int index) { - return getChannelPartnerRepricingConfigsFieldBuilder().addBuilder( - index, com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance()); + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder + addChannelPartnerRepricingConfigsBuilder(int index) { + return getChannelPartnerRepricingConfigsFieldBuilder() + .addBuilder( + index, + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance()); } /** + * + * *
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * */ - public java.util.List - getChannelPartnerRepricingConfigsBuilderList() { + public java.util.List + getChannelPartnerRepricingConfigsBuilderList() { return getChannelPartnerRepricingConfigsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig, com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder, com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder> + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig, + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder, + com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder> getChannelPartnerRepricingConfigsFieldBuilder() { if (channelPartnerRepricingConfigsBuilder_ == null) { - channelPartnerRepricingConfigsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig, com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder, com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder>( + channelPartnerRepricingConfigsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig, + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder, + com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder>( channelPartnerRepricingConfigs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -866,6 +1036,8 @@ public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder addChan private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve the next page of results.
      * Pass to
@@ -874,13 +1046,13 @@ public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder addChan
      * 
* * 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; @@ -889,6 +1061,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * Pass to
@@ -897,15 +1071,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 { @@ -913,6 +1086,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * Pass to
@@ -921,20 +1096,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 to retrieve the next page of results.
      * Pass to
@@ -943,15 +1120,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 to retrieve the next page of results.
      * Pass to
@@ -960,23 +1140,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); } @@ -986,41 +1166,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse) - private static final com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse(); } - public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse getDefaultInstance() { + public static com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListChannelPartnerRepricingConfigsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListChannelPartnerRepricingConfigsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1032,9 +1216,8 @@ public com.google.protobuf.Parser ge } @java.lang.Override - public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse getDefaultInstanceForType() { + public com.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponseOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponseOrBuilder.java similarity index 56% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponseOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponseOrBuilder.java index f37276e96e7c..9b495c230a18 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponseOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListChannelPartnerRepricingConfigsResponseOrBuilder.java @@ -1,57 +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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListChannelPartnerRepricingConfigsResponseOrBuilder extends +public interface ListChannelPartnerRepricingConfigsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The repricing configs for this channel partner.
    * 
* - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * */ - java.util.List + java.util.List getChannelPartnerRepricingConfigsList(); /** + * + * *
    * The repricing configs for this channel partner.
    * 
* - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * */ - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getChannelPartnerRepricingConfigs(int index); + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getChannelPartnerRepricingConfigs( + int index); /** + * + * *
    * The repricing configs for this channel partner.
    * 
* - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * */ int getChannelPartnerRepricingConfigsCount(); /** + * + * *
    * The repricing configs for this channel partner.
    * 
* - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * */ - java.util.List + java.util.List getChannelPartnerRepricingConfigsOrBuilderList(); /** + * + * *
    * The repricing configs for this channel partner.
    * 
* - * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; + * */ - com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder getChannelPartnerRepricingConfigsOrBuilder( - int index); + com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder + getChannelPartnerRepricingConfigsOrBuilder(int index); /** + * + * *
    * A token to retrieve the next page of results.
    * Pass to
@@ -60,10 +99,13 @@ com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder getChannelPar
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve the next page of results.
    * Pass to
@@ -72,8 +114,8 @@ com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder getChannelPar
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequest.java similarity index 71% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequest.java index 7d00077f62ee..8103b65af3a7 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs].
@@ -11,15 +28,18 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.ListCustomerRepricingConfigsRequest}
  */
-public final class ListCustomerRepricingConfigsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListCustomerRepricingConfigsRequest
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListCustomerRepricingConfigsRequest)
     ListCustomerRepricingConfigsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListCustomerRepricingConfigsRequest.newBuilder() to construct.
-  private ListCustomerRepricingConfigsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListCustomerRepricingConfigsRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListCustomerRepricingConfigsRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -28,32 +48,35 @@ private ListCustomerRepricingConfigsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListCustomerRepricingConfigsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.class, com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.Builder.class);
+            com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.class,
+            com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Required. The resource name of the customer.
    * Parent uses the format: accounts/{account_id}/customers/{customer_id}.
@@ -61,7 +84,10 @@ protected java.lang.Object newInstance(
    * customers.
    * 
* - * string parent = 1 [(.google.api.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 @@ -70,14 +96,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 customer.
    * Parent uses the format: accounts/{account_id}/customers/{customer_id}.
@@ -85,17 +112,18 @@ public java.lang.String getParent() {
    * customers.
    * 
* - * string parent = 1 [(.google.api.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 { @@ -106,6 +134,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Optional. The maximum number of repricing configs to return. The service
    * may return fewer than this value. If unspecified, returns a maximum of 50
@@ -113,6 +143,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -123,6 +154,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. A token identifying a page of results beyond the first page.
    * Obtained through
@@ -133,6 +166,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -141,14 +175,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 token identifying a page of results beyond the first page.
    * Obtained through
@@ -159,16 +194,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -179,6 +213,8 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * Optional. A filter for [CloudChannelService.ListCustomerRepricingConfigs]
    * results (customer only). You can use this filter when you support
@@ -189,6 +225,7 @@ public java.lang.String getPageToken() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -197,14 +234,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; } } /** + * + * *
    * Optional. A filter for [CloudChannelService.ListCustomerRepricingConfigs]
    * results (customer only). You can use this filter when you support
@@ -215,16 +253,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -233,6 +270,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -271,8 +308,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_); @@ -288,21 +324,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.cloud.channel.v1.ListCustomerRepricingConfigsRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest other = (com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest other = + (com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -328,96 +361,104 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs].
@@ -425,33 +466,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.ListCustomerRepricingConfigsRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListCustomerRepricingConfigsRequest)
       com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.class, com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.Builder.class);
+              com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.class,
+              com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -467,13 +507,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest getDefaultInstanceForType() {
+    public com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.getDefaultInstance();
     }
 
@@ -488,7 +529,8 @@ public com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest buildPartial() {
-      com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest result = new com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest(this);
+      com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest result =
+          new com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -501,46 +543,50 @@ public com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest 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.cloud.channel.v1.ListCustomerRepricingConfigsRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest)other);
+        return mergeFrom((com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest other) {
-      if (other == com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest other) {
+      if (other
+          == com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -582,32 +628,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 16: {
-              pageSize_ = input.readInt32();
+                break;
+              } // case 10
+            case 16:
+              {
+                pageSize_ = input.readInt32();
 
-              break;
-            } // case 16
-            case 26: {
-              pageToken_ = input.readStringRequireUtf8();
+                break;
+              } // case 16
+            case 26:
+              {
+                pageToken_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 34: {
-              filter_ = input.readStringRequireUtf8();
+                break;
+              } // case 26
+            case 34:
+              {
+                filter_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -620,6 +671,8 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The resource name of the customer.
      * Parent uses the format: accounts/{account_id}/customers/{customer_id}.
@@ -627,14 +680,16 @@ public Builder mergeFrom(
      * customers.
      * 
* - * string parent = 1 [(.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; @@ -643,6 +698,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the customer.
      * Parent uses the format: accounts/{account_id}/customers/{customer_id}.
@@ -650,16 +707,17 @@ public java.lang.String getParent() {
      * customers.
      * 
* - * string parent = 1 [(.google.api.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,6 +725,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the customer.
      * Parent uses the format: accounts/{account_id}/customers/{customer_id}.
@@ -674,21 +734,25 @@ public java.lang.String getParent() {
      * customers.
      * 
* - * string parent = 1 [(.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 customer.
      * Parent uses the format: accounts/{account_id}/customers/{customer_id}.
@@ -696,16 +760,21 @@ public Builder setParent(
      * customers.
      * 
* - * string 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 customer.
      * Parent uses the format: accounts/{account_id}/customers/{customer_id}.
@@ -713,24 +782,28 @@ public Builder clearParent() {
      * customers.
      * 
* - * string parent = 1 [(.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_; /** + * + * *
      * Optional. The maximum number of repricing configs to return. The service
      * may return fewer than this value. If unspecified, returns a maximum of 50
@@ -738,6 +811,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -745,6 +819,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. The maximum number of repricing configs to return. The service
      * may return fewer than this value. If unspecified, returns a maximum of 50
@@ -752,16 +828,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.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 repricing configs to return. The service
      * may return fewer than this value. If unspecified, returns a maximum of 50
@@ -769,10 +848,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -780,6 +860,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. A token identifying a page of results beyond the first page.
      * Obtained through
@@ -790,13 +872,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -805,6 +887,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A token identifying a page of results beyond the first page.
      * Obtained through
@@ -815,15 +899,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -831,6 +914,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A token identifying a page of results beyond the first page.
      * Obtained through
@@ -841,20 +926,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Optional. A token identifying a page of results beyond the first page.
      * Obtained through
@@ -865,15 +952,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. A token identifying a page of results beyond the first page.
      * Obtained through
@@ -884,16 +974,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + 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; @@ -901,6 +991,8 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. A filter for [CloudChannelService.ListCustomerRepricingConfigs]
      * results (customer only). You can use this filter when you support
@@ -911,13 +1003,13 @@ public Builder setPageTokenBytes(
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -926,6 +1018,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. A filter for [CloudChannelService.ListCustomerRepricingConfigs]
      * results (customer only). You can use this filter when you support
@@ -936,15 +1030,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -952,6 +1045,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. A filter for [CloudChannelService.ListCustomerRepricingConfigs]
      * results (customer only). You can use this filter when you support
@@ -962,20 +1057,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; } /** + * + * *
      * Optional. A filter for [CloudChannelService.ListCustomerRepricingConfigs]
      * results (customer only). You can use this filter when you support
@@ -986,15 +1083,18 @@ public Builder setFilter(
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Optional. A filter for [CloudChannelService.ListCustomerRepricingConfigs]
      * results (customer only). You can use this filter when you support
@@ -1005,23 +1105,23 @@ public Builder clearFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1031,41 +1131,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListCustomerRepricingConfigsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListCustomerRepricingConfigsRequest) - private static final com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest(); } - public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest getDefaultInstance() { + public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCustomerRepricingConfigsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCustomerRepricingConfigsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1077,9 +1179,8 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest getDefaultInstanceForType() { + public com.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequestOrBuilder.java similarity index 74% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequestOrBuilder.java index f7b5391fdc4b..52922d9f9cba 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsRequestOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListCustomerRepricingConfigsRequestOrBuilder extends +public interface ListCustomerRepricingConfigsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListCustomerRepricingConfigsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the customer.
    * Parent uses the format: accounts/{account_id}/customers/{customer_id}.
@@ -15,11 +33,16 @@ public interface ListCustomerRepricingConfigsRequestOrBuilder extends
    * customers.
    * 
* - * string parent = 1 [(.google.api.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 customer.
    * Parent uses the format: accounts/{account_id}/customers/{customer_id}.
@@ -27,13 +50,17 @@ public interface ListCustomerRepricingConfigsRequestOrBuilder extends
    * customers.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. The maximum number of repricing configs to return. The service
    * may return fewer than this value. If unspecified, returns a maximum of 50
@@ -41,11 +68,14 @@ public interface ListCustomerRepricingConfigsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. A token identifying a page of results beyond the first page.
    * Obtained through
@@ -56,10 +86,13 @@ public interface ListCustomerRepricingConfigsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. A token identifying a page of results beyond the first page.
    * Obtained through
@@ -70,12 +103,14 @@ public interface ListCustomerRepricingConfigsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. A filter for [CloudChannelService.ListCustomerRepricingConfigs]
    * results (customer only). You can use this filter when you support
@@ -86,10 +121,13 @@ public interface ListCustomerRepricingConfigsRequestOrBuilder extends
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. A filter for [CloudChannelService.ListCustomerRepricingConfigs]
    * results (customer only). You can use this filter when you support
@@ -100,8 +138,8 @@ public interface ListCustomerRepricingConfigsRequestOrBuilder extends
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponse.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponse.java similarity index 65% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponse.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponse.java index 5d16b399cbb5..d2768fc7eef9 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponse.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponse.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Response message for
  * [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs].
@@ -11,15 +28,18 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.ListCustomerRepricingConfigsResponse}
  */
-public final class ListCustomerRepricingConfigsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListCustomerRepricingConfigsResponse
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListCustomerRepricingConfigsResponse)
     ListCustomerRepricingConfigsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListCustomerRepricingConfigsResponse.newBuilder() to construct.
-  private ListCustomerRepricingConfigsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListCustomerRepricingConfigsResponse(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListCustomerRepricingConfigsResponse() {
     customerRepricingConfigs_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,92 +47,113 @@ private ListCustomerRepricingConfigsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListCustomerRepricingConfigsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.class, com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.Builder.class);
+            com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.class,
+            com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.Builder.class);
   }
 
   public static final int CUSTOMER_REPRICING_CONFIGS_FIELD_NUMBER = 1;
-  private java.util.List customerRepricingConfigs_;
+  private java.util.List
+      customerRepricingConfigs_;
   /**
+   *
+   *
    * 
    * The repricing configs for this channel partner.
    * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * */ @java.lang.Override - public java.util.List getCustomerRepricingConfigsList() { + public java.util.List + getCustomerRepricingConfigsList() { return customerRepricingConfigs_; } /** + * + * *
    * The repricing configs for this channel partner.
    * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List getCustomerRepricingConfigsOrBuilderList() { return customerRepricingConfigs_; } /** + * + * *
    * The repricing configs for this channel partner.
    * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * */ @java.lang.Override public int getCustomerRepricingConfigsCount() { return customerRepricingConfigs_.size(); } /** + * + * *
    * The repricing configs for this channel partner.
    * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * */ @java.lang.Override - public com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingConfigs(int index) { + public com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingConfigs( + int index) { return customerRepricingConfigs_.get(index); } /** + * + * *
    * The repricing configs for this channel partner.
    * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * */ @java.lang.Override - public com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder getCustomerRepricingConfigsOrBuilder( - int index) { + public com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder + getCustomerRepricingConfigsOrBuilder(int index) { return customerRepricingConfigs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token to retrieve the next page of results.
    * Pass to
@@ -121,6 +162,7 @@ public com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder getCustomerR
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -129,14 +171,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 to retrieve the next page of results.
    * Pass to
@@ -145,16 +188,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 { @@ -163,6 +205,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +217,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < customerRepricingConfigs_.size(); i++) { output.writeMessage(1, customerRepricingConfigs_.get(i)); } @@ -192,8 +234,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < customerRepricingConfigs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, customerRepricingConfigs_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, customerRepricingConfigs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -206,17 +249,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse other = (com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse) obj; + com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse other = + (com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse) obj; - if (!getCustomerRepricingConfigsList() - .equals(other.getCustomerRepricingConfigsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getCustomerRepricingConfigsList().equals(other.getCustomerRepricingConfigsList())) + return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -240,96 +283,104 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs].
@@ -337,33 +388,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.ListCustomerRepricingConfigsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListCustomerRepricingConfigsResponse)
       com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.class, com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.Builder.class);
+              com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.class,
+              com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -380,13 +430,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse getDefaultInstanceForType() {
+    public com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse
+        getDefaultInstanceForType() {
       return com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.getDefaultInstance();
     }
 
@@ -401,11 +452,13 @@ public com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse build()
 
     @java.lang.Override
     public com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse buildPartial() {
-      com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse result = new com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse(this);
+      com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse result =
+          new com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse(this);
       int from_bitField0_ = bitField0_;
       if (customerRepricingConfigsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
-          customerRepricingConfigs_ = java.util.Collections.unmodifiableList(customerRepricingConfigs_);
+          customerRepricingConfigs_ =
+              java.util.Collections.unmodifiableList(customerRepricingConfigs_);
           bitField0_ = (bitField0_ & ~0x00000001);
         }
         result.customerRepricingConfigs_ = customerRepricingConfigs_;
@@ -421,46 +474,50 @@ public com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse 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.cloud.channel.v1.ListCustomerRepricingConfigsResponse) {
-        return mergeFrom((com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse)other);
+        return mergeFrom((com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse other) {
-      if (other == com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse other) {
+      if (other
+          == com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.getDefaultInstance())
+        return this;
       if (customerRepricingConfigsBuilder_ == null) {
         if (!other.customerRepricingConfigs_.isEmpty()) {
           if (customerRepricingConfigs_.isEmpty()) {
@@ -479,9 +536,10 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ListCustomerRepricingConfig
             customerRepricingConfigsBuilder_ = null;
             customerRepricingConfigs_ = other.customerRepricingConfigs_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            customerRepricingConfigsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getCustomerRepricingConfigsFieldBuilder() : null;
+            customerRepricingConfigsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getCustomerRepricingConfigsFieldBuilder()
+                    : null;
           } else {
             customerRepricingConfigsBuilder_.addAllMessages(other.customerRepricingConfigs_);
           }
@@ -517,30 +575,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.channel.v1.CustomerRepricingConfig m =
-                  input.readMessage(
-                      com.google.cloud.channel.v1.CustomerRepricingConfig.parser(),
-                      extensionRegistry);
-              if (customerRepricingConfigsBuilder_ == null) {
-                ensureCustomerRepricingConfigsIsMutable();
-                customerRepricingConfigs_.add(m);
-              } else {
-                customerRepricingConfigsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            case 18: {
-              nextPageToken_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                com.google.cloud.channel.v1.CustomerRepricingConfig m =
+                    input.readMessage(
+                        com.google.cloud.channel.v1.CustomerRepricingConfig.parser(),
+                        extensionRegistry);
+                if (customerRepricingConfigsBuilder_ == null) {
+                  ensureCustomerRepricingConfigsIsMutable();
+                  customerRepricingConfigs_.add(m);
+                } else {
+                  customerRepricingConfigsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -550,28 +611,40 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List customerRepricingConfigs_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        customerRepricingConfigs_ = java.util.Collections.emptyList();
+
     private void ensureCustomerRepricingConfigsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        customerRepricingConfigs_ = new java.util.ArrayList(customerRepricingConfigs_);
+        customerRepricingConfigs_ =
+            new java.util.ArrayList(
+                customerRepricingConfigs_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.channel.v1.CustomerRepricingConfig, com.google.cloud.channel.v1.CustomerRepricingConfig.Builder, com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder> customerRepricingConfigsBuilder_;
+            com.google.cloud.channel.v1.CustomerRepricingConfig,
+            com.google.cloud.channel.v1.CustomerRepricingConfig.Builder,
+            com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder>
+        customerRepricingConfigsBuilder_;
 
     /**
+     *
+     *
      * 
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * */ - public java.util.List getCustomerRepricingConfigsList() { + public java.util.List + getCustomerRepricingConfigsList() { if (customerRepricingConfigsBuilder_ == null) { return java.util.Collections.unmodifiableList(customerRepricingConfigs_); } else { @@ -579,11 +652,15 @@ public java.util.List getCu } } /** + * + * *
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * */ public int getCustomerRepricingConfigsCount() { if (customerRepricingConfigsBuilder_ == null) { @@ -593,13 +670,18 @@ public int getCustomerRepricingConfigsCount() { } } /** + * + * *
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * */ - public com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingConfigs(int index) { + public com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingConfigs( + int index) { if (customerRepricingConfigsBuilder_ == null) { return customerRepricingConfigs_.get(index); } else { @@ -607,11 +689,15 @@ public com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingC } } /** + * + * *
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * */ public Builder setCustomerRepricingConfigs( int index, com.google.cloud.channel.v1.CustomerRepricingConfig value) { @@ -628,11 +714,15 @@ public Builder setCustomerRepricingConfigs( return this; } /** + * + * *
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * */ public Builder setCustomerRepricingConfigs( int index, com.google.cloud.channel.v1.CustomerRepricingConfig.Builder builderForValue) { @@ -646,13 +736,18 @@ public Builder setCustomerRepricingConfigs( return this; } /** + * + * *
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * */ - public Builder addCustomerRepricingConfigs(com.google.cloud.channel.v1.CustomerRepricingConfig value) { + public Builder addCustomerRepricingConfigs( + com.google.cloud.channel.v1.CustomerRepricingConfig value) { if (customerRepricingConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -666,11 +761,15 @@ public Builder addCustomerRepricingConfigs(com.google.cloud.channel.v1.CustomerR return this; } /** + * + * *
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * */ public Builder addCustomerRepricingConfigs( int index, com.google.cloud.channel.v1.CustomerRepricingConfig value) { @@ -687,11 +786,15 @@ public Builder addCustomerRepricingConfigs( return this; } /** + * + * *
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * */ public Builder addCustomerRepricingConfigs( com.google.cloud.channel.v1.CustomerRepricingConfig.Builder builderForValue) { @@ -705,11 +808,15 @@ public Builder addCustomerRepricingConfigs( return this; } /** + * + * *
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * */ public Builder addCustomerRepricingConfigs( int index, com.google.cloud.channel.v1.CustomerRepricingConfig.Builder builderForValue) { @@ -723,18 +830,21 @@ public Builder addCustomerRepricingConfigs( return this; } /** + * + * *
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * */ public Builder addAllCustomerRepricingConfigs( java.lang.Iterable values) { if (customerRepricingConfigsBuilder_ == null) { ensureCustomerRepricingConfigsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, customerRepricingConfigs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, customerRepricingConfigs_); onChanged(); } else { customerRepricingConfigsBuilder_.addAllMessages(values); @@ -742,11 +852,15 @@ public Builder addAllCustomerRepricingConfigs( return this; } /** + * + * *
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * */ public Builder clearCustomerRepricingConfigs() { if (customerRepricingConfigsBuilder_ == null) { @@ -759,11 +873,15 @@ public Builder clearCustomerRepricingConfigs() { return this; } /** + * + * *
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * */ public Builder removeCustomerRepricingConfigs(int index) { if (customerRepricingConfigsBuilder_ == null) { @@ -776,39 +894,52 @@ public Builder removeCustomerRepricingConfigs(int index) { return this; } /** + * + * *
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * */ - public com.google.cloud.channel.v1.CustomerRepricingConfig.Builder getCustomerRepricingConfigsBuilder( - int index) { + public com.google.cloud.channel.v1.CustomerRepricingConfig.Builder + getCustomerRepricingConfigsBuilder(int index) { return getCustomerRepricingConfigsFieldBuilder().getBuilder(index); } /** + * + * *
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * */ - public com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder getCustomerRepricingConfigsOrBuilder( - int index) { + public com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder + getCustomerRepricingConfigsOrBuilder(int index) { if (customerRepricingConfigsBuilder_ == null) { - return customerRepricingConfigs_.get(index); } else { + return customerRepricingConfigs_.get(index); + } else { return customerRepricingConfigsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * */ - public java.util.List - getCustomerRepricingConfigsOrBuilderList() { + public java.util.List + getCustomerRepricingConfigsOrBuilderList() { if (customerRepricingConfigsBuilder_ != null) { return customerRepricingConfigsBuilder_.getMessageOrBuilderList(); } else { @@ -816,45 +947,65 @@ public com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder getCustomerR } } /** + * + * *
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * */ - public com.google.cloud.channel.v1.CustomerRepricingConfig.Builder addCustomerRepricingConfigsBuilder() { - return getCustomerRepricingConfigsFieldBuilder().addBuilder( - com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance()); + public com.google.cloud.channel.v1.CustomerRepricingConfig.Builder + addCustomerRepricingConfigsBuilder() { + return getCustomerRepricingConfigsFieldBuilder() + .addBuilder(com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance()); } /** + * + * *
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * */ - public com.google.cloud.channel.v1.CustomerRepricingConfig.Builder addCustomerRepricingConfigsBuilder( - int index) { - return getCustomerRepricingConfigsFieldBuilder().addBuilder( - index, com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance()); + public com.google.cloud.channel.v1.CustomerRepricingConfig.Builder + addCustomerRepricingConfigsBuilder(int index) { + return getCustomerRepricingConfigsFieldBuilder() + .addBuilder( + index, com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance()); } /** + * + * *
      * The repricing configs for this channel partner.
      * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * */ - public java.util.List - getCustomerRepricingConfigsBuilderList() { + public java.util.List + getCustomerRepricingConfigsBuilderList() { return getCustomerRepricingConfigsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.CustomerRepricingConfig, com.google.cloud.channel.v1.CustomerRepricingConfig.Builder, com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder> + com.google.cloud.channel.v1.CustomerRepricingConfig, + com.google.cloud.channel.v1.CustomerRepricingConfig.Builder, + com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder> getCustomerRepricingConfigsFieldBuilder() { if (customerRepricingConfigsBuilder_ == null) { - customerRepricingConfigsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.CustomerRepricingConfig, com.google.cloud.channel.v1.CustomerRepricingConfig.Builder, com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder>( + customerRepricingConfigsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.CustomerRepricingConfig, + com.google.cloud.channel.v1.CustomerRepricingConfig.Builder, + com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder>( customerRepricingConfigs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -866,6 +1017,8 @@ public com.google.cloud.channel.v1.CustomerRepricingConfig.Builder addCustomerRe private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve the next page of results.
      * Pass to
@@ -874,13 +1027,13 @@ public com.google.cloud.channel.v1.CustomerRepricingConfig.Builder addCustomerRe
      * 
* * 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; @@ -889,6 +1042,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * Pass to
@@ -897,15 +1052,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 { @@ -913,6 +1067,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * Pass to
@@ -921,20 +1077,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 to retrieve the next page of results.
      * Pass to
@@ -943,15 +1101,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 to retrieve the next page of results.
      * Pass to
@@ -960,23 +1121,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); } @@ -986,41 +1147,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListCustomerRepricingConfigsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListCustomerRepricingConfigsResponse) - private static final com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse(); } - public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse getDefaultInstance() { + public static com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCustomerRepricingConfigsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCustomerRepricingConfigsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1032,9 +1195,8 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse getDefaultInstanceForType() { + public com.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponseOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponseOrBuilder.java similarity index 67% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponseOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponseOrBuilder.java index 4e8df931124c..5ace927da747 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponseOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomerRepricingConfigsResponseOrBuilder.java @@ -1,57 +1,90 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListCustomerRepricingConfigsResponseOrBuilder extends +public interface ListCustomerRepricingConfigsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListCustomerRepricingConfigsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The repricing configs for this channel partner.
    * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * */ - java.util.List + java.util.List getCustomerRepricingConfigsList(); /** + * + * *
    * The repricing configs for this channel partner.
    * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * */ com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingConfigs(int index); /** + * + * *
    * The repricing configs for this channel partner.
    * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * */ int getCustomerRepricingConfigsCount(); /** + * + * *
    * The repricing configs for this channel partner.
    * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * */ - java.util.List + java.util.List getCustomerRepricingConfigsOrBuilderList(); /** + * + * *
    * The repricing configs for this channel partner.
    * 
* - * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; + * */ com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder getCustomerRepricingConfigsOrBuilder( int index); /** + * + * *
    * A token to retrieve the next page of results.
    * Pass to
@@ -60,10 +93,13 @@ com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder getCustomerRepricin
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve the next page of results.
    * Pass to
@@ -72,8 +108,8 @@ com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder getCustomerRepricin
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequest.java similarity index 73% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequest.java index 380b33dd35bc..fef123a7dc2c 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers]
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.ListCustomersRequest}
  */
-public final class ListCustomersRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListCustomersRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListCustomersRequest)
     ListCustomersRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListCustomersRequest.newBuilder() to construct.
   private ListCustomersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListCustomersRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -28,38 +46,42 @@ private ListCustomersRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListCustomersRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomersRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ListCustomersRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomersRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ListCustomersRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.ListCustomersRequest.class, com.google.cloud.channel.v1.ListCustomersRequest.Builder.class);
+            com.google.cloud.channel.v1.ListCustomersRequest.class,
+            com.google.cloud.channel.v1.ListCustomersRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Required. The resource name of the reseller account to list customers from.
    * Parent uses the format: accounts/{account_id}.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -68,30 +90,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 reseller account to list customers from.
    * Parent uses the format: accounts/{account_id}.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -102,6 +124,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Optional. The maximum number of customers to return. The service may return
    * fewer than this value. If unspecified, returns at most 10 customers. The
@@ -109,6 +133,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -119,6 +144,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. A token identifying a page of results other than the first page.
    * Obtained through
@@ -129,6 +156,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -137,14 +165,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. A token identifying a page of results other than the first page.
    * Obtained through
@@ -155,16 +184,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -175,6 +203,8 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * Optional. Filters applied to the [CloudChannelService.ListCustomers]
    * results. See
@@ -183,6 +213,7 @@ public java.lang.String getPageToken() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -191,14 +222,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; } } /** + * + * *
    * Optional. Filters applied to the [CloudChannelService.ListCustomers]
    * results. See
@@ -207,16 +239,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -225,6 +256,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,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_); } @@ -263,8 +294,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_); @@ -280,21 +310,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.cloud.channel.v1.ListCustomersRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListCustomersRequest other = (com.google.cloud.channel.v1.ListCustomersRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + com.google.cloud.channel.v1.ListCustomersRequest other = + (com.google.cloud.channel.v1.ListCustomersRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -319,97 +346,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ListCustomersRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.ListCustomersRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListCustomersRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListCustomersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListCustomersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListCustomersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListCustomersRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListCustomersRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListCustomersRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListCustomersRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListCustomersRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListCustomersRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListCustomersRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ListCustomersRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListCustomersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.ListCustomersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers]
@@ -417,33 +451,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.ListCustomersRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListCustomersRequest)
       com.google.cloud.channel.v1.ListCustomersRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomersRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListCustomersRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomersRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListCustomersRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.ListCustomersRequest.class, com.google.cloud.channel.v1.ListCustomersRequest.Builder.class);
+              com.google.cloud.channel.v1.ListCustomersRequest.class,
+              com.google.cloud.channel.v1.ListCustomersRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.ListCustomersRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -459,9 +492,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomersRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListCustomersRequest_descriptor;
     }
 
     @java.lang.Override
@@ -480,7 +513,8 @@ public com.google.cloud.channel.v1.ListCustomersRequest build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.ListCustomersRequest buildPartial() {
-      com.google.cloud.channel.v1.ListCustomersRequest result = new com.google.cloud.channel.v1.ListCustomersRequest(this);
+      com.google.cloud.channel.v1.ListCustomersRequest result =
+          new com.google.cloud.channel.v1.ListCustomersRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -493,38 +527,39 @@ public com.google.cloud.channel.v1.ListCustomersRequest 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.cloud.channel.v1.ListCustomersRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.ListCustomersRequest)other);
+        return mergeFrom((com.google.cloud.channel.v1.ListCustomersRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -532,7 +567,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.ListCustomersRequest other) {
-      if (other == com.google.cloud.channel.v1.ListCustomersRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.ListCustomersRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -574,32 +610,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 16: {
-              pageSize_ = input.readInt32();
+                break;
+              } // case 10
+            case 16:
+              {
+                pageSize_ = input.readInt32();
 
-              break;
-            } // case 16
-            case 26: {
-              pageToken_ = input.readStringRequireUtf8();
+                break;
+              } // case 16
+            case 26:
+              {
+                pageToken_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 34: {
-              filter_ = input.readStringRequireUtf8();
+                break;
+              } // case 26
+            case 34:
+              {
+                filter_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -612,19 +653,21 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The resource name of the reseller account to list customers from.
      * Parent uses the format: accounts/{account_id}.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -633,21 +676,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the reseller account to list customers from.
      * Parent uses the format: accounts/{account_id}.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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,64 +699,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the reseller account to list customers from.
      * Parent uses the format: accounts/{account_id}.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 reseller account to list customers from.
      * Parent uses the format: accounts/{account_id}.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the reseller account to list customers from.
      * Parent uses the format: accounts/{account_id}.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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_; /** + * + * *
      * Optional. The maximum number of customers to return. The service may return
      * fewer than this value. If unspecified, returns at most 10 customers. The
@@ -720,6 +773,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -727,6 +781,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. The maximum number of customers to return. The service may return
      * fewer than this value. If unspecified, returns at most 10 customers. The
@@ -734,16 +790,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.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 customers to return. The service may return
      * fewer than this value. If unspecified, returns at most 10 customers. The
@@ -751,10 +810,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -762,6 +822,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. A token identifying a page of results other than the first page.
      * Obtained through
@@ -772,13 +834,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -787,6 +849,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A token identifying a page of results other than the first page.
      * Obtained through
@@ -797,15 +861,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -813,6 +876,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A token identifying a page of results other than the first page.
      * Obtained through
@@ -823,20 +888,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Optional. A token identifying a page of results other than the first page.
      * Obtained through
@@ -847,15 +914,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. A token identifying a page of results other than the first page.
      * Obtained through
@@ -866,16 +936,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + 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; @@ -883,6 +953,8 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Filters applied to the [CloudChannelService.ListCustomers]
      * results. See
@@ -891,13 +963,13 @@ public Builder setPageTokenBytes(
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -906,6 +978,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filters applied to the [CloudChannelService.ListCustomers]
      * results. See
@@ -914,15 +988,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -930,6 +1003,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filters applied to the [CloudChannelService.ListCustomers]
      * results. See
@@ -938,20 +1013,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; } /** + * + * *
      * Optional. Filters applied to the [CloudChannelService.ListCustomers]
      * results. See
@@ -960,15 +1037,18 @@ public Builder setFilter(
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Optional. Filters applied to the [CloudChannelService.ListCustomers]
      * results. See
@@ -977,23 +1057,23 @@ public Builder clearFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1003,12 +1083,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListCustomersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListCustomersRequest) private static final com.google.cloud.channel.v1.ListCustomersRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListCustomersRequest(); } @@ -1017,27 +1097,27 @@ public static com.google.cloud.channel.v1.ListCustomersRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCustomersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCustomersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1052,6 +1132,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListCustomersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequestOrBuilder.java similarity index 76% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequestOrBuilder.java index 5cabe7ea29fd..40344e975685 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersRequestOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListCustomersRequestOrBuilder extends +public interface ListCustomersRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListCustomersRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the reseller account to list customers from.
    * Parent uses the format: accounts/{account_id}.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the reseller account to list customers from.
    * Parent uses the format: accounts/{account_id}.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. The maximum number of customers to return. The service may return
    * fewer than this value. If unspecified, returns at most 10 customers. The
@@ -37,11 +60,14 @@ public interface ListCustomersRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. A token identifying a page of results other than the first page.
    * Obtained through
@@ -52,10 +78,13 @@ public interface ListCustomersRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. A token identifying a page of results other than the first page.
    * Obtained through
@@ -66,12 +95,14 @@ public interface ListCustomersRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Filters applied to the [CloudChannelService.ListCustomers]
    * results. See
@@ -80,10 +111,13 @@ public interface ListCustomersRequestOrBuilder extends
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Filters applied to the [CloudChannelService.ListCustomers]
    * results. See
@@ -92,8 +126,8 @@ public interface ListCustomersRequestOrBuilder extends
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponse.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponse.java similarity index 72% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponse.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponse.java index b5a5cec43752..9a980e76a9b3 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponse.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponse.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Response message for
  * [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.ListCustomersResponse}
  */
-public final class ListCustomersResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListCustomersResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListCustomersResponse)
     ListCustomersResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListCustomersResponse.newBuilder() to construct.
   private ListCustomersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListCustomersResponse() {
     customers_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,32 +45,35 @@ private ListCustomersResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListCustomersResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomersResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ListCustomersResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomersResponse_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ListCustomersResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.ListCustomersResponse.class, com.google.cloud.channel.v1.ListCustomersResponse.Builder.class);
+            com.google.cloud.channel.v1.ListCustomersResponse.class,
+            com.google.cloud.channel.v1.ListCustomersResponse.Builder.class);
   }
 
   public static final int CUSTOMERS_FIELD_NUMBER = 1;
   private java.util.List customers_;
   /**
+   *
+   *
    * 
    * The customers belonging to a reseller or distributor.
    * 
@@ -64,6 +85,8 @@ public java.util.List getCustomersList() { return customers_; } /** + * + * *
    * The customers belonging to a reseller or distributor.
    * 
@@ -71,11 +94,13 @@ public java.util.List getCustomersList() { * repeated .google.cloud.channel.v1.Customer customers = 1; */ @java.lang.Override - public java.util.List + public java.util.List getCustomersOrBuilderList() { return customers_; } /** + * + * *
    * The customers belonging to a reseller or distributor.
    * 
@@ -87,6 +112,8 @@ public int getCustomersCount() { return customers_.size(); } /** + * + * *
    * The customers belonging to a reseller or distributor.
    * 
@@ -98,6 +125,8 @@ public com.google.cloud.channel.v1.Customer getCustomers(int index) { return customers_.get(index); } /** + * + * *
    * The customers belonging to a reseller or distributor.
    * 
@@ -105,14 +134,15 @@ public com.google.cloud.channel.v1.Customer getCustomers(int index) { * repeated .google.cloud.channel.v1.Customer customers = 1; */ @java.lang.Override - public com.google.cloud.channel.v1.CustomerOrBuilder getCustomersOrBuilder( - int index) { + public com.google.cloud.channel.v1.CustomerOrBuilder getCustomersOrBuilder(int index) { return customers_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token to retrieve the next page of results.
    * Pass to
@@ -121,6 +151,7 @@ public com.google.cloud.channel.v1.CustomerOrBuilder getCustomersOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -129,14 +160,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 to retrieve the next page of results.
    * Pass to
@@ -145,16 +177,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 { @@ -163,6 +194,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +206,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < customers_.size(); i++) { output.writeMessage(1, customers_.get(i)); } @@ -192,8 +223,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < customers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, customers_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, customers_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -206,17 +236,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.ListCustomersResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListCustomersResponse other = (com.google.cloud.channel.v1.ListCustomersResponse) obj; + com.google.cloud.channel.v1.ListCustomersResponse other = + (com.google.cloud.channel.v1.ListCustomersResponse) obj; - if (!getCustomersList() - .equals(other.getCustomersList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getCustomersList().equals(other.getCustomersList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -240,96 +269,103 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListCustomersResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListCustomersResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListCustomersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListCustomersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListCustomersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListCustomersResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListCustomersResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListCustomersResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListCustomersResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListCustomersResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListCustomersResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListCustomersResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ListCustomersResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListCustomersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.ListCustomersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers].
@@ -337,33 +373,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.ListCustomersResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListCustomersResponse)
       com.google.cloud.channel.v1.ListCustomersResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomersResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListCustomersResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomersResponse_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListCustomersResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.ListCustomersResponse.class, com.google.cloud.channel.v1.ListCustomersResponse.Builder.class);
+              com.google.cloud.channel.v1.ListCustomersResponse.class,
+              com.google.cloud.channel.v1.ListCustomersResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.ListCustomersResponse.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -380,9 +415,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListCustomersResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListCustomersResponse_descriptor;
     }
 
     @java.lang.Override
@@ -401,7 +436,8 @@ public com.google.cloud.channel.v1.ListCustomersResponse build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.ListCustomersResponse buildPartial() {
-      com.google.cloud.channel.v1.ListCustomersResponse result = new com.google.cloud.channel.v1.ListCustomersResponse(this);
+      com.google.cloud.channel.v1.ListCustomersResponse result =
+          new com.google.cloud.channel.v1.ListCustomersResponse(this);
       int from_bitField0_ = bitField0_;
       if (customersBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -421,38 +457,39 @@ public com.google.cloud.channel.v1.ListCustomersResponse 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.cloud.channel.v1.ListCustomersResponse) {
-        return mergeFrom((com.google.cloud.channel.v1.ListCustomersResponse)other);
+        return mergeFrom((com.google.cloud.channel.v1.ListCustomersResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -460,7 +497,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.ListCustomersResponse other) {
-      if (other == com.google.cloud.channel.v1.ListCustomersResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.ListCustomersResponse.getDefaultInstance())
+        return this;
       if (customersBuilder_ == null) {
         if (!other.customers_.isEmpty()) {
           if (customers_.isEmpty()) {
@@ -479,9 +517,10 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ListCustomersResponse other
             customersBuilder_ = null;
             customers_ = other.customers_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            customersBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getCustomersFieldBuilder() : null;
+            customersBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getCustomersFieldBuilder()
+                    : null;
           } else {
             customersBuilder_.addAllMessages(other.customers_);
           }
@@ -517,30 +556,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.channel.v1.Customer m =
-                  input.readMessage(
-                      com.google.cloud.channel.v1.Customer.parser(),
-                      extensionRegistry);
-              if (customersBuilder_ == null) {
-                ensureCustomersIsMutable();
-                customers_.add(m);
-              } else {
-                customersBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            case 18: {
-              nextPageToken_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                com.google.cloud.channel.v1.Customer m =
+                    input.readMessage(
+                        com.google.cloud.channel.v1.Customer.parser(), extensionRegistry);
+                if (customersBuilder_ == null) {
+                  ensureCustomersIsMutable();
+                  customers_.add(m);
+                } else {
+                  customersBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -550,21 +591,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List customers_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureCustomersIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         customers_ = new java.util.ArrayList(customers_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.channel.v1.Customer, com.google.cloud.channel.v1.Customer.Builder, com.google.cloud.channel.v1.CustomerOrBuilder> customersBuilder_;
+            com.google.cloud.channel.v1.Customer,
+            com.google.cloud.channel.v1.Customer.Builder,
+            com.google.cloud.channel.v1.CustomerOrBuilder>
+        customersBuilder_;
 
     /**
+     *
+     *
      * 
      * The customers belonging to a reseller or distributor.
      * 
@@ -579,6 +627,8 @@ public java.util.List getCustomersList() { } } /** + * + * *
      * The customers belonging to a reseller or distributor.
      * 
@@ -593,6 +643,8 @@ public int getCustomersCount() { } } /** + * + * *
      * The customers belonging to a reseller or distributor.
      * 
@@ -607,14 +659,15 @@ public com.google.cloud.channel.v1.Customer getCustomers(int index) { } } /** + * + * *
      * The customers belonging to a reseller or distributor.
      * 
* * repeated .google.cloud.channel.v1.Customer customers = 1; */ - public Builder setCustomers( - int index, com.google.cloud.channel.v1.Customer value) { + public Builder setCustomers(int index, com.google.cloud.channel.v1.Customer value) { if (customersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -628,6 +681,8 @@ public Builder setCustomers( return this; } /** + * + * *
      * The customers belonging to a reseller or distributor.
      * 
@@ -646,6 +701,8 @@ public Builder setCustomers( return this; } /** + * + * *
      * The customers belonging to a reseller or distributor.
      * 
@@ -666,14 +723,15 @@ public Builder addCustomers(com.google.cloud.channel.v1.Customer value) { return this; } /** + * + * *
      * The customers belonging to a reseller or distributor.
      * 
* * repeated .google.cloud.channel.v1.Customer customers = 1; */ - public Builder addCustomers( - int index, com.google.cloud.channel.v1.Customer value) { + public Builder addCustomers(int index, com.google.cloud.channel.v1.Customer value) { if (customersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -687,14 +745,15 @@ public Builder addCustomers( return this; } /** + * + * *
      * The customers belonging to a reseller or distributor.
      * 
* * repeated .google.cloud.channel.v1.Customer customers = 1; */ - public Builder addCustomers( - com.google.cloud.channel.v1.Customer.Builder builderForValue) { + public Builder addCustomers(com.google.cloud.channel.v1.Customer.Builder builderForValue) { if (customersBuilder_ == null) { ensureCustomersIsMutable(); customers_.add(builderForValue.build()); @@ -705,6 +764,8 @@ public Builder addCustomers( return this; } /** + * + * *
      * The customers belonging to a reseller or distributor.
      * 
@@ -723,6 +784,8 @@ public Builder addCustomers( return this; } /** + * + * *
      * The customers belonging to a reseller or distributor.
      * 
@@ -733,8 +796,7 @@ public Builder addAllCustomers( java.lang.Iterable values) { if (customersBuilder_ == null) { ensureCustomersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, customers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, customers_); onChanged(); } else { customersBuilder_.addAllMessages(values); @@ -742,6 +804,8 @@ public Builder addAllCustomers( return this; } /** + * + * *
      * The customers belonging to a reseller or distributor.
      * 
@@ -759,6 +823,8 @@ public Builder clearCustomers() { return this; } /** + * + * *
      * The customers belonging to a reseller or distributor.
      * 
@@ -776,39 +842,44 @@ public Builder removeCustomers(int index) { return this; } /** + * + * *
      * The customers belonging to a reseller or distributor.
      * 
* * repeated .google.cloud.channel.v1.Customer customers = 1; */ - public com.google.cloud.channel.v1.Customer.Builder getCustomersBuilder( - int index) { + public com.google.cloud.channel.v1.Customer.Builder getCustomersBuilder(int index) { return getCustomersFieldBuilder().getBuilder(index); } /** + * + * *
      * The customers belonging to a reseller or distributor.
      * 
* * repeated .google.cloud.channel.v1.Customer customers = 1; */ - public com.google.cloud.channel.v1.CustomerOrBuilder getCustomersOrBuilder( - int index) { + public com.google.cloud.channel.v1.CustomerOrBuilder getCustomersOrBuilder(int index) { if (customersBuilder_ == null) { - return customers_.get(index); } else { + return customers_.get(index); + } else { return customersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The customers belonging to a reseller or distributor.
      * 
* * repeated .google.cloud.channel.v1.Customer customers = 1; */ - public java.util.List - getCustomersOrBuilderList() { + public java.util.List + getCustomersOrBuilderList() { if (customersBuilder_ != null) { return customersBuilder_.getMessageOrBuilderList(); } else { @@ -816,6 +887,8 @@ public com.google.cloud.channel.v1.CustomerOrBuilder getCustomersOrBuilder( } } /** + * + * *
      * The customers belonging to a reseller or distributor.
      * 
@@ -823,42 +896,47 @@ public com.google.cloud.channel.v1.CustomerOrBuilder getCustomersOrBuilder( * repeated .google.cloud.channel.v1.Customer customers = 1; */ public com.google.cloud.channel.v1.Customer.Builder addCustomersBuilder() { - return getCustomersFieldBuilder().addBuilder( - com.google.cloud.channel.v1.Customer.getDefaultInstance()); + return getCustomersFieldBuilder() + .addBuilder(com.google.cloud.channel.v1.Customer.getDefaultInstance()); } /** + * + * *
      * The customers belonging to a reseller or distributor.
      * 
* * repeated .google.cloud.channel.v1.Customer customers = 1; */ - public com.google.cloud.channel.v1.Customer.Builder addCustomersBuilder( - int index) { - return getCustomersFieldBuilder().addBuilder( - index, com.google.cloud.channel.v1.Customer.getDefaultInstance()); + public com.google.cloud.channel.v1.Customer.Builder addCustomersBuilder(int index) { + return getCustomersFieldBuilder() + .addBuilder(index, com.google.cloud.channel.v1.Customer.getDefaultInstance()); } /** + * + * *
      * The customers belonging to a reseller or distributor.
      * 
* * repeated .google.cloud.channel.v1.Customer customers = 1; */ - public java.util.List - getCustomersBuilderList() { + public java.util.List getCustomersBuilderList() { return getCustomersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Customer, com.google.cloud.channel.v1.Customer.Builder, com.google.cloud.channel.v1.CustomerOrBuilder> + com.google.cloud.channel.v1.Customer, + com.google.cloud.channel.v1.Customer.Builder, + com.google.cloud.channel.v1.CustomerOrBuilder> getCustomersFieldBuilder() { if (customersBuilder_ == null) { - customersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Customer, com.google.cloud.channel.v1.Customer.Builder, com.google.cloud.channel.v1.CustomerOrBuilder>( - customers_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + customersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.Customer, + com.google.cloud.channel.v1.Customer.Builder, + com.google.cloud.channel.v1.CustomerOrBuilder>( + customers_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); customers_ = null; } return customersBuilder_; @@ -866,6 +944,8 @@ public com.google.cloud.channel.v1.Customer.Builder addCustomersBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve the next page of results.
      * Pass to
@@ -874,13 +954,13 @@ public com.google.cloud.channel.v1.Customer.Builder addCustomersBuilder(
      * 
* * 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; @@ -889,6 +969,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * Pass to
@@ -897,15 +979,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 { @@ -913,6 +994,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * Pass to
@@ -921,20 +1004,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 to retrieve the next page of results.
      * Pass to
@@ -943,15 +1028,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 to retrieve the next page of results.
      * Pass to
@@ -960,23 +1048,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); } @@ -986,12 +1074,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListCustomersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListCustomersResponse) private static final com.google.cloud.channel.v1.ListCustomersResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListCustomersResponse(); } @@ -1000,27 +1088,27 @@ public static com.google.cloud.channel.v1.ListCustomersResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCustomersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCustomersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1035,6 +1123,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListCustomersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponseOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponseOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponseOrBuilder.java index 934e7ca162c3..cef3f879df1c 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponseOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListCustomersResponseOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListCustomersResponseOrBuilder extends +public interface ListCustomersResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListCustomersResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The customers belonging to a reseller or distributor.
    * 
* * repeated .google.cloud.channel.v1.Customer customers = 1; */ - java.util.List - getCustomersList(); + java.util.List getCustomersList(); /** + * + * *
    * The customers belonging to a reseller or distributor.
    * 
@@ -25,6 +44,8 @@ public interface ListCustomersResponseOrBuilder extends */ com.google.cloud.channel.v1.Customer getCustomers(int index); /** + * + * *
    * The customers belonging to a reseller or distributor.
    * 
@@ -33,25 +54,30 @@ public interface ListCustomersResponseOrBuilder extends */ int getCustomersCount(); /** + * + * *
    * The customers belonging to a reseller or distributor.
    * 
* * repeated .google.cloud.channel.v1.Customer customers = 1; */ - java.util.List + java.util.List getCustomersOrBuilderList(); /** + * + * *
    * The customers belonging to a reseller or distributor.
    * 
* * repeated .google.cloud.channel.v1.Customer customers = 1; */ - com.google.cloud.channel.v1.CustomerOrBuilder getCustomersOrBuilder( - int index); + com.google.cloud.channel.v1.CustomerOrBuilder getCustomersOrBuilder(int index); /** + * + * *
    * A token to retrieve the next page of results.
    * Pass to
@@ -60,10 +86,13 @@ com.google.cloud.channel.v1.CustomerOrBuilder getCustomersOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve the next page of results.
    * Pass to
@@ -72,8 +101,8 @@ com.google.cloud.channel.v1.CustomerOrBuilder getCustomersOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequest.java similarity index 69% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequest.java index aba38361d86c..22e5af2718d5 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements]
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.ListEntitlementsRequest}
  */
-public final class ListEntitlementsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListEntitlementsRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListEntitlementsRequest)
     ListEntitlementsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListEntitlementsRequest.newBuilder() to construct.
   private ListEntitlementsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListEntitlementsRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -27,39 +45,45 @@ private ListEntitlementsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListEntitlementsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListEntitlementsRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ListEntitlementsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListEntitlementsRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ListEntitlementsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.ListEntitlementsRequest.class, com.google.cloud.channel.v1.ListEntitlementsRequest.Builder.class);
+            com.google.cloud.channel.v1.ListEntitlementsRequest.class,
+            com.google.cloud.channel.v1.ListEntitlementsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Required. The resource name of the reseller's customer account to list
    * entitlements for.
    * Parent uses the format: accounts/{account_id}/customers/{customer_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -68,31 +92,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the reseller's customer account to list
    * entitlements for.
    * Parent uses the format: accounts/{account_id}/customers/{customer_id}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -103,6 +129,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Optional. Requested page size. Server might return fewer results than
    * requested. If unspecified, return at most 50 entitlements. The maximum
@@ -110,6 +138,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -120,6 +149,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. A token for a page of results other than the first page.
    * Obtained using
@@ -130,6 +161,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -138,14 +170,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. A token for a page of results other than the first page.
    * Obtained using
@@ -156,16 +189,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -174,6 +206,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,8 +218,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -209,8 +241,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -223,19 +254,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.ListEntitlementsRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListEntitlementsRequest other = (com.google.cloud.channel.v1.ListEntitlementsRequest) obj; + com.google.cloud.channel.v1.ListEntitlementsRequest other = + (com.google.cloud.channel.v1.ListEntitlementsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -259,96 +288,103 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListEntitlementsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListEntitlementsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListEntitlementsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListEntitlementsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListEntitlementsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListEntitlementsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListEntitlementsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListEntitlementsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListEntitlementsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListEntitlementsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListEntitlementsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListEntitlementsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ListEntitlementsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListEntitlementsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.ListEntitlementsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements]
@@ -356,33 +392,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.ListEntitlementsRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListEntitlementsRequest)
       com.google.cloud.channel.v1.ListEntitlementsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListEntitlementsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListEntitlementsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListEntitlementsRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListEntitlementsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.ListEntitlementsRequest.class, com.google.cloud.channel.v1.ListEntitlementsRequest.Builder.class);
+              com.google.cloud.channel.v1.ListEntitlementsRequest.class,
+              com.google.cloud.channel.v1.ListEntitlementsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.ListEntitlementsRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -396,9 +431,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListEntitlementsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListEntitlementsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -417,7 +452,8 @@ public com.google.cloud.channel.v1.ListEntitlementsRequest build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.ListEntitlementsRequest buildPartial() {
-      com.google.cloud.channel.v1.ListEntitlementsRequest result = new com.google.cloud.channel.v1.ListEntitlementsRequest(this);
+      com.google.cloud.channel.v1.ListEntitlementsRequest result =
+          new com.google.cloud.channel.v1.ListEntitlementsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -429,38 +465,39 @@ public com.google.cloud.channel.v1.ListEntitlementsRequest 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.cloud.channel.v1.ListEntitlementsRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.ListEntitlementsRequest)other);
+        return mergeFrom((com.google.cloud.channel.v1.ListEntitlementsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -468,7 +505,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.ListEntitlementsRequest other) {
-      if (other == com.google.cloud.channel.v1.ListEntitlementsRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.ListEntitlementsRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -506,27 +544,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 16: {
-              pageSize_ = input.readInt32();
-
-              break;
-            } // case 16
-            case 26: {
-              pageToken_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 16:
+              {
+                pageSize_ = input.readInt32();
+
+                break;
+              } // case 16
+            case 26:
+              {
+                pageToken_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -539,20 +581,24 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The resource name of the reseller's customer account to list
      * entitlements for.
      * Parent uses the format: accounts/{account_id}/customers/{customer_id}
      * 
* - * string parent = 1 [(.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; @@ -561,22 +607,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the reseller's customer account to list
      * entitlements for.
      * Parent uses the format: accounts/{account_id}/customers/{customer_id}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -584,67 +633,82 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the reseller's customer account to list
      * entitlements for.
      * Parent uses the format: accounts/{account_id}/customers/{customer_id}
      * 
* - * string parent = 1 [(.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 reseller's customer account to list
      * entitlements for.
      * Parent uses the format: accounts/{account_id}/customers/{customer_id}
      * 
* - * string 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 reseller's customer account to list
      * entitlements for.
      * Parent uses the format: accounts/{account_id}/customers/{customer_id}
      * 
* - * string parent = 1 [(.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_; /** + * + * *
      * Optional. Requested page size. Server might return fewer results than
      * requested. If unspecified, return at most 50 entitlements. The maximum
@@ -652,6 +716,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -659,6 +724,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Requested page size. Server might return fewer results than
      * requested. If unspecified, return at most 50 entitlements. The maximum
@@ -666,16 +733,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.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. Requested page size. Server might return fewer results than
      * requested. If unspecified, return at most 50 entitlements. The maximum
@@ -683,10 +753,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -694,6 +765,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. A token for a page of results other than the first page.
      * Obtained using
@@ -704,13 +777,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -719,6 +792,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A token for a page of results other than the first page.
      * Obtained using
@@ -729,15 +804,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -745,6 +819,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A token for a page of results other than the first page.
      * Obtained using
@@ -755,20 +831,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Optional. A token for a page of results other than the first page.
      * Obtained using
@@ -779,15 +857,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. A token for a page of results other than the first page.
      * Obtained using
@@ -798,23 +879,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + 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); } @@ -824,12 +905,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListEntitlementsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListEntitlementsRequest) private static final com.google.cloud.channel.v1.ListEntitlementsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListEntitlementsRequest(); } @@ -838,27 +919,27 @@ public static com.google.cloud.channel.v1.ListEntitlementsRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEntitlementsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEntitlementsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -873,6 +954,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListEntitlementsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequestOrBuilder.java index 18c981cb911d..9c5cb86a4c85 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsRequestOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListEntitlementsRequestOrBuilder extends +public interface ListEntitlementsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListEntitlementsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the reseller's customer account to list
    * entitlements for.
    * Parent uses the format: accounts/{account_id}/customers/{customer_id}
    * 
* - * string parent = 1 [(.google.api.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 reseller's customer account to list
    * entitlements for.
    * Parent uses the format: accounts/{account_id}/customers/{customer_id}
    * 
* - * string parent = 1 [(.google.api.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. Requested page size. Server might return fewer results than
    * requested. If unspecified, return at most 50 entitlements. The maximum
@@ -39,11 +66,14 @@ public interface ListEntitlementsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. A token for a page of results other than the first page.
    * Obtained using
@@ -54,10 +84,13 @@ public interface ListEntitlementsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. A token for a page of results other than the first page.
    * Obtained using
@@ -68,8 +101,8 @@ public interface ListEntitlementsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponse.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponse.java similarity index 72% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponse.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponse.java index 2b2ba3e64dbf..b363ae34caf3 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponse.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponse.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Response message for
  * [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.ListEntitlementsResponse}
  */
-public final class ListEntitlementsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListEntitlementsResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListEntitlementsResponse)
     ListEntitlementsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListEntitlementsResponse.newBuilder() to construct.
   private ListEntitlementsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListEntitlementsResponse() {
     entitlements_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,32 +45,35 @@ private ListEntitlementsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListEntitlementsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListEntitlementsResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ListEntitlementsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListEntitlementsResponse_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ListEntitlementsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.ListEntitlementsResponse.class, com.google.cloud.channel.v1.ListEntitlementsResponse.Builder.class);
+            com.google.cloud.channel.v1.ListEntitlementsResponse.class,
+            com.google.cloud.channel.v1.ListEntitlementsResponse.Builder.class);
   }
 
   public static final int ENTITLEMENTS_FIELD_NUMBER = 1;
   private java.util.List entitlements_;
   /**
+   *
+   *
    * 
    * The reseller customer's entitlements.
    * 
@@ -64,6 +85,8 @@ public java.util.List getEntitlementsLi return entitlements_; } /** + * + * *
    * The reseller customer's entitlements.
    * 
@@ -71,11 +94,13 @@ public java.util.List getEntitlementsLi * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ @java.lang.Override - public java.util.List + public java.util.List getEntitlementsOrBuilderList() { return entitlements_; } /** + * + * *
    * The reseller customer's entitlements.
    * 
@@ -87,6 +112,8 @@ public int getEntitlementsCount() { return entitlements_.size(); } /** + * + * *
    * The reseller customer's entitlements.
    * 
@@ -98,6 +125,8 @@ public com.google.cloud.channel.v1.Entitlement getEntitlements(int index) { return entitlements_.get(index); } /** + * + * *
    * The reseller customer's entitlements.
    * 
@@ -105,14 +134,15 @@ public com.google.cloud.channel.v1.Entitlement getEntitlements(int index) { * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ @java.lang.Override - public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder( - int index) { + public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder(int index) { return entitlements_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token to list the next page of results.
    * Pass to
@@ -121,6 +151,7 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -129,14 +160,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 to list the next page of results.
    * Pass to
@@ -145,16 +177,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 { @@ -163,6 +194,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +206,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < entitlements_.size(); i++) { output.writeMessage(1, entitlements_.get(i)); } @@ -192,8 +223,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < entitlements_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, entitlements_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, entitlements_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -206,17 +236,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.ListEntitlementsResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListEntitlementsResponse other = (com.google.cloud.channel.v1.ListEntitlementsResponse) obj; + com.google.cloud.channel.v1.ListEntitlementsResponse other = + (com.google.cloud.channel.v1.ListEntitlementsResponse) obj; - if (!getEntitlementsList() - .equals(other.getEntitlementsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getEntitlementsList().equals(other.getEntitlementsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -240,96 +269,103 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListEntitlementsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListEntitlementsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListEntitlementsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListEntitlementsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListEntitlementsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListEntitlementsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListEntitlementsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListEntitlementsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListEntitlementsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListEntitlementsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListEntitlementsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListEntitlementsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ListEntitlementsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListEntitlementsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.ListEntitlementsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements].
@@ -337,33 +373,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.ListEntitlementsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListEntitlementsResponse)
       com.google.cloud.channel.v1.ListEntitlementsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListEntitlementsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListEntitlementsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListEntitlementsResponse_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListEntitlementsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.ListEntitlementsResponse.class, com.google.cloud.channel.v1.ListEntitlementsResponse.Builder.class);
+              com.google.cloud.channel.v1.ListEntitlementsResponse.class,
+              com.google.cloud.channel.v1.ListEntitlementsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.ListEntitlementsResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -380,9 +415,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListEntitlementsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListEntitlementsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -401,7 +436,8 @@ public com.google.cloud.channel.v1.ListEntitlementsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.ListEntitlementsResponse buildPartial() {
-      com.google.cloud.channel.v1.ListEntitlementsResponse result = new com.google.cloud.channel.v1.ListEntitlementsResponse(this);
+      com.google.cloud.channel.v1.ListEntitlementsResponse result =
+          new com.google.cloud.channel.v1.ListEntitlementsResponse(this);
       int from_bitField0_ = bitField0_;
       if (entitlementsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -421,38 +457,39 @@ public com.google.cloud.channel.v1.ListEntitlementsResponse 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.cloud.channel.v1.ListEntitlementsResponse) {
-        return mergeFrom((com.google.cloud.channel.v1.ListEntitlementsResponse)other);
+        return mergeFrom((com.google.cloud.channel.v1.ListEntitlementsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -460,7 +497,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.ListEntitlementsResponse other) {
-      if (other == com.google.cloud.channel.v1.ListEntitlementsResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.ListEntitlementsResponse.getDefaultInstance())
+        return this;
       if (entitlementsBuilder_ == null) {
         if (!other.entitlements_.isEmpty()) {
           if (entitlements_.isEmpty()) {
@@ -479,9 +517,10 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ListEntitlementsResponse ot
             entitlementsBuilder_ = null;
             entitlements_ = other.entitlements_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            entitlementsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getEntitlementsFieldBuilder() : null;
+            entitlementsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getEntitlementsFieldBuilder()
+                    : null;
           } else {
             entitlementsBuilder_.addAllMessages(other.entitlements_);
           }
@@ -517,30 +556,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.channel.v1.Entitlement m =
-                  input.readMessage(
-                      com.google.cloud.channel.v1.Entitlement.parser(),
-                      extensionRegistry);
-              if (entitlementsBuilder_ == null) {
-                ensureEntitlementsIsMutable();
-                entitlements_.add(m);
-              } else {
-                entitlementsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            case 18: {
-              nextPageToken_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                com.google.cloud.channel.v1.Entitlement m =
+                    input.readMessage(
+                        com.google.cloud.channel.v1.Entitlement.parser(), extensionRegistry);
+                if (entitlementsBuilder_ == null) {
+                  ensureEntitlementsIsMutable();
+                  entitlements_.add(m);
+                } else {
+                  entitlementsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -550,21 +591,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List entitlements_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureEntitlementsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        entitlements_ = new java.util.ArrayList(entitlements_);
+        entitlements_ =
+            new java.util.ArrayList(entitlements_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.channel.v1.Entitlement, com.google.cloud.channel.v1.Entitlement.Builder, com.google.cloud.channel.v1.EntitlementOrBuilder> entitlementsBuilder_;
+            com.google.cloud.channel.v1.Entitlement,
+            com.google.cloud.channel.v1.Entitlement.Builder,
+            com.google.cloud.channel.v1.EntitlementOrBuilder>
+        entitlementsBuilder_;
 
     /**
+     *
+     *
      * 
      * The reseller customer's entitlements.
      * 
@@ -579,6 +628,8 @@ public java.util.List getEntitlementsLi } } /** + * + * *
      * The reseller customer's entitlements.
      * 
@@ -593,6 +644,8 @@ public int getEntitlementsCount() { } } /** + * + * *
      * The reseller customer's entitlements.
      * 
@@ -607,14 +660,15 @@ public com.google.cloud.channel.v1.Entitlement getEntitlements(int index) { } } /** + * + * *
      * The reseller customer's entitlements.
      * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - public Builder setEntitlements( - int index, com.google.cloud.channel.v1.Entitlement value) { + public Builder setEntitlements(int index, com.google.cloud.channel.v1.Entitlement value) { if (entitlementsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -628,6 +682,8 @@ public Builder setEntitlements( return this; } /** + * + * *
      * The reseller customer's entitlements.
      * 
@@ -646,6 +702,8 @@ public Builder setEntitlements( return this; } /** + * + * *
      * The reseller customer's entitlements.
      * 
@@ -666,14 +724,15 @@ public Builder addEntitlements(com.google.cloud.channel.v1.Entitlement value) { return this; } /** + * + * *
      * The reseller customer's entitlements.
      * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - public Builder addEntitlements( - int index, com.google.cloud.channel.v1.Entitlement value) { + public Builder addEntitlements(int index, com.google.cloud.channel.v1.Entitlement value) { if (entitlementsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -687,6 +746,8 @@ public Builder addEntitlements( return this; } /** + * + * *
      * The reseller customer's entitlements.
      * 
@@ -705,6 +766,8 @@ public Builder addEntitlements( return this; } /** + * + * *
      * The reseller customer's entitlements.
      * 
@@ -723,6 +786,8 @@ public Builder addEntitlements( return this; } /** + * + * *
      * The reseller customer's entitlements.
      * 
@@ -733,8 +798,7 @@ public Builder addAllEntitlements( java.lang.Iterable values) { if (entitlementsBuilder_ == null) { ensureEntitlementsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, entitlements_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entitlements_); onChanged(); } else { entitlementsBuilder_.addAllMessages(values); @@ -742,6 +806,8 @@ public Builder addAllEntitlements( return this; } /** + * + * *
      * The reseller customer's entitlements.
      * 
@@ -759,6 +825,8 @@ public Builder clearEntitlements() { return this; } /** + * + * *
      * The reseller customer's entitlements.
      * 
@@ -776,39 +844,44 @@ public Builder removeEntitlements(int index) { return this; } /** + * + * *
      * The reseller customer's entitlements.
      * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - public com.google.cloud.channel.v1.Entitlement.Builder getEntitlementsBuilder( - int index) { + public com.google.cloud.channel.v1.Entitlement.Builder getEntitlementsBuilder(int index) { return getEntitlementsFieldBuilder().getBuilder(index); } /** + * + * *
      * The reseller customer's entitlements.
      * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder( - int index) { + public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder(int index) { if (entitlementsBuilder_ == null) { - return entitlements_.get(index); } else { + return entitlements_.get(index); + } else { return entitlementsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The reseller customer's entitlements.
      * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - public java.util.List - getEntitlementsOrBuilderList() { + public java.util.List + getEntitlementsOrBuilderList() { if (entitlementsBuilder_ != null) { return entitlementsBuilder_.getMessageOrBuilderList(); } else { @@ -816,6 +889,8 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder } } /** + * + * *
      * The reseller customer's entitlements.
      * 
@@ -823,42 +898,48 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder() { - return getEntitlementsFieldBuilder().addBuilder( - com.google.cloud.channel.v1.Entitlement.getDefaultInstance()); + return getEntitlementsFieldBuilder() + .addBuilder(com.google.cloud.channel.v1.Entitlement.getDefaultInstance()); } /** + * + * *
      * The reseller customer's entitlements.
      * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder( - int index) { - return getEntitlementsFieldBuilder().addBuilder( - index, com.google.cloud.channel.v1.Entitlement.getDefaultInstance()); + public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder(int index) { + return getEntitlementsFieldBuilder() + .addBuilder(index, com.google.cloud.channel.v1.Entitlement.getDefaultInstance()); } /** + * + * *
      * The reseller customer's entitlements.
      * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - public java.util.List - getEntitlementsBuilderList() { + public java.util.List + getEntitlementsBuilderList() { return getEntitlementsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Entitlement, com.google.cloud.channel.v1.Entitlement.Builder, com.google.cloud.channel.v1.EntitlementOrBuilder> + com.google.cloud.channel.v1.Entitlement, + com.google.cloud.channel.v1.Entitlement.Builder, + com.google.cloud.channel.v1.EntitlementOrBuilder> getEntitlementsFieldBuilder() { if (entitlementsBuilder_ == null) { - entitlementsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Entitlement, com.google.cloud.channel.v1.Entitlement.Builder, com.google.cloud.channel.v1.EntitlementOrBuilder>( - entitlements_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + entitlementsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.Entitlement, + com.google.cloud.channel.v1.Entitlement.Builder, + com.google.cloud.channel.v1.EntitlementOrBuilder>( + entitlements_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); entitlements_ = null; } return entitlementsBuilder_; @@ -866,6 +947,8 @@ public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to list the next page of results.
      * Pass to
@@ -874,13 +957,13 @@ public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder(
      * 
* * 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; @@ -889,6 +972,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to list the next page of results.
      * Pass to
@@ -897,15 +982,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 { @@ -913,6 +997,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to list the next page of results.
      * Pass to
@@ -921,20 +1007,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 to list the next page of results.
      * Pass to
@@ -943,15 +1031,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 to list the next page of results.
      * Pass to
@@ -960,23 +1051,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); } @@ -986,12 +1077,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListEntitlementsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListEntitlementsResponse) private static final com.google.cloud.channel.v1.ListEntitlementsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListEntitlementsResponse(); } @@ -1000,27 +1091,27 @@ public static com.google.cloud.channel.v1.ListEntitlementsResponse getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEntitlementsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEntitlementsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1035,6 +1126,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListEntitlementsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponseOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponseOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponseOrBuilder.java index 5f01d01446ce..99da64e0112e 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponseOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListEntitlementsResponseOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListEntitlementsResponseOrBuilder extends +public interface ListEntitlementsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListEntitlementsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The reseller customer's entitlements.
    * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - java.util.List - getEntitlementsList(); + java.util.List getEntitlementsList(); /** + * + * *
    * The reseller customer's entitlements.
    * 
@@ -25,6 +44,8 @@ public interface ListEntitlementsResponseOrBuilder extends */ com.google.cloud.channel.v1.Entitlement getEntitlements(int index); /** + * + * *
    * The reseller customer's entitlements.
    * 
@@ -33,25 +54,30 @@ public interface ListEntitlementsResponseOrBuilder extends */ int getEntitlementsCount(); /** + * + * *
    * The reseller customer's entitlements.
    * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - java.util.List + java.util.List getEntitlementsOrBuilderList(); /** + * + * *
    * The reseller customer's entitlements.
    * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder( - int index); + com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder(int index); /** + * + * *
    * A token to list the next page of results.
    * Pass to
@@ -60,10 +86,13 @@ com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to list the next page of results.
    * Pass to
@@ -72,8 +101,8 @@ com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequest.java similarity index 73% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequest.java index 090b1c9b56fb..5f372599f525 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for ListOffers.
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListOffersRequest} */ -public final class ListOffersRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListOffersRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListOffersRequest) ListOffersRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListOffersRequest.newBuilder() to construct. private ListOffersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListOffersRequest() { parent_ = ""; pageToken_ = ""; @@ -28,38 +46,42 @@ private ListOffersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListOffersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListOffersRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListOffersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListOffersRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListOffersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListOffersRequest.class, com.google.cloud.channel.v1.ListOffersRequest.Builder.class); + com.google.cloud.channel.v1.ListOffersRequest.class, + com.google.cloud.channel.v1.ListOffersRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The resource name of the reseller account from which to list
    * Offers. Parent uses the format: accounts/{account_id}.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -68,30 +90,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 reseller account from which to list
    * Offers. Parent uses the format: accounts/{account_id}.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -102,6 +124,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Optional. Requested page size. Server might return fewer results than
    * requested. If unspecified, returns at most 500 Offers. The maximum value is
@@ -109,6 +133,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -119,11 +144,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. A token for a page of results other than the first page.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -132,29 +160,29 @@ 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 token for a page of results other than the first page.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -165,6 +193,8 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * Optional. The expression to filter results by name (name of
    * the Offer), sku.name (name of the SKU), or sku.product.name (name of the
@@ -174,6 +204,7 @@ public java.lang.String getPageToken() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -182,14 +213,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; } } /** + * + * *
    * Optional. The expression to filter results by name (name of
    * the Offer), sku.name (name of the SKU), or sku.product.name (name of the
@@ -199,16 +231,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -219,6 +250,8 @@ public java.lang.String getFilter() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 5; private volatile java.lang.Object languageCode_; /** + * + * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -226,6 +259,7 @@ public java.lang.String getFilter() {
    * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ @java.lang.Override @@ -234,14 +268,15 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** + * + * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -249,16 +284,15 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -267,6 +301,7 @@ public java.lang.String getLanguageCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -278,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_); } @@ -308,8 +342,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_); @@ -328,23 +361,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.cloud.channel.v1.ListOffersRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListOffersRequest other = (com.google.cloud.channel.v1.ListOffersRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getLanguageCode() - .equals(other.getLanguageCode())) return false; + com.google.cloud.channel.v1.ListOffersRequest other = + (com.google.cloud.channel.v1.ListOffersRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getLanguageCode().equals(other.getLanguageCode())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -371,130 +400,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ListOffersRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.ListOffersRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListOffersRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListOffersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListOffersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListOffersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListOffersRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListOffersRequest 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.cloud.channel.v1.ListOffersRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListOffersRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListOffersRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListOffersRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ListOffersRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListOffersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.ListOffersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListOffers.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListOffersRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListOffersRequest) com.google.cloud.channel.v1.ListOffersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListOffersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListOffersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListOffersRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListOffersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListOffersRequest.class, com.google.cloud.channel.v1.ListOffersRequest.Builder.class); + com.google.cloud.channel.v1.ListOffersRequest.class, + com.google.cloud.channel.v1.ListOffersRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.ListOffersRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -512,9 +547,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListOffersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListOffersRequest_descriptor; } @java.lang.Override @@ -533,7 +568,8 @@ public com.google.cloud.channel.v1.ListOffersRequest build() { @java.lang.Override public com.google.cloud.channel.v1.ListOffersRequest buildPartial() { - com.google.cloud.channel.v1.ListOffersRequest result = new com.google.cloud.channel.v1.ListOffersRequest(this); + com.google.cloud.channel.v1.ListOffersRequest result = + new com.google.cloud.channel.v1.ListOffersRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -547,38 +583,39 @@ public com.google.cloud.channel.v1.ListOffersRequest 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.cloud.channel.v1.ListOffersRequest) { - return mergeFrom((com.google.cloud.channel.v1.ListOffersRequest)other); + return mergeFrom((com.google.cloud.channel.v1.ListOffersRequest) other); } else { super.mergeFrom(other); return this; @@ -632,37 +669,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 42: { - languageCode_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 42: + { + languageCode_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -675,19 +718,21 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the reseller account from which to list
      * Offers. Parent uses the format: accounts/{account_id}.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -696,21 +741,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the reseller account from which to list
      * Offers. Parent uses the format: accounts/{account_id}.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -718,64 +764,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the reseller account from which to list
      * Offers. Parent uses the format: accounts/{account_id}.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 reseller account from which to list
      * Offers. Parent uses the format: accounts/{account_id}.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the reseller account from which to list
      * Offers. Parent uses the format: accounts/{account_id}.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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_; /** + * + * *
      * Optional. Requested page size. Server might return fewer results than
      * requested. If unspecified, returns at most 500 Offers. The maximum value is
@@ -783,6 +838,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -790,6 +846,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Requested page size. Server might return fewer results than
      * requested. If unspecified, returns at most 500 Offers. The maximum value is
@@ -797,16 +855,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.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. Requested page size. Server might return fewer results than
      * requested. If unspecified, returns at most 500 Offers. The maximum value is
@@ -814,10 +875,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -825,18 +887,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -845,20 +909,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -866,54 +931,61 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + 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; @@ -921,6 +993,8 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. The expression to filter results by name (name of
      * the Offer), sku.name (name of the SKU), or sku.product.name (name of the
@@ -930,13 +1004,13 @@ public Builder setPageTokenBytes(
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -945,6 +1019,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. The expression to filter results by name (name of
      * the Offer), sku.name (name of the SKU), or sku.product.name (name of the
@@ -954,15 +1030,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -970,6 +1045,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. The expression to filter results by name (name of
      * the Offer), sku.name (name of the SKU), or sku.product.name (name of the
@@ -979,20 +1056,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; } /** + * + * *
      * Optional. The expression to filter results by name (name of
      * the Offer), sku.name (name of the SKU), or sku.product.name (name of the
@@ -1002,15 +1081,18 @@ public Builder setFilter(
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Optional. The expression to filter results by name (name of
      * the Offer), sku.name (name of the SKU), or sku.product.name (name of the
@@ -1020,16 +1102,16 @@ public Builder clearFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -1037,6 +1119,8 @@ public Builder setFilterBytes( private java.lang.Object languageCode_ = ""; /** + * + * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1044,13 +1128,13 @@ public Builder setFilterBytes(
      * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -1059,6 +1143,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1066,15 +1152,14 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -1082,6 +1167,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1089,20 +1176,22 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode( - java.lang.String value) { + public Builder setLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1110,15 +1199,18 @@ public Builder setLanguageCode(
      * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** + * + * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1126,23 +1218,23 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = 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); } @@ -1152,12 +1244,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListOffersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListOffersRequest) private static final com.google.cloud.channel.v1.ListOffersRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListOffersRequest(); } @@ -1166,27 +1258,27 @@ public static com.google.cloud.channel.v1.ListOffersRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOffersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOffersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1201,6 +1293,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListOffersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequestOrBuilder.java similarity index 77% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequestOrBuilder.java index a9fa70ab7353..90a14692c938 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersRequestOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListOffersRequestOrBuilder extends +public interface ListOffersRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListOffersRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the reseller account from which to list
    * Offers. Parent uses the format: accounts/{account_id}.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the reseller account from which to list
    * Offers. Parent uses the format: accounts/{account_id}.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. Requested page size. Server might return fewer results than
    * requested. If unspecified, returns at most 500 Offers. The maximum value is
@@ -37,31 +60,39 @@ public interface ListOffersRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. A token for a page of results other than the first page.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. A token for a page of results other than the first page.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. The expression to filter results by name (name of
    * the Offer), sku.name (name of the SKU), or sku.product.name (name of the
@@ -71,10 +102,13 @@ public interface ListOffersRequestOrBuilder extends
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. The expression to filter results by name (name of
    * the Offer), sku.name (name of the SKU), or sku.product.name (name of the
@@ -84,12 +118,14 @@ public interface ListOffersRequestOrBuilder extends
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -97,10 +133,13 @@ public interface ListOffersRequestOrBuilder extends
    * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ java.lang.String getLanguageCode(); /** + * + * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -108,8 +147,8 @@ public interface ListOffersRequestOrBuilder extends
    * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString - getLanguageCodeBytes(); + com.google.protobuf.ByteString getLanguageCodeBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponse.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponse.java similarity index 70% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponse.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponse.java index 685c91c99b9e..f7403573f648 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponse.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponse.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Response message for ListOffers.
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListOffersResponse} */ -public final class ListOffersResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListOffersResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListOffersResponse) ListOffersResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListOffersResponse.newBuilder() to construct. private ListOffersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListOffersResponse() { offers_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,32 +44,35 @@ private ListOffersResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListOffersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListOffersResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListOffersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListOffersResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListOffersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListOffersResponse.class, com.google.cloud.channel.v1.ListOffersResponse.Builder.class); + com.google.cloud.channel.v1.ListOffersResponse.class, + com.google.cloud.channel.v1.ListOffersResponse.Builder.class); } public static final int OFFERS_FIELD_NUMBER = 1; private java.util.List offers_; /** + * + * *
    * The list of Offers requested.
    * 
@@ -63,6 +84,8 @@ public java.util.List getOffersList() { return offers_; } /** + * + * *
    * The list of Offers requested.
    * 
@@ -70,11 +93,13 @@ public java.util.List getOffersList() { * repeated .google.cloud.channel.v1.Offer offers = 1; */ @java.lang.Override - public java.util.List + public java.util.List getOffersOrBuilderList() { return offers_; } /** + * + * *
    * The list of Offers requested.
    * 
@@ -86,6 +111,8 @@ public int getOffersCount() { return offers_.size(); } /** + * + * *
    * The list of Offers requested.
    * 
@@ -97,6 +124,8 @@ public com.google.cloud.channel.v1.Offer getOffers(int index) { return offers_.get(index); } /** + * + * *
    * The list of Offers requested.
    * 
@@ -104,19 +133,21 @@ public com.google.cloud.channel.v1.Offer getOffers(int index) { * repeated .google.cloud.channel.v1.Offer offers = 1; */ @java.lang.Override - public com.google.cloud.channel.v1.OfferOrBuilder getOffersOrBuilder( - int index) { + public com.google.cloud.channel.v1.OfferOrBuilder getOffersOrBuilder(int index) { return offers_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,29 +156,29 @@ 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 to retrieve the next page of results.
    * 
* * 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 { @@ -156,6 +187,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,8 +199,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < offers_.size(); i++) { output.writeMessage(1, offers_.get(i)); } @@ -185,8 +216,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < offers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, offers_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, offers_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -199,17 +229,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.cloud.channel.v1.ListOffersResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListOffersResponse other = (com.google.cloud.channel.v1.ListOffersResponse) obj; + com.google.cloud.channel.v1.ListOffersResponse other = + (com.google.cloud.channel.v1.ListOffersResponse) obj; - if (!getOffersList() - .equals(other.getOffersList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getOffersList().equals(other.getOffersList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -232,130 +261,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ListOffersResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.ListOffersResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListOffersResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListOffersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListOffersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListOffersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListOffersResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListOffersResponse 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.cloud.channel.v1.ListOffersResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListOffersResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListOffersResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListOffersResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ListOffersResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListOffersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.ListOffersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 ListOffers.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListOffersResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListOffersResponse) com.google.cloud.channel.v1.ListOffersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListOffersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListOffersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListOffersResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListOffersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListOffersResponse.class, com.google.cloud.channel.v1.ListOffersResponse.Builder.class); + com.google.cloud.channel.v1.ListOffersResponse.class, + com.google.cloud.channel.v1.ListOffersResponse.Builder.class); } // Construct using com.google.cloud.channel.v1.ListOffersResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -372,9 +407,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListOffersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListOffersResponse_descriptor; } @java.lang.Override @@ -393,7 +428,8 @@ public com.google.cloud.channel.v1.ListOffersResponse build() { @java.lang.Override public com.google.cloud.channel.v1.ListOffersResponse buildPartial() { - com.google.cloud.channel.v1.ListOffersResponse result = new com.google.cloud.channel.v1.ListOffersResponse(this); + com.google.cloud.channel.v1.ListOffersResponse result = + new com.google.cloud.channel.v1.ListOffersResponse(this); int from_bitField0_ = bitField0_; if (offersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -413,38 +449,39 @@ public com.google.cloud.channel.v1.ListOffersResponse 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.cloud.channel.v1.ListOffersResponse) { - return mergeFrom((com.google.cloud.channel.v1.ListOffersResponse)other); + return mergeFrom((com.google.cloud.channel.v1.ListOffersResponse) other); } else { super.mergeFrom(other); return this; @@ -471,9 +508,10 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ListOffersResponse other) { offersBuilder_ = null; offers_ = other.offers_; bitField0_ = (bitField0_ & ~0x00000001); - offersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getOffersFieldBuilder() : null; + offersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getOffersFieldBuilder() + : null; } else { offersBuilder_.addAllMessages(other.offers_); } @@ -509,30 +547,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.channel.v1.Offer m = - input.readMessage( - com.google.cloud.channel.v1.Offer.parser(), - extensionRegistry); - if (offersBuilder_ == null) { - ensureOffersIsMutable(); - offers_.add(m); - } else { - offersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: + { + com.google.cloud.channel.v1.Offer m = + input.readMessage( + com.google.cloud.channel.v1.Offer.parser(), extensionRegistry); + if (offersBuilder_ == null) { + ensureOffersIsMutable(); + offers_.add(m); + } else { + offersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -542,21 +582,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List offers_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureOffersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { offers_ = new java.util.ArrayList(offers_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Offer, com.google.cloud.channel.v1.Offer.Builder, com.google.cloud.channel.v1.OfferOrBuilder> offersBuilder_; + com.google.cloud.channel.v1.Offer, + com.google.cloud.channel.v1.Offer.Builder, + com.google.cloud.channel.v1.OfferOrBuilder> + offersBuilder_; /** + * + * *
      * The list of Offers requested.
      * 
@@ -571,6 +618,8 @@ public java.util.List getOffersList() { } } /** + * + * *
      * The list of Offers requested.
      * 
@@ -585,6 +634,8 @@ public int getOffersCount() { } } /** + * + * *
      * The list of Offers requested.
      * 
@@ -599,14 +650,15 @@ public com.google.cloud.channel.v1.Offer getOffers(int index) { } } /** + * + * *
      * The list of Offers requested.
      * 
* * repeated .google.cloud.channel.v1.Offer offers = 1; */ - public Builder setOffers( - int index, com.google.cloud.channel.v1.Offer value) { + public Builder setOffers(int index, com.google.cloud.channel.v1.Offer value) { if (offersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -620,14 +672,15 @@ public Builder setOffers( return this; } /** + * + * *
      * The list of Offers requested.
      * 
* * repeated .google.cloud.channel.v1.Offer offers = 1; */ - public Builder setOffers( - int index, com.google.cloud.channel.v1.Offer.Builder builderForValue) { + public Builder setOffers(int index, com.google.cloud.channel.v1.Offer.Builder builderForValue) { if (offersBuilder_ == null) { ensureOffersIsMutable(); offers_.set(index, builderForValue.build()); @@ -638,6 +691,8 @@ public Builder setOffers( return this; } /** + * + * *
      * The list of Offers requested.
      * 
@@ -658,14 +713,15 @@ public Builder addOffers(com.google.cloud.channel.v1.Offer value) { return this; } /** + * + * *
      * The list of Offers requested.
      * 
* * repeated .google.cloud.channel.v1.Offer offers = 1; */ - public Builder addOffers( - int index, com.google.cloud.channel.v1.Offer value) { + public Builder addOffers(int index, com.google.cloud.channel.v1.Offer value) { if (offersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -679,14 +735,15 @@ public Builder addOffers( return this; } /** + * + * *
      * The list of Offers requested.
      * 
* * repeated .google.cloud.channel.v1.Offer offers = 1; */ - public Builder addOffers( - com.google.cloud.channel.v1.Offer.Builder builderForValue) { + public Builder addOffers(com.google.cloud.channel.v1.Offer.Builder builderForValue) { if (offersBuilder_ == null) { ensureOffersIsMutable(); offers_.add(builderForValue.build()); @@ -697,14 +754,15 @@ public Builder addOffers( return this; } /** + * + * *
      * The list of Offers requested.
      * 
* * repeated .google.cloud.channel.v1.Offer offers = 1; */ - public Builder addOffers( - int index, com.google.cloud.channel.v1.Offer.Builder builderForValue) { + public Builder addOffers(int index, com.google.cloud.channel.v1.Offer.Builder builderForValue) { if (offersBuilder_ == null) { ensureOffersIsMutable(); offers_.add(index, builderForValue.build()); @@ -715,6 +773,8 @@ public Builder addOffers( return this; } /** + * + * *
      * The list of Offers requested.
      * 
@@ -725,8 +785,7 @@ public Builder addAllOffers( java.lang.Iterable values) { if (offersBuilder_ == null) { ensureOffersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, offers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, offers_); onChanged(); } else { offersBuilder_.addAllMessages(values); @@ -734,6 +793,8 @@ public Builder addAllOffers( return this; } /** + * + * *
      * The list of Offers requested.
      * 
@@ -751,6 +812,8 @@ public Builder clearOffers() { return this; } /** + * + * *
      * The list of Offers requested.
      * 
@@ -768,39 +831,44 @@ public Builder removeOffers(int index) { return this; } /** + * + * *
      * The list of Offers requested.
      * 
* * repeated .google.cloud.channel.v1.Offer offers = 1; */ - public com.google.cloud.channel.v1.Offer.Builder getOffersBuilder( - int index) { + public com.google.cloud.channel.v1.Offer.Builder getOffersBuilder(int index) { return getOffersFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of Offers requested.
      * 
* * repeated .google.cloud.channel.v1.Offer offers = 1; */ - public com.google.cloud.channel.v1.OfferOrBuilder getOffersOrBuilder( - int index) { + public com.google.cloud.channel.v1.OfferOrBuilder getOffersOrBuilder(int index) { if (offersBuilder_ == null) { - return offers_.get(index); } else { + return offers_.get(index); + } else { return offersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of Offers requested.
      * 
* * repeated .google.cloud.channel.v1.Offer offers = 1; */ - public java.util.List - getOffersOrBuilderList() { + public java.util.List + getOffersOrBuilderList() { if (offersBuilder_ != null) { return offersBuilder_.getMessageOrBuilderList(); } else { @@ -808,6 +876,8 @@ public com.google.cloud.channel.v1.OfferOrBuilder getOffersOrBuilder( } } /** + * + * *
      * The list of Offers requested.
      * 
@@ -815,42 +885,47 @@ public com.google.cloud.channel.v1.OfferOrBuilder getOffersOrBuilder( * repeated .google.cloud.channel.v1.Offer offers = 1; */ public com.google.cloud.channel.v1.Offer.Builder addOffersBuilder() { - return getOffersFieldBuilder().addBuilder( - com.google.cloud.channel.v1.Offer.getDefaultInstance()); + return getOffersFieldBuilder() + .addBuilder(com.google.cloud.channel.v1.Offer.getDefaultInstance()); } /** + * + * *
      * The list of Offers requested.
      * 
* * repeated .google.cloud.channel.v1.Offer offers = 1; */ - public com.google.cloud.channel.v1.Offer.Builder addOffersBuilder( - int index) { - return getOffersFieldBuilder().addBuilder( - index, com.google.cloud.channel.v1.Offer.getDefaultInstance()); + public com.google.cloud.channel.v1.Offer.Builder addOffersBuilder(int index) { + return getOffersFieldBuilder() + .addBuilder(index, com.google.cloud.channel.v1.Offer.getDefaultInstance()); } /** + * + * *
      * The list of Offers requested.
      * 
* * repeated .google.cloud.channel.v1.Offer offers = 1; */ - public java.util.List - getOffersBuilderList() { + public java.util.List getOffersBuilderList() { return getOffersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Offer, com.google.cloud.channel.v1.Offer.Builder, com.google.cloud.channel.v1.OfferOrBuilder> + com.google.cloud.channel.v1.Offer, + com.google.cloud.channel.v1.Offer.Builder, + com.google.cloud.channel.v1.OfferOrBuilder> getOffersFieldBuilder() { if (offersBuilder_ == null) { - offersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Offer, com.google.cloud.channel.v1.Offer.Builder, com.google.cloud.channel.v1.OfferOrBuilder>( - offers_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + offersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.Offer, + com.google.cloud.channel.v1.Offer.Builder, + com.google.cloud.channel.v1.OfferOrBuilder>( + offers_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); offers_ = null; } return offersBuilder_; @@ -858,18 +933,20 @@ public com.google.cloud.channel.v1.Offer.Builder addOffersBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * 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; @@ -878,20 +955,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * 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 { @@ -899,61 +977,68 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * 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 to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * 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); } @@ -963,12 +1048,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListOffersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListOffersResponse) private static final com.google.cloud.channel.v1.ListOffersResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListOffersResponse(); } @@ -977,27 +1062,27 @@ public static com.google.cloud.channel.v1.ListOffersResponse getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOffersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOffersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1012,6 +1097,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListOffersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponseOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponseOrBuilder.java similarity index 64% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponseOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponseOrBuilder.java index 08bf54a7a587..47c050a46445 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponseOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListOffersResponseOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListOffersResponseOrBuilder extends +public interface ListOffersResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListOffersResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of Offers requested.
    * 
* * repeated .google.cloud.channel.v1.Offer offers = 1; */ - java.util.List - getOffersList(); + java.util.List getOffersList(); /** + * + * *
    * The list of Offers requested.
    * 
@@ -25,6 +44,8 @@ public interface ListOffersResponseOrBuilder extends */ com.google.cloud.channel.v1.Offer getOffers(int index); /** + * + * *
    * The list of Offers requested.
    * 
@@ -33,41 +54,48 @@ public interface ListOffersResponseOrBuilder extends */ int getOffersCount(); /** + * + * *
    * The list of Offers requested.
    * 
* * repeated .google.cloud.channel.v1.Offer offers = 1; */ - java.util.List - getOffersOrBuilderList(); + java.util.List getOffersOrBuilderList(); /** + * + * *
    * The list of Offers requested.
    * 
* * repeated .google.cloud.channel.v1.Offer offers = 1; */ - com.google.cloud.channel.v1.OfferOrBuilder getOffersOrBuilder( - int index); + com.google.cloud.channel.v1.OfferOrBuilder getOffersOrBuilder(int index); /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequest.java similarity index 71% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequest.java index fc76a963aed9..e2b2aa202af4 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for ListProducts.
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListProductsRequest} */ -public final class ListProductsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListProductsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListProductsRequest) ListProductsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListProductsRequest.newBuilder() to construct. private ListProductsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListProductsRequest() { account_ = ""; pageToken_ = ""; @@ -27,38 +45,42 @@ private ListProductsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListProductsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListProductsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListProductsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListProductsRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListProductsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListProductsRequest.class, com.google.cloud.channel.v1.ListProductsRequest.Builder.class); + com.google.cloud.channel.v1.ListProductsRequest.class, + com.google.cloud.channel.v1.ListProductsRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private volatile java.lang.Object account_; /** + * + * *
    * Required. The resource name of the reseller account.
    * Format: accounts/{account_id}.
    * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The account. */ @java.lang.Override @@ -67,30 +89,30 @@ public java.lang.String getAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); account_ = s; return s; } } /** + * + * *
    * Required. The resource name of the reseller account.
    * Format: accounts/{account_id}.
    * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for account. */ @java.lang.Override - public com.google.protobuf.ByteString - getAccountBytes() { + public com.google.protobuf.ByteString getAccountBytes() { java.lang.Object ref = account_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); account_ = b; return b; } else { @@ -101,6 +123,8 @@ public java.lang.String getAccount() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Optional. Requested page size. Server might return fewer results than
    * requested. If unspecified, returns at most 100 Products. The maximum value
@@ -108,6 +132,7 @@ public java.lang.String getAccount() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -118,11 +143,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. A token for a page of results other than the first page.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -131,29 +159,29 @@ 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 token for a page of results other than the first page.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -164,6 +192,8 @@ public java.lang.String getPageToken() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 4; private volatile java.lang.Object languageCode_; /** + * + * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -171,6 +201,7 @@ public java.lang.String getPageToken() {
    * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ @java.lang.Override @@ -179,14 +210,15 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** + * + * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -194,16 +226,15 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -212,6 +243,7 @@ public java.lang.String getLanguageCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,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(account_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, account_); } @@ -250,8 +281,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, account_); } 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_); @@ -267,21 +297,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.ListProductsRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListProductsRequest other = (com.google.cloud.channel.v1.ListProductsRequest) obj; + com.google.cloud.channel.v1.ListProductsRequest other = + (com.google.cloud.channel.v1.ListProductsRequest) obj; - if (!getAccount() - .equals(other.getAccount())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getLanguageCode() - .equals(other.getLanguageCode())) return false; + if (!getAccount().equals(other.getAccount())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getLanguageCode().equals(other.getLanguageCode())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -306,130 +333,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ListProductsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.ListProductsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListProductsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListProductsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListProductsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListProductsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListProductsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListProductsRequest 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.cloud.channel.v1.ListProductsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListProductsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListProductsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListProductsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ListProductsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListProductsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.ListProductsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListProducts.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListProductsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListProductsRequest) com.google.cloud.channel.v1.ListProductsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListProductsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListProductsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListProductsRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListProductsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListProductsRequest.class, com.google.cloud.channel.v1.ListProductsRequest.Builder.class); + com.google.cloud.channel.v1.ListProductsRequest.class, + com.google.cloud.channel.v1.ListProductsRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.ListProductsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -445,9 +478,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListProductsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListProductsRequest_descriptor; } @java.lang.Override @@ -466,7 +499,8 @@ public com.google.cloud.channel.v1.ListProductsRequest build() { @java.lang.Override public com.google.cloud.channel.v1.ListProductsRequest buildPartial() { - com.google.cloud.channel.v1.ListProductsRequest result = new com.google.cloud.channel.v1.ListProductsRequest(this); + com.google.cloud.channel.v1.ListProductsRequest result = + new com.google.cloud.channel.v1.ListProductsRequest(this); result.account_ = account_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -479,38 +513,39 @@ public com.google.cloud.channel.v1.ListProductsRequest 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.cloud.channel.v1.ListProductsRequest) { - return mergeFrom((com.google.cloud.channel.v1.ListProductsRequest)other); + return mergeFrom((com.google.cloud.channel.v1.ListProductsRequest) other); } else { super.mergeFrom(other); return this; @@ -518,7 +553,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ListProductsRequest other) { - if (other == com.google.cloud.channel.v1.ListProductsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.channel.v1.ListProductsRequest.getDefaultInstance()) + return this; if (!other.getAccount().isEmpty()) { account_ = other.account_; onChanged(); @@ -560,32 +596,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - account_ = input.readStringRequireUtf8(); + case 10: + { + account_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - languageCode_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: + { + languageCode_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -598,19 +639,21 @@ public Builder mergeFrom( private java.lang.Object account_ = ""; /** + * + * *
      * Required. The resource name of the reseller account.
      * Format: accounts/{account_id}.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -619,21 +662,22 @@ public java.lang.String getAccount() { } } /** + * + * *
      * Required. The resource name of the reseller account.
      * Format: accounts/{account_id}.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -641,64 +685,73 @@ public java.lang.String getAccount() { } } /** + * + * *
      * Required. The resource name of the reseller account.
      * Format: accounts/{account_id}.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 resource name of the reseller account.
      * Format: accounts/{account_id}.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAccount() { - + account_ = getDefaultInstance().getAccount(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the reseller account.
      * Format: accounts/{account_id}.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Requested page size. Server might return fewer results than
      * requested. If unspecified, returns at most 100 Products. The maximum value
@@ -706,6 +759,7 @@ public Builder setAccountBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -713,6 +767,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Requested page size. Server might return fewer results than
      * requested. If unspecified, returns at most 100 Products. The maximum value
@@ -720,16 +776,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.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. Requested page size. Server might return fewer results than
      * requested. If unspecified, returns at most 100 Products. The maximum value
@@ -737,10 +796,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -748,18 +808,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -768,20 +830,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -789,54 +852,61 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + 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; @@ -844,6 +914,8 @@ public Builder setPageTokenBytes( private java.lang.Object languageCode_ = ""; /** + * + * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -851,13 +923,13 @@ public Builder setPageTokenBytes(
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -866,6 +938,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -873,15 +947,14 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -889,6 +962,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -896,20 +971,22 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode( - java.lang.String value) { + public Builder setLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -917,15 +994,18 @@ public Builder setLanguageCode(
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** + * + * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -933,23 +1013,23 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = 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); } @@ -959,12 +1039,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListProductsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListProductsRequest) private static final com.google.cloud.channel.v1.ListProductsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListProductsRequest(); } @@ -973,27 +1053,27 @@ public static com.google.cloud.channel.v1.ListProductsRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListProductsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListProductsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1008,6 +1088,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListProductsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequestOrBuilder.java similarity index 72% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequestOrBuilder.java index 2b5020b0f4a5..7c3a6153a049 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsRequestOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListProductsRequestOrBuilder extends +public interface ListProductsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListProductsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the reseller account.
    * Format: accounts/{account_id}.
    * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The account. */ java.lang.String getAccount(); /** + * + * *
    * Required. The resource name of the reseller account.
    * Format: accounts/{account_id}.
    * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for account. */ - com.google.protobuf.ByteString - getAccountBytes(); + com.google.protobuf.ByteString getAccountBytes(); /** + * + * *
    * Optional. Requested page size. Server might return fewer results than
    * requested. If unspecified, returns at most 100 Products. The maximum value
@@ -37,31 +60,39 @@ public interface ListProductsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. A token for a page of results other than the first page.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. A token for a page of results other than the first page.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -69,10 +100,13 @@ public interface ListProductsRequestOrBuilder extends
    * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ java.lang.String getLanguageCode(); /** + * + * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -80,8 +114,8 @@ public interface ListProductsRequestOrBuilder extends
    * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString - getLanguageCodeBytes(); + com.google.protobuf.ByteString getLanguageCodeBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponse.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponse.java similarity index 71% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponse.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponse.java index df760a403ee4..a72b68ccfa57 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponse.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponse.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Response message for ListProducts.
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListProductsResponse} */ -public final class ListProductsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListProductsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListProductsResponse) ListProductsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListProductsResponse.newBuilder() to construct. private ListProductsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListProductsResponse() { products_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,32 +44,35 @@ private ListProductsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListProductsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListProductsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListProductsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListProductsResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListProductsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListProductsResponse.class, com.google.cloud.channel.v1.ListProductsResponse.Builder.class); + com.google.cloud.channel.v1.ListProductsResponse.class, + com.google.cloud.channel.v1.ListProductsResponse.Builder.class); } public static final int PRODUCTS_FIELD_NUMBER = 1; private java.util.List products_; /** + * + * *
    * List of Products requested.
    * 
@@ -63,6 +84,8 @@ public java.util.List getProductsList() { return products_; } /** + * + * *
    * List of Products requested.
    * 
@@ -70,11 +93,13 @@ public java.util.List getProductsList() { * repeated .google.cloud.channel.v1.Product products = 1; */ @java.lang.Override - public java.util.List + public java.util.List getProductsOrBuilderList() { return products_; } /** + * + * *
    * List of Products requested.
    * 
@@ -86,6 +111,8 @@ public int getProductsCount() { return products_.size(); } /** + * + * *
    * List of Products requested.
    * 
@@ -97,6 +124,8 @@ public com.google.cloud.channel.v1.Product getProducts(int index) { return products_.get(index); } /** + * + * *
    * List of Products requested.
    * 
@@ -104,19 +133,21 @@ public com.google.cloud.channel.v1.Product getProducts(int index) { * repeated .google.cloud.channel.v1.Product products = 1; */ @java.lang.Override - public com.google.cloud.channel.v1.ProductOrBuilder getProductsOrBuilder( - int index) { + public com.google.cloud.channel.v1.ProductOrBuilder getProductsOrBuilder(int index) { return products_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,29 +156,29 @@ 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 to retrieve the next page of results.
    * 
* * 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 { @@ -156,6 +187,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,8 +199,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < products_.size(); i++) { output.writeMessage(1, products_.get(i)); } @@ -185,8 +216,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < products_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, products_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, products_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -199,17 +229,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.cloud.channel.v1.ListProductsResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListProductsResponse other = (com.google.cloud.channel.v1.ListProductsResponse) obj; + com.google.cloud.channel.v1.ListProductsResponse other = + (com.google.cloud.channel.v1.ListProductsResponse) obj; - if (!getProductsList() - .equals(other.getProductsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getProductsList().equals(other.getProductsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -232,130 +261,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ListProductsResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.ListProductsResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListProductsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListProductsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListProductsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListProductsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListProductsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListProductsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListProductsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListProductsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListProductsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListProductsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListProductsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ListProductsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListProductsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.ListProductsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 ListProducts.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListProductsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListProductsResponse) com.google.cloud.channel.v1.ListProductsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListProductsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListProductsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListProductsResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListProductsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListProductsResponse.class, com.google.cloud.channel.v1.ListProductsResponse.Builder.class); + com.google.cloud.channel.v1.ListProductsResponse.class, + com.google.cloud.channel.v1.ListProductsResponse.Builder.class); } // Construct using com.google.cloud.channel.v1.ListProductsResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -372,9 +407,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListProductsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListProductsResponse_descriptor; } @java.lang.Override @@ -393,7 +428,8 @@ public com.google.cloud.channel.v1.ListProductsResponse build() { @java.lang.Override public com.google.cloud.channel.v1.ListProductsResponse buildPartial() { - com.google.cloud.channel.v1.ListProductsResponse result = new com.google.cloud.channel.v1.ListProductsResponse(this); + com.google.cloud.channel.v1.ListProductsResponse result = + new com.google.cloud.channel.v1.ListProductsResponse(this); int from_bitField0_ = bitField0_; if (productsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -413,38 +449,39 @@ public com.google.cloud.channel.v1.ListProductsResponse 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.cloud.channel.v1.ListProductsResponse) { - return mergeFrom((com.google.cloud.channel.v1.ListProductsResponse)other); + return mergeFrom((com.google.cloud.channel.v1.ListProductsResponse) other); } else { super.mergeFrom(other); return this; @@ -452,7 +489,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ListProductsResponse other) { - if (other == com.google.cloud.channel.v1.ListProductsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.channel.v1.ListProductsResponse.getDefaultInstance()) + return this; if (productsBuilder_ == null) { if (!other.products_.isEmpty()) { if (products_.isEmpty()) { @@ -471,9 +509,10 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ListProductsResponse other) productsBuilder_ = null; products_ = other.products_; bitField0_ = (bitField0_ & ~0x00000001); - productsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getProductsFieldBuilder() : null; + productsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getProductsFieldBuilder() + : null; } else { productsBuilder_.addAllMessages(other.products_); } @@ -509,30 +548,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.channel.v1.Product m = - input.readMessage( - com.google.cloud.channel.v1.Product.parser(), - extensionRegistry); - if (productsBuilder_ == null) { - ensureProductsIsMutable(); - products_.add(m); - } else { - productsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: + { + com.google.cloud.channel.v1.Product m = + input.readMessage( + com.google.cloud.channel.v1.Product.parser(), extensionRegistry); + if (productsBuilder_ == null) { + ensureProductsIsMutable(); + products_.add(m); + } else { + productsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -542,21 +583,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List products_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureProductsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { products_ = new java.util.ArrayList(products_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Product, com.google.cloud.channel.v1.Product.Builder, com.google.cloud.channel.v1.ProductOrBuilder> productsBuilder_; + com.google.cloud.channel.v1.Product, + com.google.cloud.channel.v1.Product.Builder, + com.google.cloud.channel.v1.ProductOrBuilder> + productsBuilder_; /** + * + * *
      * List of Products requested.
      * 
@@ -571,6 +619,8 @@ public java.util.List getProductsList() { } } /** + * + * *
      * List of Products requested.
      * 
@@ -585,6 +635,8 @@ public int getProductsCount() { } } /** + * + * *
      * List of Products requested.
      * 
@@ -599,14 +651,15 @@ public com.google.cloud.channel.v1.Product getProducts(int index) { } } /** + * + * *
      * List of Products requested.
      * 
* * repeated .google.cloud.channel.v1.Product products = 1; */ - public Builder setProducts( - int index, com.google.cloud.channel.v1.Product value) { + public Builder setProducts(int index, com.google.cloud.channel.v1.Product value) { if (productsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -620,6 +673,8 @@ public Builder setProducts( return this; } /** + * + * *
      * List of Products requested.
      * 
@@ -638,6 +693,8 @@ public Builder setProducts( return this; } /** + * + * *
      * List of Products requested.
      * 
@@ -658,14 +715,15 @@ public Builder addProducts(com.google.cloud.channel.v1.Product value) { return this; } /** + * + * *
      * List of Products requested.
      * 
* * repeated .google.cloud.channel.v1.Product products = 1; */ - public Builder addProducts( - int index, com.google.cloud.channel.v1.Product value) { + public Builder addProducts(int index, com.google.cloud.channel.v1.Product value) { if (productsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -679,14 +737,15 @@ public Builder addProducts( return this; } /** + * + * *
      * List of Products requested.
      * 
* * repeated .google.cloud.channel.v1.Product products = 1; */ - public Builder addProducts( - com.google.cloud.channel.v1.Product.Builder builderForValue) { + public Builder addProducts(com.google.cloud.channel.v1.Product.Builder builderForValue) { if (productsBuilder_ == null) { ensureProductsIsMutable(); products_.add(builderForValue.build()); @@ -697,6 +756,8 @@ public Builder addProducts( return this; } /** + * + * *
      * List of Products requested.
      * 
@@ -715,6 +776,8 @@ public Builder addProducts( return this; } /** + * + * *
      * List of Products requested.
      * 
@@ -725,8 +788,7 @@ public Builder addAllProducts( java.lang.Iterable values) { if (productsBuilder_ == null) { ensureProductsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, products_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, products_); onChanged(); } else { productsBuilder_.addAllMessages(values); @@ -734,6 +796,8 @@ public Builder addAllProducts( return this; } /** + * + * *
      * List of Products requested.
      * 
@@ -751,6 +815,8 @@ public Builder clearProducts() { return this; } /** + * + * *
      * List of Products requested.
      * 
@@ -768,39 +834,44 @@ public Builder removeProducts(int index) { return this; } /** + * + * *
      * List of Products requested.
      * 
* * repeated .google.cloud.channel.v1.Product products = 1; */ - public com.google.cloud.channel.v1.Product.Builder getProductsBuilder( - int index) { + public com.google.cloud.channel.v1.Product.Builder getProductsBuilder(int index) { return getProductsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of Products requested.
      * 
* * repeated .google.cloud.channel.v1.Product products = 1; */ - public com.google.cloud.channel.v1.ProductOrBuilder getProductsOrBuilder( - int index) { + public com.google.cloud.channel.v1.ProductOrBuilder getProductsOrBuilder(int index) { if (productsBuilder_ == null) { - return products_.get(index); } else { + return products_.get(index); + } else { return productsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of Products requested.
      * 
* * repeated .google.cloud.channel.v1.Product products = 1; */ - public java.util.List - getProductsOrBuilderList() { + public java.util.List + getProductsOrBuilderList() { if (productsBuilder_ != null) { return productsBuilder_.getMessageOrBuilderList(); } else { @@ -808,6 +879,8 @@ public com.google.cloud.channel.v1.ProductOrBuilder getProductsOrBuilder( } } /** + * + * *
      * List of Products requested.
      * 
@@ -815,42 +888,47 @@ public com.google.cloud.channel.v1.ProductOrBuilder getProductsOrBuilder( * repeated .google.cloud.channel.v1.Product products = 1; */ public com.google.cloud.channel.v1.Product.Builder addProductsBuilder() { - return getProductsFieldBuilder().addBuilder( - com.google.cloud.channel.v1.Product.getDefaultInstance()); + return getProductsFieldBuilder() + .addBuilder(com.google.cloud.channel.v1.Product.getDefaultInstance()); } /** + * + * *
      * List of Products requested.
      * 
* * repeated .google.cloud.channel.v1.Product products = 1; */ - public com.google.cloud.channel.v1.Product.Builder addProductsBuilder( - int index) { - return getProductsFieldBuilder().addBuilder( - index, com.google.cloud.channel.v1.Product.getDefaultInstance()); + public com.google.cloud.channel.v1.Product.Builder addProductsBuilder(int index) { + return getProductsFieldBuilder() + .addBuilder(index, com.google.cloud.channel.v1.Product.getDefaultInstance()); } /** + * + * *
      * List of Products requested.
      * 
* * repeated .google.cloud.channel.v1.Product products = 1; */ - public java.util.List - getProductsBuilderList() { + public java.util.List getProductsBuilderList() { return getProductsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Product, com.google.cloud.channel.v1.Product.Builder, com.google.cloud.channel.v1.ProductOrBuilder> + com.google.cloud.channel.v1.Product, + com.google.cloud.channel.v1.Product.Builder, + com.google.cloud.channel.v1.ProductOrBuilder> getProductsFieldBuilder() { if (productsBuilder_ == null) { - productsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Product, com.google.cloud.channel.v1.Product.Builder, com.google.cloud.channel.v1.ProductOrBuilder>( - products_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + productsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.Product, + com.google.cloud.channel.v1.Product.Builder, + com.google.cloud.channel.v1.ProductOrBuilder>( + products_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); products_ = null; } return productsBuilder_; @@ -858,18 +936,20 @@ public com.google.cloud.channel.v1.Product.Builder addProductsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * 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; @@ -878,20 +958,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * 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 { @@ -899,61 +980,68 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * 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 to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * 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); } @@ -963,12 +1051,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListProductsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListProductsResponse) private static final com.google.cloud.channel.v1.ListProductsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListProductsResponse(); } @@ -977,27 +1065,27 @@ public static com.google.cloud.channel.v1.ListProductsResponse getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListProductsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListProductsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1012,6 +1100,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListProductsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponseOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponseOrBuilder.java similarity index 63% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponseOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponseOrBuilder.java index b4d0a76b9108..cf288372fcf1 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponseOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListProductsResponseOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListProductsResponseOrBuilder extends +public interface ListProductsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListProductsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of Products requested.
    * 
* * repeated .google.cloud.channel.v1.Product products = 1; */ - java.util.List - getProductsList(); + java.util.List getProductsList(); /** + * + * *
    * List of Products requested.
    * 
@@ -25,6 +44,8 @@ public interface ListProductsResponseOrBuilder extends */ com.google.cloud.channel.v1.Product getProducts(int index); /** + * + * *
    * List of Products requested.
    * 
@@ -33,41 +54,48 @@ public interface ListProductsResponseOrBuilder extends */ int getProductsCount(); /** + * + * *
    * List of Products requested.
    * 
* * repeated .google.cloud.channel.v1.Product products = 1; */ - java.util.List - getProductsOrBuilderList(); + java.util.List getProductsOrBuilderList(); /** + * + * *
    * List of Products requested.
    * 
* * repeated .google.cloud.channel.v1.Product products = 1; */ - com.google.cloud.channel.v1.ProductOrBuilder getProductsOrBuilder( - int index); + com.google.cloud.channel.v1.ProductOrBuilder getProductsOrBuilder(int index); /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequest.java similarity index 62% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequest.java index 89dce3602c04..2ce689298c16 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for ListPurchasableOffers.
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListPurchasableOffersRequest} */ -public final class ListPurchasableOffersRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListPurchasableOffersRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListPurchasableOffersRequest) ListPurchasableOffersRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPurchasableOffersRequest.newBuilder() to construct. private ListPurchasableOffersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPurchasableOffersRequest() { customer_ = ""; pageToken_ = ""; @@ -27,109 +45,126 @@ private ListPurchasableOffersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPurchasableOffersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListPurchasableOffersRequest.class, com.google.cloud.channel.v1.ListPurchasableOffersRequest.Builder.class); + com.google.cloud.channel.v1.ListPurchasableOffersRequest.class, + com.google.cloud.channel.v1.ListPurchasableOffersRequest.Builder.class); } - public interface CreateEntitlementPurchaseOrBuilder extends + public interface CreateEntitlementPurchaseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. SKU that the result should be restricted to.
      * Format: products/{product_id}/skus/{sku_id}.
      * 
* * string sku = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The sku. */ java.lang.String getSku(); /** + * + * *
      * Required. SKU that the result should be restricted to.
      * Format: products/{product_id}/skus/{sku_id}.
      * 
* * string sku = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for sku. */ - com.google.protobuf.ByteString - getSkuBytes(); + com.google.protobuf.ByteString getSkuBytes(); } /** + * + * *
    * List Offers for CreateEntitlement purchase.
    * 
* - * Protobuf type {@code google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase} + * Protobuf type {@code + * google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase} */ - public static final class CreateEntitlementPurchase extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CreateEntitlementPurchase extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) CreateEntitlementPurchaseOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateEntitlementPurchase.newBuilder() to construct. private CreateEntitlementPurchase(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateEntitlementPurchase() { sku_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateEntitlementPurchase(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.class, com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder.class); + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + .class, + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + .Builder.class); } public static final int SKU_FIELD_NUMBER = 1; private volatile java.lang.Object sku_; /** + * + * *
      * Required. SKU that the result should be restricted to.
      * Format: products/{product_id}/skus/{sku_id}.
      * 
* * string sku = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The sku. */ @java.lang.Override @@ -138,30 +173,30 @@ public java.lang.String getSku() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sku_ = s; return s; } } /** + * + * *
      * Required. SKU that the result should be restricted to.
      * Format: products/{product_id}/skus/{sku_id}.
      * 
* * string sku = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for sku. */ @java.lang.Override - public com.google.protobuf.ByteString - getSkuBytes() { + public com.google.protobuf.ByteString getSkuBytes() { java.lang.Object ref = sku_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sku_ = b; return b; } else { @@ -170,6 +205,7 @@ public java.lang.String getSku() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,8 +217,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sku_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sku_); } @@ -206,15 +241,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.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase)) { + if (!(obj + instanceof + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase other = (com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) obj; + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase other = + (com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) obj; - if (!getSku() - .equals(other.getSku())) return false; + if (!getSku().equals(other.getSku())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -233,88 +270,102 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase 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.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + 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.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -324,39 +375,46 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * List Offers for CreateEntitlement purchase.
      * 
* - * Protobuf type {@code google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase} + * Protobuf type {@code + * google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchaseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_descriptor; + com.google.cloud.channel.v1.ListPurchasableOffersRequest + .CreateEntitlementPurchaseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.class, com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder.class); + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + .class, + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + .Builder.class); } - // Construct using com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -366,19 +424,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_descriptor; } @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase getDefaultInstanceForType() { - return com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.getDefaultInstance(); + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + getDefaultInstanceForType() { + return com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase build() { - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase result = buildPartial(); + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + build() { + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -386,8 +448,11 @@ public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlemen } @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase buildPartial() { - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase result = new com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase(this); + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + buildPartial() { + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase result = + new com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase( + this); result.sku_ = sku_; onBuilt(); return result; @@ -397,46 +462,57 @@ public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlemen public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) { - return mergeFrom((com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase)other); + if (other + instanceof + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) { + return mergeFrom( + (com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase other) { - if (other == com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + other) { + if (other + == com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + .getDefaultInstance()) return this; if (!other.getSku().isEmpty()) { sku_ = other.sku_; onChanged(); @@ -467,17 +543,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - sku_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + sku_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -490,19 +568,21 @@ public Builder mergeFrom( private java.lang.Object sku_ = ""; /** + * + * *
        * Required. SKU that the result should be restricted to.
        * Format: products/{product_id}/skus/{sku_id}.
        * 
* * string sku = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The sku. */ public java.lang.String getSku() { java.lang.Object ref = sku_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sku_ = s; return s; @@ -511,21 +591,22 @@ public java.lang.String getSku() { } } /** + * + * *
        * Required. SKU that the result should be restricted to.
        * Format: products/{product_id}/skus/{sku_id}.
        * 
* * string sku = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for sku. */ - public com.google.protobuf.ByteString - getSkuBytes() { + public com.google.protobuf.ByteString getSkuBytes() { java.lang.Object ref = sku_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sku_ = b; return b; } else { @@ -533,61 +614,69 @@ public java.lang.String getSku() { } } /** + * + * *
        * Required. SKU that the result should be restricted to.
        * Format: products/{product_id}/skus/{sku_id}.
        * 
* * string sku = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The sku to set. * @return This builder for chaining. */ - public Builder setSku( - java.lang.String value) { + public Builder setSku(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sku_ = value; onChanged(); return this; } /** + * + * *
        * Required. SKU that the result should be restricted to.
        * Format: products/{product_id}/skus/{sku_id}.
        * 
* * string sku = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSku() { - + sku_ = getDefaultInstance().getSku(); onChanged(); return this; } /** + * + * *
        * Required. SKU that the result should be restricted to.
        * Format: products/{product_id}/skus/{sku_id}.
        * 
* * string sku = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for sku to set. * @return This builder for chaining. */ - public Builder setSkuBytes( - com.google.protobuf.ByteString value) { + public Builder setSkuBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sku_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -600,41 +689,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) - private static final com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase DEFAULT_INSTANCE; + private static final com.google.cloud.channel.v1.ListPurchasableOffersRequest + .CreateEntitlementPurchase + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase(); + DEFAULT_INSTANCE = + new com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase(); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase getDefaultInstance() { + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateEntitlementPurchase parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateEntitlementPurchase parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -646,17 +740,20 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase getDefaultInstanceForType() { + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ChangeOfferPurchaseOrBuilder extends + public interface ChangeOfferPurchaseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Resource name of the entitlement.
      * Format:
@@ -664,10 +761,13 @@ public interface ChangeOfferPurchaseOrBuilder extends
      * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The entitlement. */ java.lang.String getEntitlement(); /** + * + * *
      * Required. Resource name of the entitlement.
      * Format:
@@ -675,12 +775,14 @@ public interface ChangeOfferPurchaseOrBuilder extends
      * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for entitlement. */ - com.google.protobuf.ByteString - getEntitlementBytes(); + com.google.protobuf.ByteString getEntitlementBytes(); /** + * + * *
      * Optional. Resource name of the new target SKU. Provide this SKU when
      * upgrading or downgrading an entitlement. Format:
@@ -688,10 +790,13 @@ public interface ChangeOfferPurchaseOrBuilder extends
      * 
* * string new_sku = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The newSku. */ java.lang.String getNewSku(); /** + * + * *
      * Optional. Resource name of the new target SKU. Provide this SKU when
      * upgrading or downgrading an entitlement. Format:
@@ -699,27 +804,30 @@ public interface ChangeOfferPurchaseOrBuilder extends
      * 
* * string new_sku = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for newSku. */ - com.google.protobuf.ByteString - getNewSkuBytes(); + com.google.protobuf.ByteString getNewSkuBytes(); } /** + * + * *
    * List Offers for ChangeOffer purchase.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase} */ - public static final class ChangeOfferPurchase extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ChangeOfferPurchase extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) ChangeOfferPurchaseOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ChangeOfferPurchase.newBuilder() to construct. private ChangeOfferPurchase(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ChangeOfferPurchase() { entitlement_ = ""; newSku_ = ""; @@ -727,32 +835,36 @@ private ChangeOfferPurchase() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ChangeOfferPurchase(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.class, com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.Builder.class); + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.class, + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.Builder + .class); } public static final int ENTITLEMENT_FIELD_NUMBER = 1; private volatile java.lang.Object entitlement_; /** + * + * *
      * Required. Resource name of the entitlement.
      * Format:
@@ -760,6 +872,7 @@ protected java.lang.Object newInstance(
      * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The entitlement. */ @java.lang.Override @@ -768,14 +881,15 @@ public java.lang.String getEntitlement() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entitlement_ = s; return s; } } /** + * + * *
      * Required. Resource name of the entitlement.
      * Format:
@@ -783,16 +897,15 @@ public java.lang.String getEntitlement() {
      * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for entitlement. */ @java.lang.Override - public com.google.protobuf.ByteString - getEntitlementBytes() { + public com.google.protobuf.ByteString getEntitlementBytes() { java.lang.Object ref = entitlement_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); entitlement_ = b; return b; } else { @@ -803,6 +916,8 @@ public java.lang.String getEntitlement() { public static final int NEW_SKU_FIELD_NUMBER = 2; private volatile java.lang.Object newSku_; /** + * + * *
      * Optional. Resource name of the new target SKU. Provide this SKU when
      * upgrading or downgrading an entitlement. Format:
@@ -810,6 +925,7 @@ public java.lang.String getEntitlement() {
      * 
* * string new_sku = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The newSku. */ @java.lang.Override @@ -818,14 +934,15 @@ public java.lang.String getNewSku() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newSku_ = s; return s; } } /** + * + * *
      * Optional. Resource name of the new target SKU. Provide this SKU when
      * upgrading or downgrading an entitlement. Format:
@@ -833,16 +950,15 @@ public java.lang.String getNewSku() {
      * 
* * string new_sku = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for newSku. */ @java.lang.Override - public com.google.protobuf.ByteString - getNewSkuBytes() { + public com.google.protobuf.ByteString getNewSkuBytes() { java.lang.Object ref = newSku_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); newSku_ = b; return b; } else { @@ -851,6 +967,7 @@ public java.lang.String getNewSku() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -862,8 +979,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entitlement_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entitlement_); } @@ -893,17 +1009,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.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase)) { + if (!(obj + instanceof + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase other = (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) obj; + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase other = + (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) obj; - if (!getEntitlement() - .equals(other.getEntitlement())) return false; - if (!getNewSku() - .equals(other.getNewSku())) return false; + if (!getEntitlement().equals(other.getEntitlement())) return false; + if (!getNewSku().equals(other.getNewSku())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -924,88 +1041,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase 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.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase + 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.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1015,39 +1145,44 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * List Offers for ChangeOffer purchase.
      * 
* - * Protobuf type {@code google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase} + * Protobuf type {@code + * google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchaseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.class, com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.Builder.class); + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.class, + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.Builder + .class); } - // Construct using com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1059,19 +1194,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_descriptor; } @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase getDefaultInstanceForType() { - return com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.getDefaultInstance(); + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase + getDefaultInstanceForType() { + return com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase build() { - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase result = buildPartial(); + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1079,8 +1217,10 @@ public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurch } @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase buildPartial() { - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase result = new com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase(this); + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase + buildPartial() { + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase result = + new com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase(this); result.entitlement_ = entitlement_; result.newSku_ = newSku_; onBuilt(); @@ -1091,46 +1231,55 @@ public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurch public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) { - return mergeFrom((com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase)other); + if (other + instanceof + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) { + return mergeFrom( + (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase other) { - if (other == com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase other) { + if (other + == com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase + .getDefaultInstance()) return this; if (!other.getEntitlement().isEmpty()) { entitlement_ = other.entitlement_; onChanged(); @@ -1165,22 +1314,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - entitlement_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - newSku_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + entitlement_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + newSku_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1193,6 +1345,8 @@ public Builder mergeFrom( private java.lang.Object entitlement_ = ""; /** + * + * *
        * Required. Resource name of the entitlement.
        * Format:
@@ -1200,13 +1354,13 @@ public Builder mergeFrom(
        * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The entitlement. */ public java.lang.String getEntitlement() { java.lang.Object ref = entitlement_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entitlement_ = s; return s; @@ -1215,6 +1369,8 @@ public java.lang.String getEntitlement() { } } /** + * + * *
        * Required. Resource name of the entitlement.
        * Format:
@@ -1222,15 +1378,14 @@ public java.lang.String getEntitlement() {
        * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for entitlement. */ - public com.google.protobuf.ByteString - getEntitlementBytes() { + public com.google.protobuf.ByteString getEntitlementBytes() { java.lang.Object ref = entitlement_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); entitlement_ = b; return b; } else { @@ -1238,6 +1393,8 @@ public java.lang.String getEntitlement() { } } /** + * + * *
        * Required. Resource name of the entitlement.
        * Format:
@@ -1245,20 +1402,22 @@ public java.lang.String getEntitlement() {
        * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The entitlement to set. * @return This builder for chaining. */ - public Builder setEntitlement( - java.lang.String value) { + public Builder setEntitlement(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entitlement_ = value; onChanged(); return this; } /** + * + * *
        * Required. Resource name of the entitlement.
        * Format:
@@ -1266,15 +1425,18 @@ public Builder setEntitlement(
        * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearEntitlement() { - + entitlement_ = getDefaultInstance().getEntitlement(); onChanged(); return this; } /** + * + * *
        * Required. Resource name of the entitlement.
        * Format:
@@ -1282,16 +1444,16 @@ public Builder clearEntitlement() {
        * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for entitlement to set. * @return This builder for chaining. */ - public Builder setEntitlementBytes( - com.google.protobuf.ByteString value) { + public Builder setEntitlementBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entitlement_ = value; onChanged(); return this; @@ -1299,6 +1461,8 @@ public Builder setEntitlementBytes( private java.lang.Object newSku_ = ""; /** + * + * *
        * Optional. Resource name of the new target SKU. Provide this SKU when
        * upgrading or downgrading an entitlement. Format:
@@ -1306,13 +1470,13 @@ public Builder setEntitlementBytes(
        * 
* * string new_sku = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The newSku. */ public java.lang.String getNewSku() { java.lang.Object ref = newSku_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newSku_ = s; return s; @@ -1321,6 +1485,8 @@ public java.lang.String getNewSku() { } } /** + * + * *
        * Optional. Resource name of the new target SKU. Provide this SKU when
        * upgrading or downgrading an entitlement. Format:
@@ -1328,15 +1494,14 @@ public java.lang.String getNewSku() {
        * 
* * string new_sku = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for newSku. */ - public com.google.protobuf.ByteString - getNewSkuBytes() { + public com.google.protobuf.ByteString getNewSkuBytes() { java.lang.Object ref = newSku_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); newSku_ = b; return b; } else { @@ -1344,6 +1509,8 @@ public java.lang.String getNewSku() { } } /** + * + * *
        * Optional. Resource name of the new target SKU. Provide this SKU when
        * upgrading or downgrading an entitlement. Format:
@@ -1351,20 +1518,22 @@ public java.lang.String getNewSku() {
        * 
* * string new_sku = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The newSku to set. * @return This builder for chaining. */ - public Builder setNewSku( - java.lang.String value) { + public Builder setNewSku(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + newSku_ = value; onChanged(); return this; } /** + * + * *
        * Optional. Resource name of the new target SKU. Provide this SKU when
        * upgrading or downgrading an entitlement. Format:
@@ -1372,15 +1541,18 @@ public Builder setNewSku(
        * 
* * string new_sku = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearNewSku() { - + newSku_ = getDefaultInstance().getNewSku(); onChanged(); return this; } /** + * + * *
        * Optional. Resource name of the new target SKU. Provide this SKU when
        * upgrading or downgrading an entitlement. Format:
@@ -1388,20 +1560,21 @@ public Builder clearNewSku() {
        * 
* * string new_sku = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for newSku to set. * @return This builder for chaining. */ - public Builder setNewSkuBytes( - com.google.protobuf.ByteString value) { + public Builder setNewSkuBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + newSku_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1414,41 +1587,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) - private static final com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase DEFAULT_INSTANCE; + private static final com.google.cloud.channel.v1.ListPurchasableOffersRequest + .ChangeOfferPurchase + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase(); + DEFAULT_INSTANCE = + new com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase(); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase getDefaultInstance() { + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChangeOfferPurchase parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChangeOfferPurchase parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1460,21 +1638,24 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase getDefaultInstanceForType() { + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int purchaseOptionCase_ = 0; private java.lang.Object purchaseOption_; + public enum PurchaseOptionCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CREATE_ENTITLEMENT_PURCHASE(2), CHANGE_OFFER_PURCHASE(3), PURCHASEOPTION_NOT_SET(0); private final int value; + private PurchaseOptionCase(int value) { this.value = value; } @@ -1490,30 +1671,38 @@ public static PurchaseOptionCase valueOf(int value) { public static PurchaseOptionCase forNumber(int value) { switch (value) { - case 2: return CREATE_ENTITLEMENT_PURCHASE; - case 3: return CHANGE_OFFER_PURCHASE; - case 0: return PURCHASEOPTION_NOT_SET; - default: return null; + case 2: + return CREATE_ENTITLEMENT_PURCHASE; + case 3: + return CHANGE_OFFER_PURCHASE; + case 0: + return PURCHASEOPTION_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public PurchaseOptionCase - getPurchaseOptionCase() { - return PurchaseOptionCase.forNumber( - purchaseOptionCase_); + public PurchaseOptionCase getPurchaseOptionCase() { + return PurchaseOptionCase.forNumber(purchaseOptionCase_); } public static final int CREATE_ENTITLEMENT_PURCHASE_FIELD_NUMBER = 2; /** + * + * *
    * List Offers for CreateEntitlement purchase.
    * 
* - * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * * @return Whether the createEntitlementPurchase field is set. */ @java.lang.Override @@ -1521,42 +1710,62 @@ public boolean hasCreateEntitlementPurchase() { return purchaseOptionCase_ == 2; } /** + * + * *
    * List Offers for CreateEntitlement purchase.
    * 
* - * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * * @return The createEntitlementPurchase. */ @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase getCreateEntitlementPurchase() { + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + getCreateEntitlementPurchase() { if (purchaseOptionCase_ == 2) { - return (com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) purchaseOption_; + return (com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) + purchaseOption_; } - return com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + .getDefaultInstance(); } /** + * + * *
    * List Offers for CreateEntitlement purchase.
    * 
* - * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * */ @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchaseOrBuilder getCreateEntitlementPurchaseOrBuilder() { + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchaseOrBuilder + getCreateEntitlementPurchaseOrBuilder() { if (purchaseOptionCase_ == 2) { - return (com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) purchaseOption_; + return (com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) + purchaseOption_; } - return com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + .getDefaultInstance(); } public static final int CHANGE_OFFER_PURCHASE_FIELD_NUMBER = 3; /** + * + * *
    * List Offers for ChangeOffer purchase.
    * 
* - * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * * @return Whether the changeOfferPurchase field is set. */ @java.lang.Override @@ -1564,44 +1773,64 @@ public boolean hasChangeOfferPurchase() { return purchaseOptionCase_ == 3; } /** + * + * *
    * List Offers for ChangeOffer purchase.
    * 
* - * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * * @return The changeOfferPurchase. */ @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase getChangeOfferPurchase() { + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase + getChangeOfferPurchase() { if (purchaseOptionCase_ == 3) { - return (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) purchaseOption_; + return (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) + purchaseOption_; } - return com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase + .getDefaultInstance(); } /** + * + * *
    * List Offers for ChangeOffer purchase.
    * 
* - * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; + * */ @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchaseOrBuilder getChangeOfferPurchaseOrBuilder() { + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchaseOrBuilder + getChangeOfferPurchaseOrBuilder() { if (purchaseOptionCase_ == 3) { - return (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) purchaseOption_; + return (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) + purchaseOption_; } - return com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase + .getDefaultInstance(); } public static final int CUSTOMER_FIELD_NUMBER = 1; private volatile java.lang.Object customer_; /** + * + * *
    * Required. The resource name of the customer to list Offers for.
    * Format: accounts/{account_id}/customers/{customer_id}.
    * 
* - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The customer. */ @java.lang.Override @@ -1610,30 +1839,32 @@ public java.lang.String getCustomer() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customer_ = s; return s; } } /** + * + * *
    * Required. The resource name of the customer to list Offers for.
    * Format: accounts/{account_id}/customers/{customer_id}.
    * 
* - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for customer. */ @java.lang.Override - public com.google.protobuf.ByteString - getCustomerBytes() { + public com.google.protobuf.ByteString getCustomerBytes() { java.lang.Object ref = customer_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customer_ = b; return b; } else { @@ -1644,6 +1875,8 @@ public java.lang.String getCustomer() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_; /** + * + * *
    * Optional. Requested page size. Server might return fewer results than
    * requested. If unspecified, returns at most 100 Offers. The maximum value is
@@ -1651,6 +1884,7 @@ public java.lang.String getCustomer() {
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -1661,11 +1895,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 5; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. A token for a page of results other than the first page.
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -1674,29 +1911,29 @@ 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 token for a page of results other than the first page.
    * 
* * string page_token = 5 [(.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 { @@ -1707,6 +1944,8 @@ public java.lang.String getPageToken() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 6; private volatile java.lang.Object languageCode_; /** + * + * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -1714,6 +1953,7 @@ public java.lang.String getPageToken() {
    * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ @java.lang.Override @@ -1722,14 +1962,15 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** + * + * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -1737,16 +1978,15 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -1755,6 +1995,7 @@ public java.lang.String getLanguageCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1766,16 +2007,21 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(customer_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, customer_); } if (purchaseOptionCase_ == 2) { - output.writeMessage(2, (com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) purchaseOption_); + output.writeMessage( + 2, + (com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) + purchaseOption_); } if (purchaseOptionCase_ == 3) { - output.writeMessage(3, (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) purchaseOption_); + output.writeMessage( + 3, + (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) + purchaseOption_); } if (pageSize_ != 0) { output.writeInt32(4, pageSize_); @@ -1799,16 +2045,21 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, customer_); } if (purchaseOptionCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) purchaseOption_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, + (com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) + purchaseOption_); } if (purchaseOptionCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) purchaseOption_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, + (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) + purchaseOption_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pageToken_); @@ -1824,30 +2075,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.cloud.channel.v1.ListPurchasableOffersRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListPurchasableOffersRequest other = (com.google.cloud.channel.v1.ListPurchasableOffersRequest) obj; + com.google.cloud.channel.v1.ListPurchasableOffersRequest other = + (com.google.cloud.channel.v1.ListPurchasableOffersRequest) obj; - if (!getCustomer() - .equals(other.getCustomer())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getLanguageCode() - .equals(other.getLanguageCode())) return false; + if (!getCustomer().equals(other.getCustomer())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getLanguageCode().equals(other.getLanguageCode())) return false; if (!getPurchaseOptionCase().equals(other.getPurchaseOptionCase())) return false; switch (purchaseOptionCase_) { case 2: - if (!getCreateEntitlementPurchase() - .equals(other.getCreateEntitlementPurchase())) return false; + if (!getCreateEntitlementPurchase().equals(other.getCreateEntitlementPurchase())) + return false; break; case 3: - if (!getChangeOfferPurchase() - .equals(other.getChangeOfferPurchase())) return false; + if (!getChangeOfferPurchase().equals(other.getChangeOfferPurchase())) return false; break; case 0: default: @@ -1889,129 +2136,136 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListPurchasableOffersRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableOffersRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListPurchasableOffersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ListPurchasableOffersRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.ListPurchasableOffersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListPurchasableOffers.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListPurchasableOffersRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListPurchasableOffersRequest) com.google.cloud.channel.v1.ListPurchasableOffersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListPurchasableOffersRequest.class, com.google.cloud.channel.v1.ListPurchasableOffersRequest.Builder.class); + com.google.cloud.channel.v1.ListPurchasableOffersRequest.class, + com.google.cloud.channel.v1.ListPurchasableOffersRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.ListPurchasableOffersRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2035,9 +2289,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_descriptor; } @java.lang.Override @@ -2056,7 +2310,8 @@ public com.google.cloud.channel.v1.ListPurchasableOffersRequest build() { @java.lang.Override public com.google.cloud.channel.v1.ListPurchasableOffersRequest buildPartial() { - com.google.cloud.channel.v1.ListPurchasableOffersRequest result = new com.google.cloud.channel.v1.ListPurchasableOffersRequest(this); + com.google.cloud.channel.v1.ListPurchasableOffersRequest result = + new com.google.cloud.channel.v1.ListPurchasableOffersRequest(this); if (purchaseOptionCase_ == 2) { if (createEntitlementPurchaseBuilder_ == null) { result.purchaseOption_ = purchaseOption_; @@ -2084,38 +2339,39 @@ public com.google.cloud.channel.v1.ListPurchasableOffersRequest 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.cloud.channel.v1.ListPurchasableOffersRequest) { - return mergeFrom((com.google.cloud.channel.v1.ListPurchasableOffersRequest)other); + return mergeFrom((com.google.cloud.channel.v1.ListPurchasableOffersRequest) other); } else { super.mergeFrom(other); return this; @@ -2123,7 +2379,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ListPurchasableOffersRequest other) { - if (other == com.google.cloud.channel.v1.ListPurchasableOffersRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.channel.v1.ListPurchasableOffersRequest.getDefaultInstance()) + return this; if (!other.getCustomer().isEmpty()) { customer_ = other.customer_; onChanged(); @@ -2140,17 +2397,20 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ListPurchasableOffersReques onChanged(); } switch (other.getPurchaseOptionCase()) { - case CREATE_ENTITLEMENT_PURCHASE: { - mergeCreateEntitlementPurchase(other.getCreateEntitlementPurchase()); - break; - } - case CHANGE_OFFER_PURCHASE: { - mergeChangeOfferPurchase(other.getChangeOfferPurchase()); - break; - } - case PURCHASEOPTION_NOT_SET: { - break; - } + case CREATE_ENTITLEMENT_PURCHASE: + { + mergeCreateEntitlementPurchase(other.getCreateEntitlementPurchase()); + break; + } + case CHANGE_OFFER_PURCHASE: + { + mergeChangeOfferPurchase(other.getChangeOfferPurchase()); + break; + } + case PURCHASEOPTION_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2178,46 +2438,51 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - customer_ = input.readStringRequireUtf8(); + case 10: + { + customer_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - input.readMessage( - getCreateEntitlementPurchaseFieldBuilder().getBuilder(), - extensionRegistry); - purchaseOptionCase_ = 2; - break; - } // case 18 - case 26: { - input.readMessage( - getChangeOfferPurchaseFieldBuilder().getBuilder(), - extensionRegistry); - purchaseOptionCase_ = 3; - break; - } // case 26 - case 32: { - pageSize_ = input.readInt32(); + break; + } // case 10 + case 18: + { + input.readMessage( + getCreateEntitlementPurchaseFieldBuilder().getBuilder(), extensionRegistry); + purchaseOptionCase_ = 2; + break; + } // case 18 + case 26: + { + input.readMessage( + getChangeOfferPurchaseFieldBuilder().getBuilder(), extensionRegistry); + purchaseOptionCase_ = 3; + break; + } // case 26 + case 32: + { + pageSize_ = input.readInt32(); - break; - } // case 32 - case 42: { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 32 + case 42: + { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 42 - case 50: { - languageCode_ = input.readStringRequireUtf8(); + break; + } // case 42 + case 50: + { + languageCode_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2227,12 +2492,12 @@ public Builder mergeFrom( } // finally return this; } + private int purchaseOptionCase_ = 0; private java.lang.Object purchaseOption_; - public PurchaseOptionCase - getPurchaseOptionCase() { - return PurchaseOptionCase.forNumber( - purchaseOptionCase_); + + public PurchaseOptionCase getPurchaseOptionCase() { + return PurchaseOptionCase.forNumber(purchaseOptionCase_); } public Builder clearPurchaseOption() { @@ -2242,15 +2507,24 @@ public Builder clearPurchaseOption() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase, com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder, com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchaseOrBuilder> createEntitlementPurchaseBuilder_; + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase, + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + .Builder, + com.google.cloud.channel.v1.ListPurchasableOffersRequest + .CreateEntitlementPurchaseOrBuilder> + createEntitlementPurchaseBuilder_; /** + * + * *
      * List Offers for CreateEntitlement purchase.
      * 
* - * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * * @return Whether the createEntitlementPurchase field is set. */ @java.lang.Override @@ -2258,35 +2532,50 @@ public boolean hasCreateEntitlementPurchase() { return purchaseOptionCase_ == 2; } /** + * + * *
      * List Offers for CreateEntitlement purchase.
      * 
* - * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * * @return The createEntitlementPurchase. */ @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase getCreateEntitlementPurchase() { + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + getCreateEntitlementPurchase() { if (createEntitlementPurchaseBuilder_ == null) { if (purchaseOptionCase_ == 2) { - return (com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) purchaseOption_; + return (com.google.cloud.channel.v1.ListPurchasableOffersRequest + .CreateEntitlementPurchase) + purchaseOption_; } - return com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + .getDefaultInstance(); } else { if (purchaseOptionCase_ == 2) { return createEntitlementPurchaseBuilder_.getMessage(); } - return com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + .getDefaultInstance(); } } /** + * + * *
      * List Offers for CreateEntitlement purchase.
      * 
* - * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * */ - public Builder setCreateEntitlementPurchase(com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase value) { + public Builder setCreateEntitlementPurchase( + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase value) { if (createEntitlementPurchaseBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2300,14 +2589,19 @@ public Builder setCreateEntitlementPurchase(com.google.cloud.channel.v1.ListPurc return this; } /** + * + * *
      * List Offers for CreateEntitlement purchase.
      * 
* - * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * */ public Builder setCreateEntitlementPurchase( - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder builderForValue) { + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder + builderForValue) { if (createEntitlementPurchaseBuilder_ == null) { purchaseOption_ = builderForValue.build(); onChanged(); @@ -2318,18 +2612,31 @@ public Builder setCreateEntitlementPurchase( return this; } /** + * + * *
      * List Offers for CreateEntitlement purchase.
      * 
* - * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * */ - public Builder mergeCreateEntitlementPurchase(com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase value) { + public Builder mergeCreateEntitlementPurchase( + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase value) { if (createEntitlementPurchaseBuilder_ == null) { - if (purchaseOptionCase_ == 2 && - purchaseOption_ != com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.getDefaultInstance()) { - purchaseOption_ = com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.newBuilder((com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) purchaseOption_) - .mergeFrom(value).buildPartial(); + if (purchaseOptionCase_ == 2 + && purchaseOption_ + != com.google.cloud.channel.v1.ListPurchasableOffersRequest + .CreateEntitlementPurchase.getDefaultInstance()) { + purchaseOption_ = + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + .newBuilder( + (com.google.cloud.channel.v1.ListPurchasableOffersRequest + .CreateEntitlementPurchase) + purchaseOption_) + .mergeFrom(value) + .buildPartial(); } else { purchaseOption_ = value; } @@ -2345,11 +2652,15 @@ public Builder mergeCreateEntitlementPurchase(com.google.cloud.channel.v1.ListPu return this; } /** + * + * *
      * List Offers for CreateEntitlement purchase.
      * 
* - * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * */ public Builder clearCreateEntitlementPurchase() { if (createEntitlementPurchaseBuilder_ == null) { @@ -2368,67 +2679,107 @@ public Builder clearCreateEntitlementPurchase() { return this; } /** + * + * *
      * List Offers for CreateEntitlement purchase.
      * 
* - * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * */ - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder getCreateEntitlementPurchaseBuilder() { + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + .Builder + getCreateEntitlementPurchaseBuilder() { return getCreateEntitlementPurchaseFieldBuilder().getBuilder(); } /** + * + * *
      * List Offers for CreateEntitlement purchase.
      * 
* - * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * */ @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchaseOrBuilder getCreateEntitlementPurchaseOrBuilder() { + public com.google.cloud.channel.v1.ListPurchasableOffersRequest + .CreateEntitlementPurchaseOrBuilder + getCreateEntitlementPurchaseOrBuilder() { if ((purchaseOptionCase_ == 2) && (createEntitlementPurchaseBuilder_ != null)) { return createEntitlementPurchaseBuilder_.getMessageOrBuilder(); } else { if (purchaseOptionCase_ == 2) { - return (com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) purchaseOption_; + return (com.google.cloud.channel.v1.ListPurchasableOffersRequest + .CreateEntitlementPurchase) + purchaseOption_; } - return com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + .getDefaultInstance(); } } /** + * + * *
      * List Offers for CreateEntitlement purchase.
      * 
* - * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase, com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder, com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchaseOrBuilder> + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase, + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + .Builder, + com.google.cloud.channel.v1.ListPurchasableOffersRequest + .CreateEntitlementPurchaseOrBuilder> getCreateEntitlementPurchaseFieldBuilder() { if (createEntitlementPurchaseBuilder_ == null) { if (!(purchaseOptionCase_ == 2)) { - purchaseOption_ = com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.getDefaultInstance(); + purchaseOption_ = + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + .getDefaultInstance(); } - createEntitlementPurchaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase, com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder, com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchaseOrBuilder>( - (com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) purchaseOption_, + createEntitlementPurchaseBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase, + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + .Builder, + com.google.cloud.channel.v1.ListPurchasableOffersRequest + .CreateEntitlementPurchaseOrBuilder>( + (com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase) + purchaseOption_, getParentForChildren(), isClean()); purchaseOption_ = null; } purchaseOptionCase_ = 2; - onChanged();; + onChanged(); + ; return createEntitlementPurchaseBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase, com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.Builder, com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchaseOrBuilder> changeOfferPurchaseBuilder_; + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase, + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.Builder, + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchaseOrBuilder> + changeOfferPurchaseBuilder_; /** + * + * *
      * List Offers for ChangeOffer purchase.
      * 
* - * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * * @return Whether the changeOfferPurchase field is set. */ @java.lang.Override @@ -2436,35 +2787,49 @@ public boolean hasChangeOfferPurchase() { return purchaseOptionCase_ == 3; } /** + * + * *
      * List Offers for ChangeOffer purchase.
      * 
* - * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * * @return The changeOfferPurchase. */ @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase getChangeOfferPurchase() { + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase + getChangeOfferPurchase() { if (changeOfferPurchaseBuilder_ == null) { if (purchaseOptionCase_ == 3) { - return (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) purchaseOption_; + return (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) + purchaseOption_; } - return com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase + .getDefaultInstance(); } else { if (purchaseOptionCase_ == 3) { return changeOfferPurchaseBuilder_.getMessage(); } - return com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase + .getDefaultInstance(); } } /** + * + * *
      * List Offers for ChangeOffer purchase.
      * 
* - * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; + * */ - public Builder setChangeOfferPurchase(com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase value) { + public Builder setChangeOfferPurchase( + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase value) { if (changeOfferPurchaseBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2478,14 +2843,19 @@ public Builder setChangeOfferPurchase(com.google.cloud.channel.v1.ListPurchasabl return this; } /** + * + * *
      * List Offers for ChangeOffer purchase.
      * 
* - * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; + * */ public Builder setChangeOfferPurchase( - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.Builder builderForValue) { + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.Builder + builderForValue) { if (changeOfferPurchaseBuilder_ == null) { purchaseOption_ = builderForValue.build(); onChanged(); @@ -2496,18 +2866,30 @@ public Builder setChangeOfferPurchase( return this; } /** + * + * *
      * List Offers for ChangeOffer purchase.
      * 
* - * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; + * */ - public Builder mergeChangeOfferPurchase(com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase value) { + public Builder mergeChangeOfferPurchase( + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase value) { if (changeOfferPurchaseBuilder_ == null) { - if (purchaseOptionCase_ == 3 && - purchaseOption_ != com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.getDefaultInstance()) { - purchaseOption_ = com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.newBuilder((com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) purchaseOption_) - .mergeFrom(value).buildPartial(); + if (purchaseOptionCase_ == 3 + && purchaseOption_ + != com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase + .getDefaultInstance()) { + purchaseOption_ = + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase + .newBuilder( + (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) + purchaseOption_) + .mergeFrom(value) + .buildPartial(); } else { purchaseOption_ = value; } @@ -2523,11 +2905,15 @@ public Builder mergeChangeOfferPurchase(com.google.cloud.channel.v1.ListPurchasa return this; } /** + * + * *
      * List Offers for ChangeOffer purchase.
      * 
* - * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; + * */ public Builder clearChangeOfferPurchase() { if (changeOfferPurchaseBuilder_ == null) { @@ -2546,74 +2932,105 @@ public Builder clearChangeOfferPurchase() { return this; } /** + * + * *
      * List Offers for ChangeOffer purchase.
      * 
* - * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; + * */ - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.Builder getChangeOfferPurchaseBuilder() { + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.Builder + getChangeOfferPurchaseBuilder() { return getChangeOfferPurchaseFieldBuilder().getBuilder(); } /** + * + * *
      * List Offers for ChangeOffer purchase.
      * 
* - * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; + * */ @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchaseOrBuilder getChangeOfferPurchaseOrBuilder() { + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchaseOrBuilder + getChangeOfferPurchaseOrBuilder() { if ((purchaseOptionCase_ == 3) && (changeOfferPurchaseBuilder_ != null)) { return changeOfferPurchaseBuilder_.getMessageOrBuilder(); } else { if (purchaseOptionCase_ == 3) { - return (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) purchaseOption_; + return (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) + purchaseOption_; } - return com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase + .getDefaultInstance(); } } /** + * + * *
      * List Offers for ChangeOffer purchase.
      * 
* - * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase, com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.Builder, com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchaseOrBuilder> + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase, + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.Builder, + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchaseOrBuilder> getChangeOfferPurchaseFieldBuilder() { if (changeOfferPurchaseBuilder_ == null) { if (!(purchaseOptionCase_ == 3)) { - purchaseOption_ = com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.getDefaultInstance(); + purchaseOption_ = + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase + .getDefaultInstance(); } - changeOfferPurchaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase, com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase.Builder, com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchaseOrBuilder>( - (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) purchaseOption_, + changeOfferPurchaseBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase, + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase + .Builder, + com.google.cloud.channel.v1.ListPurchasableOffersRequest + .ChangeOfferPurchaseOrBuilder>( + (com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase) + purchaseOption_, getParentForChildren(), isClean()); purchaseOption_ = null; } purchaseOptionCase_ = 3; - onChanged();; + onChanged(); + ; return changeOfferPurchaseBuilder_; } private java.lang.Object customer_ = ""; /** + * + * *
      * Required. The resource name of the customer to list Offers for.
      * Format: accounts/{account_id}/customers/{customer_id}.
      * 
* - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The customer. */ public java.lang.String getCustomer() { java.lang.Object ref = customer_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customer_ = s; return s; @@ -2622,21 +3039,24 @@ public java.lang.String getCustomer() { } } /** + * + * *
      * Required. The resource name of the customer to list Offers for.
      * Format: accounts/{account_id}/customers/{customer_id}.
      * 
* - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for customer. */ - public com.google.protobuf.ByteString - getCustomerBytes() { + public com.google.protobuf.ByteString getCustomerBytes() { java.lang.Object ref = customer_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customer_ = b; return b; } else { @@ -2644,64 +3064,79 @@ public java.lang.String getCustomer() { } } /** + * + * *
      * Required. The resource name of the customer to list Offers for.
      * Format: accounts/{account_id}/customers/{customer_id}.
      * 
* - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The customer to set. * @return This builder for chaining. */ - public Builder setCustomer( - java.lang.String value) { + public Builder setCustomer(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + customer_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the customer to list Offers for.
      * Format: accounts/{account_id}/customers/{customer_id}.
      * 
* - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearCustomer() { - + customer_ = getDefaultInstance().getCustomer(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the customer to list Offers for.
      * Format: accounts/{account_id}/customers/{customer_id}.
      * 
* - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for customer to set. * @return This builder for chaining. */ - public Builder setCustomerBytes( - com.google.protobuf.ByteString value) { + public Builder setCustomerBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + customer_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Requested page size. Server might return fewer results than
      * requested. If unspecified, returns at most 100 Offers. The maximum value is
@@ -2709,6 +3144,7 @@ public Builder setCustomerBytes(
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -2716,6 +3152,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Requested page size. Server might return fewer results than
      * requested. If unspecified, returns at most 100 Offers. The maximum value is
@@ -2723,16 +3161,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 4 [(.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. Requested page size. Server might return fewer results than
      * requested. If unspecified, returns at most 100 Offers. The maximum value is
@@ -2740,10 +3181,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -2751,18 +3193,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 5 [(.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; @@ -2771,20 +3215,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 5 [(.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 { @@ -2792,54 +3237,61 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 5 [(.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 token for a page of results other than the first page.
      * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 5 [(.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; @@ -2847,6 +3299,8 @@ public Builder setPageTokenBytes( private java.lang.Object languageCode_ = ""; /** + * + * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -2854,13 +3308,13 @@ public Builder setPageTokenBytes(
      * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -2869,6 +3323,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -2876,15 +3332,14 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -2892,6 +3347,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -2899,20 +3356,22 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode( - java.lang.String value) { + public Builder setLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -2920,15 +3379,18 @@ public Builder setLanguageCode(
      * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** + * + * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -2936,23 +3398,23 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = 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); } @@ -2962,12 +3424,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListPurchasableOffersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListPurchasableOffersRequest) private static final com.google.cloud.channel.v1.ListPurchasableOffersRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListPurchasableOffersRequest(); } @@ -2976,27 +3438,27 @@ public static com.google.cloud.channel.v1.ListPurchasableOffersRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPurchasableOffersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPurchasableOffersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3011,6 +3473,4 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.channel.v1.ListPurchasableOffersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequestOrBuilder.java similarity index 58% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequestOrBuilder.java index 6801cfbc8c4c..8ccf15936323 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersRequestOrBuilder.java @@ -1,89 +1,148 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListPurchasableOffersRequestOrBuilder extends +public interface ListPurchasableOffersRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListPurchasableOffersRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List Offers for CreateEntitlement purchase.
    * 
* - * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * * @return Whether the createEntitlementPurchase field is set. */ boolean hasCreateEntitlementPurchase(); /** + * + * *
    * List Offers for CreateEntitlement purchase.
    * 
* - * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * * @return The createEntitlementPurchase. */ - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase getCreateEntitlementPurchase(); + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase + getCreateEntitlementPurchase(); /** + * + * *
    * List Offers for CreateEntitlement purchase.
    * 
* - * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * */ - com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchaseOrBuilder getCreateEntitlementPurchaseOrBuilder(); + com.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchaseOrBuilder + getCreateEntitlementPurchaseOrBuilder(); /** + * + * *
    * List Offers for ChangeOffer purchase.
    * 
* - * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * * @return Whether the changeOfferPurchase field is set. */ boolean hasChangeOfferPurchase(); /** + * + * *
    * List Offers for ChangeOffer purchase.
    * 
* - * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * * @return The changeOfferPurchase. */ - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase getChangeOfferPurchase(); + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase + getChangeOfferPurchase(); /** + * + * *
    * List Offers for ChangeOffer purchase.
    * 
* - * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * .google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3; + * */ - com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchaseOrBuilder getChangeOfferPurchaseOrBuilder(); + com.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchaseOrBuilder + getChangeOfferPurchaseOrBuilder(); /** + * + * *
    * Required. The resource name of the customer to list Offers for.
    * Format: accounts/{account_id}/customers/{customer_id}.
    * 
* - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The customer. */ java.lang.String getCustomer(); /** + * + * *
    * Required. The resource name of the customer to list Offers for.
    * Format: accounts/{account_id}/customers/{customer_id}.
    * 
* - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for customer. */ - com.google.protobuf.ByteString - getCustomerBytes(); + com.google.protobuf.ByteString getCustomerBytes(); /** + * + * *
    * Optional. Requested page size. Server might return fewer results than
    * requested. If unspecified, returns at most 100 Offers. The maximum value is
@@ -91,31 +150,39 @@ public interface ListPurchasableOffersRequestOrBuilder extends
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. A token for a page of results other than the first page.
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. A token for a page of results other than the first page.
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -123,10 +190,13 @@ public interface ListPurchasableOffersRequestOrBuilder extends
    * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ java.lang.String getLanguageCode(); /** + * + * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -134,10 +204,11 @@ public interface ListPurchasableOffersRequestOrBuilder extends
    * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString - getLanguageCodeBytes(); + com.google.protobuf.ByteString getLanguageCodeBytes(); - public com.google.cloud.channel.v1.ListPurchasableOffersRequest.PurchaseOptionCase getPurchaseOptionCase(); + public com.google.cloud.channel.v1.ListPurchasableOffersRequest.PurchaseOptionCase + getPurchaseOptionCase(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponse.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponse.java similarity index 72% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponse.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponse.java index 54e5883f4998..9516d06e2954 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponse.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponse.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Response message for ListPurchasableOffers.
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListPurchasableOffersResponse} */ -public final class ListPurchasableOffersResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListPurchasableOffersResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListPurchasableOffersResponse) ListPurchasableOffersResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPurchasableOffersResponse.newBuilder() to construct. private ListPurchasableOffersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPurchasableOffersResponse() { purchasableOffers_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,32 +44,35 @@ private ListPurchasableOffersResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPurchasableOffersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListPurchasableOffersResponse.class, com.google.cloud.channel.v1.ListPurchasableOffersResponse.Builder.class); + com.google.cloud.channel.v1.ListPurchasableOffersResponse.class, + com.google.cloud.channel.v1.ListPurchasableOffersResponse.Builder.class); } public static final int PURCHASABLE_OFFERS_FIELD_NUMBER = 1; private java.util.List purchasableOffers_; /** + * + * *
    * The list of Offers requested.
    * 
@@ -63,6 +84,8 @@ public java.util.List getPurchasab return purchasableOffers_; } /** + * + * *
    * The list of Offers requested.
    * 
@@ -70,11 +93,13 @@ public java.util.List getPurchasab * repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPurchasableOffersOrBuilderList() { return purchasableOffers_; } /** + * + * *
    * The list of Offers requested.
    * 
@@ -86,6 +111,8 @@ public int getPurchasableOffersCount() { return purchasableOffers_.size(); } /** + * + * *
    * The list of Offers requested.
    * 
@@ -97,6 +124,8 @@ public com.google.cloud.channel.v1.PurchasableOffer getPurchasableOffers(int ind return purchasableOffers_.get(index); } /** + * + * *
    * The list of Offers requested.
    * 
@@ -112,11 +141,14 @@ public com.google.cloud.channel.v1.PurchasableOfferOrBuilder getPurchasableOffer public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,29 +157,29 @@ 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 to retrieve the next page of results.
    * 
* * 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 { @@ -156,6 +188,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,8 +200,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < purchasableOffers_.size(); i++) { output.writeMessage(1, purchasableOffers_.get(i)); } @@ -185,8 +217,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < purchasableOffers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, purchasableOffers_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, purchasableOffers_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -199,17 +231,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.ListPurchasableOffersResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListPurchasableOffersResponse other = (com.google.cloud.channel.v1.ListPurchasableOffersResponse) obj; + com.google.cloud.channel.v1.ListPurchasableOffersResponse other = + (com.google.cloud.channel.v1.ListPurchasableOffersResponse) obj; - if (!getPurchasableOffersList() - .equals(other.getPurchasableOffersList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getPurchasableOffersList().equals(other.getPurchasableOffersList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -233,129 +264,136 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListPurchasableOffersResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListPurchasableOffersResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListPurchasableOffersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListPurchasableOffersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListPurchasableOffersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListPurchasableOffersResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableOffersResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListPurchasableOffersResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListPurchasableOffersResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableOffersResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListPurchasableOffersResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListPurchasableOffersResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ListPurchasableOffersResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListPurchasableOffersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ListPurchasableOffersResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.ListPurchasableOffersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 ListPurchasableOffers.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListPurchasableOffersResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListPurchasableOffersResponse) com.google.cloud.channel.v1.ListPurchasableOffersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListPurchasableOffersResponse.class, com.google.cloud.channel.v1.ListPurchasableOffersResponse.Builder.class); + com.google.cloud.channel.v1.ListPurchasableOffersResponse.class, + com.google.cloud.channel.v1.ListPurchasableOffersResponse.Builder.class); } // Construct using com.google.cloud.channel.v1.ListPurchasableOffersResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -372,9 +410,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_descriptor; } @java.lang.Override @@ -393,7 +431,8 @@ public com.google.cloud.channel.v1.ListPurchasableOffersResponse build() { @java.lang.Override public com.google.cloud.channel.v1.ListPurchasableOffersResponse buildPartial() { - com.google.cloud.channel.v1.ListPurchasableOffersResponse result = new com.google.cloud.channel.v1.ListPurchasableOffersResponse(this); + com.google.cloud.channel.v1.ListPurchasableOffersResponse result = + new com.google.cloud.channel.v1.ListPurchasableOffersResponse(this); int from_bitField0_ = bitField0_; if (purchasableOffersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -413,38 +452,39 @@ public com.google.cloud.channel.v1.ListPurchasableOffersResponse 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.cloud.channel.v1.ListPurchasableOffersResponse) { - return mergeFrom((com.google.cloud.channel.v1.ListPurchasableOffersResponse)other); + return mergeFrom((com.google.cloud.channel.v1.ListPurchasableOffersResponse) other); } else { super.mergeFrom(other); return this; @@ -452,7 +492,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ListPurchasableOffersResponse other) { - if (other == com.google.cloud.channel.v1.ListPurchasableOffersResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.channel.v1.ListPurchasableOffersResponse.getDefaultInstance()) + return this; if (purchasableOffersBuilder_ == null) { if (!other.purchasableOffers_.isEmpty()) { if (purchasableOffers_.isEmpty()) { @@ -471,9 +512,10 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ListPurchasableOffersRespon purchasableOffersBuilder_ = null; purchasableOffers_ = other.purchasableOffers_; bitField0_ = (bitField0_ & ~0x00000001); - purchasableOffersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPurchasableOffersFieldBuilder() : null; + purchasableOffersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPurchasableOffersFieldBuilder() + : null; } else { purchasableOffersBuilder_.addAllMessages(other.purchasableOffers_); } @@ -509,30 +551,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.channel.v1.PurchasableOffer m = - input.readMessage( - com.google.cloud.channel.v1.PurchasableOffer.parser(), - extensionRegistry); - if (purchasableOffersBuilder_ == null) { - ensurePurchasableOffersIsMutable(); - purchasableOffers_.add(m); - } else { - purchasableOffersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: + { + com.google.cloud.channel.v1.PurchasableOffer m = + input.readMessage( + com.google.cloud.channel.v1.PurchasableOffer.parser(), extensionRegistry); + if (purchasableOffersBuilder_ == null) { + ensurePurchasableOffersIsMutable(); + purchasableOffers_.add(m); + } else { + purchasableOffersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -542,21 +586,30 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List purchasableOffers_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePurchasableOffersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - purchasableOffers_ = new java.util.ArrayList(purchasableOffers_); + purchasableOffers_ = + new java.util.ArrayList( + purchasableOffers_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.PurchasableOffer, com.google.cloud.channel.v1.PurchasableOffer.Builder, com.google.cloud.channel.v1.PurchasableOfferOrBuilder> purchasableOffersBuilder_; + com.google.cloud.channel.v1.PurchasableOffer, + com.google.cloud.channel.v1.PurchasableOffer.Builder, + com.google.cloud.channel.v1.PurchasableOfferOrBuilder> + purchasableOffersBuilder_; /** + * + * *
      * The list of Offers requested.
      * 
@@ -571,6 +624,8 @@ public java.util.List getPurchasab } } /** + * + * *
      * The list of Offers requested.
      * 
@@ -585,6 +640,8 @@ public int getPurchasableOffersCount() { } } /** + * + * *
      * The list of Offers requested.
      * 
@@ -599,6 +656,8 @@ public com.google.cloud.channel.v1.PurchasableOffer getPurchasableOffers(int ind } } /** + * + * *
      * The list of Offers requested.
      * 
@@ -620,6 +679,8 @@ public Builder setPurchasableOffers( return this; } /** + * + * *
      * The list of Offers requested.
      * 
@@ -638,6 +699,8 @@ public Builder setPurchasableOffers( return this; } /** + * + * *
      * The list of Offers requested.
      * 
@@ -658,6 +721,8 @@ public Builder addPurchasableOffers(com.google.cloud.channel.v1.PurchasableOffer return this; } /** + * + * *
      * The list of Offers requested.
      * 
@@ -679,6 +744,8 @@ public Builder addPurchasableOffers( return this; } /** + * + * *
      * The list of Offers requested.
      * 
@@ -697,6 +764,8 @@ public Builder addPurchasableOffers( return this; } /** + * + * *
      * The list of Offers requested.
      * 
@@ -715,6 +784,8 @@ public Builder addPurchasableOffers( return this; } /** + * + * *
      * The list of Offers requested.
      * 
@@ -725,8 +796,7 @@ public Builder addAllPurchasableOffers( java.lang.Iterable values) { if (purchasableOffersBuilder_ == null) { ensurePurchasableOffersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, purchasableOffers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, purchasableOffers_); onChanged(); } else { purchasableOffersBuilder_.addAllMessages(values); @@ -734,6 +804,8 @@ public Builder addAllPurchasableOffers( return this; } /** + * + * *
      * The list of Offers requested.
      * 
@@ -751,6 +823,8 @@ public Builder clearPurchasableOffers() { return this; } /** + * + * *
      * The list of Offers requested.
      * 
@@ -768,6 +842,8 @@ public Builder removePurchasableOffers(int index) { return this; } /** + * + * *
      * The list of Offers requested.
      * 
@@ -779,6 +855,8 @@ public com.google.cloud.channel.v1.PurchasableOffer.Builder getPurchasableOffers return getPurchasableOffersFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of Offers requested.
      * 
@@ -788,19 +866,22 @@ public com.google.cloud.channel.v1.PurchasableOffer.Builder getPurchasableOffers public com.google.cloud.channel.v1.PurchasableOfferOrBuilder getPurchasableOffersOrBuilder( int index) { if (purchasableOffersBuilder_ == null) { - return purchasableOffers_.get(index); } else { + return purchasableOffers_.get(index); + } else { return purchasableOffersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of Offers requested.
      * 
* * repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1; */ - public java.util.List - getPurchasableOffersOrBuilderList() { + public java.util.List + getPurchasableOffersOrBuilderList() { if (purchasableOffersBuilder_ != null) { return purchasableOffersBuilder_.getMessageOrBuilderList(); } else { @@ -808,6 +889,8 @@ public com.google.cloud.channel.v1.PurchasableOfferOrBuilder getPurchasableOffer } } /** + * + * *
      * The list of Offers requested.
      * 
@@ -815,10 +898,12 @@ public com.google.cloud.channel.v1.PurchasableOfferOrBuilder getPurchasableOffer * repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1; */ public com.google.cloud.channel.v1.PurchasableOffer.Builder addPurchasableOffersBuilder() { - return getPurchasableOffersFieldBuilder().addBuilder( - com.google.cloud.channel.v1.PurchasableOffer.getDefaultInstance()); + return getPurchasableOffersFieldBuilder() + .addBuilder(com.google.cloud.channel.v1.PurchasableOffer.getDefaultInstance()); } /** + * + * *
      * The list of Offers requested.
      * 
@@ -827,26 +912,34 @@ public com.google.cloud.channel.v1.PurchasableOffer.Builder addPurchasableOffers */ public com.google.cloud.channel.v1.PurchasableOffer.Builder addPurchasableOffersBuilder( int index) { - return getPurchasableOffersFieldBuilder().addBuilder( - index, com.google.cloud.channel.v1.PurchasableOffer.getDefaultInstance()); + return getPurchasableOffersFieldBuilder() + .addBuilder(index, com.google.cloud.channel.v1.PurchasableOffer.getDefaultInstance()); } /** + * + * *
      * The list of Offers requested.
      * 
* * repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1; */ - public java.util.List - getPurchasableOffersBuilderList() { + public java.util.List + getPurchasableOffersBuilderList() { return getPurchasableOffersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.PurchasableOffer, com.google.cloud.channel.v1.PurchasableOffer.Builder, com.google.cloud.channel.v1.PurchasableOfferOrBuilder> + com.google.cloud.channel.v1.PurchasableOffer, + com.google.cloud.channel.v1.PurchasableOffer.Builder, + com.google.cloud.channel.v1.PurchasableOfferOrBuilder> getPurchasableOffersFieldBuilder() { if (purchasableOffersBuilder_ == null) { - purchasableOffersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.PurchasableOffer, com.google.cloud.channel.v1.PurchasableOffer.Builder, com.google.cloud.channel.v1.PurchasableOfferOrBuilder>( + purchasableOffersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.PurchasableOffer, + com.google.cloud.channel.v1.PurchasableOffer.Builder, + com.google.cloud.channel.v1.PurchasableOfferOrBuilder>( purchasableOffers_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -858,18 +951,20 @@ public com.google.cloud.channel.v1.PurchasableOffer.Builder addPurchasableOffers private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * 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; @@ -878,20 +973,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * 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 { @@ -899,61 +995,68 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * 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 to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * 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); } @@ -963,12 +1066,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListPurchasableOffersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListPurchasableOffersResponse) private static final com.google.cloud.channel.v1.ListPurchasableOffersResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListPurchasableOffersResponse(); } @@ -977,27 +1080,27 @@ public static com.google.cloud.channel.v1.ListPurchasableOffersResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPurchasableOffersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPurchasableOffersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1012,6 +1115,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.channel.v1.ListPurchasableOffersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponseOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponseOrBuilder.java similarity index 65% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponseOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponseOrBuilder.java index f59f9a8bf83e..485e62df127f 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponseOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableOffersResponseOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListPurchasableOffersResponseOrBuilder extends +public interface ListPurchasableOffersResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListPurchasableOffersResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of Offers requested.
    * 
* * repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1; */ - java.util.List - getPurchasableOffersList(); + java.util.List getPurchasableOffersList(); /** + * + * *
    * The list of Offers requested.
    * 
@@ -25,6 +44,8 @@ public interface ListPurchasableOffersResponseOrBuilder extends */ com.google.cloud.channel.v1.PurchasableOffer getPurchasableOffers(int index); /** + * + * *
    * The list of Offers requested.
    * 
@@ -33,41 +54,49 @@ public interface ListPurchasableOffersResponseOrBuilder extends */ int getPurchasableOffersCount(); /** + * + * *
    * The list of Offers requested.
    * 
* * repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1; */ - java.util.List + java.util.List getPurchasableOffersOrBuilderList(); /** + * + * *
    * The list of Offers requested.
    * 
* * repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1; */ - com.google.cloud.channel.v1.PurchasableOfferOrBuilder getPurchasableOffersOrBuilder( - int index); + com.google.cloud.channel.v1.PurchasableOfferOrBuilder getPurchasableOffersOrBuilder(int index); /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequest.java similarity index 61% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequest.java index 5b794d856b7b..f10299eedfae 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for ListPurchasableSkus.
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListPurchasableSkusRequest} */ -public final class ListPurchasableSkusRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListPurchasableSkusRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListPurchasableSkusRequest) ListPurchasableSkusRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPurchasableSkusRequest.newBuilder() to construct. private ListPurchasableSkusRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPurchasableSkusRequest() { customer_ = ""; pageToken_ = ""; @@ -27,34 +45,38 @@ private ListPurchasableSkusRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPurchasableSkusRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListPurchasableSkusRequest.class, com.google.cloud.channel.v1.ListPurchasableSkusRequest.Builder.class); + com.google.cloud.channel.v1.ListPurchasableSkusRequest.class, + com.google.cloud.channel.v1.ListPurchasableSkusRequest.Builder.class); } - public interface CreateEntitlementPurchaseOrBuilder extends + public interface CreateEntitlementPurchaseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. List SKUs belonging to this Product.
      * Format: products/{product_id}.
@@ -62,10 +84,13 @@ public interface CreateEntitlementPurchaseOrBuilder extends
      * 
* * string product = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The product. */ java.lang.String getProduct(); /** + * + * *
      * Required. List SKUs belonging to this Product.
      * Format: products/{product_id}.
@@ -73,60 +98,69 @@ public interface CreateEntitlementPurchaseOrBuilder extends
      * 
* * string product = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for product. */ - com.google.protobuf.ByteString - getProductBytes(); + com.google.protobuf.ByteString getProductBytes(); } /** + * + * *
    * List SKUs for a new entitlement. Make the purchase using
    * [CloudChannelService.CreateEntitlement][google.cloud.channel.v1.CloudChannelService.CreateEntitlement].
    * 
* - * Protobuf type {@code google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase} + * Protobuf type {@code + * google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase} */ - public static final class CreateEntitlementPurchase extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CreateEntitlementPurchase extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) CreateEntitlementPurchaseOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateEntitlementPurchase.newBuilder() to construct. private CreateEntitlementPurchase(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateEntitlementPurchase() { product_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateEntitlementPurchase(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.class, com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder.class); + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + .class, + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + .Builder.class); } public static final int PRODUCT_FIELD_NUMBER = 1; private volatile java.lang.Object product_; /** + * + * *
      * Required. List SKUs belonging to this Product.
      * Format: products/{product_id}.
@@ -134,6 +168,7 @@ protected java.lang.Object newInstance(
      * 
* * string product = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The product. */ @java.lang.Override @@ -142,14 +177,15 @@ public java.lang.String getProduct() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); product_ = s; return s; } } /** + * + * *
      * Required. List SKUs belonging to this Product.
      * Format: products/{product_id}.
@@ -157,16 +193,15 @@ public java.lang.String getProduct() {
      * 
* * string product = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for product. */ @java.lang.Override - public com.google.protobuf.ByteString - getProductBytes() { + public com.google.protobuf.ByteString getProductBytes() { java.lang.Object ref = product_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); product_ = b; return b; } else { @@ -175,6 +210,7 @@ public java.lang.String getProduct() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -186,8 +222,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(product_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, product_); } @@ -211,15 +246,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase)) { + if (!(obj + instanceof + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase other = (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) obj; + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase other = + (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) obj; - if (!getProduct() - .equals(other.getProduct())) return false; + if (!getProduct().equals(other.getProduct())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -238,88 +275,102 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase 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.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + 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.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -329,40 +380,46 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * List SKUs for a new entitlement. Make the purchase using
      * [CloudChannelService.CreateEntitlement][google.cloud.channel.v1.CloudChannelService.CreateEntitlement].
      * 
* - * Protobuf type {@code google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase} + * Protobuf type {@code + * google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchaseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.class, com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder.class); + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + .class, + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + .Builder.class); } - // Construct using com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -372,19 +429,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_descriptor; } @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase getDefaultInstanceForType() { - return com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.getDefaultInstance(); + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + getDefaultInstanceForType() { + return com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase build() { - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase result = buildPartial(); + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + build() { + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -392,8 +453,11 @@ public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementP } @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase buildPartial() { - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase result = new com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase(this); + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + buildPartial() { + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase result = + new com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase( + this); result.product_ = product_; onBuilt(); return result; @@ -403,46 +467,56 @@ public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) { - return mergeFrom((com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase)other); + if (other + instanceof + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) { + return mergeFrom( + (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase other) { - if (other == com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase other) { + if (other + == com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + .getDefaultInstance()) return this; if (!other.getProduct().isEmpty()) { product_ = other.product_; onChanged(); @@ -473,17 +547,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - product_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + product_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -496,6 +572,8 @@ public Builder mergeFrom( private java.lang.Object product_ = ""; /** + * + * *
        * Required. List SKUs belonging to this Product.
        * Format: products/{product_id}.
@@ -503,13 +581,13 @@ public Builder mergeFrom(
        * 
* * string product = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The product. */ public java.lang.String getProduct() { java.lang.Object ref = product_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); product_ = s; return s; @@ -518,6 +596,8 @@ public java.lang.String getProduct() { } } /** + * + * *
        * Required. List SKUs belonging to this Product.
        * Format: products/{product_id}.
@@ -525,15 +605,14 @@ public java.lang.String getProduct() {
        * 
* * string product = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for product. */ - public com.google.protobuf.ByteString - getProductBytes() { + public com.google.protobuf.ByteString getProductBytes() { java.lang.Object ref = product_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); product_ = b; return b; } else { @@ -541,6 +620,8 @@ public java.lang.String getProduct() { } } /** + * + * *
        * Required. List SKUs belonging to this Product.
        * Format: products/{product_id}.
@@ -548,20 +629,22 @@ public java.lang.String getProduct() {
        * 
* * string product = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The product to set. * @return This builder for chaining. */ - public Builder setProduct( - java.lang.String value) { + public Builder setProduct(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + product_ = value; onChanged(); return this; } /** + * + * *
        * Required. List SKUs belonging to this Product.
        * Format: products/{product_id}.
@@ -569,15 +652,18 @@ public Builder setProduct(
        * 
* * string product = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearProduct() { - + product_ = getDefaultInstance().getProduct(); onChanged(); return this; } /** + * + * *
        * Required. List SKUs belonging to this Product.
        * Format: products/{product_id}.
@@ -585,20 +671,21 @@ public Builder clearProduct() {
        * 
* * string product = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for product to set. * @return This builder for chaining. */ - public Builder setProductBytes( - com.google.protobuf.ByteString value) { + public Builder setProductBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + product_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -611,41 +698,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) - private static final com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase DEFAULT_INSTANCE; + private static final com.google.cloud.channel.v1.ListPurchasableSkusRequest + .CreateEntitlementPurchase + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase(); + DEFAULT_INSTANCE = + new com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase(); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase getDefaultInstance() { + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateEntitlementPurchase parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateEntitlementPurchase parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,17 +749,20 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase getDefaultInstanceForType() { + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ChangeOfferPurchaseOrBuilder extends + public interface ChangeOfferPurchaseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Resource name of the entitlement.
      * Format:
@@ -675,10 +770,13 @@ public interface ChangeOfferPurchaseOrBuilder extends
      * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The entitlement. */ java.lang.String getEntitlement(); /** + * + * *
      * Required. Resource name of the entitlement.
      * Format:
@@ -686,31 +784,44 @@ public interface ChangeOfferPurchaseOrBuilder extends
      * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for entitlement. */ - com.google.protobuf.ByteString - getEntitlementBytes(); + com.google.protobuf.ByteString getEntitlementBytes(); /** + * + * *
      * Required. Change Type for the entitlement.
      * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for changeType. */ int getChangeTypeValue(); /** + * + * *
      * Required. Change Type for the entitlement.
      * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The changeType. */ - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType getChangeType(); + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType + getChangeType(); } /** + * + * *
    * List SKUs for upgrading or downgrading an entitlement. Make the purchase
    * using
@@ -719,15 +830,16 @@ public interface ChangeOfferPurchaseOrBuilder extends
    *
    * Protobuf type {@code google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase}
    */
-  public static final class ChangeOfferPurchase extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class ChangeOfferPurchase extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase)
       ChangeOfferPurchaseOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use ChangeOfferPurchase.newBuilder() to construct.
     private ChangeOfferPurchase(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private ChangeOfferPurchase() {
       entitlement_ = "";
       changeType_ = 0;
@@ -735,39 +847,45 @@ private ChangeOfferPurchase() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new ChangeOfferPurchase();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.class, com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.Builder.class);
+              com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.class,
+              com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.Builder
+                  .class);
     }
 
     /**
+     *
+     *
      * 
      * Change Type enum.
      * 
* - * Protobuf enum {@code google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType} + * Protobuf enum {@code + * google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType} */ - public enum ChangeType - implements com.google.protobuf.ProtocolMessageEnum { + public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Not used.
        * 
@@ -776,6 +894,8 @@ public enum ChangeType */ CHANGE_TYPE_UNSPECIFIED(0), /** + * + * *
        * SKU is an upgrade on the current entitlement.
        * 
@@ -784,6 +904,8 @@ public enum ChangeType */ UPGRADE(1), /** + * + * *
        * SKU is a downgrade on the current entitlement.
        * 
@@ -795,6 +917,8 @@ public enum ChangeType ; /** + * + * *
        * Not used.
        * 
@@ -803,6 +927,8 @@ public enum ChangeType */ public static final int CHANGE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * SKU is an upgrade on the current entitlement.
        * 
@@ -811,6 +937,8 @@ public enum ChangeType */ public static final int UPGRADE_VALUE = 1; /** + * + * *
        * SKU is a downgrade on the current entitlement.
        * 
@@ -819,7 +947,6 @@ public enum ChangeType */ public static final int DOWNGRADE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -844,49 +971,52 @@ public static ChangeType valueOf(int value) { */ public static ChangeType forNumber(int value) { switch (value) { - case 0: return CHANGE_TYPE_UNSPECIFIED; - case 1: return UPGRADE; - case 2: return DOWNGRADE; - default: return null; + case 0: + return CHANGE_TYPE_UNSPECIFIED; + case 1: + return UPGRADE; + case 2: + return DOWNGRADE; + 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< - ChangeType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ChangeType findValueByNumber(int number) { - return ChangeType.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 ChangeType findValueByNumber(int number) { + return ChangeType.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.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase + .getDescriptor() + .getEnumTypes() + .get(0); } private static final ChangeType[] VALUES = values(); - public static ChangeType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ChangeType 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; @@ -906,6 +1036,8 @@ private ChangeType(int value) { public static final int ENTITLEMENT_FIELD_NUMBER = 1; private volatile java.lang.Object entitlement_; /** + * + * *
      * Required. Resource name of the entitlement.
      * Format:
@@ -913,6 +1045,7 @@ private ChangeType(int value) {
      * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The entitlement. */ @java.lang.Override @@ -921,14 +1054,15 @@ public java.lang.String getEntitlement() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entitlement_ = s; return s; } } /** + * + * *
      * Required. Resource name of the entitlement.
      * Format:
@@ -936,16 +1070,15 @@ public java.lang.String getEntitlement() {
      * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for entitlement. */ @java.lang.Override - public com.google.protobuf.ByteString - getEntitlementBytes() { + public com.google.protobuf.ByteString getEntitlementBytes() { java.lang.Object ref = entitlement_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); entitlement_ = b; return b; } else { @@ -956,31 +1089,50 @@ public java.lang.String getEntitlement() { public static final int CHANGE_TYPE_FIELD_NUMBER = 2; private int changeType_; /** + * + * *
      * Required. Change Type for the entitlement.
      * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for changeType. */ - @java.lang.Override public int getChangeTypeValue() { + @java.lang.Override + public int getChangeTypeValue() { return changeType_; } /** + * + * *
      * Required. Change Type for the entitlement.
      * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The changeType. */ - @java.lang.Override public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType getChangeType() { + @java.lang.Override + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType + getChangeType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType result = com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType.valueOf(changeType_); - return result == null ? com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType.UNRECOGNIZED : result; + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType result = + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType + .valueOf(changeType_); + return result == null + ? com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType + .UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -992,12 +1144,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(entitlement_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entitlement_); } - if (changeType_ != com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType.CHANGE_TYPE_UNSPECIFIED.getNumber()) { + if (changeType_ + != com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType + .CHANGE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, changeType_); } getUnknownFields().writeTo(output); @@ -1012,9 +1166,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entitlement_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, entitlement_); } - if (changeType_ != com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType.CHANGE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, changeType_); + if (changeType_ + != com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType + .CHANGE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, changeType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1024,15 +1180,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.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase)) { + if (!(obj + instanceof com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase other = (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) obj; + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase other = + (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) obj; - if (!getEntitlement() - .equals(other.getEntitlement())) return false; + if (!getEntitlement().equals(other.getEntitlement())) return false; if (changeType_ != other.changeType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1054,88 +1211,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase 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.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase + 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.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1145,6 +1315,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * List SKUs for upgrading or downgrading an entitlement. Make the purchase
      * using
@@ -1153,33 +1325,35 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase)
         com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchaseOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.channel.v1.ServiceProto
+            .internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_fieldAccessorTable
+        return com.google.cloud.channel.v1.ServiceProto
+            .internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.class, com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.Builder.class);
+                com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.class,
+                com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.Builder
+                    .class);
       }
 
-      // Construct using com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.newBuilder()
-      private Builder() {
-
-      }
+      // Construct using
+      // com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.newBuilder()
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1191,19 +1365,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.channel.v1.ServiceProto
+            .internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase getDefaultInstanceForType() {
-        return com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.getDefaultInstance();
+      public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase
+          getDefaultInstanceForType() {
+        return com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase build() {
-        com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase result = buildPartial();
+        com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -1211,8 +1388,10 @@ public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchas
       }
 
       @java.lang.Override
-      public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase buildPartial() {
-        com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase result = new com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase(this);
+      public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase
+          buildPartial() {
+        com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase result =
+            new com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase(this);
         result.entitlement_ = entitlement_;
         result.changeType_ = changeType_;
         onBuilt();
@@ -1223,46 +1402,54 @@ public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchas
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) {
-          return mergeFrom((com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase)other);
+        if (other
+            instanceof com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) {
+          return mergeFrom(
+              (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase other) {
-        if (other == com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase other) {
+        if (other
+            == com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase
+                .getDefaultInstance()) return this;
         if (!other.getEntitlement().isEmpty()) {
           entitlement_ = other.entitlement_;
           onChanged();
@@ -1296,22 +1483,25 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                entitlement_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-              case 16: {
-                changeType_ = input.readEnum();
-
-                break;
-              } // case 16
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  entitlement_ = input.readStringRequireUtf8();
+
+                  break;
+                } // case 10
+              case 16:
+                {
+                  changeType_ = input.readEnum();
+
+                  break;
+                } // case 16
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1324,6 +1514,8 @@ public Builder mergeFrom(
 
       private java.lang.Object entitlement_ = "";
       /**
+       *
+       *
        * 
        * Required. Resource name of the entitlement.
        * Format:
@@ -1331,13 +1523,13 @@ public Builder mergeFrom(
        * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The entitlement. */ public java.lang.String getEntitlement() { java.lang.Object ref = entitlement_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entitlement_ = s; return s; @@ -1346,6 +1538,8 @@ public java.lang.String getEntitlement() { } } /** + * + * *
        * Required. Resource name of the entitlement.
        * Format:
@@ -1353,15 +1547,14 @@ public java.lang.String getEntitlement() {
        * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for entitlement. */ - public com.google.protobuf.ByteString - getEntitlementBytes() { + public com.google.protobuf.ByteString getEntitlementBytes() { java.lang.Object ref = entitlement_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); entitlement_ = b; return b; } else { @@ -1369,6 +1562,8 @@ public java.lang.String getEntitlement() { } } /** + * + * *
        * Required. Resource name of the entitlement.
        * Format:
@@ -1376,20 +1571,22 @@ public java.lang.String getEntitlement() {
        * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The entitlement to set. * @return This builder for chaining. */ - public Builder setEntitlement( - java.lang.String value) { + public Builder setEntitlement(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entitlement_ = value; onChanged(); return this; } /** + * + * *
        * Required. Resource name of the entitlement.
        * Format:
@@ -1397,15 +1594,18 @@ public Builder setEntitlement(
        * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearEntitlement() { - + entitlement_ = getDefaultInstance().getEntitlement(); onChanged(); return this; } /** + * + * *
        * Required. Resource name of the entitlement.
        * Format:
@@ -1413,16 +1613,16 @@ public Builder clearEntitlement() {
        * 
* * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for entitlement to set. * @return This builder for chaining. */ - public Builder setEntitlementBytes( - com.google.protobuf.ByteString value) { + public Builder setEntitlementBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entitlement_ = value; onChanged(); return this; @@ -1430,77 +1630,113 @@ public Builder setEntitlementBytes( private int changeType_ = 0; /** + * + * *
        * Required. Change Type for the entitlement.
        * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for changeType. */ - @java.lang.Override public int getChangeTypeValue() { + @java.lang.Override + public int getChangeTypeValue() { return changeType_; } /** + * + * *
        * Required. Change Type for the entitlement.
        * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for changeType to set. * @return This builder for chaining. */ public Builder setChangeTypeValue(int value) { - + changeType_ = value; onChanged(); return this; } /** + * + * *
        * Required. Change Type for the entitlement.
        * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The changeType. */ @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType getChangeType() { + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType + getChangeType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType result = com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType.valueOf(changeType_); - return result == null ? com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType.UNRECOGNIZED : result; + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType + result = + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase + .ChangeType.valueOf(changeType_); + return result == null + ? com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType + .UNRECOGNIZED + : result; } /** + * + * *
        * Required. Change Type for the entitlement.
        * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The changeType to set. * @return This builder for chaining. */ - public Builder setChangeType(com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType value) { + public Builder setChangeType( + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType + value) { if (value == null) { throw new NullPointerException(); } - + changeType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Required. Change Type for the entitlement.
        * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType change_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearChangeType() { - + changeType_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1513,41 +1749,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) - private static final com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase DEFAULT_INSTANCE; + private static final com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase(); + DEFAULT_INSTANCE = + new com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase(); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase getDefaultInstance() { + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChangeOfferPurchase parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChangeOfferPurchase parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1559,21 +1799,24 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase getDefaultInstanceForType() { + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int purchaseOptionCase_ = 0; private java.lang.Object purchaseOption_; + public enum PurchaseOptionCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CREATE_ENTITLEMENT_PURCHASE(2), CHANGE_OFFER_PURCHASE(3), PURCHASEOPTION_NOT_SET(0); private final int value; + private PurchaseOptionCase(int value) { this.value = value; } @@ -1589,30 +1832,38 @@ public static PurchaseOptionCase valueOf(int value) { public static PurchaseOptionCase forNumber(int value) { switch (value) { - case 2: return CREATE_ENTITLEMENT_PURCHASE; - case 3: return CHANGE_OFFER_PURCHASE; - case 0: return PURCHASEOPTION_NOT_SET; - default: return null; + case 2: + return CREATE_ENTITLEMENT_PURCHASE; + case 3: + return CHANGE_OFFER_PURCHASE; + case 0: + return PURCHASEOPTION_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public PurchaseOptionCase - getPurchaseOptionCase() { - return PurchaseOptionCase.forNumber( - purchaseOptionCase_); + public PurchaseOptionCase getPurchaseOptionCase() { + return PurchaseOptionCase.forNumber(purchaseOptionCase_); } public static final int CREATE_ENTITLEMENT_PURCHASE_FIELD_NUMBER = 2; /** + * + * *
    * List SKUs for CreateEntitlement purchase.
    * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * * @return Whether the createEntitlementPurchase field is set. */ @java.lang.Override @@ -1620,42 +1871,62 @@ public boolean hasCreateEntitlementPurchase() { return purchaseOptionCase_ == 2; } /** + * + * *
    * List SKUs for CreateEntitlement purchase.
    * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * * @return The createEntitlementPurchase. */ @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase getCreateEntitlementPurchase() { + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + getCreateEntitlementPurchase() { if (purchaseOptionCase_ == 2) { - return (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) purchaseOption_; + return (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) + purchaseOption_; } - return com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + .getDefaultInstance(); } /** + * + * *
    * List SKUs for CreateEntitlement purchase.
    * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * */ @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchaseOrBuilder getCreateEntitlementPurchaseOrBuilder() { + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchaseOrBuilder + getCreateEntitlementPurchaseOrBuilder() { if (purchaseOptionCase_ == 2) { - return (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) purchaseOption_; + return (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) + purchaseOption_; } - return com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + .getDefaultInstance(); } public static final int CHANGE_OFFER_PURCHASE_FIELD_NUMBER = 3; /** + * + * *
    * List SKUs for ChangeOffer purchase with a new SKU.
    * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * * @return Whether the changeOfferPurchase field is set. */ @java.lang.Override @@ -1663,44 +1934,64 @@ public boolean hasChangeOfferPurchase() { return purchaseOptionCase_ == 3; } /** + * + * *
    * List SKUs for ChangeOffer purchase with a new SKU.
    * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * * @return The changeOfferPurchase. */ @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase getChangeOfferPurchase() { + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase + getChangeOfferPurchase() { if (purchaseOptionCase_ == 3) { - return (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) purchaseOption_; + return (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) + purchaseOption_; } - return com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase + .getDefaultInstance(); } /** + * + * *
    * List SKUs for ChangeOffer purchase with a new SKU.
    * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; + * */ @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchaseOrBuilder getChangeOfferPurchaseOrBuilder() { + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchaseOrBuilder + getChangeOfferPurchaseOrBuilder() { if (purchaseOptionCase_ == 3) { - return (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) purchaseOption_; + return (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) + purchaseOption_; } - return com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase + .getDefaultInstance(); } public static final int CUSTOMER_FIELD_NUMBER = 1; private volatile java.lang.Object customer_; /** + * + * *
    * Required. The resource name of the customer to list SKUs for.
    * Format: accounts/{account_id}/customers/{customer_id}.
    * 
* - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The customer. */ @java.lang.Override @@ -1709,30 +2000,32 @@ public java.lang.String getCustomer() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customer_ = s; return s; } } /** + * + * *
    * Required. The resource name of the customer to list SKUs for.
    * Format: accounts/{account_id}/customers/{customer_id}.
    * 
* - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for customer. */ @java.lang.Override - public com.google.protobuf.ByteString - getCustomerBytes() { + public com.google.protobuf.ByteString getCustomerBytes() { java.lang.Object ref = customer_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customer_ = b; return b; } else { @@ -1743,6 +2036,8 @@ public java.lang.String getCustomer() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_; /** + * + * *
    * Optional. Requested page size. Server might return fewer results than
    * requested. If unspecified, returns at most 100 SKUs. The maximum value is
@@ -1750,6 +2045,7 @@ public java.lang.String getCustomer() {
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -1760,11 +2056,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 5; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. A token for a page of results other than the first page.
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -1773,29 +2072,29 @@ 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 token for a page of results other than the first page.
    * 
* * string page_token = 5 [(.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 { @@ -1806,6 +2105,8 @@ public java.lang.String getPageToken() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 6; private volatile java.lang.Object languageCode_; /** + * + * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -1813,6 +2114,7 @@ public java.lang.String getPageToken() {
    * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ @java.lang.Override @@ -1821,14 +2123,15 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** + * + * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -1836,16 +2139,15 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -1854,6 +2156,7 @@ public java.lang.String getLanguageCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1865,16 +2168,21 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(customer_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, customer_); } if (purchaseOptionCase_ == 2) { - output.writeMessage(2, (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) purchaseOption_); + output.writeMessage( + 2, + (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) + purchaseOption_); } if (purchaseOptionCase_ == 3) { - output.writeMessage(3, (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) purchaseOption_); + output.writeMessage( + 3, + (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) + purchaseOption_); } if (pageSize_ != 0) { output.writeInt32(4, pageSize_); @@ -1898,16 +2206,21 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, customer_); } if (purchaseOptionCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) purchaseOption_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, + (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) + purchaseOption_); } if (purchaseOptionCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) purchaseOption_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, + (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) + purchaseOption_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pageToken_); @@ -1923,30 +2236,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.cloud.channel.v1.ListPurchasableSkusRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListPurchasableSkusRequest other = (com.google.cloud.channel.v1.ListPurchasableSkusRequest) obj; + com.google.cloud.channel.v1.ListPurchasableSkusRequest other = + (com.google.cloud.channel.v1.ListPurchasableSkusRequest) obj; - if (!getCustomer() - .equals(other.getCustomer())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getLanguageCode() - .equals(other.getLanguageCode())) return false; + if (!getCustomer().equals(other.getCustomer())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getLanguageCode().equals(other.getLanguageCode())) return false; if (!getPurchaseOptionCase().equals(other.getPurchaseOptionCase())) return false; switch (purchaseOptionCase_) { case 2: - if (!getCreateEntitlementPurchase() - .equals(other.getCreateEntitlementPurchase())) return false; + if (!getCreateEntitlementPurchase().equals(other.getCreateEntitlementPurchase())) + return false; break; case 3: - if (!getChangeOfferPurchase() - .equals(other.getChangeOfferPurchase())) return false; + if (!getChangeOfferPurchase().equals(other.getChangeOfferPurchase())) return false; break; case 0: default: @@ -1988,129 +2297,136 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListPurchasableSkusRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableSkusRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListPurchasableSkusRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ListPurchasableSkusRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.ListPurchasableSkusRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListPurchasableSkus.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListPurchasableSkusRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListPurchasableSkusRequest) com.google.cloud.channel.v1.ListPurchasableSkusRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListPurchasableSkusRequest.class, com.google.cloud.channel.v1.ListPurchasableSkusRequest.Builder.class); + com.google.cloud.channel.v1.ListPurchasableSkusRequest.class, + com.google.cloud.channel.v1.ListPurchasableSkusRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.ListPurchasableSkusRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2134,9 +2450,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_descriptor; } @java.lang.Override @@ -2155,7 +2471,8 @@ public com.google.cloud.channel.v1.ListPurchasableSkusRequest build() { @java.lang.Override public com.google.cloud.channel.v1.ListPurchasableSkusRequest buildPartial() { - com.google.cloud.channel.v1.ListPurchasableSkusRequest result = new com.google.cloud.channel.v1.ListPurchasableSkusRequest(this); + com.google.cloud.channel.v1.ListPurchasableSkusRequest result = + new com.google.cloud.channel.v1.ListPurchasableSkusRequest(this); if (purchaseOptionCase_ == 2) { if (createEntitlementPurchaseBuilder_ == null) { result.purchaseOption_ = purchaseOption_; @@ -2183,38 +2500,39 @@ public com.google.cloud.channel.v1.ListPurchasableSkusRequest 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.cloud.channel.v1.ListPurchasableSkusRequest) { - return mergeFrom((com.google.cloud.channel.v1.ListPurchasableSkusRequest)other); + return mergeFrom((com.google.cloud.channel.v1.ListPurchasableSkusRequest) other); } else { super.mergeFrom(other); return this; @@ -2222,7 +2540,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ListPurchasableSkusRequest other) { - if (other == com.google.cloud.channel.v1.ListPurchasableSkusRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.channel.v1.ListPurchasableSkusRequest.getDefaultInstance()) + return this; if (!other.getCustomer().isEmpty()) { customer_ = other.customer_; onChanged(); @@ -2239,17 +2558,20 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ListPurchasableSkusRequest onChanged(); } switch (other.getPurchaseOptionCase()) { - case CREATE_ENTITLEMENT_PURCHASE: { - mergeCreateEntitlementPurchase(other.getCreateEntitlementPurchase()); - break; - } - case CHANGE_OFFER_PURCHASE: { - mergeChangeOfferPurchase(other.getChangeOfferPurchase()); - break; - } - case PURCHASEOPTION_NOT_SET: { - break; - } + case CREATE_ENTITLEMENT_PURCHASE: + { + mergeCreateEntitlementPurchase(other.getCreateEntitlementPurchase()); + break; + } + case CHANGE_OFFER_PURCHASE: + { + mergeChangeOfferPurchase(other.getChangeOfferPurchase()); + break; + } + case PURCHASEOPTION_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2277,46 +2599,51 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - customer_ = input.readStringRequireUtf8(); + case 10: + { + customer_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - input.readMessage( - getCreateEntitlementPurchaseFieldBuilder().getBuilder(), - extensionRegistry); - purchaseOptionCase_ = 2; - break; - } // case 18 - case 26: { - input.readMessage( - getChangeOfferPurchaseFieldBuilder().getBuilder(), - extensionRegistry); - purchaseOptionCase_ = 3; - break; - } // case 26 - case 32: { - pageSize_ = input.readInt32(); + break; + } // case 10 + case 18: + { + input.readMessage( + getCreateEntitlementPurchaseFieldBuilder().getBuilder(), extensionRegistry); + purchaseOptionCase_ = 2; + break; + } // case 18 + case 26: + { + input.readMessage( + getChangeOfferPurchaseFieldBuilder().getBuilder(), extensionRegistry); + purchaseOptionCase_ = 3; + break; + } // case 26 + case 32: + { + pageSize_ = input.readInt32(); - break; - } // case 32 - case 42: { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 32 + case 42: + { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 42 - case 50: { - languageCode_ = input.readStringRequireUtf8(); + break; + } // case 42 + case 50: + { + languageCode_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2326,12 +2653,12 @@ public Builder mergeFrom( } // finally return this; } + private int purchaseOptionCase_ = 0; private java.lang.Object purchaseOption_; - public PurchaseOptionCase - getPurchaseOptionCase() { - return PurchaseOptionCase.forNumber( - purchaseOptionCase_); + + public PurchaseOptionCase getPurchaseOptionCase() { + return PurchaseOptionCase.forNumber(purchaseOptionCase_); } public Builder clearPurchaseOption() { @@ -2341,15 +2668,24 @@ public Builder clearPurchaseOption() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase, com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder, com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchaseOrBuilder> createEntitlementPurchaseBuilder_; + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase, + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + .Builder, + com.google.cloud.channel.v1.ListPurchasableSkusRequest + .CreateEntitlementPurchaseOrBuilder> + createEntitlementPurchaseBuilder_; /** + * + * *
      * List SKUs for CreateEntitlement purchase.
      * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * * @return Whether the createEntitlementPurchase field is set. */ @java.lang.Override @@ -2357,35 +2693,49 @@ public boolean hasCreateEntitlementPurchase() { return purchaseOptionCase_ == 2; } /** + * + * *
      * List SKUs for CreateEntitlement purchase.
      * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * * @return The createEntitlementPurchase. */ @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase getCreateEntitlementPurchase() { + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + getCreateEntitlementPurchase() { if (createEntitlementPurchaseBuilder_ == null) { if (purchaseOptionCase_ == 2) { - return (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) purchaseOption_; + return (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) + purchaseOption_; } - return com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + .getDefaultInstance(); } else { if (purchaseOptionCase_ == 2) { return createEntitlementPurchaseBuilder_.getMessage(); } - return com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + .getDefaultInstance(); } } /** + * + * *
      * List SKUs for CreateEntitlement purchase.
      * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * */ - public Builder setCreateEntitlementPurchase(com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase value) { + public Builder setCreateEntitlementPurchase( + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase value) { if (createEntitlementPurchaseBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2399,14 +2749,19 @@ public Builder setCreateEntitlementPurchase(com.google.cloud.channel.v1.ListPurc return this; } /** + * + * *
      * List SKUs for CreateEntitlement purchase.
      * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * */ public Builder setCreateEntitlementPurchase( - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder builderForValue) { + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder + builderForValue) { if (createEntitlementPurchaseBuilder_ == null) { purchaseOption_ = builderForValue.build(); onChanged(); @@ -2417,18 +2772,31 @@ public Builder setCreateEntitlementPurchase( return this; } /** + * + * *
      * List SKUs for CreateEntitlement purchase.
      * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * */ - public Builder mergeCreateEntitlementPurchase(com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase value) { + public Builder mergeCreateEntitlementPurchase( + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase value) { if (createEntitlementPurchaseBuilder_ == null) { - if (purchaseOptionCase_ == 2 && - purchaseOption_ != com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.getDefaultInstance()) { - purchaseOption_ = com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.newBuilder((com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) purchaseOption_) - .mergeFrom(value).buildPartial(); + if (purchaseOptionCase_ == 2 + && purchaseOption_ + != com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + .getDefaultInstance()) { + purchaseOption_ = + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + .newBuilder( + (com.google.cloud.channel.v1.ListPurchasableSkusRequest + .CreateEntitlementPurchase) + purchaseOption_) + .mergeFrom(value) + .buildPartial(); } else { purchaseOption_ = value; } @@ -2444,11 +2812,15 @@ public Builder mergeCreateEntitlementPurchase(com.google.cloud.channel.v1.ListPu return this; } /** + * + * *
      * List SKUs for CreateEntitlement purchase.
      * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * */ public Builder clearCreateEntitlementPurchase() { if (createEntitlementPurchaseBuilder_ == null) { @@ -2467,67 +2839,104 @@ public Builder clearCreateEntitlementPurchase() { return this; } /** + * + * *
      * List SKUs for CreateEntitlement purchase.
      * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * */ - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder getCreateEntitlementPurchaseBuilder() { + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder + getCreateEntitlementPurchaseBuilder() { return getCreateEntitlementPurchaseFieldBuilder().getBuilder(); } /** + * + * *
      * List SKUs for CreateEntitlement purchase.
      * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * */ @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchaseOrBuilder getCreateEntitlementPurchaseOrBuilder() { + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchaseOrBuilder + getCreateEntitlementPurchaseOrBuilder() { if ((purchaseOptionCase_ == 2) && (createEntitlementPurchaseBuilder_ != null)) { return createEntitlementPurchaseBuilder_.getMessageOrBuilder(); } else { if (purchaseOptionCase_ == 2) { - return (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) purchaseOption_; + return (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) + purchaseOption_; } - return com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + .getDefaultInstance(); } } /** + * + * *
      * List SKUs for CreateEntitlement purchase.
      * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase, com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder, com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchaseOrBuilder> + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase, + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + .Builder, + com.google.cloud.channel.v1.ListPurchasableSkusRequest + .CreateEntitlementPurchaseOrBuilder> getCreateEntitlementPurchaseFieldBuilder() { if (createEntitlementPurchaseBuilder_ == null) { if (!(purchaseOptionCase_ == 2)) { - purchaseOption_ = com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.getDefaultInstance(); + purchaseOption_ = + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + .getDefaultInstance(); } - createEntitlementPurchaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase, com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder, com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchaseOrBuilder>( - (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) purchaseOption_, + createEntitlementPurchaseBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase, + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + .Builder, + com.google.cloud.channel.v1.ListPurchasableSkusRequest + .CreateEntitlementPurchaseOrBuilder>( + (com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase) + purchaseOption_, getParentForChildren(), isClean()); purchaseOption_ = null; } purchaseOptionCase_ = 2; - onChanged();; + onChanged(); + ; return createEntitlementPurchaseBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase, com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.Builder, com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchaseOrBuilder> changeOfferPurchaseBuilder_; + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase, + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.Builder, + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchaseOrBuilder> + changeOfferPurchaseBuilder_; /** + * + * *
      * List SKUs for ChangeOffer purchase with a new SKU.
      * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * * @return Whether the changeOfferPurchase field is set. */ @java.lang.Override @@ -2535,35 +2944,49 @@ public boolean hasChangeOfferPurchase() { return purchaseOptionCase_ == 3; } /** + * + * *
      * List SKUs for ChangeOffer purchase with a new SKU.
      * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * * @return The changeOfferPurchase. */ @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase getChangeOfferPurchase() { + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase + getChangeOfferPurchase() { if (changeOfferPurchaseBuilder_ == null) { if (purchaseOptionCase_ == 3) { - return (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) purchaseOption_; + return (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) + purchaseOption_; } - return com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase + .getDefaultInstance(); } else { if (purchaseOptionCase_ == 3) { return changeOfferPurchaseBuilder_.getMessage(); } - return com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase + .getDefaultInstance(); } } /** + * + * *
      * List SKUs for ChangeOffer purchase with a new SKU.
      * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; + * */ - public Builder setChangeOfferPurchase(com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase value) { + public Builder setChangeOfferPurchase( + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase value) { if (changeOfferPurchaseBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2577,14 +3000,19 @@ public Builder setChangeOfferPurchase(com.google.cloud.channel.v1.ListPurchasabl return this; } /** + * + * *
      * List SKUs for ChangeOffer purchase with a new SKU.
      * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; + * */ public Builder setChangeOfferPurchase( - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.Builder builderForValue) { + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.Builder + builderForValue) { if (changeOfferPurchaseBuilder_ == null) { purchaseOption_ = builderForValue.build(); onChanged(); @@ -2595,18 +3023,29 @@ public Builder setChangeOfferPurchase( return this; } /** + * + * *
      * List SKUs for ChangeOffer purchase with a new SKU.
      * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; + * */ - public Builder mergeChangeOfferPurchase(com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase value) { + public Builder mergeChangeOfferPurchase( + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase value) { if (changeOfferPurchaseBuilder_ == null) { - if (purchaseOptionCase_ == 3 && - purchaseOption_ != com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.getDefaultInstance()) { - purchaseOption_ = com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.newBuilder((com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) purchaseOption_) - .mergeFrom(value).buildPartial(); + if (purchaseOptionCase_ == 3 + && purchaseOption_ + != com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase + .getDefaultInstance()) { + purchaseOption_ = + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.newBuilder( + (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) + purchaseOption_) + .mergeFrom(value) + .buildPartial(); } else { purchaseOption_ = value; } @@ -2622,11 +3061,15 @@ public Builder mergeChangeOfferPurchase(com.google.cloud.channel.v1.ListPurchasa return this; } /** + * + * *
      * List SKUs for ChangeOffer purchase with a new SKU.
      * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; + * */ public Builder clearChangeOfferPurchase() { if (changeOfferPurchaseBuilder_ == null) { @@ -2645,74 +3088,104 @@ public Builder clearChangeOfferPurchase() { return this; } /** + * + * *
      * List SKUs for ChangeOffer purchase with a new SKU.
      * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; + * */ - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.Builder getChangeOfferPurchaseBuilder() { + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.Builder + getChangeOfferPurchaseBuilder() { return getChangeOfferPurchaseFieldBuilder().getBuilder(); } /** + * + * *
      * List SKUs for ChangeOffer purchase with a new SKU.
      * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; + * */ @java.lang.Override - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchaseOrBuilder getChangeOfferPurchaseOrBuilder() { + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchaseOrBuilder + getChangeOfferPurchaseOrBuilder() { if ((purchaseOptionCase_ == 3) && (changeOfferPurchaseBuilder_ != null)) { return changeOfferPurchaseBuilder_.getMessageOrBuilder(); } else { if (purchaseOptionCase_ == 3) { - return (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) purchaseOption_; + return (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) + purchaseOption_; } - return com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.getDefaultInstance(); + return com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase + .getDefaultInstance(); } } /** + * + * *
      * List SKUs for ChangeOffer purchase with a new SKU.
      * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase, com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.Builder, com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchaseOrBuilder> + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase, + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.Builder, + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchaseOrBuilder> getChangeOfferPurchaseFieldBuilder() { if (changeOfferPurchaseBuilder_ == null) { if (!(purchaseOptionCase_ == 3)) { - purchaseOption_ = com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.getDefaultInstance(); + purchaseOption_ = + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase + .getDefaultInstance(); } - changeOfferPurchaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase, com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.Builder, com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchaseOrBuilder>( - (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) purchaseOption_, + changeOfferPurchaseBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase, + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.Builder, + com.google.cloud.channel.v1.ListPurchasableSkusRequest + .ChangeOfferPurchaseOrBuilder>( + (com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase) + purchaseOption_, getParentForChildren(), isClean()); purchaseOption_ = null; } purchaseOptionCase_ = 3; - onChanged();; + onChanged(); + ; return changeOfferPurchaseBuilder_; } private java.lang.Object customer_ = ""; /** + * + * *
      * Required. The resource name of the customer to list SKUs for.
      * Format: accounts/{account_id}/customers/{customer_id}.
      * 
* - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The customer. */ public java.lang.String getCustomer() { java.lang.Object ref = customer_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customer_ = s; return s; @@ -2721,21 +3194,24 @@ public java.lang.String getCustomer() { } } /** + * + * *
      * Required. The resource name of the customer to list SKUs for.
      * Format: accounts/{account_id}/customers/{customer_id}.
      * 
* - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for customer. */ - public com.google.protobuf.ByteString - getCustomerBytes() { + public com.google.protobuf.ByteString getCustomerBytes() { java.lang.Object ref = customer_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customer_ = b; return b; } else { @@ -2743,64 +3219,79 @@ public java.lang.String getCustomer() { } } /** + * + * *
      * Required. The resource name of the customer to list SKUs for.
      * Format: accounts/{account_id}/customers/{customer_id}.
      * 
* - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The customer to set. * @return This builder for chaining. */ - public Builder setCustomer( - java.lang.String value) { + public Builder setCustomer(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + customer_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the customer to list SKUs for.
      * Format: accounts/{account_id}/customers/{customer_id}.
      * 
* - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearCustomer() { - + customer_ = getDefaultInstance().getCustomer(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the customer to list SKUs for.
      * Format: accounts/{account_id}/customers/{customer_id}.
      * 
* - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for customer to set. * @return This builder for chaining. */ - public Builder setCustomerBytes( - com.google.protobuf.ByteString value) { + public Builder setCustomerBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + customer_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Requested page size. Server might return fewer results than
      * requested. If unspecified, returns at most 100 SKUs. The maximum value is
@@ -2808,6 +3299,7 @@ public Builder setCustomerBytes(
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -2815,6 +3307,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Requested page size. Server might return fewer results than
      * requested. If unspecified, returns at most 100 SKUs. The maximum value is
@@ -2822,16 +3316,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 4 [(.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. Requested page size. Server might return fewer results than
      * requested. If unspecified, returns at most 100 SKUs. The maximum value is
@@ -2839,10 +3336,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -2850,18 +3348,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 5 [(.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; @@ -2870,20 +3370,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 5 [(.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 { @@ -2891,54 +3392,61 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 5 [(.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 token for a page of results other than the first page.
      * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. A token for a page of results other than the first page.
      * 
* * string page_token = 5 [(.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; @@ -2946,6 +3454,8 @@ public Builder setPageTokenBytes( private java.lang.Object languageCode_ = ""; /** + * + * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -2953,13 +3463,13 @@ public Builder setPageTokenBytes(
      * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -2968,6 +3478,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -2975,15 +3487,14 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -2991,6 +3502,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -2998,20 +3511,22 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode( - java.lang.String value) { + public Builder setLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -3019,15 +3534,18 @@ public Builder setLanguageCode(
      * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** + * + * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -3035,23 +3553,23 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = 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); } @@ -3061,12 +3579,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListPurchasableSkusRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListPurchasableSkusRequest) private static final com.google.cloud.channel.v1.ListPurchasableSkusRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListPurchasableSkusRequest(); } @@ -3075,27 +3593,27 @@ public static com.google.cloud.channel.v1.ListPurchasableSkusRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPurchasableSkusRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPurchasableSkusRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3110,6 +3628,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.channel.v1.ListPurchasableSkusRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequestOrBuilder.java similarity index 59% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequestOrBuilder.java index 0ef6e2a89238..d78f27f7e581 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusRequestOrBuilder.java @@ -1,89 +1,148 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListPurchasableSkusRequestOrBuilder extends +public interface ListPurchasableSkusRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListPurchasableSkusRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List SKUs for CreateEntitlement purchase.
    * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * * @return Whether the createEntitlementPurchase field is set. */ boolean hasCreateEntitlementPurchase(); /** + * + * *
    * List SKUs for CreateEntitlement purchase.
    * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * * @return The createEntitlementPurchase. */ - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase getCreateEntitlementPurchase(); + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase + getCreateEntitlementPurchase(); /** + * + * *
    * List SKUs for CreateEntitlement purchase.
    * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2; + * */ - com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchaseOrBuilder getCreateEntitlementPurchaseOrBuilder(); + com.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchaseOrBuilder + getCreateEntitlementPurchaseOrBuilder(); /** + * + * *
    * List SKUs for ChangeOffer purchase with a new SKU.
    * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * * @return Whether the changeOfferPurchase field is set. */ boolean hasChangeOfferPurchase(); /** + * + * *
    * List SKUs for ChangeOffer purchase with a new SKU.
    * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * * @return The changeOfferPurchase. */ - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase getChangeOfferPurchase(); + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase + getChangeOfferPurchase(); /** + * + * *
    * List SKUs for ChangeOffer purchase with a new SKU.
    * 
* - * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; + * + * .google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3; + * */ - com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchaseOrBuilder getChangeOfferPurchaseOrBuilder(); + com.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchaseOrBuilder + getChangeOfferPurchaseOrBuilder(); /** + * + * *
    * Required. The resource name of the customer to list SKUs for.
    * Format: accounts/{account_id}/customers/{customer_id}.
    * 
* - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The customer. */ java.lang.String getCustomer(); /** + * + * *
    * Required. The resource name of the customer to list SKUs for.
    * Format: accounts/{account_id}/customers/{customer_id}.
    * 
* - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for customer. */ - com.google.protobuf.ByteString - getCustomerBytes(); + com.google.protobuf.ByteString getCustomerBytes(); /** + * + * *
    * Optional. Requested page size. Server might return fewer results than
    * requested. If unspecified, returns at most 100 SKUs. The maximum value is
@@ -91,31 +150,39 @@ public interface ListPurchasableSkusRequestOrBuilder extends
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. A token for a page of results other than the first page.
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. A token for a page of results other than the first page.
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -123,10 +190,13 @@ public interface ListPurchasableSkusRequestOrBuilder extends
    * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ java.lang.String getLanguageCode(); /** + * + * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -134,10 +204,11 @@ public interface ListPurchasableSkusRequestOrBuilder extends
    * 
* * string language_code = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString - getLanguageCodeBytes(); + com.google.protobuf.ByteString getLanguageCodeBytes(); - public com.google.cloud.channel.v1.ListPurchasableSkusRequest.PurchaseOptionCase getPurchaseOptionCase(); + public com.google.cloud.channel.v1.ListPurchasableSkusRequest.PurchaseOptionCase + getPurchaseOptionCase(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponse.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponse.java similarity index 71% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponse.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponse.java index 9da6c986144f..5fcf8e45e249 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponse.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponse.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Response message for ListPurchasableSkus.
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListPurchasableSkusResponse} */ -public final class ListPurchasableSkusResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListPurchasableSkusResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListPurchasableSkusResponse) ListPurchasableSkusResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPurchasableSkusResponse.newBuilder() to construct. private ListPurchasableSkusResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPurchasableSkusResponse() { purchasableSkus_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,32 +44,35 @@ private ListPurchasableSkusResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPurchasableSkusResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListPurchasableSkusResponse.class, com.google.cloud.channel.v1.ListPurchasableSkusResponse.Builder.class); + com.google.cloud.channel.v1.ListPurchasableSkusResponse.class, + com.google.cloud.channel.v1.ListPurchasableSkusResponse.Builder.class); } public static final int PURCHASABLE_SKUS_FIELD_NUMBER = 1; private java.util.List purchasableSkus_; /** + * + * *
    * The list of SKUs requested.
    * 
@@ -63,6 +84,8 @@ public java.util.List getPurchasable return purchasableSkus_; } /** + * + * *
    * The list of SKUs requested.
    * 
@@ -70,11 +93,13 @@ public java.util.List getPurchasable * repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPurchasableSkusOrBuilderList() { return purchasableSkus_; } /** + * + * *
    * The list of SKUs requested.
    * 
@@ -86,6 +111,8 @@ public int getPurchasableSkusCount() { return purchasableSkus_.size(); } /** + * + * *
    * The list of SKUs requested.
    * 
@@ -97,6 +124,8 @@ public com.google.cloud.channel.v1.PurchasableSku getPurchasableSkus(int index) return purchasableSkus_.get(index); } /** + * + * *
    * The list of SKUs requested.
    * 
@@ -112,11 +141,14 @@ public com.google.cloud.channel.v1.PurchasableSkuOrBuilder getPurchasableSkusOrB public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,29 +157,29 @@ 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 to retrieve the next page of results.
    * 
* * 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 { @@ -156,6 +188,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,8 +200,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < purchasableSkus_.size(); i++) { output.writeMessage(1, purchasableSkus_.get(i)); } @@ -185,8 +217,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < purchasableSkus_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, purchasableSkus_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, purchasableSkus_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -199,17 +230,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.ListPurchasableSkusResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListPurchasableSkusResponse other = (com.google.cloud.channel.v1.ListPurchasableSkusResponse) obj; + com.google.cloud.channel.v1.ListPurchasableSkusResponse other = + (com.google.cloud.channel.v1.ListPurchasableSkusResponse) obj; - if (!getPurchasableSkusList() - .equals(other.getPurchasableSkusList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getPurchasableSkusList().equals(other.getPurchasableSkusList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -233,129 +263,136 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListPurchasableSkusResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListPurchasableSkusResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListPurchasableSkusResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListPurchasableSkusResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListPurchasableSkusResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListPurchasableSkusResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableSkusResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListPurchasableSkusResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListPurchasableSkusResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListPurchasableSkusResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListPurchasableSkusResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListPurchasableSkusResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ListPurchasableSkusResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListPurchasableSkusResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ListPurchasableSkusResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.ListPurchasableSkusResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 ListPurchasableSkus.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListPurchasableSkusResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListPurchasableSkusResponse) com.google.cloud.channel.v1.ListPurchasableSkusResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListPurchasableSkusResponse.class, com.google.cloud.channel.v1.ListPurchasableSkusResponse.Builder.class); + com.google.cloud.channel.v1.ListPurchasableSkusResponse.class, + com.google.cloud.channel.v1.ListPurchasableSkusResponse.Builder.class); } // Construct using com.google.cloud.channel.v1.ListPurchasableSkusResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -372,9 +409,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_descriptor; } @java.lang.Override @@ -393,7 +430,8 @@ public com.google.cloud.channel.v1.ListPurchasableSkusResponse build() { @java.lang.Override public com.google.cloud.channel.v1.ListPurchasableSkusResponse buildPartial() { - com.google.cloud.channel.v1.ListPurchasableSkusResponse result = new com.google.cloud.channel.v1.ListPurchasableSkusResponse(this); + com.google.cloud.channel.v1.ListPurchasableSkusResponse result = + new com.google.cloud.channel.v1.ListPurchasableSkusResponse(this); int from_bitField0_ = bitField0_; if (purchasableSkusBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -413,38 +451,39 @@ public com.google.cloud.channel.v1.ListPurchasableSkusResponse 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.cloud.channel.v1.ListPurchasableSkusResponse) { - return mergeFrom((com.google.cloud.channel.v1.ListPurchasableSkusResponse)other); + return mergeFrom((com.google.cloud.channel.v1.ListPurchasableSkusResponse) other); } else { super.mergeFrom(other); return this; @@ -452,7 +491,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ListPurchasableSkusResponse other) { - if (other == com.google.cloud.channel.v1.ListPurchasableSkusResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.channel.v1.ListPurchasableSkusResponse.getDefaultInstance()) + return this; if (purchasableSkusBuilder_ == null) { if (!other.purchasableSkus_.isEmpty()) { if (purchasableSkus_.isEmpty()) { @@ -471,9 +511,10 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ListPurchasableSkusResponse purchasableSkusBuilder_ = null; purchasableSkus_ = other.purchasableSkus_; bitField0_ = (bitField0_ & ~0x00000001); - purchasableSkusBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPurchasableSkusFieldBuilder() : null; + purchasableSkusBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPurchasableSkusFieldBuilder() + : null; } else { purchasableSkusBuilder_.addAllMessages(other.purchasableSkus_); } @@ -509,30 +550,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.channel.v1.PurchasableSku m = - input.readMessage( - com.google.cloud.channel.v1.PurchasableSku.parser(), - extensionRegistry); - if (purchasableSkusBuilder_ == null) { - ensurePurchasableSkusIsMutable(); - purchasableSkus_.add(m); - } else { - purchasableSkusBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: + { + com.google.cloud.channel.v1.PurchasableSku m = + input.readMessage( + com.google.cloud.channel.v1.PurchasableSku.parser(), extensionRegistry); + if (purchasableSkusBuilder_ == null) { + ensurePurchasableSkusIsMutable(); + purchasableSkus_.add(m); + } else { + purchasableSkusBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -542,21 +585,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List purchasableSkus_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePurchasableSkusIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - purchasableSkus_ = new java.util.ArrayList(purchasableSkus_); + purchasableSkus_ = + new java.util.ArrayList(purchasableSkus_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.PurchasableSku, com.google.cloud.channel.v1.PurchasableSku.Builder, com.google.cloud.channel.v1.PurchasableSkuOrBuilder> purchasableSkusBuilder_; + com.google.cloud.channel.v1.PurchasableSku, + com.google.cloud.channel.v1.PurchasableSku.Builder, + com.google.cloud.channel.v1.PurchasableSkuOrBuilder> + purchasableSkusBuilder_; /** + * + * *
      * The list of SKUs requested.
      * 
@@ -571,6 +622,8 @@ public java.util.List getPurchasable } } /** + * + * *
      * The list of SKUs requested.
      * 
@@ -585,6 +638,8 @@ public int getPurchasableSkusCount() { } } /** + * + * *
      * The list of SKUs requested.
      * 
@@ -599,14 +654,15 @@ public com.google.cloud.channel.v1.PurchasableSku getPurchasableSkus(int index) } } /** + * + * *
      * The list of SKUs requested.
      * 
* * repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1; */ - public Builder setPurchasableSkus( - int index, com.google.cloud.channel.v1.PurchasableSku value) { + public Builder setPurchasableSkus(int index, com.google.cloud.channel.v1.PurchasableSku value) { if (purchasableSkusBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -620,6 +676,8 @@ public Builder setPurchasableSkus( return this; } /** + * + * *
      * The list of SKUs requested.
      * 
@@ -638,6 +696,8 @@ public Builder setPurchasableSkus( return this; } /** + * + * *
      * The list of SKUs requested.
      * 
@@ -658,14 +718,15 @@ public Builder addPurchasableSkus(com.google.cloud.channel.v1.PurchasableSku val return this; } /** + * + * *
      * The list of SKUs requested.
      * 
* * repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1; */ - public Builder addPurchasableSkus( - int index, com.google.cloud.channel.v1.PurchasableSku value) { + public Builder addPurchasableSkus(int index, com.google.cloud.channel.v1.PurchasableSku value) { if (purchasableSkusBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -679,6 +740,8 @@ public Builder addPurchasableSkus( return this; } /** + * + * *
      * The list of SKUs requested.
      * 
@@ -697,6 +760,8 @@ public Builder addPurchasableSkus( return this; } /** + * + * *
      * The list of SKUs requested.
      * 
@@ -715,6 +780,8 @@ public Builder addPurchasableSkus( return this; } /** + * + * *
      * The list of SKUs requested.
      * 
@@ -725,8 +792,7 @@ public Builder addAllPurchasableSkus( java.lang.Iterable values) { if (purchasableSkusBuilder_ == null) { ensurePurchasableSkusIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, purchasableSkus_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, purchasableSkus_); onChanged(); } else { purchasableSkusBuilder_.addAllMessages(values); @@ -734,6 +800,8 @@ public Builder addAllPurchasableSkus( return this; } /** + * + * *
      * The list of SKUs requested.
      * 
@@ -751,6 +819,8 @@ public Builder clearPurchasableSkus() { return this; } /** + * + * *
      * The list of SKUs requested.
      * 
@@ -768,17 +838,20 @@ public Builder removePurchasableSkus(int index) { return this; } /** + * + * *
      * The list of SKUs requested.
      * 
* * repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1; */ - public com.google.cloud.channel.v1.PurchasableSku.Builder getPurchasableSkusBuilder( - int index) { + public com.google.cloud.channel.v1.PurchasableSku.Builder getPurchasableSkusBuilder(int index) { return getPurchasableSkusFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of SKUs requested.
      * 
@@ -788,19 +861,22 @@ public com.google.cloud.channel.v1.PurchasableSku.Builder getPurchasableSkusBuil public com.google.cloud.channel.v1.PurchasableSkuOrBuilder getPurchasableSkusOrBuilder( int index) { if (purchasableSkusBuilder_ == null) { - return purchasableSkus_.get(index); } else { + return purchasableSkus_.get(index); + } else { return purchasableSkusBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of SKUs requested.
      * 
* * repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1; */ - public java.util.List - getPurchasableSkusOrBuilderList() { + public java.util.List + getPurchasableSkusOrBuilderList() { if (purchasableSkusBuilder_ != null) { return purchasableSkusBuilder_.getMessageOrBuilderList(); } else { @@ -808,6 +884,8 @@ public com.google.cloud.channel.v1.PurchasableSkuOrBuilder getPurchasableSkusOrB } } /** + * + * *
      * The list of SKUs requested.
      * 
@@ -815,38 +893,47 @@ public com.google.cloud.channel.v1.PurchasableSkuOrBuilder getPurchasableSkusOrB * repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1; */ public com.google.cloud.channel.v1.PurchasableSku.Builder addPurchasableSkusBuilder() { - return getPurchasableSkusFieldBuilder().addBuilder( - com.google.cloud.channel.v1.PurchasableSku.getDefaultInstance()); + return getPurchasableSkusFieldBuilder() + .addBuilder(com.google.cloud.channel.v1.PurchasableSku.getDefaultInstance()); } /** + * + * *
      * The list of SKUs requested.
      * 
* * repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1; */ - public com.google.cloud.channel.v1.PurchasableSku.Builder addPurchasableSkusBuilder( - int index) { - return getPurchasableSkusFieldBuilder().addBuilder( - index, com.google.cloud.channel.v1.PurchasableSku.getDefaultInstance()); + public com.google.cloud.channel.v1.PurchasableSku.Builder addPurchasableSkusBuilder(int index) { + return getPurchasableSkusFieldBuilder() + .addBuilder(index, com.google.cloud.channel.v1.PurchasableSku.getDefaultInstance()); } /** + * + * *
      * The list of SKUs requested.
      * 
* * repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1; */ - public java.util.List - getPurchasableSkusBuilderList() { + public java.util.List + getPurchasableSkusBuilderList() { return getPurchasableSkusFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.PurchasableSku, com.google.cloud.channel.v1.PurchasableSku.Builder, com.google.cloud.channel.v1.PurchasableSkuOrBuilder> + com.google.cloud.channel.v1.PurchasableSku, + com.google.cloud.channel.v1.PurchasableSku.Builder, + com.google.cloud.channel.v1.PurchasableSkuOrBuilder> getPurchasableSkusFieldBuilder() { if (purchasableSkusBuilder_ == null) { - purchasableSkusBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.PurchasableSku, com.google.cloud.channel.v1.PurchasableSku.Builder, com.google.cloud.channel.v1.PurchasableSkuOrBuilder>( + purchasableSkusBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.PurchasableSku, + com.google.cloud.channel.v1.PurchasableSku.Builder, + com.google.cloud.channel.v1.PurchasableSkuOrBuilder>( purchasableSkus_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -858,18 +945,20 @@ public com.google.cloud.channel.v1.PurchasableSku.Builder addPurchasableSkusBuil private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * 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; @@ -878,20 +967,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * 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 { @@ -899,61 +989,68 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * 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 to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * 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); } @@ -963,12 +1060,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListPurchasableSkusResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListPurchasableSkusResponse) private static final com.google.cloud.channel.v1.ListPurchasableSkusResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListPurchasableSkusResponse(); } @@ -977,27 +1074,27 @@ public static com.google.cloud.channel.v1.ListPurchasableSkusResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPurchasableSkusResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPurchasableSkusResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1012,6 +1109,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.channel.v1.ListPurchasableSkusResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponseOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponseOrBuilder.java similarity index 65% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponseOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponseOrBuilder.java index 13738b4f5e8a..be43459a1f18 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponseOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListPurchasableSkusResponseOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListPurchasableSkusResponseOrBuilder extends +public interface ListPurchasableSkusResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListPurchasableSkusResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of SKUs requested.
    * 
* * repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1; */ - java.util.List - getPurchasableSkusList(); + java.util.List getPurchasableSkusList(); /** + * + * *
    * The list of SKUs requested.
    * 
@@ -25,6 +44,8 @@ public interface ListPurchasableSkusResponseOrBuilder extends */ com.google.cloud.channel.v1.PurchasableSku getPurchasableSkus(int index); /** + * + * *
    * The list of SKUs requested.
    * 
@@ -33,41 +54,49 @@ public interface ListPurchasableSkusResponseOrBuilder extends */ int getPurchasableSkusCount(); /** + * + * *
    * The list of SKUs requested.
    * 
* * repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1; */ - java.util.List + java.util.List getPurchasableSkusOrBuilderList(); /** + * + * *
    * The list of SKUs requested.
    * 
* * repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1; */ - com.google.cloud.channel.v1.PurchasableSkuOrBuilder getPurchasableSkusOrBuilder( - int index); + com.google.cloud.channel.v1.PurchasableSkuOrBuilder getPurchasableSkusOrBuilder(int index); /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsRequest.java similarity index 73% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsRequest.java index 832f4a5226ff..2ef0331ac301 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsRequest.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/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.ListReportsRequest}
  */
-public final class ListReportsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListReportsRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListReportsRequest)
     ListReportsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListReportsRequest.newBuilder() to construct.
   private ListReportsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListReportsRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -28,38 +46,42 @@ private ListReportsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListReportsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ListReportsRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ReportsServiceProto
+        .internal_static_google_cloud_channel_v1_ListReportsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ListReportsRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ReportsServiceProto
+        .internal_static_google_cloud_channel_v1_ListReportsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.ListReportsRequest.class, com.google.cloud.channel.v1.ListReportsRequest.Builder.class);
+            com.google.cloud.channel.v1.ListReportsRequest.class,
+            com.google.cloud.channel.v1.ListReportsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Required. The resource name of the partner account to list available
    * reports for. Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -68,30 +90,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 partner account to list available
    * reports for. Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -102,6 +124,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Optional. Requested page size of the report. The server might return fewer
    * results than requested. If unspecified, returns 20 reports. The maximum
@@ -109,6 +133,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -119,6 +144,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. A token that specifies a page of results beyond the first page.
    * Obtained through
@@ -129,6 +156,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -137,14 +165,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. A token that specifies a page of results beyond the first page.
    * Obtained through
@@ -155,16 +184,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -175,6 +203,8 @@ public java.lang.String getPageToken() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 4; private volatile java.lang.Object languageCode_; /** + * + * *
    * Optional. The BCP-47 language code, such as "en-US".  If specified, the
    * response is localized to the corresponding language code if the
@@ -183,6 +213,7 @@ public java.lang.String getPageToken() {
    * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ @java.lang.Override @@ -191,14 +222,15 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** + * + * *
    * Optional. The BCP-47 language code, such as "en-US".  If specified, the
    * response is localized to the corresponding language code if the
@@ -207,16 +239,15 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -225,6 +256,7 @@ public java.lang.String getLanguageCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,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_); } @@ -263,8 +294,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_); @@ -280,21 +310,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.cloud.channel.v1.ListReportsRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListReportsRequest other = (com.google.cloud.channel.v1.ListReportsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getLanguageCode() - .equals(other.getLanguageCode())) return false; + com.google.cloud.channel.v1.ListReportsRequest other = + (com.google.cloud.channel.v1.ListReportsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getLanguageCode().equals(other.getLanguageCode())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -319,97 +346,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ListReportsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.ListReportsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListReportsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListReportsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListReportsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListReportsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListReportsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListReportsRequest 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.cloud.channel.v1.ListReportsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListReportsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListReportsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListReportsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ListReportsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListReportsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.ListReportsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports].
@@ -417,33 +451,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.ListReportsRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListReportsRequest)
       com.google.cloud.channel.v1.ListReportsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ListReportsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ReportsServiceProto
+          .internal_static_google_cloud_channel_v1_ListReportsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ListReportsRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ReportsServiceProto
+          .internal_static_google_cloud_channel_v1_ListReportsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.ListReportsRequest.class, com.google.cloud.channel.v1.ListReportsRequest.Builder.class);
+              com.google.cloud.channel.v1.ListReportsRequest.class,
+              com.google.cloud.channel.v1.ListReportsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.ListReportsRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -459,9 +492,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ListReportsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ReportsServiceProto
+          .internal_static_google_cloud_channel_v1_ListReportsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -480,7 +513,8 @@ public com.google.cloud.channel.v1.ListReportsRequest build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.ListReportsRequest buildPartial() {
-      com.google.cloud.channel.v1.ListReportsRequest result = new com.google.cloud.channel.v1.ListReportsRequest(this);
+      com.google.cloud.channel.v1.ListReportsRequest result =
+          new com.google.cloud.channel.v1.ListReportsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -493,38 +527,39 @@ public com.google.cloud.channel.v1.ListReportsRequest 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.cloud.channel.v1.ListReportsRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.ListReportsRequest)other);
+        return mergeFrom((com.google.cloud.channel.v1.ListReportsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -574,32 +609,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 16: {
-              pageSize_ = input.readInt32();
+                break;
+              } // case 10
+            case 16:
+              {
+                pageSize_ = input.readInt32();
 
-              break;
-            } // case 16
-            case 26: {
-              pageToken_ = input.readStringRequireUtf8();
+                break;
+              } // case 16
+            case 26:
+              {
+                pageToken_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 34: {
-              languageCode_ = input.readStringRequireUtf8();
+                break;
+              } // case 26
+            case 34:
+              {
+                languageCode_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -612,19 +652,21 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The resource name of the partner account to list available
      * reports for. Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -633,21 +675,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the partner account to list available
      * reports for. Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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,64 +698,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the partner account to list available
      * reports for. Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 partner account to list available
      * reports for. Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the partner account to list available
      * reports for. Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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_; /** + * + * *
      * Optional. Requested page size of the report. The server might return fewer
      * results than requested. If unspecified, returns 20 reports. The maximum
@@ -720,6 +772,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -727,6 +780,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Requested page size of the report. The server might return fewer
      * results than requested. If unspecified, returns 20 reports. The maximum
@@ -734,16 +789,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.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. Requested page size of the report. The server might return fewer
      * results than requested. If unspecified, returns 20 reports. The maximum
@@ -751,10 +809,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -762,6 +821,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. A token that specifies a page of results beyond the first page.
      * Obtained through
@@ -772,13 +833,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -787,6 +848,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A token that specifies a page of results beyond the first page.
      * Obtained through
@@ -797,15 +860,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -813,6 +875,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A token that specifies a page of results beyond the first page.
      * Obtained through
@@ -823,20 +887,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Optional. A token that specifies a page of results beyond the first page.
      * Obtained through
@@ -847,15 +913,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. A token that specifies a page of results beyond the first page.
      * Obtained through
@@ -866,16 +935,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + 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; @@ -883,6 +952,8 @@ public Builder setPageTokenBytes( private java.lang.Object languageCode_ = ""; /** + * + * *
      * Optional. The BCP-47 language code, such as "en-US".  If specified, the
      * response is localized to the corresponding language code if the
@@ -891,13 +962,13 @@ public Builder setPageTokenBytes(
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -906,6 +977,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Optional. The BCP-47 language code, such as "en-US".  If specified, the
      * response is localized to the corresponding language code if the
@@ -914,15 +987,14 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -930,6 +1002,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Optional. The BCP-47 language code, such as "en-US".  If specified, the
      * response is localized to the corresponding language code if the
@@ -938,20 +1012,22 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode( - java.lang.String value) { + public Builder setLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The BCP-47 language code, such as "en-US".  If specified, the
      * response is localized to the corresponding language code if the
@@ -960,15 +1036,18 @@ public Builder setLanguageCode(
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** + * + * *
      * Optional. The BCP-47 language code, such as "en-US".  If specified, the
      * response is localized to the corresponding language code if the
@@ -977,23 +1056,23 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = 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); } @@ -1003,12 +1082,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListReportsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListReportsRequest) private static final com.google.cloud.channel.v1.ListReportsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListReportsRequest(); } @@ -1017,27 +1096,27 @@ public static com.google.cloud.channel.v1.ListReportsRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListReportsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListReportsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1052,6 +1131,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListReportsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsRequestOrBuilder.java similarity index 76% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsRequestOrBuilder.java index 3ea5b2d63d42..f752daa39466 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsRequestOrBuilder.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/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; -public interface ListReportsRequestOrBuilder extends +public interface ListReportsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListReportsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the partner account to list available
    * reports for. Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the partner account to list available
    * reports for. Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. Requested page size of the report. The server might return fewer
    * results than requested. If unspecified, returns 20 reports. The maximum
@@ -37,11 +60,14 @@ public interface ListReportsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. A token that specifies a page of results beyond the first page.
    * Obtained through
@@ -52,10 +78,13 @@ public interface ListReportsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. A token that specifies a page of results beyond the first page.
    * Obtained through
@@ -66,12 +95,14 @@ public interface ListReportsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. The BCP-47 language code, such as "en-US".  If specified, the
    * response is localized to the corresponding language code if the
@@ -80,10 +111,13 @@ public interface ListReportsRequestOrBuilder extends
    * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ java.lang.String getLanguageCode(); /** + * + * *
    * Optional. The BCP-47 language code, such as "en-US".  If specified, the
    * response is localized to the corresponding language code if the
@@ -92,8 +126,8 @@ public interface ListReportsRequestOrBuilder extends
    * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString - getLanguageCodeBytes(); + com.google.protobuf.ByteString getLanguageCodeBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsResponse.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsResponse.java similarity index 72% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsResponse.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsResponse.java index 4d2aaea57678..c5ef757a906d 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsResponse.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsResponse.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/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Response message for
  * [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.ListReportsResponse}
  */
-public final class ListReportsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListReportsResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListReportsResponse)
     ListReportsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListReportsResponse.newBuilder() to construct.
   private ListReportsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListReportsResponse() {
     reports_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,32 +45,35 @@ private ListReportsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListReportsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ListReportsResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ReportsServiceProto
+        .internal_static_google_cloud_channel_v1_ListReportsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ListReportsResponse_fieldAccessorTable
+    return com.google.cloud.channel.v1.ReportsServiceProto
+        .internal_static_google_cloud_channel_v1_ListReportsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.ListReportsResponse.class, com.google.cloud.channel.v1.ListReportsResponse.Builder.class);
+            com.google.cloud.channel.v1.ListReportsResponse.class,
+            com.google.cloud.channel.v1.ListReportsResponse.Builder.class);
   }
 
   public static final int REPORTS_FIELD_NUMBER = 1;
   private java.util.List reports_;
   /**
+   *
+   *
    * 
    * The reports available to the partner.
    * 
@@ -64,6 +85,8 @@ public java.util.List getReportsList() { return reports_; } /** + * + * *
    * The reports available to the partner.
    * 
@@ -71,11 +94,13 @@ public java.util.List getReportsList() { * repeated .google.cloud.channel.v1.Report reports = 1; */ @java.lang.Override - public java.util.List + public java.util.List getReportsOrBuilderList() { return reports_; } /** + * + * *
    * The reports available to the partner.
    * 
@@ -87,6 +112,8 @@ public int getReportsCount() { return reports_.size(); } /** + * + * *
    * The reports available to the partner.
    * 
@@ -98,6 +125,8 @@ public com.google.cloud.channel.v1.Report getReports(int index) { return reports_.get(index); } /** + * + * *
    * The reports available to the partner.
    * 
@@ -105,14 +134,15 @@ public com.google.cloud.channel.v1.Report getReports(int index) { * repeated .google.cloud.channel.v1.Report reports = 1; */ @java.lang.Override - public com.google.cloud.channel.v1.ReportOrBuilder getReportsOrBuilder( - int index) { + public com.google.cloud.channel.v1.ReportOrBuilder getReportsOrBuilder(int index) { return reports_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * Pass this token to
    * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
@@ -120,6 +150,7 @@ public com.google.cloud.channel.v1.ReportOrBuilder getReportsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -128,14 +159,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Pass this token to
    * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
@@ -143,16 +175,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 { @@ -161,6 +192,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,8 +204,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < reports_.size(); i++) { output.writeMessage(1, reports_.get(i)); } @@ -190,8 +221,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < reports_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, reports_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, reports_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -204,17 +234,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.cloud.channel.v1.ListReportsResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListReportsResponse other = (com.google.cloud.channel.v1.ListReportsResponse) obj; + com.google.cloud.channel.v1.ListReportsResponse other = + (com.google.cloud.channel.v1.ListReportsResponse) obj; - if (!getReportsList() - .equals(other.getReportsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getReportsList().equals(other.getReportsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,97 +266,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ListReportsResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.ListReportsResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListReportsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListReportsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListReportsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListReportsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListReportsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListReportsResponse 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.cloud.channel.v1.ListReportsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListReportsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListReportsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListReportsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ListReportsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListReportsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.ListReportsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports].
@@ -335,33 +371,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.ListReportsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListReportsResponse)
       com.google.cloud.channel.v1.ListReportsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ListReportsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ReportsServiceProto
+          .internal_static_google_cloud_channel_v1_ListReportsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ListReportsResponse_fieldAccessorTable
+      return com.google.cloud.channel.v1.ReportsServiceProto
+          .internal_static_google_cloud_channel_v1_ListReportsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.ListReportsResponse.class, com.google.cloud.channel.v1.ListReportsResponse.Builder.class);
+              com.google.cloud.channel.v1.ListReportsResponse.class,
+              com.google.cloud.channel.v1.ListReportsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.ListReportsResponse.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -378,9 +413,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ListReportsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ReportsServiceProto
+          .internal_static_google_cloud_channel_v1_ListReportsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -399,7 +434,8 @@ public com.google.cloud.channel.v1.ListReportsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.ListReportsResponse buildPartial() {
-      com.google.cloud.channel.v1.ListReportsResponse result = new com.google.cloud.channel.v1.ListReportsResponse(this);
+      com.google.cloud.channel.v1.ListReportsResponse result =
+          new com.google.cloud.channel.v1.ListReportsResponse(this);
       int from_bitField0_ = bitField0_;
       if (reportsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -419,38 +455,39 @@ public com.google.cloud.channel.v1.ListReportsResponse 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.cloud.channel.v1.ListReportsResponse) {
-        return mergeFrom((com.google.cloud.channel.v1.ListReportsResponse)other);
+        return mergeFrom((com.google.cloud.channel.v1.ListReportsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -458,7 +495,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.ListReportsResponse other) {
-      if (other == com.google.cloud.channel.v1.ListReportsResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.ListReportsResponse.getDefaultInstance())
+        return this;
       if (reportsBuilder_ == null) {
         if (!other.reports_.isEmpty()) {
           if (reports_.isEmpty()) {
@@ -477,9 +515,10 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ListReportsResponse other)
             reportsBuilder_ = null;
             reports_ = other.reports_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            reportsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getReportsFieldBuilder() : null;
+            reportsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getReportsFieldBuilder()
+                    : null;
           } else {
             reportsBuilder_.addAllMessages(other.reports_);
           }
@@ -515,30 +554,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.channel.v1.Report m =
-                  input.readMessage(
-                      com.google.cloud.channel.v1.Report.parser(),
-                      extensionRegistry);
-              if (reportsBuilder_ == null) {
-                ensureReportsIsMutable();
-                reports_.add(m);
-              } else {
-                reportsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            case 18: {
-              nextPageToken_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                com.google.cloud.channel.v1.Report m =
+                    input.readMessage(
+                        com.google.cloud.channel.v1.Report.parser(), extensionRegistry);
+                if (reportsBuilder_ == null) {
+                  ensureReportsIsMutable();
+                  reports_.add(m);
+                } else {
+                  reportsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -548,21 +589,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List reports_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureReportsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         reports_ = new java.util.ArrayList(reports_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.channel.v1.Report, com.google.cloud.channel.v1.Report.Builder, com.google.cloud.channel.v1.ReportOrBuilder> reportsBuilder_;
+            com.google.cloud.channel.v1.Report,
+            com.google.cloud.channel.v1.Report.Builder,
+            com.google.cloud.channel.v1.ReportOrBuilder>
+        reportsBuilder_;
 
     /**
+     *
+     *
      * 
      * The reports available to the partner.
      * 
@@ -577,6 +625,8 @@ public java.util.List getReportsList() { } } /** + * + * *
      * The reports available to the partner.
      * 
@@ -591,6 +641,8 @@ public int getReportsCount() { } } /** + * + * *
      * The reports available to the partner.
      * 
@@ -605,14 +657,15 @@ public com.google.cloud.channel.v1.Report getReports(int index) { } } /** + * + * *
      * The reports available to the partner.
      * 
* * repeated .google.cloud.channel.v1.Report reports = 1; */ - public Builder setReports( - int index, com.google.cloud.channel.v1.Report value) { + public Builder setReports(int index, com.google.cloud.channel.v1.Report value) { if (reportsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -626,6 +679,8 @@ public Builder setReports( return this; } /** + * + * *
      * The reports available to the partner.
      * 
@@ -644,6 +699,8 @@ public Builder setReports( return this; } /** + * + * *
      * The reports available to the partner.
      * 
@@ -664,14 +721,15 @@ public Builder addReports(com.google.cloud.channel.v1.Report value) { return this; } /** + * + * *
      * The reports available to the partner.
      * 
* * repeated .google.cloud.channel.v1.Report reports = 1; */ - public Builder addReports( - int index, com.google.cloud.channel.v1.Report value) { + public Builder addReports(int index, com.google.cloud.channel.v1.Report value) { if (reportsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -685,14 +743,15 @@ public Builder addReports( return this; } /** + * + * *
      * The reports available to the partner.
      * 
* * repeated .google.cloud.channel.v1.Report reports = 1; */ - public Builder addReports( - com.google.cloud.channel.v1.Report.Builder builderForValue) { + public Builder addReports(com.google.cloud.channel.v1.Report.Builder builderForValue) { if (reportsBuilder_ == null) { ensureReportsIsMutable(); reports_.add(builderForValue.build()); @@ -703,6 +762,8 @@ public Builder addReports( return this; } /** + * + * *
      * The reports available to the partner.
      * 
@@ -721,6 +782,8 @@ public Builder addReports( return this; } /** + * + * *
      * The reports available to the partner.
      * 
@@ -731,8 +794,7 @@ public Builder addAllReports( java.lang.Iterable values) { if (reportsBuilder_ == null) { ensureReportsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, reports_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, reports_); onChanged(); } else { reportsBuilder_.addAllMessages(values); @@ -740,6 +802,8 @@ public Builder addAllReports( return this; } /** + * + * *
      * The reports available to the partner.
      * 
@@ -757,6 +821,8 @@ public Builder clearReports() { return this; } /** + * + * *
      * The reports available to the partner.
      * 
@@ -774,39 +840,44 @@ public Builder removeReports(int index) { return this; } /** + * + * *
      * The reports available to the partner.
      * 
* * repeated .google.cloud.channel.v1.Report reports = 1; */ - public com.google.cloud.channel.v1.Report.Builder getReportsBuilder( - int index) { + public com.google.cloud.channel.v1.Report.Builder getReportsBuilder(int index) { return getReportsFieldBuilder().getBuilder(index); } /** + * + * *
      * The reports available to the partner.
      * 
* * repeated .google.cloud.channel.v1.Report reports = 1; */ - public com.google.cloud.channel.v1.ReportOrBuilder getReportsOrBuilder( - int index) { + public com.google.cloud.channel.v1.ReportOrBuilder getReportsOrBuilder(int index) { if (reportsBuilder_ == null) { - return reports_.get(index); } else { + return reports_.get(index); + } else { return reportsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The reports available to the partner.
      * 
* * repeated .google.cloud.channel.v1.Report reports = 1; */ - public java.util.List - getReportsOrBuilderList() { + public java.util.List + getReportsOrBuilderList() { if (reportsBuilder_ != null) { return reportsBuilder_.getMessageOrBuilderList(); } else { @@ -814,6 +885,8 @@ public com.google.cloud.channel.v1.ReportOrBuilder getReportsOrBuilder( } } /** + * + * *
      * The reports available to the partner.
      * 
@@ -821,42 +894,47 @@ public com.google.cloud.channel.v1.ReportOrBuilder getReportsOrBuilder( * repeated .google.cloud.channel.v1.Report reports = 1; */ public com.google.cloud.channel.v1.Report.Builder addReportsBuilder() { - return getReportsFieldBuilder().addBuilder( - com.google.cloud.channel.v1.Report.getDefaultInstance()); + return getReportsFieldBuilder() + .addBuilder(com.google.cloud.channel.v1.Report.getDefaultInstance()); } /** + * + * *
      * The reports available to the partner.
      * 
* * repeated .google.cloud.channel.v1.Report reports = 1; */ - public com.google.cloud.channel.v1.Report.Builder addReportsBuilder( - int index) { - return getReportsFieldBuilder().addBuilder( - index, com.google.cloud.channel.v1.Report.getDefaultInstance()); + public com.google.cloud.channel.v1.Report.Builder addReportsBuilder(int index) { + return getReportsFieldBuilder() + .addBuilder(index, com.google.cloud.channel.v1.Report.getDefaultInstance()); } /** + * + * *
      * The reports available to the partner.
      * 
* * repeated .google.cloud.channel.v1.Report reports = 1; */ - public java.util.List - getReportsBuilderList() { + public java.util.List getReportsBuilderList() { return getReportsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Report, com.google.cloud.channel.v1.Report.Builder, com.google.cloud.channel.v1.ReportOrBuilder> + com.google.cloud.channel.v1.Report, + com.google.cloud.channel.v1.Report.Builder, + com.google.cloud.channel.v1.ReportOrBuilder> getReportsFieldBuilder() { if (reportsBuilder_ == null) { - reportsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Report, com.google.cloud.channel.v1.Report.Builder, com.google.cloud.channel.v1.ReportOrBuilder>( - reports_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + reportsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.Report, + com.google.cloud.channel.v1.Report.Builder, + com.google.cloud.channel.v1.ReportOrBuilder>( + reports_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); reports_ = null; } return reportsBuilder_; @@ -864,6 +942,8 @@ public com.google.cloud.channel.v1.Report.Builder addReportsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Pass this token to
      * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
@@ -871,13 +951,13 @@ public com.google.cloud.channel.v1.Report.Builder addReportsBuilder(
      * 
* * 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; @@ -886,6 +966,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Pass this token to
      * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
@@ -893,15 +975,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 { @@ -909,6 +990,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Pass this token to
      * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
@@ -916,20 +999,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; } /** + * + * *
      * Pass this token to
      * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
@@ -937,15 +1022,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * Pass this token to
      * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
@@ -953,23 +1041,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); } @@ -979,12 +1067,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListReportsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListReportsResponse) private static final com.google.cloud.channel.v1.ListReportsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListReportsResponse(); } @@ -993,27 +1081,27 @@ public static com.google.cloud.channel.v1.ListReportsResponse getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListReportsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListReportsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1028,6 +1116,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListReportsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsResponseOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsResponseOrBuilder.java similarity index 67% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsResponseOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsResponseOrBuilder.java index 74cd728836c1..e63c645cc0b2 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsResponseOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListReportsResponseOrBuilder.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/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; -public interface ListReportsResponseOrBuilder extends +public interface ListReportsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListReportsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The reports available to the partner.
    * 
* * repeated .google.cloud.channel.v1.Report reports = 1; */ - java.util.List - getReportsList(); + java.util.List getReportsList(); /** + * + * *
    * The reports available to the partner.
    * 
@@ -25,6 +44,8 @@ public interface ListReportsResponseOrBuilder extends */ com.google.cloud.channel.v1.Report getReports(int index); /** + * + * *
    * The reports available to the partner.
    * 
@@ -33,25 +54,29 @@ public interface ListReportsResponseOrBuilder extends */ int getReportsCount(); /** + * + * *
    * The reports available to the partner.
    * 
* * repeated .google.cloud.channel.v1.Report reports = 1; */ - java.util.List - getReportsOrBuilderList(); + java.util.List getReportsOrBuilderList(); /** + * + * *
    * The reports available to the partner.
    * 
* * repeated .google.cloud.channel.v1.Report reports = 1; */ - com.google.cloud.channel.v1.ReportOrBuilder getReportsOrBuilder( - int index); + com.google.cloud.channel.v1.ReportOrBuilder getReportsOrBuilder(int index); /** + * + * *
    * Pass this token to
    * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
@@ -59,10 +84,13 @@ com.google.cloud.channel.v1.ReportOrBuilder getReportsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Pass this token to
    * [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
@@ -70,8 +98,8 @@ com.google.cloud.channel.v1.ReportOrBuilder getReportsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequest.java similarity index 70% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequest.java index 0f7a36382325..3535bc6fa660 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for ListSkus.
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListSkusRequest} */ -public final class ListSkusRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListSkusRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListSkusRequest) ListSkusRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListSkusRequest.newBuilder() to construct. private ListSkusRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListSkusRequest() { parent_ = ""; account_ = ""; @@ -28,39 +46,45 @@ private ListSkusRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListSkusRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSkusRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListSkusRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSkusRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListSkusRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListSkusRequest.class, com.google.cloud.channel.v1.ListSkusRequest.Builder.class); + com.google.cloud.channel.v1.ListSkusRequest.class, + com.google.cloud.channel.v1.ListSkusRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The resource name of the Product to list SKUs for.
    * Parent uses the format: products/{product_id}.
    * Supports products/- to retrieve SKUs for all products.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -69,31 +93,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the Product to list SKUs for.
    * Parent uses the format: products/{product_id}.
    * Supports products/- to retrieve SKUs for all products.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -104,12 +130,15 @@ public java.lang.String getParent() { public static final int ACCOUNT_FIELD_NUMBER = 2; private volatile java.lang.Object account_; /** + * + * *
    * Required. Resource name of the reseller.
    * Format: accounts/{account_id}.
    * 
* * string account = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The account. */ @java.lang.Override @@ -118,30 +147,30 @@ public java.lang.String getAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); account_ = s; return s; } } /** + * + * *
    * Required. Resource name of the reseller.
    * Format: accounts/{account_id}.
    * 
* * string account = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -152,6 +181,8 @@ public java.lang.String getAccount() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * Optional. Requested page size. Server might return fewer results than
    * requested. If unspecified, returns at most 100 SKUs. The maximum value is
@@ -159,6 +190,7 @@ public java.lang.String getAccount() {
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -169,12 +201,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. A token for a page of results other than the first page.
    * Optional.
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -183,30 +218,30 @@ 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 token for a page of results other than the first page.
    * Optional.
    * 
* * string page_token = 4 [(.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 { @@ -217,6 +252,8 @@ public java.lang.String getPageToken() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 5; private volatile java.lang.Object languageCode_; /** + * + * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -224,6 +261,7 @@ public java.lang.String getPageToken() {
    * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ @java.lang.Override @@ -232,14 +270,15 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** + * + * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -247,16 +286,15 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -265,6 +303,7 @@ public java.lang.String getLanguageCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -276,8 +315,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -309,8 +347,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, account_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -326,23 +363,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.cloud.channel.v1.ListSkusRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListSkusRequest other = (com.google.cloud.channel.v1.ListSkusRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getAccount() - .equals(other.getAccount())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getLanguageCode() - .equals(other.getLanguageCode())) return false; + com.google.cloud.channel.v1.ListSkusRequest other = + (com.google.cloud.channel.v1.ListSkusRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getAccount().equals(other.getAccount())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getLanguageCode().equals(other.getLanguageCode())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -369,130 +402,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ListSkusRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.ListSkusRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListSkusRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListSkusRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListSkusRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListSkusRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListSkusRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListSkusRequest 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.cloud.channel.v1.ListSkusRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListSkusRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListSkusRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListSkusRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ListSkusRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListSkusRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.ListSkusRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListSkus.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListSkusRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListSkusRequest) com.google.cloud.channel.v1.ListSkusRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSkusRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListSkusRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSkusRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListSkusRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListSkusRequest.class, com.google.cloud.channel.v1.ListSkusRequest.Builder.class); + com.google.cloud.channel.v1.ListSkusRequest.class, + com.google.cloud.channel.v1.ListSkusRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.ListSkusRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -510,9 +549,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSkusRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListSkusRequest_descriptor; } @java.lang.Override @@ -531,7 +570,8 @@ public com.google.cloud.channel.v1.ListSkusRequest build() { @java.lang.Override public com.google.cloud.channel.v1.ListSkusRequest buildPartial() { - com.google.cloud.channel.v1.ListSkusRequest result = new com.google.cloud.channel.v1.ListSkusRequest(this); + com.google.cloud.channel.v1.ListSkusRequest result = + new com.google.cloud.channel.v1.ListSkusRequest(this); result.parent_ = parent_; result.account_ = account_; result.pageSize_ = pageSize_; @@ -545,38 +585,39 @@ public com.google.cloud.channel.v1.ListSkusRequest 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.cloud.channel.v1.ListSkusRequest) { - return mergeFrom((com.google.cloud.channel.v1.ListSkusRequest)other); + return mergeFrom((com.google.cloud.channel.v1.ListSkusRequest) other); } else { super.mergeFrom(other); return this; @@ -630,37 +671,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - account_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + account_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 24: { - pageSize_ = input.readInt32(); + break; + } // case 18 + case 24: + { + pageSize_ = input.readInt32(); - break; - } // case 24 - case 34: { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 24 + case 34: + { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 42: { - languageCode_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 42: + { + languageCode_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -673,20 +720,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the Product to list SKUs for.
      * Parent uses the format: products/{product_id}.
      * Supports products/- to retrieve SKUs for all products.
      * 
* - * string parent = 1 [(.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; @@ -695,22 +746,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the Product to list SKUs for.
      * Parent uses the format: products/{product_id}.
      * Supports products/- to retrieve SKUs for all products.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -718,60 +772,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the Product to list SKUs for.
      * Parent uses the format: products/{product_id}.
      * Supports products/- to retrieve SKUs for all products.
      * 
* - * string parent = 1 [(.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 Product to list SKUs for.
      * Parent uses the format: products/{product_id}.
      * Supports products/- to retrieve SKUs for all products.
      * 
* - * string 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 Product to list SKUs for.
      * Parent uses the format: products/{product_id}.
      * Supports products/- to retrieve SKUs for all products.
      * 
* - * string parent = 1 [(.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; @@ -779,19 +846,21 @@ public Builder setParentBytes( private java.lang.Object account_ = ""; /** + * + * *
      * Required. Resource name of the reseller.
      * Format: accounts/{account_id}.
      * 
* * string account = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -800,21 +869,22 @@ public java.lang.String getAccount() { } } /** + * + * *
      * Required. Resource name of the reseller.
      * Format: accounts/{account_id}.
      * 
* * string account = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -822,64 +892,73 @@ public java.lang.String getAccount() { } } /** + * + * *
      * Required. Resource name of the reseller.
      * Format: accounts/{account_id}.
      * 
* * string account = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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. Resource name of the reseller.
      * Format: accounts/{account_id}.
      * 
* * string account = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAccount() { - + account_ = getDefaultInstance().getAccount(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the reseller.
      * Format: accounts/{account_id}.
      * 
* * string account = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @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; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Requested page size. Server might return fewer results than
      * requested. If unspecified, returns at most 100 SKUs. The maximum value is
@@ -887,6 +966,7 @@ public Builder setAccountBytes(
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -894,6 +974,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Requested page size. Server might return fewer results than
      * requested. If unspecified, returns at most 100 SKUs. The maximum value is
@@ -901,16 +983,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 3 [(.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. Requested page size. Server might return fewer results than
      * requested. If unspecified, returns at most 100 SKUs. The maximum value is
@@ -918,10 +1003,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -929,19 +1015,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. A token for a page of results other than the first page.
      * Optional.
      * 
* * string page_token = 4 [(.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; @@ -950,21 +1038,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A token for a page of results other than the first page.
      * Optional.
      * 
* * string page_token = 4 [(.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 { @@ -972,57 +1061,64 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A token for a page of results other than the first page.
      * Optional.
      * 
* * string page_token = 4 [(.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 token for a page of results other than the first page.
      * Optional.
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. A token for a page of results other than the first page.
      * Optional.
      * 
* * string page_token = 4 [(.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; @@ -1030,6 +1126,8 @@ public Builder setPageTokenBytes( private java.lang.Object languageCode_ = ""; /** + * + * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1037,13 +1135,13 @@ public Builder setPageTokenBytes(
      * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -1052,6 +1150,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1059,15 +1159,14 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -1075,6 +1174,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1082,20 +1183,22 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode( - java.lang.String value) { + public Builder setLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1103,15 +1206,18 @@ public Builder setLanguageCode(
      * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** + * + * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1119,23 +1225,23 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = 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); } @@ -1145,12 +1251,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListSkusRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListSkusRequest) private static final com.google.cloud.channel.v1.ListSkusRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListSkusRequest(); } @@ -1159,27 +1265,27 @@ public static com.google.cloud.channel.v1.ListSkusRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSkusRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSkusRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1194,6 +1300,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListSkusRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequestOrBuilder.java index e8dbdf358121..0b725ba26b5c 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusRequestOrBuilder.java @@ -1,59 +1,91 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListSkusRequestOrBuilder extends +public interface ListSkusRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListSkusRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the Product to list SKUs for.
    * Parent uses the format: products/{product_id}.
    * Supports products/- to retrieve SKUs for all products.
    * 
* - * string parent = 1 [(.google.api.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 Product to list SKUs for.
    * Parent uses the format: products/{product_id}.
    * Supports products/- to retrieve SKUs for all products.
    * 
* - * string parent = 1 [(.google.api.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. Resource name of the reseller.
    * Format: accounts/{account_id}.
    * 
* * string account = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The account. */ java.lang.String getAccount(); /** + * + * *
    * Required. Resource name of the reseller.
    * Format: accounts/{account_id}.
    * 
* * string account = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for account. */ - com.google.protobuf.ByteString - getAccountBytes(); + com.google.protobuf.ByteString getAccountBytes(); /** + * + * *
    * Optional. Requested page size. Server might return fewer results than
    * requested. If unspecified, returns at most 100 SKUs. The maximum value is
@@ -61,33 +93,41 @@ public interface ListSkusRequestOrBuilder extends
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. A token for a page of results other than the first page.
    * Optional.
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. A token for a page of results other than the first page.
    * Optional.
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -95,10 +135,13 @@ public interface ListSkusRequestOrBuilder extends
    * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ java.lang.String getLanguageCode(); /** + * + * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -106,8 +149,8 @@ public interface ListSkusRequestOrBuilder extends
    * 
* * string language_code = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString - getLanguageCodeBytes(); + com.google.protobuf.ByteString getLanguageCodeBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponse.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponse.java similarity index 70% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponse.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponse.java index f058fa83e6e0..0e782601b8c2 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponse.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponse.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Response message for ListSkus.
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListSkusResponse} */ -public final class ListSkusResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListSkusResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListSkusResponse) ListSkusResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListSkusResponse.newBuilder() to construct. private ListSkusResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListSkusResponse() { skus_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,32 +44,35 @@ private ListSkusResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListSkusResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSkusResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListSkusResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSkusResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListSkusResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListSkusResponse.class, com.google.cloud.channel.v1.ListSkusResponse.Builder.class); + com.google.cloud.channel.v1.ListSkusResponse.class, + com.google.cloud.channel.v1.ListSkusResponse.Builder.class); } public static final int SKUS_FIELD_NUMBER = 1; private java.util.List skus_; /** + * + * *
    * The list of SKUs requested.
    * 
@@ -63,6 +84,8 @@ public java.util.List getSkusList() { return skus_; } /** + * + * *
    * The list of SKUs requested.
    * 
@@ -70,11 +93,12 @@ public java.util.List getSkusList() { * repeated .google.cloud.channel.v1.Sku skus = 1; */ @java.lang.Override - public java.util.List - getSkusOrBuilderList() { + public java.util.List getSkusOrBuilderList() { return skus_; } /** + * + * *
    * The list of SKUs requested.
    * 
@@ -86,6 +110,8 @@ public int getSkusCount() { return skus_.size(); } /** + * + * *
    * The list of SKUs requested.
    * 
@@ -97,6 +123,8 @@ public com.google.cloud.channel.v1.Sku getSkus(int index) { return skus_.get(index); } /** + * + * *
    * The list of SKUs requested.
    * 
@@ -104,19 +132,21 @@ public com.google.cloud.channel.v1.Sku getSkus(int index) { * repeated .google.cloud.channel.v1.Sku skus = 1; */ @java.lang.Override - public com.google.cloud.channel.v1.SkuOrBuilder getSkusOrBuilder( - int index) { + public com.google.cloud.channel.v1.SkuOrBuilder getSkusOrBuilder(int index) { return skus_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,29 +155,29 @@ 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 to retrieve the next page of results.
    * 
* * 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 { @@ -156,6 +186,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,8 +198,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < skus_.size(); i++) { output.writeMessage(1, skus_.get(i)); } @@ -185,8 +215,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < skus_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, skus_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, skus_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -199,17 +228,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.ListSkusResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListSkusResponse other = (com.google.cloud.channel.v1.ListSkusResponse) obj; + com.google.cloud.channel.v1.ListSkusResponse other = + (com.google.cloud.channel.v1.ListSkusResponse) obj; - if (!getSkusList() - .equals(other.getSkusList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getSkusList().equals(other.getSkusList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -232,130 +260,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ListSkusResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.ListSkusResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListSkusResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListSkusResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListSkusResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListSkusResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListSkusResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListSkusResponse 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.cloud.channel.v1.ListSkusResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListSkusResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListSkusResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListSkusResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ListSkusResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListSkusResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.ListSkusResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 ListSkus.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListSkusResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListSkusResponse) com.google.cloud.channel.v1.ListSkusResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSkusResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListSkusResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSkusResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListSkusResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListSkusResponse.class, com.google.cloud.channel.v1.ListSkusResponse.Builder.class); + com.google.cloud.channel.v1.ListSkusResponse.class, + com.google.cloud.channel.v1.ListSkusResponse.Builder.class); } // Construct using com.google.cloud.channel.v1.ListSkusResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -372,9 +406,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSkusResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListSkusResponse_descriptor; } @java.lang.Override @@ -393,7 +427,8 @@ public com.google.cloud.channel.v1.ListSkusResponse build() { @java.lang.Override public com.google.cloud.channel.v1.ListSkusResponse buildPartial() { - com.google.cloud.channel.v1.ListSkusResponse result = new com.google.cloud.channel.v1.ListSkusResponse(this); + com.google.cloud.channel.v1.ListSkusResponse result = + new com.google.cloud.channel.v1.ListSkusResponse(this); int from_bitField0_ = bitField0_; if (skusBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -413,38 +448,39 @@ public com.google.cloud.channel.v1.ListSkusResponse 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.cloud.channel.v1.ListSkusResponse) { - return mergeFrom((com.google.cloud.channel.v1.ListSkusResponse)other); + return mergeFrom((com.google.cloud.channel.v1.ListSkusResponse) other); } else { super.mergeFrom(other); return this; @@ -471,9 +507,10 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ListSkusResponse other) { skusBuilder_ = null; skus_ = other.skus_; bitField0_ = (bitField0_ & ~0x00000001); - skusBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSkusFieldBuilder() : null; + skusBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSkusFieldBuilder() + : null; } else { skusBuilder_.addAllMessages(other.skus_); } @@ -509,30 +546,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.channel.v1.Sku m = - input.readMessage( - com.google.cloud.channel.v1.Sku.parser(), - extensionRegistry); - if (skusBuilder_ == null) { - ensureSkusIsMutable(); - skus_.add(m); - } else { - skusBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: + { + com.google.cloud.channel.v1.Sku m = + input.readMessage(com.google.cloud.channel.v1.Sku.parser(), extensionRegistry); + if (skusBuilder_ == null) { + ensureSkusIsMutable(); + skus_.add(m); + } else { + skusBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -542,21 +580,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List skus_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureSkusIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { skus_ = new java.util.ArrayList(skus_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Sku, com.google.cloud.channel.v1.Sku.Builder, com.google.cloud.channel.v1.SkuOrBuilder> skusBuilder_; + com.google.cloud.channel.v1.Sku, + com.google.cloud.channel.v1.Sku.Builder, + com.google.cloud.channel.v1.SkuOrBuilder> + skusBuilder_; /** + * + * *
      * The list of SKUs requested.
      * 
@@ -571,6 +616,8 @@ public java.util.List getSkusList() { } } /** + * + * *
      * The list of SKUs requested.
      * 
@@ -585,6 +632,8 @@ public int getSkusCount() { } } /** + * + * *
      * The list of SKUs requested.
      * 
@@ -599,14 +648,15 @@ public com.google.cloud.channel.v1.Sku getSkus(int index) { } } /** + * + * *
      * The list of SKUs requested.
      * 
* * repeated .google.cloud.channel.v1.Sku skus = 1; */ - public Builder setSkus( - int index, com.google.cloud.channel.v1.Sku value) { + public Builder setSkus(int index, com.google.cloud.channel.v1.Sku value) { if (skusBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -620,14 +670,15 @@ public Builder setSkus( return this; } /** + * + * *
      * The list of SKUs requested.
      * 
* * repeated .google.cloud.channel.v1.Sku skus = 1; */ - public Builder setSkus( - int index, com.google.cloud.channel.v1.Sku.Builder builderForValue) { + public Builder setSkus(int index, com.google.cloud.channel.v1.Sku.Builder builderForValue) { if (skusBuilder_ == null) { ensureSkusIsMutable(); skus_.set(index, builderForValue.build()); @@ -638,6 +689,8 @@ public Builder setSkus( return this; } /** + * + * *
      * The list of SKUs requested.
      * 
@@ -658,14 +711,15 @@ public Builder addSkus(com.google.cloud.channel.v1.Sku value) { return this; } /** + * + * *
      * The list of SKUs requested.
      * 
* * repeated .google.cloud.channel.v1.Sku skus = 1; */ - public Builder addSkus( - int index, com.google.cloud.channel.v1.Sku value) { + public Builder addSkus(int index, com.google.cloud.channel.v1.Sku value) { if (skusBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -679,14 +733,15 @@ public Builder addSkus( return this; } /** + * + * *
      * The list of SKUs requested.
      * 
* * repeated .google.cloud.channel.v1.Sku skus = 1; */ - public Builder addSkus( - com.google.cloud.channel.v1.Sku.Builder builderForValue) { + public Builder addSkus(com.google.cloud.channel.v1.Sku.Builder builderForValue) { if (skusBuilder_ == null) { ensureSkusIsMutable(); skus_.add(builderForValue.build()); @@ -697,14 +752,15 @@ public Builder addSkus( return this; } /** + * + * *
      * The list of SKUs requested.
      * 
* * repeated .google.cloud.channel.v1.Sku skus = 1; */ - public Builder addSkus( - int index, com.google.cloud.channel.v1.Sku.Builder builderForValue) { + public Builder addSkus(int index, com.google.cloud.channel.v1.Sku.Builder builderForValue) { if (skusBuilder_ == null) { ensureSkusIsMutable(); skus_.add(index, builderForValue.build()); @@ -715,6 +771,8 @@ public Builder addSkus( return this; } /** + * + * *
      * The list of SKUs requested.
      * 
@@ -725,8 +783,7 @@ public Builder addAllSkus( java.lang.Iterable values) { if (skusBuilder_ == null) { ensureSkusIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, skus_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, skus_); onChanged(); } else { skusBuilder_.addAllMessages(values); @@ -734,6 +791,8 @@ public Builder addAllSkus( return this; } /** + * + * *
      * The list of SKUs requested.
      * 
@@ -751,6 +810,8 @@ public Builder clearSkus() { return this; } /** + * + * *
      * The list of SKUs requested.
      * 
@@ -768,39 +829,44 @@ public Builder removeSkus(int index) { return this; } /** + * + * *
      * The list of SKUs requested.
      * 
* * repeated .google.cloud.channel.v1.Sku skus = 1; */ - public com.google.cloud.channel.v1.Sku.Builder getSkusBuilder( - int index) { + public com.google.cloud.channel.v1.Sku.Builder getSkusBuilder(int index) { return getSkusFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of SKUs requested.
      * 
* * repeated .google.cloud.channel.v1.Sku skus = 1; */ - public com.google.cloud.channel.v1.SkuOrBuilder getSkusOrBuilder( - int index) { + public com.google.cloud.channel.v1.SkuOrBuilder getSkusOrBuilder(int index) { if (skusBuilder_ == null) { - return skus_.get(index); } else { + return skus_.get(index); + } else { return skusBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of SKUs requested.
      * 
* * repeated .google.cloud.channel.v1.Sku skus = 1; */ - public java.util.List - getSkusOrBuilderList() { + public java.util.List + getSkusOrBuilderList() { if (skusBuilder_ != null) { return skusBuilder_.getMessageOrBuilderList(); } else { @@ -808,6 +874,8 @@ public com.google.cloud.channel.v1.SkuOrBuilder getSkusOrBuilder( } } /** + * + * *
      * The list of SKUs requested.
      * 
@@ -815,42 +883,46 @@ public com.google.cloud.channel.v1.SkuOrBuilder getSkusOrBuilder( * repeated .google.cloud.channel.v1.Sku skus = 1; */ public com.google.cloud.channel.v1.Sku.Builder addSkusBuilder() { - return getSkusFieldBuilder().addBuilder( - com.google.cloud.channel.v1.Sku.getDefaultInstance()); + return getSkusFieldBuilder().addBuilder(com.google.cloud.channel.v1.Sku.getDefaultInstance()); } /** + * + * *
      * The list of SKUs requested.
      * 
* * repeated .google.cloud.channel.v1.Sku skus = 1; */ - public com.google.cloud.channel.v1.Sku.Builder addSkusBuilder( - int index) { - return getSkusFieldBuilder().addBuilder( - index, com.google.cloud.channel.v1.Sku.getDefaultInstance()); + public com.google.cloud.channel.v1.Sku.Builder addSkusBuilder(int index) { + return getSkusFieldBuilder() + .addBuilder(index, com.google.cloud.channel.v1.Sku.getDefaultInstance()); } /** + * + * *
      * The list of SKUs requested.
      * 
* * repeated .google.cloud.channel.v1.Sku skus = 1; */ - public java.util.List - getSkusBuilderList() { + public java.util.List getSkusBuilderList() { return getSkusFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Sku, com.google.cloud.channel.v1.Sku.Builder, com.google.cloud.channel.v1.SkuOrBuilder> + com.google.cloud.channel.v1.Sku, + com.google.cloud.channel.v1.Sku.Builder, + com.google.cloud.channel.v1.SkuOrBuilder> getSkusFieldBuilder() { if (skusBuilder_ == null) { - skusBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Sku, com.google.cloud.channel.v1.Sku.Builder, com.google.cloud.channel.v1.SkuOrBuilder>( - skus_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + skusBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.Sku, + com.google.cloud.channel.v1.Sku.Builder, + com.google.cloud.channel.v1.SkuOrBuilder>( + skus_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); skus_ = null; } return skusBuilder_; @@ -858,18 +930,20 @@ public com.google.cloud.channel.v1.Sku.Builder addSkusBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * 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; @@ -878,20 +952,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * 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 { @@ -899,61 +974,68 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * 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 to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * 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); } @@ -963,12 +1045,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListSkusResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListSkusResponse) private static final com.google.cloud.channel.v1.ListSkusResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListSkusResponse(); } @@ -977,27 +1059,27 @@ public static com.google.cloud.channel.v1.ListSkusResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSkusResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSkusResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1012,6 +1094,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListSkusResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponseOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponseOrBuilder.java similarity index 61% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponseOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponseOrBuilder.java index 7f465a8a8b04..0af82b1bc8dc 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponseOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSkusResponseOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListSkusResponseOrBuilder extends +public interface ListSkusResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListSkusResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of SKUs requested.
    * 
* * repeated .google.cloud.channel.v1.Sku skus = 1; */ - java.util.List - getSkusList(); + java.util.List getSkusList(); /** + * + * *
    * The list of SKUs requested.
    * 
@@ -25,6 +44,8 @@ public interface ListSkusResponseOrBuilder extends */ com.google.cloud.channel.v1.Sku getSkus(int index); /** + * + * *
    * The list of SKUs requested.
    * 
@@ -33,41 +54,48 @@ public interface ListSkusResponseOrBuilder extends */ int getSkusCount(); /** + * + * *
    * The list of SKUs requested.
    * 
* * repeated .google.cloud.channel.v1.Sku skus = 1; */ - java.util.List - getSkusOrBuilderList(); + java.util.List getSkusOrBuilderList(); /** + * + * *
    * The list of SKUs requested.
    * 
* * repeated .google.cloud.channel.v1.Sku skus = 1; */ - com.google.cloud.channel.v1.SkuOrBuilder getSkusOrBuilder( - int index); + com.google.cloud.channel.v1.SkuOrBuilder getSkusOrBuilder(int index); /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequest.java similarity index 70% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequest.java index 3a64c1aa393b..b7baeb86f1a0 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request Message for ListSubscribers.
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListSubscribersRequest} */ -public final class ListSubscribersRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListSubscribersRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListSubscribersRequest) ListSubscribersRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListSubscribersRequest.newBuilder() to construct. private ListSubscribersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListSubscribersRequest() { account_ = ""; pageToken_ = ""; @@ -26,37 +44,41 @@ private ListSubscribersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListSubscribersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSubscribersRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListSubscribersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSubscribersRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListSubscribersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListSubscribersRequest.class, com.google.cloud.channel.v1.ListSubscribersRequest.Builder.class); + com.google.cloud.channel.v1.ListSubscribersRequest.class, + com.google.cloud.channel.v1.ListSubscribersRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private volatile java.lang.Object account_; /** + * + * *
    * Required. Resource name of the account.
    * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The account. */ @java.lang.Override @@ -65,29 +87,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. Resource name of the account.
    * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -98,6 +120,8 @@ public java.lang.String getAccount() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Optional. The maximum number of service accounts to return. The service may
    * return fewer than this value. If unspecified, returns at most 100 service
@@ -106,6 +130,7 @@ public java.lang.String getAccount() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -116,6 +141,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. A page token, received from a previous `ListSubscribers` call.
    * Provide this to retrieve the subsequent page.
@@ -124,6 +151,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -132,14 +160,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 `ListSubscribers` call.
    * Provide this to retrieve the subsequent page.
@@ -148,16 +177,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -166,6 +194,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,8 +206,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(account_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, account_); } @@ -201,8 +229,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, account_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -215,19 +242,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.cloud.channel.v1.ListSubscribersRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListSubscribersRequest other = (com.google.cloud.channel.v1.ListSubscribersRequest) obj; + com.google.cloud.channel.v1.ListSubscribersRequest other = + (com.google.cloud.channel.v1.ListSubscribersRequest) obj; - if (!getAccount() - .equals(other.getAccount())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getAccount().equals(other.getAccount())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -251,129 +276,135 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListSubscribersRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListSubscribersRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListSubscribersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListSubscribersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListSubscribersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListSubscribersRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListSubscribersRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListSubscribersRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListSubscribersRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListSubscribersRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListSubscribersRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListSubscribersRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ListSubscribersRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListSubscribersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.ListSubscribersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request Message for ListSubscribers.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListSubscribersRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListSubscribersRequest) com.google.cloud.channel.v1.ListSubscribersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSubscribersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListSubscribersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSubscribersRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListSubscribersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListSubscribersRequest.class, com.google.cloud.channel.v1.ListSubscribersRequest.Builder.class); + com.google.cloud.channel.v1.ListSubscribersRequest.class, + com.google.cloud.channel.v1.ListSubscribersRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.ListSubscribersRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -387,9 +418,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSubscribersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListSubscribersRequest_descriptor; } @java.lang.Override @@ -408,7 +439,8 @@ public com.google.cloud.channel.v1.ListSubscribersRequest build() { @java.lang.Override public com.google.cloud.channel.v1.ListSubscribersRequest buildPartial() { - com.google.cloud.channel.v1.ListSubscribersRequest result = new com.google.cloud.channel.v1.ListSubscribersRequest(this); + com.google.cloud.channel.v1.ListSubscribersRequest result = + new com.google.cloud.channel.v1.ListSubscribersRequest(this); result.account_ = account_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -420,38 +452,39 @@ public com.google.cloud.channel.v1.ListSubscribersRequest 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.cloud.channel.v1.ListSubscribersRequest) { - return mergeFrom((com.google.cloud.channel.v1.ListSubscribersRequest)other); + return mergeFrom((com.google.cloud.channel.v1.ListSubscribersRequest) other); } else { super.mergeFrom(other); return this; @@ -459,7 +492,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ListSubscribersRequest other) { - if (other == com.google.cloud.channel.v1.ListSubscribersRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.channel.v1.ListSubscribersRequest.getDefaultInstance()) + return this; if (!other.getAccount().isEmpty()) { account_ = other.account_; onChanged(); @@ -497,27 +531,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - account_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + account_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -530,18 +568,20 @@ public Builder mergeFrom( private java.lang.Object account_ = ""; /** + * + * *
      * Required. Resource name of the account.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -550,20 +590,21 @@ public java.lang.String getAccount() { } } /** + * + * *
      * Required. Resource name of the account.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -571,61 +612,70 @@ public java.lang.String getAccount() { } } /** + * + * *
      * Required. Resource name of the account.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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. Resource name of the account.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAccount() { - + account_ = getDefaultInstance().getAccount(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the account.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. The maximum number of service accounts to return. The service may
      * return fewer than this value. If unspecified, returns at most 100 service
@@ -634,6 +684,7 @@ public Builder setAccountBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -641,6 +692,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. The maximum number of service accounts to return. The service may
      * return fewer than this value. If unspecified, returns at most 100 service
@@ -649,16 +702,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.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 service accounts to return. The service may
      * return fewer than this value. If unspecified, returns at most 100 service
@@ -667,10 +723,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -678,6 +735,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. A page token, received from a previous `ListSubscribers` call.
      * Provide this to retrieve the subsequent page.
@@ -686,13 +745,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -701,6 +760,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from a previous `ListSubscribers` call.
      * Provide this to retrieve the subsequent page.
@@ -709,15 +770,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -725,6 +785,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from a previous `ListSubscribers` call.
      * Provide this to retrieve the subsequent page.
@@ -733,20 +795,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + 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 `ListSubscribers` call.
      * Provide this to retrieve the subsequent page.
@@ -755,15 +819,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.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 `ListSubscribers` call.
      * Provide this to retrieve the subsequent page.
@@ -772,23 +839,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + 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); } @@ -798,12 +865,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListSubscribersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListSubscribersRequest) private static final com.google.cloud.channel.v1.ListSubscribersRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListSubscribersRequest(); } @@ -812,27 +879,27 @@ public static com.google.cloud.channel.v1.ListSubscribersRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSubscribersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSubscribersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -847,6 +914,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListSubscribersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequestOrBuilder.java index 26fe01542683..f9ffcec63652 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersRequestOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListSubscribersRequestOrBuilder extends +public interface ListSubscribersRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListSubscribersRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the account.
    * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The account. */ java.lang.String getAccount(); /** + * + * *
    * Required. Resource name of the account.
    * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for account. */ - com.google.protobuf.ByteString - getAccountBytes(); + com.google.protobuf.ByteString getAccountBytes(); /** + * + * *
    * Optional. The maximum number of service accounts to return. The service may
    * return fewer than this value. If unspecified, returns at most 100 service
@@ -36,11 +59,14 @@ public interface ListSubscribersRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. A page token, received from a previous `ListSubscribers` call.
    * Provide this to retrieve the subsequent page.
@@ -49,10 +75,13 @@ public interface ListSubscribersRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. A page token, received from a previous `ListSubscribers` call.
    * Provide this to retrieve the subsequent page.
@@ -61,8 +90,8 @@ public interface ListSubscribersRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponse.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponse.java similarity index 70% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponse.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponse.java index 01095f59b2e2..640b6dc03456 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponse.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponse.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Response Message for ListSubscribers.
  * 
* * Protobuf type {@code google.cloud.channel.v1.ListSubscribersResponse} */ -public final class ListSubscribersResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListSubscribersResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListSubscribersResponse) ListSubscribersResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListSubscribersResponse.newBuilder() to construct. private ListSubscribersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListSubscribersResponse() { topic_ = ""; serviceAccounts_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -27,37 +45,41 @@ private ListSubscribersResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListSubscribersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSubscribersResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListSubscribersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSubscribersResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListSubscribersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListSubscribersResponse.class, com.google.cloud.channel.v1.ListSubscribersResponse.Builder.class); + com.google.cloud.channel.v1.ListSubscribersResponse.class, + com.google.cloud.channel.v1.ListSubscribersResponse.Builder.class); } public static final int TOPIC_FIELD_NUMBER = 1; private volatile java.lang.Object topic_; /** + * + * *
    * Name of the topic registered with the reseller.
    * 
* * string topic = 1; + * * @return The topic. */ @java.lang.Override @@ -66,29 +88,29 @@ public java.lang.String getTopic() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; } } /** + * + * *
    * Name of the topic registered with the reseller.
    * 
* * string topic = 1; + * * @return The bytes for topic. */ @java.lang.Override - public com.google.protobuf.ByteString - getTopicBytes() { + public com.google.protobuf.ByteString getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); topic_ = b; return b; } else { @@ -99,34 +121,42 @@ public java.lang.String getTopic() { public static final int SERVICE_ACCOUNTS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList serviceAccounts_; /** + * + * *
    * List of service accounts which have subscriber access to the topic.
    * 
* * repeated string service_accounts = 2; + * * @return A list containing the serviceAccounts. */ - public com.google.protobuf.ProtocolStringList - getServiceAccountsList() { + public com.google.protobuf.ProtocolStringList getServiceAccountsList() { return serviceAccounts_; } /** + * + * *
    * List of service accounts which have subscriber access to the topic.
    * 
* * repeated string service_accounts = 2; + * * @return The count of serviceAccounts. */ public int getServiceAccountsCount() { return serviceAccounts_.size(); } /** + * + * *
    * List of service accounts which have subscriber access to the topic.
    * 
* * repeated string service_accounts = 2; + * * @param index The index of the element to return. * @return The serviceAccounts at the given index. */ @@ -134,28 +164,33 @@ public java.lang.String getServiceAccounts(int index) { return serviceAccounts_.get(index); } /** + * + * *
    * List of service accounts which have subscriber access to the topic.
    * 
* * repeated string service_accounts = 2; + * * @param index The index of the value to return. * @return The bytes of the serviceAccounts at the given index. */ - public com.google.protobuf.ByteString - getServiceAccountsBytes(int index) { + public com.google.protobuf.ByteString getServiceAccountsBytes(int index) { return serviceAccounts_.getByteString(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token that can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ @java.lang.Override @@ -164,30 +199,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 that can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 3; + * * @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 { @@ -196,6 +231,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,8 +243,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, topic_); } @@ -249,19 +284,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.cloud.channel.v1.ListSubscribersResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListSubscribersResponse other = (com.google.cloud.channel.v1.ListSubscribersResponse) obj; + com.google.cloud.channel.v1.ListSubscribersResponse other = + (com.google.cloud.channel.v1.ListSubscribersResponse) obj; - if (!getTopic() - .equals(other.getTopic())) return false; - if (!getServiceAccountsList() - .equals(other.getServiceAccountsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getTopic().equals(other.getTopic())) return false; + if (!getServiceAccountsList().equals(other.getServiceAccountsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -287,129 +320,135 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListSubscribersResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListSubscribersResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListSubscribersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListSubscribersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListSubscribersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListSubscribersResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListSubscribersResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListSubscribersResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListSubscribersResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListSubscribersResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListSubscribersResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListSubscribersResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ListSubscribersResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListSubscribersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.ListSubscribersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 ListSubscribers.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ListSubscribersResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListSubscribersResponse) com.google.cloud.channel.v1.ListSubscribersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSubscribersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListSubscribersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSubscribersResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListSubscribersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ListSubscribersResponse.class, com.google.cloud.channel.v1.ListSubscribersResponse.Builder.class); + com.google.cloud.channel.v1.ListSubscribersResponse.class, + com.google.cloud.channel.v1.ListSubscribersResponse.Builder.class); } // Construct using com.google.cloud.channel.v1.ListSubscribersResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -423,9 +462,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListSubscribersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_ListSubscribersResponse_descriptor; } @java.lang.Override @@ -444,7 +483,8 @@ public com.google.cloud.channel.v1.ListSubscribersResponse build() { @java.lang.Override public com.google.cloud.channel.v1.ListSubscribersResponse buildPartial() { - com.google.cloud.channel.v1.ListSubscribersResponse result = new com.google.cloud.channel.v1.ListSubscribersResponse(this); + com.google.cloud.channel.v1.ListSubscribersResponse result = + new com.google.cloud.channel.v1.ListSubscribersResponse(this); int from_bitField0_ = bitField0_; result.topic_ = topic_; if (((bitField0_ & 0x00000001) != 0)) { @@ -461,38 +501,39 @@ public com.google.cloud.channel.v1.ListSubscribersResponse 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.cloud.channel.v1.ListSubscribersResponse) { - return mergeFrom((com.google.cloud.channel.v1.ListSubscribersResponse)other); + return mergeFrom((com.google.cloud.channel.v1.ListSubscribersResponse) other); } else { super.mergeFrom(other); return this; @@ -500,7 +541,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.ListSubscribersResponse other) { - if (other == com.google.cloud.channel.v1.ListSubscribersResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.channel.v1.ListSubscribersResponse.getDefaultInstance()) + return this; if (!other.getTopic().isEmpty()) { topic_ = other.topic_; onChanged(); @@ -545,28 +587,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - topic_ = input.readStringRequireUtf8(); + case 10: + { + topic_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureServiceAccountsIsMutable(); - serviceAccounts_.add(s); - break; - } // case 18 - case 26: { - nextPageToken_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureServiceAccountsIsMutable(); + serviceAccounts_.add(s); + break; + } // case 18 + case 26: + { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -576,22 +622,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object topic_ = ""; /** + * + * *
      * Name of the topic registered with the reseller.
      * 
* * string topic = 1; + * * @return The topic. */ public java.lang.String getTopic() { java.lang.Object ref = topic_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; @@ -600,20 +649,21 @@ public java.lang.String getTopic() { } } /** + * + * *
      * Name of the topic registered with the reseller.
      * 
* * string topic = 1; + * * @return The bytes for topic. */ - public com.google.protobuf.ByteString - getTopicBytes() { + public com.google.protobuf.ByteString getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); topic_ = b; return b; } else { @@ -621,95 +671,112 @@ public java.lang.String getTopic() { } } /** + * + * *
      * Name of the topic registered with the reseller.
      * 
* * string topic = 1; + * * @param value The topic to set. * @return This builder for chaining. */ - public Builder setTopic( - java.lang.String value) { + public Builder setTopic(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + topic_ = value; onChanged(); return this; } /** + * + * *
      * Name of the topic registered with the reseller.
      * 
* * string topic = 1; + * * @return This builder for chaining. */ public Builder clearTopic() { - + topic_ = getDefaultInstance().getTopic(); onChanged(); return this; } /** + * + * *
      * Name of the topic registered with the reseller.
      * 
* * string topic = 1; + * * @param value The bytes for topic to set. * @return This builder for chaining. */ - public Builder setTopicBytes( - com.google.protobuf.ByteString value) { + public Builder setTopicBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + topic_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList serviceAccounts_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList serviceAccounts_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureServiceAccountsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { serviceAccounts_ = new com.google.protobuf.LazyStringArrayList(serviceAccounts_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * List of service accounts which have subscriber access to the topic.
      * 
* * repeated string service_accounts = 2; + * * @return A list containing the serviceAccounts. */ - public com.google.protobuf.ProtocolStringList - getServiceAccountsList() { + public com.google.protobuf.ProtocolStringList getServiceAccountsList() { return serviceAccounts_.getUnmodifiableView(); } /** + * + * *
      * List of service accounts which have subscriber access to the topic.
      * 
* * repeated string service_accounts = 2; + * * @return The count of serviceAccounts. */ public int getServiceAccountsCount() { return serviceAccounts_.size(); } /** + * + * *
      * List of service accounts which have subscriber access to the topic.
      * 
* * repeated string service_accounts = 2; + * * @param index The index of the element to return. * @return The serviceAccounts at the given index. */ @@ -717,80 +784,90 @@ public java.lang.String getServiceAccounts(int index) { return serviceAccounts_.get(index); } /** + * + * *
      * List of service accounts which have subscriber access to the topic.
      * 
* * repeated string service_accounts = 2; + * * @param index The index of the value to return. * @return The bytes of the serviceAccounts at the given index. */ - public com.google.protobuf.ByteString - getServiceAccountsBytes(int index) { + public com.google.protobuf.ByteString getServiceAccountsBytes(int index) { return serviceAccounts_.getByteString(index); } /** + * + * *
      * List of service accounts which have subscriber access to the topic.
      * 
* * repeated string service_accounts = 2; + * * @param index The index to set the value at. * @param value The serviceAccounts to set. * @return This builder for chaining. */ - public Builder setServiceAccounts( - int index, java.lang.String value) { + public Builder setServiceAccounts(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureServiceAccountsIsMutable(); + throw new NullPointerException(); + } + ensureServiceAccountsIsMutable(); serviceAccounts_.set(index, value); onChanged(); return this; } /** + * + * *
      * List of service accounts which have subscriber access to the topic.
      * 
* * repeated string service_accounts = 2; + * * @param value The serviceAccounts to add. * @return This builder for chaining. */ - public Builder addServiceAccounts( - java.lang.String value) { + public Builder addServiceAccounts(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureServiceAccountsIsMutable(); + throw new NullPointerException(); + } + ensureServiceAccountsIsMutable(); serviceAccounts_.add(value); onChanged(); return this; } /** + * + * *
      * List of service accounts which have subscriber access to the topic.
      * 
* * repeated string service_accounts = 2; + * * @param values The serviceAccounts to add. * @return This builder for chaining. */ - public Builder addAllServiceAccounts( - java.lang.Iterable values) { + public Builder addAllServiceAccounts(java.lang.Iterable values) { ensureServiceAccountsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, serviceAccounts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, serviceAccounts_); onChanged(); return this; } /** + * + * *
      * List of service accounts which have subscriber access to the topic.
      * 
* * repeated string service_accounts = 2; + * * @return This builder for chaining. */ public Builder clearServiceAccounts() { @@ -800,20 +877,22 @@ public Builder clearServiceAccounts() { return this; } /** + * + * *
      * List of service accounts which have subscriber access to the topic.
      * 
* * repeated string service_accounts = 2; + * * @param value The bytes of the serviceAccounts to add. * @return This builder for chaining. */ - public Builder addServiceAccountsBytes( - com.google.protobuf.ByteString value) { + public Builder addServiceAccountsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureServiceAccountsIsMutable(); serviceAccounts_.add(value); onChanged(); @@ -822,19 +901,21 @@ public Builder addServiceAccountsBytes( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 3; + * * @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; @@ -843,21 +924,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 3; + * * @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 { @@ -865,64 +947,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 3; + * * @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 that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 3; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 3; + * * @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); } @@ -932,12 +1021,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListSubscribersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListSubscribersResponse) private static final com.google.cloud.channel.v1.ListSubscribersResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListSubscribersResponse(); } @@ -946,27 +1035,27 @@ public static com.google.cloud.channel.v1.ListSubscribersResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSubscribersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSubscribersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -981,6 +1070,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ListSubscribersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponseOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponseOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponseOrBuilder.java index 21c49ff294bb..9993f1afcfe1 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponseOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListSubscribersResponseOrBuilder.java @@ -1,92 +1,128 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListSubscribersResponseOrBuilder extends +public interface ListSubscribersResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListSubscribersResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of the topic registered with the reseller.
    * 
* * string topic = 1; + * * @return The topic. */ java.lang.String getTopic(); /** + * + * *
    * Name of the topic registered with the reseller.
    * 
* * string topic = 1; + * * @return The bytes for topic. */ - com.google.protobuf.ByteString - getTopicBytes(); + com.google.protobuf.ByteString getTopicBytes(); /** + * + * *
    * List of service accounts which have subscriber access to the topic.
    * 
* * repeated string service_accounts = 2; + * * @return A list containing the serviceAccounts. */ - java.util.List - getServiceAccountsList(); + java.util.List getServiceAccountsList(); /** + * + * *
    * List of service accounts which have subscriber access to the topic.
    * 
* * repeated string service_accounts = 2; + * * @return The count of serviceAccounts. */ int getServiceAccountsCount(); /** + * + * *
    * List of service accounts which have subscriber access to the topic.
    * 
* * repeated string service_accounts = 2; + * * @param index The index of the element to return. * @return The serviceAccounts at the given index. */ java.lang.String getServiceAccounts(int index); /** + * + * *
    * List of service accounts which have subscriber access to the topic.
    * 
* * repeated string service_accounts = 2; + * * @param index The index of the value to return. * @return The bytes of the serviceAccounts at the given index. */ - com.google.protobuf.ByteString - getServiceAccountsBytes(int index); + com.google.protobuf.ByteString getServiceAccountsBytes(int index); /** + * + * *
    * A token that can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token that can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 3; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequest.java similarity index 73% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequest.java index 6b0a3d8ce05a..8c993dac6696 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers]
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.ListTransferableOffersRequest}
  */
-public final class ListTransferableOffersRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListTransferableOffersRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListTransferableOffersRequest)
     ListTransferableOffersRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListTransferableOffersRequest.newBuilder() to construct.
   private ListTransferableOffersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListTransferableOffersRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -29,38 +47,42 @@ private ListTransferableOffersRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListTransferableOffersRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.ListTransferableOffersRequest.class, com.google.cloud.channel.v1.ListTransferableOffersRequest.Builder.class);
+            com.google.cloud.channel.v1.ListTransferableOffersRequest.class,
+            com.google.cloud.channel.v1.ListTransferableOffersRequest.Builder.class);
   }
 
   private int transferredCustomerIdentityCase_ = 0;
   private java.lang.Object transferredCustomerIdentity_;
+
   public enum TransferredCustomerIdentityCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     CLOUD_IDENTITY_ID(4),
     CUSTOMER_NAME(5),
     TRANSFERREDCUSTOMERIDENTITY_NOT_SET(0);
     private final int value;
+
     private TransferredCustomerIdentityCase(int value) {
       this.value = value;
     }
@@ -76,41 +98,50 @@ public static TransferredCustomerIdentityCase valueOf(int value) {
 
     public static TransferredCustomerIdentityCase forNumber(int value) {
       switch (value) {
-        case 4: return CLOUD_IDENTITY_ID;
-        case 5: return CUSTOMER_NAME;
-        case 0: return TRANSFERREDCUSTOMERIDENTITY_NOT_SET;
-        default: return null;
+        case 4:
+          return CLOUD_IDENTITY_ID;
+        case 5:
+          return CUSTOMER_NAME;
+        case 0:
+          return TRANSFERREDCUSTOMERIDENTITY_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TransferredCustomerIdentityCase
-  getTransferredCustomerIdentityCase() {
-    return TransferredCustomerIdentityCase.forNumber(
-        transferredCustomerIdentityCase_);
+  public TransferredCustomerIdentityCase getTransferredCustomerIdentityCase() {
+    return TransferredCustomerIdentityCase.forNumber(transferredCustomerIdentityCase_);
   }
 
   public static final int CLOUD_IDENTITY_ID_FIELD_NUMBER = 4;
   /**
+   *
+   *
    * 
    * Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 4; + * * @return Whether the cloudIdentityId field is set. */ public boolean hasCloudIdentityId() { return transferredCustomerIdentityCase_ == 4; } /** + * + * *
    * Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 4; + * * @return The cloudIdentityId. */ public java.lang.String getCloudIdentityId() { @@ -121,8 +152,7 @@ public java.lang.String getCloudIdentityId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (transferredCustomerIdentityCase_ == 4) { transferredCustomerIdentity_ = s; @@ -131,23 +161,24 @@ public java.lang.String getCloudIdentityId() { } } /** + * + * *
    * Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 4; + * * @return The bytes for cloudIdentityId. */ - public com.google.protobuf.ByteString - getCloudIdentityIdBytes() { + public com.google.protobuf.ByteString getCloudIdentityIdBytes() { java.lang.Object ref = ""; if (transferredCustomerIdentityCase_ == 4) { ref = transferredCustomerIdentity_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (transferredCustomerIdentityCase_ == 4) { transferredCustomerIdentity_ = b; } @@ -159,24 +190,30 @@ public java.lang.String getCloudIdentityId() { public static final int CUSTOMER_NAME_FIELD_NUMBER = 5; /** + * + * *
    * A reseller should create a customer and use the resource name of
    * that customer here.
    * 
* * string customer_name = 5; + * * @return Whether the customerName field is set. */ public boolean hasCustomerName() { return transferredCustomerIdentityCase_ == 5; } /** + * + * *
    * A reseller should create a customer and use the resource name of
    * that customer here.
    * 
* * string customer_name = 5; + * * @return The customerName. */ public java.lang.String getCustomerName() { @@ -187,8 +224,7 @@ public java.lang.String getCustomerName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (transferredCustomerIdentityCase_ == 5) { transferredCustomerIdentity_ = s; @@ -197,24 +233,25 @@ public java.lang.String getCustomerName() { } } /** + * + * *
    * A reseller should create a customer and use the resource name of
    * that customer here.
    * 
* * string customer_name = 5; + * * @return The bytes for customerName. */ - public com.google.protobuf.ByteString - getCustomerNameBytes() { + public com.google.protobuf.ByteString getCustomerNameBytes() { java.lang.Object ref = ""; if (transferredCustomerIdentityCase_ == 5) { ref = transferredCustomerIdentity_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (transferredCustomerIdentityCase_ == 5) { transferredCustomerIdentity_ = b; } @@ -227,11 +264,14 @@ public java.lang.String getCustomerName() { public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The resource name of the reseller's account.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -240,29 +280,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. The resource name of the reseller's account.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -273,6 +313,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Requested page size. Server might return fewer results than requested.
    * If unspecified, returns at most 100 offers.
@@ -280,6 +322,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -290,6 +333,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A token for a page of results other than the first page.
    * Obtained using
@@ -300,6 +345,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -308,14 +354,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 token for a page of results other than the first page.
    * Obtained using
@@ -326,16 +373,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 { @@ -346,11 +392,14 @@ public java.lang.String getPageToken() { public static final int SKU_FIELD_NUMBER = 6; private volatile java.lang.Object sku_; /** + * + * *
    * Required. The SKU to look up Offers for.
    * 
* * string sku = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The sku. */ @java.lang.Override @@ -359,29 +408,29 @@ public java.lang.String getSku() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sku_ = s; return s; } } /** + * + * *
    * Required. The SKU to look up Offers for.
    * 
* * string sku = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for sku. */ @java.lang.Override - public com.google.protobuf.ByteString - getSkuBytes() { + public com.google.protobuf.ByteString getSkuBytes() { java.lang.Object ref = sku_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sku_ = b; return b; } else { @@ -392,6 +441,8 @@ public java.lang.String getSku() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 7; private volatile java.lang.Object languageCode_; /** + * + * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -399,6 +450,7 @@ public java.lang.String getSku() {
    * 
* * string language_code = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ @java.lang.Override @@ -407,14 +459,15 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** + * + * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -422,16 +475,15 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -440,6 +492,7 @@ public java.lang.String getLanguageCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -451,8 +504,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -487,17 +539,18 @@ 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_); } if (transferredCustomerIdentityCase_ == 4) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, transferredCustomerIdentity_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(4, transferredCustomerIdentity_); } if (transferredCustomerIdentityCase_ == 5) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, transferredCustomerIdentity_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(5, transferredCustomerIdentity_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sku_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, sku_); @@ -513,32 +566,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.cloud.channel.v1.ListTransferableOffersRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListTransferableOffersRequest other = (com.google.cloud.channel.v1.ListTransferableOffersRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getSku() - .equals(other.getSku())) return false; - if (!getLanguageCode() - .equals(other.getLanguageCode())) return false; - if (!getTransferredCustomerIdentityCase().equals(other.getTransferredCustomerIdentityCase())) return false; + com.google.cloud.channel.v1.ListTransferableOffersRequest other = + (com.google.cloud.channel.v1.ListTransferableOffersRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getSku().equals(other.getSku())) return false; + if (!getLanguageCode().equals(other.getLanguageCode())) return false; + if (!getTransferredCustomerIdentityCase().equals(other.getTransferredCustomerIdentityCase())) + return false; switch (transferredCustomerIdentityCase_) { case 4: - if (!getCloudIdentityId() - .equals(other.getCloudIdentityId())) return false; + if (!getCloudIdentityId().equals(other.getCloudIdentityId())) return false; break; case 5: - if (!getCustomerName() - .equals(other.getCustomerName())) return false; + if (!getCustomerName().equals(other.getCustomerName())) return false; break; case 0: default: @@ -582,96 +630,104 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListTransferableOffersRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListTransferableOffersRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListTransferableOffersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListTransferableOffersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListTransferableOffersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListTransferableOffersRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListTransferableOffersRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListTransferableOffersRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListTransferableOffersRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListTransferableOffersRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListTransferableOffersRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListTransferableOffersRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ListTransferableOffersRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListTransferableOffersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ListTransferableOffersRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.ListTransferableOffersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers]
@@ -679,33 +735,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.ListTransferableOffersRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListTransferableOffersRequest)
       com.google.cloud.channel.v1.ListTransferableOffersRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.ListTransferableOffersRequest.class, com.google.cloud.channel.v1.ListTransferableOffersRequest.Builder.class);
+              com.google.cloud.channel.v1.ListTransferableOffersRequest.class,
+              com.google.cloud.channel.v1.ListTransferableOffersRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.ListTransferableOffersRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -725,9 +780,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_descriptor;
     }
 
     @java.lang.Override
@@ -746,7 +801,8 @@ public com.google.cloud.channel.v1.ListTransferableOffersRequest build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.ListTransferableOffersRequest buildPartial() {
-      com.google.cloud.channel.v1.ListTransferableOffersRequest result = new com.google.cloud.channel.v1.ListTransferableOffersRequest(this);
+      com.google.cloud.channel.v1.ListTransferableOffersRequest result =
+          new com.google.cloud.channel.v1.ListTransferableOffersRequest(this);
       if (transferredCustomerIdentityCase_ == 4) {
         result.transferredCustomerIdentity_ = transferredCustomerIdentity_;
       }
@@ -767,38 +823,39 @@ public com.google.cloud.channel.v1.ListTransferableOffersRequest 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.cloud.channel.v1.ListTransferableOffersRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.ListTransferableOffersRequest)other);
+        return mergeFrom((com.google.cloud.channel.v1.ListTransferableOffersRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -806,7 +863,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.ListTransferableOffersRequest other) {
-      if (other == com.google.cloud.channel.v1.ListTransferableOffersRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.ListTransferableOffersRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -827,21 +885,24 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ListTransferableOffersReque
         onChanged();
       }
       switch (other.getTransferredCustomerIdentityCase()) {
-        case CLOUD_IDENTITY_ID: {
-          transferredCustomerIdentityCase_ = 4;
-          transferredCustomerIdentity_ = other.transferredCustomerIdentity_;
-          onChanged();
-          break;
-        }
-        case CUSTOMER_NAME: {
-          transferredCustomerIdentityCase_ = 5;
-          transferredCustomerIdentity_ = other.transferredCustomerIdentity_;
-          onChanged();
-          break;
-        }
-        case TRANSFERREDCUSTOMERIDENTITY_NOT_SET: {
-          break;
-        }
+        case CLOUD_IDENTITY_ID:
+          {
+            transferredCustomerIdentityCase_ = 4;
+            transferredCustomerIdentity_ = other.transferredCustomerIdentity_;
+            onChanged();
+            break;
+          }
+        case CUSTOMER_NAME:
+          {
+            transferredCustomerIdentityCase_ = 5;
+            transferredCustomerIdentity_ = other.transferredCustomerIdentity_;
+            onChanged();
+            break;
+          }
+        case TRANSFERREDCUSTOMERIDENTITY_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -869,49 +930,57 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 16: {
-              pageSize_ = input.readInt32();
-
-              break;
-            } // case 16
-            case 26: {
-              pageToken_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 26
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
-              transferredCustomerIdentityCase_ = 4;
-              transferredCustomerIdentity_ = s;
-              break;
-            } // case 34
-            case 42: {
-              java.lang.String s = input.readStringRequireUtf8();
-              transferredCustomerIdentityCase_ = 5;
-              transferredCustomerIdentity_ = s;
-              break;
-            } // case 42
-            case 50: {
-              sku_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 50
-            case 58: {
-              languageCode_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 58
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 16:
+              {
+                pageSize_ = input.readInt32();
+
+                break;
+              } // case 16
+            case 26:
+              {
+                pageToken_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 26
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                transferredCustomerIdentityCase_ = 4;
+                transferredCustomerIdentity_ = s;
+                break;
+              } // case 34
+            case 42:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                transferredCustomerIdentityCase_ = 5;
+                transferredCustomerIdentity_ = s;
+                break;
+              } // case 42
+            case 50:
+              {
+                sku_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 50
+            case 58:
+              {
+                languageCode_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 58
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -921,12 +990,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int transferredCustomerIdentityCase_ = 0;
     private java.lang.Object transferredCustomerIdentity_;
-    public TransferredCustomerIdentityCase
-        getTransferredCustomerIdentityCase() {
-      return TransferredCustomerIdentityCase.forNumber(
-          transferredCustomerIdentityCase_);
+
+    public TransferredCustomerIdentityCase getTransferredCustomerIdentityCase() {
+      return TransferredCustomerIdentityCase.forNumber(transferredCustomerIdentityCase_);
     }
 
     public Builder clearTransferredCustomerIdentity() {
@@ -936,13 +1005,15 @@ public Builder clearTransferredCustomerIdentity() {
       return this;
     }
 
-
     /**
+     *
+     *
      * 
      * Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 4; + * * @return Whether the cloudIdentityId field is set. */ @java.lang.Override @@ -950,11 +1021,14 @@ public boolean hasCloudIdentityId() { return transferredCustomerIdentityCase_ == 4; } /** + * + * *
      * Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 4; + * * @return The cloudIdentityId. */ @java.lang.Override @@ -964,8 +1038,7 @@ public java.lang.String getCloudIdentityId() { ref = transferredCustomerIdentity_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (transferredCustomerIdentityCase_ == 4) { transferredCustomerIdentity_ = s; @@ -976,24 +1049,25 @@ public java.lang.String getCloudIdentityId() { } } /** + * + * *
      * Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 4; + * * @return The bytes for cloudIdentityId. */ @java.lang.Override - public com.google.protobuf.ByteString - getCloudIdentityIdBytes() { + public com.google.protobuf.ByteString getCloudIdentityIdBytes() { java.lang.Object ref = ""; if (transferredCustomerIdentityCase_ == 4) { ref = transferredCustomerIdentity_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (transferredCustomerIdentityCase_ == 4) { transferredCustomerIdentity_ = b; } @@ -1003,30 +1077,35 @@ public java.lang.String getCloudIdentityId() { } } /** + * + * *
      * Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 4; + * * @param value The cloudIdentityId to set. * @return This builder for chaining. */ - public Builder setCloudIdentityId( - java.lang.String value) { + public Builder setCloudIdentityId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - transferredCustomerIdentityCase_ = 4; + throw new NullPointerException(); + } + transferredCustomerIdentityCase_ = 4; transferredCustomerIdentity_ = value; onChanged(); return this; } /** + * + * *
      * Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 4; + * * @return This builder for chaining. */ public Builder clearCloudIdentityId() { @@ -1038,20 +1117,22 @@ public Builder clearCloudIdentityId() { return this; } /** + * + * *
      * Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 4; + * * @param value The bytes for cloudIdentityId to set. * @return This builder for chaining. */ - public Builder setCloudIdentityIdBytes( - com.google.protobuf.ByteString value) { + public Builder setCloudIdentityIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); transferredCustomerIdentityCase_ = 4; transferredCustomerIdentity_ = value; onChanged(); @@ -1059,12 +1140,15 @@ public Builder setCloudIdentityIdBytes( } /** + * + * *
      * A reseller should create a customer and use the resource name of
      * that customer here.
      * 
* * string customer_name = 5; + * * @return Whether the customerName field is set. */ @java.lang.Override @@ -1072,12 +1156,15 @@ public boolean hasCustomerName() { return transferredCustomerIdentityCase_ == 5; } /** + * + * *
      * A reseller should create a customer and use the resource name of
      * that customer here.
      * 
* * string customer_name = 5; + * * @return The customerName. */ @java.lang.Override @@ -1087,8 +1174,7 @@ public java.lang.String getCustomerName() { ref = transferredCustomerIdentity_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (transferredCustomerIdentityCase_ == 5) { transferredCustomerIdentity_ = s; @@ -1099,25 +1185,26 @@ public java.lang.String getCustomerName() { } } /** + * + * *
      * A reseller should create a customer and use the resource name of
      * that customer here.
      * 
* * string customer_name = 5; + * * @return The bytes for customerName. */ @java.lang.Override - public com.google.protobuf.ByteString - getCustomerNameBytes() { + public com.google.protobuf.ByteString getCustomerNameBytes() { java.lang.Object ref = ""; if (transferredCustomerIdentityCase_ == 5) { ref = transferredCustomerIdentity_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (transferredCustomerIdentityCase_ == 5) { transferredCustomerIdentity_ = b; } @@ -1127,32 +1214,37 @@ public java.lang.String getCustomerName() { } } /** + * + * *
      * A reseller should create a customer and use the resource name of
      * that customer here.
      * 
* * string customer_name = 5; + * * @param value The customerName to set. * @return This builder for chaining. */ - public Builder setCustomerName( - java.lang.String value) { + public Builder setCustomerName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - transferredCustomerIdentityCase_ = 5; + throw new NullPointerException(); + } + transferredCustomerIdentityCase_ = 5; transferredCustomerIdentity_ = value; onChanged(); return this; } /** + * + * *
      * A reseller should create a customer and use the resource name of
      * that customer here.
      * 
* * string customer_name = 5; + * * @return This builder for chaining. */ public Builder clearCustomerName() { @@ -1164,21 +1256,23 @@ public Builder clearCustomerName() { return this; } /** + * + * *
      * A reseller should create a customer and use the resource name of
      * that customer here.
      * 
* * string customer_name = 5; + * * @param value The bytes for customerName to set. * @return This builder for chaining. */ - public Builder setCustomerNameBytes( - com.google.protobuf.ByteString value) { + public Builder setCustomerNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); transferredCustomerIdentityCase_ = 5; transferredCustomerIdentity_ = value; onChanged(); @@ -1187,18 +1281,20 @@ public Builder setCustomerNameBytes( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the reseller's account.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -1207,20 +1303,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the reseller's account.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -1228,61 +1325,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the reseller's account.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 reseller's account.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the reseller's account.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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_; /** + * + * *
      * Requested page size. Server might return fewer results than requested.
      * If unspecified, returns at most 100 offers.
@@ -1290,6 +1396,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -1297,6 +1404,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Requested page size. Server might return fewer results than requested.
      * If unspecified, returns at most 100 offers.
@@ -1304,16 +1413,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; } /** + * + * *
      * Requested page size. Server might return fewer results than requested.
      * If unspecified, returns at most 100 offers.
@@ -1321,10 +1433,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1332,6 +1445,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token for a page of results other than the first page.
      * Obtained using
@@ -1342,13 +1457,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; @@ -1357,6 +1472,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token for a page of results other than the first page.
      * Obtained using
@@ -1367,15 +1484,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 { @@ -1383,6 +1499,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token for a page of results other than the first page.
      * Obtained using
@@ -1393,20 +1511,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 token for a page of results other than the first page.
      * Obtained using
@@ -1417,15 +1537,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A token for a page of results other than the first page.
      * Obtained using
@@ -1436,16 +1559,16 @@ 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; @@ -1453,18 +1576,20 @@ public Builder setPageTokenBytes( private java.lang.Object sku_ = ""; /** + * + * *
      * Required. The SKU to look up Offers for.
      * 
* * string sku = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The sku. */ public java.lang.String getSku() { java.lang.Object ref = sku_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sku_ = s; return s; @@ -1473,20 +1598,21 @@ public java.lang.String getSku() { } } /** + * + * *
      * Required. The SKU to look up Offers for.
      * 
* * string sku = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for sku. */ - public com.google.protobuf.ByteString - getSkuBytes() { + public com.google.protobuf.ByteString getSkuBytes() { java.lang.Object ref = sku_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sku_ = b; return b; } else { @@ -1494,54 +1620,61 @@ public java.lang.String getSku() { } } /** + * + * *
      * Required. The SKU to look up Offers for.
      * 
* * string sku = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The sku to set. * @return This builder for chaining. */ - public Builder setSku( - java.lang.String value) { + public Builder setSku(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sku_ = value; onChanged(); return this; } /** + * + * *
      * Required. The SKU to look up Offers for.
      * 
* * string sku = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSku() { - + sku_ = getDefaultInstance().getSku(); onChanged(); return this; } /** + * + * *
      * Required. The SKU to look up Offers for.
      * 
* * string sku = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for sku to set. * @return This builder for chaining. */ - public Builder setSkuBytes( - com.google.protobuf.ByteString value) { + public Builder setSkuBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sku_ = value; onChanged(); return this; @@ -1549,6 +1682,8 @@ public Builder setSkuBytes( private java.lang.Object languageCode_ = ""; /** + * + * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1556,13 +1691,13 @@ public Builder setSkuBytes(
      * 
* * string language_code = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -1571,6 +1706,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1578,15 +1715,14 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -1594,6 +1730,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1601,20 +1739,22 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode( - java.lang.String value) { + public Builder setLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1622,15 +1762,18 @@ public Builder setLanguageCode(
      * 
* * string language_code = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** + * + * *
      * Optional. The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1638,23 +1781,23 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = 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); } @@ -1664,12 +1807,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListTransferableOffersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListTransferableOffersRequest) private static final com.google.cloud.channel.v1.ListTransferableOffersRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListTransferableOffersRequest(); } @@ -1678,27 +1821,27 @@ public static com.google.cloud.channel.v1.ListTransferableOffersRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferableOffersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferableOffersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1713,6 +1856,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.channel.v1.ListTransferableOffersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequestOrBuilder.java similarity index 77% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequestOrBuilder.java index 88c0d5e2fb18..625832a80dd5 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersRequestOrBuilder.java @@ -1,94 +1,133 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListTransferableOffersRequestOrBuilder extends +public interface ListTransferableOffersRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListTransferableOffersRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 4; + * * @return Whether the cloudIdentityId field is set. */ boolean hasCloudIdentityId(); /** + * + * *
    * Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 4; + * * @return The cloudIdentityId. */ java.lang.String getCloudIdentityId(); /** + * + * *
    * Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 4; + * * @return The bytes for cloudIdentityId. */ - com.google.protobuf.ByteString - getCloudIdentityIdBytes(); + com.google.protobuf.ByteString getCloudIdentityIdBytes(); /** + * + * *
    * A reseller should create a customer and use the resource name of
    * that customer here.
    * 
* * string customer_name = 5; + * * @return Whether the customerName field is set. */ boolean hasCustomerName(); /** + * + * *
    * A reseller should create a customer and use the resource name of
    * that customer here.
    * 
* * string customer_name = 5; + * * @return The customerName. */ java.lang.String getCustomerName(); /** + * + * *
    * A reseller should create a customer and use the resource name of
    * that customer here.
    * 
* * string customer_name = 5; + * * @return The bytes for customerName. */ - com.google.protobuf.ByteString - getCustomerNameBytes(); + com.google.protobuf.ByteString getCustomerNameBytes(); /** + * + * *
    * Required. The resource name of the reseller's account.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the reseller's account.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Requested page size. Server might return fewer results than requested.
    * If unspecified, returns at most 100 offers.
@@ -96,11 +135,14 @@ public interface ListTransferableOffersRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token for a page of results other than the first page.
    * Obtained using
@@ -111,10 +153,13 @@ public interface ListTransferableOffersRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token for a page of results other than the first page.
    * Obtained using
@@ -125,32 +170,39 @@ public interface ListTransferableOffersRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Required. The SKU to look up Offers for.
    * 
* * string sku = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The sku. */ java.lang.String getSku(); /** + * + * *
    * Required. The SKU to look up Offers for.
    * 
* * string sku = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for sku. */ - com.google.protobuf.ByteString - getSkuBytes(); + com.google.protobuf.ByteString getSkuBytes(); /** + * + * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -158,10 +210,13 @@ public interface ListTransferableOffersRequestOrBuilder extends
    * 
* * string language_code = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ java.lang.String getLanguageCode(); /** + * + * *
    * Optional. The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -169,10 +224,11 @@ public interface ListTransferableOffersRequestOrBuilder extends
    * 
* * string language_code = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString - getLanguageCodeBytes(); + com.google.protobuf.ByteString getLanguageCodeBytes(); - public com.google.cloud.channel.v1.ListTransferableOffersRequest.TransferredCustomerIdentityCase getTransferredCustomerIdentityCase(); + public com.google.cloud.channel.v1.ListTransferableOffersRequest.TransferredCustomerIdentityCase + getTransferredCustomerIdentityCase(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponse.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponse.java similarity index 74% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponse.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponse.java index ffc977484d99..3ee5a7db6f6e 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponse.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponse.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Response message for
  * [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers].
@@ -11,15 +28,17 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.ListTransferableOffersResponse}
  */
-public final class ListTransferableOffersResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListTransferableOffersResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListTransferableOffersResponse)
     ListTransferableOffersResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListTransferableOffersResponse.newBuilder() to construct.
-  private ListTransferableOffersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListTransferableOffersResponse(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListTransferableOffersResponse() {
     transferableOffers_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,32 +46,35 @@ private ListTransferableOffersResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListTransferableOffersResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.ListTransferableOffersResponse.class, com.google.cloud.channel.v1.ListTransferableOffersResponse.Builder.class);
+            com.google.cloud.channel.v1.ListTransferableOffersResponse.class,
+            com.google.cloud.channel.v1.ListTransferableOffersResponse.Builder.class);
   }
 
   public static final int TRANSFERABLE_OFFERS_FIELD_NUMBER = 1;
   private java.util.List transferableOffers_;
   /**
+   *
+   *
    * 
    * Information about Offers for a customer that can be used for
    * transfer.
@@ -65,6 +87,8 @@ public java.util.List getTransfer
     return transferableOffers_;
   }
   /**
+   *
+   *
    * 
    * Information about Offers for a customer that can be used for
    * transfer.
@@ -73,11 +97,13 @@ public java.util.List getTransfer
    * repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getTransferableOffersOrBuilderList() {
     return transferableOffers_;
   }
   /**
+   *
+   *
    * 
    * Information about Offers for a customer that can be used for
    * transfer.
@@ -90,6 +116,8 @@ public int getTransferableOffersCount() {
     return transferableOffers_.size();
   }
   /**
+   *
+   *
    * 
    * Information about Offers for a customer that can be used for
    * transfer.
@@ -102,6 +130,8 @@ public com.google.cloud.channel.v1.TransferableOffer getTransferableOffers(int i
     return transferableOffers_.get(index);
   }
   /**
+   *
+   *
    * 
    * Information about Offers for a customer that can be used for
    * transfer.
@@ -118,6 +148,8 @@ public com.google.cloud.channel.v1.TransferableOfferOrBuilder getTransferableOff
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
   private volatile java.lang.Object nextPageToken_;
   /**
+   *
+   *
    * 
    * A token to retrieve the next page of results.
    * Pass to
@@ -126,6 +158,7 @@ public com.google.cloud.channel.v1.TransferableOfferOrBuilder getTransferableOff
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -134,14 +167,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 to retrieve the next page of results.
    * Pass to
@@ -150,16 +184,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 { @@ -168,6 +201,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,8 +213,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < transferableOffers_.size(); i++) { output.writeMessage(1, transferableOffers_.get(i)); } @@ -197,8 +230,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < transferableOffers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, transferableOffers_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, transferableOffers_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -211,17 +244,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.ListTransferableOffersResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListTransferableOffersResponse other = (com.google.cloud.channel.v1.ListTransferableOffersResponse) obj; + com.google.cloud.channel.v1.ListTransferableOffersResponse other = + (com.google.cloud.channel.v1.ListTransferableOffersResponse) obj; - if (!getTransferableOffersList() - .equals(other.getTransferableOffersList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getTransferableOffersList().equals(other.getTransferableOffersList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -245,96 +277,104 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListTransferableOffersResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListTransferableOffersResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListTransferableOffersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListTransferableOffersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListTransferableOffersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListTransferableOffersResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListTransferableOffersResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListTransferableOffersResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListTransferableOffersResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListTransferableOffersResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListTransferableOffersResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListTransferableOffersResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ListTransferableOffersResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListTransferableOffersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ListTransferableOffersResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.ListTransferableOffersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers].
@@ -342,33 +382,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.ListTransferableOffersResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListTransferableOffersResponse)
       com.google.cloud.channel.v1.ListTransferableOffersResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.ListTransferableOffersResponse.class, com.google.cloud.channel.v1.ListTransferableOffersResponse.Builder.class);
+              com.google.cloud.channel.v1.ListTransferableOffersResponse.class,
+              com.google.cloud.channel.v1.ListTransferableOffersResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.ListTransferableOffersResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -385,9 +424,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_descriptor;
     }
 
     @java.lang.Override
@@ -406,7 +445,8 @@ public com.google.cloud.channel.v1.ListTransferableOffersResponse build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.ListTransferableOffersResponse buildPartial() {
-      com.google.cloud.channel.v1.ListTransferableOffersResponse result = new com.google.cloud.channel.v1.ListTransferableOffersResponse(this);
+      com.google.cloud.channel.v1.ListTransferableOffersResponse result =
+          new com.google.cloud.channel.v1.ListTransferableOffersResponse(this);
       int from_bitField0_ = bitField0_;
       if (transferableOffersBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -426,38 +466,39 @@ public com.google.cloud.channel.v1.ListTransferableOffersResponse 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.cloud.channel.v1.ListTransferableOffersResponse) {
-        return mergeFrom((com.google.cloud.channel.v1.ListTransferableOffersResponse)other);
+        return mergeFrom((com.google.cloud.channel.v1.ListTransferableOffersResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -465,7 +506,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.ListTransferableOffersResponse other) {
-      if (other == com.google.cloud.channel.v1.ListTransferableOffersResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.ListTransferableOffersResponse.getDefaultInstance())
+        return this;
       if (transferableOffersBuilder_ == null) {
         if (!other.transferableOffers_.isEmpty()) {
           if (transferableOffers_.isEmpty()) {
@@ -484,9 +526,10 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ListTransferableOffersRespo
             transferableOffersBuilder_ = null;
             transferableOffers_ = other.transferableOffers_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            transferableOffersBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getTransferableOffersFieldBuilder() : null;
+            transferableOffersBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getTransferableOffersFieldBuilder()
+                    : null;
           } else {
             transferableOffersBuilder_.addAllMessages(other.transferableOffers_);
           }
@@ -522,30 +565,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.channel.v1.TransferableOffer m =
-                  input.readMessage(
-                      com.google.cloud.channel.v1.TransferableOffer.parser(),
-                      extensionRegistry);
-              if (transferableOffersBuilder_ == null) {
-                ensureTransferableOffersIsMutable();
-                transferableOffers_.add(m);
-              } else {
-                transferableOffersBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            case 18: {
-              nextPageToken_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                com.google.cloud.channel.v1.TransferableOffer m =
+                    input.readMessage(
+                        com.google.cloud.channel.v1.TransferableOffer.parser(), extensionRegistry);
+                if (transferableOffersBuilder_ == null) {
+                  ensureTransferableOffersIsMutable();
+                  transferableOffers_.add(m);
+                } else {
+                  transferableOffersBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -555,21 +600,30 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List transferableOffers_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureTransferableOffersIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        transferableOffers_ = new java.util.ArrayList(transferableOffers_);
+        transferableOffers_ =
+            new java.util.ArrayList(
+                transferableOffers_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.channel.v1.TransferableOffer, com.google.cloud.channel.v1.TransferableOffer.Builder, com.google.cloud.channel.v1.TransferableOfferOrBuilder> transferableOffersBuilder_;
+            com.google.cloud.channel.v1.TransferableOffer,
+            com.google.cloud.channel.v1.TransferableOffer.Builder,
+            com.google.cloud.channel.v1.TransferableOfferOrBuilder>
+        transferableOffersBuilder_;
 
     /**
+     *
+     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -577,7 +631,8 @@ private void ensureTransferableOffersIsMutable() {
      *
      * repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;
      */
-    public java.util.List getTransferableOffersList() {
+    public java.util.List
+        getTransferableOffersList() {
       if (transferableOffersBuilder_ == null) {
         return java.util.Collections.unmodifiableList(transferableOffers_);
       } else {
@@ -585,6 +640,8 @@ public java.util.List getTransfer
       }
     }
     /**
+     *
+     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -600,6 +657,8 @@ public int getTransferableOffersCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -615,6 +674,8 @@ public com.google.cloud.channel.v1.TransferableOffer getTransferableOffers(int i
       }
     }
     /**
+     *
+     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -637,6 +698,8 @@ public Builder setTransferableOffers(
       return this;
     }
     /**
+     *
+     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -656,6 +719,8 @@ public Builder setTransferableOffers(
       return this;
     }
     /**
+     *
+     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -677,6 +742,8 @@ public Builder addTransferableOffers(com.google.cloud.channel.v1.TransferableOff
       return this;
     }
     /**
+     *
+     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -699,6 +766,8 @@ public Builder addTransferableOffers(
       return this;
     }
     /**
+     *
+     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -718,6 +787,8 @@ public Builder addTransferableOffers(
       return this;
     }
     /**
+     *
+     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -737,6 +808,8 @@ public Builder addTransferableOffers(
       return this;
     }
     /**
+     *
+     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -748,8 +821,7 @@ public Builder addAllTransferableOffers(
         java.lang.Iterable values) {
       if (transferableOffersBuilder_ == null) {
         ensureTransferableOffersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, transferableOffers_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, transferableOffers_);
         onChanged();
       } else {
         transferableOffersBuilder_.addAllMessages(values);
@@ -757,6 +829,8 @@ public Builder addAllTransferableOffers(
       return this;
     }
     /**
+     *
+     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -775,6 +849,8 @@ public Builder clearTransferableOffers() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -793,6 +869,8 @@ public Builder removeTransferableOffers(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -805,6 +883,8 @@ public com.google.cloud.channel.v1.TransferableOffer.Builder getTransferableOffe
       return getTransferableOffersFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -815,11 +895,14 @@ public com.google.cloud.channel.v1.TransferableOffer.Builder getTransferableOffe
     public com.google.cloud.channel.v1.TransferableOfferOrBuilder getTransferableOffersOrBuilder(
         int index) {
       if (transferableOffersBuilder_ == null) {
-        return transferableOffers_.get(index);  } else {
+        return transferableOffers_.get(index);
+      } else {
         return transferableOffersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -827,8 +910,8 @@ public com.google.cloud.channel.v1.TransferableOfferOrBuilder getTransferableOff
      *
      * repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;
      */
-    public java.util.List 
-         getTransferableOffersOrBuilderList() {
+    public java.util.List
+        getTransferableOffersOrBuilderList() {
       if (transferableOffersBuilder_ != null) {
         return transferableOffersBuilder_.getMessageOrBuilderList();
       } else {
@@ -836,6 +919,8 @@ public com.google.cloud.channel.v1.TransferableOfferOrBuilder getTransferableOff
       }
     }
     /**
+     *
+     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -844,10 +929,12 @@ public com.google.cloud.channel.v1.TransferableOfferOrBuilder getTransferableOff
      * repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;
      */
     public com.google.cloud.channel.v1.TransferableOffer.Builder addTransferableOffersBuilder() {
-      return getTransferableOffersFieldBuilder().addBuilder(
-          com.google.cloud.channel.v1.TransferableOffer.getDefaultInstance());
+      return getTransferableOffersFieldBuilder()
+          .addBuilder(com.google.cloud.channel.v1.TransferableOffer.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -857,10 +944,12 @@ public com.google.cloud.channel.v1.TransferableOffer.Builder addTransferableOffe
      */
     public com.google.cloud.channel.v1.TransferableOffer.Builder addTransferableOffersBuilder(
         int index) {
-      return getTransferableOffersFieldBuilder().addBuilder(
-          index, com.google.cloud.channel.v1.TransferableOffer.getDefaultInstance());
+      return getTransferableOffersFieldBuilder()
+          .addBuilder(index, com.google.cloud.channel.v1.TransferableOffer.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Information about Offers for a customer that can be used for
      * transfer.
@@ -868,16 +957,22 @@ public com.google.cloud.channel.v1.TransferableOffer.Builder addTransferableOffe
      *
      * repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;
      */
-    public java.util.List 
-         getTransferableOffersBuilderList() {
+    public java.util.List
+        getTransferableOffersBuilderList() {
       return getTransferableOffersFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.channel.v1.TransferableOffer, com.google.cloud.channel.v1.TransferableOffer.Builder, com.google.cloud.channel.v1.TransferableOfferOrBuilder> 
+            com.google.cloud.channel.v1.TransferableOffer,
+            com.google.cloud.channel.v1.TransferableOffer.Builder,
+            com.google.cloud.channel.v1.TransferableOfferOrBuilder>
         getTransferableOffersFieldBuilder() {
       if (transferableOffersBuilder_ == null) {
-        transferableOffersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.channel.v1.TransferableOffer, com.google.cloud.channel.v1.TransferableOffer.Builder, com.google.cloud.channel.v1.TransferableOfferOrBuilder>(
+        transferableOffersBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.channel.v1.TransferableOffer,
+                com.google.cloud.channel.v1.TransferableOffer.Builder,
+                com.google.cloud.channel.v1.TransferableOfferOrBuilder>(
                 transferableOffers_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -889,6 +984,8 @@ public com.google.cloud.channel.v1.TransferableOffer.Builder addTransferableOffe
 
     private java.lang.Object nextPageToken_ = "";
     /**
+     *
+     *
      * 
      * A token to retrieve the next page of results.
      * Pass to
@@ -897,13 +994,13 @@ public com.google.cloud.channel.v1.TransferableOffer.Builder addTransferableOffe
      * 
* * 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; @@ -912,6 +1009,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * Pass to
@@ -920,15 +1019,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 { @@ -936,6 +1034,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * Pass to
@@ -944,20 +1044,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 to retrieve the next page of results.
      * Pass to
@@ -966,15 +1068,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 to retrieve the next page of results.
      * Pass to
@@ -983,23 +1088,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); } @@ -1009,12 +1114,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListTransferableOffersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListTransferableOffersResponse) private static final com.google.cloud.channel.v1.ListTransferableOffersResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListTransferableOffersResponse(); } @@ -1023,27 +1128,27 @@ public static com.google.cloud.channel.v1.ListTransferableOffersResponse getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferableOffersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferableOffersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1058,6 +1163,4 @@ public com.google.protobuf.Parser getParserForTy public com.google.cloud.channel.v1.ListTransferableOffersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponseOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponseOrBuilder.java similarity index 73% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponseOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponseOrBuilder.java index 656beab17c71..fefb604b7fde 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponseOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableOffersResponseOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListTransferableOffersResponseOrBuilder extends +public interface ListTransferableOffersResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListTransferableOffersResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Information about Offers for a customer that can be used for
    * transfer.
@@ -15,9 +33,10 @@ public interface ListTransferableOffersResponseOrBuilder extends
    *
    * repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;
    */
-  java.util.List 
-      getTransferableOffersList();
+  java.util.List getTransferableOffersList();
   /**
+   *
+   *
    * 
    * Information about Offers for a customer that can be used for
    * transfer.
@@ -27,6 +46,8 @@ public interface ListTransferableOffersResponseOrBuilder extends
    */
   com.google.cloud.channel.v1.TransferableOffer getTransferableOffers(int index);
   /**
+   *
+   *
    * 
    * Information about Offers for a customer that can be used for
    * transfer.
@@ -36,6 +57,8 @@ public interface ListTransferableOffersResponseOrBuilder extends
    */
   int getTransferableOffersCount();
   /**
+   *
+   *
    * 
    * Information about Offers for a customer that can be used for
    * transfer.
@@ -43,9 +66,11 @@ public interface ListTransferableOffersResponseOrBuilder extends
    *
    * repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;
    */
-  java.util.List 
+  java.util.List
       getTransferableOffersOrBuilderList();
   /**
+   *
+   *
    * 
    * Information about Offers for a customer that can be used for
    * transfer.
@@ -53,10 +78,11 @@ public interface ListTransferableOffersResponseOrBuilder extends
    *
    * repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1;
    */
-  com.google.cloud.channel.v1.TransferableOfferOrBuilder getTransferableOffersOrBuilder(
-      int index);
+  com.google.cloud.channel.v1.TransferableOfferOrBuilder getTransferableOffersOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * A token to retrieve the next page of results.
    * Pass to
@@ -65,10 +91,13 @@ com.google.cloud.channel.v1.TransferableOfferOrBuilder getTransferableOffersOrBu
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve the next page of results.
    * Pass to
@@ -77,8 +106,8 @@ com.google.cloud.channel.v1.TransferableOfferOrBuilder getTransferableOffersOrBu
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequest.java similarity index 74% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequest.java index 18be780adc34..781a91e3159d 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus]
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.ListTransferableSkusRequest}
  */
-public final class ListTransferableSkusRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListTransferableSkusRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListTransferableSkusRequest)
     ListTransferableSkusRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListTransferableSkusRequest.newBuilder() to construct.
   private ListTransferableSkusRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListTransferableSkusRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -29,38 +47,42 @@ private ListTransferableSkusRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListTransferableSkusRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.ListTransferableSkusRequest.class, com.google.cloud.channel.v1.ListTransferableSkusRequest.Builder.class);
+            com.google.cloud.channel.v1.ListTransferableSkusRequest.class,
+            com.google.cloud.channel.v1.ListTransferableSkusRequest.Builder.class);
   }
 
   private int transferredCustomerIdentityCase_ = 0;
   private java.lang.Object transferredCustomerIdentity_;
+
   public enum TransferredCustomerIdentityCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     CLOUD_IDENTITY_ID(4),
     CUSTOMER_NAME(7),
     TRANSFERREDCUSTOMERIDENTITY_NOT_SET(0);
     private final int value;
+
     private TransferredCustomerIdentityCase(int value) {
       this.value = value;
     }
@@ -76,41 +98,50 @@ public static TransferredCustomerIdentityCase valueOf(int value) {
 
     public static TransferredCustomerIdentityCase forNumber(int value) {
       switch (value) {
-        case 4: return CLOUD_IDENTITY_ID;
-        case 7: return CUSTOMER_NAME;
-        case 0: return TRANSFERREDCUSTOMERIDENTITY_NOT_SET;
-        default: return null;
+        case 4:
+          return CLOUD_IDENTITY_ID;
+        case 7:
+          return CUSTOMER_NAME;
+        case 0:
+          return TRANSFERREDCUSTOMERIDENTITY_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TransferredCustomerIdentityCase
-  getTransferredCustomerIdentityCase() {
-    return TransferredCustomerIdentityCase.forNumber(
-        transferredCustomerIdentityCase_);
+  public TransferredCustomerIdentityCase getTransferredCustomerIdentityCase() {
+    return TransferredCustomerIdentityCase.forNumber(transferredCustomerIdentityCase_);
   }
 
   public static final int CLOUD_IDENTITY_ID_FIELD_NUMBER = 4;
   /**
+   *
+   *
    * 
    * Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 4; + * * @return Whether the cloudIdentityId field is set. */ public boolean hasCloudIdentityId() { return transferredCustomerIdentityCase_ == 4; } /** + * + * *
    * Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 4; + * * @return The cloudIdentityId. */ public java.lang.String getCloudIdentityId() { @@ -121,8 +152,7 @@ public java.lang.String getCloudIdentityId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (transferredCustomerIdentityCase_ == 4) { transferredCustomerIdentity_ = s; @@ -131,23 +161,24 @@ public java.lang.String getCloudIdentityId() { } } /** + * + * *
    * Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 4; + * * @return The bytes for cloudIdentityId. */ - public com.google.protobuf.ByteString - getCloudIdentityIdBytes() { + public com.google.protobuf.ByteString getCloudIdentityIdBytes() { java.lang.Object ref = ""; if (transferredCustomerIdentityCase_ == 4) { ref = transferredCustomerIdentity_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (transferredCustomerIdentityCase_ == 4) { transferredCustomerIdentity_ = b; } @@ -159,6 +190,8 @@ public java.lang.String getCloudIdentityId() { public static final int CUSTOMER_NAME_FIELD_NUMBER = 7; /** + * + * *
    * A reseller is required to create a customer and use the resource name of
    * the created customer here.
@@ -167,12 +200,15 @@ public java.lang.String getCloudIdentityId() {
    * 
* * string customer_name = 7; + * * @return Whether the customerName field is set. */ public boolean hasCustomerName() { return transferredCustomerIdentityCase_ == 7; } /** + * + * *
    * A reseller is required to create a customer and use the resource name of
    * the created customer here.
@@ -181,6 +217,7 @@ public boolean hasCustomerName() {
    * 
* * string customer_name = 7; + * * @return The customerName. */ public java.lang.String getCustomerName() { @@ -191,8 +228,7 @@ public java.lang.String getCustomerName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (transferredCustomerIdentityCase_ == 7) { transferredCustomerIdentity_ = s; @@ -201,6 +237,8 @@ public java.lang.String getCustomerName() { } } /** + * + * *
    * A reseller is required to create a customer and use the resource name of
    * the created customer here.
@@ -209,18 +247,17 @@ public java.lang.String getCustomerName() {
    * 
* * string customer_name = 7; + * * @return The bytes for customerName. */ - public com.google.protobuf.ByteString - getCustomerNameBytes() { + public com.google.protobuf.ByteString getCustomerNameBytes() { java.lang.Object ref = ""; if (transferredCustomerIdentityCase_ == 7) { ref = transferredCustomerIdentity_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (transferredCustomerIdentityCase_ == 7) { transferredCustomerIdentity_ = b; } @@ -233,12 +270,15 @@ public java.lang.String getCustomerName() { public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The reseller account's resource name.
    * Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -247,30 +287,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 reseller account's resource name.
    * Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -281,6 +321,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The requested page size. Server might return fewer results than requested.
    * If unspecified, returns at most 100 SKUs.
@@ -289,6 +331,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -299,6 +342,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A token for a page of results other than the first page.
    * Obtained using
@@ -309,6 +354,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -317,14 +363,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 token for a page of results other than the first page.
    * Obtained using
@@ -335,16 +382,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 { @@ -355,6 +401,8 @@ public java.lang.String getPageToken() { public static final int AUTH_TOKEN_FIELD_NUMBER = 5; private volatile java.lang.Object authToken_; /** + * + * *
    * Optional. The super admin of the resold customer generates this token to
    * authorize a reseller to access their Cloud Identity and purchase
@@ -363,6 +411,7 @@ public java.lang.String getPageToken() {
    * 
* * string auth_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The authToken. */ @java.lang.Override @@ -371,14 +420,15 @@ public java.lang.String getAuthToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authToken_ = s; return s; } } /** + * + * *
    * Optional. The super admin of the resold customer generates this token to
    * authorize a reseller to access their Cloud Identity and purchase
@@ -387,16 +437,15 @@ public java.lang.String getAuthToken() {
    * 
* * string auth_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for authToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getAuthTokenBytes() { + public com.google.protobuf.ByteString getAuthTokenBytes() { java.lang.Object ref = authToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); authToken_ = b; return b; } else { @@ -407,6 +456,8 @@ public java.lang.String getAuthToken() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 6; private volatile java.lang.Object languageCode_; /** + * + * *
    * The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -415,6 +466,7 @@ public java.lang.String getAuthToken() {
    * 
* * string language_code = 6; + * * @return The languageCode. */ @java.lang.Override @@ -423,14 +475,15 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** + * + * *
    * The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -439,16 +492,15 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 6; + * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -457,6 +509,7 @@ public java.lang.String getLanguageCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -468,8 +521,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -504,14 +556,14 @@ 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_); } if (transferredCustomerIdentityCase_ == 4) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, transferredCustomerIdentity_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(4, transferredCustomerIdentity_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, authToken_); @@ -520,7 +572,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, languageCode_); } if (transferredCustomerIdentityCase_ == 7) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, transferredCustomerIdentity_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(7, transferredCustomerIdentity_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -530,32 +583,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.cloud.channel.v1.ListTransferableSkusRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListTransferableSkusRequest other = (com.google.cloud.channel.v1.ListTransferableSkusRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getAuthToken() - .equals(other.getAuthToken())) return false; - if (!getLanguageCode() - .equals(other.getLanguageCode())) return false; - if (!getTransferredCustomerIdentityCase().equals(other.getTransferredCustomerIdentityCase())) return false; + com.google.cloud.channel.v1.ListTransferableSkusRequest other = + (com.google.cloud.channel.v1.ListTransferableSkusRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getAuthToken().equals(other.getAuthToken())) return false; + if (!getLanguageCode().equals(other.getLanguageCode())) return false; + if (!getTransferredCustomerIdentityCase().equals(other.getTransferredCustomerIdentityCase())) + return false; switch (transferredCustomerIdentityCase_) { case 4: - if (!getCloudIdentityId() - .equals(other.getCloudIdentityId())) return false; + if (!getCloudIdentityId().equals(other.getCloudIdentityId())) return false; break; case 7: - if (!getCustomerName() - .equals(other.getCustomerName())) return false; + if (!getCustomerName().equals(other.getCustomerName())) return false; break; case 0: default: @@ -599,96 +647,104 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListTransferableSkusRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListTransferableSkusRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListTransferableSkusRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListTransferableSkusRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListTransferableSkusRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListTransferableSkusRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListTransferableSkusRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListTransferableSkusRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListTransferableSkusRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListTransferableSkusRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListTransferableSkusRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListTransferableSkusRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ListTransferableSkusRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListTransferableSkusRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ListTransferableSkusRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.ListTransferableSkusRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus]
@@ -696,33 +752,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.ListTransferableSkusRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListTransferableSkusRequest)
       com.google.cloud.channel.v1.ListTransferableSkusRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.ListTransferableSkusRequest.class, com.google.cloud.channel.v1.ListTransferableSkusRequest.Builder.class);
+              com.google.cloud.channel.v1.ListTransferableSkusRequest.class,
+              com.google.cloud.channel.v1.ListTransferableSkusRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.ListTransferableSkusRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -742,9 +797,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_descriptor;
     }
 
     @java.lang.Override
@@ -763,7 +818,8 @@ public com.google.cloud.channel.v1.ListTransferableSkusRequest build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.ListTransferableSkusRequest buildPartial() {
-      com.google.cloud.channel.v1.ListTransferableSkusRequest result = new com.google.cloud.channel.v1.ListTransferableSkusRequest(this);
+      com.google.cloud.channel.v1.ListTransferableSkusRequest result =
+          new com.google.cloud.channel.v1.ListTransferableSkusRequest(this);
       if (transferredCustomerIdentityCase_ == 4) {
         result.transferredCustomerIdentity_ = transferredCustomerIdentity_;
       }
@@ -784,38 +840,39 @@ public com.google.cloud.channel.v1.ListTransferableSkusRequest 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.cloud.channel.v1.ListTransferableSkusRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.ListTransferableSkusRequest)other);
+        return mergeFrom((com.google.cloud.channel.v1.ListTransferableSkusRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -823,7 +880,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.ListTransferableSkusRequest other) {
-      if (other == com.google.cloud.channel.v1.ListTransferableSkusRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.ListTransferableSkusRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -844,21 +902,24 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ListTransferableSkusRequest
         onChanged();
       }
       switch (other.getTransferredCustomerIdentityCase()) {
-        case CLOUD_IDENTITY_ID: {
-          transferredCustomerIdentityCase_ = 4;
-          transferredCustomerIdentity_ = other.transferredCustomerIdentity_;
-          onChanged();
-          break;
-        }
-        case CUSTOMER_NAME: {
-          transferredCustomerIdentityCase_ = 7;
-          transferredCustomerIdentity_ = other.transferredCustomerIdentity_;
-          onChanged();
-          break;
-        }
-        case TRANSFERREDCUSTOMERIDENTITY_NOT_SET: {
-          break;
-        }
+        case CLOUD_IDENTITY_ID:
+          {
+            transferredCustomerIdentityCase_ = 4;
+            transferredCustomerIdentity_ = other.transferredCustomerIdentity_;
+            onChanged();
+            break;
+          }
+        case CUSTOMER_NAME:
+          {
+            transferredCustomerIdentityCase_ = 7;
+            transferredCustomerIdentity_ = other.transferredCustomerIdentity_;
+            onChanged();
+            break;
+          }
+        case TRANSFERREDCUSTOMERIDENTITY_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -886,49 +947,57 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 16: {
-              pageSize_ = input.readInt32();
-
-              break;
-            } // case 16
-            case 26: {
-              pageToken_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 26
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
-              transferredCustomerIdentityCase_ = 4;
-              transferredCustomerIdentity_ = s;
-              break;
-            } // case 34
-            case 42: {
-              authToken_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 42
-            case 50: {
-              languageCode_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 50
-            case 58: {
-              java.lang.String s = input.readStringRequireUtf8();
-              transferredCustomerIdentityCase_ = 7;
-              transferredCustomerIdentity_ = s;
-              break;
-            } // case 58
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 16:
+              {
+                pageSize_ = input.readInt32();
+
+                break;
+              } // case 16
+            case 26:
+              {
+                pageToken_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 26
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                transferredCustomerIdentityCase_ = 4;
+                transferredCustomerIdentity_ = s;
+                break;
+              } // case 34
+            case 42:
+              {
+                authToken_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 42
+            case 50:
+              {
+                languageCode_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 50
+            case 58:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                transferredCustomerIdentityCase_ = 7;
+                transferredCustomerIdentity_ = s;
+                break;
+              } // case 58
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -938,12 +1007,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int transferredCustomerIdentityCase_ = 0;
     private java.lang.Object transferredCustomerIdentity_;
-    public TransferredCustomerIdentityCase
-        getTransferredCustomerIdentityCase() {
-      return TransferredCustomerIdentityCase.forNumber(
-          transferredCustomerIdentityCase_);
+
+    public TransferredCustomerIdentityCase getTransferredCustomerIdentityCase() {
+      return TransferredCustomerIdentityCase.forNumber(transferredCustomerIdentityCase_);
     }
 
     public Builder clearTransferredCustomerIdentity() {
@@ -953,13 +1022,15 @@ public Builder clearTransferredCustomerIdentity() {
       return this;
     }
 
-
     /**
+     *
+     *
      * 
      * Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 4; + * * @return Whether the cloudIdentityId field is set. */ @java.lang.Override @@ -967,11 +1038,14 @@ public boolean hasCloudIdentityId() { return transferredCustomerIdentityCase_ == 4; } /** + * + * *
      * Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 4; + * * @return The cloudIdentityId. */ @java.lang.Override @@ -981,8 +1055,7 @@ public java.lang.String getCloudIdentityId() { ref = transferredCustomerIdentity_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (transferredCustomerIdentityCase_ == 4) { transferredCustomerIdentity_ = s; @@ -993,24 +1066,25 @@ public java.lang.String getCloudIdentityId() { } } /** + * + * *
      * Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 4; + * * @return The bytes for cloudIdentityId. */ @java.lang.Override - public com.google.protobuf.ByteString - getCloudIdentityIdBytes() { + public com.google.protobuf.ByteString getCloudIdentityIdBytes() { java.lang.Object ref = ""; if (transferredCustomerIdentityCase_ == 4) { ref = transferredCustomerIdentity_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (transferredCustomerIdentityCase_ == 4) { transferredCustomerIdentity_ = b; } @@ -1020,30 +1094,35 @@ public java.lang.String getCloudIdentityId() { } } /** + * + * *
      * Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 4; + * * @param value The cloudIdentityId to set. * @return This builder for chaining. */ - public Builder setCloudIdentityId( - java.lang.String value) { + public Builder setCloudIdentityId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - transferredCustomerIdentityCase_ = 4; + throw new NullPointerException(); + } + transferredCustomerIdentityCase_ = 4; transferredCustomerIdentity_ = value; onChanged(); return this; } /** + * + * *
      * Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 4; + * * @return This builder for chaining. */ public Builder clearCloudIdentityId() { @@ -1055,20 +1134,22 @@ public Builder clearCloudIdentityId() { return this; } /** + * + * *
      * Customer's Cloud Identity ID
      * 
* * string cloud_identity_id = 4; + * * @param value The bytes for cloudIdentityId to set. * @return This builder for chaining. */ - public Builder setCloudIdentityIdBytes( - com.google.protobuf.ByteString value) { + public Builder setCloudIdentityIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); transferredCustomerIdentityCase_ = 4; transferredCustomerIdentity_ = value; onChanged(); @@ -1076,6 +1157,8 @@ public Builder setCloudIdentityIdBytes( } /** + * + * *
      * A reseller is required to create a customer and use the resource name of
      * the created customer here.
@@ -1084,6 +1167,7 @@ public Builder setCloudIdentityIdBytes(
      * 
* * string customer_name = 7; + * * @return Whether the customerName field is set. */ @java.lang.Override @@ -1091,6 +1175,8 @@ public boolean hasCustomerName() { return transferredCustomerIdentityCase_ == 7; } /** + * + * *
      * A reseller is required to create a customer and use the resource name of
      * the created customer here.
@@ -1099,6 +1185,7 @@ public boolean hasCustomerName() {
      * 
* * string customer_name = 7; + * * @return The customerName. */ @java.lang.Override @@ -1108,8 +1195,7 @@ public java.lang.String getCustomerName() { ref = transferredCustomerIdentity_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (transferredCustomerIdentityCase_ == 7) { transferredCustomerIdentity_ = s; @@ -1120,6 +1206,8 @@ public java.lang.String getCustomerName() { } } /** + * + * *
      * A reseller is required to create a customer and use the resource name of
      * the created customer here.
@@ -1128,19 +1216,18 @@ public java.lang.String getCustomerName() {
      * 
* * string customer_name = 7; + * * @return The bytes for customerName. */ @java.lang.Override - public com.google.protobuf.ByteString - getCustomerNameBytes() { + public com.google.protobuf.ByteString getCustomerNameBytes() { java.lang.Object ref = ""; if (transferredCustomerIdentityCase_ == 7) { ref = transferredCustomerIdentity_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (transferredCustomerIdentityCase_ == 7) { transferredCustomerIdentity_ = b; } @@ -1150,6 +1237,8 @@ public java.lang.String getCustomerName() { } } /** + * + * *
      * A reseller is required to create a customer and use the resource name of
      * the created customer here.
@@ -1158,20 +1247,22 @@ public java.lang.String getCustomerName() {
      * 
* * string customer_name = 7; + * * @param value The customerName to set. * @return This builder for chaining. */ - public Builder setCustomerName( - java.lang.String value) { + public Builder setCustomerName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - transferredCustomerIdentityCase_ = 7; + throw new NullPointerException(); + } + transferredCustomerIdentityCase_ = 7; transferredCustomerIdentity_ = value; onChanged(); return this; } /** + * + * *
      * A reseller is required to create a customer and use the resource name of
      * the created customer here.
@@ -1180,6 +1271,7 @@ public Builder setCustomerName(
      * 
* * string customer_name = 7; + * * @return This builder for chaining. */ public Builder clearCustomerName() { @@ -1191,6 +1283,8 @@ public Builder clearCustomerName() { return this; } /** + * + * *
      * A reseller is required to create a customer and use the resource name of
      * the created customer here.
@@ -1199,15 +1293,15 @@ public Builder clearCustomerName() {
      * 
* * string customer_name = 7; + * * @param value The bytes for customerName to set. * @return This builder for chaining. */ - public Builder setCustomerNameBytes( - com.google.protobuf.ByteString value) { + public Builder setCustomerNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); transferredCustomerIdentityCase_ = 7; transferredCustomerIdentity_ = value; onChanged(); @@ -1216,19 +1310,21 @@ public Builder setCustomerNameBytes( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The reseller account's resource name.
      * Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -1237,21 +1333,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The reseller account's resource name.
      * Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -1259,64 +1356,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The reseller account's resource name.
      * Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 reseller account's resource name.
      * Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The reseller account's resource name.
      * Parent uses the format: accounts/{account_id}
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 requested page size. Server might return fewer results than requested.
      * If unspecified, returns at most 100 SKUs.
@@ -1325,6 +1431,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -1332,6 +1439,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The requested page size. Server might return fewer results than requested.
      * If unspecified, returns at most 100 SKUs.
@@ -1340,16 +1449,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 requested page size. Server might return fewer results than requested.
      * If unspecified, returns at most 100 SKUs.
@@ -1358,10 +1470,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1369,6 +1482,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token for a page of results other than the first page.
      * Obtained using
@@ -1379,13 +1494,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; @@ -1394,6 +1509,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token for a page of results other than the first page.
      * Obtained using
@@ -1404,15 +1521,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 { @@ -1420,6 +1536,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token for a page of results other than the first page.
      * Obtained using
@@ -1430,20 +1548,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 token for a page of results other than the first page.
      * Obtained using
@@ -1454,15 +1574,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A token for a page of results other than the first page.
      * Obtained using
@@ -1473,16 +1596,16 @@ 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; @@ -1490,6 +1613,8 @@ public Builder setPageTokenBytes( private java.lang.Object authToken_ = ""; /** + * + * *
      * Optional. The super admin of the resold customer generates this token to
      * authorize a reseller to access their Cloud Identity and purchase
@@ -1498,13 +1623,13 @@ public Builder setPageTokenBytes(
      * 
* * string auth_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The authToken. */ public java.lang.String getAuthToken() { java.lang.Object ref = authToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authToken_ = s; return s; @@ -1513,6 +1638,8 @@ public java.lang.String getAuthToken() { } } /** + * + * *
      * Optional. The super admin of the resold customer generates this token to
      * authorize a reseller to access their Cloud Identity and purchase
@@ -1521,15 +1648,14 @@ public java.lang.String getAuthToken() {
      * 
* * string auth_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for authToken. */ - public com.google.protobuf.ByteString - getAuthTokenBytes() { + public com.google.protobuf.ByteString getAuthTokenBytes() { java.lang.Object ref = authToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); authToken_ = b; return b; } else { @@ -1537,6 +1663,8 @@ public java.lang.String getAuthToken() { } } /** + * + * *
      * Optional. The super admin of the resold customer generates this token to
      * authorize a reseller to access their Cloud Identity and purchase
@@ -1545,20 +1673,22 @@ public java.lang.String getAuthToken() {
      * 
* * string auth_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The authToken to set. * @return This builder for chaining. */ - public Builder setAuthToken( - java.lang.String value) { + public Builder setAuthToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + authToken_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The super admin of the resold customer generates this token to
      * authorize a reseller to access their Cloud Identity and purchase
@@ -1567,15 +1697,18 @@ public Builder setAuthToken(
      * 
* * string auth_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAuthToken() { - + authToken_ = getDefaultInstance().getAuthToken(); onChanged(); return this; } /** + * + * *
      * Optional. The super admin of the resold customer generates this token to
      * authorize a reseller to access their Cloud Identity and purchase
@@ -1584,16 +1717,16 @@ public Builder clearAuthToken() {
      * 
* * string auth_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for authToken to set. * @return This builder for chaining. */ - public Builder setAuthTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setAuthTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + authToken_ = value; onChanged(); return this; @@ -1601,6 +1734,8 @@ public Builder setAuthTokenBytes( private java.lang.Object languageCode_ = ""; /** + * + * *
      * The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1609,13 +1744,13 @@ public Builder setAuthTokenBytes(
      * 
* * string language_code = 6; + * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -1624,6 +1759,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1632,15 +1769,14 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 6; + * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -1648,6 +1784,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1656,20 +1794,22 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 6; + * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode( - java.lang.String value) { + public Builder setLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** + * + * *
      * The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1678,15 +1818,18 @@ public Builder setLanguageCode(
      * 
* * string language_code = 6; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** + * + * *
      * The BCP-47 language code. For example, "en-US". The
      * response will localize in the corresponding language code, if specified.
@@ -1695,23 +1838,23 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 6; + * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = 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 +1864,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListTransferableSkusRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListTransferableSkusRequest) private static final com.google.cloud.channel.v1.ListTransferableSkusRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListTransferableSkusRequest(); } @@ -1735,27 +1878,27 @@ public static com.google.cloud.channel.v1.ListTransferableSkusRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferableSkusRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferableSkusRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1770,6 +1913,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.channel.v1.ListTransferableSkusRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequestOrBuilder.java similarity index 80% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequestOrBuilder.java index 88e75546cbf3..9c487925be2a 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusRequestOrBuilder.java @@ -1,42 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListTransferableSkusRequestOrBuilder extends +public interface ListTransferableSkusRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListTransferableSkusRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 4; + * * @return Whether the cloudIdentityId field is set. */ boolean hasCloudIdentityId(); /** + * + * *
    * Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 4; + * * @return The cloudIdentityId. */ java.lang.String getCloudIdentityId(); /** + * + * *
    * Customer's Cloud Identity ID
    * 
* * string cloud_identity_id = 4; + * * @return The bytes for cloudIdentityId. */ - com.google.protobuf.ByteString - getCloudIdentityIdBytes(); + com.google.protobuf.ByteString getCloudIdentityIdBytes(); /** + * + * *
    * A reseller is required to create a customer and use the resource name of
    * the created customer here.
@@ -45,10 +71,13 @@ public interface ListTransferableSkusRequestOrBuilder extends
    * 
* * string customer_name = 7; + * * @return Whether the customerName field is set. */ boolean hasCustomerName(); /** + * + * *
    * A reseller is required to create a customer and use the resource name of
    * the created customer here.
@@ -57,10 +86,13 @@ public interface ListTransferableSkusRequestOrBuilder extends
    * 
* * string customer_name = 7; + * * @return The customerName. */ java.lang.String getCustomerName(); /** + * + * *
    * A reseller is required to create a customer and use the resource name of
    * the created customer here.
@@ -69,34 +101,41 @@ public interface ListTransferableSkusRequestOrBuilder extends
    * 
* * string customer_name = 7; + * * @return The bytes for customerName. */ - com.google.protobuf.ByteString - getCustomerNameBytes(); + com.google.protobuf.ByteString getCustomerNameBytes(); /** + * + * *
    * Required. The reseller account's resource name.
    * Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The reseller account's resource name.
    * Parent uses the format: accounts/{account_id}
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The requested page size. Server might return fewer results than requested.
    * If unspecified, returns at most 100 SKUs.
@@ -105,11 +144,14 @@ public interface ListTransferableSkusRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token for a page of results other than the first page.
    * Obtained using
@@ -120,10 +162,13 @@ public interface ListTransferableSkusRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token for a page of results other than the first page.
    * Obtained using
@@ -134,12 +179,14 @@ public interface ListTransferableSkusRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. The super admin of the resold customer generates this token to
    * authorize a reseller to access their Cloud Identity and purchase
@@ -148,10 +195,13 @@ public interface ListTransferableSkusRequestOrBuilder extends
    * 
* * string auth_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The authToken. */ java.lang.String getAuthToken(); /** + * + * *
    * Optional. The super admin of the resold customer generates this token to
    * authorize a reseller to access their Cloud Identity and purchase
@@ -160,12 +210,14 @@ public interface ListTransferableSkusRequestOrBuilder extends
    * 
* * string auth_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for authToken. */ - com.google.protobuf.ByteString - getAuthTokenBytes(); + com.google.protobuf.ByteString getAuthTokenBytes(); /** + * + * *
    * The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -174,10 +226,13 @@ public interface ListTransferableSkusRequestOrBuilder extends
    * 
* * string language_code = 6; + * * @return The languageCode. */ java.lang.String getLanguageCode(); /** + * + * *
    * The BCP-47 language code. For example, "en-US". The
    * response will localize in the corresponding language code, if specified.
@@ -186,10 +241,11 @@ public interface ListTransferableSkusRequestOrBuilder extends
    * 
* * string language_code = 6; + * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString - getLanguageCodeBytes(); + com.google.protobuf.ByteString getLanguageCodeBytes(); - public com.google.cloud.channel.v1.ListTransferableSkusRequest.TransferredCustomerIdentityCase getTransferredCustomerIdentityCase(); + public com.google.cloud.channel.v1.ListTransferableSkusRequest.TransferredCustomerIdentityCase + getTransferredCustomerIdentityCase(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponse.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponse.java similarity index 74% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponse.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponse.java index aa67f0dd18ae..c10fdc8838be 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponse.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponse.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Response message for
  * [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.ListTransferableSkusResponse}
  */
-public final class ListTransferableSkusResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListTransferableSkusResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ListTransferableSkusResponse)
     ListTransferableSkusResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListTransferableSkusResponse.newBuilder() to construct.
   private ListTransferableSkusResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListTransferableSkusResponse() {
     transferableSkus_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,32 +45,35 @@ private ListTransferableSkusResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListTransferableSkusResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.ListTransferableSkusResponse.class, com.google.cloud.channel.v1.ListTransferableSkusResponse.Builder.class);
+            com.google.cloud.channel.v1.ListTransferableSkusResponse.class,
+            com.google.cloud.channel.v1.ListTransferableSkusResponse.Builder.class);
   }
 
   public static final int TRANSFERABLE_SKUS_FIELD_NUMBER = 1;
   private java.util.List transferableSkus_;
   /**
+   *
+   *
    * 
    * Information about existing SKUs for a customer that needs a transfer.
    * 
@@ -64,6 +85,8 @@ public java.util.List getTransferab return transferableSkus_; } /** + * + * *
    * Information about existing SKUs for a customer that needs a transfer.
    * 
@@ -71,11 +94,13 @@ public java.util.List getTransferab * repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTransferableSkusOrBuilderList() { return transferableSkus_; } /** + * + * *
    * Information about existing SKUs for a customer that needs a transfer.
    * 
@@ -87,6 +112,8 @@ public int getTransferableSkusCount() { return transferableSkus_.size(); } /** + * + * *
    * Information about existing SKUs for a customer that needs a transfer.
    * 
@@ -98,6 +125,8 @@ public com.google.cloud.channel.v1.TransferableSku getTransferableSkus(int index return transferableSkus_.get(index); } /** + * + * *
    * Information about existing SKUs for a customer that needs a transfer.
    * 
@@ -113,6 +142,8 @@ public com.google.cloud.channel.v1.TransferableSkuOrBuilder getTransferableSkusO public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token to retrieve the next page of results.
    * Pass to
@@ -121,6 +152,7 @@ public com.google.cloud.channel.v1.TransferableSkuOrBuilder getTransferableSkusO
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -129,14 +161,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 to retrieve the next page of results.
    * Pass to
@@ -145,16 +178,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 { @@ -163,6 +195,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +207,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < transferableSkus_.size(); i++) { output.writeMessage(1, transferableSkus_.get(i)); } @@ -192,8 +224,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < transferableSkus_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, transferableSkus_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, transferableSkus_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -206,17 +237,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.ListTransferableSkusResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.ListTransferableSkusResponse other = (com.google.cloud.channel.v1.ListTransferableSkusResponse) obj; + com.google.cloud.channel.v1.ListTransferableSkusResponse other = + (com.google.cloud.channel.v1.ListTransferableSkusResponse) obj; - if (!getTransferableSkusList() - .equals(other.getTransferableSkusList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getTransferableSkusList().equals(other.getTransferableSkusList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -240,96 +270,104 @@ public int hashCode() { } public static com.google.cloud.channel.v1.ListTransferableSkusResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListTransferableSkusResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListTransferableSkusResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListTransferableSkusResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ListTransferableSkusResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ListTransferableSkusResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ListTransferableSkusResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListTransferableSkusResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListTransferableSkusResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ListTransferableSkusResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ListTransferableSkusResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListTransferableSkusResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ListTransferableSkusResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ListTransferableSkusResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ListTransferableSkusResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.ListTransferableSkusResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus].
@@ -337,33 +375,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.ListTransferableSkusResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ListTransferableSkusResponse)
       com.google.cloud.channel.v1.ListTransferableSkusResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.ListTransferableSkusResponse.class, com.google.cloud.channel.v1.ListTransferableSkusResponse.Builder.class);
+              com.google.cloud.channel.v1.ListTransferableSkusResponse.class,
+              com.google.cloud.channel.v1.ListTransferableSkusResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.ListTransferableSkusResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -380,9 +417,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_descriptor;
     }
 
     @java.lang.Override
@@ -401,7 +438,8 @@ public com.google.cloud.channel.v1.ListTransferableSkusResponse build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.ListTransferableSkusResponse buildPartial() {
-      com.google.cloud.channel.v1.ListTransferableSkusResponse result = new com.google.cloud.channel.v1.ListTransferableSkusResponse(this);
+      com.google.cloud.channel.v1.ListTransferableSkusResponse result =
+          new com.google.cloud.channel.v1.ListTransferableSkusResponse(this);
       int from_bitField0_ = bitField0_;
       if (transferableSkusBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -421,38 +459,39 @@ public com.google.cloud.channel.v1.ListTransferableSkusResponse 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.cloud.channel.v1.ListTransferableSkusResponse) {
-        return mergeFrom((com.google.cloud.channel.v1.ListTransferableSkusResponse)other);
+        return mergeFrom((com.google.cloud.channel.v1.ListTransferableSkusResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -460,7 +499,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.ListTransferableSkusResponse other) {
-      if (other == com.google.cloud.channel.v1.ListTransferableSkusResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.ListTransferableSkusResponse.getDefaultInstance())
+        return this;
       if (transferableSkusBuilder_ == null) {
         if (!other.transferableSkus_.isEmpty()) {
           if (transferableSkus_.isEmpty()) {
@@ -479,9 +519,10 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ListTransferableSkusRespons
             transferableSkusBuilder_ = null;
             transferableSkus_ = other.transferableSkus_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            transferableSkusBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getTransferableSkusFieldBuilder() : null;
+            transferableSkusBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getTransferableSkusFieldBuilder()
+                    : null;
           } else {
             transferableSkusBuilder_.addAllMessages(other.transferableSkus_);
           }
@@ -517,30 +558,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.channel.v1.TransferableSku m =
-                  input.readMessage(
-                      com.google.cloud.channel.v1.TransferableSku.parser(),
-                      extensionRegistry);
-              if (transferableSkusBuilder_ == null) {
-                ensureTransferableSkusIsMutable();
-                transferableSkus_.add(m);
-              } else {
-                transferableSkusBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            case 18: {
-              nextPageToken_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                com.google.cloud.channel.v1.TransferableSku m =
+                    input.readMessage(
+                        com.google.cloud.channel.v1.TransferableSku.parser(), extensionRegistry);
+                if (transferableSkusBuilder_ == null) {
+                  ensureTransferableSkusIsMutable();
+                  transferableSkus_.add(m);
+                } else {
+                  transferableSkusBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -550,21 +593,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List transferableSkus_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureTransferableSkusIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        transferableSkus_ = new java.util.ArrayList(transferableSkus_);
+        transferableSkus_ =
+            new java.util.ArrayList(transferableSkus_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.channel.v1.TransferableSku, com.google.cloud.channel.v1.TransferableSku.Builder, com.google.cloud.channel.v1.TransferableSkuOrBuilder> transferableSkusBuilder_;
+            com.google.cloud.channel.v1.TransferableSku,
+            com.google.cloud.channel.v1.TransferableSku.Builder,
+            com.google.cloud.channel.v1.TransferableSkuOrBuilder>
+        transferableSkusBuilder_;
 
     /**
+     *
+     *
      * 
      * Information about existing SKUs for a customer that needs a transfer.
      * 
@@ -579,6 +630,8 @@ public java.util.List getTransferab } } /** + * + * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
@@ -593,6 +646,8 @@ public int getTransferableSkusCount() { } } /** + * + * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
@@ -607,6 +662,8 @@ public com.google.cloud.channel.v1.TransferableSku getTransferableSkus(int index } } /** + * + * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
@@ -628,6 +685,8 @@ public Builder setTransferableSkus( return this; } /** + * + * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
@@ -646,6 +705,8 @@ public Builder setTransferableSkus( return this; } /** + * + * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
@@ -666,6 +727,8 @@ public Builder addTransferableSkus(com.google.cloud.channel.v1.TransferableSku v return this; } /** + * + * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
@@ -687,6 +750,8 @@ public Builder addTransferableSkus( return this; } /** + * + * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
@@ -705,6 +770,8 @@ public Builder addTransferableSkus( return this; } /** + * + * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
@@ -723,6 +790,8 @@ public Builder addTransferableSkus( return this; } /** + * + * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
@@ -733,8 +802,7 @@ public Builder addAllTransferableSkus( java.lang.Iterable values) { if (transferableSkusBuilder_ == null) { ensureTransferableSkusIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, transferableSkus_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, transferableSkus_); onChanged(); } else { transferableSkusBuilder_.addAllMessages(values); @@ -742,6 +810,8 @@ public Builder addAllTransferableSkus( return this; } /** + * + * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
@@ -759,6 +829,8 @@ public Builder clearTransferableSkus() { return this; } /** + * + * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
@@ -776,6 +848,8 @@ public Builder removeTransferableSkus(int index) { return this; } /** + * + * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
@@ -787,6 +861,8 @@ public com.google.cloud.channel.v1.TransferableSku.Builder getTransferableSkusBu return getTransferableSkusFieldBuilder().getBuilder(index); } /** + * + * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
@@ -796,19 +872,22 @@ public com.google.cloud.channel.v1.TransferableSku.Builder getTransferableSkusBu public com.google.cloud.channel.v1.TransferableSkuOrBuilder getTransferableSkusOrBuilder( int index) { if (transferableSkusBuilder_ == null) { - return transferableSkus_.get(index); } else { + return transferableSkus_.get(index); + } else { return transferableSkusBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
* * repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1; */ - public java.util.List - getTransferableSkusOrBuilderList() { + public java.util.List + getTransferableSkusOrBuilderList() { if (transferableSkusBuilder_ != null) { return transferableSkusBuilder_.getMessageOrBuilderList(); } else { @@ -816,6 +895,8 @@ public com.google.cloud.channel.v1.TransferableSkuOrBuilder getTransferableSkusO } } /** + * + * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
@@ -823,10 +904,12 @@ public com.google.cloud.channel.v1.TransferableSkuOrBuilder getTransferableSkusO * repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1; */ public com.google.cloud.channel.v1.TransferableSku.Builder addTransferableSkusBuilder() { - return getTransferableSkusFieldBuilder().addBuilder( - com.google.cloud.channel.v1.TransferableSku.getDefaultInstance()); + return getTransferableSkusFieldBuilder() + .addBuilder(com.google.cloud.channel.v1.TransferableSku.getDefaultInstance()); } /** + * + * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
@@ -835,26 +918,34 @@ public com.google.cloud.channel.v1.TransferableSku.Builder addTransferableSkusBu */ public com.google.cloud.channel.v1.TransferableSku.Builder addTransferableSkusBuilder( int index) { - return getTransferableSkusFieldBuilder().addBuilder( - index, com.google.cloud.channel.v1.TransferableSku.getDefaultInstance()); + return getTransferableSkusFieldBuilder() + .addBuilder(index, com.google.cloud.channel.v1.TransferableSku.getDefaultInstance()); } /** + * + * *
      * Information about existing SKUs for a customer that needs a transfer.
      * 
* * repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1; */ - public java.util.List - getTransferableSkusBuilderList() { + public java.util.List + getTransferableSkusBuilderList() { return getTransferableSkusFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.TransferableSku, com.google.cloud.channel.v1.TransferableSku.Builder, com.google.cloud.channel.v1.TransferableSkuOrBuilder> + com.google.cloud.channel.v1.TransferableSku, + com.google.cloud.channel.v1.TransferableSku.Builder, + com.google.cloud.channel.v1.TransferableSkuOrBuilder> getTransferableSkusFieldBuilder() { if (transferableSkusBuilder_ == null) { - transferableSkusBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.TransferableSku, com.google.cloud.channel.v1.TransferableSku.Builder, com.google.cloud.channel.v1.TransferableSkuOrBuilder>( + transferableSkusBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.TransferableSku, + com.google.cloud.channel.v1.TransferableSku.Builder, + com.google.cloud.channel.v1.TransferableSkuOrBuilder>( transferableSkus_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -866,6 +957,8 @@ public com.google.cloud.channel.v1.TransferableSku.Builder addTransferableSkusBu private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve the next page of results.
      * Pass to
@@ -874,13 +967,13 @@ public com.google.cloud.channel.v1.TransferableSku.Builder addTransferableSkusBu
      * 
* * 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; @@ -889,6 +982,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * Pass to
@@ -897,15 +992,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 { @@ -913,6 +1007,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * Pass to
@@ -921,20 +1017,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 to retrieve the next page of results.
      * Pass to
@@ -943,15 +1041,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 to retrieve the next page of results.
      * Pass to
@@ -960,23 +1061,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); } @@ -986,12 +1087,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ListTransferableSkusResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ListTransferableSkusResponse) private static final com.google.cloud.channel.v1.ListTransferableSkusResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ListTransferableSkusResponse(); } @@ -1000,27 +1101,27 @@ public static com.google.cloud.channel.v1.ListTransferableSkusResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTransferableSkusResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTransferableSkusResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1035,6 +1136,4 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.channel.v1.ListTransferableSkusResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponseOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponseOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponseOrBuilder.java index 7d714bafbd8a..4d50cf7bdfe2 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponseOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ListTransferableSkusResponseOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ListTransferableSkusResponseOrBuilder extends +public interface ListTransferableSkusResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ListTransferableSkusResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Information about existing SKUs for a customer that needs a transfer.
    * 
* * repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1; */ - java.util.List - getTransferableSkusList(); + java.util.List getTransferableSkusList(); /** + * + * *
    * Information about existing SKUs for a customer that needs a transfer.
    * 
@@ -25,6 +44,8 @@ public interface ListTransferableSkusResponseOrBuilder extends */ com.google.cloud.channel.v1.TransferableSku getTransferableSkus(int index); /** + * + * *
    * Information about existing SKUs for a customer that needs a transfer.
    * 
@@ -33,25 +54,30 @@ public interface ListTransferableSkusResponseOrBuilder extends */ int getTransferableSkusCount(); /** + * + * *
    * Information about existing SKUs for a customer that needs a transfer.
    * 
* * repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1; */ - java.util.List + java.util.List getTransferableSkusOrBuilderList(); /** + * + * *
    * Information about existing SKUs for a customer that needs a transfer.
    * 
* * repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1; */ - com.google.cloud.channel.v1.TransferableSkuOrBuilder getTransferableSkusOrBuilder( - int index); + com.google.cloud.channel.v1.TransferableSkuOrBuilder getTransferableSkusOrBuilder(int index); /** + * + * *
    * A token to retrieve the next page of results.
    * Pass to
@@ -60,10 +86,13 @@ com.google.cloud.channel.v1.TransferableSkuOrBuilder getTransferableSkusOrBuilde
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve the next page of results.
    * Pass to
@@ -72,8 +101,8 @@ com.google.cloud.channel.v1.TransferableSkuOrBuilder getTransferableSkusOrBuilde
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequest.java similarity index 63% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequest.java index a143c426d0ab..8bc449133599 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequest.java @@ -1,63 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for LookupOffer.
  * 
* * Protobuf type {@code google.cloud.channel.v1.LookupOfferRequest} */ -public final class LookupOfferRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LookupOfferRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.LookupOfferRequest) LookupOfferRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LookupOfferRequest.newBuilder() to construct. private LookupOfferRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LookupOfferRequest() { entitlement_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LookupOfferRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_LookupOfferRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_LookupOfferRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_LookupOfferRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_LookupOfferRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.LookupOfferRequest.class, com.google.cloud.channel.v1.LookupOfferRequest.Builder.class); + com.google.cloud.channel.v1.LookupOfferRequest.class, + com.google.cloud.channel.v1.LookupOfferRequest.Builder.class); } public static final int ENTITLEMENT_FIELD_NUMBER = 1; private volatile java.lang.Object entitlement_; /** + * + * *
    * Required. The resource name of the entitlement to retrieve the Offer.
    * Entitlement uses the format:
    * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
    * 
* - * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The entitlement. */ @java.lang.Override @@ -66,31 +90,33 @@ public java.lang.String getEntitlement() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entitlement_ = s; return s; } } /** + * + * *
    * Required. The resource name of the entitlement to retrieve the Offer.
    * Entitlement uses the format:
    * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
    * 
* - * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for entitlement. */ @java.lang.Override - public com.google.protobuf.ByteString - getEntitlementBytes() { + public com.google.protobuf.ByteString getEntitlementBytes() { java.lang.Object ref = entitlement_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); entitlement_ = b; return b; } else { @@ -99,6 +125,7 @@ public java.lang.String getEntitlement() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -110,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entitlement_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entitlement_); } @@ -135,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.LookupOfferRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.LookupOfferRequest other = (com.google.cloud.channel.v1.LookupOfferRequest) obj; + com.google.cloud.channel.v1.LookupOfferRequest other = + (com.google.cloud.channel.v1.LookupOfferRequest) obj; - if (!getEntitlement() - .equals(other.getEntitlement())) return false; + if (!getEntitlement().equals(other.getEntitlement())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,130 +188,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.LookupOfferRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.LookupOfferRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.LookupOfferRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.LookupOfferRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.LookupOfferRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.LookupOfferRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.LookupOfferRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.LookupOfferRequest 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.cloud.channel.v1.LookupOfferRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.LookupOfferRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.LookupOfferRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.LookupOfferRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.LookupOfferRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.LookupOfferRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.LookupOfferRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for LookupOffer.
    * 
* * Protobuf type {@code google.cloud.channel.v1.LookupOfferRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.LookupOfferRequest) com.google.cloud.channel.v1.LookupOfferRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_LookupOfferRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_LookupOfferRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_LookupOfferRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_LookupOfferRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.LookupOfferRequest.class, com.google.cloud.channel.v1.LookupOfferRequest.Builder.class); + com.google.cloud.channel.v1.LookupOfferRequest.class, + com.google.cloud.channel.v1.LookupOfferRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.LookupOfferRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -295,9 +327,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_LookupOfferRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_LookupOfferRequest_descriptor; } @java.lang.Override @@ -316,7 +348,8 @@ public com.google.cloud.channel.v1.LookupOfferRequest build() { @java.lang.Override public com.google.cloud.channel.v1.LookupOfferRequest buildPartial() { - com.google.cloud.channel.v1.LookupOfferRequest result = new com.google.cloud.channel.v1.LookupOfferRequest(this); + com.google.cloud.channel.v1.LookupOfferRequest result = + new com.google.cloud.channel.v1.LookupOfferRequest(this); result.entitlement_ = entitlement_; onBuilt(); return result; @@ -326,38 +359,39 @@ public com.google.cloud.channel.v1.LookupOfferRequest 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.cloud.channel.v1.LookupOfferRequest) { - return mergeFrom((com.google.cloud.channel.v1.LookupOfferRequest)other); + return mergeFrom((com.google.cloud.channel.v1.LookupOfferRequest) other); } else { super.mergeFrom(other); return this; @@ -396,17 +430,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - entitlement_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + entitlement_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -419,20 +455,24 @@ public Builder mergeFrom( private java.lang.Object entitlement_ = ""; /** + * + * *
      * Required. The resource name of the entitlement to retrieve the Offer.
      * Entitlement uses the format:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
      * 
* - * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The entitlement. */ public java.lang.String getEntitlement() { java.lang.Object ref = entitlement_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entitlement_ = s; return s; @@ -441,22 +481,25 @@ public java.lang.String getEntitlement() { } } /** + * + * *
      * Required. The resource name of the entitlement to retrieve the Offer.
      * Entitlement uses the format:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
      * 
* - * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for entitlement. */ - public com.google.protobuf.ByteString - getEntitlementBytes() { + public com.google.protobuf.ByteString getEntitlementBytes() { java.lang.Object ref = entitlement_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); entitlement_ = b; return b; } else { @@ -464,67 +507,80 @@ public java.lang.String getEntitlement() { } } /** + * + * *
      * Required. The resource name of the entitlement to retrieve the Offer.
      * Entitlement uses the format:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
      * 
* - * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The entitlement to set. * @return This builder for chaining. */ - public Builder setEntitlement( - java.lang.String value) { + public Builder setEntitlement(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entitlement_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the entitlement to retrieve the Offer.
      * Entitlement uses the format:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
      * 
* - * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearEntitlement() { - + entitlement_ = getDefaultInstance().getEntitlement(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the entitlement to retrieve the Offer.
      * Entitlement uses the format:
      * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
      * 
* - * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for entitlement to set. * @return This builder for chaining. */ - public Builder setEntitlementBytes( - com.google.protobuf.ByteString value) { + public Builder setEntitlementBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entitlement_ = 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); } @@ -534,12 +590,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.LookupOfferRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.LookupOfferRequest) private static final com.google.cloud.channel.v1.LookupOfferRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.LookupOfferRequest(); } @@ -548,27 +604,27 @@ public static com.google.cloud.channel.v1.LookupOfferRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LookupOfferRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LookupOfferRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -583,6 +639,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.LookupOfferRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequestOrBuilder.java new file mode 100644 index 000000000000..b39bed90f753 --- /dev/null +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequestOrBuilder.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/cloud/channel/v1/service.proto + +package com.google.cloud.channel.v1; + +public interface LookupOfferRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.LookupOfferRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the entitlement to retrieve the Offer.
+   * Entitlement uses the format:
+   * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
+   * 
+ * + * + * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The entitlement. + */ + java.lang.String getEntitlement(); + /** + * + * + *
+   * Required. The resource name of the entitlement to retrieve the Offer.
+   * Entitlement uses the format:
+   * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
+   * 
+ * + * + * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for entitlement. + */ + com.google.protobuf.ByteString getEntitlementBytes(); +} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfo.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfo.java similarity index 68% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfo.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfo.java index b2dc88fa2f6b..6e9c8efda408 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfo.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfo.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/cloud/channel/v1/products.proto package com.google.cloud.channel.v1; /** + * + * *
  * Represents the marketing information for a Product, SKU or Offer.
  * 
* * Protobuf type {@code google.cloud.channel.v1.MarketingInfo} */ -public final class MarketingInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MarketingInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.MarketingInfo) MarketingInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MarketingInfo.newBuilder() to construct. private MarketingInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MarketingInfo() { displayName_ = ""; description_ = ""; @@ -26,37 +44,41 @@ private MarketingInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MarketingInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_MarketingInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ProductsProto + .internal_static_google_cloud_channel_v1_MarketingInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_MarketingInfo_fieldAccessorTable + return com.google.cloud.channel.v1.ProductsProto + .internal_static_google_cloud_channel_v1_MarketingInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.MarketingInfo.class, com.google.cloud.channel.v1.MarketingInfo.Builder.class); + com.google.cloud.channel.v1.MarketingInfo.class, + com.google.cloud.channel.v1.MarketingInfo.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object displayName_; /** + * + * *
    * Human readable name.
    * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -65,29 +87,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; } } /** + * + * *
    * Human readable name.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -98,11 +120,14 @@ public java.lang.String getDisplayName() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
    * Human readable description. Description can contain HTML.
    * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -111,29 +136,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; } } /** + * + * *
    * Human readable description. Description can contain HTML.
    * 
* * string description = 2; + * * @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 { @@ -144,11 +169,14 @@ public java.lang.String getDescription() { public static final int DEFAULT_LOGO_FIELD_NUMBER = 3; private com.google.cloud.channel.v1.Media defaultLogo_; /** + * + * *
    * Default logo.
    * 
* * .google.cloud.channel.v1.Media default_logo = 3; + * * @return Whether the defaultLogo field is set. */ @java.lang.Override @@ -156,18 +184,25 @@ public boolean hasDefaultLogo() { return defaultLogo_ != null; } /** + * + * *
    * Default logo.
    * 
* * .google.cloud.channel.v1.Media default_logo = 3; + * * @return The defaultLogo. */ @java.lang.Override public com.google.cloud.channel.v1.Media getDefaultLogo() { - return defaultLogo_ == null ? com.google.cloud.channel.v1.Media.getDefaultInstance() : defaultLogo_; + return defaultLogo_ == null + ? com.google.cloud.channel.v1.Media.getDefaultInstance() + : defaultLogo_; } /** + * + * *
    * Default logo.
    * 
@@ -180,6 +215,7 @@ public com.google.cloud.channel.v1.MediaOrBuilder getDefaultLogoOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -191,8 +227,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -218,8 +253,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (defaultLogo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getDefaultLogo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDefaultLogo()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -229,21 +263,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.cloud.channel.v1.MarketingInfo)) { return super.equals(obj); } - com.google.cloud.channel.v1.MarketingInfo other = (com.google.cloud.channel.v1.MarketingInfo) obj; + com.google.cloud.channel.v1.MarketingInfo other = + (com.google.cloud.channel.v1.MarketingInfo) obj; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (hasDefaultLogo() != other.hasDefaultLogo()) return false; if (hasDefaultLogo()) { - if (!getDefaultLogo() - .equals(other.getDefaultLogo())) return false; + if (!getDefaultLogo().equals(other.getDefaultLogo())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -269,130 +301,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.MarketingInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.MarketingInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.MarketingInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.MarketingInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.MarketingInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.MarketingInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.MarketingInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.MarketingInfo 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.cloud.channel.v1.MarketingInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.MarketingInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.MarketingInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.MarketingInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.MarketingInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.MarketingInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.MarketingInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents the marketing information for a Product, SKU or Offer.
    * 
* * Protobuf type {@code google.cloud.channel.v1.MarketingInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.MarketingInfo) com.google.cloud.channel.v1.MarketingInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_MarketingInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ProductsProto + .internal_static_google_cloud_channel_v1_MarketingInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_MarketingInfo_fieldAccessorTable + return com.google.cloud.channel.v1.ProductsProto + .internal_static_google_cloud_channel_v1_MarketingInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.MarketingInfo.class, com.google.cloud.channel.v1.MarketingInfo.Builder.class); + com.google.cloud.channel.v1.MarketingInfo.class, + com.google.cloud.channel.v1.MarketingInfo.Builder.class); } // Construct using com.google.cloud.channel.v1.MarketingInfo.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -410,9 +448,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_MarketingInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.ProductsProto + .internal_static_google_cloud_channel_v1_MarketingInfo_descriptor; } @java.lang.Override @@ -431,7 +469,8 @@ public com.google.cloud.channel.v1.MarketingInfo build() { @java.lang.Override public com.google.cloud.channel.v1.MarketingInfo buildPartial() { - com.google.cloud.channel.v1.MarketingInfo result = new com.google.cloud.channel.v1.MarketingInfo(this); + com.google.cloud.channel.v1.MarketingInfo result = + new com.google.cloud.channel.v1.MarketingInfo(this); result.displayName_ = displayName_; result.description_ = description_; if (defaultLogoBuilder_ == null) { @@ -447,38 +486,39 @@ public com.google.cloud.channel.v1.MarketingInfo 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.cloud.channel.v1.MarketingInfo) { - return mergeFrom((com.google.cloud.channel.v1.MarketingInfo)other); + return mergeFrom((com.google.cloud.channel.v1.MarketingInfo) other); } else { super.mergeFrom(other); return this; @@ -524,29 +564,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); + case 10: + { + displayName_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - description_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + description_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - input.readMessage( - getDefaultLogoFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getDefaultLogoFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -559,18 +601,20 @@ public Builder mergeFrom( private java.lang.Object displayName_ = ""; /** + * + * *
      * Human readable name.
      * 
* * string display_name = 1; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -579,20 +623,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Human readable name.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -600,54 +645,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Human readable name.
      * 
* * string display_name = 1; + * * @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 name.
      * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * Human readable name.
      * 
* * string display_name = 1; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + 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; @@ -655,18 +707,20 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Human readable description. Description can contain HTML.
      * 
* * string description = 2; + * * @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; @@ -675,20 +729,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Human readable description. Description can contain HTML.
      * 
* * string description = 2; + * * @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 { @@ -696,54 +751,61 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Human readable description. Description can contain HTML.
      * 
* * string description = 2; + * * @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; } /** + * + * *
      * Human readable description. Description can contain HTML.
      * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Human readable description. Description can contain HTML.
      * 
* * string description = 2; + * * @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; @@ -751,34 +813,47 @@ public Builder setDescriptionBytes( private com.google.cloud.channel.v1.Media defaultLogo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Media, com.google.cloud.channel.v1.Media.Builder, com.google.cloud.channel.v1.MediaOrBuilder> defaultLogoBuilder_; + com.google.cloud.channel.v1.Media, + com.google.cloud.channel.v1.Media.Builder, + com.google.cloud.channel.v1.MediaOrBuilder> + defaultLogoBuilder_; /** + * + * *
      * Default logo.
      * 
* * .google.cloud.channel.v1.Media default_logo = 3; + * * @return Whether the defaultLogo field is set. */ public boolean hasDefaultLogo() { return defaultLogoBuilder_ != null || defaultLogo_ != null; } /** + * + * *
      * Default logo.
      * 
* * .google.cloud.channel.v1.Media default_logo = 3; + * * @return The defaultLogo. */ public com.google.cloud.channel.v1.Media getDefaultLogo() { if (defaultLogoBuilder_ == null) { - return defaultLogo_ == null ? com.google.cloud.channel.v1.Media.getDefaultInstance() : defaultLogo_; + return defaultLogo_ == null + ? com.google.cloud.channel.v1.Media.getDefaultInstance() + : defaultLogo_; } else { return defaultLogoBuilder_.getMessage(); } } /** + * + * *
      * Default logo.
      * 
@@ -799,14 +874,15 @@ public Builder setDefaultLogo(com.google.cloud.channel.v1.Media value) { return this; } /** + * + * *
      * Default logo.
      * 
* * .google.cloud.channel.v1.Media default_logo = 3; */ - public Builder setDefaultLogo( - com.google.cloud.channel.v1.Media.Builder builderForValue) { + public Builder setDefaultLogo(com.google.cloud.channel.v1.Media.Builder builderForValue) { if (defaultLogoBuilder_ == null) { defaultLogo_ = builderForValue.build(); onChanged(); @@ -817,6 +893,8 @@ public Builder setDefaultLogo( return this; } /** + * + * *
      * Default logo.
      * 
@@ -827,7 +905,9 @@ public Builder mergeDefaultLogo(com.google.cloud.channel.v1.Media value) { if (defaultLogoBuilder_ == null) { if (defaultLogo_ != null) { defaultLogo_ = - com.google.cloud.channel.v1.Media.newBuilder(defaultLogo_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.Media.newBuilder(defaultLogo_) + .mergeFrom(value) + .buildPartial(); } else { defaultLogo_ = value; } @@ -839,6 +919,8 @@ public Builder mergeDefaultLogo(com.google.cloud.channel.v1.Media value) { return this; } /** + * + * *
      * Default logo.
      * 
@@ -857,6 +939,8 @@ public Builder clearDefaultLogo() { return this; } /** + * + * *
      * Default logo.
      * 
@@ -864,11 +948,13 @@ public Builder clearDefaultLogo() { * .google.cloud.channel.v1.Media default_logo = 3; */ public com.google.cloud.channel.v1.Media.Builder getDefaultLogoBuilder() { - + onChanged(); return getDefaultLogoFieldBuilder().getBuilder(); } /** + * + * *
      * Default logo.
      * 
@@ -879,11 +965,14 @@ public com.google.cloud.channel.v1.MediaOrBuilder getDefaultLogoOrBuilder() { if (defaultLogoBuilder_ != null) { return defaultLogoBuilder_.getMessageOrBuilder(); } else { - return defaultLogo_ == null ? - com.google.cloud.channel.v1.Media.getDefaultInstance() : defaultLogo_; + return defaultLogo_ == null + ? com.google.cloud.channel.v1.Media.getDefaultInstance() + : defaultLogo_; } } /** + * + * *
      * Default logo.
      * 
@@ -891,21 +980,24 @@ public com.google.cloud.channel.v1.MediaOrBuilder getDefaultLogoOrBuilder() { * .google.cloud.channel.v1.Media default_logo = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Media, com.google.cloud.channel.v1.Media.Builder, com.google.cloud.channel.v1.MediaOrBuilder> + com.google.cloud.channel.v1.Media, + com.google.cloud.channel.v1.Media.Builder, + com.google.cloud.channel.v1.MediaOrBuilder> getDefaultLogoFieldBuilder() { if (defaultLogoBuilder_ == null) { - defaultLogoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Media, com.google.cloud.channel.v1.Media.Builder, com.google.cloud.channel.v1.MediaOrBuilder>( - getDefaultLogo(), - getParentForChildren(), - isClean()); + defaultLogoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Media, + com.google.cloud.channel.v1.Media.Builder, + com.google.cloud.channel.v1.MediaOrBuilder>( + getDefaultLogo(), getParentForChildren(), isClean()); defaultLogo_ = null; } return defaultLogoBuilder_; } + @java.lang.Override - 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,12 +1007,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.MarketingInfo) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.MarketingInfo) private static final com.google.cloud.channel.v1.MarketingInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.MarketingInfo(); } @@ -929,27 +1021,27 @@ public static com.google.cloud.channel.v1.MarketingInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MarketingInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MarketingInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -964,6 +1056,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.MarketingInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfoOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfoOrBuilder.java similarity index 65% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfoOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfoOrBuilder.java index 100bef7afd48..43db2fbd651b 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfoOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MarketingInfoOrBuilder.java @@ -1,71 +1,105 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/products.proto package com.google.cloud.channel.v1; -public interface MarketingInfoOrBuilder extends +public interface MarketingInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.MarketingInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Human readable name.
    * 
* * string display_name = 1; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Human readable name.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Human readable description. Description can contain HTML.
    * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Human readable description. Description can contain HTML.
    * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Default logo.
    * 
* * .google.cloud.channel.v1.Media default_logo = 3; + * * @return Whether the defaultLogo field is set. */ boolean hasDefaultLogo(); /** + * + * *
    * Default logo.
    * 
* * .google.cloud.channel.v1.Media default_logo = 3; + * * @return The defaultLogo. */ com.google.cloud.channel.v1.Media getDefaultLogo(); /** + * + * *
    * Default logo.
    * 
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Media.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Media.java similarity index 67% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Media.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Media.java index 9cc26943d667..c2fc0715f04a 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Media.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Media.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/cloud/channel/v1/products.proto package com.google.cloud.channel.v1; /** + * + * *
  * Represents media information.
  * 
* * Protobuf type {@code google.cloud.channel.v1.Media} */ -public final class Media extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Media extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.Media) MediaOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Media.newBuilder() to construct. private Media(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Media() { title_ = ""; content_ = ""; @@ -27,37 +45,41 @@ private Media() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Media(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_Media_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ProductsProto + .internal_static_google_cloud_channel_v1_Media_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_Media_fieldAccessorTable + return com.google.cloud.channel.v1.ProductsProto + .internal_static_google_cloud_channel_v1_Media_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Media.class, com.google.cloud.channel.v1.Media.Builder.class); + com.google.cloud.channel.v1.Media.class, + com.google.cloud.channel.v1.Media.Builder.class); } public static final int TITLE_FIELD_NUMBER = 1; private volatile java.lang.Object title_; /** + * + * *
    * Title of the media.
    * 
* * string title = 1; + * * @return The title. */ @java.lang.Override @@ -66,29 +88,29 @@ public java.lang.String getTitle() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; } } /** + * + * *
    * Title of the media.
    * 
* * string title = 1; + * * @return The bytes for title. */ @java.lang.Override - public com.google.protobuf.ByteString - getTitleBytes() { + public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); title_ = b; return b; } else { @@ -99,11 +121,14 @@ public java.lang.String getTitle() { public static final int CONTENT_FIELD_NUMBER = 2; private volatile java.lang.Object content_; /** + * + * *
    * URL of the media.
    * 
* * string content = 2; + * * @return The content. */ @java.lang.Override @@ -112,29 +137,29 @@ public java.lang.String getContent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); content_ = s; return s; } } /** + * + * *
    * URL of the media.
    * 
* * string content = 2; + * * @return The bytes for content. */ @java.lang.Override - public com.google.protobuf.ByteString - getContentBytes() { + public com.google.protobuf.ByteString getContentBytes() { java.lang.Object ref = content_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); content_ = b; return b; } else { @@ -145,31 +170,41 @@ public java.lang.String getContent() { public static final int TYPE_FIELD_NUMBER = 3; private int type_; /** + * + * *
    * Type of the media.
    * 
* * .google.cloud.channel.v1.MediaType type = 3; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Type of the media.
    * 
* * .google.cloud.channel.v1.MediaType type = 3; + * * @return The type. */ - @java.lang.Override public com.google.cloud.channel.v1.MediaType getType() { + @java.lang.Override + public com.google.cloud.channel.v1.MediaType getType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.MediaType result = com.google.cloud.channel.v1.MediaType.valueOf(type_); + com.google.cloud.channel.v1.MediaType result = + com.google.cloud.channel.v1.MediaType.valueOf(type_); return result == null ? com.google.cloud.channel.v1.MediaType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,8 +216,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, title_); } @@ -208,8 +242,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, content_); } if (type_ != com.google.cloud.channel.v1.MediaType.MEDIA_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -219,17 +252,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.Media)) { return super.equals(obj); } com.google.cloud.channel.v1.Media other = (com.google.cloud.channel.v1.Media) obj; - if (!getTitle() - .equals(other.getTitle())) return false; - if (!getContent() - .equals(other.getContent())) return false; + if (!getTitle().equals(other.getTitle())) return false; + if (!getContent().equals(other.getContent())) return false; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -253,130 +284,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.Media parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.Media parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Media parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Media parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.channel.v1.Media parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Media parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.Media parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Media parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.Media 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.cloud.channel.v1.Media parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.Media parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.Media parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.Media parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.Media parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.Media prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents media information.
    * 
* * Protobuf type {@code google.cloud.channel.v1.Media} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.Media) com.google.cloud.channel.v1.MediaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_Media_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ProductsProto + .internal_static_google_cloud_channel_v1_Media_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_Media_fieldAccessorTable + return com.google.cloud.channel.v1.ProductsProto + .internal_static_google_cloud_channel_v1_Media_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Media.class, com.google.cloud.channel.v1.Media.Builder.class); + com.google.cloud.channel.v1.Media.class, + com.google.cloud.channel.v1.Media.Builder.class); } // Construct using com.google.cloud.channel.v1.Media.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -390,9 +426,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_Media_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.ProductsProto + .internal_static_google_cloud_channel_v1_Media_descriptor; } @java.lang.Override @@ -423,38 +459,39 @@ public com.google.cloud.channel.v1.Media 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.cloud.channel.v1.Media) { - return mergeFrom((com.google.cloud.channel.v1.Media)other); + return mergeFrom((com.google.cloud.channel.v1.Media) other); } else { super.mergeFrom(other); return this; @@ -500,27 +537,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - title_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - content_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: { - type_ = input.readEnum(); - - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + title_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + content_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: + { + type_ = input.readEnum(); + + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -533,18 +574,20 @@ public Builder mergeFrom( private java.lang.Object title_ = ""; /** + * + * *
      * Title of the media.
      * 
* * string title = 1; + * * @return The title. */ public java.lang.String getTitle() { java.lang.Object ref = title_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; @@ -553,20 +596,21 @@ public java.lang.String getTitle() { } } /** + * + * *
      * Title of the media.
      * 
* * string title = 1; + * * @return The bytes for title. */ - public com.google.protobuf.ByteString - getTitleBytes() { + public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); title_ = b; return b; } else { @@ -574,54 +618,61 @@ public java.lang.String getTitle() { } } /** + * + * *
      * Title of the media.
      * 
* * string title = 1; + * * @param value The title to set. * @return This builder for chaining. */ - public Builder setTitle( - java.lang.String value) { + public Builder setTitle(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + title_ = value; onChanged(); return this; } /** + * + * *
      * Title of the media.
      * 
* * string title = 1; + * * @return This builder for chaining. */ public Builder clearTitle() { - + title_ = getDefaultInstance().getTitle(); onChanged(); return this; } /** + * + * *
      * Title of the media.
      * 
* * string title = 1; + * * @param value The bytes for title to set. * @return This builder for chaining. */ - public Builder setTitleBytes( - com.google.protobuf.ByteString value) { + public Builder setTitleBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + title_ = value; onChanged(); return this; @@ -629,18 +680,20 @@ public Builder setTitleBytes( private java.lang.Object content_ = ""; /** + * + * *
      * URL of the media.
      * 
* * string content = 2; + * * @return The content. */ public java.lang.String getContent() { java.lang.Object ref = content_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); content_ = s; return s; @@ -649,20 +702,21 @@ public java.lang.String getContent() { } } /** + * + * *
      * URL of the media.
      * 
* * string content = 2; + * * @return The bytes for content. */ - public com.google.protobuf.ByteString - getContentBytes() { + public com.google.protobuf.ByteString getContentBytes() { java.lang.Object ref = content_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); content_ = b; return b; } else { @@ -670,54 +724,61 @@ public java.lang.String getContent() { } } /** + * + * *
      * URL of the media.
      * 
* * string content = 2; + * * @param value The content to set. * @return This builder for chaining. */ - public Builder setContent( - java.lang.String value) { + public Builder setContent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + content_ = value; onChanged(); return this; } /** + * + * *
      * URL of the media.
      * 
* * string content = 2; + * * @return This builder for chaining. */ public Builder clearContent() { - + content_ = getDefaultInstance().getContent(); onChanged(); return this; } /** + * + * *
      * URL of the media.
      * 
* * string content = 2; + * * @param value The bytes for content to set. * @return This builder for chaining. */ - public Builder setContentBytes( - com.google.protobuf.ByteString value) { + public Builder setContentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + content_ = value; onChanged(); return this; @@ -725,51 +786,65 @@ public Builder setContentBytes( private int type_ = 0; /** + * + * *
      * Type of the media.
      * 
* * .google.cloud.channel.v1.MediaType type = 3; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Type of the media.
      * 
* * .google.cloud.channel.v1.MediaType type = 3; + * * @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; } /** + * + * *
      * Type of the media.
      * 
* * .google.cloud.channel.v1.MediaType type = 3; + * * @return The type. */ @java.lang.Override public com.google.cloud.channel.v1.MediaType getType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.MediaType result = com.google.cloud.channel.v1.MediaType.valueOf(type_); + com.google.cloud.channel.v1.MediaType result = + com.google.cloud.channel.v1.MediaType.valueOf(type_); return result == null ? com.google.cloud.channel.v1.MediaType.UNRECOGNIZED : result; } /** + * + * *
      * Type of the media.
      * 
* * .google.cloud.channel.v1.MediaType type = 3; + * * @param value The type to set. * @return This builder for chaining. */ @@ -777,28 +852,31 @@ public Builder setType(com.google.cloud.channel.v1.MediaType value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Type of the media.
      * 
* * .google.cloud.channel.v1.MediaType type = 3; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 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); } @@ -808,12 +886,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.Media) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.Media) private static final com.google.cloud.channel.v1.Media DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.Media(); } @@ -822,27 +900,27 @@ public static com.google.cloud.channel.v1.Media getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Media parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Media parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -857,6 +935,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Media getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaOrBuilder.java similarity index 60% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaOrBuilder.java index 9a308ba27a4a..8c8622d89b73 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaOrBuilder.java @@ -1,67 +1,99 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/products.proto package com.google.cloud.channel.v1; -public interface MediaOrBuilder extends +public interface MediaOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Media) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Title of the media.
    * 
* * string title = 1; + * * @return The title. */ java.lang.String getTitle(); /** + * + * *
    * Title of the media.
    * 
* * string title = 1; + * * @return The bytes for title. */ - com.google.protobuf.ByteString - getTitleBytes(); + com.google.protobuf.ByteString getTitleBytes(); /** + * + * *
    * URL of the media.
    * 
* * string content = 2; + * * @return The content. */ java.lang.String getContent(); /** + * + * *
    * URL of the media.
    * 
* * string content = 2; + * * @return The bytes for content. */ - com.google.protobuf.ByteString - getContentBytes(); + com.google.protobuf.ByteString getContentBytes(); /** + * + * *
    * Type of the media.
    * 
* * .google.cloud.channel.v1.MediaType type = 3; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Type of the media.
    * 
* * .google.cloud.channel.v1.MediaType type = 3; + * * @return The type. */ com.google.cloud.channel.v1.MediaType getType(); diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaType.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaType.java similarity index 64% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaType.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaType.java index 6feb49ddf19b..81c8e6febb94 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaType.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/MediaType.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/cloud/channel/v1/products.proto package com.google.cloud.channel.v1; /** + * + * *
  * Type of media used.
  * 
* * Protobuf enum {@code google.cloud.channel.v1.MediaType} */ -public enum MediaType - implements com.google.protobuf.ProtocolMessageEnum { +public enum MediaType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Not used.
    * 
@@ -21,6 +39,8 @@ public enum MediaType */ MEDIA_TYPE_UNSPECIFIED(0), /** + * + * *
    * Type of image.
    * 
@@ -32,6 +52,8 @@ public enum MediaType ; /** + * + * *
    * Not used.
    * 
@@ -40,6 +62,8 @@ public enum MediaType */ public static final int MEDIA_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Type of image.
    * 
@@ -48,7 +72,6 @@ public enum MediaType */ public static final int MEDIA_TYPE_IMAGE_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -73,48 +96,47 @@ public static MediaType valueOf(int value) { */ public static MediaType forNumber(int value) { switch (value) { - case 0: return MEDIA_TYPE_UNSPECIFIED; - case 1: return MEDIA_TYPE_IMAGE; - default: return null; + case 0: + return MEDIA_TYPE_UNSPECIFIED; + case 1: + return MEDIA_TYPE_IMAGE; + 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< - MediaType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MediaType findValueByNumber(int number) { - return MediaType.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 MediaType findValueByNumber(int number) { + return MediaType.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.cloud.channel.v1.ProductsProto.getDescriptor().getEnumTypes().get(0); } private static final MediaType[] VALUES = values(); - public static MediaType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static MediaType 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; @@ -130,4 +152,3 @@ private MediaType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.channel.v1.MediaType) } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Offer.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Offer.java similarity index 76% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Offer.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Offer.java index 8e03457e3c69..1481c8472c9c 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Offer.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Offer.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/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; /** + * + * *
  * Represents an offer made to resellers for purchase.
  * An offer is associated with a [Sku][google.cloud.channel.v1.Sku], has a plan
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.Offer}
  */
-public final class Offer extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Offer extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.Offer)
     OfferOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Offer.newBuilder() to construct.
   private Offer(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Offer() {
     name_ = "";
     priceByResources_ = java.util.Collections.emptyList();
@@ -30,38 +48,42 @@ private Offer() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Offer();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Offer_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.OffersProto
+        .internal_static_google_cloud_channel_v1_Offer_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Offer_fieldAccessorTable
+    return com.google.cloud.channel.v1.OffersProto
+        .internal_static_google_cloud_channel_v1_Offer_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.Offer.class, com.google.cloud.channel.v1.Offer.Builder.class);
+            com.google.cloud.channel.v1.Offer.class,
+            com.google.cloud.channel.v1.Offer.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Resource Name of the Offer.
    * Format: accounts/{account_id}/offers/{offer_id}
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -70,30 +92,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; } } /** + * + * *
    * Resource Name of the Offer.
    * Format: accounts/{account_id}/offers/{offer_id}
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -104,11 +126,14 @@ public java.lang.String getName() { public static final int MARKETING_INFO_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.MarketingInfo marketingInfo_; /** + * + * *
    * Marketing information for the Offer.
    * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; + * * @return Whether the marketingInfo field is set. */ @java.lang.Override @@ -116,18 +141,25 @@ public boolean hasMarketingInfo() { return marketingInfo_ != null; } /** + * + * *
    * Marketing information for the Offer.
    * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; + * * @return The marketingInfo. */ @java.lang.Override public com.google.cloud.channel.v1.MarketingInfo getMarketingInfo() { - return marketingInfo_ == null ? com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() : marketingInfo_; + return marketingInfo_ == null + ? com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() + : marketingInfo_; } /** + * + * *
    * Marketing information for the Offer.
    * 
@@ -142,11 +174,14 @@ public com.google.cloud.channel.v1.MarketingInfoOrBuilder getMarketingInfoOrBuil public static final int SKU_FIELD_NUMBER = 3; private com.google.cloud.channel.v1.Sku sku_; /** + * + * *
    * SKU the offer is associated with.
    * 
* * .google.cloud.channel.v1.Sku sku = 3; + * * @return Whether the sku field is set. */ @java.lang.Override @@ -154,11 +189,14 @@ public boolean hasSku() { return sku_ != null; } /** + * + * *
    * SKU the offer is associated with.
    * 
* * .google.cloud.channel.v1.Sku sku = 3; + * * @return The sku. */ @java.lang.Override @@ -166,6 +204,8 @@ public com.google.cloud.channel.v1.Sku getSku() { return sku_ == null ? com.google.cloud.channel.v1.Sku.getDefaultInstance() : sku_; } /** + * + * *
    * SKU the offer is associated with.
    * 
@@ -180,11 +220,14 @@ public com.google.cloud.channel.v1.SkuOrBuilder getSkuOrBuilder() { public static final int PLAN_FIELD_NUMBER = 4; private com.google.cloud.channel.v1.Plan plan_; /** + * + * *
    * Describes the payment plan for the Offer.
    * 
* * .google.cloud.channel.v1.Plan plan = 4; + * * @return Whether the plan field is set. */ @java.lang.Override @@ -192,11 +235,14 @@ public boolean hasPlan() { return plan_ != null; } /** + * + * *
    * Describes the payment plan for the Offer.
    * 
* * .google.cloud.channel.v1.Plan plan = 4; + * * @return The plan. */ @java.lang.Override @@ -204,6 +250,8 @@ public com.google.cloud.channel.v1.Plan getPlan() { return plan_ == null ? com.google.cloud.channel.v1.Plan.getDefaultInstance() : plan_; } /** + * + * *
    * Describes the payment plan for the Offer.
    * 
@@ -218,11 +266,14 @@ public com.google.cloud.channel.v1.PlanOrBuilder getPlanOrBuilder() { public static final int CONSTRAINTS_FIELD_NUMBER = 5; private com.google.cloud.channel.v1.Constraints constraints_; /** + * + * *
    * Constraints on transacting the Offer.
    * 
* * .google.cloud.channel.v1.Constraints constraints = 5; + * * @return Whether the constraints field is set. */ @java.lang.Override @@ -230,18 +281,25 @@ public boolean hasConstraints() { return constraints_ != null; } /** + * + * *
    * Constraints on transacting the Offer.
    * 
* * .google.cloud.channel.v1.Constraints constraints = 5; + * * @return The constraints. */ @java.lang.Override public com.google.cloud.channel.v1.Constraints getConstraints() { - return constraints_ == null ? com.google.cloud.channel.v1.Constraints.getDefaultInstance() : constraints_; + return constraints_ == null + ? com.google.cloud.channel.v1.Constraints.getDefaultInstance() + : constraints_; } /** + * + * *
    * Constraints on transacting the Offer.
    * 
@@ -256,6 +314,8 @@ public com.google.cloud.channel.v1.ConstraintsOrBuilder getConstraintsOrBuilder( public static final int PRICE_BY_RESOURCES_FIELD_NUMBER = 6; private java.util.List priceByResources_; /** + * + * *
    * Price for each monetizable resource type.
    * 
@@ -267,6 +327,8 @@ public java.util.List getPriceByRes return priceByResources_; } /** + * + * *
    * Price for each monetizable resource type.
    * 
@@ -274,11 +336,13 @@ public java.util.List getPriceByRes * repeated .google.cloud.channel.v1.PriceByResource price_by_resources = 6; */ @java.lang.Override - public java.util.List + public java.util.List getPriceByResourcesOrBuilderList() { return priceByResources_; } /** + * + * *
    * Price for each monetizable resource type.
    * 
@@ -290,6 +354,8 @@ public int getPriceByResourcesCount() { return priceByResources_.size(); } /** + * + * *
    * Price for each monetizable resource type.
    * 
@@ -301,6 +367,8 @@ public com.google.cloud.channel.v1.PriceByResource getPriceByResources(int index return priceByResources_.get(index); } /** + * + * *
    * Price for each monetizable resource type.
    * 
@@ -316,11 +384,14 @@ public com.google.cloud.channel.v1.PriceByResourceOrBuilder getPriceByResourcesO public static final int START_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * Start of the Offer validity time.
    * 
* * .google.protobuf.Timestamp start_time = 7; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -328,11 +399,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * Start of the Offer validity time.
    * 
* * .google.protobuf.Timestamp start_time = 7; + * * @return The startTime. */ @java.lang.Override @@ -340,6 +414,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Start of the Offer validity time.
    * 
@@ -354,11 +430,15 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Output only. End of the Offer validity time.
    * 
* - * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -366,11 +446,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * Output only. End of the Offer validity time.
    * 
* - * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ @java.lang.Override @@ -378,11 +462,14 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Output only. End of the Offer validity time.
    * 
* - * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -392,6 +479,8 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int PARAMETER_DEFINITIONS_FIELD_NUMBER = 9; private java.util.List parameterDefinitions_; /** + * + * *
    * Parameters required to use current Offer to purchase.
    * 
@@ -399,10 +488,13 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9; */ @java.lang.Override - public java.util.List getParameterDefinitionsList() { + public java.util.List + getParameterDefinitionsList() { return parameterDefinitions_; } /** + * + * *
    * Parameters required to use current Offer to purchase.
    * 
@@ -410,11 +502,13 @@ public java.util.List getParame * repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9; */ @java.lang.Override - public java.util.List + public java.util.List getParameterDefinitionsOrBuilderList() { return parameterDefinitions_; } /** + * + * *
    * Parameters required to use current Offer to purchase.
    * 
@@ -426,6 +520,8 @@ public int getParameterDefinitionsCount() { return parameterDefinitions_.size(); } /** + * + * *
    * Parameters required to use current Offer to purchase.
    * 
@@ -437,6 +533,8 @@ public com.google.cloud.channel.v1.ParameterDefinition getParameterDefinitions(i return parameterDefinitions_.get(index); } /** + * + * *
    * Parameters required to use current Offer to purchase.
    * 
@@ -452,11 +550,14 @@ public com.google.cloud.channel.v1.ParameterDefinitionOrBuilder getParameterDefi public static final int DEAL_CODE_FIELD_NUMBER = 12; private volatile java.lang.Object dealCode_; /** + * + * *
    * The deal code of the offer to get a special promotion or discount.
    * 
* * string deal_code = 12; + * * @return The dealCode. */ @java.lang.Override @@ -465,29 +566,29 @@ public java.lang.String getDealCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dealCode_ = s; return s; } } /** + * + * *
    * The deal code of the offer to get a special promotion or discount.
    * 
* * string deal_code = 12; + * * @return The bytes for dealCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getDealCodeBytes() { + public com.google.protobuf.ByteString getDealCodeBytes() { java.lang.Object ref = dealCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dealCode_ = b; return b; } else { @@ -496,6 +597,7 @@ public java.lang.String getDealCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -507,8 +609,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(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,36 +653,29 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (marketingInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getMarketingInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMarketingInfo()); } if (sku_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getSku()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getSku()); } if (plan_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getPlan()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPlan()); } if (constraints_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getConstraints()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getConstraints()); } for (int i = 0; i < priceByResources_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, priceByResources_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, priceByResources_.get(i)); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getEndTime()); } for (int i = 0; i < parameterDefinitions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, parameterDefinitions_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(9, parameterDefinitions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dealCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, dealCode_); @@ -594,51 +688,41 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.Offer)) { return super.equals(obj); } com.google.cloud.channel.v1.Offer other = (com.google.cloud.channel.v1.Offer) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasMarketingInfo() != other.hasMarketingInfo()) return false; if (hasMarketingInfo()) { - if (!getMarketingInfo() - .equals(other.getMarketingInfo())) return false; + if (!getMarketingInfo().equals(other.getMarketingInfo())) return false; } if (hasSku() != other.hasSku()) return false; if (hasSku()) { - if (!getSku() - .equals(other.getSku())) return false; + if (!getSku().equals(other.getSku())) return false; } if (hasPlan() != other.hasPlan()) return false; if (hasPlan()) { - if (!getPlan() - .equals(other.getPlan())) return false; + if (!getPlan().equals(other.getPlan())) return false; } if (hasConstraints() != other.hasConstraints()) return false; if (hasConstraints()) { - if (!getConstraints() - .equals(other.getConstraints())) return false; + if (!getConstraints().equals(other.getConstraints())) return false; } - if (!getPriceByResourcesList() - .equals(other.getPriceByResourcesList())) return false; + if (!getPriceByResourcesList().equals(other.getPriceByResourcesList())) return false; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime() - .equals(other.getStartTime())) return false; + if (!getStartTime().equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; } - if (!getParameterDefinitionsList() - .equals(other.getParameterDefinitionsList())) return false; - if (!getDealCode() - .equals(other.getDealCode())) return false; + if (!getParameterDefinitionsList().equals(other.getParameterDefinitionsList())) return false; + if (!getDealCode().equals(other.getDealCode())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -691,97 +775,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.Offer parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.Offer parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Offer parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Offer parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.channel.v1.Offer parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Offer parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.Offer parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Offer parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.Offer 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.cloud.channel.v1.Offer parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.Offer parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.Offer parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.Offer parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.Offer parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.Offer prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents an offer made to resellers for purchase.
    * An offer is associated with a [Sku][google.cloud.channel.v1.Sku], has a plan
@@ -790,33 +880,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.Offer}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.Offer)
       com.google.cloud.channel.v1.OfferOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Offer_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.OffersProto
+          .internal_static_google_cloud_channel_v1_Offer_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Offer_fieldAccessorTable
+      return com.google.cloud.channel.v1.OffersProto
+          .internal_static_google_cloud_channel_v1_Offer_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.Offer.class, com.google.cloud.channel.v1.Offer.Builder.class);
+              com.google.cloud.channel.v1.Offer.class,
+              com.google.cloud.channel.v1.Offer.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.Offer.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -878,9 +967,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Offer_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.OffersProto
+          .internal_static_google_cloud_channel_v1_Offer_descriptor;
     }
 
     @java.lang.Override
@@ -959,38 +1048,39 @@ public com.google.cloud.channel.v1.Offer 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.cloud.channel.v1.Offer) {
-        return mergeFrom((com.google.cloud.channel.v1.Offer)other);
+        return mergeFrom((com.google.cloud.channel.v1.Offer) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1033,9 +1123,10 @@ public Builder mergeFrom(com.google.cloud.channel.v1.Offer other) {
             priceByResourcesBuilder_ = null;
             priceByResources_ = other.priceByResources_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            priceByResourcesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getPriceByResourcesFieldBuilder() : null;
+            priceByResourcesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getPriceByResourcesFieldBuilder()
+                    : null;
           } else {
             priceByResourcesBuilder_.addAllMessages(other.priceByResources_);
           }
@@ -1065,9 +1156,10 @@ public Builder mergeFrom(com.google.cloud.channel.v1.Offer other) {
             parameterDefinitionsBuilder_ = null;
             parameterDefinitions_ = other.parameterDefinitions_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            parameterDefinitionsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getParameterDefinitionsFieldBuilder() : null;
+            parameterDefinitionsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getParameterDefinitionsFieldBuilder()
+                    : null;
           } else {
             parameterDefinitionsBuilder_.addAllMessages(other.parameterDefinitions_);
           }
@@ -1103,90 +1195,88 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getMarketingInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getSkuFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getPlanFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getConstraintsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 42
-            case 50: {
-              com.google.cloud.channel.v1.PriceByResource m =
-                  input.readMessage(
-                      com.google.cloud.channel.v1.PriceByResource.parser(),
-                      extensionRegistry);
-              if (priceByResourcesBuilder_ == null) {
-                ensurePriceByResourcesIsMutable();
-                priceByResources_.add(m);
-              } else {
-                priceByResourcesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 66
-            case 74: {
-              com.google.cloud.channel.v1.ParameterDefinition m =
-                  input.readMessage(
-                      com.google.cloud.channel.v1.ParameterDefinition.parser(),
-                      extensionRegistry);
-              if (parameterDefinitionsBuilder_ == null) {
-                ensureParameterDefinitionsIsMutable();
-                parameterDefinitions_.add(m);
-              } else {
-                parameterDefinitionsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 74
-            case 98: {
-              dealCode_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 98
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getMarketingInfoFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getSkuFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getPlanFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getConstraintsFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 42
+            case 50:
+              {
+                com.google.cloud.channel.v1.PriceByResource m =
+                    input.readMessage(
+                        com.google.cloud.channel.v1.PriceByResource.parser(), extensionRegistry);
+                if (priceByResourcesBuilder_ == null) {
+                  ensurePriceByResourcesIsMutable();
+                  priceByResources_.add(m);
+                } else {
+                  priceByResourcesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 66
+            case 74:
+              {
+                com.google.cloud.channel.v1.ParameterDefinition m =
+                    input.readMessage(
+                        com.google.cloud.channel.v1.ParameterDefinition.parser(),
+                        extensionRegistry);
+                if (parameterDefinitionsBuilder_ == null) {
+                  ensureParameterDefinitionsIsMutable();
+                  parameterDefinitions_.add(m);
+                } else {
+                  parameterDefinitionsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 74
+            case 98:
+              {
+                dealCode_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 98
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1196,23 +1286,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Resource Name of the Offer.
      * Format: accounts/{account_id}/offers/{offer_id}
      * 
* * 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; @@ -1221,21 +1314,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource Name of the Offer.
      * Format: accounts/{account_id}/offers/{offer_id}
      * 
* * 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 { @@ -1243,57 +1337,64 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource Name of the Offer.
      * Format: accounts/{account_id}/offers/{offer_id}
      * 
* * 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 of the Offer.
      * Format: accounts/{account_id}/offers/{offer_id}
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Resource Name of the Offer.
      * Format: accounts/{account_id}/offers/{offer_id}
      * 
* * 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; @@ -1301,34 +1402,47 @@ public Builder setNameBytes( private com.google.cloud.channel.v1.MarketingInfo marketingInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.MarketingInfo, com.google.cloud.channel.v1.MarketingInfo.Builder, com.google.cloud.channel.v1.MarketingInfoOrBuilder> marketingInfoBuilder_; + com.google.cloud.channel.v1.MarketingInfo, + com.google.cloud.channel.v1.MarketingInfo.Builder, + com.google.cloud.channel.v1.MarketingInfoOrBuilder> + marketingInfoBuilder_; /** + * + * *
      * Marketing information for the Offer.
      * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; + * * @return Whether the marketingInfo field is set. */ public boolean hasMarketingInfo() { return marketingInfoBuilder_ != null || marketingInfo_ != null; } /** + * + * *
      * Marketing information for the Offer.
      * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; + * * @return The marketingInfo. */ public com.google.cloud.channel.v1.MarketingInfo getMarketingInfo() { if (marketingInfoBuilder_ == null) { - return marketingInfo_ == null ? com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() : marketingInfo_; + return marketingInfo_ == null + ? com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() + : marketingInfo_; } else { return marketingInfoBuilder_.getMessage(); } } /** + * + * *
      * Marketing information for the Offer.
      * 
@@ -1349,6 +1463,8 @@ public Builder setMarketingInfo(com.google.cloud.channel.v1.MarketingInfo value) return this; } /** + * + * *
      * Marketing information for the Offer.
      * 
@@ -1367,6 +1483,8 @@ public Builder setMarketingInfo( return this; } /** + * + * *
      * Marketing information for the Offer.
      * 
@@ -1377,7 +1495,9 @@ public Builder mergeMarketingInfo(com.google.cloud.channel.v1.MarketingInfo valu if (marketingInfoBuilder_ == null) { if (marketingInfo_ != null) { marketingInfo_ = - com.google.cloud.channel.v1.MarketingInfo.newBuilder(marketingInfo_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.MarketingInfo.newBuilder(marketingInfo_) + .mergeFrom(value) + .buildPartial(); } else { marketingInfo_ = value; } @@ -1389,6 +1509,8 @@ public Builder mergeMarketingInfo(com.google.cloud.channel.v1.MarketingInfo valu return this; } /** + * + * *
      * Marketing information for the Offer.
      * 
@@ -1407,6 +1529,8 @@ public Builder clearMarketingInfo() { return this; } /** + * + * *
      * Marketing information for the Offer.
      * 
@@ -1414,11 +1538,13 @@ public Builder clearMarketingInfo() { * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; */ public com.google.cloud.channel.v1.MarketingInfo.Builder getMarketingInfoBuilder() { - + onChanged(); return getMarketingInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Marketing information for the Offer.
      * 
@@ -1429,11 +1555,14 @@ public com.google.cloud.channel.v1.MarketingInfoOrBuilder getMarketingInfoOrBuil if (marketingInfoBuilder_ != null) { return marketingInfoBuilder_.getMessageOrBuilder(); } else { - return marketingInfo_ == null ? - com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() : marketingInfo_; + return marketingInfo_ == null + ? com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() + : marketingInfo_; } } /** + * + * *
      * Marketing information for the Offer.
      * 
@@ -1441,14 +1570,17 @@ public com.google.cloud.channel.v1.MarketingInfoOrBuilder getMarketingInfoOrBuil * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.MarketingInfo, com.google.cloud.channel.v1.MarketingInfo.Builder, com.google.cloud.channel.v1.MarketingInfoOrBuilder> + com.google.cloud.channel.v1.MarketingInfo, + com.google.cloud.channel.v1.MarketingInfo.Builder, + com.google.cloud.channel.v1.MarketingInfoOrBuilder> getMarketingInfoFieldBuilder() { if (marketingInfoBuilder_ == null) { - marketingInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.MarketingInfo, com.google.cloud.channel.v1.MarketingInfo.Builder, com.google.cloud.channel.v1.MarketingInfoOrBuilder>( - getMarketingInfo(), - getParentForChildren(), - isClean()); + marketingInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.MarketingInfo, + com.google.cloud.channel.v1.MarketingInfo.Builder, + com.google.cloud.channel.v1.MarketingInfoOrBuilder>( + getMarketingInfo(), getParentForChildren(), isClean()); marketingInfo_ = null; } return marketingInfoBuilder_; @@ -1456,24 +1588,33 @@ public com.google.cloud.channel.v1.MarketingInfoOrBuilder getMarketingInfoOrBuil private com.google.cloud.channel.v1.Sku sku_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Sku, com.google.cloud.channel.v1.Sku.Builder, com.google.cloud.channel.v1.SkuOrBuilder> skuBuilder_; + com.google.cloud.channel.v1.Sku, + com.google.cloud.channel.v1.Sku.Builder, + com.google.cloud.channel.v1.SkuOrBuilder> + skuBuilder_; /** + * + * *
      * SKU the offer is associated with.
      * 
* * .google.cloud.channel.v1.Sku sku = 3; + * * @return Whether the sku field is set. */ public boolean hasSku() { return skuBuilder_ != null || sku_ != null; } /** + * + * *
      * SKU the offer is associated with.
      * 
* * .google.cloud.channel.v1.Sku sku = 3; + * * @return The sku. */ public com.google.cloud.channel.v1.Sku getSku() { @@ -1484,6 +1625,8 @@ public com.google.cloud.channel.v1.Sku getSku() { } } /** + * + * *
      * SKU the offer is associated with.
      * 
@@ -1504,14 +1647,15 @@ public Builder setSku(com.google.cloud.channel.v1.Sku value) { return this; } /** + * + * *
      * SKU the offer is associated with.
      * 
* * .google.cloud.channel.v1.Sku sku = 3; */ - public Builder setSku( - com.google.cloud.channel.v1.Sku.Builder builderForValue) { + public Builder setSku(com.google.cloud.channel.v1.Sku.Builder builderForValue) { if (skuBuilder_ == null) { sku_ = builderForValue.build(); onChanged(); @@ -1522,6 +1666,8 @@ public Builder setSku( return this; } /** + * + * *
      * SKU the offer is associated with.
      * 
@@ -1531,8 +1677,7 @@ public Builder setSku( public Builder mergeSku(com.google.cloud.channel.v1.Sku value) { if (skuBuilder_ == null) { if (sku_ != null) { - sku_ = - com.google.cloud.channel.v1.Sku.newBuilder(sku_).mergeFrom(value).buildPartial(); + sku_ = com.google.cloud.channel.v1.Sku.newBuilder(sku_).mergeFrom(value).buildPartial(); } else { sku_ = value; } @@ -1544,6 +1689,8 @@ public Builder mergeSku(com.google.cloud.channel.v1.Sku value) { return this; } /** + * + * *
      * SKU the offer is associated with.
      * 
@@ -1562,6 +1709,8 @@ public Builder clearSku() { return this; } /** + * + * *
      * SKU the offer is associated with.
      * 
@@ -1569,11 +1718,13 @@ public Builder clearSku() { * .google.cloud.channel.v1.Sku sku = 3; */ public com.google.cloud.channel.v1.Sku.Builder getSkuBuilder() { - + onChanged(); return getSkuFieldBuilder().getBuilder(); } /** + * + * *
      * SKU the offer is associated with.
      * 
@@ -1584,11 +1735,12 @@ public com.google.cloud.channel.v1.SkuOrBuilder getSkuOrBuilder() { if (skuBuilder_ != null) { return skuBuilder_.getMessageOrBuilder(); } else { - return sku_ == null ? - com.google.cloud.channel.v1.Sku.getDefaultInstance() : sku_; + return sku_ == null ? com.google.cloud.channel.v1.Sku.getDefaultInstance() : sku_; } } /** + * + * *
      * SKU the offer is associated with.
      * 
@@ -1596,14 +1748,17 @@ public com.google.cloud.channel.v1.SkuOrBuilder getSkuOrBuilder() { * .google.cloud.channel.v1.Sku sku = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Sku, com.google.cloud.channel.v1.Sku.Builder, com.google.cloud.channel.v1.SkuOrBuilder> + com.google.cloud.channel.v1.Sku, + com.google.cloud.channel.v1.Sku.Builder, + com.google.cloud.channel.v1.SkuOrBuilder> getSkuFieldBuilder() { if (skuBuilder_ == null) { - skuBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Sku, com.google.cloud.channel.v1.Sku.Builder, com.google.cloud.channel.v1.SkuOrBuilder>( - getSku(), - getParentForChildren(), - isClean()); + skuBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Sku, + com.google.cloud.channel.v1.Sku.Builder, + com.google.cloud.channel.v1.SkuOrBuilder>( + getSku(), getParentForChildren(), isClean()); sku_ = null; } return skuBuilder_; @@ -1611,24 +1766,33 @@ public com.google.cloud.channel.v1.SkuOrBuilder getSkuOrBuilder() { private com.google.cloud.channel.v1.Plan plan_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Plan, com.google.cloud.channel.v1.Plan.Builder, com.google.cloud.channel.v1.PlanOrBuilder> planBuilder_; + com.google.cloud.channel.v1.Plan, + com.google.cloud.channel.v1.Plan.Builder, + com.google.cloud.channel.v1.PlanOrBuilder> + planBuilder_; /** + * + * *
      * Describes the payment plan for the Offer.
      * 
* * .google.cloud.channel.v1.Plan plan = 4; + * * @return Whether the plan field is set. */ public boolean hasPlan() { return planBuilder_ != null || plan_ != null; } /** + * + * *
      * Describes the payment plan for the Offer.
      * 
* * .google.cloud.channel.v1.Plan plan = 4; + * * @return The plan. */ public com.google.cloud.channel.v1.Plan getPlan() { @@ -1639,6 +1803,8 @@ public com.google.cloud.channel.v1.Plan getPlan() { } } /** + * + * *
      * Describes the payment plan for the Offer.
      * 
@@ -1659,14 +1825,15 @@ public Builder setPlan(com.google.cloud.channel.v1.Plan value) { return this; } /** + * + * *
      * Describes the payment plan for the Offer.
      * 
* * .google.cloud.channel.v1.Plan plan = 4; */ - public Builder setPlan( - com.google.cloud.channel.v1.Plan.Builder builderForValue) { + public Builder setPlan(com.google.cloud.channel.v1.Plan.Builder builderForValue) { if (planBuilder_ == null) { plan_ = builderForValue.build(); onChanged(); @@ -1677,6 +1844,8 @@ public Builder setPlan( return this; } /** + * + * *
      * Describes the payment plan for the Offer.
      * 
@@ -1687,7 +1856,7 @@ public Builder mergePlan(com.google.cloud.channel.v1.Plan value) { if (planBuilder_ == null) { if (plan_ != null) { plan_ = - com.google.cloud.channel.v1.Plan.newBuilder(plan_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.Plan.newBuilder(plan_).mergeFrom(value).buildPartial(); } else { plan_ = value; } @@ -1699,6 +1868,8 @@ public Builder mergePlan(com.google.cloud.channel.v1.Plan value) { return this; } /** + * + * *
      * Describes the payment plan for the Offer.
      * 
@@ -1717,6 +1888,8 @@ public Builder clearPlan() { return this; } /** + * + * *
      * Describes the payment plan for the Offer.
      * 
@@ -1724,11 +1897,13 @@ public Builder clearPlan() { * .google.cloud.channel.v1.Plan plan = 4; */ public com.google.cloud.channel.v1.Plan.Builder getPlanBuilder() { - + onChanged(); return getPlanFieldBuilder().getBuilder(); } /** + * + * *
      * Describes the payment plan for the Offer.
      * 
@@ -1739,11 +1914,12 @@ public com.google.cloud.channel.v1.PlanOrBuilder getPlanOrBuilder() { if (planBuilder_ != null) { return planBuilder_.getMessageOrBuilder(); } else { - return plan_ == null ? - com.google.cloud.channel.v1.Plan.getDefaultInstance() : plan_; + return plan_ == null ? com.google.cloud.channel.v1.Plan.getDefaultInstance() : plan_; } } /** + * + * *
      * Describes the payment plan for the Offer.
      * 
@@ -1751,14 +1927,17 @@ public com.google.cloud.channel.v1.PlanOrBuilder getPlanOrBuilder() { * .google.cloud.channel.v1.Plan plan = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Plan, com.google.cloud.channel.v1.Plan.Builder, com.google.cloud.channel.v1.PlanOrBuilder> + com.google.cloud.channel.v1.Plan, + com.google.cloud.channel.v1.Plan.Builder, + com.google.cloud.channel.v1.PlanOrBuilder> getPlanFieldBuilder() { if (planBuilder_ == null) { - planBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Plan, com.google.cloud.channel.v1.Plan.Builder, com.google.cloud.channel.v1.PlanOrBuilder>( - getPlan(), - getParentForChildren(), - isClean()); + planBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Plan, + com.google.cloud.channel.v1.Plan.Builder, + com.google.cloud.channel.v1.PlanOrBuilder>( + getPlan(), getParentForChildren(), isClean()); plan_ = null; } return planBuilder_; @@ -1766,34 +1945,47 @@ public com.google.cloud.channel.v1.PlanOrBuilder getPlanOrBuilder() { private com.google.cloud.channel.v1.Constraints constraints_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Constraints, com.google.cloud.channel.v1.Constraints.Builder, com.google.cloud.channel.v1.ConstraintsOrBuilder> constraintsBuilder_; + com.google.cloud.channel.v1.Constraints, + com.google.cloud.channel.v1.Constraints.Builder, + com.google.cloud.channel.v1.ConstraintsOrBuilder> + constraintsBuilder_; /** + * + * *
      * Constraints on transacting the Offer.
      * 
* * .google.cloud.channel.v1.Constraints constraints = 5; + * * @return Whether the constraints field is set. */ public boolean hasConstraints() { return constraintsBuilder_ != null || constraints_ != null; } /** + * + * *
      * Constraints on transacting the Offer.
      * 
* * .google.cloud.channel.v1.Constraints constraints = 5; + * * @return The constraints. */ public com.google.cloud.channel.v1.Constraints getConstraints() { if (constraintsBuilder_ == null) { - return constraints_ == null ? com.google.cloud.channel.v1.Constraints.getDefaultInstance() : constraints_; + return constraints_ == null + ? com.google.cloud.channel.v1.Constraints.getDefaultInstance() + : constraints_; } else { return constraintsBuilder_.getMessage(); } } /** + * + * *
      * Constraints on transacting the Offer.
      * 
@@ -1814,14 +2006,15 @@ public Builder setConstraints(com.google.cloud.channel.v1.Constraints value) { return this; } /** + * + * *
      * Constraints on transacting the Offer.
      * 
* * .google.cloud.channel.v1.Constraints constraints = 5; */ - public Builder setConstraints( - com.google.cloud.channel.v1.Constraints.Builder builderForValue) { + public Builder setConstraints(com.google.cloud.channel.v1.Constraints.Builder builderForValue) { if (constraintsBuilder_ == null) { constraints_ = builderForValue.build(); onChanged(); @@ -1832,6 +2025,8 @@ public Builder setConstraints( return this; } /** + * + * *
      * Constraints on transacting the Offer.
      * 
@@ -1842,7 +2037,9 @@ public Builder mergeConstraints(com.google.cloud.channel.v1.Constraints value) { if (constraintsBuilder_ == null) { if (constraints_ != null) { constraints_ = - com.google.cloud.channel.v1.Constraints.newBuilder(constraints_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.Constraints.newBuilder(constraints_) + .mergeFrom(value) + .buildPartial(); } else { constraints_ = value; } @@ -1854,6 +2051,8 @@ public Builder mergeConstraints(com.google.cloud.channel.v1.Constraints value) { return this; } /** + * + * *
      * Constraints on transacting the Offer.
      * 
@@ -1872,6 +2071,8 @@ public Builder clearConstraints() { return this; } /** + * + * *
      * Constraints on transacting the Offer.
      * 
@@ -1879,11 +2080,13 @@ public Builder clearConstraints() { * .google.cloud.channel.v1.Constraints constraints = 5; */ public com.google.cloud.channel.v1.Constraints.Builder getConstraintsBuilder() { - + onChanged(); return getConstraintsFieldBuilder().getBuilder(); } /** + * + * *
      * Constraints on transacting the Offer.
      * 
@@ -1894,11 +2097,14 @@ public com.google.cloud.channel.v1.ConstraintsOrBuilder getConstraintsOrBuilder( if (constraintsBuilder_ != null) { return constraintsBuilder_.getMessageOrBuilder(); } else { - return constraints_ == null ? - com.google.cloud.channel.v1.Constraints.getDefaultInstance() : constraints_; + return constraints_ == null + ? com.google.cloud.channel.v1.Constraints.getDefaultInstance() + : constraints_; } } /** + * + * *
      * Constraints on transacting the Offer.
      * 
@@ -1906,32 +2112,42 @@ public com.google.cloud.channel.v1.ConstraintsOrBuilder getConstraintsOrBuilder( * .google.cloud.channel.v1.Constraints constraints = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Constraints, com.google.cloud.channel.v1.Constraints.Builder, com.google.cloud.channel.v1.ConstraintsOrBuilder> + com.google.cloud.channel.v1.Constraints, + com.google.cloud.channel.v1.Constraints.Builder, + com.google.cloud.channel.v1.ConstraintsOrBuilder> getConstraintsFieldBuilder() { if (constraintsBuilder_ == null) { - constraintsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Constraints, com.google.cloud.channel.v1.Constraints.Builder, com.google.cloud.channel.v1.ConstraintsOrBuilder>( - getConstraints(), - getParentForChildren(), - isClean()); + constraintsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Constraints, + com.google.cloud.channel.v1.Constraints.Builder, + com.google.cloud.channel.v1.ConstraintsOrBuilder>( + getConstraints(), getParentForChildren(), isClean()); constraints_ = null; } return constraintsBuilder_; } private java.util.List priceByResources_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePriceByResourcesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - priceByResources_ = new java.util.ArrayList(priceByResources_); + priceByResources_ = + new java.util.ArrayList(priceByResources_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.PriceByResource, com.google.cloud.channel.v1.PriceByResource.Builder, com.google.cloud.channel.v1.PriceByResourceOrBuilder> priceByResourcesBuilder_; + com.google.cloud.channel.v1.PriceByResource, + com.google.cloud.channel.v1.PriceByResource.Builder, + com.google.cloud.channel.v1.PriceByResourceOrBuilder> + priceByResourcesBuilder_; /** + * + * *
      * Price for each monetizable resource type.
      * 
@@ -1946,6 +2162,8 @@ public java.util.List getPriceByRes } } /** + * + * *
      * Price for each monetizable resource type.
      * 
@@ -1960,6 +2178,8 @@ public int getPriceByResourcesCount() { } } /** + * + * *
      * Price for each monetizable resource type.
      * 
@@ -1974,6 +2194,8 @@ public com.google.cloud.channel.v1.PriceByResource getPriceByResources(int index } } /** + * + * *
      * Price for each monetizable resource type.
      * 
@@ -1995,6 +2217,8 @@ public Builder setPriceByResources( return this; } /** + * + * *
      * Price for each monetizable resource type.
      * 
@@ -2013,6 +2237,8 @@ public Builder setPriceByResources( return this; } /** + * + * *
      * Price for each monetizable resource type.
      * 
@@ -2033,6 +2259,8 @@ public Builder addPriceByResources(com.google.cloud.channel.v1.PriceByResource v return this; } /** + * + * *
      * Price for each monetizable resource type.
      * 
@@ -2054,6 +2282,8 @@ public Builder addPriceByResources( return this; } /** + * + * *
      * Price for each monetizable resource type.
      * 
@@ -2072,6 +2302,8 @@ public Builder addPriceByResources( return this; } /** + * + * *
      * Price for each monetizable resource type.
      * 
@@ -2090,6 +2322,8 @@ public Builder addPriceByResources( return this; } /** + * + * *
      * Price for each monetizable resource type.
      * 
@@ -2100,8 +2334,7 @@ public Builder addAllPriceByResources( java.lang.Iterable values) { if (priceByResourcesBuilder_ == null) { ensurePriceByResourcesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, priceByResources_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, priceByResources_); onChanged(); } else { priceByResourcesBuilder_.addAllMessages(values); @@ -2109,6 +2342,8 @@ public Builder addAllPriceByResources( return this; } /** + * + * *
      * Price for each monetizable resource type.
      * 
@@ -2126,6 +2361,8 @@ public Builder clearPriceByResources() { return this; } /** + * + * *
      * Price for each monetizable resource type.
      * 
@@ -2143,6 +2380,8 @@ public Builder removePriceByResources(int index) { return this; } /** + * + * *
      * Price for each monetizable resource type.
      * 
@@ -2154,6 +2393,8 @@ public com.google.cloud.channel.v1.PriceByResource.Builder getPriceByResourcesBu return getPriceByResourcesFieldBuilder().getBuilder(index); } /** + * + * *
      * Price for each monetizable resource type.
      * 
@@ -2163,19 +2404,22 @@ public com.google.cloud.channel.v1.PriceByResource.Builder getPriceByResourcesBu public com.google.cloud.channel.v1.PriceByResourceOrBuilder getPriceByResourcesOrBuilder( int index) { if (priceByResourcesBuilder_ == null) { - return priceByResources_.get(index); } else { + return priceByResources_.get(index); + } else { return priceByResourcesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Price for each monetizable resource type.
      * 
* * repeated .google.cloud.channel.v1.PriceByResource price_by_resources = 6; */ - public java.util.List - getPriceByResourcesOrBuilderList() { + public java.util.List + getPriceByResourcesOrBuilderList() { if (priceByResourcesBuilder_ != null) { return priceByResourcesBuilder_.getMessageOrBuilderList(); } else { @@ -2183,6 +2427,8 @@ public com.google.cloud.channel.v1.PriceByResourceOrBuilder getPriceByResourcesO } } /** + * + * *
      * Price for each monetizable resource type.
      * 
@@ -2190,10 +2436,12 @@ public com.google.cloud.channel.v1.PriceByResourceOrBuilder getPriceByResourcesO * repeated .google.cloud.channel.v1.PriceByResource price_by_resources = 6; */ public com.google.cloud.channel.v1.PriceByResource.Builder addPriceByResourcesBuilder() { - return getPriceByResourcesFieldBuilder().addBuilder( - com.google.cloud.channel.v1.PriceByResource.getDefaultInstance()); + return getPriceByResourcesFieldBuilder() + .addBuilder(com.google.cloud.channel.v1.PriceByResource.getDefaultInstance()); } /** + * + * *
      * Price for each monetizable resource type.
      * 
@@ -2202,26 +2450,34 @@ public com.google.cloud.channel.v1.PriceByResource.Builder addPriceByResourcesBu */ public com.google.cloud.channel.v1.PriceByResource.Builder addPriceByResourcesBuilder( int index) { - return getPriceByResourcesFieldBuilder().addBuilder( - index, com.google.cloud.channel.v1.PriceByResource.getDefaultInstance()); + return getPriceByResourcesFieldBuilder() + .addBuilder(index, com.google.cloud.channel.v1.PriceByResource.getDefaultInstance()); } /** + * + * *
      * Price for each monetizable resource type.
      * 
* * repeated .google.cloud.channel.v1.PriceByResource price_by_resources = 6; */ - public java.util.List - getPriceByResourcesBuilderList() { + public java.util.List + getPriceByResourcesBuilderList() { return getPriceByResourcesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.PriceByResource, com.google.cloud.channel.v1.PriceByResource.Builder, com.google.cloud.channel.v1.PriceByResourceOrBuilder> + com.google.cloud.channel.v1.PriceByResource, + com.google.cloud.channel.v1.PriceByResource.Builder, + com.google.cloud.channel.v1.PriceByResourceOrBuilder> getPriceByResourcesFieldBuilder() { if (priceByResourcesBuilder_ == null) { - priceByResourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.PriceByResource, com.google.cloud.channel.v1.PriceByResource.Builder, com.google.cloud.channel.v1.PriceByResourceOrBuilder>( + priceByResourcesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.PriceByResource, + com.google.cloud.channel.v1.PriceByResource.Builder, + com.google.cloud.channel.v1.PriceByResourceOrBuilder>( priceByResources_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2233,24 +2489,33 @@ public com.google.cloud.channel.v1.PriceByResource.Builder addPriceByResourcesBu private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; /** + * + * *
      * Start of the Offer validity time.
      * 
* * .google.protobuf.Timestamp start_time = 7; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * Start of the Offer validity time.
      * 
* * .google.protobuf.Timestamp start_time = 7; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -2261,6 +2526,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Start of the Offer validity time.
      * 
@@ -2281,14 +2548,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Start of the Offer validity time.
      * 
* * .google.protobuf.Timestamp start_time = 7; */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -2299,6 +2567,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * Start of the Offer validity time.
      * 
@@ -2309,7 +2579,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -2321,6 +2591,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Start of the Offer validity time.
      * 
@@ -2339,6 +2611,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Start of the Offer validity time.
      * 
@@ -2346,11 +2620,13 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 7; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Start of the Offer validity time.
      * 
@@ -2361,11 +2637,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** + * + * *
      * Start of the Offer validity time.
      * 
@@ -2373,14 +2650,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 7; */ 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> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartTime(), - getParentForChildren(), - isClean()); + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; @@ -2388,24 +2668,35 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * Output only. End of the Offer validity time.
      * 
* - * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * Output only. End of the Offer validity time.
      * 
* - * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -2416,11 +2707,14 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Output only. End of the Offer validity time.
      * 
* - * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -2436,14 +2730,16 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. End of the Offer validity time.
      * 
* - * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -2454,17 +2750,20 @@ public Builder setEndTime( return this; } /** + * + * *
      * Output only. End of the Offer validity time.
      * 
* - * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -2476,11 +2775,14 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. End of the Offer validity time.
      * 
* - * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEndTime() { if (endTimeBuilder_ == null) { @@ -2494,73 +2796,93 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Output only. End of the Offer validity time.
      * 
* - * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. End of the Offer validity time.
      * 
* - * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * Output only. End of the Offer validity time.
      * 
* - * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_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> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; } private java.util.List parameterDefinitions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureParameterDefinitionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - parameterDefinitions_ = new java.util.ArrayList(parameterDefinitions_); + parameterDefinitions_ = + new java.util.ArrayList( + parameterDefinitions_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.ParameterDefinition, com.google.cloud.channel.v1.ParameterDefinition.Builder, com.google.cloud.channel.v1.ParameterDefinitionOrBuilder> parameterDefinitionsBuilder_; + com.google.cloud.channel.v1.ParameterDefinition, + com.google.cloud.channel.v1.ParameterDefinition.Builder, + com.google.cloud.channel.v1.ParameterDefinitionOrBuilder> + parameterDefinitionsBuilder_; /** + * + * *
      * Parameters required to use current Offer to purchase.
      * 
* * repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9; */ - public java.util.List getParameterDefinitionsList() { + public java.util.List + getParameterDefinitionsList() { if (parameterDefinitionsBuilder_ == null) { return java.util.Collections.unmodifiableList(parameterDefinitions_); } else { @@ -2568,6 +2890,8 @@ public java.util.List getParame } } /** + * + * *
      * Parameters required to use current Offer to purchase.
      * 
@@ -2582,6 +2906,8 @@ public int getParameterDefinitionsCount() { } } /** + * + * *
      * Parameters required to use current Offer to purchase.
      * 
@@ -2596,6 +2922,8 @@ public com.google.cloud.channel.v1.ParameterDefinition getParameterDefinitions(i } } /** + * + * *
      * Parameters required to use current Offer to purchase.
      * 
@@ -2617,6 +2945,8 @@ public Builder setParameterDefinitions( return this; } /** + * + * *
      * Parameters required to use current Offer to purchase.
      * 
@@ -2635,6 +2965,8 @@ public Builder setParameterDefinitions( return this; } /** + * + * *
      * Parameters required to use current Offer to purchase.
      * 
@@ -2655,6 +2987,8 @@ public Builder addParameterDefinitions(com.google.cloud.channel.v1.ParameterDefi return this; } /** + * + * *
      * Parameters required to use current Offer to purchase.
      * 
@@ -2676,6 +3010,8 @@ public Builder addParameterDefinitions( return this; } /** + * + * *
      * Parameters required to use current Offer to purchase.
      * 
@@ -2694,6 +3030,8 @@ public Builder addParameterDefinitions( return this; } /** + * + * *
      * Parameters required to use current Offer to purchase.
      * 
@@ -2712,6 +3050,8 @@ public Builder addParameterDefinitions( return this; } /** + * + * *
      * Parameters required to use current Offer to purchase.
      * 
@@ -2722,8 +3062,7 @@ public Builder addAllParameterDefinitions( java.lang.Iterable values) { if (parameterDefinitionsBuilder_ == null) { ensureParameterDefinitionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, parameterDefinitions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, parameterDefinitions_); onChanged(); } else { parameterDefinitionsBuilder_.addAllMessages(values); @@ -2731,6 +3070,8 @@ public Builder addAllParameterDefinitions( return this; } /** + * + * *
      * Parameters required to use current Offer to purchase.
      * 
@@ -2748,6 +3089,8 @@ public Builder clearParameterDefinitions() { return this; } /** + * + * *
      * Parameters required to use current Offer to purchase.
      * 
@@ -2765,6 +3108,8 @@ public Builder removeParameterDefinitions(int index) { return this; } /** + * + * *
      * Parameters required to use current Offer to purchase.
      * 
@@ -2776,28 +3121,33 @@ public com.google.cloud.channel.v1.ParameterDefinition.Builder getParameterDefin return getParameterDefinitionsFieldBuilder().getBuilder(index); } /** + * + * *
      * Parameters required to use current Offer to purchase.
      * 
* * repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9; */ - public com.google.cloud.channel.v1.ParameterDefinitionOrBuilder getParameterDefinitionsOrBuilder( - int index) { + public com.google.cloud.channel.v1.ParameterDefinitionOrBuilder + getParameterDefinitionsOrBuilder(int index) { if (parameterDefinitionsBuilder_ == null) { - return parameterDefinitions_.get(index); } else { + return parameterDefinitions_.get(index); + } else { return parameterDefinitionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Parameters required to use current Offer to purchase.
      * 
* * repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9; */ - public java.util.List - getParameterDefinitionsOrBuilderList() { + public java.util.List + getParameterDefinitionsOrBuilderList() { if (parameterDefinitionsBuilder_ != null) { return parameterDefinitionsBuilder_.getMessageOrBuilderList(); } else { @@ -2805,17 +3155,22 @@ public com.google.cloud.channel.v1.ParameterDefinitionOrBuilder getParameterDefi } } /** + * + * *
      * Parameters required to use current Offer to purchase.
      * 
* * repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9; */ - public com.google.cloud.channel.v1.ParameterDefinition.Builder addParameterDefinitionsBuilder() { - return getParameterDefinitionsFieldBuilder().addBuilder( - com.google.cloud.channel.v1.ParameterDefinition.getDefaultInstance()); + public com.google.cloud.channel.v1.ParameterDefinition.Builder + addParameterDefinitionsBuilder() { + return getParameterDefinitionsFieldBuilder() + .addBuilder(com.google.cloud.channel.v1.ParameterDefinition.getDefaultInstance()); } /** + * + * *
      * Parameters required to use current Offer to purchase.
      * 
@@ -2824,26 +3179,34 @@ public com.google.cloud.channel.v1.ParameterDefinition.Builder addParameterDefin */ public com.google.cloud.channel.v1.ParameterDefinition.Builder addParameterDefinitionsBuilder( int index) { - return getParameterDefinitionsFieldBuilder().addBuilder( - index, com.google.cloud.channel.v1.ParameterDefinition.getDefaultInstance()); + return getParameterDefinitionsFieldBuilder() + .addBuilder(index, com.google.cloud.channel.v1.ParameterDefinition.getDefaultInstance()); } /** + * + * *
      * Parameters required to use current Offer to purchase.
      * 
* * repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9; */ - public java.util.List - getParameterDefinitionsBuilderList() { + public java.util.List + getParameterDefinitionsBuilderList() { return getParameterDefinitionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.ParameterDefinition, com.google.cloud.channel.v1.ParameterDefinition.Builder, com.google.cloud.channel.v1.ParameterDefinitionOrBuilder> + com.google.cloud.channel.v1.ParameterDefinition, + com.google.cloud.channel.v1.ParameterDefinition.Builder, + com.google.cloud.channel.v1.ParameterDefinitionOrBuilder> getParameterDefinitionsFieldBuilder() { if (parameterDefinitionsBuilder_ == null) { - parameterDefinitionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.ParameterDefinition, com.google.cloud.channel.v1.ParameterDefinition.Builder, com.google.cloud.channel.v1.ParameterDefinitionOrBuilder>( + parameterDefinitionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.ParameterDefinition, + com.google.cloud.channel.v1.ParameterDefinition.Builder, + com.google.cloud.channel.v1.ParameterDefinitionOrBuilder>( parameterDefinitions_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -2855,18 +3218,20 @@ public com.google.cloud.channel.v1.ParameterDefinition.Builder addParameterDefin private java.lang.Object dealCode_ = ""; /** + * + * *
      * The deal code of the offer to get a special promotion or discount.
      * 
* * string deal_code = 12; + * * @return The dealCode. */ public java.lang.String getDealCode() { java.lang.Object ref = dealCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dealCode_ = s; return s; @@ -2875,20 +3240,21 @@ public java.lang.String getDealCode() { } } /** + * + * *
      * The deal code of the offer to get a special promotion or discount.
      * 
* * string deal_code = 12; + * * @return The bytes for dealCode. */ - public com.google.protobuf.ByteString - getDealCodeBytes() { + public com.google.protobuf.ByteString getDealCodeBytes() { java.lang.Object ref = dealCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dealCode_ = b; return b; } else { @@ -2896,61 +3262,68 @@ public java.lang.String getDealCode() { } } /** + * + * *
      * The deal code of the offer to get a special promotion or discount.
      * 
* * string deal_code = 12; + * * @param value The dealCode to set. * @return This builder for chaining. */ - public Builder setDealCode( - java.lang.String value) { + public Builder setDealCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dealCode_ = value; onChanged(); return this; } /** + * + * *
      * The deal code of the offer to get a special promotion or discount.
      * 
* * string deal_code = 12; + * * @return This builder for chaining. */ public Builder clearDealCode() { - + dealCode_ = getDefaultInstance().getDealCode(); onChanged(); return this; } /** + * + * *
      * The deal code of the offer to get a special promotion or discount.
      * 
* * string deal_code = 12; + * * @param value The bytes for dealCode to set. * @return This builder for chaining. */ - public Builder setDealCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setDealCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dealCode_ = 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); } @@ -2960,12 +3333,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.Offer) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.Offer) private static final com.google.cloud.channel.v1.Offer DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.Offer(); } @@ -2974,27 +3347,27 @@ public static com.google.cloud.channel.v1.Offer getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Offer parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Offer parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3009,6 +3382,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Offer getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferName.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferName.java similarity index 100% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferName.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferName.java diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferOrBuilder.java similarity index 83% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferOrBuilder.java index 02454aea3258..d5b870a67723 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OfferOrBuilder.java @@ -1,53 +1,82 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; -public interface OfferOrBuilder extends +public interface OfferOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Offer) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Resource Name of the Offer.
    * Format: accounts/{account_id}/offers/{offer_id}
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Resource Name of the Offer.
    * Format: accounts/{account_id}/offers/{offer_id}
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Marketing information for the Offer.
    * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; + * * @return Whether the marketingInfo field is set. */ boolean hasMarketingInfo(); /** + * + * *
    * Marketing information for the Offer.
    * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; + * * @return The marketingInfo. */ com.google.cloud.channel.v1.MarketingInfo getMarketingInfo(); /** + * + * *
    * Marketing information for the Offer.
    * 
@@ -57,24 +86,32 @@ public interface OfferOrBuilder extends com.google.cloud.channel.v1.MarketingInfoOrBuilder getMarketingInfoOrBuilder(); /** + * + * *
    * SKU the offer is associated with.
    * 
* * .google.cloud.channel.v1.Sku sku = 3; + * * @return Whether the sku field is set. */ boolean hasSku(); /** + * + * *
    * SKU the offer is associated with.
    * 
* * .google.cloud.channel.v1.Sku sku = 3; + * * @return The sku. */ com.google.cloud.channel.v1.Sku getSku(); /** + * + * *
    * SKU the offer is associated with.
    * 
@@ -84,24 +121,32 @@ public interface OfferOrBuilder extends com.google.cloud.channel.v1.SkuOrBuilder getSkuOrBuilder(); /** + * + * *
    * Describes the payment plan for the Offer.
    * 
* * .google.cloud.channel.v1.Plan plan = 4; + * * @return Whether the plan field is set. */ boolean hasPlan(); /** + * + * *
    * Describes the payment plan for the Offer.
    * 
* * .google.cloud.channel.v1.Plan plan = 4; + * * @return The plan. */ com.google.cloud.channel.v1.Plan getPlan(); /** + * + * *
    * Describes the payment plan for the Offer.
    * 
@@ -111,24 +156,32 @@ public interface OfferOrBuilder extends com.google.cloud.channel.v1.PlanOrBuilder getPlanOrBuilder(); /** + * + * *
    * Constraints on transacting the Offer.
    * 
* * .google.cloud.channel.v1.Constraints constraints = 5; + * * @return Whether the constraints field is set. */ boolean hasConstraints(); /** + * + * *
    * Constraints on transacting the Offer.
    * 
* * .google.cloud.channel.v1.Constraints constraints = 5; + * * @return The constraints. */ com.google.cloud.channel.v1.Constraints getConstraints(); /** + * + * *
    * Constraints on transacting the Offer.
    * 
@@ -138,15 +191,18 @@ public interface OfferOrBuilder extends com.google.cloud.channel.v1.ConstraintsOrBuilder getConstraintsOrBuilder(); /** + * + * *
    * Price for each monetizable resource type.
    * 
* * repeated .google.cloud.channel.v1.PriceByResource price_by_resources = 6; */ - java.util.List - getPriceByResourcesList(); + java.util.List getPriceByResourcesList(); /** + * + * *
    * Price for each monetizable resource type.
    * 
@@ -155,6 +211,8 @@ public interface OfferOrBuilder extends */ com.google.cloud.channel.v1.PriceByResource getPriceByResources(int index); /** + * + * *
    * Price for each monetizable resource type.
    * 
@@ -163,43 +221,54 @@ public interface OfferOrBuilder extends */ int getPriceByResourcesCount(); /** + * + * *
    * Price for each monetizable resource type.
    * 
* * repeated .google.cloud.channel.v1.PriceByResource price_by_resources = 6; */ - java.util.List + java.util.List getPriceByResourcesOrBuilderList(); /** + * + * *
    * Price for each monetizable resource type.
    * 
* * repeated .google.cloud.channel.v1.PriceByResource price_by_resources = 6; */ - com.google.cloud.channel.v1.PriceByResourceOrBuilder getPriceByResourcesOrBuilder( - int index); + com.google.cloud.channel.v1.PriceByResourceOrBuilder getPriceByResourcesOrBuilder(int index); /** + * + * *
    * Start of the Offer validity time.
    * 
* * .google.protobuf.Timestamp start_time = 7; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * Start of the Offer validity time.
    * 
* * .google.protobuf.Timestamp start_time = 7; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * Start of the Offer validity time.
    * 
@@ -209,42 +278,56 @@ com.google.cloud.channel.v1.PriceByResourceOrBuilder getPriceByResourcesOrBuilde com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * Output only. End of the Offer validity time.
    * 
* - * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Output only. End of the Offer validity time.
    * 
* - * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Output only. End of the Offer validity time.
    * 
* - * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * Parameters required to use current Offer to purchase.
    * 
* * repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9; */ - java.util.List - getParameterDefinitionsList(); + java.util.List getParameterDefinitionsList(); /** + * + * *
    * Parameters required to use current Offer to purchase.
    * 
@@ -253,6 +336,8 @@ com.google.cloud.channel.v1.PriceByResourceOrBuilder getPriceByResourcesOrBuilde */ com.google.cloud.channel.v1.ParameterDefinition getParameterDefinitions(int index); /** + * + * *
    * Parameters required to use current Offer to purchase.
    * 
@@ -261,15 +346,19 @@ com.google.cloud.channel.v1.PriceByResourceOrBuilder getPriceByResourcesOrBuilde */ int getParameterDefinitionsCount(); /** + * + * *
    * Parameters required to use current Offer to purchase.
    * 
* * repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9; */ - java.util.List + java.util.List getParameterDefinitionsOrBuilderList(); /** + * + * *
    * Parameters required to use current Offer to purchase.
    * 
@@ -280,22 +369,27 @@ com.google.cloud.channel.v1.ParameterDefinitionOrBuilder getParameterDefinitions int index); /** + * + * *
    * The deal code of the offer to get a special promotion or discount.
    * 
* * string deal_code = 12; + * * @return The dealCode. */ java.lang.String getDealCode(); /** + * + * *
    * The deal code of the offer to get a special promotion or discount.
    * 
* * string deal_code = 12; + * * @return The bytes for dealCode. */ - com.google.protobuf.ByteString - getDealCodeBytes(); + com.google.protobuf.ByteString getDealCodeBytes(); } diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java new file mode 100644 index 000000000000..89b96c57565c --- /dev/null +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java @@ -0,0 +1,274 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/offers.proto + +package com.google.cloud.channel.v1; + +public final class OffersProto { + private OffersProto() {} + + 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_cloud_channel_v1_Offer_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_Offer_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_ParameterDefinition_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_ParameterDefinition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_Constraints_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_Constraints_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_CustomerConstraints_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_CustomerConstraints_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_Plan_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_Plan_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_PriceByResource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_PriceByResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_Price_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_Price_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_PricePhase_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_PricePhase_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_PriceTier_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_PriceTier_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_Period_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_Period_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/cloud/channel/v1/offers.proto\022\027" + + "google.cloud.channel.v1\032\037google/api/fiel" + + "d_behavior.proto\032\031google/api/resource.pr" + + "oto\032$google/cloud/channel/v1/common.prot" + + "o\032&google/cloud/channel/v1/products.prot" + + "o\032\037google/protobuf/timestamp.proto\032\027goog" + + "le/type/money.proto\"\274\004\n\005Offer\022\014\n\004name\030\001 " + + "\001(\t\022>\n\016marketing_info\030\002 \001(\0132&.google.clo" + + "ud.channel.v1.MarketingInfo\022)\n\003sku\030\003 \001(\013" + + "2\034.google.cloud.channel.v1.Sku\022+\n\004plan\030\004" + + " \001(\0132\035.google.cloud.channel.v1.Plan\0229\n\013c" + + "onstraints\030\005 \001(\0132$.google.cloud.channel." + + "v1.Constraints\022D\n\022price_by_resources\030\006 \003" + + "(\0132(.google.cloud.channel.v1.PriceByReso" + + "urce\022.\n\nstart_time\030\007 \001(\0132\032.google.protob" + + "uf.Timestamp\0221\n\010end_time\030\010 \001(\0132\032.google." + + "protobuf.TimestampB\003\340A\003\022K\n\025parameter_def" + + "initions\030\t \003(\0132,.google.cloud.channel.v1" + + ".ParameterDefinition\022\021\n\tdeal_code\030\014 \001(\t:" + + "I\352AF\n!cloudchannel.googleapis.com/Offer\022" + + "!accounts/{account}/offers/{offer}\"\373\002\n\023P" + + "arameterDefinition\022\014\n\004name\030\001 \001(\t\022R\n\016para" + + "meter_type\030\002 \001(\0162:.google.cloud.channel." + + "v1.ParameterDefinition.ParameterType\0221\n\t" + + "min_value\030\003 \001(\0132\036.google.cloud.channel.v" + + "1.Value\0221\n\tmax_value\030\004 \001(\0132\036.google.clou" + + "d.channel.v1.Value\0226\n\016allowed_values\030\005 \003" + + "(\0132\036.google.cloud.channel.v1.Value\022\020\n\010op" + + "tional\030\006 \001(\010\"R\n\rParameterType\022\036\n\032PARAMET" + + "ER_TYPE_UNSPECIFIED\020\000\022\t\n\005INT64\020\001\022\n\n\006STRI" + + "NG\020\002\022\n\n\006DOUBLE\020\003\"Y\n\013Constraints\022J\n\024custo" + + "mer_constraints\030\001 \001(\0132,.google.cloud.cha" + + "nnel.v1.CustomerConstraints\"\327\001\n\023Customer" + + "Constraints\022\027\n\017allowed_regions\030\001 \003(\t\022W\n\026" + + "allowed_customer_types\030\002 \003(\01627.google.cl" + + "oud.channel.v1.CloudIdentityInfo.Custome" + + "rType\022N\n\027promotional_order_types\030\003 \003(\0162-" + + ".google.cloud.channel.v1.PromotionalOrde" + + "rType\"\206\002\n\004Plan\022:\n\014payment_plan\030\001 \001(\0162$.g" + + "oogle.cloud.channel.v1.PaymentPlan\022:\n\014pa" + + "yment_type\030\002 \001(\0162$.google.cloud.channel." + + "v1.PaymentType\0226\n\rpayment_cycle\030\003 \001(\0132\037." + + "google.cloud.channel.v1.Period\0225\n\014trial_" + + "period\030\004 \001(\0132\037.google.cloud.channel.v1.P" + + "eriod\022\027\n\017billing_account\030\005 \001(\t\"\271\001\n\017Price" + + "ByResource\022<\n\rresource_type\030\001 \001(\0162%.goog" + + "le.cloud.channel.v1.ResourceType\022-\n\005pric" + + "e\030\002 \001(\0132\036.google.cloud.channel.v1.Price\022" + + "9\n\014price_phases\030\003 \003(\0132#.google.cloud.cha" + + "nnel.v1.PricePhase\"\212\001\n\005Price\022&\n\nbase_pri" + + "ce\030\001 \001(\0132\022.google.type.Money\022\020\n\010discount" + + "\030\002 \001(\001\022+\n\017effective_price\030\003 \001(\0132\022.google" + + ".type.Money\022\032\n\022external_price_uri\030\004 \001(\t\"" + + "\331\001\n\nPricePhase\0228\n\013period_type\030\001 \001(\0162#.go" + + "ogle.cloud.channel.v1.PeriodType\022\024\n\014firs" + + "t_period\030\002 \001(\005\022\023\n\013last_period\030\003 \001(\005\022-\n\005p" + + "rice\030\004 \001(\0132\036.google.cloud.channel.v1.Pri" + + "ce\0227\n\013price_tiers\030\005 \003(\0132\".google.cloud.c" + + "hannel.v1.PriceTier\"i\n\tPriceTier\022\026\n\016firs" + + "t_resource\030\001 \001(\005\022\025\n\rlast_resource\030\002 \001(\005\022" + + "-\n\005price\030\003 \001(\0132\036.google.cloud.channel.v1" + + ".Price\"T\n\006Period\022\020\n\010duration\030\001 \001(\005\0228\n\013pe" + + "riod_type\030\002 \001(\0162#.google.cloud.channel.v" + + "1.PeriodType*m\n\024PromotionalOrderType\022 \n\034" + + "PROMOTIONAL_TYPE_UNSPECIFIED\020\000\022\017\n\013NEW_UP" + + "GRADE\020\001\022\014\n\010TRANSFER\020\002\022\024\n\020PROMOTION_SWITC" + + "H\020\003*k\n\013PaymentPlan\022\034\n\030PAYMENT_PLAN_UNSPE" + + "CIFIED\020\000\022\016\n\nCOMMITMENT\020\001\022\014\n\010FLEXIBLE\020\002\022\010" + + "\n\004FREE\020\003\022\t\n\005TRIAL\020\004\022\013\n\007OFFLINE\020\005*D\n\013Paym" + + "entType\022\034\n\030PAYMENT_TYPE_UNSPECIFIED\020\000\022\n\n" + + "\006PREPAY\020\001\022\013\n\007POSTPAY\020\002*\212\001\n\014ResourceType\022" + + "\035\n\031RESOURCE_TYPE_UNSPECIFIED\020\000\022\010\n\004SEAT\020\001" + + "\022\007\n\003MAU\020\002\022\006\n\002GB\020\003\022\021\n\rLICENSED_USER\020\004\022\013\n\007" + + "MINUTES\020\005\022\016\n\nIAAS_USAGE\020\006\022\020\n\014SUBSCRIPTIO" + + "N\020\007*G\n\nPeriodType\022\033\n\027PERIOD_TYPE_UNSPECI" + + "FIED\020\000\022\007\n\003DAY\020\001\022\t\n\005MONTH\020\002\022\010\n\004YEAR\020\003Bl\n\033" + + "com.google.cloud.channel.v1B\013OffersProto" + + "P\001Z>google.golang.org/genproto/googleapi" + + "s/cloud/channel/v1;channelb\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.cloud.channel.v1.CommonProto.getDescriptor(), + com.google.cloud.channel.v1.ProductsProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.type.MoneyProto.getDescriptor(), + }); + internal_static_google_cloud_channel_v1_Offer_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_channel_v1_Offer_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_Offer_descriptor, + new java.lang.String[] { + "Name", + "MarketingInfo", + "Sku", + "Plan", + "Constraints", + "PriceByResources", + "StartTime", + "EndTime", + "ParameterDefinitions", + "DealCode", + }); + internal_static_google_cloud_channel_v1_ParameterDefinition_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_channel_v1_ParameterDefinition_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_ParameterDefinition_descriptor, + new java.lang.String[] { + "Name", "ParameterType", "MinValue", "MaxValue", "AllowedValues", "Optional", + }); + internal_static_google_cloud_channel_v1_Constraints_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_channel_v1_Constraints_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_Constraints_descriptor, + new java.lang.String[] { + "CustomerConstraints", + }); + internal_static_google_cloud_channel_v1_CustomerConstraints_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_channel_v1_CustomerConstraints_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_CustomerConstraints_descriptor, + new java.lang.String[] { + "AllowedRegions", "AllowedCustomerTypes", "PromotionalOrderTypes", + }); + internal_static_google_cloud_channel_v1_Plan_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_channel_v1_Plan_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_Plan_descriptor, + new java.lang.String[] { + "PaymentPlan", "PaymentType", "PaymentCycle", "TrialPeriod", "BillingAccount", + }); + internal_static_google_cloud_channel_v1_PriceByResource_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_channel_v1_PriceByResource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_PriceByResource_descriptor, + new java.lang.String[] { + "ResourceType", "Price", "PricePhases", + }); + internal_static_google_cloud_channel_v1_Price_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_channel_v1_Price_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_Price_descriptor, + new java.lang.String[] { + "BasePrice", "Discount", "EffectivePrice", "ExternalPriceUri", + }); + internal_static_google_cloud_channel_v1_PricePhase_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_channel_v1_PricePhase_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_PricePhase_descriptor, + new java.lang.String[] { + "PeriodType", "FirstPeriod", "LastPeriod", "Price", "PriceTiers", + }); + internal_static_google_cloud_channel_v1_PriceTier_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_channel_v1_PriceTier_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_PriceTier_descriptor, + new java.lang.String[] { + "FirstResource", "LastResource", "Price", + }); + internal_static_google_cloud_channel_v1_Period_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_channel_v1_Period_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_Period_descriptor, + new java.lang.String[] { + "Duration", "PeriodType", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.channel.v1.CommonProto.getDescriptor(); + com.google.cloud.channel.v1.ProductsProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.type.MoneyProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadata.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadata.java similarity index 69% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadata.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadata.java index bbc5f6969eb7..9dfb7d99342a 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadata.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadata.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/cloud/channel/v1/operations.proto package com.google.cloud.channel.v1; /** + * + * *
  * Provides contextual information about a
  * [google.longrunning.Operation][google.longrunning.Operation].
@@ -11,54 +28,59 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.OperationMetadata}
  */
-public final class OperationMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class OperationMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.OperationMetadata)
     OperationMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use OperationMetadata.newBuilder() to construct.
   private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private OperationMetadata() {
     operationType_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new OperationMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.OperationsProto.internal_static_google_cloud_channel_v1_OperationMetadata_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.OperationsProto
+        .internal_static_google_cloud_channel_v1_OperationMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.OperationsProto.internal_static_google_cloud_channel_v1_OperationMetadata_fieldAccessorTable
+    return com.google.cloud.channel.v1.OperationsProto
+        .internal_static_google_cloud_channel_v1_OperationMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.OperationMetadata.class, com.google.cloud.channel.v1.OperationMetadata.Builder.class);
+            com.google.cloud.channel.v1.OperationMetadata.class,
+            com.google.cloud.channel.v1.OperationMetadata.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * RPCs that return a Long Running Operation.
    * 
* * Protobuf enum {@code google.cloud.channel.v1.OperationMetadata.OperationType} */ - public enum OperationType - implements com.google.protobuf.ProtocolMessageEnum { + public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not used.
      * 
@@ -67,6 +89,8 @@ public enum OperationType */ OPERATION_TYPE_UNSPECIFIED(0), /** + * + * *
      * Long Running Operation was triggered by CreateEntitlement.
      * 
@@ -75,6 +99,8 @@ public enum OperationType */ CREATE_ENTITLEMENT(1), /** + * + * *
      * Long Running Operation was triggered by ChangeRenewalSettings.
      * 
@@ -83,6 +109,8 @@ public enum OperationType */ CHANGE_RENEWAL_SETTINGS(3), /** + * + * *
      * Long Running Operation was triggered by StartPaidService.
      * 
@@ -91,6 +119,8 @@ public enum OperationType */ START_PAID_SERVICE(5), /** + * + * *
      * Long Running Operation was triggered by ActivateEntitlement.
      * 
@@ -99,6 +129,8 @@ public enum OperationType */ ACTIVATE_ENTITLEMENT(7), /** + * + * *
      * Long Running Operation was triggered by SuspendEntitlement.
      * 
@@ -107,6 +139,8 @@ public enum OperationType */ SUSPEND_ENTITLEMENT(8), /** + * + * *
      * Long Running Operation was triggered by CancelEntitlement.
      * 
@@ -115,6 +149,8 @@ public enum OperationType */ CANCEL_ENTITLEMENT(9), /** + * + * *
      * Long Running Operation was triggered by TransferEntitlements.
      * 
@@ -123,6 +159,8 @@ public enum OperationType */ TRANSFER_ENTITLEMENTS(10), /** + * + * *
      * Long Running Operation was triggered by TransferEntitlementsToGoogle.
      * 
@@ -131,6 +169,8 @@ public enum OperationType */ TRANSFER_ENTITLEMENTS_TO_GOOGLE(11), /** + * + * *
      * Long Running Operation was triggered by ChangeOffer.
      * 
@@ -139,6 +179,8 @@ public enum OperationType */ CHANGE_OFFER(14), /** + * + * *
      * Long Running Operation was triggered by ChangeParameters.
      * 
@@ -147,6 +189,8 @@ public enum OperationType */ CHANGE_PARAMETERS(15), /** + * + * *
      * Long Running Operation was triggered by ProvisionCloudIdentity.
      * 
@@ -158,6 +202,8 @@ public enum OperationType ; /** + * + * *
      * Not used.
      * 
@@ -166,6 +212,8 @@ public enum OperationType */ public static final int OPERATION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Long Running Operation was triggered by CreateEntitlement.
      * 
@@ -174,6 +222,8 @@ public enum OperationType */ public static final int CREATE_ENTITLEMENT_VALUE = 1; /** + * + * *
      * Long Running Operation was triggered by ChangeRenewalSettings.
      * 
@@ -182,6 +232,8 @@ public enum OperationType */ public static final int CHANGE_RENEWAL_SETTINGS_VALUE = 3; /** + * + * *
      * Long Running Operation was triggered by StartPaidService.
      * 
@@ -190,6 +242,8 @@ public enum OperationType */ public static final int START_PAID_SERVICE_VALUE = 5; /** + * + * *
      * Long Running Operation was triggered by ActivateEntitlement.
      * 
@@ -198,6 +252,8 @@ public enum OperationType */ public static final int ACTIVATE_ENTITLEMENT_VALUE = 7; /** + * + * *
      * Long Running Operation was triggered by SuspendEntitlement.
      * 
@@ -206,6 +262,8 @@ public enum OperationType */ public static final int SUSPEND_ENTITLEMENT_VALUE = 8; /** + * + * *
      * Long Running Operation was triggered by CancelEntitlement.
      * 
@@ -214,6 +272,8 @@ public enum OperationType */ public static final int CANCEL_ENTITLEMENT_VALUE = 9; /** + * + * *
      * Long Running Operation was triggered by TransferEntitlements.
      * 
@@ -222,6 +282,8 @@ public enum OperationType */ public static final int TRANSFER_ENTITLEMENTS_VALUE = 10; /** + * + * *
      * Long Running Operation was triggered by TransferEntitlementsToGoogle.
      * 
@@ -230,6 +292,8 @@ public enum OperationType */ public static final int TRANSFER_ENTITLEMENTS_TO_GOOGLE_VALUE = 11; /** + * + * *
      * Long Running Operation was triggered by ChangeOffer.
      * 
@@ -238,6 +302,8 @@ public enum OperationType */ public static final int CHANGE_OFFER_VALUE = 14; /** + * + * *
      * Long Running Operation was triggered by ChangeParameters.
      * 
@@ -246,6 +312,8 @@ public enum OperationType */ public static final int CHANGE_PARAMETERS_VALUE = 15; /** + * + * *
      * Long Running Operation was triggered by ProvisionCloudIdentity.
      * 
@@ -254,7 +322,6 @@ public enum OperationType */ public static final int PROVISION_CLOUD_IDENTITY_VALUE = 16; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -279,58 +346,67 @@ public static OperationType valueOf(int value) { */ public static OperationType forNumber(int value) { switch (value) { - case 0: return OPERATION_TYPE_UNSPECIFIED; - case 1: return CREATE_ENTITLEMENT; - case 3: return CHANGE_RENEWAL_SETTINGS; - case 5: return START_PAID_SERVICE; - case 7: return ACTIVATE_ENTITLEMENT; - case 8: return SUSPEND_ENTITLEMENT; - case 9: return CANCEL_ENTITLEMENT; - case 10: return TRANSFER_ENTITLEMENTS; - case 11: return TRANSFER_ENTITLEMENTS_TO_GOOGLE; - case 14: return CHANGE_OFFER; - case 15: return CHANGE_PARAMETERS; - case 16: return PROVISION_CLOUD_IDENTITY; - default: return null; + case 0: + return OPERATION_TYPE_UNSPECIFIED; + case 1: + return CREATE_ENTITLEMENT; + case 3: + return CHANGE_RENEWAL_SETTINGS; + case 5: + return START_PAID_SERVICE; + case 7: + return ACTIVATE_ENTITLEMENT; + case 8: + return SUSPEND_ENTITLEMENT; + case 9: + return CANCEL_ENTITLEMENT; + case 10: + return TRANSFER_ENTITLEMENTS; + case 11: + return TRANSFER_ENTITLEMENTS_TO_GOOGLE; + case 14: + return CHANGE_OFFER; + case 15: + return CHANGE_PARAMETERS; + case 16: + return PROVISION_CLOUD_IDENTITY; + 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< - OperationType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public OperationType findValueByNumber(int number) { - return OperationType.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 OperationType findValueByNumber(int number) { + return OperationType.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.cloud.channel.v1.OperationMetadata.getDescriptor().getEnumTypes().get(0); } private static final OperationType[] VALUES = values(); - public static OperationType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static OperationType 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; @@ -350,31 +426,43 @@ private OperationType(int value) { public static final int OPERATION_TYPE_FIELD_NUMBER = 1; private int operationType_; /** + * + * *
    * The RPC that initiated this Long Running Operation.
    * 
* * .google.cloud.channel.v1.OperationMetadata.OperationType operation_type = 1; + * * @return The enum numeric value on the wire for operationType. */ - @java.lang.Override public int getOperationTypeValue() { + @java.lang.Override + public int getOperationTypeValue() { return operationType_; } /** + * + * *
    * The RPC that initiated this Long Running Operation.
    * 
* * .google.cloud.channel.v1.OperationMetadata.OperationType operation_type = 1; + * * @return The operationType. */ - @java.lang.Override public com.google.cloud.channel.v1.OperationMetadata.OperationType getOperationType() { + @java.lang.Override + public com.google.cloud.channel.v1.OperationMetadata.OperationType getOperationType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.OperationMetadata.OperationType result = com.google.cloud.channel.v1.OperationMetadata.OperationType.valueOf(operationType_); - return result == null ? com.google.cloud.channel.v1.OperationMetadata.OperationType.UNRECOGNIZED : result; + com.google.cloud.channel.v1.OperationMetadata.OperationType result = + com.google.cloud.channel.v1.OperationMetadata.OperationType.valueOf(operationType_); + return result == null + ? com.google.cloud.channel.v1.OperationMetadata.OperationType.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -386,9 +474,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (operationType_ != com.google.cloud.channel.v1.OperationMetadata.OperationType.OPERATION_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (operationType_ + != com.google.cloud.channel.v1.OperationMetadata.OperationType.OPERATION_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, operationType_); } getUnknownFields().writeTo(output); @@ -400,9 +489,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (operationType_ != com.google.cloud.channel.v1.OperationMetadata.OperationType.OPERATION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, operationType_); + if (operationType_ + != com.google.cloud.channel.v1.OperationMetadata.OperationType.OPERATION_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, operationType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -412,12 +502,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.channel.v1.OperationMetadata other = (com.google.cloud.channel.v1.OperationMetadata) obj; + com.google.cloud.channel.v1.OperationMetadata other = + (com.google.cloud.channel.v1.OperationMetadata) obj; if (operationType_ != other.operationType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -438,97 +529,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.OperationMetadata parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.OperationMetadata parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.OperationMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.OperationMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.OperationMetadata 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.cloud.channel.v1.OperationMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.OperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.OperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.OperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.OperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Provides contextual information about a
    * [google.longrunning.Operation][google.longrunning.Operation].
@@ -536,33 +634,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.OperationMetadata}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.OperationMetadata)
       com.google.cloud.channel.v1.OperationMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.OperationsProto.internal_static_google_cloud_channel_v1_OperationMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.OperationsProto
+          .internal_static_google_cloud_channel_v1_OperationMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.OperationsProto.internal_static_google_cloud_channel_v1_OperationMetadata_fieldAccessorTable
+      return com.google.cloud.channel.v1.OperationsProto
+          .internal_static_google_cloud_channel_v1_OperationMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.OperationMetadata.class, com.google.cloud.channel.v1.OperationMetadata.Builder.class);
+              com.google.cloud.channel.v1.OperationMetadata.class,
+              com.google.cloud.channel.v1.OperationMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.OperationMetadata.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -572,9 +669,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.OperationsProto.internal_static_google_cloud_channel_v1_OperationMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.OperationsProto
+          .internal_static_google_cloud_channel_v1_OperationMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -593,7 +690,8 @@ public com.google.cloud.channel.v1.OperationMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.OperationMetadata buildPartial() {
-      com.google.cloud.channel.v1.OperationMetadata result = new com.google.cloud.channel.v1.OperationMetadata(this);
+      com.google.cloud.channel.v1.OperationMetadata result =
+          new com.google.cloud.channel.v1.OperationMetadata(this);
       result.operationType_ = operationType_;
       onBuilt();
       return result;
@@ -603,38 +701,39 @@ public com.google.cloud.channel.v1.OperationMetadata 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.cloud.channel.v1.OperationMetadata) {
-        return mergeFrom((com.google.cloud.channel.v1.OperationMetadata)other);
+        return mergeFrom((com.google.cloud.channel.v1.OperationMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -672,17 +771,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              operationType_ = input.readEnum();
-
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                operationType_ = input.readEnum();
+
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -695,80 +796,100 @@ public Builder mergeFrom(
 
     private int operationType_ = 0;
     /**
+     *
+     *
      * 
      * The RPC that initiated this Long Running Operation.
      * 
* * .google.cloud.channel.v1.OperationMetadata.OperationType operation_type = 1; + * * @return The enum numeric value on the wire for operationType. */ - @java.lang.Override public int getOperationTypeValue() { + @java.lang.Override + public int getOperationTypeValue() { return operationType_; } /** + * + * *
      * The RPC that initiated this Long Running Operation.
      * 
* * .google.cloud.channel.v1.OperationMetadata.OperationType operation_type = 1; + * * @param value The enum numeric value on the wire for operationType to set. * @return This builder for chaining. */ public Builder setOperationTypeValue(int value) { - + operationType_ = value; onChanged(); return this; } /** + * + * *
      * The RPC that initiated this Long Running Operation.
      * 
* * .google.cloud.channel.v1.OperationMetadata.OperationType operation_type = 1; + * * @return The operationType. */ @java.lang.Override public com.google.cloud.channel.v1.OperationMetadata.OperationType getOperationType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.OperationMetadata.OperationType result = com.google.cloud.channel.v1.OperationMetadata.OperationType.valueOf(operationType_); - return result == null ? com.google.cloud.channel.v1.OperationMetadata.OperationType.UNRECOGNIZED : result; + com.google.cloud.channel.v1.OperationMetadata.OperationType result = + com.google.cloud.channel.v1.OperationMetadata.OperationType.valueOf(operationType_); + return result == null + ? com.google.cloud.channel.v1.OperationMetadata.OperationType.UNRECOGNIZED + : result; } /** + * + * *
      * The RPC that initiated this Long Running Operation.
      * 
* * .google.cloud.channel.v1.OperationMetadata.OperationType operation_type = 1; + * * @param value The operationType to set. * @return This builder for chaining. */ - public Builder setOperationType(com.google.cloud.channel.v1.OperationMetadata.OperationType value) { + public Builder setOperationType( + com.google.cloud.channel.v1.OperationMetadata.OperationType value) { if (value == null) { throw new NullPointerException(); } - + operationType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The RPC that initiated this Long Running Operation.
      * 
* * .google.cloud.channel.v1.OperationMetadata.OperationType operation_type = 1; + * * @return This builder for chaining. */ public Builder clearOperationType() { - + operationType_ = 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); } @@ -778,12 +899,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.OperationMetadata) private static final com.google.cloud.channel.v1.OperationMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.OperationMetadata(); } @@ -792,27 +913,27 @@ public static com.google.cloud.channel.v1.OperationMetadata getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -827,6 +948,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadataOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadataOrBuilder.java similarity index 56% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadataOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadataOrBuilder.java index dacf2ba1cf0c..02e241df7d36 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadataOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationMetadataOrBuilder.java @@ -1,27 +1,49 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/operations.proto package com.google.cloud.channel.v1; -public interface OperationMetadataOrBuilder extends +public interface OperationMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The RPC that initiated this Long Running Operation.
    * 
* * .google.cloud.channel.v1.OperationMetadata.OperationType operation_type = 1; + * * @return The enum numeric value on the wire for operationType. */ int getOperationTypeValue(); /** + * + * *
    * The RPC that initiated this Long Running Operation.
    * 
* * .google.cloud.channel.v1.OperationMetadata.OperationType operation_type = 1; + * * @return The operationType. */ com.google.cloud.channel.v1.OperationMetadata.OperationType getOperationType(); diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationsProto.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationsProto.java new file mode 100644 index 000000000000..67b76d21db7f --- /dev/null +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationsProto.java @@ -0,0 +1,74 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/operations.proto + +package com.google.cloud.channel.v1; + +public final class OperationsProto { + private OperationsProto() {} + + 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_cloud_channel_v1_OperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_OperationMetadata_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/cloud/channel/v1/operations.pro" + + "to\022\027google.cloud.channel.v1\"\266\003\n\021Operatio" + + "nMetadata\022P\n\016operation_type\030\001 \001(\01628.goog" + + "le.cloud.channel.v1.OperationMetadata.Op" + + "erationType\"\316\002\n\rOperationType\022\036\n\032OPERATI" + + "ON_TYPE_UNSPECIFIED\020\000\022\026\n\022CREATE_ENTITLEM" + + "ENT\020\001\022\033\n\027CHANGE_RENEWAL_SETTINGS\020\003\022\026\n\022ST" + + "ART_PAID_SERVICE\020\005\022\030\n\024ACTIVATE_ENTITLEME" + + "NT\020\007\022\027\n\023SUSPEND_ENTITLEMENT\020\010\022\026\n\022CANCEL_" + + "ENTITLEMENT\020\t\022\031\n\025TRANSFER_ENTITLEMENTS\020\n" + + "\022#\n\037TRANSFER_ENTITLEMENTS_TO_GOOGLE\020\013\022\020\n" + + "\014CHANGE_OFFER\020\016\022\025\n\021CHANGE_PARAMETERS\020\017\022\034" + + "\n\030PROVISION_CLOUD_IDENTITY\020\020Bp\n\033com.goog" + + "le.cloud.channel.v1B\017OperationsProtoP\001Z>" + + "google.golang.org/genproto/googleapis/cl" + + "oud/channel/v1;channelb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + internal_static_google_cloud_channel_v1_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_channel_v1_OperationMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_OperationMetadata_descriptor, + new java.lang.String[] { + "OperationType", + }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Parameter.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Parameter.java similarity index 69% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Parameter.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Parameter.java index 43893047bfd8..4ffd3b3302cb 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Parameter.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Parameter.java @@ -1,61 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/entitlements.proto package com.google.cloud.channel.v1; /** + * + * *
  * Definition for extended entitlement parameters.
  * 
* * Protobuf type {@code google.cloud.channel.v1.Parameter} */ -public final class Parameter extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Parameter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.Parameter) ParameterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Parameter.newBuilder() to construct. private Parameter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Parameter() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Parameter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_Parameter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_Parameter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_Parameter_fieldAccessorTable + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_Parameter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Parameter.class, com.google.cloud.channel.v1.Parameter.Builder.class); + com.google.cloud.channel.v1.Parameter.class, + com.google.cloud.channel.v1.Parameter.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Name of the parameter.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -64,29 +86,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; } } /** + * + * *
    * Name of the parameter.
    * 
* * 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 { @@ -97,11 +119,14 @@ public java.lang.String getName() { public static final int VALUE_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.Value value_; /** + * + * *
    * Value of the parameter.
    * 
* * .google.cloud.channel.v1.Value value = 2; + * * @return Whether the value field is set. */ @java.lang.Override @@ -109,11 +134,14 @@ public boolean hasValue() { return value_ != null; } /** + * + * *
    * Value of the parameter.
    * 
* * .google.cloud.channel.v1.Value value = 2; + * * @return The value. */ @java.lang.Override @@ -121,6 +149,8 @@ public com.google.cloud.channel.v1.Value getValue() { return value_ == null ? com.google.cloud.channel.v1.Value.getDefaultInstance() : value_; } /** + * + * *
    * Value of the parameter.
    * 
@@ -135,6 +165,8 @@ public com.google.cloud.channel.v1.ValueOrBuilder getValueOrBuilder() { public static final int EDITABLE_FIELD_NUMBER = 3; private boolean editable_; /** + * + * *
    * Output only. Specifies whether this parameter is allowed to be changed. For
    * example, for a Google Workspace Business Starter entitlement in commitment
@@ -142,6 +174,7 @@ public com.google.cloud.channel.v1.ValueOrBuilder getValueOrBuilder() {
    * 
* * bool editable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The editable. */ @java.lang.Override @@ -150,6 +183,7 @@ public boolean getEditable() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -161,8 +195,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -185,12 +218,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (value_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getValue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getValue()); } if (editable_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, editable_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, editable_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -200,22 +231,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.cloud.channel.v1.Parameter)) { return super.equals(obj); } com.google.cloud.channel.v1.Parameter other = (com.google.cloud.channel.v1.Parameter) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasValue() != other.hasValue()) return false; if (hasValue()) { - if (!getValue() - .equals(other.getValue())) return false; + if (!getValue().equals(other.getValue())) return false; } - if (getEditable() - != other.getEditable()) return false; + if (getEditable() != other.getEditable()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -234,137 +262,141 @@ public int hashCode() { hash = (53 * hash) + getValue().hashCode(); } hash = (37 * hash) + EDITABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEditable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEditable()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.channel.v1.Parameter parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.Parameter parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Parameter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Parameter parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.channel.v1.Parameter parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Parameter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.Parameter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Parameter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.Parameter 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.cloud.channel.v1.Parameter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.Parameter parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.Parameter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.Parameter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.Parameter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.Parameter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Definition for extended entitlement parameters.
    * 
* * Protobuf type {@code google.cloud.channel.v1.Parameter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.Parameter) com.google.cloud.channel.v1.ParameterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_Parameter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_Parameter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_Parameter_fieldAccessorTable + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_Parameter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Parameter.class, com.google.cloud.channel.v1.Parameter.Builder.class); + com.google.cloud.channel.v1.Parameter.class, + com.google.cloud.channel.v1.Parameter.Builder.class); } // Construct using com.google.cloud.channel.v1.Parameter.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -382,9 +414,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_Parameter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_Parameter_descriptor; } @java.lang.Override @@ -403,7 +435,8 @@ public com.google.cloud.channel.v1.Parameter build() { @java.lang.Override public com.google.cloud.channel.v1.Parameter buildPartial() { - com.google.cloud.channel.v1.Parameter result = new com.google.cloud.channel.v1.Parameter(this); + com.google.cloud.channel.v1.Parameter result = + new com.google.cloud.channel.v1.Parameter(this); result.name_ = name_; if (valueBuilder_ == null) { result.value_ = value_; @@ -419,38 +452,39 @@ public com.google.cloud.channel.v1.Parameter 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.cloud.channel.v1.Parameter) { - return mergeFrom((com.google.cloud.channel.v1.Parameter)other); + return mergeFrom((com.google.cloud.channel.v1.Parameter) other); } else { super.mergeFrom(other); return this; @@ -495,29 +529,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getValueFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - case 24: { - editable_ = input.readBool(); - - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getValueFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + case 24: + { + editable_ = input.readBool(); + + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -530,18 +566,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Name of the parameter.
      * 
* * 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; @@ -550,20 +588,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Name of the parameter.
      * 
* * 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 { @@ -571,54 +610,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Name of the parameter.
      * 
* * 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; } /** + * + * *
      * Name of the parameter.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Name of the parameter.
      * 
* * 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; @@ -626,24 +672,33 @@ public Builder setNameBytes( private com.google.cloud.channel.v1.Value value_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Value, com.google.cloud.channel.v1.Value.Builder, com.google.cloud.channel.v1.ValueOrBuilder> valueBuilder_; + com.google.cloud.channel.v1.Value, + com.google.cloud.channel.v1.Value.Builder, + com.google.cloud.channel.v1.ValueOrBuilder> + valueBuilder_; /** + * + * *
      * Value of the parameter.
      * 
* * .google.cloud.channel.v1.Value value = 2; + * * @return Whether the value field is set. */ public boolean hasValue() { return valueBuilder_ != null || value_ != null; } /** + * + * *
      * Value of the parameter.
      * 
* * .google.cloud.channel.v1.Value value = 2; + * * @return The value. */ public com.google.cloud.channel.v1.Value getValue() { @@ -654,6 +709,8 @@ public com.google.cloud.channel.v1.Value getValue() { } } /** + * + * *
      * Value of the parameter.
      * 
@@ -674,14 +731,15 @@ public Builder setValue(com.google.cloud.channel.v1.Value value) { return this; } /** + * + * *
      * Value of the parameter.
      * 
* * .google.cloud.channel.v1.Value value = 2; */ - public Builder setValue( - com.google.cloud.channel.v1.Value.Builder builderForValue) { + public Builder setValue(com.google.cloud.channel.v1.Value.Builder builderForValue) { if (valueBuilder_ == null) { value_ = builderForValue.build(); onChanged(); @@ -692,6 +750,8 @@ public Builder setValue( return this; } /** + * + * *
      * Value of the parameter.
      * 
@@ -702,7 +762,7 @@ public Builder mergeValue(com.google.cloud.channel.v1.Value value) { if (valueBuilder_ == null) { if (value_ != null) { value_ = - com.google.cloud.channel.v1.Value.newBuilder(value_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.Value.newBuilder(value_).mergeFrom(value).buildPartial(); } else { value_ = value; } @@ -714,6 +774,8 @@ public Builder mergeValue(com.google.cloud.channel.v1.Value value) { return this; } /** + * + * *
      * Value of the parameter.
      * 
@@ -732,6 +794,8 @@ public Builder clearValue() { return this; } /** + * + * *
      * Value of the parameter.
      * 
@@ -739,11 +803,13 @@ public Builder clearValue() { * .google.cloud.channel.v1.Value value = 2; */ public com.google.cloud.channel.v1.Value.Builder getValueBuilder() { - + onChanged(); return getValueFieldBuilder().getBuilder(); } /** + * + * *
      * Value of the parameter.
      * 
@@ -754,11 +820,12 @@ public com.google.cloud.channel.v1.ValueOrBuilder getValueOrBuilder() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { - return value_ == null ? - com.google.cloud.channel.v1.Value.getDefaultInstance() : value_; + return value_ == null ? com.google.cloud.channel.v1.Value.getDefaultInstance() : value_; } } /** + * + * *
      * Value of the parameter.
      * 
@@ -766,21 +833,26 @@ public com.google.cloud.channel.v1.ValueOrBuilder getValueOrBuilder() { * .google.cloud.channel.v1.Value value = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Value, com.google.cloud.channel.v1.Value.Builder, com.google.cloud.channel.v1.ValueOrBuilder> + com.google.cloud.channel.v1.Value, + com.google.cloud.channel.v1.Value.Builder, + com.google.cloud.channel.v1.ValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { - valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Value, com.google.cloud.channel.v1.Value.Builder, com.google.cloud.channel.v1.ValueOrBuilder>( - getValue(), - getParentForChildren(), - isClean()); + valueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Value, + com.google.cloud.channel.v1.Value.Builder, + com.google.cloud.channel.v1.ValueOrBuilder>( + getValue(), getParentForChildren(), isClean()); value_ = null; } return valueBuilder_; } - private boolean editable_ ; + private boolean editable_; /** + * + * *
      * Output only. Specifies whether this parameter is allowed to be changed. For
      * example, for a Google Workspace Business Starter entitlement in commitment
@@ -788,6 +860,7 @@ public com.google.cloud.channel.v1.ValueOrBuilder getValueOrBuilder() {
      * 
* * bool editable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The editable. */ @java.lang.Override @@ -795,6 +868,8 @@ public boolean getEditable() { return editable_; } /** + * + * *
      * Output only. Specifies whether this parameter is allowed to be changed. For
      * example, for a Google Workspace Business Starter entitlement in commitment
@@ -802,16 +877,19 @@ public boolean getEditable() {
      * 
* * bool editable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The editable to set. * @return This builder for chaining. */ public Builder setEditable(boolean value) { - + editable_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Specifies whether this parameter is allowed to be changed. For
      * example, for a Google Workspace Business Starter entitlement in commitment
@@ -819,17 +897,18 @@ public Builder setEditable(boolean value) {
      * 
* * bool editable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearEditable() { - + editable_ = 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); } @@ -839,12 +918,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.Parameter) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.Parameter) private static final com.google.cloud.channel.v1.Parameter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.Parameter(); } @@ -853,27 +932,27 @@ public static com.google.cloud.channel.v1.Parameter getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Parameter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Parameter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -888,6 +967,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Parameter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinition.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinition.java similarity index 76% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinition.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinition.java index fefdabf4115c..c86b59e6ef61 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinition.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinition.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/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; /** + * + * *
  * Parameter's definition. Specifies what parameter is required to use the
  * current Offer to purchase.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.ParameterDefinition}
  */
-public final class ParameterDefinition extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ParameterDefinition extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ParameterDefinition)
     ParameterDefinitionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ParameterDefinition.newBuilder() to construct.
   private ParameterDefinition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ParameterDefinition() {
     name_ = "";
     parameterType_ = 0;
@@ -28,39 +46,43 @@ private ParameterDefinition() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ParameterDefinition();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_ParameterDefinition_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.OffersProto
+        .internal_static_google_cloud_channel_v1_ParameterDefinition_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_ParameterDefinition_fieldAccessorTable
+    return com.google.cloud.channel.v1.OffersProto
+        .internal_static_google_cloud_channel_v1_ParameterDefinition_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.ParameterDefinition.class, com.google.cloud.channel.v1.ParameterDefinition.Builder.class);
+            com.google.cloud.channel.v1.ParameterDefinition.class,
+            com.google.cloud.channel.v1.ParameterDefinition.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Data type of the parameter.
    * 
* * Protobuf enum {@code google.cloud.channel.v1.ParameterDefinition.ParameterType} */ - public enum ParameterType - implements com.google.protobuf.ProtocolMessageEnum { + public enum ParameterType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not used.
      * 
@@ -69,6 +91,8 @@ public enum ParameterType */ PARAMETER_TYPE_UNSPECIFIED(0), /** + * + * *
      * Int64 type.
      * 
@@ -77,6 +101,8 @@ public enum ParameterType */ INT64(1), /** + * + * *
      * String type.
      * 
@@ -85,6 +111,8 @@ public enum ParameterType */ STRING(2), /** + * + * *
      * Double type.
      * 
@@ -96,6 +124,8 @@ public enum ParameterType ; /** + * + * *
      * Not used.
      * 
@@ -104,6 +134,8 @@ public enum ParameterType */ public static final int PARAMETER_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Int64 type.
      * 
@@ -112,6 +144,8 @@ public enum ParameterType */ public static final int INT64_VALUE = 1; /** + * + * *
      * String type.
      * 
@@ -120,6 +154,8 @@ public enum ParameterType */ public static final int STRING_VALUE = 2; /** + * + * *
      * Double type.
      * 
@@ -128,7 +164,6 @@ public enum ParameterType */ public static final int DOUBLE_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -153,50 +188,51 @@ public static ParameterType valueOf(int value) { */ public static ParameterType forNumber(int value) { switch (value) { - case 0: return PARAMETER_TYPE_UNSPECIFIED; - case 1: return INT64; - case 2: return STRING; - case 3: return DOUBLE; - default: return null; + case 0: + return PARAMETER_TYPE_UNSPECIFIED; + case 1: + return INT64; + case 2: + return STRING; + case 3: + return DOUBLE; + 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< - ParameterType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ParameterType findValueByNumber(int number) { - return ParameterType.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 ParameterType findValueByNumber(int number) { + return ParameterType.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.cloud.channel.v1.ParameterDefinition.getDescriptor().getEnumTypes().get(0); } private static final ParameterType[] VALUES = values(); - public static ParameterType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ParameterType 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; @@ -216,11 +252,14 @@ private ParameterType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Name of the parameter.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -229,29 +268,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; } } /** + * + * *
    * Name of the parameter.
    * 
* * 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 { @@ -262,35 +301,48 @@ public java.lang.String getName() { public static final int PARAMETER_TYPE_FIELD_NUMBER = 2; private int parameterType_; /** + * + * *
    * Data type of the parameter. Minimal value, Maximum value and allowed values
    * will use specified data type here.
    * 
* * .google.cloud.channel.v1.ParameterDefinition.ParameterType parameter_type = 2; + * * @return The enum numeric value on the wire for parameterType. */ - @java.lang.Override public int getParameterTypeValue() { + @java.lang.Override + public int getParameterTypeValue() { return parameterType_; } /** + * + * *
    * Data type of the parameter. Minimal value, Maximum value and allowed values
    * will use specified data type here.
    * 
* * .google.cloud.channel.v1.ParameterDefinition.ParameterType parameter_type = 2; + * * @return The parameterType. */ - @java.lang.Override public com.google.cloud.channel.v1.ParameterDefinition.ParameterType getParameterType() { + @java.lang.Override + public com.google.cloud.channel.v1.ParameterDefinition.ParameterType getParameterType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.ParameterDefinition.ParameterType result = com.google.cloud.channel.v1.ParameterDefinition.ParameterType.valueOf(parameterType_); - return result == null ? com.google.cloud.channel.v1.ParameterDefinition.ParameterType.UNRECOGNIZED : result; + com.google.cloud.channel.v1.ParameterDefinition.ParameterType result = + com.google.cloud.channel.v1.ParameterDefinition.ParameterType.valueOf(parameterType_); + return result == null + ? com.google.cloud.channel.v1.ParameterDefinition.ParameterType.UNRECOGNIZED + : result; } public static final int MIN_VALUE_FIELD_NUMBER = 3; private com.google.cloud.channel.v1.Value minValue_; /** + * + * *
    * Minimal value of the parameter, if applicable. Inclusive. For example,
    * minimal commitment when purchasing Anthos is 0.01.
@@ -298,6 +350,7 @@ public java.lang.String getName() {
    * 
* * .google.cloud.channel.v1.Value min_value = 3; + * * @return Whether the minValue field is set. */ @java.lang.Override @@ -305,6 +358,8 @@ public boolean hasMinValue() { return minValue_ != null; } /** + * + * *
    * Minimal value of the parameter, if applicable. Inclusive. For example,
    * minimal commitment when purchasing Anthos is 0.01.
@@ -312,6 +367,7 @@ public boolean hasMinValue() {
    * 
* * .google.cloud.channel.v1.Value min_value = 3; + * * @return The minValue. */ @java.lang.Override @@ -319,6 +375,8 @@ public com.google.cloud.channel.v1.Value getMinValue() { return minValue_ == null ? com.google.cloud.channel.v1.Value.getDefaultInstance() : minValue_; } /** + * + * *
    * Minimal value of the parameter, if applicable. Inclusive. For example,
    * minimal commitment when purchasing Anthos is 0.01.
@@ -335,6 +393,8 @@ public com.google.cloud.channel.v1.ValueOrBuilder getMinValueOrBuilder() {
   public static final int MAX_VALUE_FIELD_NUMBER = 4;
   private com.google.cloud.channel.v1.Value maxValue_;
   /**
+   *
+   *
    * 
    * Maximum value of the parameter, if applicable. Inclusive. For example,
    * maximum seats when purchasing Google Workspace Business Standard.
@@ -342,6 +402,7 @@ public com.google.cloud.channel.v1.ValueOrBuilder getMinValueOrBuilder() {
    * 
* * .google.cloud.channel.v1.Value max_value = 4; + * * @return Whether the maxValue field is set. */ @java.lang.Override @@ -349,6 +410,8 @@ public boolean hasMaxValue() { return maxValue_ != null; } /** + * + * *
    * Maximum value of the parameter, if applicable. Inclusive. For example,
    * maximum seats when purchasing Google Workspace Business Standard.
@@ -356,6 +419,7 @@ public boolean hasMaxValue() {
    * 
* * .google.cloud.channel.v1.Value max_value = 4; + * * @return The maxValue. */ @java.lang.Override @@ -363,6 +427,8 @@ public com.google.cloud.channel.v1.Value getMaxValue() { return maxValue_ == null ? com.google.cloud.channel.v1.Value.getDefaultInstance() : maxValue_; } /** + * + * *
    * Maximum value of the parameter, if applicable. Inclusive. For example,
    * maximum seats when purchasing Google Workspace Business Standard.
@@ -379,6 +445,8 @@ public com.google.cloud.channel.v1.ValueOrBuilder getMaxValueOrBuilder() {
   public static final int ALLOWED_VALUES_FIELD_NUMBER = 5;
   private java.util.List allowedValues_;
   /**
+   *
+   *
    * 
    * If not empty, parameter values must be drawn from this list.
    * For example, [us-west1, us-west2, ...]
@@ -392,6 +460,8 @@ public java.util.List getAllowedValuesList()
     return allowedValues_;
   }
   /**
+   *
+   *
    * 
    * If not empty, parameter values must be drawn from this list.
    * For example, [us-west1, us-west2, ...]
@@ -401,11 +471,13 @@ public java.util.List getAllowedValuesList()
    * repeated .google.cloud.channel.v1.Value allowed_values = 5;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getAllowedValuesOrBuilderList() {
     return allowedValues_;
   }
   /**
+   *
+   *
    * 
    * If not empty, parameter values must be drawn from this list.
    * For example, [us-west1, us-west2, ...]
@@ -419,6 +491,8 @@ public int getAllowedValuesCount() {
     return allowedValues_.size();
   }
   /**
+   *
+   *
    * 
    * If not empty, parameter values must be drawn from this list.
    * For example, [us-west1, us-west2, ...]
@@ -432,6 +506,8 @@ public com.google.cloud.channel.v1.Value getAllowedValues(int index) {
     return allowedValues_.get(index);
   }
   /**
+   *
+   *
    * 
    * If not empty, parameter values must be drawn from this list.
    * For example, [us-west1, us-west2, ...]
@@ -441,19 +517,21 @@ public com.google.cloud.channel.v1.Value getAllowedValues(int index) {
    * repeated .google.cloud.channel.v1.Value allowed_values = 5;
    */
   @java.lang.Override
-  public com.google.cloud.channel.v1.ValueOrBuilder getAllowedValuesOrBuilder(
-      int index) {
+  public com.google.cloud.channel.v1.ValueOrBuilder getAllowedValuesOrBuilder(int index) {
     return allowedValues_.get(index);
   }
 
   public static final int OPTIONAL_FIELD_NUMBER = 6;
   private boolean optional_;
   /**
+   *
+   *
    * 
    * If set to true, parameter is optional to purchase this Offer.
    * 
* * bool optional = 6; + * * @return The optional. */ @java.lang.Override @@ -462,6 +540,7 @@ public boolean getOptional() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -473,12 +552,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 (parameterType_ != com.google.cloud.channel.v1.ParameterDefinition.ParameterType.PARAMETER_TYPE_UNSPECIFIED.getNumber()) { + if (parameterType_ + != com.google.cloud.channel.v1.ParameterDefinition.ParameterType.PARAMETER_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, parameterType_); } if (minValue_ != null) { @@ -505,25 +585,22 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (parameterType_ != com.google.cloud.channel.v1.ParameterDefinition.ParameterType.PARAMETER_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, parameterType_); + if (parameterType_ + != com.google.cloud.channel.v1.ParameterDefinition.ParameterType.PARAMETER_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, parameterType_); } if (minValue_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getMinValue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMinValue()); } if (maxValue_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getMaxValue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getMaxValue()); } for (int i = 0; i < allowedValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, allowedValues_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, allowedValues_.get(i)); } if (optional_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, optional_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, optional_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -533,30 +610,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.cloud.channel.v1.ParameterDefinition)) { return super.equals(obj); } - com.google.cloud.channel.v1.ParameterDefinition other = (com.google.cloud.channel.v1.ParameterDefinition) obj; + com.google.cloud.channel.v1.ParameterDefinition other = + (com.google.cloud.channel.v1.ParameterDefinition) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (parameterType_ != other.parameterType_) return false; if (hasMinValue() != other.hasMinValue()) return false; if (hasMinValue()) { - if (!getMinValue() - .equals(other.getMinValue())) return false; + if (!getMinValue().equals(other.getMinValue())) return false; } if (hasMaxValue() != other.hasMaxValue()) return false; if (hasMaxValue()) { - if (!getMaxValue() - .equals(other.getMaxValue())) return false; + if (!getMaxValue().equals(other.getMaxValue())) return false; } - if (!getAllowedValuesList() - .equals(other.getAllowedValuesList())) return false; - if (getOptional() - != other.getOptional()) return false; + if (!getAllowedValuesList().equals(other.getAllowedValuesList())) return false; + if (getOptional() != other.getOptional()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -585,104 +658,110 @@ public int hashCode() { hash = (53 * hash) + getAllowedValuesList().hashCode(); } hash = (37 * hash) + OPTIONAL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getOptional()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getOptional()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.channel.v1.ParameterDefinition parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.ParameterDefinition parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ParameterDefinition parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ParameterDefinition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ParameterDefinition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ParameterDefinition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ParameterDefinition parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ParameterDefinition 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.cloud.channel.v1.ParameterDefinition parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ParameterDefinition parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ParameterDefinition parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ParameterDefinition parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ParameterDefinition parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ParameterDefinition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.ParameterDefinition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Parameter's definition. Specifies what parameter is required to use the
    * current Offer to purchase.
@@ -690,33 +769,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.ParameterDefinition}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ParameterDefinition)
       com.google.cloud.channel.v1.ParameterDefinitionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_ParameterDefinition_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.OffersProto
+          .internal_static_google_cloud_channel_v1_ParameterDefinition_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_ParameterDefinition_fieldAccessorTable
+      return com.google.cloud.channel.v1.OffersProto
+          .internal_static_google_cloud_channel_v1_ParameterDefinition_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.ParameterDefinition.class, com.google.cloud.channel.v1.ParameterDefinition.Builder.class);
+              com.google.cloud.channel.v1.ParameterDefinition.class,
+              com.google.cloud.channel.v1.ParameterDefinition.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.ParameterDefinition.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -749,9 +827,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_ParameterDefinition_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.OffersProto
+          .internal_static_google_cloud_channel_v1_ParameterDefinition_descriptor;
     }
 
     @java.lang.Override
@@ -770,7 +848,8 @@ public com.google.cloud.channel.v1.ParameterDefinition build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.ParameterDefinition buildPartial() {
-      com.google.cloud.channel.v1.ParameterDefinition result = new com.google.cloud.channel.v1.ParameterDefinition(this);
+      com.google.cloud.channel.v1.ParameterDefinition result =
+          new com.google.cloud.channel.v1.ParameterDefinition(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.parameterType_ = parameterType_;
@@ -802,38 +881,39 @@ public com.google.cloud.channel.v1.ParameterDefinition 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.cloud.channel.v1.ParameterDefinition) {
-        return mergeFrom((com.google.cloud.channel.v1.ParameterDefinition)other);
+        return mergeFrom((com.google.cloud.channel.v1.ParameterDefinition) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -841,7 +921,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.ParameterDefinition other) {
-      if (other == com.google.cloud.channel.v1.ParameterDefinition.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.ParameterDefinition.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -873,9 +954,10 @@ public Builder mergeFrom(com.google.cloud.channel.v1.ParameterDefinition other)
             allowedValuesBuilder_ = null;
             allowedValues_ = other.allowedValues_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            allowedValuesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getAllowedValuesFieldBuilder() : null;
+            allowedValuesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getAllowedValuesFieldBuilder()
+                    : null;
           } else {
             allowedValuesBuilder_.addAllMessages(other.allowedValues_);
           }
@@ -910,54 +992,56 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 16: {
-              parameterType_ = input.readEnum();
-
-              break;
-            } // case 16
-            case 26: {
-              input.readMessage(
-                  getMinValueFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getMaxValueFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 34
-            case 42: {
-              com.google.cloud.channel.v1.Value m =
-                  input.readMessage(
-                      com.google.cloud.channel.v1.Value.parser(),
-                      extensionRegistry);
-              if (allowedValuesBuilder_ == null) {
-                ensureAllowedValuesIsMutable();
-                allowedValues_.add(m);
-              } else {
-                allowedValuesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 42
-            case 48: {
-              optional_ = input.readBool();
-
-              break;
-            } // case 48
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 16:
+              {
+                parameterType_ = input.readEnum();
+
+                break;
+              } // case 16
+            case 26:
+              {
+                input.readMessage(getMinValueFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getMaxValueFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 34
+            case 42:
+              {
+                com.google.cloud.channel.v1.Value m =
+                    input.readMessage(
+                        com.google.cloud.channel.v1.Value.parser(), extensionRegistry);
+                if (allowedValuesBuilder_ == null) {
+                  ensureAllowedValuesIsMutable();
+                  allowedValues_.add(m);
+                } else {
+                  allowedValuesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 42
+            case 48:
+              {
+                optional_ = input.readBool();
+
+                break;
+              } // case 48
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -967,22 +1051,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Name of the parameter.
      * 
* * 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; @@ -991,20 +1078,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Name of the parameter.
      * 
* * 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 { @@ -1012,54 +1100,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Name of the parameter.
      * 
* * 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; } /** + * + * *
      * Name of the parameter.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Name of the parameter.
      * 
* * 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; @@ -1067,78 +1162,98 @@ public Builder setNameBytes( private int parameterType_ = 0; /** + * + * *
      * Data type of the parameter. Minimal value, Maximum value and allowed values
      * will use specified data type here.
      * 
* * .google.cloud.channel.v1.ParameterDefinition.ParameterType parameter_type = 2; + * * @return The enum numeric value on the wire for parameterType. */ - @java.lang.Override public int getParameterTypeValue() { + @java.lang.Override + public int getParameterTypeValue() { return parameterType_; } /** + * + * *
      * Data type of the parameter. Minimal value, Maximum value and allowed values
      * will use specified data type here.
      * 
* * .google.cloud.channel.v1.ParameterDefinition.ParameterType parameter_type = 2; + * * @param value The enum numeric value on the wire for parameterType to set. * @return This builder for chaining. */ public Builder setParameterTypeValue(int value) { - + parameterType_ = value; onChanged(); return this; } /** + * + * *
      * Data type of the parameter. Minimal value, Maximum value and allowed values
      * will use specified data type here.
      * 
* * .google.cloud.channel.v1.ParameterDefinition.ParameterType parameter_type = 2; + * * @return The parameterType. */ @java.lang.Override public com.google.cloud.channel.v1.ParameterDefinition.ParameterType getParameterType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.ParameterDefinition.ParameterType result = com.google.cloud.channel.v1.ParameterDefinition.ParameterType.valueOf(parameterType_); - return result == null ? com.google.cloud.channel.v1.ParameterDefinition.ParameterType.UNRECOGNIZED : result; + com.google.cloud.channel.v1.ParameterDefinition.ParameterType result = + com.google.cloud.channel.v1.ParameterDefinition.ParameterType.valueOf(parameterType_); + return result == null + ? com.google.cloud.channel.v1.ParameterDefinition.ParameterType.UNRECOGNIZED + : result; } /** + * + * *
      * Data type of the parameter. Minimal value, Maximum value and allowed values
      * will use specified data type here.
      * 
* * .google.cloud.channel.v1.ParameterDefinition.ParameterType parameter_type = 2; + * * @param value The parameterType to set. * @return This builder for chaining. */ - public Builder setParameterType(com.google.cloud.channel.v1.ParameterDefinition.ParameterType value) { + public Builder setParameterType( + com.google.cloud.channel.v1.ParameterDefinition.ParameterType value) { if (value == null) { throw new NullPointerException(); } - + parameterType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Data type of the parameter. Minimal value, Maximum value and allowed values
      * will use specified data type here.
      * 
* * .google.cloud.channel.v1.ParameterDefinition.ParameterType parameter_type = 2; + * * @return This builder for chaining. */ public Builder clearParameterType() { - + parameterType_ = 0; onChanged(); return this; @@ -1146,8 +1261,13 @@ public Builder clearParameterType() { private com.google.cloud.channel.v1.Value minValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Value, com.google.cloud.channel.v1.Value.Builder, com.google.cloud.channel.v1.ValueOrBuilder> minValueBuilder_; + com.google.cloud.channel.v1.Value, + com.google.cloud.channel.v1.Value.Builder, + com.google.cloud.channel.v1.ValueOrBuilder> + minValueBuilder_; /** + * + * *
      * Minimal value of the parameter, if applicable. Inclusive. For example,
      * minimal commitment when purchasing Anthos is 0.01.
@@ -1155,12 +1275,15 @@ public Builder clearParameterType() {
      * 
* * .google.cloud.channel.v1.Value min_value = 3; + * * @return Whether the minValue field is set. */ public boolean hasMinValue() { return minValueBuilder_ != null || minValue_ != null; } /** + * + * *
      * Minimal value of the parameter, if applicable. Inclusive. For example,
      * minimal commitment when purchasing Anthos is 0.01.
@@ -1168,16 +1291,21 @@ public boolean hasMinValue() {
      * 
* * .google.cloud.channel.v1.Value min_value = 3; + * * @return The minValue. */ public com.google.cloud.channel.v1.Value getMinValue() { if (minValueBuilder_ == null) { - return minValue_ == null ? com.google.cloud.channel.v1.Value.getDefaultInstance() : minValue_; + return minValue_ == null + ? com.google.cloud.channel.v1.Value.getDefaultInstance() + : minValue_; } else { return minValueBuilder_.getMessage(); } } /** + * + * *
      * Minimal value of the parameter, if applicable. Inclusive. For example,
      * minimal commitment when purchasing Anthos is 0.01.
@@ -1200,6 +1328,8 @@ public Builder setMinValue(com.google.cloud.channel.v1.Value value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Minimal value of the parameter, if applicable. Inclusive. For example,
      * minimal commitment when purchasing Anthos is 0.01.
@@ -1208,8 +1338,7 @@ public Builder setMinValue(com.google.cloud.channel.v1.Value value) {
      *
      * .google.cloud.channel.v1.Value min_value = 3;
      */
-    public Builder setMinValue(
-        com.google.cloud.channel.v1.Value.Builder builderForValue) {
+    public Builder setMinValue(com.google.cloud.channel.v1.Value.Builder builderForValue) {
       if (minValueBuilder_ == null) {
         minValue_ = builderForValue.build();
         onChanged();
@@ -1220,6 +1349,8 @@ public Builder setMinValue(
       return this;
     }
     /**
+     *
+     *
      * 
      * Minimal value of the parameter, if applicable. Inclusive. For example,
      * minimal commitment when purchasing Anthos is 0.01.
@@ -1232,7 +1363,9 @@ public Builder mergeMinValue(com.google.cloud.channel.v1.Value value) {
       if (minValueBuilder_ == null) {
         if (minValue_ != null) {
           minValue_ =
-            com.google.cloud.channel.v1.Value.newBuilder(minValue_).mergeFrom(value).buildPartial();
+              com.google.cloud.channel.v1.Value.newBuilder(minValue_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           minValue_ = value;
         }
@@ -1244,6 +1377,8 @@ public Builder mergeMinValue(com.google.cloud.channel.v1.Value value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Minimal value of the parameter, if applicable. Inclusive. For example,
      * minimal commitment when purchasing Anthos is 0.01.
@@ -1264,6 +1399,8 @@ public Builder clearMinValue() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Minimal value of the parameter, if applicable. Inclusive. For example,
      * minimal commitment when purchasing Anthos is 0.01.
@@ -1273,11 +1410,13 @@ public Builder clearMinValue() {
      * .google.cloud.channel.v1.Value min_value = 3;
      */
     public com.google.cloud.channel.v1.Value.Builder getMinValueBuilder() {
-      
+
       onChanged();
       return getMinValueFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Minimal value of the parameter, if applicable. Inclusive. For example,
      * minimal commitment when purchasing Anthos is 0.01.
@@ -1290,11 +1429,14 @@ public com.google.cloud.channel.v1.ValueOrBuilder getMinValueOrBuilder() {
       if (minValueBuilder_ != null) {
         return minValueBuilder_.getMessageOrBuilder();
       } else {
-        return minValue_ == null ?
-            com.google.cloud.channel.v1.Value.getDefaultInstance() : minValue_;
+        return minValue_ == null
+            ? com.google.cloud.channel.v1.Value.getDefaultInstance()
+            : minValue_;
       }
     }
     /**
+     *
+     *
      * 
      * Minimal value of the parameter, if applicable. Inclusive. For example,
      * minimal commitment when purchasing Anthos is 0.01.
@@ -1304,14 +1446,17 @@ public com.google.cloud.channel.v1.ValueOrBuilder getMinValueOrBuilder() {
      * .google.cloud.channel.v1.Value min_value = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.channel.v1.Value, com.google.cloud.channel.v1.Value.Builder, com.google.cloud.channel.v1.ValueOrBuilder> 
+            com.google.cloud.channel.v1.Value,
+            com.google.cloud.channel.v1.Value.Builder,
+            com.google.cloud.channel.v1.ValueOrBuilder>
         getMinValueFieldBuilder() {
       if (minValueBuilder_ == null) {
-        minValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.channel.v1.Value, com.google.cloud.channel.v1.Value.Builder, com.google.cloud.channel.v1.ValueOrBuilder>(
-                getMinValue(),
-                getParentForChildren(),
-                isClean());
+        minValueBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.channel.v1.Value,
+                com.google.cloud.channel.v1.Value.Builder,
+                com.google.cloud.channel.v1.ValueOrBuilder>(
+                getMinValue(), getParentForChildren(), isClean());
         minValue_ = null;
       }
       return minValueBuilder_;
@@ -1319,8 +1464,13 @@ public com.google.cloud.channel.v1.ValueOrBuilder getMinValueOrBuilder() {
 
     private com.google.cloud.channel.v1.Value maxValue_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.channel.v1.Value, com.google.cloud.channel.v1.Value.Builder, com.google.cloud.channel.v1.ValueOrBuilder> maxValueBuilder_;
+            com.google.cloud.channel.v1.Value,
+            com.google.cloud.channel.v1.Value.Builder,
+            com.google.cloud.channel.v1.ValueOrBuilder>
+        maxValueBuilder_;
     /**
+     *
+     *
      * 
      * Maximum value of the parameter, if applicable. Inclusive. For example,
      * maximum seats when purchasing Google Workspace Business Standard.
@@ -1328,12 +1478,15 @@ public com.google.cloud.channel.v1.ValueOrBuilder getMinValueOrBuilder() {
      * 
* * .google.cloud.channel.v1.Value max_value = 4; + * * @return Whether the maxValue field is set. */ public boolean hasMaxValue() { return maxValueBuilder_ != null || maxValue_ != null; } /** + * + * *
      * Maximum value of the parameter, if applicable. Inclusive. For example,
      * maximum seats when purchasing Google Workspace Business Standard.
@@ -1341,16 +1494,21 @@ public boolean hasMaxValue() {
      * 
* * .google.cloud.channel.v1.Value max_value = 4; + * * @return The maxValue. */ public com.google.cloud.channel.v1.Value getMaxValue() { if (maxValueBuilder_ == null) { - return maxValue_ == null ? com.google.cloud.channel.v1.Value.getDefaultInstance() : maxValue_; + return maxValue_ == null + ? com.google.cloud.channel.v1.Value.getDefaultInstance() + : maxValue_; } else { return maxValueBuilder_.getMessage(); } } /** + * + * *
      * Maximum value of the parameter, if applicable. Inclusive. For example,
      * maximum seats when purchasing Google Workspace Business Standard.
@@ -1373,6 +1531,8 @@ public Builder setMaxValue(com.google.cloud.channel.v1.Value value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Maximum value of the parameter, if applicable. Inclusive. For example,
      * maximum seats when purchasing Google Workspace Business Standard.
@@ -1381,8 +1541,7 @@ public Builder setMaxValue(com.google.cloud.channel.v1.Value value) {
      *
      * .google.cloud.channel.v1.Value max_value = 4;
      */
-    public Builder setMaxValue(
-        com.google.cloud.channel.v1.Value.Builder builderForValue) {
+    public Builder setMaxValue(com.google.cloud.channel.v1.Value.Builder builderForValue) {
       if (maxValueBuilder_ == null) {
         maxValue_ = builderForValue.build();
         onChanged();
@@ -1393,6 +1552,8 @@ public Builder setMaxValue(
       return this;
     }
     /**
+     *
+     *
      * 
      * Maximum value of the parameter, if applicable. Inclusive. For example,
      * maximum seats when purchasing Google Workspace Business Standard.
@@ -1405,7 +1566,9 @@ public Builder mergeMaxValue(com.google.cloud.channel.v1.Value value) {
       if (maxValueBuilder_ == null) {
         if (maxValue_ != null) {
           maxValue_ =
-            com.google.cloud.channel.v1.Value.newBuilder(maxValue_).mergeFrom(value).buildPartial();
+              com.google.cloud.channel.v1.Value.newBuilder(maxValue_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           maxValue_ = value;
         }
@@ -1417,6 +1580,8 @@ public Builder mergeMaxValue(com.google.cloud.channel.v1.Value value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Maximum value of the parameter, if applicable. Inclusive. For example,
      * maximum seats when purchasing Google Workspace Business Standard.
@@ -1437,6 +1602,8 @@ public Builder clearMaxValue() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Maximum value of the parameter, if applicable. Inclusive. For example,
      * maximum seats when purchasing Google Workspace Business Standard.
@@ -1446,11 +1613,13 @@ public Builder clearMaxValue() {
      * .google.cloud.channel.v1.Value max_value = 4;
      */
     public com.google.cloud.channel.v1.Value.Builder getMaxValueBuilder() {
-      
+
       onChanged();
       return getMaxValueFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Maximum value of the parameter, if applicable. Inclusive. For example,
      * maximum seats when purchasing Google Workspace Business Standard.
@@ -1463,11 +1632,14 @@ public com.google.cloud.channel.v1.ValueOrBuilder getMaxValueOrBuilder() {
       if (maxValueBuilder_ != null) {
         return maxValueBuilder_.getMessageOrBuilder();
       } else {
-        return maxValue_ == null ?
-            com.google.cloud.channel.v1.Value.getDefaultInstance() : maxValue_;
+        return maxValue_ == null
+            ? com.google.cloud.channel.v1.Value.getDefaultInstance()
+            : maxValue_;
       }
     }
     /**
+     *
+     *
      * 
      * Maximum value of the parameter, if applicable. Inclusive. For example,
      * maximum seats when purchasing Google Workspace Business Standard.
@@ -1477,32 +1649,41 @@ public com.google.cloud.channel.v1.ValueOrBuilder getMaxValueOrBuilder() {
      * .google.cloud.channel.v1.Value max_value = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.channel.v1.Value, com.google.cloud.channel.v1.Value.Builder, com.google.cloud.channel.v1.ValueOrBuilder> 
+            com.google.cloud.channel.v1.Value,
+            com.google.cloud.channel.v1.Value.Builder,
+            com.google.cloud.channel.v1.ValueOrBuilder>
         getMaxValueFieldBuilder() {
       if (maxValueBuilder_ == null) {
-        maxValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.channel.v1.Value, com.google.cloud.channel.v1.Value.Builder, com.google.cloud.channel.v1.ValueOrBuilder>(
-                getMaxValue(),
-                getParentForChildren(),
-                isClean());
+        maxValueBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.channel.v1.Value,
+                com.google.cloud.channel.v1.Value.Builder,
+                com.google.cloud.channel.v1.ValueOrBuilder>(
+                getMaxValue(), getParentForChildren(), isClean());
         maxValue_ = null;
       }
       return maxValueBuilder_;
     }
 
     private java.util.List allowedValues_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureAllowedValuesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         allowedValues_ = new java.util.ArrayList(allowedValues_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.channel.v1.Value, com.google.cloud.channel.v1.Value.Builder, com.google.cloud.channel.v1.ValueOrBuilder> allowedValuesBuilder_;
+            com.google.cloud.channel.v1.Value,
+            com.google.cloud.channel.v1.Value.Builder,
+            com.google.cloud.channel.v1.ValueOrBuilder>
+        allowedValuesBuilder_;
 
     /**
+     *
+     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -1519,6 +1700,8 @@ public java.util.List getAllowedValuesList()
       }
     }
     /**
+     *
+     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -1535,6 +1718,8 @@ public int getAllowedValuesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -1551,6 +1736,8 @@ public com.google.cloud.channel.v1.Value getAllowedValues(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -1559,8 +1746,7 @@ public com.google.cloud.channel.v1.Value getAllowedValues(int index) {
      *
      * repeated .google.cloud.channel.v1.Value allowed_values = 5;
      */
-    public Builder setAllowedValues(
-        int index, com.google.cloud.channel.v1.Value value) {
+    public Builder setAllowedValues(int index, com.google.cloud.channel.v1.Value value) {
       if (allowedValuesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1574,6 +1760,8 @@ public Builder setAllowedValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -1594,6 +1782,8 @@ public Builder setAllowedValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -1616,6 +1806,8 @@ public Builder addAllowedValues(com.google.cloud.channel.v1.Value value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -1624,8 +1816,7 @@ public Builder addAllowedValues(com.google.cloud.channel.v1.Value value) {
      *
      * repeated .google.cloud.channel.v1.Value allowed_values = 5;
      */
-    public Builder addAllowedValues(
-        int index, com.google.cloud.channel.v1.Value value) {
+    public Builder addAllowedValues(int index, com.google.cloud.channel.v1.Value value) {
       if (allowedValuesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1639,6 +1830,8 @@ public Builder addAllowedValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -1647,8 +1840,7 @@ public Builder addAllowedValues(
      *
      * repeated .google.cloud.channel.v1.Value allowed_values = 5;
      */
-    public Builder addAllowedValues(
-        com.google.cloud.channel.v1.Value.Builder builderForValue) {
+    public Builder addAllowedValues(com.google.cloud.channel.v1.Value.Builder builderForValue) {
       if (allowedValuesBuilder_ == null) {
         ensureAllowedValuesIsMutable();
         allowedValues_.add(builderForValue.build());
@@ -1659,6 +1851,8 @@ public Builder addAllowedValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -1679,6 +1873,8 @@ public Builder addAllowedValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -1691,8 +1887,7 @@ public Builder addAllAllowedValues(
         java.lang.Iterable values) {
       if (allowedValuesBuilder_ == null) {
         ensureAllowedValuesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, allowedValues_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedValues_);
         onChanged();
       } else {
         allowedValuesBuilder_.addAllMessages(values);
@@ -1700,6 +1895,8 @@ public Builder addAllAllowedValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -1719,6 +1916,8 @@ public Builder clearAllowedValues() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -1738,6 +1937,8 @@ public Builder removeAllowedValues(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -1746,11 +1947,12 @@ public Builder removeAllowedValues(int index) {
      *
      * repeated .google.cloud.channel.v1.Value allowed_values = 5;
      */
-    public com.google.cloud.channel.v1.Value.Builder getAllowedValuesBuilder(
-        int index) {
+    public com.google.cloud.channel.v1.Value.Builder getAllowedValuesBuilder(int index) {
       return getAllowedValuesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -1759,14 +1961,16 @@ public com.google.cloud.channel.v1.Value.Builder getAllowedValuesBuilder(
      *
      * repeated .google.cloud.channel.v1.Value allowed_values = 5;
      */
-    public com.google.cloud.channel.v1.ValueOrBuilder getAllowedValuesOrBuilder(
-        int index) {
+    public com.google.cloud.channel.v1.ValueOrBuilder getAllowedValuesOrBuilder(int index) {
       if (allowedValuesBuilder_ == null) {
-        return allowedValues_.get(index);  } else {
+        return allowedValues_.get(index);
+      } else {
         return allowedValuesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -1775,8 +1979,8 @@ public com.google.cloud.channel.v1.ValueOrBuilder getAllowedValuesOrBuilder(
      *
      * repeated .google.cloud.channel.v1.Value allowed_values = 5;
      */
-    public java.util.List 
-         getAllowedValuesOrBuilderList() {
+    public java.util.List
+        getAllowedValuesOrBuilderList() {
       if (allowedValuesBuilder_ != null) {
         return allowedValuesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1784,6 +1988,8 @@ public com.google.cloud.channel.v1.ValueOrBuilder getAllowedValuesOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -1793,10 +1999,12 @@ public com.google.cloud.channel.v1.ValueOrBuilder getAllowedValuesOrBuilder(
      * repeated .google.cloud.channel.v1.Value allowed_values = 5;
      */
     public com.google.cloud.channel.v1.Value.Builder addAllowedValuesBuilder() {
-      return getAllowedValuesFieldBuilder().addBuilder(
-          com.google.cloud.channel.v1.Value.getDefaultInstance());
+      return getAllowedValuesFieldBuilder()
+          .addBuilder(com.google.cloud.channel.v1.Value.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -1805,12 +2013,13 @@ public com.google.cloud.channel.v1.Value.Builder addAllowedValuesBuilder() {
      *
      * repeated .google.cloud.channel.v1.Value allowed_values = 5;
      */
-    public com.google.cloud.channel.v1.Value.Builder addAllowedValuesBuilder(
-        int index) {
-      return getAllowedValuesFieldBuilder().addBuilder(
-          index, com.google.cloud.channel.v1.Value.getDefaultInstance());
+    public com.google.cloud.channel.v1.Value.Builder addAllowedValuesBuilder(int index) {
+      return getAllowedValuesFieldBuilder()
+          .addBuilder(index, com.google.cloud.channel.v1.Value.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * If not empty, parameter values must be drawn from this list.
      * For example, [us-west1, us-west2, ...]
@@ -1819,16 +2028,21 @@ public com.google.cloud.channel.v1.Value.Builder addAllowedValuesBuilder(
      *
      * repeated .google.cloud.channel.v1.Value allowed_values = 5;
      */
-    public java.util.List 
-         getAllowedValuesBuilderList() {
+    public java.util.List getAllowedValuesBuilderList() {
       return getAllowedValuesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.channel.v1.Value, com.google.cloud.channel.v1.Value.Builder, com.google.cloud.channel.v1.ValueOrBuilder> 
+            com.google.cloud.channel.v1.Value,
+            com.google.cloud.channel.v1.Value.Builder,
+            com.google.cloud.channel.v1.ValueOrBuilder>
         getAllowedValuesFieldBuilder() {
       if (allowedValuesBuilder_ == null) {
-        allowedValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.channel.v1.Value, com.google.cloud.channel.v1.Value.Builder, com.google.cloud.channel.v1.ValueOrBuilder>(
+        allowedValuesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.channel.v1.Value,
+                com.google.cloud.channel.v1.Value.Builder,
+                com.google.cloud.channel.v1.ValueOrBuilder>(
                 allowedValues_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1838,13 +2052,16 @@ public com.google.cloud.channel.v1.Value.Builder addAllowedValuesBuilder(
       return allowedValuesBuilder_;
     }
 
-    private boolean optional_ ;
+    private boolean optional_;
     /**
+     *
+     *
      * 
      * If set to true, parameter is optional to purchase this Offer.
      * 
* * bool optional = 6; + * * @return The optional. */ @java.lang.Override @@ -1852,37 +2069,43 @@ public boolean getOptional() { return optional_; } /** + * + * *
      * If set to true, parameter is optional to purchase this Offer.
      * 
* * bool optional = 6; + * * @param value The optional to set. * @return This builder for chaining. */ public Builder setOptional(boolean value) { - + optional_ = value; onChanged(); return this; } /** + * + * *
      * If set to true, parameter is optional to purchase this Offer.
      * 
* * bool optional = 6; + * * @return This builder for chaining. */ public Builder clearOptional() { - + optional_ = 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); } @@ -1892,12 +2115,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ParameterDefinition) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ParameterDefinition) private static final com.google.cloud.channel.v1.ParameterDefinition DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ParameterDefinition(); } @@ -1906,27 +2129,27 @@ public static com.google.cloud.channel.v1.ParameterDefinition getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ParameterDefinition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ParameterDefinition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1941,6 +2164,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ParameterDefinition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinitionOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinitionOrBuilder.java similarity index 84% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinitionOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinitionOrBuilder.java index 6d8ab439fbd0..fdfe16586406 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinitionOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterDefinitionOrBuilder.java @@ -1,54 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; -public interface ParameterDefinitionOrBuilder extends +public interface ParameterDefinitionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ParameterDefinition) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of the parameter.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Name of the parameter.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Data type of the parameter. Minimal value, Maximum value and allowed values
    * will use specified data type here.
    * 
* * .google.cloud.channel.v1.ParameterDefinition.ParameterType parameter_type = 2; + * * @return The enum numeric value on the wire for parameterType. */ int getParameterTypeValue(); /** + * + * *
    * Data type of the parameter. Minimal value, Maximum value and allowed values
    * will use specified data type here.
    * 
* * .google.cloud.channel.v1.ParameterDefinition.ParameterType parameter_type = 2; + * * @return The parameterType. */ com.google.cloud.channel.v1.ParameterDefinition.ParameterType getParameterType(); /** + * + * *
    * Minimal value of the parameter, if applicable. Inclusive. For example,
    * minimal commitment when purchasing Anthos is 0.01.
@@ -56,10 +85,13 @@ public interface ParameterDefinitionOrBuilder extends
    * 
* * .google.cloud.channel.v1.Value min_value = 3; + * * @return Whether the minValue field is set. */ boolean hasMinValue(); /** + * + * *
    * Minimal value of the parameter, if applicable. Inclusive. For example,
    * minimal commitment when purchasing Anthos is 0.01.
@@ -67,10 +99,13 @@ public interface ParameterDefinitionOrBuilder extends
    * 
* * .google.cloud.channel.v1.Value min_value = 3; + * * @return The minValue. */ com.google.cloud.channel.v1.Value getMinValue(); /** + * + * *
    * Minimal value of the parameter, if applicable. Inclusive. For example,
    * minimal commitment when purchasing Anthos is 0.01.
@@ -82,6 +117,8 @@ public interface ParameterDefinitionOrBuilder extends
   com.google.cloud.channel.v1.ValueOrBuilder getMinValueOrBuilder();
 
   /**
+   *
+   *
    * 
    * Maximum value of the parameter, if applicable. Inclusive. For example,
    * maximum seats when purchasing Google Workspace Business Standard.
@@ -89,10 +126,13 @@ public interface ParameterDefinitionOrBuilder extends
    * 
* * .google.cloud.channel.v1.Value max_value = 4; + * * @return Whether the maxValue field is set. */ boolean hasMaxValue(); /** + * + * *
    * Maximum value of the parameter, if applicable. Inclusive. For example,
    * maximum seats when purchasing Google Workspace Business Standard.
@@ -100,10 +140,13 @@ public interface ParameterDefinitionOrBuilder extends
    * 
* * .google.cloud.channel.v1.Value max_value = 4; + * * @return The maxValue. */ com.google.cloud.channel.v1.Value getMaxValue(); /** + * + * *
    * Maximum value of the parameter, if applicable. Inclusive. For example,
    * maximum seats when purchasing Google Workspace Business Standard.
@@ -115,6 +158,8 @@ public interface ParameterDefinitionOrBuilder extends
   com.google.cloud.channel.v1.ValueOrBuilder getMaxValueOrBuilder();
 
   /**
+   *
+   *
    * 
    * If not empty, parameter values must be drawn from this list.
    * For example, [us-west1, us-west2, ...]
@@ -123,9 +168,10 @@ public interface ParameterDefinitionOrBuilder extends
    *
    * repeated .google.cloud.channel.v1.Value allowed_values = 5;
    */
-  java.util.List 
-      getAllowedValuesList();
+  java.util.List getAllowedValuesList();
   /**
+   *
+   *
    * 
    * If not empty, parameter values must be drawn from this list.
    * For example, [us-west1, us-west2, ...]
@@ -136,6 +182,8 @@ public interface ParameterDefinitionOrBuilder extends
    */
   com.google.cloud.channel.v1.Value getAllowedValues(int index);
   /**
+   *
+   *
    * 
    * If not empty, parameter values must be drawn from this list.
    * For example, [us-west1, us-west2, ...]
@@ -146,6 +194,8 @@ public interface ParameterDefinitionOrBuilder extends
    */
   int getAllowedValuesCount();
   /**
+   *
+   *
    * 
    * If not empty, parameter values must be drawn from this list.
    * For example, [us-west1, us-west2, ...]
@@ -154,9 +204,11 @@ public interface ParameterDefinitionOrBuilder extends
    *
    * repeated .google.cloud.channel.v1.Value allowed_values = 5;
    */
-  java.util.List 
+  java.util.List
       getAllowedValuesOrBuilderList();
   /**
+   *
+   *
    * 
    * If not empty, parameter values must be drawn from this list.
    * For example, [us-west1, us-west2, ...]
@@ -165,15 +217,17 @@ public interface ParameterDefinitionOrBuilder extends
    *
    * repeated .google.cloud.channel.v1.Value allowed_values = 5;
    */
-  com.google.cloud.channel.v1.ValueOrBuilder getAllowedValuesOrBuilder(
-      int index);
+  com.google.cloud.channel.v1.ValueOrBuilder getAllowedValuesOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * If set to true, parameter is optional to purchase this Offer.
    * 
* * bool optional = 6; + * * @return The optional. */ boolean getOptional(); diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterOrBuilder.java similarity index 66% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterOrBuilder.java index fd5f23e3ae88..61c76ff1ef73 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ParameterOrBuilder.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/cloud/channel/v1/entitlements.proto package com.google.cloud.channel.v1; -public interface ParameterOrBuilder extends +public interface ParameterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Parameter) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of the parameter.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Name of the parameter.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Value of the parameter.
    * 
* * .google.cloud.channel.v1.Value value = 2; + * * @return Whether the value field is set. */ boolean hasValue(); /** + * + * *
    * Value of the parameter.
    * 
* * .google.cloud.channel.v1.Value value = 2; + * * @return The value. */ com.google.cloud.channel.v1.Value getValue(); /** + * + * *
    * Value of the parameter.
    * 
@@ -55,6 +84,8 @@ public interface ParameterOrBuilder extends com.google.cloud.channel.v1.ValueOrBuilder getValueOrBuilder(); /** + * + * *
    * Output only. Specifies whether this parameter is allowed to be changed. For
    * example, for a Google Workspace Business Starter entitlement in commitment
@@ -62,6 +93,7 @@ public interface ParameterOrBuilder extends
    * 
* * bool editable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The editable. */ boolean getEditable(); diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentPlan.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentPlan.java similarity index 68% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentPlan.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentPlan.java index 456fbda20591..494e3387d369 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentPlan.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentPlan.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/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; /** + * + * *
  * Describes how the reseller will be billed.
  * 
* * Protobuf enum {@code google.cloud.channel.v1.PaymentPlan} */ -public enum PaymentPlan - implements com.google.protobuf.ProtocolMessageEnum { +public enum PaymentPlan implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Not used.
    * 
@@ -21,6 +39,8 @@ public enum PaymentPlan */ PAYMENT_PLAN_UNSPECIFIED(0), /** + * + * *
    * Commitment.
    * 
@@ -29,6 +49,8 @@ public enum PaymentPlan */ COMMITMENT(1), /** + * + * *
    * No commitment.
    * 
@@ -37,6 +59,8 @@ public enum PaymentPlan */ FLEXIBLE(2), /** + * + * *
    * Free.
    * 
@@ -45,6 +69,8 @@ public enum PaymentPlan */ FREE(3), /** + * + * *
    * Trial.
    * 
@@ -53,6 +79,8 @@ public enum PaymentPlan */ TRIAL(4), /** + * + * *
    * Price and ordering not available through API.
    * 
@@ -64,6 +92,8 @@ public enum PaymentPlan ; /** + * + * *
    * Not used.
    * 
@@ -72,6 +102,8 @@ public enum PaymentPlan */ public static final int PAYMENT_PLAN_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Commitment.
    * 
@@ -80,6 +112,8 @@ public enum PaymentPlan */ public static final int COMMITMENT_VALUE = 1; /** + * + * *
    * No commitment.
    * 
@@ -88,6 +122,8 @@ public enum PaymentPlan */ public static final int FLEXIBLE_VALUE = 2; /** + * + * *
    * Free.
    * 
@@ -96,6 +132,8 @@ public enum PaymentPlan */ public static final int FREE_VALUE = 3; /** + * + * *
    * Trial.
    * 
@@ -104,6 +142,8 @@ public enum PaymentPlan */ public static final int TRIAL_VALUE = 4; /** + * + * *
    * Price and ordering not available through API.
    * 
@@ -112,7 +152,6 @@ public enum PaymentPlan */ public static final int OFFLINE_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -137,52 +176,55 @@ public static PaymentPlan valueOf(int value) { */ public static PaymentPlan forNumber(int value) { switch (value) { - case 0: return PAYMENT_PLAN_UNSPECIFIED; - case 1: return COMMITMENT; - case 2: return FLEXIBLE; - case 3: return FREE; - case 4: return TRIAL; - case 5: return OFFLINE; - default: return null; + case 0: + return PAYMENT_PLAN_UNSPECIFIED; + case 1: + return COMMITMENT; + case 2: + return FLEXIBLE; + case 3: + return FREE; + case 4: + return TRIAL; + case 5: + return OFFLINE; + 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< - PaymentPlan> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PaymentPlan findValueByNumber(int number) { - return PaymentPlan.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 PaymentPlan findValueByNumber(int number) { + return PaymentPlan.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.cloud.channel.v1.OffersProto.getDescriptor().getEnumTypes().get(1); } private static final PaymentPlan[] VALUES = values(); - public static PaymentPlan valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PaymentPlan valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -198,4 +240,3 @@ private PaymentPlan(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.channel.v1.PaymentPlan) } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentType.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentType.java similarity index 67% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentType.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentType.java index 32ef3aea6201..818f78b6311f 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentType.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PaymentType.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/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; /** + * + * *
  * Specifies when the payment needs to happen.
  * 
* * Protobuf enum {@code google.cloud.channel.v1.PaymentType} */ -public enum PaymentType - implements com.google.protobuf.ProtocolMessageEnum { +public enum PaymentType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Not used.
    * 
@@ -21,6 +39,8 @@ public enum PaymentType */ PAYMENT_TYPE_UNSPECIFIED(0), /** + * + * *
    * Prepay. Amount has to be paid before service is rendered.
    * 
@@ -29,6 +49,8 @@ public enum PaymentType */ PREPAY(1), /** + * + * *
    * Postpay. Reseller is charged at the end of the Payment cycle.
    * 
@@ -40,6 +62,8 @@ public enum PaymentType ; /** + * + * *
    * Not used.
    * 
@@ -48,6 +72,8 @@ public enum PaymentType */ public static final int PAYMENT_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Prepay. Amount has to be paid before service is rendered.
    * 
@@ -56,6 +82,8 @@ public enum PaymentType */ public static final int PREPAY_VALUE = 1; /** + * + * *
    * Postpay. Reseller is charged at the end of the Payment cycle.
    * 
@@ -64,7 +92,6 @@ public enum PaymentType */ public static final int POSTPAY_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -89,49 +116,49 @@ public static PaymentType valueOf(int value) { */ public static PaymentType forNumber(int value) { switch (value) { - case 0: return PAYMENT_TYPE_UNSPECIFIED; - case 1: return PREPAY; - case 2: return POSTPAY; - default: return null; + case 0: + return PAYMENT_TYPE_UNSPECIFIED; + case 1: + return PREPAY; + case 2: + return POSTPAY; + 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< - PaymentType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PaymentType findValueByNumber(int number) { - return PaymentType.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 PaymentType findValueByNumber(int number) { + return PaymentType.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.cloud.channel.v1.OffersProto.getDescriptor().getEnumTypes().get(2); } private static final PaymentType[] VALUES = values(); - public static PaymentType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PaymentType 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 PaymentType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.channel.v1.PaymentType) } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustment.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustment.java similarity index 69% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustment.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustment.java index 4d74627222cd..d081b812accf 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustment.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustment.java @@ -1,55 +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/cloud/channel/v1/repricing.proto package com.google.cloud.channel.v1; /** + * + * *
  * An adjustment that applies a flat markup or markdown to an entire bill.
  * 
* * Protobuf type {@code google.cloud.channel.v1.PercentageAdjustment} */ -public final class PercentageAdjustment extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PercentageAdjustment extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.PercentageAdjustment) PercentageAdjustmentOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PercentageAdjustment.newBuilder() to construct. private PercentageAdjustment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PercentageAdjustment() { - } + + private PercentageAdjustment() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PercentageAdjustment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_PercentageAdjustment_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.RepricingProto + .internal_static_google_cloud_channel_v1_PercentageAdjustment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_PercentageAdjustment_fieldAccessorTable + return com.google.cloud.channel.v1.RepricingProto + .internal_static_google_cloud_channel_v1_PercentageAdjustment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.PercentageAdjustment.class, com.google.cloud.channel.v1.PercentageAdjustment.Builder.class); + com.google.cloud.channel.v1.PercentageAdjustment.class, + com.google.cloud.channel.v1.PercentageAdjustment.Builder.class); } public static final int PERCENTAGE_FIELD_NUMBER = 2; private com.google.type.Decimal percentage_; /** + * + * *
    * The percentage of the bill to adjust.
    * For example:
@@ -59,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.type.Decimal percentage = 2; + * * @return Whether the percentage field is set. */ @java.lang.Override @@ -66,6 +87,8 @@ public boolean hasPercentage() { return percentage_ != null; } /** + * + * *
    * The percentage of the bill to adjust.
    * For example:
@@ -75,6 +98,7 @@ public boolean hasPercentage() {
    * 
* * .google.type.Decimal percentage = 2; + * * @return The percentage. */ @java.lang.Override @@ -82,6 +106,8 @@ public com.google.type.Decimal getPercentage() { return percentage_ == null ? com.google.type.Decimal.getDefaultInstance() : percentage_; } /** + * + * *
    * The percentage of the bill to adjust.
    * For example:
@@ -98,6 +124,7 @@ public com.google.type.DecimalOrBuilder getPercentageOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -109,8 +136,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (percentage_ != null) {
       output.writeMessage(2, getPercentage());
     }
@@ -124,8 +150,7 @@ public int getSerializedSize() {
 
     size = 0;
     if (percentage_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getPercentage());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPercentage());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -135,17 +160,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.cloud.channel.v1.PercentageAdjustment)) {
       return super.equals(obj);
     }
-    com.google.cloud.channel.v1.PercentageAdjustment other = (com.google.cloud.channel.v1.PercentageAdjustment) obj;
+    com.google.cloud.channel.v1.PercentageAdjustment other =
+        (com.google.cloud.channel.v1.PercentageAdjustment) obj;
 
     if (hasPercentage() != other.hasPercentage()) return false;
     if (hasPercentage()) {
-      if (!getPercentage()
-          .equals(other.getPercentage())) return false;
+      if (!getPercentage().equals(other.getPercentage())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -167,130 +192,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.channel.v1.PercentageAdjustment parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.channel.v1.PercentageAdjustment parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.channel.v1.PercentageAdjustment parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.PercentageAdjustment parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.channel.v1.PercentageAdjustment parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.PercentageAdjustment parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.channel.v1.PercentageAdjustment parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.channel.v1.PercentageAdjustment parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.channel.v1.PercentageAdjustment parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.channel.v1.PercentageAdjustment parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.channel.v1.PercentageAdjustment parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.channel.v1.PercentageAdjustment parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.channel.v1.PercentageAdjustment parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.PercentageAdjustment parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.channel.v1.PercentageAdjustment parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.channel.v1.PercentageAdjustment prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * An adjustment that applies a flat markup or markdown to an entire bill.
    * 
* * Protobuf type {@code google.cloud.channel.v1.PercentageAdjustment} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.PercentageAdjustment) com.google.cloud.channel.v1.PercentageAdjustmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_PercentageAdjustment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.RepricingProto + .internal_static_google_cloud_channel_v1_PercentageAdjustment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_PercentageAdjustment_fieldAccessorTable + return com.google.cloud.channel.v1.RepricingProto + .internal_static_google_cloud_channel_v1_PercentageAdjustment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.PercentageAdjustment.class, com.google.cloud.channel.v1.PercentageAdjustment.Builder.class); + com.google.cloud.channel.v1.PercentageAdjustment.class, + com.google.cloud.channel.v1.PercentageAdjustment.Builder.class); } // Construct using com.google.cloud.channel.v1.PercentageAdjustment.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -304,9 +335,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_PercentageAdjustment_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.RepricingProto + .internal_static_google_cloud_channel_v1_PercentageAdjustment_descriptor; } @java.lang.Override @@ -325,7 +356,8 @@ public com.google.cloud.channel.v1.PercentageAdjustment build() { @java.lang.Override public com.google.cloud.channel.v1.PercentageAdjustment buildPartial() { - com.google.cloud.channel.v1.PercentageAdjustment result = new com.google.cloud.channel.v1.PercentageAdjustment(this); + com.google.cloud.channel.v1.PercentageAdjustment result = + new com.google.cloud.channel.v1.PercentageAdjustment(this); if (percentageBuilder_ == null) { result.percentage_ = percentage_; } else { @@ -339,38 +371,39 @@ public com.google.cloud.channel.v1.PercentageAdjustment 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.cloud.channel.v1.PercentageAdjustment) { - return mergeFrom((com.google.cloud.channel.v1.PercentageAdjustment)other); + return mergeFrom((com.google.cloud.channel.v1.PercentageAdjustment) other); } else { super.mergeFrom(other); return this; @@ -378,7 +411,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.PercentageAdjustment other) { - if (other == com.google.cloud.channel.v1.PercentageAdjustment.getDefaultInstance()) return this; + if (other == com.google.cloud.channel.v1.PercentageAdjustment.getDefaultInstance()) + return this; if (other.hasPercentage()) { mergePercentage(other.getPercentage()); } @@ -408,19 +442,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - input.readMessage( - getPercentageFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + input.readMessage(getPercentageFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -433,8 +467,13 @@ public Builder mergeFrom( private com.google.type.Decimal percentage_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Decimal, com.google.type.Decimal.Builder, com.google.type.DecimalOrBuilder> percentageBuilder_; + com.google.type.Decimal, + com.google.type.Decimal.Builder, + com.google.type.DecimalOrBuilder> + percentageBuilder_; /** + * + * *
      * The percentage of the bill to adjust.
      * For example:
@@ -444,12 +483,15 @@ public Builder mergeFrom(
      * 
* * .google.type.Decimal percentage = 2; + * * @return Whether the percentage field is set. */ public boolean hasPercentage() { return percentageBuilder_ != null || percentage_ != null; } /** + * + * *
      * The percentage of the bill to adjust.
      * For example:
@@ -459,6 +501,7 @@ public boolean hasPercentage() {
      * 
* * .google.type.Decimal percentage = 2; + * * @return The percentage. */ public com.google.type.Decimal getPercentage() { @@ -469,6 +512,8 @@ public com.google.type.Decimal getPercentage() { } } /** + * + * *
      * The percentage of the bill to adjust.
      * For example:
@@ -493,6 +538,8 @@ public Builder setPercentage(com.google.type.Decimal value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The percentage of the bill to adjust.
      * For example:
@@ -503,8 +550,7 @@ public Builder setPercentage(com.google.type.Decimal value) {
      *
      * .google.type.Decimal percentage = 2;
      */
-    public Builder setPercentage(
-        com.google.type.Decimal.Builder builderForValue) {
+    public Builder setPercentage(com.google.type.Decimal.Builder builderForValue) {
       if (percentageBuilder_ == null) {
         percentage_ = builderForValue.build();
         onChanged();
@@ -515,6 +561,8 @@ public Builder setPercentage(
       return this;
     }
     /**
+     *
+     *
      * 
      * The percentage of the bill to adjust.
      * For example:
@@ -529,7 +577,7 @@ public Builder mergePercentage(com.google.type.Decimal value) {
       if (percentageBuilder_ == null) {
         if (percentage_ != null) {
           percentage_ =
-            com.google.type.Decimal.newBuilder(percentage_).mergeFrom(value).buildPartial();
+              com.google.type.Decimal.newBuilder(percentage_).mergeFrom(value).buildPartial();
         } else {
           percentage_ = value;
         }
@@ -541,6 +589,8 @@ public Builder mergePercentage(com.google.type.Decimal value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The percentage of the bill to adjust.
      * For example:
@@ -563,6 +613,8 @@ public Builder clearPercentage() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The percentage of the bill to adjust.
      * For example:
@@ -574,11 +626,13 @@ public Builder clearPercentage() {
      * .google.type.Decimal percentage = 2;
      */
     public com.google.type.Decimal.Builder getPercentageBuilder() {
-      
+
       onChanged();
       return getPercentageFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The percentage of the bill to adjust.
      * For example:
@@ -593,11 +647,12 @@ public com.google.type.DecimalOrBuilder getPercentageOrBuilder() {
       if (percentageBuilder_ != null) {
         return percentageBuilder_.getMessageOrBuilder();
       } else {
-        return percentage_ == null ?
-            com.google.type.Decimal.getDefaultInstance() : percentage_;
+        return percentage_ == null ? com.google.type.Decimal.getDefaultInstance() : percentage_;
       }
     }
     /**
+     *
+     *
      * 
      * The percentage of the bill to adjust.
      * For example:
@@ -609,21 +664,24 @@ public com.google.type.DecimalOrBuilder getPercentageOrBuilder() {
      * .google.type.Decimal percentage = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.Decimal, com.google.type.Decimal.Builder, com.google.type.DecimalOrBuilder> 
+            com.google.type.Decimal,
+            com.google.type.Decimal.Builder,
+            com.google.type.DecimalOrBuilder>
         getPercentageFieldBuilder() {
       if (percentageBuilder_ == null) {
-        percentageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Decimal, com.google.type.Decimal.Builder, com.google.type.DecimalOrBuilder>(
-                getPercentage(),
-                getParentForChildren(),
-                isClean());
+        percentageBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.type.Decimal,
+                com.google.type.Decimal.Builder,
+                com.google.type.DecimalOrBuilder>(
+                getPercentage(), getParentForChildren(), isClean());
         percentage_ = null;
       }
       return percentageBuilder_;
     }
+
     @java.lang.Override
-    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,12 +691,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.PercentageAdjustment)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.PercentageAdjustment)
   private static final com.google.cloud.channel.v1.PercentageAdjustment DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.channel.v1.PercentageAdjustment();
   }
@@ -647,27 +705,27 @@ public static com.google.cloud.channel.v1.PercentageAdjustment getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public PercentageAdjustment parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public PercentageAdjustment parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -682,6 +740,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.channel.v1.PercentageAdjustment getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustmentOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustmentOrBuilder.java
similarity index 64%
rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustmentOrBuilder.java
rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustmentOrBuilder.java
index 7252b2272a22..b29889601c02 100644
--- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustmentOrBuilder.java
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PercentageAdjustmentOrBuilder.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/cloud/channel/v1/repricing.proto
 
 package com.google.cloud.channel.v1;
 
-public interface PercentageAdjustmentOrBuilder extends
+public interface PercentageAdjustmentOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.PercentageAdjustment)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The percentage of the bill to adjust.
    * For example:
@@ -17,10 +35,13 @@ public interface PercentageAdjustmentOrBuilder extends
    * 
* * .google.type.Decimal percentage = 2; + * * @return Whether the percentage field is set. */ boolean hasPercentage(); /** + * + * *
    * The percentage of the bill to adjust.
    * For example:
@@ -30,10 +51,13 @@ public interface PercentageAdjustmentOrBuilder extends
    * 
* * .google.type.Decimal percentage = 2; + * * @return The percentage. */ com.google.type.Decimal getPercentage(); /** + * + * *
    * The percentage of the bill to adjust.
    * For example:
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Period.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Period.java
similarity index 66%
rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Period.java
rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Period.java
index efd78c1f2107..84583c20bc8b 100644
--- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Period.java
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Period.java
@@ -1,61 +1,83 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/channel/v1/offers.proto
 
 package com.google.cloud.channel.v1;
 
 /**
+ *
+ *
  * 
  * Represents period in days/months/years.
  * 
* * Protobuf type {@code google.cloud.channel.v1.Period} */ -public final class Period extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Period extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.Period) PeriodOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Period.newBuilder() to construct. private Period(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Period() { periodType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Period(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Period_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.OffersProto + .internal_static_google_cloud_channel_v1_Period_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Period_fieldAccessorTable + return com.google.cloud.channel.v1.OffersProto + .internal_static_google_cloud_channel_v1_Period_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Period.class, com.google.cloud.channel.v1.Period.Builder.class); + com.google.cloud.channel.v1.Period.class, + com.google.cloud.channel.v1.Period.Builder.class); } public static final int DURATION_FIELD_NUMBER = 1; private int duration_; /** + * + * *
    * Total duration of Period Type defined.
    * 
* * int32 duration = 1; + * * @return The duration. */ @java.lang.Override @@ -66,31 +88,41 @@ public int getDuration() { public static final int PERIOD_TYPE_FIELD_NUMBER = 2; private int periodType_; /** + * + * *
    * Period Type.
    * 
* * .google.cloud.channel.v1.PeriodType period_type = 2; + * * @return The enum numeric value on the wire for periodType. */ - @java.lang.Override public int getPeriodTypeValue() { + @java.lang.Override + public int getPeriodTypeValue() { return periodType_; } /** + * + * *
    * Period Type.
    * 
* * .google.cloud.channel.v1.PeriodType period_type = 2; + * * @return The periodType. */ - @java.lang.Override public com.google.cloud.channel.v1.PeriodType getPeriodType() { + @java.lang.Override + public com.google.cloud.channel.v1.PeriodType getPeriodType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.PeriodType result = com.google.cloud.channel.v1.PeriodType.valueOf(periodType_); + com.google.cloud.channel.v1.PeriodType result = + com.google.cloud.channel.v1.PeriodType.valueOf(periodType_); return result == null ? com.google.cloud.channel.v1.PeriodType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -102,8 +134,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (duration_ != 0) { output.writeInt32(1, duration_); } @@ -120,12 +151,10 @@ public int getSerializedSize() { size = 0; if (duration_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, duration_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, duration_); } if (periodType_ != com.google.cloud.channel.v1.PeriodType.PERIOD_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, periodType_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, periodType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -135,15 +164,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.cloud.channel.v1.Period)) { return super.equals(obj); } com.google.cloud.channel.v1.Period other = (com.google.cloud.channel.v1.Period) obj; - if (getDuration() - != other.getDuration()) return false; + if (getDuration() != other.getDuration()) return false; if (periodType_ != other.periodType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -165,130 +193,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.Period parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.Period parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Period parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Period parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.channel.v1.Period parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Period parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.Period parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Period parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.Period 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.cloud.channel.v1.Period parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.Period parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.Period parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.Period parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.Period parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.Period prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents period in days/months/years.
    * 
* * Protobuf type {@code google.cloud.channel.v1.Period} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.Period) com.google.cloud.channel.v1.PeriodOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Period_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.OffersProto + .internal_static_google_cloud_channel_v1_Period_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Period_fieldAccessorTable + return com.google.cloud.channel.v1.OffersProto + .internal_static_google_cloud_channel_v1_Period_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Period.class, com.google.cloud.channel.v1.Period.Builder.class); + com.google.cloud.channel.v1.Period.class, + com.google.cloud.channel.v1.Period.Builder.class); } // Construct using com.google.cloud.channel.v1.Period.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -300,9 +333,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Period_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.OffersProto + .internal_static_google_cloud_channel_v1_Period_descriptor; } @java.lang.Override @@ -332,38 +365,39 @@ public com.google.cloud.channel.v1.Period 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.cloud.channel.v1.Period) { - return mergeFrom((com.google.cloud.channel.v1.Period)other); + return mergeFrom((com.google.cloud.channel.v1.Period) other); } else { super.mergeFrom(other); return this; @@ -404,22 +438,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - duration_ = input.readInt32(); - - break; - } // case 8 - case 16: { - periodType_ = input.readEnum(); - - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + duration_ = input.readInt32(); + + break; + } // case 8 + case 16: + { + periodType_ = input.readEnum(); + + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -430,13 +467,16 @@ public Builder mergeFrom( return this; } - private int duration_ ; + private int duration_; /** + * + * *
      * Total duration of Period Type defined.
      * 
* * int32 duration = 1; + * * @return The duration. */ @java.lang.Override @@ -444,30 +484,36 @@ public int getDuration() { return duration_; } /** + * + * *
      * Total duration of Period Type defined.
      * 
* * int32 duration = 1; + * * @param value The duration to set. * @return This builder for chaining. */ public Builder setDuration(int value) { - + duration_ = value; onChanged(); return this; } /** + * + * *
      * Total duration of Period Type defined.
      * 
* * int32 duration = 1; + * * @return This builder for chaining. */ public Builder clearDuration() { - + duration_ = 0; onChanged(); return this; @@ -475,51 +521,65 @@ public Builder clearDuration() { private int periodType_ = 0; /** + * + * *
      * Period Type.
      * 
* * .google.cloud.channel.v1.PeriodType period_type = 2; + * * @return The enum numeric value on the wire for periodType. */ - @java.lang.Override public int getPeriodTypeValue() { + @java.lang.Override + public int getPeriodTypeValue() { return periodType_; } /** + * + * *
      * Period Type.
      * 
* * .google.cloud.channel.v1.PeriodType period_type = 2; + * * @param value The enum numeric value on the wire for periodType to set. * @return This builder for chaining. */ public Builder setPeriodTypeValue(int value) { - + periodType_ = value; onChanged(); return this; } /** + * + * *
      * Period Type.
      * 
* * .google.cloud.channel.v1.PeriodType period_type = 2; + * * @return The periodType. */ @java.lang.Override public com.google.cloud.channel.v1.PeriodType getPeriodType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.PeriodType result = com.google.cloud.channel.v1.PeriodType.valueOf(periodType_); + com.google.cloud.channel.v1.PeriodType result = + com.google.cloud.channel.v1.PeriodType.valueOf(periodType_); return result == null ? com.google.cloud.channel.v1.PeriodType.UNRECOGNIZED : result; } /** + * + * *
      * Period Type.
      * 
* * .google.cloud.channel.v1.PeriodType period_type = 2; + * * @param value The periodType to set. * @return This builder for chaining. */ @@ -527,28 +587,31 @@ public Builder setPeriodType(com.google.cloud.channel.v1.PeriodType value) { if (value == null) { throw new NullPointerException(); } - + periodType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Period Type.
      * 
* * .google.cloud.channel.v1.PeriodType period_type = 2; + * * @return This builder for chaining. */ public Builder clearPeriodType() { - + periodType_ = 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); } @@ -558,12 +621,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.Period) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.Period) private static final com.google.cloud.channel.v1.Period DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.Period(); } @@ -572,27 +635,27 @@ public static com.google.cloud.channel.v1.Period getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Period parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Period parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -607,6 +670,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Period getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodOrBuilder.java similarity index 56% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodOrBuilder.java index 807a4b336645..4a687c5f0c46 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodOrBuilder.java @@ -1,37 +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/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; -public interface PeriodOrBuilder extends +public interface PeriodOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Period) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Total duration of Period Type defined.
    * 
* * int32 duration = 1; + * * @return The duration. */ int getDuration(); /** + * + * *
    * Period Type.
    * 
* * .google.cloud.channel.v1.PeriodType period_type = 2; + * * @return The enum numeric value on the wire for periodType. */ int getPeriodTypeValue(); /** + * + * *
    * Period Type.
    * 
* * .google.cloud.channel.v1.PeriodType period_type = 2; + * * @return The periodType. */ com.google.cloud.channel.v1.PeriodType getPeriodType(); diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodType.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodType.java similarity index 66% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodType.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodType.java index 3a403c68dccb..3ce621558cdb 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodType.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PeriodType.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/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; /** + * + * *
  * Period Type.
  * 
* * Protobuf enum {@code google.cloud.channel.v1.PeriodType} */ -public enum PeriodType - implements com.google.protobuf.ProtocolMessageEnum { +public enum PeriodType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Not used.
    * 
@@ -21,6 +39,8 @@ public enum PeriodType */ PERIOD_TYPE_UNSPECIFIED(0), /** + * + * *
    * Day.
    * 
@@ -29,6 +49,8 @@ public enum PeriodType */ DAY(1), /** + * + * *
    * Month.
    * 
@@ -37,6 +59,8 @@ public enum PeriodType */ MONTH(2), /** + * + * *
    * Year.
    * 
@@ -48,6 +72,8 @@ public enum PeriodType ; /** + * + * *
    * Not used.
    * 
@@ -56,6 +82,8 @@ public enum PeriodType */ public static final int PERIOD_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Day.
    * 
@@ -64,6 +92,8 @@ public enum PeriodType */ public static final int DAY_VALUE = 1; /** + * + * *
    * Month.
    * 
@@ -72,6 +102,8 @@ public enum PeriodType */ public static final int MONTH_VALUE = 2; /** + * + * *
    * Year.
    * 
@@ -80,7 +112,6 @@ public enum PeriodType */ public static final int YEAR_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -105,50 +136,51 @@ public static PeriodType valueOf(int value) { */ public static PeriodType forNumber(int value) { switch (value) { - case 0: return PERIOD_TYPE_UNSPECIFIED; - case 1: return DAY; - case 2: return MONTH; - case 3: return YEAR; - default: return null; + case 0: + return PERIOD_TYPE_UNSPECIFIED; + case 1: + return DAY; + case 2: + return MONTH; + case 3: + return YEAR; + 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< - PeriodType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PeriodType findValueByNumber(int number) { - return PeriodType.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 PeriodType findValueByNumber(int number) { + return PeriodType.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.cloud.channel.v1.OffersProto.getDescriptor().getEnumTypes().get(4); } private static final PeriodType[] VALUES = values(); - public static PeriodType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PeriodType 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 PeriodType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.channel.v1.PeriodType) } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Plan.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Plan.java similarity index 73% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Plan.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Plan.java index 5ccdd876dd37..34a31e58ed36 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Plan.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Plan.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/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; /** + * + * *
  * The payment plan for the Offer. Describes how to make a payment.
  * 
* * Protobuf type {@code google.cloud.channel.v1.Plan} */ -public final class Plan extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Plan extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.Plan) PlanOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Plan.newBuilder() to construct. private Plan(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Plan() { paymentPlan_ = 0; paymentType_ = 0; @@ -27,25 +45,25 @@ private Plan() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Plan(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Plan_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.OffersProto + .internal_static_google_cloud_channel_v1_Plan_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Plan_fieldAccessorTable + return com.google.cloud.channel.v1.OffersProto + .internal_static_google_cloud_channel_v1_Plan_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.channel.v1.Plan.class, com.google.cloud.channel.v1.Plan.Builder.class); } @@ -53,66 +71,87 @@ protected java.lang.Object newInstance( public static final int PAYMENT_PLAN_FIELD_NUMBER = 1; private int paymentPlan_; /** + * + * *
    * Describes how a reseller will be billed.
    * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 1; + * * @return The enum numeric value on the wire for paymentPlan. */ - @java.lang.Override public int getPaymentPlanValue() { + @java.lang.Override + public int getPaymentPlanValue() { return paymentPlan_; } /** + * + * *
    * Describes how a reseller will be billed.
    * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 1; + * * @return The paymentPlan. */ - @java.lang.Override public com.google.cloud.channel.v1.PaymentPlan getPaymentPlan() { + @java.lang.Override + public com.google.cloud.channel.v1.PaymentPlan getPaymentPlan() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.PaymentPlan result = com.google.cloud.channel.v1.PaymentPlan.valueOf(paymentPlan_); + com.google.cloud.channel.v1.PaymentPlan result = + com.google.cloud.channel.v1.PaymentPlan.valueOf(paymentPlan_); return result == null ? com.google.cloud.channel.v1.PaymentPlan.UNRECOGNIZED : result; } public static final int PAYMENT_TYPE_FIELD_NUMBER = 2; private int paymentType_; /** + * + * *
    * Specifies when the payment needs to happen.
    * 
* * .google.cloud.channel.v1.PaymentType payment_type = 2; + * * @return The enum numeric value on the wire for paymentType. */ - @java.lang.Override public int getPaymentTypeValue() { + @java.lang.Override + public int getPaymentTypeValue() { return paymentType_; } /** + * + * *
    * Specifies when the payment needs to happen.
    * 
* * .google.cloud.channel.v1.PaymentType payment_type = 2; + * * @return The paymentType. */ - @java.lang.Override public com.google.cloud.channel.v1.PaymentType getPaymentType() { + @java.lang.Override + public com.google.cloud.channel.v1.PaymentType getPaymentType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.PaymentType result = com.google.cloud.channel.v1.PaymentType.valueOf(paymentType_); + com.google.cloud.channel.v1.PaymentType result = + com.google.cloud.channel.v1.PaymentType.valueOf(paymentType_); return result == null ? com.google.cloud.channel.v1.PaymentType.UNRECOGNIZED : result; } public static final int PAYMENT_CYCLE_FIELD_NUMBER = 3; private com.google.cloud.channel.v1.Period paymentCycle_; /** + * + * *
    * Describes how frequently the reseller will be billed, such as
    * once per month.
    * 
* * .google.cloud.channel.v1.Period payment_cycle = 3; + * * @return Whether the paymentCycle field is set. */ @java.lang.Override @@ -120,19 +159,26 @@ public boolean hasPaymentCycle() { return paymentCycle_ != null; } /** + * + * *
    * Describes how frequently the reseller will be billed, such as
    * once per month.
    * 
* * .google.cloud.channel.v1.Period payment_cycle = 3; + * * @return The paymentCycle. */ @java.lang.Override public com.google.cloud.channel.v1.Period getPaymentCycle() { - return paymentCycle_ == null ? com.google.cloud.channel.v1.Period.getDefaultInstance() : paymentCycle_; + return paymentCycle_ == null + ? com.google.cloud.channel.v1.Period.getDefaultInstance() + : paymentCycle_; } /** + * + * *
    * Describes how frequently the reseller will be billed, such as
    * once per month.
@@ -148,6 +194,8 @@ public com.google.cloud.channel.v1.PeriodOrBuilder getPaymentCycleOrBuilder() {
   public static final int TRIAL_PERIOD_FIELD_NUMBER = 4;
   private com.google.cloud.channel.v1.Period trialPeriod_;
   /**
+   *
+   *
    * 
    * Present for Offers with a trial period.
    * For trial-only Offers, a paid service needs to start before the trial
@@ -158,6 +206,7 @@ public com.google.cloud.channel.v1.PeriodOrBuilder getPaymentCycleOrBuilder() {
    * 
* * .google.cloud.channel.v1.Period trial_period = 4; + * * @return Whether the trialPeriod field is set. */ @java.lang.Override @@ -165,6 +214,8 @@ public boolean hasTrialPeriod() { return trialPeriod_ != null; } /** + * + * *
    * Present for Offers with a trial period.
    * For trial-only Offers, a paid service needs to start before the trial
@@ -175,13 +226,18 @@ public boolean hasTrialPeriod() {
    * 
* * .google.cloud.channel.v1.Period trial_period = 4; + * * @return The trialPeriod. */ @java.lang.Override public com.google.cloud.channel.v1.Period getTrialPeriod() { - return trialPeriod_ == null ? com.google.cloud.channel.v1.Period.getDefaultInstance() : trialPeriod_; + return trialPeriod_ == null + ? com.google.cloud.channel.v1.Period.getDefaultInstance() + : trialPeriod_; } /** + * + * *
    * Present for Offers with a trial period.
    * For trial-only Offers, a paid service needs to start before the trial
@@ -201,12 +257,15 @@ public com.google.cloud.channel.v1.PeriodOrBuilder getTrialPeriodOrBuilder() {
   public static final int BILLING_ACCOUNT_FIELD_NUMBER = 5;
   private volatile java.lang.Object billingAccount_;
   /**
+   *
+   *
    * 
    * Reseller Billing account to charge after an offer transaction.
    * Only present for Google Cloud Platform offers.
    * 
* * string billing_account = 5; + * * @return The billingAccount. */ @java.lang.Override @@ -215,30 +274,30 @@ public java.lang.String getBillingAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); billingAccount_ = s; return s; } } /** + * + * *
    * Reseller Billing account to charge after an offer transaction.
    * Only present for Google Cloud Platform offers.
    * 
* * string billing_account = 5; + * * @return The bytes for billingAccount. */ @java.lang.Override - public com.google.protobuf.ByteString - getBillingAccountBytes() { + public com.google.protobuf.ByteString getBillingAccountBytes() { java.lang.Object ref = billingAccount_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); billingAccount_ = b; return b; } else { @@ -247,6 +306,7 @@ public java.lang.String getBillingAccount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -258,12 +318,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (paymentPlan_ != com.google.cloud.channel.v1.PaymentPlan.PAYMENT_PLAN_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (paymentPlan_ + != com.google.cloud.channel.v1.PaymentPlan.PAYMENT_PLAN_UNSPECIFIED.getNumber()) { output.writeEnum(1, paymentPlan_); } - if (paymentType_ != com.google.cloud.channel.v1.PaymentType.PAYMENT_TYPE_UNSPECIFIED.getNumber()) { + if (paymentType_ + != com.google.cloud.channel.v1.PaymentType.PAYMENT_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, paymentType_); } if (paymentCycle_ != null) { @@ -284,21 +345,19 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (paymentPlan_ != com.google.cloud.channel.v1.PaymentPlan.PAYMENT_PLAN_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, paymentPlan_); + if (paymentPlan_ + != com.google.cloud.channel.v1.PaymentPlan.PAYMENT_PLAN_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, paymentPlan_); } - if (paymentType_ != com.google.cloud.channel.v1.PaymentType.PAYMENT_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, paymentType_); + if (paymentType_ + != com.google.cloud.channel.v1.PaymentType.PAYMENT_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, paymentType_); } if (paymentCycle_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getPaymentCycle()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPaymentCycle()); } if (trialPeriod_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getTrialPeriod()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getTrialPeriod()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(billingAccount_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, billingAccount_); @@ -311,7 +370,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.Plan)) { return super.equals(obj); @@ -322,16 +381,13 @@ public boolean equals(final java.lang.Object obj) { if (paymentType_ != other.paymentType_) return false; if (hasPaymentCycle() != other.hasPaymentCycle()) return false; if (hasPaymentCycle()) { - if (!getPaymentCycle() - .equals(other.getPaymentCycle())) return false; + if (!getPaymentCycle().equals(other.getPaymentCycle())) return false; } if (hasTrialPeriod() != other.hasTrialPeriod()) return false; if (hasTrialPeriod()) { - if (!getTrialPeriod() - .equals(other.getTrialPeriod())) return false; + if (!getTrialPeriod().equals(other.getTrialPeriod())) return false; } - if (!getBillingAccount() - .equals(other.getBillingAccount())) return false; + if (!getBillingAccount().equals(other.getBillingAccount())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -362,130 +418,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.Plan parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.Plan parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Plan parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Plan parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.channel.v1.Plan parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Plan parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.Plan parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Plan parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.Plan 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.cloud.channel.v1.Plan parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.Plan parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.Plan parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.Plan parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.Plan parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.Plan prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The payment plan for the Offer. Describes how to make a payment.
    * 
* * Protobuf type {@code google.cloud.channel.v1.Plan} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.Plan) com.google.cloud.channel.v1.PlanOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Plan_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.OffersProto + .internal_static_google_cloud_channel_v1_Plan_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Plan_fieldAccessorTable + return com.google.cloud.channel.v1.OffersProto + .internal_static_google_cloud_channel_v1_Plan_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Plan.class, com.google.cloud.channel.v1.Plan.Builder.class); + com.google.cloud.channel.v1.Plan.class, + com.google.cloud.channel.v1.Plan.Builder.class); } // Construct using com.google.cloud.channel.v1.Plan.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -511,9 +572,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Plan_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.OffersProto + .internal_static_google_cloud_channel_v1_Plan_descriptor; } @java.lang.Override @@ -554,38 +615,39 @@ public com.google.cloud.channel.v1.Plan 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.cloud.channel.v1.Plan) { - return mergeFrom((com.google.cloud.channel.v1.Plan)other); + return mergeFrom((com.google.cloud.channel.v1.Plan) other); } else { super.mergeFrom(other); return this; @@ -636,41 +698,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - paymentPlan_ = input.readEnum(); - - break; - } // case 8 - case 16: { - paymentType_ = input.readEnum(); - - break; - } // case 16 - case 26: { - input.readMessage( - getPaymentCycleFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - case 34: { - input.readMessage( - getTrialPeriodFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 34 - case 42: { - billingAccount_ = input.readStringRequireUtf8(); - - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + paymentPlan_ = input.readEnum(); + + break; + } // case 8 + case 16: + { + paymentType_ = input.readEnum(); + + break; + } // case 16 + case 26: + { + input.readMessage(getPaymentCycleFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + case 34: + { + input.readMessage(getTrialPeriodFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 34 + case 42: + { + billingAccount_ = input.readStringRequireUtf8(); + + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -683,51 +747,65 @@ public Builder mergeFrom( private int paymentPlan_ = 0; /** + * + * *
      * Describes how a reseller will be billed.
      * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 1; + * * @return The enum numeric value on the wire for paymentPlan. */ - @java.lang.Override public int getPaymentPlanValue() { + @java.lang.Override + public int getPaymentPlanValue() { return paymentPlan_; } /** + * + * *
      * Describes how a reseller will be billed.
      * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 1; + * * @param value The enum numeric value on the wire for paymentPlan to set. * @return This builder for chaining. */ public Builder setPaymentPlanValue(int value) { - + paymentPlan_ = value; onChanged(); return this; } /** + * + * *
      * Describes how a reseller will be billed.
      * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 1; + * * @return The paymentPlan. */ @java.lang.Override public com.google.cloud.channel.v1.PaymentPlan getPaymentPlan() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.PaymentPlan result = com.google.cloud.channel.v1.PaymentPlan.valueOf(paymentPlan_); + com.google.cloud.channel.v1.PaymentPlan result = + com.google.cloud.channel.v1.PaymentPlan.valueOf(paymentPlan_); return result == null ? com.google.cloud.channel.v1.PaymentPlan.UNRECOGNIZED : result; } /** + * + * *
      * Describes how a reseller will be billed.
      * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 1; + * * @param value The paymentPlan to set. * @return This builder for chaining. */ @@ -735,21 +813,24 @@ public Builder setPaymentPlan(com.google.cloud.channel.v1.PaymentPlan value) { if (value == null) { throw new NullPointerException(); } - + paymentPlan_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Describes how a reseller will be billed.
      * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 1; + * * @return This builder for chaining. */ public Builder clearPaymentPlan() { - + paymentPlan_ = 0; onChanged(); return this; @@ -757,51 +838,65 @@ public Builder clearPaymentPlan() { private int paymentType_ = 0; /** + * + * *
      * Specifies when the payment needs to happen.
      * 
* * .google.cloud.channel.v1.PaymentType payment_type = 2; + * * @return The enum numeric value on the wire for paymentType. */ - @java.lang.Override public int getPaymentTypeValue() { + @java.lang.Override + public int getPaymentTypeValue() { return paymentType_; } /** + * + * *
      * Specifies when the payment needs to happen.
      * 
* * .google.cloud.channel.v1.PaymentType payment_type = 2; + * * @param value The enum numeric value on the wire for paymentType to set. * @return This builder for chaining. */ public Builder setPaymentTypeValue(int value) { - + paymentType_ = value; onChanged(); return this; } /** + * + * *
      * Specifies when the payment needs to happen.
      * 
* * .google.cloud.channel.v1.PaymentType payment_type = 2; + * * @return The paymentType. */ @java.lang.Override public com.google.cloud.channel.v1.PaymentType getPaymentType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.PaymentType result = com.google.cloud.channel.v1.PaymentType.valueOf(paymentType_); + com.google.cloud.channel.v1.PaymentType result = + com.google.cloud.channel.v1.PaymentType.valueOf(paymentType_); return result == null ? com.google.cloud.channel.v1.PaymentType.UNRECOGNIZED : result; } /** + * + * *
      * Specifies when the payment needs to happen.
      * 
* * .google.cloud.channel.v1.PaymentType payment_type = 2; + * * @param value The paymentType to set. * @return This builder for chaining. */ @@ -809,21 +904,24 @@ public Builder setPaymentType(com.google.cloud.channel.v1.PaymentType value) { if (value == null) { throw new NullPointerException(); } - + paymentType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Specifies when the payment needs to happen.
      * 
* * .google.cloud.channel.v1.PaymentType payment_type = 2; + * * @return This builder for chaining. */ public Builder clearPaymentType() { - + paymentType_ = 0; onChanged(); return this; @@ -831,36 +929,49 @@ public Builder clearPaymentType() { private com.google.cloud.channel.v1.Period paymentCycle_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Period, com.google.cloud.channel.v1.Period.Builder, com.google.cloud.channel.v1.PeriodOrBuilder> paymentCycleBuilder_; + com.google.cloud.channel.v1.Period, + com.google.cloud.channel.v1.Period.Builder, + com.google.cloud.channel.v1.PeriodOrBuilder> + paymentCycleBuilder_; /** + * + * *
      * Describes how frequently the reseller will be billed, such as
      * once per month.
      * 
* * .google.cloud.channel.v1.Period payment_cycle = 3; + * * @return Whether the paymentCycle field is set. */ public boolean hasPaymentCycle() { return paymentCycleBuilder_ != null || paymentCycle_ != null; } /** + * + * *
      * Describes how frequently the reseller will be billed, such as
      * once per month.
      * 
* * .google.cloud.channel.v1.Period payment_cycle = 3; + * * @return The paymentCycle. */ public com.google.cloud.channel.v1.Period getPaymentCycle() { if (paymentCycleBuilder_ == null) { - return paymentCycle_ == null ? com.google.cloud.channel.v1.Period.getDefaultInstance() : paymentCycle_; + return paymentCycle_ == null + ? com.google.cloud.channel.v1.Period.getDefaultInstance() + : paymentCycle_; } else { return paymentCycleBuilder_.getMessage(); } } /** + * + * *
      * Describes how frequently the reseller will be billed, such as
      * once per month.
@@ -882,6 +993,8 @@ public Builder setPaymentCycle(com.google.cloud.channel.v1.Period value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes how frequently the reseller will be billed, such as
      * once per month.
@@ -889,8 +1002,7 @@ public Builder setPaymentCycle(com.google.cloud.channel.v1.Period value) {
      *
      * .google.cloud.channel.v1.Period payment_cycle = 3;
      */
-    public Builder setPaymentCycle(
-        com.google.cloud.channel.v1.Period.Builder builderForValue) {
+    public Builder setPaymentCycle(com.google.cloud.channel.v1.Period.Builder builderForValue) {
       if (paymentCycleBuilder_ == null) {
         paymentCycle_ = builderForValue.build();
         onChanged();
@@ -901,6 +1013,8 @@ public Builder setPaymentCycle(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes how frequently the reseller will be billed, such as
      * once per month.
@@ -912,7 +1026,9 @@ public Builder mergePaymentCycle(com.google.cloud.channel.v1.Period value) {
       if (paymentCycleBuilder_ == null) {
         if (paymentCycle_ != null) {
           paymentCycle_ =
-            com.google.cloud.channel.v1.Period.newBuilder(paymentCycle_).mergeFrom(value).buildPartial();
+              com.google.cloud.channel.v1.Period.newBuilder(paymentCycle_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           paymentCycle_ = value;
         }
@@ -924,6 +1040,8 @@ public Builder mergePaymentCycle(com.google.cloud.channel.v1.Period value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes how frequently the reseller will be billed, such as
      * once per month.
@@ -943,6 +1061,8 @@ public Builder clearPaymentCycle() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes how frequently the reseller will be billed, such as
      * once per month.
@@ -951,11 +1071,13 @@ public Builder clearPaymentCycle() {
      * .google.cloud.channel.v1.Period payment_cycle = 3;
      */
     public com.google.cloud.channel.v1.Period.Builder getPaymentCycleBuilder() {
-      
+
       onChanged();
       return getPaymentCycleFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Describes how frequently the reseller will be billed, such as
      * once per month.
@@ -967,11 +1089,14 @@ public com.google.cloud.channel.v1.PeriodOrBuilder getPaymentCycleOrBuilder() {
       if (paymentCycleBuilder_ != null) {
         return paymentCycleBuilder_.getMessageOrBuilder();
       } else {
-        return paymentCycle_ == null ?
-            com.google.cloud.channel.v1.Period.getDefaultInstance() : paymentCycle_;
+        return paymentCycle_ == null
+            ? com.google.cloud.channel.v1.Period.getDefaultInstance()
+            : paymentCycle_;
       }
     }
     /**
+     *
+     *
      * 
      * Describes how frequently the reseller will be billed, such as
      * once per month.
@@ -980,14 +1105,17 @@ public com.google.cloud.channel.v1.PeriodOrBuilder getPaymentCycleOrBuilder() {
      * .google.cloud.channel.v1.Period payment_cycle = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.channel.v1.Period, com.google.cloud.channel.v1.Period.Builder, com.google.cloud.channel.v1.PeriodOrBuilder> 
+            com.google.cloud.channel.v1.Period,
+            com.google.cloud.channel.v1.Period.Builder,
+            com.google.cloud.channel.v1.PeriodOrBuilder>
         getPaymentCycleFieldBuilder() {
       if (paymentCycleBuilder_ == null) {
-        paymentCycleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.channel.v1.Period, com.google.cloud.channel.v1.Period.Builder, com.google.cloud.channel.v1.PeriodOrBuilder>(
-                getPaymentCycle(),
-                getParentForChildren(),
-                isClean());
+        paymentCycleBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.channel.v1.Period,
+                com.google.cloud.channel.v1.Period.Builder,
+                com.google.cloud.channel.v1.PeriodOrBuilder>(
+                getPaymentCycle(), getParentForChildren(), isClean());
         paymentCycle_ = null;
       }
       return paymentCycleBuilder_;
@@ -995,8 +1123,13 @@ public com.google.cloud.channel.v1.PeriodOrBuilder getPaymentCycleOrBuilder() {
 
     private com.google.cloud.channel.v1.Period trialPeriod_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.channel.v1.Period, com.google.cloud.channel.v1.Period.Builder, com.google.cloud.channel.v1.PeriodOrBuilder> trialPeriodBuilder_;
+            com.google.cloud.channel.v1.Period,
+            com.google.cloud.channel.v1.Period.Builder,
+            com.google.cloud.channel.v1.PeriodOrBuilder>
+        trialPeriodBuilder_;
     /**
+     *
+     *
      * 
      * Present for Offers with a trial period.
      * For trial-only Offers, a paid service needs to start before the trial
@@ -1007,12 +1140,15 @@ public com.google.cloud.channel.v1.PeriodOrBuilder getPaymentCycleOrBuilder() {
      * 
* * .google.cloud.channel.v1.Period trial_period = 4; + * * @return Whether the trialPeriod field is set. */ public boolean hasTrialPeriod() { return trialPeriodBuilder_ != null || trialPeriod_ != null; } /** + * + * *
      * Present for Offers with a trial period.
      * For trial-only Offers, a paid service needs to start before the trial
@@ -1023,16 +1159,21 @@ public boolean hasTrialPeriod() {
      * 
* * .google.cloud.channel.v1.Period trial_period = 4; + * * @return The trialPeriod. */ public com.google.cloud.channel.v1.Period getTrialPeriod() { if (trialPeriodBuilder_ == null) { - return trialPeriod_ == null ? com.google.cloud.channel.v1.Period.getDefaultInstance() : trialPeriod_; + return trialPeriod_ == null + ? com.google.cloud.channel.v1.Period.getDefaultInstance() + : trialPeriod_; } else { return trialPeriodBuilder_.getMessage(); } } /** + * + * *
      * Present for Offers with a trial period.
      * For trial-only Offers, a paid service needs to start before the trial
@@ -1058,6 +1199,8 @@ public Builder setTrialPeriod(com.google.cloud.channel.v1.Period value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Present for Offers with a trial period.
      * For trial-only Offers, a paid service needs to start before the trial
@@ -1069,8 +1212,7 @@ public Builder setTrialPeriod(com.google.cloud.channel.v1.Period value) {
      *
      * .google.cloud.channel.v1.Period trial_period = 4;
      */
-    public Builder setTrialPeriod(
-        com.google.cloud.channel.v1.Period.Builder builderForValue) {
+    public Builder setTrialPeriod(com.google.cloud.channel.v1.Period.Builder builderForValue) {
       if (trialPeriodBuilder_ == null) {
         trialPeriod_ = builderForValue.build();
         onChanged();
@@ -1081,6 +1223,8 @@ public Builder setTrialPeriod(
       return this;
     }
     /**
+     *
+     *
      * 
      * Present for Offers with a trial period.
      * For trial-only Offers, a paid service needs to start before the trial
@@ -1096,7 +1240,9 @@ public Builder mergeTrialPeriod(com.google.cloud.channel.v1.Period value) {
       if (trialPeriodBuilder_ == null) {
         if (trialPeriod_ != null) {
           trialPeriod_ =
-            com.google.cloud.channel.v1.Period.newBuilder(trialPeriod_).mergeFrom(value).buildPartial();
+              com.google.cloud.channel.v1.Period.newBuilder(trialPeriod_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           trialPeriod_ = value;
         }
@@ -1108,6 +1254,8 @@ public Builder mergeTrialPeriod(com.google.cloud.channel.v1.Period value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Present for Offers with a trial period.
      * For trial-only Offers, a paid service needs to start before the trial
@@ -1131,6 +1279,8 @@ public Builder clearTrialPeriod() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Present for Offers with a trial period.
      * For trial-only Offers, a paid service needs to start before the trial
@@ -1143,11 +1293,13 @@ public Builder clearTrialPeriod() {
      * .google.cloud.channel.v1.Period trial_period = 4;
      */
     public com.google.cloud.channel.v1.Period.Builder getTrialPeriodBuilder() {
-      
+
       onChanged();
       return getTrialPeriodFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Present for Offers with a trial period.
      * For trial-only Offers, a paid service needs to start before the trial
@@ -1163,11 +1315,14 @@ public com.google.cloud.channel.v1.PeriodOrBuilder getTrialPeriodOrBuilder() {
       if (trialPeriodBuilder_ != null) {
         return trialPeriodBuilder_.getMessageOrBuilder();
       } else {
-        return trialPeriod_ == null ?
-            com.google.cloud.channel.v1.Period.getDefaultInstance() : trialPeriod_;
+        return trialPeriod_ == null
+            ? com.google.cloud.channel.v1.Period.getDefaultInstance()
+            : trialPeriod_;
       }
     }
     /**
+     *
+     *
      * 
      * Present for Offers with a trial period.
      * For trial-only Offers, a paid service needs to start before the trial
@@ -1180,14 +1335,17 @@ public com.google.cloud.channel.v1.PeriodOrBuilder getTrialPeriodOrBuilder() {
      * .google.cloud.channel.v1.Period trial_period = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.channel.v1.Period, com.google.cloud.channel.v1.Period.Builder, com.google.cloud.channel.v1.PeriodOrBuilder> 
+            com.google.cloud.channel.v1.Period,
+            com.google.cloud.channel.v1.Period.Builder,
+            com.google.cloud.channel.v1.PeriodOrBuilder>
         getTrialPeriodFieldBuilder() {
       if (trialPeriodBuilder_ == null) {
-        trialPeriodBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.channel.v1.Period, com.google.cloud.channel.v1.Period.Builder, com.google.cloud.channel.v1.PeriodOrBuilder>(
-                getTrialPeriod(),
-                getParentForChildren(),
-                isClean());
+        trialPeriodBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.channel.v1.Period,
+                com.google.cloud.channel.v1.Period.Builder,
+                com.google.cloud.channel.v1.PeriodOrBuilder>(
+                getTrialPeriod(), getParentForChildren(), isClean());
         trialPeriod_ = null;
       }
       return trialPeriodBuilder_;
@@ -1195,19 +1353,21 @@ public com.google.cloud.channel.v1.PeriodOrBuilder getTrialPeriodOrBuilder() {
 
     private java.lang.Object billingAccount_ = "";
     /**
+     *
+     *
      * 
      * Reseller Billing account to charge after an offer transaction.
      * Only present for Google Cloud Platform offers.
      * 
* * string billing_account = 5; + * * @return The billingAccount. */ public java.lang.String getBillingAccount() { java.lang.Object ref = billingAccount_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); billingAccount_ = s; return s; @@ -1216,21 +1376,22 @@ public java.lang.String getBillingAccount() { } } /** + * + * *
      * Reseller Billing account to charge after an offer transaction.
      * Only present for Google Cloud Platform offers.
      * 
* * string billing_account = 5; + * * @return The bytes for billingAccount. */ - public com.google.protobuf.ByteString - getBillingAccountBytes() { + public com.google.protobuf.ByteString getBillingAccountBytes() { java.lang.Object ref = billingAccount_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); billingAccount_ = b; return b; } else { @@ -1238,64 +1399,71 @@ public java.lang.String getBillingAccount() { } } /** + * + * *
      * Reseller Billing account to charge after an offer transaction.
      * Only present for Google Cloud Platform offers.
      * 
* * string billing_account = 5; + * * @param value The billingAccount to set. * @return This builder for chaining. */ - public Builder setBillingAccount( - java.lang.String value) { + public Builder setBillingAccount(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + billingAccount_ = value; onChanged(); return this; } /** + * + * *
      * Reseller Billing account to charge after an offer transaction.
      * Only present for Google Cloud Platform offers.
      * 
* * string billing_account = 5; + * * @return This builder for chaining. */ public Builder clearBillingAccount() { - + billingAccount_ = getDefaultInstance().getBillingAccount(); onChanged(); return this; } /** + * + * *
      * Reseller Billing account to charge after an offer transaction.
      * Only present for Google Cloud Platform offers.
      * 
* * string billing_account = 5; + * * @param value The bytes for billingAccount to set. * @return This builder for chaining. */ - public Builder setBillingAccountBytes( - com.google.protobuf.ByteString value) { + public Builder setBillingAccountBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + billingAccount_ = 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); } @@ -1305,12 +1473,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.Plan) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.Plan) private static final com.google.cloud.channel.v1.Plan DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.Plan(); } @@ -1319,27 +1487,27 @@ public static com.google.cloud.channel.v1.Plan getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Plan parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Plan parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1354,6 +1522,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Plan getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PlanOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PlanOrBuilder.java similarity index 83% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PlanOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PlanOrBuilder.java index 2604af096991..c353af6846b8 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PlanOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PlanOrBuilder.java @@ -1,71 +1,107 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; -public interface PlanOrBuilder extends +public interface PlanOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Plan) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Describes how a reseller will be billed.
    * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 1; + * * @return The enum numeric value on the wire for paymentPlan. */ int getPaymentPlanValue(); /** + * + * *
    * Describes how a reseller will be billed.
    * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 1; + * * @return The paymentPlan. */ com.google.cloud.channel.v1.PaymentPlan getPaymentPlan(); /** + * + * *
    * Specifies when the payment needs to happen.
    * 
* * .google.cloud.channel.v1.PaymentType payment_type = 2; + * * @return The enum numeric value on the wire for paymentType. */ int getPaymentTypeValue(); /** + * + * *
    * Specifies when the payment needs to happen.
    * 
* * .google.cloud.channel.v1.PaymentType payment_type = 2; + * * @return The paymentType. */ com.google.cloud.channel.v1.PaymentType getPaymentType(); /** + * + * *
    * Describes how frequently the reseller will be billed, such as
    * once per month.
    * 
* * .google.cloud.channel.v1.Period payment_cycle = 3; + * * @return Whether the paymentCycle field is set. */ boolean hasPaymentCycle(); /** + * + * *
    * Describes how frequently the reseller will be billed, such as
    * once per month.
    * 
* * .google.cloud.channel.v1.Period payment_cycle = 3; + * * @return The paymentCycle. */ com.google.cloud.channel.v1.Period getPaymentCycle(); /** + * + * *
    * Describes how frequently the reseller will be billed, such as
    * once per month.
@@ -76,6 +112,8 @@ public interface PlanOrBuilder extends
   com.google.cloud.channel.v1.PeriodOrBuilder getPaymentCycleOrBuilder();
 
   /**
+   *
+   *
    * 
    * Present for Offers with a trial period.
    * For trial-only Offers, a paid service needs to start before the trial
@@ -86,10 +124,13 @@ public interface PlanOrBuilder extends
    * 
* * .google.cloud.channel.v1.Period trial_period = 4; + * * @return Whether the trialPeriod field is set. */ boolean hasTrialPeriod(); /** + * + * *
    * Present for Offers with a trial period.
    * For trial-only Offers, a paid service needs to start before the trial
@@ -100,10 +141,13 @@ public interface PlanOrBuilder extends
    * 
* * .google.cloud.channel.v1.Period trial_period = 4; + * * @return The trialPeriod. */ com.google.cloud.channel.v1.Period getTrialPeriod(); /** + * + * *
    * Present for Offers with a trial period.
    * For trial-only Offers, a paid service needs to start before the trial
@@ -118,24 +162,29 @@ public interface PlanOrBuilder extends
   com.google.cloud.channel.v1.PeriodOrBuilder getTrialPeriodOrBuilder();
 
   /**
+   *
+   *
    * 
    * Reseller Billing account to charge after an offer transaction.
    * Only present for Google Cloud Platform offers.
    * 
* * string billing_account = 5; + * * @return The billingAccount. */ java.lang.String getBillingAccount(); /** + * + * *
    * Reseller Billing account to charge after an offer transaction.
    * Only present for Google Cloud Platform offers.
    * 
* * string billing_account = 5; + * * @return The bytes for billingAccount. */ - com.google.protobuf.ByteString - getBillingAccountBytes(); + com.google.protobuf.ByteString getBillingAccountBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Price.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Price.java similarity index 71% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Price.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Price.java index 5502abea007b..96406b9bc2ee 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Price.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Price.java @@ -1,61 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; /** + * + * *
  * Represents the price of the Offer.
  * 
* * Protobuf type {@code google.cloud.channel.v1.Price} */ -public final class Price extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Price extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.Price) PriceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Price.newBuilder() to construct. private Price(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Price() { externalPriceUri_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Price(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Price_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.OffersProto + .internal_static_google_cloud_channel_v1_Price_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Price_fieldAccessorTable + return com.google.cloud.channel.v1.OffersProto + .internal_static_google_cloud_channel_v1_Price_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Price.class, com.google.cloud.channel.v1.Price.Builder.class); + com.google.cloud.channel.v1.Price.class, + com.google.cloud.channel.v1.Price.Builder.class); } public static final int BASE_PRICE_FIELD_NUMBER = 1; private com.google.type.Money basePrice_; /** + * + * *
    * Base price.
    * 
* * .google.type.Money base_price = 1; + * * @return Whether the basePrice field is set. */ @java.lang.Override @@ -63,11 +85,14 @@ public boolean hasBasePrice() { return basePrice_ != null; } /** + * + * *
    * Base price.
    * 
* * .google.type.Money base_price = 1; + * * @return The basePrice. */ @java.lang.Override @@ -75,6 +100,8 @@ public com.google.type.Money getBasePrice() { return basePrice_ == null ? com.google.type.Money.getDefaultInstance() : basePrice_; } /** + * + * *
    * Base price.
    * 
@@ -89,12 +116,15 @@ public com.google.type.MoneyOrBuilder getBasePriceOrBuilder() { public static final int DISCOUNT_FIELD_NUMBER = 2; private double discount_; /** + * + * *
    * Discount percentage, represented as decimal.
    * For example, a 20% discount will be represent as 0.2.
    * 
* * double discount = 2; + * * @return The discount. */ @java.lang.Override @@ -105,11 +135,14 @@ public double getDiscount() { public static final int EFFECTIVE_PRICE_FIELD_NUMBER = 3; private com.google.type.Money effectivePrice_; /** + * + * *
    * Effective Price after applying the discounts.
    * 
* * .google.type.Money effective_price = 3; + * * @return Whether the effectivePrice field is set. */ @java.lang.Override @@ -117,11 +150,14 @@ public boolean hasEffectivePrice() { return effectivePrice_ != null; } /** + * + * *
    * Effective Price after applying the discounts.
    * 
* * .google.type.Money effective_price = 3; + * * @return The effectivePrice. */ @java.lang.Override @@ -129,6 +165,8 @@ public com.google.type.Money getEffectivePrice() { return effectivePrice_ == null ? com.google.type.Money.getDefaultInstance() : effectivePrice_; } /** + * + * *
    * Effective Price after applying the discounts.
    * 
@@ -143,11 +181,14 @@ public com.google.type.MoneyOrBuilder getEffectivePriceOrBuilder() { public static final int EXTERNAL_PRICE_URI_FIELD_NUMBER = 4; private volatile java.lang.Object externalPriceUri_; /** + * + * *
    * Link to external price list, such as link to Google Voice rate card.
    * 
* * string external_price_uri = 4; + * * @return The externalPriceUri. */ @java.lang.Override @@ -156,29 +197,29 @@ public java.lang.String getExternalPriceUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalPriceUri_ = s; return s; } } /** + * + * *
    * Link to external price list, such as link to Google Voice rate card.
    * 
* * string external_price_uri = 4; + * * @return The bytes for externalPriceUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getExternalPriceUriBytes() { + public com.google.protobuf.ByteString getExternalPriceUriBytes() { java.lang.Object ref = externalPriceUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); externalPriceUri_ = b; return b; } else { @@ -187,6 +228,7 @@ public java.lang.String getExternalPriceUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -198,8 +240,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (basePrice_ != null) { output.writeMessage(1, getBasePrice()); } @@ -222,16 +263,13 @@ public int getSerializedSize() { size = 0; if (basePrice_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getBasePrice()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBasePrice()); } if (java.lang.Double.doubleToRawLongBits(discount_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(2, discount_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, discount_); } if (effectivePrice_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getEffectivePrice()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEffectivePrice()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(externalPriceUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, externalPriceUri_); @@ -244,7 +282,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.Price)) { return super.equals(obj); @@ -253,19 +291,15 @@ public boolean equals(final java.lang.Object obj) { if (hasBasePrice() != other.hasBasePrice()) return false; if (hasBasePrice()) { - if (!getBasePrice() - .equals(other.getBasePrice())) return false; + if (!getBasePrice().equals(other.getBasePrice())) return false; } if (java.lang.Double.doubleToLongBits(getDiscount()) - != java.lang.Double.doubleToLongBits( - other.getDiscount())) return false; + != java.lang.Double.doubleToLongBits(other.getDiscount())) return false; if (hasEffectivePrice() != other.hasEffectivePrice()) return false; if (hasEffectivePrice()) { - if (!getEffectivePrice() - .equals(other.getEffectivePrice())) return false; + if (!getEffectivePrice().equals(other.getEffectivePrice())) return false; } - if (!getExternalPriceUri() - .equals(other.getExternalPriceUri())) return false; + if (!getExternalPriceUri().equals(other.getExternalPriceUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -282,8 +316,10 @@ public int hashCode() { hash = (53 * hash) + getBasePrice().hashCode(); } hash = (37 * hash) + DISCOUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDiscount())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDiscount())); if (hasEffectivePrice()) { hash = (37 * hash) + EFFECTIVE_PRICE_FIELD_NUMBER; hash = (53 * hash) + getEffectivePrice().hashCode(); @@ -295,130 +331,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.Price parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.Price parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Price parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Price parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.channel.v1.Price parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Price parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.Price parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Price parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.Price 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.cloud.channel.v1.Price parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.Price parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.Price parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.Price parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.Price parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.Price prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents the price of the Offer.
    * 
* * Protobuf type {@code google.cloud.channel.v1.Price} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.Price) com.google.cloud.channel.v1.PriceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Price_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.OffersProto + .internal_static_google_cloud_channel_v1_Price_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Price_fieldAccessorTable + return com.google.cloud.channel.v1.OffersProto + .internal_static_google_cloud_channel_v1_Price_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Price.class, com.google.cloud.channel.v1.Price.Builder.class); + com.google.cloud.channel.v1.Price.class, + com.google.cloud.channel.v1.Price.Builder.class); } // Construct using com.google.cloud.channel.v1.Price.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -442,9 +483,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_Price_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.OffersProto + .internal_static_google_cloud_channel_v1_Price_descriptor; } @java.lang.Override @@ -484,38 +525,39 @@ public com.google.cloud.channel.v1.Price 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.cloud.channel.v1.Price) { - return mergeFrom((com.google.cloud.channel.v1.Price)other); + return mergeFrom((com.google.cloud.channel.v1.Price) other); } else { super.mergeFrom(other); return this; @@ -563,36 +605,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getBasePriceFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage(getBasePriceFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 17: { - discount_ = input.readDouble(); + break; + } // case 10 + case 17: + { + discount_ = input.readDouble(); - break; - } // case 17 - case 26: { - input.readMessage( - getEffectivePriceFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 17 + case 26: + { + input.readMessage(getEffectivePriceFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - case 34: { - externalPriceUri_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: + { + externalPriceUri_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -605,24 +648,31 @@ public Builder mergeFrom( private com.google.type.Money basePrice_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> basePriceBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + basePriceBuilder_; /** + * + * *
      * Base price.
      * 
* * .google.type.Money base_price = 1; + * * @return Whether the basePrice field is set. */ public boolean hasBasePrice() { return basePriceBuilder_ != null || basePrice_ != null; } /** + * + * *
      * Base price.
      * 
* * .google.type.Money base_price = 1; + * * @return The basePrice. */ public com.google.type.Money getBasePrice() { @@ -633,6 +683,8 @@ public com.google.type.Money getBasePrice() { } } /** + * + * *
      * Base price.
      * 
@@ -653,14 +705,15 @@ public Builder setBasePrice(com.google.type.Money value) { return this; } /** + * + * *
      * Base price.
      * 
* * .google.type.Money base_price = 1; */ - public Builder setBasePrice( - com.google.type.Money.Builder builderForValue) { + public Builder setBasePrice(com.google.type.Money.Builder builderForValue) { if (basePriceBuilder_ == null) { basePrice_ = builderForValue.build(); onChanged(); @@ -671,6 +724,8 @@ public Builder setBasePrice( return this; } /** + * + * *
      * Base price.
      * 
@@ -680,8 +735,7 @@ public Builder setBasePrice( public Builder mergeBasePrice(com.google.type.Money value) { if (basePriceBuilder_ == null) { if (basePrice_ != null) { - basePrice_ = - com.google.type.Money.newBuilder(basePrice_).mergeFrom(value).buildPartial(); + basePrice_ = com.google.type.Money.newBuilder(basePrice_).mergeFrom(value).buildPartial(); } else { basePrice_ = value; } @@ -693,6 +747,8 @@ public Builder mergeBasePrice(com.google.type.Money value) { return this; } /** + * + * *
      * Base price.
      * 
@@ -711,6 +767,8 @@ public Builder clearBasePrice() { return this; } /** + * + * *
      * Base price.
      * 
@@ -718,11 +776,13 @@ public Builder clearBasePrice() { * .google.type.Money base_price = 1; */ public com.google.type.Money.Builder getBasePriceBuilder() { - + onChanged(); return getBasePriceFieldBuilder().getBuilder(); } /** + * + * *
      * Base price.
      * 
@@ -733,11 +793,12 @@ public com.google.type.MoneyOrBuilder getBasePriceOrBuilder() { if (basePriceBuilder_ != null) { return basePriceBuilder_.getMessageOrBuilder(); } else { - return basePrice_ == null ? - com.google.type.Money.getDefaultInstance() : basePrice_; + return basePrice_ == null ? com.google.type.Money.getDefaultInstance() : basePrice_; } } /** + * + * *
      * Base price.
      * 
@@ -745,27 +806,30 @@ public com.google.type.MoneyOrBuilder getBasePriceOrBuilder() { * .google.type.Money base_price = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> getBasePriceFieldBuilder() { if (basePriceBuilder_ == null) { - basePriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>( - getBasePrice(), - getParentForChildren(), - isClean()); + basePriceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Money, + com.google.type.Money.Builder, + com.google.type.MoneyOrBuilder>(getBasePrice(), getParentForChildren(), isClean()); basePrice_ = null; } return basePriceBuilder_; } - private double discount_ ; + private double discount_; /** + * + * *
      * Discount percentage, represented as decimal.
      * For example, a 20% discount will be represent as 0.2.
      * 
* * double discount = 2; + * * @return The discount. */ @java.lang.Override @@ -773,32 +837,38 @@ public double getDiscount() { return discount_; } /** + * + * *
      * Discount percentage, represented as decimal.
      * For example, a 20% discount will be represent as 0.2.
      * 
* * double discount = 2; + * * @param value The discount to set. * @return This builder for chaining. */ public Builder setDiscount(double value) { - + discount_ = value; onChanged(); return this; } /** + * + * *
      * Discount percentage, represented as decimal.
      * For example, a 20% discount will be represent as 0.2.
      * 
* * double discount = 2; + * * @return This builder for chaining. */ public Builder clearDiscount() { - + discount_ = 0D; onChanged(); return this; @@ -806,34 +876,45 @@ public Builder clearDiscount() { private com.google.type.Money effectivePrice_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> effectivePriceBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + effectivePriceBuilder_; /** + * + * *
      * Effective Price after applying the discounts.
      * 
* * .google.type.Money effective_price = 3; + * * @return Whether the effectivePrice field is set. */ public boolean hasEffectivePrice() { return effectivePriceBuilder_ != null || effectivePrice_ != null; } /** + * + * *
      * Effective Price after applying the discounts.
      * 
* * .google.type.Money effective_price = 3; + * * @return The effectivePrice. */ public com.google.type.Money getEffectivePrice() { if (effectivePriceBuilder_ == null) { - return effectivePrice_ == null ? com.google.type.Money.getDefaultInstance() : effectivePrice_; + return effectivePrice_ == null + ? com.google.type.Money.getDefaultInstance() + : effectivePrice_; } else { return effectivePriceBuilder_.getMessage(); } } /** + * + * *
      * Effective Price after applying the discounts.
      * 
@@ -854,14 +935,15 @@ public Builder setEffectivePrice(com.google.type.Money value) { return this; } /** + * + * *
      * Effective Price after applying the discounts.
      * 
* * .google.type.Money effective_price = 3; */ - public Builder setEffectivePrice( - com.google.type.Money.Builder builderForValue) { + public Builder setEffectivePrice(com.google.type.Money.Builder builderForValue) { if (effectivePriceBuilder_ == null) { effectivePrice_ = builderForValue.build(); onChanged(); @@ -872,6 +954,8 @@ public Builder setEffectivePrice( return this; } /** + * + * *
      * Effective Price after applying the discounts.
      * 
@@ -882,7 +966,7 @@ public Builder mergeEffectivePrice(com.google.type.Money value) { if (effectivePriceBuilder_ == null) { if (effectivePrice_ != null) { effectivePrice_ = - com.google.type.Money.newBuilder(effectivePrice_).mergeFrom(value).buildPartial(); + com.google.type.Money.newBuilder(effectivePrice_).mergeFrom(value).buildPartial(); } else { effectivePrice_ = value; } @@ -894,6 +978,8 @@ public Builder mergeEffectivePrice(com.google.type.Money value) { return this; } /** + * + * *
      * Effective Price after applying the discounts.
      * 
@@ -912,6 +998,8 @@ public Builder clearEffectivePrice() { return this; } /** + * + * *
      * Effective Price after applying the discounts.
      * 
@@ -919,11 +1007,13 @@ public Builder clearEffectivePrice() { * .google.type.Money effective_price = 3; */ public com.google.type.Money.Builder getEffectivePriceBuilder() { - + onChanged(); return getEffectivePriceFieldBuilder().getBuilder(); } /** + * + * *
      * Effective Price after applying the discounts.
      * 
@@ -934,11 +1024,14 @@ public com.google.type.MoneyOrBuilder getEffectivePriceOrBuilder() { if (effectivePriceBuilder_ != null) { return effectivePriceBuilder_.getMessageOrBuilder(); } else { - return effectivePrice_ == null ? - com.google.type.Money.getDefaultInstance() : effectivePrice_; + return effectivePrice_ == null + ? com.google.type.Money.getDefaultInstance() + : effectivePrice_; } } /** + * + * *
      * Effective Price after applying the discounts.
      * 
@@ -946,14 +1039,15 @@ public com.google.type.MoneyOrBuilder getEffectivePriceOrBuilder() { * .google.type.Money effective_price = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> getEffectivePriceFieldBuilder() { if (effectivePriceBuilder_ == null) { - effectivePriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>( - getEffectivePrice(), - getParentForChildren(), - isClean()); + effectivePriceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Money, + com.google.type.Money.Builder, + com.google.type.MoneyOrBuilder>( + getEffectivePrice(), getParentForChildren(), isClean()); effectivePrice_ = null; } return effectivePriceBuilder_; @@ -961,18 +1055,20 @@ public com.google.type.MoneyOrBuilder getEffectivePriceOrBuilder() { private java.lang.Object externalPriceUri_ = ""; /** + * + * *
      * Link to external price list, such as link to Google Voice rate card.
      * 
* * string external_price_uri = 4; + * * @return The externalPriceUri. */ public java.lang.String getExternalPriceUri() { java.lang.Object ref = externalPriceUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalPriceUri_ = s; return s; @@ -981,20 +1077,21 @@ public java.lang.String getExternalPriceUri() { } } /** + * + * *
      * Link to external price list, such as link to Google Voice rate card.
      * 
* * string external_price_uri = 4; + * * @return The bytes for externalPriceUri. */ - public com.google.protobuf.ByteString - getExternalPriceUriBytes() { + public com.google.protobuf.ByteString getExternalPriceUriBytes() { java.lang.Object ref = externalPriceUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); externalPriceUri_ = b; return b; } else { @@ -1002,61 +1099,68 @@ public java.lang.String getExternalPriceUri() { } } /** + * + * *
      * Link to external price list, such as link to Google Voice rate card.
      * 
* * string external_price_uri = 4; + * * @param value The externalPriceUri to set. * @return This builder for chaining. */ - public Builder setExternalPriceUri( - java.lang.String value) { + public Builder setExternalPriceUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + externalPriceUri_ = value; onChanged(); return this; } /** + * + * *
      * Link to external price list, such as link to Google Voice rate card.
      * 
* * string external_price_uri = 4; + * * @return This builder for chaining. */ public Builder clearExternalPriceUri() { - + externalPriceUri_ = getDefaultInstance().getExternalPriceUri(); onChanged(); return this; } /** + * + * *
      * Link to external price list, such as link to Google Voice rate card.
      * 
* * string external_price_uri = 4; + * * @param value The bytes for externalPriceUri to set. * @return This builder for chaining. */ - public Builder setExternalPriceUriBytes( - com.google.protobuf.ByteString value) { + public Builder setExternalPriceUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + externalPriceUri_ = 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); } @@ -1066,12 +1170,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.Price) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.Price) private static final com.google.cloud.channel.v1.Price DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.Price(); } @@ -1080,27 +1184,27 @@ public static com.google.cloud.channel.v1.Price getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Price parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Price parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1115,6 +1219,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Price getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResource.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResource.java similarity index 72% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResource.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResource.java index e137a6adaff3..4a8d8b6511a0 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResource.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResource.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/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; /** + * + * *
  * Represents price by resource type.
  * 
* * Protobuf type {@code google.cloud.channel.v1.PriceByResource} */ -public final class PriceByResource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PriceByResource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.PriceByResource) PriceByResourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PriceByResource.newBuilder() to construct. private PriceByResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PriceByResource() { resourceType_ = 0; pricePhases_ = java.util.Collections.emptyList(); @@ -26,64 +44,77 @@ private PriceByResource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PriceByResource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_PriceByResource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.OffersProto + .internal_static_google_cloud_channel_v1_PriceByResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_PriceByResource_fieldAccessorTable + return com.google.cloud.channel.v1.OffersProto + .internal_static_google_cloud_channel_v1_PriceByResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.PriceByResource.class, com.google.cloud.channel.v1.PriceByResource.Builder.class); + com.google.cloud.channel.v1.PriceByResource.class, + com.google.cloud.channel.v1.PriceByResource.Builder.class); } public static final int RESOURCE_TYPE_FIELD_NUMBER = 1; private int resourceType_; /** + * + * *
    * Resource Type. Example: SEAT
    * 
* * .google.cloud.channel.v1.ResourceType resource_type = 1; + * * @return The enum numeric value on the wire for resourceType. */ - @java.lang.Override public int getResourceTypeValue() { + @java.lang.Override + public int getResourceTypeValue() { return resourceType_; } /** + * + * *
    * Resource Type. Example: SEAT
    * 
* * .google.cloud.channel.v1.ResourceType resource_type = 1; + * * @return The resourceType. */ - @java.lang.Override public com.google.cloud.channel.v1.ResourceType getResourceType() { + @java.lang.Override + public com.google.cloud.channel.v1.ResourceType getResourceType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.ResourceType result = com.google.cloud.channel.v1.ResourceType.valueOf(resourceType_); + com.google.cloud.channel.v1.ResourceType result = + com.google.cloud.channel.v1.ResourceType.valueOf(resourceType_); return result == null ? com.google.cloud.channel.v1.ResourceType.UNRECOGNIZED : result; } public static final int PRICE_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.Price price_; /** + * + * *
    * Price of the Offer. Present if there are no price phases.
    * 
* * .google.cloud.channel.v1.Price price = 2; + * * @return Whether the price field is set. */ @java.lang.Override @@ -91,11 +122,14 @@ public boolean hasPrice() { return price_ != null; } /** + * + * *
    * Price of the Offer. Present if there are no price phases.
    * 
* * .google.cloud.channel.v1.Price price = 2; + * * @return The price. */ @java.lang.Override @@ -103,6 +137,8 @@ public com.google.cloud.channel.v1.Price getPrice() { return price_ == null ? com.google.cloud.channel.v1.Price.getDefaultInstance() : price_; } /** + * + * *
    * Price of the Offer. Present if there are no price phases.
    * 
@@ -117,6 +153,8 @@ public com.google.cloud.channel.v1.PriceOrBuilder getPriceOrBuilder() { public static final int PRICE_PHASES_FIELD_NUMBER = 3; private java.util.List pricePhases_; /** + * + * *
    * Specifies the price by time range.
    * 
@@ -128,6 +166,8 @@ public java.util.List getPricePhasesList return pricePhases_; } /** + * + * *
    * Specifies the price by time range.
    * 
@@ -135,11 +175,13 @@ public java.util.List getPricePhasesList * repeated .google.cloud.channel.v1.PricePhase price_phases = 3; */ @java.lang.Override - public java.util.List + public java.util.List getPricePhasesOrBuilderList() { return pricePhases_; } /** + * + * *
    * Specifies the price by time range.
    * 
@@ -151,6 +193,8 @@ public int getPricePhasesCount() { return pricePhases_.size(); } /** + * + * *
    * Specifies the price by time range.
    * 
@@ -162,6 +206,8 @@ public com.google.cloud.channel.v1.PricePhase getPricePhases(int index) { return pricePhases_.get(index); } /** + * + * *
    * Specifies the price by time range.
    * 
@@ -169,12 +215,12 @@ public com.google.cloud.channel.v1.PricePhase getPricePhases(int index) { * repeated .google.cloud.channel.v1.PricePhase price_phases = 3; */ @java.lang.Override - public com.google.cloud.channel.v1.PricePhaseOrBuilder getPricePhasesOrBuilder( - int index) { + public com.google.cloud.channel.v1.PricePhaseOrBuilder getPricePhasesOrBuilder(int index) { return pricePhases_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -186,9 +232,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (resourceType_ != com.google.cloud.channel.v1.ResourceType.RESOURCE_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (resourceType_ + != com.google.cloud.channel.v1.ResourceType.RESOURCE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, resourceType_); } if (price_ != null) { @@ -206,17 +252,15 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (resourceType_ != com.google.cloud.channel.v1.ResourceType.RESOURCE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, resourceType_); + if (resourceType_ + != com.google.cloud.channel.v1.ResourceType.RESOURCE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, resourceType_); } if (price_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getPrice()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPrice()); } for (int i = 0; i < pricePhases_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, pricePhases_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, pricePhases_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -226,21 +270,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.cloud.channel.v1.PriceByResource)) { return super.equals(obj); } - com.google.cloud.channel.v1.PriceByResource other = (com.google.cloud.channel.v1.PriceByResource) obj; + com.google.cloud.channel.v1.PriceByResource other = + (com.google.cloud.channel.v1.PriceByResource) obj; if (resourceType_ != other.resourceType_) return false; if (hasPrice() != other.hasPrice()) return false; if (hasPrice()) { - if (!getPrice() - .equals(other.getPrice())) return false; + if (!getPrice().equals(other.getPrice())) return false; } - if (!getPricePhasesList() - .equals(other.getPricePhasesList())) return false; + if (!getPricePhasesList().equals(other.getPricePhasesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -267,130 +310,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.PriceByResource parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.PriceByResource parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.PriceByResource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.PriceByResource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.PriceByResource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.PriceByResource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.PriceByResource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.PriceByResource 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.cloud.channel.v1.PriceByResource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.PriceByResource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.PriceByResource parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.PriceByResource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.PriceByResource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.PriceByResource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.PriceByResource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents price by resource type.
    * 
* * Protobuf type {@code google.cloud.channel.v1.PriceByResource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.PriceByResource) com.google.cloud.channel.v1.PriceByResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_PriceByResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.OffersProto + .internal_static_google_cloud_channel_v1_PriceByResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_PriceByResource_fieldAccessorTable + return com.google.cloud.channel.v1.OffersProto + .internal_static_google_cloud_channel_v1_PriceByResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.PriceByResource.class, com.google.cloud.channel.v1.PriceByResource.Builder.class); + com.google.cloud.channel.v1.PriceByResource.class, + com.google.cloud.channel.v1.PriceByResource.Builder.class); } // Construct using com.google.cloud.channel.v1.PriceByResource.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -413,9 +462,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_PriceByResource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.OffersProto + .internal_static_google_cloud_channel_v1_PriceByResource_descriptor; } @java.lang.Override @@ -434,7 +483,8 @@ public com.google.cloud.channel.v1.PriceByResource build() { @java.lang.Override public com.google.cloud.channel.v1.PriceByResource buildPartial() { - com.google.cloud.channel.v1.PriceByResource result = new com.google.cloud.channel.v1.PriceByResource(this); + com.google.cloud.channel.v1.PriceByResource result = + new com.google.cloud.channel.v1.PriceByResource(this); int from_bitField0_ = bitField0_; result.resourceType_ = resourceType_; if (priceBuilder_ == null) { @@ -459,38 +509,39 @@ public com.google.cloud.channel.v1.PriceByResource 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.cloud.channel.v1.PriceByResource) { - return mergeFrom((com.google.cloud.channel.v1.PriceByResource)other); + return mergeFrom((com.google.cloud.channel.v1.PriceByResource) other); } else { super.mergeFrom(other); return this; @@ -523,9 +574,10 @@ public Builder mergeFrom(com.google.cloud.channel.v1.PriceByResource other) { pricePhasesBuilder_ = null; pricePhases_ = other.pricePhases_; bitField0_ = (bitField0_ & ~0x00000001); - pricePhasesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPricePhasesFieldBuilder() : null; + pricePhasesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPricePhasesFieldBuilder() + : null; } else { pricePhasesBuilder_.addAllMessages(other.pricePhases_); } @@ -557,37 +609,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - resourceType_ = input.readEnum(); + case 8: + { + resourceType_ = input.readEnum(); - break; - } // case 8 - case 18: { - input.readMessage( - getPriceFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 8 + case 18: + { + input.readMessage(getPriceFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - case 26: { - com.google.cloud.channel.v1.PricePhase m = - input.readMessage( - com.google.cloud.channel.v1.PricePhase.parser(), - extensionRegistry); - if (pricePhasesBuilder_ == null) { - ensurePricePhasesIsMutable(); - pricePhases_.add(m); - } else { - pricePhasesBuilder_.addMessage(m); - } - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + case 26: + { + com.google.cloud.channel.v1.PricePhase m = + input.readMessage( + com.google.cloud.channel.v1.PricePhase.parser(), extensionRegistry); + if (pricePhasesBuilder_ == null) { + ensurePricePhasesIsMutable(); + pricePhases_.add(m); + } else { + pricePhasesBuilder_.addMessage(m); + } + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -597,55 +650,70 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int resourceType_ = 0; /** + * + * *
      * Resource Type. Example: SEAT
      * 
* * .google.cloud.channel.v1.ResourceType resource_type = 1; + * * @return The enum numeric value on the wire for resourceType. */ - @java.lang.Override public int getResourceTypeValue() { + @java.lang.Override + public int getResourceTypeValue() { return resourceType_; } /** + * + * *
      * Resource Type. Example: SEAT
      * 
* * .google.cloud.channel.v1.ResourceType resource_type = 1; + * * @param value The enum numeric value on the wire for resourceType to set. * @return This builder for chaining. */ public Builder setResourceTypeValue(int value) { - + resourceType_ = value; onChanged(); return this; } /** + * + * *
      * Resource Type. Example: SEAT
      * 
* * .google.cloud.channel.v1.ResourceType resource_type = 1; + * * @return The resourceType. */ @java.lang.Override public com.google.cloud.channel.v1.ResourceType getResourceType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.ResourceType result = com.google.cloud.channel.v1.ResourceType.valueOf(resourceType_); + com.google.cloud.channel.v1.ResourceType result = + com.google.cloud.channel.v1.ResourceType.valueOf(resourceType_); return result == null ? com.google.cloud.channel.v1.ResourceType.UNRECOGNIZED : result; } /** + * + * *
      * Resource Type. Example: SEAT
      * 
* * .google.cloud.channel.v1.ResourceType resource_type = 1; + * * @param value The resourceType to set. * @return This builder for chaining. */ @@ -653,21 +721,24 @@ public Builder setResourceType(com.google.cloud.channel.v1.ResourceType value) { if (value == null) { throw new NullPointerException(); } - + resourceType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Resource Type. Example: SEAT
      * 
* * .google.cloud.channel.v1.ResourceType resource_type = 1; + * * @return This builder for chaining. */ public Builder clearResourceType() { - + resourceType_ = 0; onChanged(); return this; @@ -675,24 +746,33 @@ public Builder clearResourceType() { private com.google.cloud.channel.v1.Price price_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Price, com.google.cloud.channel.v1.Price.Builder, com.google.cloud.channel.v1.PriceOrBuilder> priceBuilder_; + com.google.cloud.channel.v1.Price, + com.google.cloud.channel.v1.Price.Builder, + com.google.cloud.channel.v1.PriceOrBuilder> + priceBuilder_; /** + * + * *
      * Price of the Offer. Present if there are no price phases.
      * 
* * .google.cloud.channel.v1.Price price = 2; + * * @return Whether the price field is set. */ public boolean hasPrice() { return priceBuilder_ != null || price_ != null; } /** + * + * *
      * Price of the Offer. Present if there are no price phases.
      * 
* * .google.cloud.channel.v1.Price price = 2; + * * @return The price. */ public com.google.cloud.channel.v1.Price getPrice() { @@ -703,6 +783,8 @@ public com.google.cloud.channel.v1.Price getPrice() { } } /** + * + * *
      * Price of the Offer. Present if there are no price phases.
      * 
@@ -723,14 +805,15 @@ public Builder setPrice(com.google.cloud.channel.v1.Price value) { return this; } /** + * + * *
      * Price of the Offer. Present if there are no price phases.
      * 
* * .google.cloud.channel.v1.Price price = 2; */ - public Builder setPrice( - com.google.cloud.channel.v1.Price.Builder builderForValue) { + public Builder setPrice(com.google.cloud.channel.v1.Price.Builder builderForValue) { if (priceBuilder_ == null) { price_ = builderForValue.build(); onChanged(); @@ -741,6 +824,8 @@ public Builder setPrice( return this; } /** + * + * *
      * Price of the Offer. Present if there are no price phases.
      * 
@@ -751,7 +836,7 @@ public Builder mergePrice(com.google.cloud.channel.v1.Price value) { if (priceBuilder_ == null) { if (price_ != null) { price_ = - com.google.cloud.channel.v1.Price.newBuilder(price_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.Price.newBuilder(price_).mergeFrom(value).buildPartial(); } else { price_ = value; } @@ -763,6 +848,8 @@ public Builder mergePrice(com.google.cloud.channel.v1.Price value) { return this; } /** + * + * *
      * Price of the Offer. Present if there are no price phases.
      * 
@@ -781,6 +868,8 @@ public Builder clearPrice() { return this; } /** + * + * *
      * Price of the Offer. Present if there are no price phases.
      * 
@@ -788,11 +877,13 @@ public Builder clearPrice() { * .google.cloud.channel.v1.Price price = 2; */ public com.google.cloud.channel.v1.Price.Builder getPriceBuilder() { - + onChanged(); return getPriceFieldBuilder().getBuilder(); } /** + * + * *
      * Price of the Offer. Present if there are no price phases.
      * 
@@ -803,11 +894,12 @@ public com.google.cloud.channel.v1.PriceOrBuilder getPriceOrBuilder() { if (priceBuilder_ != null) { return priceBuilder_.getMessageOrBuilder(); } else { - return price_ == null ? - com.google.cloud.channel.v1.Price.getDefaultInstance() : price_; + return price_ == null ? com.google.cloud.channel.v1.Price.getDefaultInstance() : price_; } } /** + * + * *
      * Price of the Offer. Present if there are no price phases.
      * 
@@ -815,32 +907,42 @@ public com.google.cloud.channel.v1.PriceOrBuilder getPriceOrBuilder() { * .google.cloud.channel.v1.Price price = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Price, com.google.cloud.channel.v1.Price.Builder, com.google.cloud.channel.v1.PriceOrBuilder> + com.google.cloud.channel.v1.Price, + com.google.cloud.channel.v1.Price.Builder, + com.google.cloud.channel.v1.PriceOrBuilder> getPriceFieldBuilder() { if (priceBuilder_ == null) { - priceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Price, com.google.cloud.channel.v1.Price.Builder, com.google.cloud.channel.v1.PriceOrBuilder>( - getPrice(), - getParentForChildren(), - isClean()); + priceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Price, + com.google.cloud.channel.v1.Price.Builder, + com.google.cloud.channel.v1.PriceOrBuilder>( + getPrice(), getParentForChildren(), isClean()); price_ = null; } return priceBuilder_; } private java.util.List pricePhases_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePricePhasesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - pricePhases_ = new java.util.ArrayList(pricePhases_); + pricePhases_ = + new java.util.ArrayList(pricePhases_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.PricePhase, com.google.cloud.channel.v1.PricePhase.Builder, com.google.cloud.channel.v1.PricePhaseOrBuilder> pricePhasesBuilder_; + com.google.cloud.channel.v1.PricePhase, + com.google.cloud.channel.v1.PricePhase.Builder, + com.google.cloud.channel.v1.PricePhaseOrBuilder> + pricePhasesBuilder_; /** + * + * *
      * Specifies the price by time range.
      * 
@@ -855,6 +957,8 @@ public java.util.List getPricePhasesList } } /** + * + * *
      * Specifies the price by time range.
      * 
@@ -869,6 +973,8 @@ public int getPricePhasesCount() { } } /** + * + * *
      * Specifies the price by time range.
      * 
@@ -883,14 +989,15 @@ public com.google.cloud.channel.v1.PricePhase getPricePhases(int index) { } } /** + * + * *
      * Specifies the price by time range.
      * 
* * repeated .google.cloud.channel.v1.PricePhase price_phases = 3; */ - public Builder setPricePhases( - int index, com.google.cloud.channel.v1.PricePhase value) { + public Builder setPricePhases(int index, com.google.cloud.channel.v1.PricePhase value) { if (pricePhasesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -904,6 +1011,8 @@ public Builder setPricePhases( return this; } /** + * + * *
      * Specifies the price by time range.
      * 
@@ -922,6 +1031,8 @@ public Builder setPricePhases( return this; } /** + * + * *
      * Specifies the price by time range.
      * 
@@ -942,14 +1053,15 @@ public Builder addPricePhases(com.google.cloud.channel.v1.PricePhase value) { return this; } /** + * + * *
      * Specifies the price by time range.
      * 
* * repeated .google.cloud.channel.v1.PricePhase price_phases = 3; */ - public Builder addPricePhases( - int index, com.google.cloud.channel.v1.PricePhase value) { + public Builder addPricePhases(int index, com.google.cloud.channel.v1.PricePhase value) { if (pricePhasesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -963,14 +1075,15 @@ public Builder addPricePhases( return this; } /** + * + * *
      * Specifies the price by time range.
      * 
* * repeated .google.cloud.channel.v1.PricePhase price_phases = 3; */ - public Builder addPricePhases( - com.google.cloud.channel.v1.PricePhase.Builder builderForValue) { + public Builder addPricePhases(com.google.cloud.channel.v1.PricePhase.Builder builderForValue) { if (pricePhasesBuilder_ == null) { ensurePricePhasesIsMutable(); pricePhases_.add(builderForValue.build()); @@ -981,6 +1094,8 @@ public Builder addPricePhases( return this; } /** + * + * *
      * Specifies the price by time range.
      * 
@@ -999,6 +1114,8 @@ public Builder addPricePhases( return this; } /** + * + * *
      * Specifies the price by time range.
      * 
@@ -1009,8 +1126,7 @@ public Builder addAllPricePhases( java.lang.Iterable values) { if (pricePhasesBuilder_ == null) { ensurePricePhasesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, pricePhases_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pricePhases_); onChanged(); } else { pricePhasesBuilder_.addAllMessages(values); @@ -1018,6 +1134,8 @@ public Builder addAllPricePhases( return this; } /** + * + * *
      * Specifies the price by time range.
      * 
@@ -1035,6 +1153,8 @@ public Builder clearPricePhases() { return this; } /** + * + * *
      * Specifies the price by time range.
      * 
@@ -1052,39 +1172,44 @@ public Builder removePricePhases(int index) { return this; } /** + * + * *
      * Specifies the price by time range.
      * 
* * repeated .google.cloud.channel.v1.PricePhase price_phases = 3; */ - public com.google.cloud.channel.v1.PricePhase.Builder getPricePhasesBuilder( - int index) { + public com.google.cloud.channel.v1.PricePhase.Builder getPricePhasesBuilder(int index) { return getPricePhasesFieldBuilder().getBuilder(index); } /** + * + * *
      * Specifies the price by time range.
      * 
* * repeated .google.cloud.channel.v1.PricePhase price_phases = 3; */ - public com.google.cloud.channel.v1.PricePhaseOrBuilder getPricePhasesOrBuilder( - int index) { + public com.google.cloud.channel.v1.PricePhaseOrBuilder getPricePhasesOrBuilder(int index) { if (pricePhasesBuilder_ == null) { - return pricePhases_.get(index); } else { + return pricePhases_.get(index); + } else { return pricePhasesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Specifies the price by time range.
      * 
* * repeated .google.cloud.channel.v1.PricePhase price_phases = 3; */ - public java.util.List - getPricePhasesOrBuilderList() { + public java.util.List + getPricePhasesOrBuilderList() { if (pricePhasesBuilder_ != null) { return pricePhasesBuilder_.getMessageOrBuilderList(); } else { @@ -1092,6 +1217,8 @@ public com.google.cloud.channel.v1.PricePhaseOrBuilder getPricePhasesOrBuilder( } } /** + * + * *
      * Specifies the price by time range.
      * 
@@ -1099,49 +1226,55 @@ public com.google.cloud.channel.v1.PricePhaseOrBuilder getPricePhasesOrBuilder( * repeated .google.cloud.channel.v1.PricePhase price_phases = 3; */ public com.google.cloud.channel.v1.PricePhase.Builder addPricePhasesBuilder() { - return getPricePhasesFieldBuilder().addBuilder( - com.google.cloud.channel.v1.PricePhase.getDefaultInstance()); + return getPricePhasesFieldBuilder() + .addBuilder(com.google.cloud.channel.v1.PricePhase.getDefaultInstance()); } /** + * + * *
      * Specifies the price by time range.
      * 
* * repeated .google.cloud.channel.v1.PricePhase price_phases = 3; */ - public com.google.cloud.channel.v1.PricePhase.Builder addPricePhasesBuilder( - int index) { - return getPricePhasesFieldBuilder().addBuilder( - index, com.google.cloud.channel.v1.PricePhase.getDefaultInstance()); + public com.google.cloud.channel.v1.PricePhase.Builder addPricePhasesBuilder(int index) { + return getPricePhasesFieldBuilder() + .addBuilder(index, com.google.cloud.channel.v1.PricePhase.getDefaultInstance()); } /** + * + * *
      * Specifies the price by time range.
      * 
* * repeated .google.cloud.channel.v1.PricePhase price_phases = 3; */ - public java.util.List - getPricePhasesBuilderList() { + public java.util.List + getPricePhasesBuilderList() { return getPricePhasesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.PricePhase, com.google.cloud.channel.v1.PricePhase.Builder, com.google.cloud.channel.v1.PricePhaseOrBuilder> + com.google.cloud.channel.v1.PricePhase, + com.google.cloud.channel.v1.PricePhase.Builder, + com.google.cloud.channel.v1.PricePhaseOrBuilder> getPricePhasesFieldBuilder() { if (pricePhasesBuilder_ == null) { - pricePhasesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.PricePhase, com.google.cloud.channel.v1.PricePhase.Builder, com.google.cloud.channel.v1.PricePhaseOrBuilder>( - pricePhases_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + pricePhasesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.PricePhase, + com.google.cloud.channel.v1.PricePhase.Builder, + com.google.cloud.channel.v1.PricePhaseOrBuilder>( + pricePhases_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); pricePhases_ = null; } return pricePhasesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1151,12 +1284,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.PriceByResource) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.PriceByResource) private static final com.google.cloud.channel.v1.PriceByResource DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.PriceByResource(); } @@ -1165,27 +1298,27 @@ public static com.google.cloud.channel.v1.PriceByResource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PriceByResource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PriceByResource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1200,6 +1333,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.PriceByResource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResourceOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResourceOrBuilder.java similarity index 74% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResourceOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResourceOrBuilder.java index 172c53815272..cf2f0b92195a 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResourceOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceByResourceOrBuilder.java @@ -1,50 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; -public interface PriceByResourceOrBuilder extends +public interface PriceByResourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.PriceByResource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Resource Type. Example: SEAT
    * 
* * .google.cloud.channel.v1.ResourceType resource_type = 1; + * * @return The enum numeric value on the wire for resourceType. */ int getResourceTypeValue(); /** + * + * *
    * Resource Type. Example: SEAT
    * 
* * .google.cloud.channel.v1.ResourceType resource_type = 1; + * * @return The resourceType. */ com.google.cloud.channel.v1.ResourceType getResourceType(); /** + * + * *
    * Price of the Offer. Present if there are no price phases.
    * 
* * .google.cloud.channel.v1.Price price = 2; + * * @return Whether the price field is set. */ boolean hasPrice(); /** + * + * *
    * Price of the Offer. Present if there are no price phases.
    * 
* * .google.cloud.channel.v1.Price price = 2; + * * @return The price. */ com.google.cloud.channel.v1.Price getPrice(); /** + * + * *
    * Price of the Offer. Present if there are no price phases.
    * 
@@ -54,15 +84,18 @@ public interface PriceByResourceOrBuilder extends com.google.cloud.channel.v1.PriceOrBuilder getPriceOrBuilder(); /** + * + * *
    * Specifies the price by time range.
    * 
* * repeated .google.cloud.channel.v1.PricePhase price_phases = 3; */ - java.util.List - getPricePhasesList(); + java.util.List getPricePhasesList(); /** + * + * *
    * Specifies the price by time range.
    * 
@@ -71,6 +104,8 @@ public interface PriceByResourceOrBuilder extends */ com.google.cloud.channel.v1.PricePhase getPricePhases(int index); /** + * + * *
    * Specifies the price by time range.
    * 
@@ -79,21 +114,24 @@ public interface PriceByResourceOrBuilder extends */ int getPricePhasesCount(); /** + * + * *
    * Specifies the price by time range.
    * 
* * repeated .google.cloud.channel.v1.PricePhase price_phases = 3; */ - java.util.List + java.util.List getPricePhasesOrBuilderList(); /** + * + * *
    * Specifies the price by time range.
    * 
* * repeated .google.cloud.channel.v1.PricePhase price_phases = 3; */ - com.google.cloud.channel.v1.PricePhaseOrBuilder getPricePhasesOrBuilder( - int index); + com.google.cloud.channel.v1.PricePhaseOrBuilder getPricePhasesOrBuilder(int index); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceOrBuilder.java similarity index 72% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceOrBuilder.java index d9671660c1ec..6c5fd36e5bd7 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceOrBuilder.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/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; -public interface PriceOrBuilder extends +public interface PriceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Price) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Base price.
    * 
* * .google.type.Money base_price = 1; + * * @return Whether the basePrice field is set. */ boolean hasBasePrice(); /** + * + * *
    * Base price.
    * 
* * .google.type.Money base_price = 1; + * * @return The basePrice. */ com.google.type.Money getBasePrice(); /** + * + * *
    * Base price.
    * 
@@ -35,35 +59,46 @@ public interface PriceOrBuilder extends com.google.type.MoneyOrBuilder getBasePriceOrBuilder(); /** + * + * *
    * Discount percentage, represented as decimal.
    * For example, a 20% discount will be represent as 0.2.
    * 
* * double discount = 2; + * * @return The discount. */ double getDiscount(); /** + * + * *
    * Effective Price after applying the discounts.
    * 
* * .google.type.Money effective_price = 3; + * * @return Whether the effectivePrice field is set. */ boolean hasEffectivePrice(); /** + * + * *
    * Effective Price after applying the discounts.
    * 
* * .google.type.Money effective_price = 3; + * * @return The effectivePrice. */ com.google.type.Money getEffectivePrice(); /** + * + * *
    * Effective Price after applying the discounts.
    * 
@@ -73,22 +108,27 @@ public interface PriceOrBuilder extends com.google.type.MoneyOrBuilder getEffectivePriceOrBuilder(); /** + * + * *
    * Link to external price list, such as link to Google Voice rate card.
    * 
* * string external_price_uri = 4; + * * @return The externalPriceUri. */ java.lang.String getExternalPriceUri(); /** + * + * *
    * Link to external price list, such as link to Google Voice rate card.
    * 
* * string external_price_uri = 4; + * * @return The bytes for externalPriceUri. */ - com.google.protobuf.ByteString - getExternalPriceUriBytes(); + com.google.protobuf.ByteString getExternalPriceUriBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhase.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhase.java similarity index 74% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhase.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhase.java index 996a511edcc3..ba58b386df5b 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhase.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhase.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/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; /** + * + * *
  * Specifies the price by the duration of months.
  * For example, a 20% discount for the first six months, then a 10% discount
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.PricePhase}
  */
-public final class PricePhase extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class PricePhase extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.PricePhase)
     PricePhaseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use PricePhase.newBuilder() to construct.
   private PricePhase(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private PricePhase() {
     periodType_ = 0;
     priceTiers_ = java.util.Collections.emptyList();
@@ -28,64 +46,77 @@ private PricePhase() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new PricePhase();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_PricePhase_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.OffersProto
+        .internal_static_google_cloud_channel_v1_PricePhase_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_PricePhase_fieldAccessorTable
+    return com.google.cloud.channel.v1.OffersProto
+        .internal_static_google_cloud_channel_v1_PricePhase_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.PricePhase.class, com.google.cloud.channel.v1.PricePhase.Builder.class);
+            com.google.cloud.channel.v1.PricePhase.class,
+            com.google.cloud.channel.v1.PricePhase.Builder.class);
   }
 
   public static final int PERIOD_TYPE_FIELD_NUMBER = 1;
   private int periodType_;
   /**
+   *
+   *
    * 
    * Defines the phase period type.
    * 
* * .google.cloud.channel.v1.PeriodType period_type = 1; + * * @return The enum numeric value on the wire for periodType. */ - @java.lang.Override public int getPeriodTypeValue() { + @java.lang.Override + public int getPeriodTypeValue() { return periodType_; } /** + * + * *
    * Defines the phase period type.
    * 
* * .google.cloud.channel.v1.PeriodType period_type = 1; + * * @return The periodType. */ - @java.lang.Override public com.google.cloud.channel.v1.PeriodType getPeriodType() { + @java.lang.Override + public com.google.cloud.channel.v1.PeriodType getPeriodType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.PeriodType result = com.google.cloud.channel.v1.PeriodType.valueOf(periodType_); + com.google.cloud.channel.v1.PeriodType result = + com.google.cloud.channel.v1.PeriodType.valueOf(periodType_); return result == null ? com.google.cloud.channel.v1.PeriodType.UNRECOGNIZED : result; } public static final int FIRST_PERIOD_FIELD_NUMBER = 2; private int firstPeriod_; /** + * + * *
    * Defines first period for the phase.
    * 
* * int32 first_period = 2; + * * @return The firstPeriod. */ @java.lang.Override @@ -96,11 +127,14 @@ public int getFirstPeriod() { public static final int LAST_PERIOD_FIELD_NUMBER = 3; private int lastPeriod_; /** + * + * *
    * Defines first period for the phase.
    * 
* * int32 last_period = 3; + * * @return The lastPeriod. */ @java.lang.Override @@ -111,11 +145,14 @@ public int getLastPeriod() { public static final int PRICE_FIELD_NUMBER = 4; private com.google.cloud.channel.v1.Price price_; /** + * + * *
    * Price of the phase. Present if there are no price tiers.
    * 
* * .google.cloud.channel.v1.Price price = 4; + * * @return Whether the price field is set. */ @java.lang.Override @@ -123,11 +160,14 @@ public boolean hasPrice() { return price_ != null; } /** + * + * *
    * Price of the phase. Present if there are no price tiers.
    * 
* * .google.cloud.channel.v1.Price price = 4; + * * @return The price. */ @java.lang.Override @@ -135,6 +175,8 @@ public com.google.cloud.channel.v1.Price getPrice() { return price_ == null ? com.google.cloud.channel.v1.Price.getDefaultInstance() : price_; } /** + * + * *
    * Price of the phase. Present if there are no price tiers.
    * 
@@ -149,6 +191,8 @@ public com.google.cloud.channel.v1.PriceOrBuilder getPriceOrBuilder() { public static final int PRICE_TIERS_FIELD_NUMBER = 5; private java.util.List priceTiers_; /** + * + * *
    * Price by the resource tiers.
    * 
@@ -160,6 +204,8 @@ public java.util.List getPriceTiersList() return priceTiers_; } /** + * + * *
    * Price by the resource tiers.
    * 
@@ -167,11 +213,13 @@ public java.util.List getPriceTiersList() * repeated .google.cloud.channel.v1.PriceTier price_tiers = 5; */ @java.lang.Override - public java.util.List + public java.util.List getPriceTiersOrBuilderList() { return priceTiers_; } /** + * + * *
    * Price by the resource tiers.
    * 
@@ -183,6 +231,8 @@ public int getPriceTiersCount() { return priceTiers_.size(); } /** + * + * *
    * Price by the resource tiers.
    * 
@@ -194,6 +244,8 @@ public com.google.cloud.channel.v1.PriceTier getPriceTiers(int index) { return priceTiers_.get(index); } /** + * + * *
    * Price by the resource tiers.
    * 
@@ -201,12 +253,12 @@ public com.google.cloud.channel.v1.PriceTier getPriceTiers(int index) { * repeated .google.cloud.channel.v1.PriceTier price_tiers = 5; */ @java.lang.Override - public com.google.cloud.channel.v1.PriceTierOrBuilder getPriceTiersOrBuilder( - int index) { + public com.google.cloud.channel.v1.PriceTierOrBuilder getPriceTiersOrBuilder(int index) { return priceTiers_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -218,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 (periodType_ != com.google.cloud.channel.v1.PeriodType.PERIOD_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, periodType_); } @@ -245,24 +296,19 @@ public int getSerializedSize() { size = 0; if (periodType_ != com.google.cloud.channel.v1.PeriodType.PERIOD_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, periodType_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, periodType_); } if (firstPeriod_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, firstPeriod_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, firstPeriod_); } if (lastPeriod_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, lastPeriod_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, lastPeriod_); } if (price_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getPrice()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPrice()); } for (int i = 0; i < priceTiers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, priceTiers_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, priceTiers_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -272,7 +318,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.PricePhase)) { return super.equals(obj); @@ -280,17 +326,13 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.channel.v1.PricePhase other = (com.google.cloud.channel.v1.PricePhase) obj; if (periodType_ != other.periodType_) return false; - if (getFirstPeriod() - != other.getFirstPeriod()) return false; - if (getLastPeriod() - != other.getLastPeriod()) return false; + if (getFirstPeriod() != other.getFirstPeriod()) return false; + if (getLastPeriod() != other.getLastPeriod()) return false; if (hasPrice() != other.hasPrice()) return false; if (hasPrice()) { - if (!getPrice() - .equals(other.getPrice())) return false; + if (!getPrice().equals(other.getPrice())) return false; } - if (!getPriceTiersList() - .equals(other.getPriceTiersList())) return false; + if (!getPriceTiersList().equals(other.getPriceTiersList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -321,97 +363,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.PricePhase parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.PricePhase parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.PricePhase parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.PricePhase parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.PricePhase parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.PricePhase parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.PricePhase parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.PricePhase 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.cloud.channel.v1.PricePhase parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.PricePhase parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.PricePhase parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.PricePhase parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.PricePhase parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.PricePhase prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Specifies the price by the duration of months.
    * For example, a 20% discount for the first six months, then a 10% discount
@@ -420,33 +469,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.PricePhase}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.PricePhase)
       com.google.cloud.channel.v1.PricePhaseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_PricePhase_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.OffersProto
+          .internal_static_google_cloud_channel_v1_PricePhase_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_PricePhase_fieldAccessorTable
+      return com.google.cloud.channel.v1.OffersProto
+          .internal_static_google_cloud_channel_v1_PricePhase_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.PricePhase.class, com.google.cloud.channel.v1.PricePhase.Builder.class);
+              com.google.cloud.channel.v1.PricePhase.class,
+              com.google.cloud.channel.v1.PricePhase.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.PricePhase.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -473,9 +521,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_PricePhase_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.OffersProto
+          .internal_static_google_cloud_channel_v1_PricePhase_descriptor;
     }
 
     @java.lang.Override
@@ -494,7 +542,8 @@ public com.google.cloud.channel.v1.PricePhase build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.PricePhase buildPartial() {
-      com.google.cloud.channel.v1.PricePhase result = new com.google.cloud.channel.v1.PricePhase(this);
+      com.google.cloud.channel.v1.PricePhase result =
+          new com.google.cloud.channel.v1.PricePhase(this);
       int from_bitField0_ = bitField0_;
       result.periodType_ = periodType_;
       result.firstPeriod_ = firstPeriod_;
@@ -521,38 +570,39 @@ public com.google.cloud.channel.v1.PricePhase 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.cloud.channel.v1.PricePhase) {
-        return mergeFrom((com.google.cloud.channel.v1.PricePhase)other);
+        return mergeFrom((com.google.cloud.channel.v1.PricePhase) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -591,9 +641,10 @@ public Builder mergeFrom(com.google.cloud.channel.v1.PricePhase other) {
             priceTiersBuilder_ = null;
             priceTiers_ = other.priceTiers_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            priceTiersBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getPriceTiersFieldBuilder() : null;
+            priceTiersBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getPriceTiersFieldBuilder()
+                    : null;
           } else {
             priceTiersBuilder_.addAllMessages(other.priceTiers_);
           }
@@ -625,47 +676,50 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              periodType_ = input.readEnum();
+            case 8:
+              {
+                periodType_ = input.readEnum();
 
-              break;
-            } // case 8
-            case 16: {
-              firstPeriod_ = input.readInt32();
+                break;
+              } // case 8
+            case 16:
+              {
+                firstPeriod_ = input.readInt32();
 
-              break;
-            } // case 16
-            case 24: {
-              lastPeriod_ = input.readInt32();
+                break;
+              } // case 16
+            case 24:
+              {
+                lastPeriod_ = input.readInt32();
 
-              break;
-            } // case 24
-            case 34: {
-              input.readMessage(
-                  getPriceFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 24
+            case 34:
+              {
+                input.readMessage(getPriceFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 34
-            case 42: {
-              com.google.cloud.channel.v1.PriceTier m =
-                  input.readMessage(
-                      com.google.cloud.channel.v1.PriceTier.parser(),
-                      extensionRegistry);
-              if (priceTiersBuilder_ == null) {
-                ensurePriceTiersIsMutable();
-                priceTiers_.add(m);
-              } else {
-                priceTiersBuilder_.addMessage(m);
-              }
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 34
+            case 42:
+              {
+                com.google.cloud.channel.v1.PriceTier m =
+                    input.readMessage(
+                        com.google.cloud.channel.v1.PriceTier.parser(), extensionRegistry);
+                if (priceTiersBuilder_ == null) {
+                  ensurePriceTiersIsMutable();
+                  priceTiers_.add(m);
+                } else {
+                  priceTiersBuilder_.addMessage(m);
+                }
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -675,55 +729,70 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private int periodType_ = 0;
     /**
+     *
+     *
      * 
      * Defines the phase period type.
      * 
* * .google.cloud.channel.v1.PeriodType period_type = 1; + * * @return The enum numeric value on the wire for periodType. */ - @java.lang.Override public int getPeriodTypeValue() { + @java.lang.Override + public int getPeriodTypeValue() { return periodType_; } /** + * + * *
      * Defines the phase period type.
      * 
* * .google.cloud.channel.v1.PeriodType period_type = 1; + * * @param value The enum numeric value on the wire for periodType to set. * @return This builder for chaining. */ public Builder setPeriodTypeValue(int value) { - + periodType_ = value; onChanged(); return this; } /** + * + * *
      * Defines the phase period type.
      * 
* * .google.cloud.channel.v1.PeriodType period_type = 1; + * * @return The periodType. */ @java.lang.Override public com.google.cloud.channel.v1.PeriodType getPeriodType() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.PeriodType result = com.google.cloud.channel.v1.PeriodType.valueOf(periodType_); + com.google.cloud.channel.v1.PeriodType result = + com.google.cloud.channel.v1.PeriodType.valueOf(periodType_); return result == null ? com.google.cloud.channel.v1.PeriodType.UNRECOGNIZED : result; } /** + * + * *
      * Defines the phase period type.
      * 
* * .google.cloud.channel.v1.PeriodType period_type = 1; + * * @param value The periodType to set. * @return This builder for chaining. */ @@ -731,33 +800,39 @@ public Builder setPeriodType(com.google.cloud.channel.v1.PeriodType value) { if (value == null) { throw new NullPointerException(); } - + periodType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Defines the phase period type.
      * 
* * .google.cloud.channel.v1.PeriodType period_type = 1; + * * @return This builder for chaining. */ public Builder clearPeriodType() { - + periodType_ = 0; onChanged(); return this; } - private int firstPeriod_ ; + private int firstPeriod_; /** + * + * *
      * Defines first period for the phase.
      * 
* * int32 first_period = 2; + * * @return The firstPeriod. */ @java.lang.Override @@ -765,42 +840,51 @@ public int getFirstPeriod() { return firstPeriod_; } /** + * + * *
      * Defines first period for the phase.
      * 
* * int32 first_period = 2; + * * @param value The firstPeriod to set. * @return This builder for chaining. */ public Builder setFirstPeriod(int value) { - + firstPeriod_ = value; onChanged(); return this; } /** + * + * *
      * Defines first period for the phase.
      * 
* * int32 first_period = 2; + * * @return This builder for chaining. */ public Builder clearFirstPeriod() { - + firstPeriod_ = 0; onChanged(); return this; } - private int lastPeriod_ ; + private int lastPeriod_; /** + * + * *
      * Defines first period for the phase.
      * 
* * int32 last_period = 3; + * * @return The lastPeriod. */ @java.lang.Override @@ -808,30 +892,36 @@ public int getLastPeriod() { return lastPeriod_; } /** + * + * *
      * Defines first period for the phase.
      * 
* * int32 last_period = 3; + * * @param value The lastPeriod to set. * @return This builder for chaining. */ public Builder setLastPeriod(int value) { - + lastPeriod_ = value; onChanged(); return this; } /** + * + * *
      * Defines first period for the phase.
      * 
* * int32 last_period = 3; + * * @return This builder for chaining. */ public Builder clearLastPeriod() { - + lastPeriod_ = 0; onChanged(); return this; @@ -839,24 +929,33 @@ public Builder clearLastPeriod() { private com.google.cloud.channel.v1.Price price_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Price, com.google.cloud.channel.v1.Price.Builder, com.google.cloud.channel.v1.PriceOrBuilder> priceBuilder_; + com.google.cloud.channel.v1.Price, + com.google.cloud.channel.v1.Price.Builder, + com.google.cloud.channel.v1.PriceOrBuilder> + priceBuilder_; /** + * + * *
      * Price of the phase. Present if there are no price tiers.
      * 
* * .google.cloud.channel.v1.Price price = 4; + * * @return Whether the price field is set. */ public boolean hasPrice() { return priceBuilder_ != null || price_ != null; } /** + * + * *
      * Price of the phase. Present if there are no price tiers.
      * 
* * .google.cloud.channel.v1.Price price = 4; + * * @return The price. */ public com.google.cloud.channel.v1.Price getPrice() { @@ -867,6 +966,8 @@ public com.google.cloud.channel.v1.Price getPrice() { } } /** + * + * *
      * Price of the phase. Present if there are no price tiers.
      * 
@@ -887,14 +988,15 @@ public Builder setPrice(com.google.cloud.channel.v1.Price value) { return this; } /** + * + * *
      * Price of the phase. Present if there are no price tiers.
      * 
* * .google.cloud.channel.v1.Price price = 4; */ - public Builder setPrice( - com.google.cloud.channel.v1.Price.Builder builderForValue) { + public Builder setPrice(com.google.cloud.channel.v1.Price.Builder builderForValue) { if (priceBuilder_ == null) { price_ = builderForValue.build(); onChanged(); @@ -905,6 +1007,8 @@ public Builder setPrice( return this; } /** + * + * *
      * Price of the phase. Present if there are no price tiers.
      * 
@@ -915,7 +1019,7 @@ public Builder mergePrice(com.google.cloud.channel.v1.Price value) { if (priceBuilder_ == null) { if (price_ != null) { price_ = - com.google.cloud.channel.v1.Price.newBuilder(price_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.Price.newBuilder(price_).mergeFrom(value).buildPartial(); } else { price_ = value; } @@ -927,6 +1031,8 @@ public Builder mergePrice(com.google.cloud.channel.v1.Price value) { return this; } /** + * + * *
      * Price of the phase. Present if there are no price tiers.
      * 
@@ -945,6 +1051,8 @@ public Builder clearPrice() { return this; } /** + * + * *
      * Price of the phase. Present if there are no price tiers.
      * 
@@ -952,11 +1060,13 @@ public Builder clearPrice() { * .google.cloud.channel.v1.Price price = 4; */ public com.google.cloud.channel.v1.Price.Builder getPriceBuilder() { - + onChanged(); return getPriceFieldBuilder().getBuilder(); } /** + * + * *
      * Price of the phase. Present if there are no price tiers.
      * 
@@ -967,11 +1077,12 @@ public com.google.cloud.channel.v1.PriceOrBuilder getPriceOrBuilder() { if (priceBuilder_ != null) { return priceBuilder_.getMessageOrBuilder(); } else { - return price_ == null ? - com.google.cloud.channel.v1.Price.getDefaultInstance() : price_; + return price_ == null ? com.google.cloud.channel.v1.Price.getDefaultInstance() : price_; } } /** + * + * *
      * Price of the phase. Present if there are no price tiers.
      * 
@@ -979,32 +1090,41 @@ public com.google.cloud.channel.v1.PriceOrBuilder getPriceOrBuilder() { * .google.cloud.channel.v1.Price price = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Price, com.google.cloud.channel.v1.Price.Builder, com.google.cloud.channel.v1.PriceOrBuilder> + com.google.cloud.channel.v1.Price, + com.google.cloud.channel.v1.Price.Builder, + com.google.cloud.channel.v1.PriceOrBuilder> getPriceFieldBuilder() { if (priceBuilder_ == null) { - priceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Price, com.google.cloud.channel.v1.Price.Builder, com.google.cloud.channel.v1.PriceOrBuilder>( - getPrice(), - getParentForChildren(), - isClean()); + priceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Price, + com.google.cloud.channel.v1.Price.Builder, + com.google.cloud.channel.v1.PriceOrBuilder>( + getPrice(), getParentForChildren(), isClean()); price_ = null; } return priceBuilder_; } private java.util.List priceTiers_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePriceTiersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { priceTiers_ = new java.util.ArrayList(priceTiers_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.PriceTier, com.google.cloud.channel.v1.PriceTier.Builder, com.google.cloud.channel.v1.PriceTierOrBuilder> priceTiersBuilder_; + com.google.cloud.channel.v1.PriceTier, + com.google.cloud.channel.v1.PriceTier.Builder, + com.google.cloud.channel.v1.PriceTierOrBuilder> + priceTiersBuilder_; /** + * + * *
      * Price by the resource tiers.
      * 
@@ -1019,6 +1139,8 @@ public java.util.List getPriceTiersList() } } /** + * + * *
      * Price by the resource tiers.
      * 
@@ -1033,6 +1155,8 @@ public int getPriceTiersCount() { } } /** + * + * *
      * Price by the resource tiers.
      * 
@@ -1047,14 +1171,15 @@ public com.google.cloud.channel.v1.PriceTier getPriceTiers(int index) { } } /** + * + * *
      * Price by the resource tiers.
      * 
* * repeated .google.cloud.channel.v1.PriceTier price_tiers = 5; */ - public Builder setPriceTiers( - int index, com.google.cloud.channel.v1.PriceTier value) { + public Builder setPriceTiers(int index, com.google.cloud.channel.v1.PriceTier value) { if (priceTiersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1068,6 +1193,8 @@ public Builder setPriceTiers( return this; } /** + * + * *
      * Price by the resource tiers.
      * 
@@ -1086,6 +1213,8 @@ public Builder setPriceTiers( return this; } /** + * + * *
      * Price by the resource tiers.
      * 
@@ -1106,14 +1235,15 @@ public Builder addPriceTiers(com.google.cloud.channel.v1.PriceTier value) { return this; } /** + * + * *
      * Price by the resource tiers.
      * 
* * repeated .google.cloud.channel.v1.PriceTier price_tiers = 5; */ - public Builder addPriceTiers( - int index, com.google.cloud.channel.v1.PriceTier value) { + public Builder addPriceTiers(int index, com.google.cloud.channel.v1.PriceTier value) { if (priceTiersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1127,14 +1257,15 @@ public Builder addPriceTiers( return this; } /** + * + * *
      * Price by the resource tiers.
      * 
* * repeated .google.cloud.channel.v1.PriceTier price_tiers = 5; */ - public Builder addPriceTiers( - com.google.cloud.channel.v1.PriceTier.Builder builderForValue) { + public Builder addPriceTiers(com.google.cloud.channel.v1.PriceTier.Builder builderForValue) { if (priceTiersBuilder_ == null) { ensurePriceTiersIsMutable(); priceTiers_.add(builderForValue.build()); @@ -1145,6 +1276,8 @@ public Builder addPriceTiers( return this; } /** + * + * *
      * Price by the resource tiers.
      * 
@@ -1163,6 +1296,8 @@ public Builder addPriceTiers( return this; } /** + * + * *
      * Price by the resource tiers.
      * 
@@ -1173,8 +1308,7 @@ public Builder addAllPriceTiers( java.lang.Iterable values) { if (priceTiersBuilder_ == null) { ensurePriceTiersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, priceTiers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, priceTiers_); onChanged(); } else { priceTiersBuilder_.addAllMessages(values); @@ -1182,6 +1316,8 @@ public Builder addAllPriceTiers( return this; } /** + * + * *
      * Price by the resource tiers.
      * 
@@ -1199,6 +1335,8 @@ public Builder clearPriceTiers() { return this; } /** + * + * *
      * Price by the resource tiers.
      * 
@@ -1216,39 +1354,44 @@ public Builder removePriceTiers(int index) { return this; } /** + * + * *
      * Price by the resource tiers.
      * 
* * repeated .google.cloud.channel.v1.PriceTier price_tiers = 5; */ - public com.google.cloud.channel.v1.PriceTier.Builder getPriceTiersBuilder( - int index) { + public com.google.cloud.channel.v1.PriceTier.Builder getPriceTiersBuilder(int index) { return getPriceTiersFieldBuilder().getBuilder(index); } /** + * + * *
      * Price by the resource tiers.
      * 
* * repeated .google.cloud.channel.v1.PriceTier price_tiers = 5; */ - public com.google.cloud.channel.v1.PriceTierOrBuilder getPriceTiersOrBuilder( - int index) { + public com.google.cloud.channel.v1.PriceTierOrBuilder getPriceTiersOrBuilder(int index) { if (priceTiersBuilder_ == null) { - return priceTiers_.get(index); } else { + return priceTiers_.get(index); + } else { return priceTiersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Price by the resource tiers.
      * 
* * repeated .google.cloud.channel.v1.PriceTier price_tiers = 5; */ - public java.util.List - getPriceTiersOrBuilderList() { + public java.util.List + getPriceTiersOrBuilderList() { if (priceTiersBuilder_ != null) { return priceTiersBuilder_.getMessageOrBuilderList(); } else { @@ -1256,6 +1399,8 @@ public com.google.cloud.channel.v1.PriceTierOrBuilder getPriceTiersOrBuilder( } } /** + * + * *
      * Price by the resource tiers.
      * 
@@ -1263,49 +1408,55 @@ public com.google.cloud.channel.v1.PriceTierOrBuilder getPriceTiersOrBuilder( * repeated .google.cloud.channel.v1.PriceTier price_tiers = 5; */ public com.google.cloud.channel.v1.PriceTier.Builder addPriceTiersBuilder() { - return getPriceTiersFieldBuilder().addBuilder( - com.google.cloud.channel.v1.PriceTier.getDefaultInstance()); + return getPriceTiersFieldBuilder() + .addBuilder(com.google.cloud.channel.v1.PriceTier.getDefaultInstance()); } /** + * + * *
      * Price by the resource tiers.
      * 
* * repeated .google.cloud.channel.v1.PriceTier price_tiers = 5; */ - public com.google.cloud.channel.v1.PriceTier.Builder addPriceTiersBuilder( - int index) { - return getPriceTiersFieldBuilder().addBuilder( - index, com.google.cloud.channel.v1.PriceTier.getDefaultInstance()); + public com.google.cloud.channel.v1.PriceTier.Builder addPriceTiersBuilder(int index) { + return getPriceTiersFieldBuilder() + .addBuilder(index, com.google.cloud.channel.v1.PriceTier.getDefaultInstance()); } /** + * + * *
      * Price by the resource tiers.
      * 
* * repeated .google.cloud.channel.v1.PriceTier price_tiers = 5; */ - public java.util.List - getPriceTiersBuilderList() { + public java.util.List + getPriceTiersBuilderList() { return getPriceTiersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.PriceTier, com.google.cloud.channel.v1.PriceTier.Builder, com.google.cloud.channel.v1.PriceTierOrBuilder> + com.google.cloud.channel.v1.PriceTier, + com.google.cloud.channel.v1.PriceTier.Builder, + com.google.cloud.channel.v1.PriceTierOrBuilder> getPriceTiersFieldBuilder() { if (priceTiersBuilder_ == null) { - priceTiersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.PriceTier, com.google.cloud.channel.v1.PriceTier.Builder, com.google.cloud.channel.v1.PriceTierOrBuilder>( - priceTiers_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + priceTiersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.PriceTier, + com.google.cloud.channel.v1.PriceTier.Builder, + com.google.cloud.channel.v1.PriceTierOrBuilder>( + priceTiers_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); priceTiers_ = null; } return priceTiersBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1315,12 +1466,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.PricePhase) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.PricePhase) private static final com.google.cloud.channel.v1.PricePhase DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.PricePhase(); } @@ -1329,27 +1480,27 @@ public static com.google.cloud.channel.v1.PricePhase getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PricePhase parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PricePhase parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1364,6 +1515,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.PricePhase getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhaseOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhaseOrBuilder.java similarity index 75% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhaseOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhaseOrBuilder.java index 759d9205793d..62aa966d9617 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhaseOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PricePhaseOrBuilder.java @@ -1,70 +1,106 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; -public interface PricePhaseOrBuilder extends +public interface PricePhaseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.PricePhase) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Defines the phase period type.
    * 
* * .google.cloud.channel.v1.PeriodType period_type = 1; + * * @return The enum numeric value on the wire for periodType. */ int getPeriodTypeValue(); /** + * + * *
    * Defines the phase period type.
    * 
* * .google.cloud.channel.v1.PeriodType period_type = 1; + * * @return The periodType. */ com.google.cloud.channel.v1.PeriodType getPeriodType(); /** + * + * *
    * Defines first period for the phase.
    * 
* * int32 first_period = 2; + * * @return The firstPeriod. */ int getFirstPeriod(); /** + * + * *
    * Defines first period for the phase.
    * 
* * int32 last_period = 3; + * * @return The lastPeriod. */ int getLastPeriod(); /** + * + * *
    * Price of the phase. Present if there are no price tiers.
    * 
* * .google.cloud.channel.v1.Price price = 4; + * * @return Whether the price field is set. */ boolean hasPrice(); /** + * + * *
    * Price of the phase. Present if there are no price tiers.
    * 
* * .google.cloud.channel.v1.Price price = 4; + * * @return The price. */ com.google.cloud.channel.v1.Price getPrice(); /** + * + * *
    * Price of the phase. Present if there are no price tiers.
    * 
@@ -74,15 +110,18 @@ public interface PricePhaseOrBuilder extends com.google.cloud.channel.v1.PriceOrBuilder getPriceOrBuilder(); /** + * + * *
    * Price by the resource tiers.
    * 
* * repeated .google.cloud.channel.v1.PriceTier price_tiers = 5; */ - java.util.List - getPriceTiersList(); + java.util.List getPriceTiersList(); /** + * + * *
    * Price by the resource tiers.
    * 
@@ -91,6 +130,8 @@ public interface PricePhaseOrBuilder extends */ com.google.cloud.channel.v1.PriceTier getPriceTiers(int index); /** + * + * *
    * Price by the resource tiers.
    * 
@@ -99,21 +140,24 @@ public interface PricePhaseOrBuilder extends */ int getPriceTiersCount(); /** + * + * *
    * Price by the resource tiers.
    * 
* * repeated .google.cloud.channel.v1.PriceTier price_tiers = 5; */ - java.util.List + java.util.List getPriceTiersOrBuilderList(); /** + * + * *
    * Price by the resource tiers.
    * 
* * repeated .google.cloud.channel.v1.PriceTier price_tiers = 5; */ - com.google.cloud.channel.v1.PriceTierOrBuilder getPriceTiersOrBuilder( - int index); + com.google.cloud.channel.v1.PriceTierOrBuilder getPriceTiersOrBuilder(int index); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTier.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTier.java similarity index 69% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTier.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTier.java index 2baacb11cc73..086164378a10 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTier.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTier.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/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; /** + * + * *
  * Defines price at resource tier level.
  * For example, an offer with following definition :
@@ -15,51 +32,55 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.PriceTier}
  */
-public final class PriceTier extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class PriceTier extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.PriceTier)
     PriceTierOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use PriceTier.newBuilder() to construct.
   private PriceTier(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private PriceTier() {
-  }
+
+  private PriceTier() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new PriceTier();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_PriceTier_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.OffersProto
+        .internal_static_google_cloud_channel_v1_PriceTier_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_PriceTier_fieldAccessorTable
+    return com.google.cloud.channel.v1.OffersProto
+        .internal_static_google_cloud_channel_v1_PriceTier_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.PriceTier.class, com.google.cloud.channel.v1.PriceTier.Builder.class);
+            com.google.cloud.channel.v1.PriceTier.class,
+            com.google.cloud.channel.v1.PriceTier.Builder.class);
   }
 
   public static final int FIRST_RESOURCE_FIELD_NUMBER = 1;
   private int firstResource_;
   /**
+   *
+   *
    * 
    * First resource for which the tier price applies.
    * 
* * int32 first_resource = 1; + * * @return The firstResource. */ @java.lang.Override @@ -70,11 +91,14 @@ public int getFirstResource() { public static final int LAST_RESOURCE_FIELD_NUMBER = 2; private int lastResource_; /** + * + * *
    * Last resource for which the tier price applies.
    * 
* * int32 last_resource = 2; + * * @return The lastResource. */ @java.lang.Override @@ -85,11 +109,14 @@ public int getLastResource() { public static final int PRICE_FIELD_NUMBER = 3; private com.google.cloud.channel.v1.Price price_; /** + * + * *
    * Price of the tier.
    * 
* * .google.cloud.channel.v1.Price price = 3; + * * @return Whether the price field is set. */ @java.lang.Override @@ -97,11 +124,14 @@ public boolean hasPrice() { return price_ != null; } /** + * + * *
    * Price of the tier.
    * 
* * .google.cloud.channel.v1.Price price = 3; + * * @return The price. */ @java.lang.Override @@ -109,6 +139,8 @@ public com.google.cloud.channel.v1.Price getPrice() { return price_ == null ? com.google.cloud.channel.v1.Price.getDefaultInstance() : price_; } /** + * + * *
    * Price of the tier.
    * 
@@ -121,6 +153,7 @@ public com.google.cloud.channel.v1.PriceOrBuilder getPriceOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,8 +165,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (firstResource_ != 0) { output.writeInt32(1, firstResource_); } @@ -153,16 +185,13 @@ public int getSerializedSize() { size = 0; if (firstResource_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, firstResource_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, firstResource_); } if (lastResource_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, lastResource_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, lastResource_); } if (price_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getPrice()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPrice()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -172,21 +201,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.cloud.channel.v1.PriceTier)) { return super.equals(obj); } com.google.cloud.channel.v1.PriceTier other = (com.google.cloud.channel.v1.PriceTier) obj; - if (getFirstResource() - != other.getFirstResource()) return false; - if (getLastResource() - != other.getLastResource()) return false; + if (getFirstResource() != other.getFirstResource()) return false; + if (getLastResource() != other.getLastResource()) return false; if (hasPrice() != other.hasPrice()) return false; if (hasPrice()) { - if (!getPrice() - .equals(other.getPrice())) return false; + if (!getPrice().equals(other.getPrice())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -212,97 +238,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.PriceTier parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.PriceTier parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.PriceTier parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.PriceTier parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.channel.v1.PriceTier parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.PriceTier parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.PriceTier parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.PriceTier parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.PriceTier 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.cloud.channel.v1.PriceTier parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.PriceTier parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.PriceTier parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.PriceTier parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.PriceTier parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.PriceTier prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Defines price at resource tier level.
    * For example, an offer with following definition :
@@ -314,33 +346,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.PriceTier}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.PriceTier)
       com.google.cloud.channel.v1.PriceTierOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_PriceTier_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.OffersProto
+          .internal_static_google_cloud_channel_v1_PriceTier_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_PriceTier_fieldAccessorTable
+      return com.google.cloud.channel.v1.OffersProto
+          .internal_static_google_cloud_channel_v1_PriceTier_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.PriceTier.class, com.google.cloud.channel.v1.PriceTier.Builder.class);
+              com.google.cloud.channel.v1.PriceTier.class,
+              com.google.cloud.channel.v1.PriceTier.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.PriceTier.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -358,9 +389,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.OffersProto.internal_static_google_cloud_channel_v1_PriceTier_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.OffersProto
+          .internal_static_google_cloud_channel_v1_PriceTier_descriptor;
     }
 
     @java.lang.Override
@@ -379,7 +410,8 @@ public com.google.cloud.channel.v1.PriceTier build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.PriceTier buildPartial() {
-      com.google.cloud.channel.v1.PriceTier result = new com.google.cloud.channel.v1.PriceTier(this);
+      com.google.cloud.channel.v1.PriceTier result =
+          new com.google.cloud.channel.v1.PriceTier(this);
       result.firstResource_ = firstResource_;
       result.lastResource_ = lastResource_;
       if (priceBuilder_ == null) {
@@ -395,38 +427,39 @@ public com.google.cloud.channel.v1.PriceTier 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.cloud.channel.v1.PriceTier) {
-        return mergeFrom((com.google.cloud.channel.v1.PriceTier)other);
+        return mergeFrom((com.google.cloud.channel.v1.PriceTier) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -470,29 +503,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              firstResource_ = input.readInt32();
-
-              break;
-            } // case 8
-            case 16: {
-              lastResource_ = input.readInt32();
-
-              break;
-            } // case 16
-            case 26: {
-              input.readMessage(
-                  getPriceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                firstResource_ = input.readInt32();
+
+                break;
+              } // case 8
+            case 16:
+              {
+                lastResource_ = input.readInt32();
+
+                break;
+              } // case 16
+            case 26:
+              {
+                input.readMessage(getPriceFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -503,13 +538,16 @@ public Builder mergeFrom(
       return this;
     }
 
-    private int firstResource_ ;
+    private int firstResource_;
     /**
+     *
+     *
      * 
      * First resource for which the tier price applies.
      * 
* * int32 first_resource = 1; + * * @return The firstResource. */ @java.lang.Override @@ -517,42 +555,51 @@ public int getFirstResource() { return firstResource_; } /** + * + * *
      * First resource for which the tier price applies.
      * 
* * int32 first_resource = 1; + * * @param value The firstResource to set. * @return This builder for chaining. */ public Builder setFirstResource(int value) { - + firstResource_ = value; onChanged(); return this; } /** + * + * *
      * First resource for which the tier price applies.
      * 
* * int32 first_resource = 1; + * * @return This builder for chaining. */ public Builder clearFirstResource() { - + firstResource_ = 0; onChanged(); return this; } - private int lastResource_ ; + private int lastResource_; /** + * + * *
      * Last resource for which the tier price applies.
      * 
* * int32 last_resource = 2; + * * @return The lastResource. */ @java.lang.Override @@ -560,30 +607,36 @@ public int getLastResource() { return lastResource_; } /** + * + * *
      * Last resource for which the tier price applies.
      * 
* * int32 last_resource = 2; + * * @param value The lastResource to set. * @return This builder for chaining. */ public Builder setLastResource(int value) { - + lastResource_ = value; onChanged(); return this; } /** + * + * *
      * Last resource for which the tier price applies.
      * 
* * int32 last_resource = 2; + * * @return This builder for chaining. */ public Builder clearLastResource() { - + lastResource_ = 0; onChanged(); return this; @@ -591,24 +644,33 @@ public Builder clearLastResource() { private com.google.cloud.channel.v1.Price price_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Price, com.google.cloud.channel.v1.Price.Builder, com.google.cloud.channel.v1.PriceOrBuilder> priceBuilder_; + com.google.cloud.channel.v1.Price, + com.google.cloud.channel.v1.Price.Builder, + com.google.cloud.channel.v1.PriceOrBuilder> + priceBuilder_; /** + * + * *
      * Price of the tier.
      * 
* * .google.cloud.channel.v1.Price price = 3; + * * @return Whether the price field is set. */ public boolean hasPrice() { return priceBuilder_ != null || price_ != null; } /** + * + * *
      * Price of the tier.
      * 
* * .google.cloud.channel.v1.Price price = 3; + * * @return The price. */ public com.google.cloud.channel.v1.Price getPrice() { @@ -619,6 +681,8 @@ public com.google.cloud.channel.v1.Price getPrice() { } } /** + * + * *
      * Price of the tier.
      * 
@@ -639,14 +703,15 @@ public Builder setPrice(com.google.cloud.channel.v1.Price value) { return this; } /** + * + * *
      * Price of the tier.
      * 
* * .google.cloud.channel.v1.Price price = 3; */ - public Builder setPrice( - com.google.cloud.channel.v1.Price.Builder builderForValue) { + public Builder setPrice(com.google.cloud.channel.v1.Price.Builder builderForValue) { if (priceBuilder_ == null) { price_ = builderForValue.build(); onChanged(); @@ -657,6 +722,8 @@ public Builder setPrice( return this; } /** + * + * *
      * Price of the tier.
      * 
@@ -667,7 +734,7 @@ public Builder mergePrice(com.google.cloud.channel.v1.Price value) { if (priceBuilder_ == null) { if (price_ != null) { price_ = - com.google.cloud.channel.v1.Price.newBuilder(price_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.Price.newBuilder(price_).mergeFrom(value).buildPartial(); } else { price_ = value; } @@ -679,6 +746,8 @@ public Builder mergePrice(com.google.cloud.channel.v1.Price value) { return this; } /** + * + * *
      * Price of the tier.
      * 
@@ -697,6 +766,8 @@ public Builder clearPrice() { return this; } /** + * + * *
      * Price of the tier.
      * 
@@ -704,11 +775,13 @@ public Builder clearPrice() { * .google.cloud.channel.v1.Price price = 3; */ public com.google.cloud.channel.v1.Price.Builder getPriceBuilder() { - + onChanged(); return getPriceFieldBuilder().getBuilder(); } /** + * + * *
      * Price of the tier.
      * 
@@ -719,11 +792,12 @@ public com.google.cloud.channel.v1.PriceOrBuilder getPriceOrBuilder() { if (priceBuilder_ != null) { return priceBuilder_.getMessageOrBuilder(); } else { - return price_ == null ? - com.google.cloud.channel.v1.Price.getDefaultInstance() : price_; + return price_ == null ? com.google.cloud.channel.v1.Price.getDefaultInstance() : price_; } } /** + * + * *
      * Price of the tier.
      * 
@@ -731,21 +805,24 @@ public com.google.cloud.channel.v1.PriceOrBuilder getPriceOrBuilder() { * .google.cloud.channel.v1.Price price = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Price, com.google.cloud.channel.v1.Price.Builder, com.google.cloud.channel.v1.PriceOrBuilder> + com.google.cloud.channel.v1.Price, + com.google.cloud.channel.v1.Price.Builder, + com.google.cloud.channel.v1.PriceOrBuilder> getPriceFieldBuilder() { if (priceBuilder_ == null) { - priceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Price, com.google.cloud.channel.v1.Price.Builder, com.google.cloud.channel.v1.PriceOrBuilder>( - getPrice(), - getParentForChildren(), - isClean()); + priceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Price, + com.google.cloud.channel.v1.Price.Builder, + com.google.cloud.channel.v1.PriceOrBuilder>( + getPrice(), getParentForChildren(), isClean()); price_ = null; } return priceBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -755,12 +832,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.PriceTier) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.PriceTier) private static final com.google.cloud.channel.v1.PriceTier DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.PriceTier(); } @@ -769,27 +846,27 @@ public static com.google.cloud.channel.v1.PriceTier getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PriceTier parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PriceTier parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -804,6 +881,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.PriceTier getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTierOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTierOrBuilder.java similarity index 63% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTierOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTierOrBuilder.java index d9c440782dc6..4539e7f97a63 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTierOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PriceTierOrBuilder.java @@ -1,51 +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/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; -public interface PriceTierOrBuilder extends +public interface PriceTierOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.PriceTier) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * First resource for which the tier price applies.
    * 
* * int32 first_resource = 1; + * * @return The firstResource. */ int getFirstResource(); /** + * + * *
    * Last resource for which the tier price applies.
    * 
* * int32 last_resource = 2; + * * @return The lastResource. */ int getLastResource(); /** + * + * *
    * Price of the tier.
    * 
* * .google.cloud.channel.v1.Price price = 3; + * * @return Whether the price field is set. */ boolean hasPrice(); /** + * + * *
    * Price of the tier.
    * 
* * .google.cloud.channel.v1.Price price = 3; + * * @return The price. */ com.google.cloud.channel.v1.Price getPrice(); /** + * + * *
    * Price of the tier.
    * 
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Product.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Product.java similarity index 68% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Product.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Product.java index d9317e182116..76ad3628c9d9 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Product.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Product.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/cloud/channel/v1/products.proto package com.google.cloud.channel.v1; /** + * + * *
  * A Product is the entity a customer uses when placing an order. For example,
  * Google Workspace, Google Voice, etc.
@@ -11,53 +28,58 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.Product}
  */
-public final class Product extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Product extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.Product)
     ProductOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Product.newBuilder() to construct.
   private Product(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Product() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Product();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_Product_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ProductsProto
+        .internal_static_google_cloud_channel_v1_Product_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_Product_fieldAccessorTable
+    return com.google.cloud.channel.v1.ProductsProto
+        .internal_static_google_cloud_channel_v1_Product_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.Product.class, com.google.cloud.channel.v1.Product.Builder.class);
+            com.google.cloud.channel.v1.Product.class,
+            com.google.cloud.channel.v1.Product.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Resource Name of the Product.
    * Format: products/{product_id}
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -66,30 +88,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Resource Name of the Product.
    * Format: products/{product_id}
    * 
* * 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 { @@ -100,11 +122,14 @@ public java.lang.String getName() { public static final int MARKETING_INFO_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.MarketingInfo marketingInfo_; /** + * + * *
    * Marketing information for the product.
    * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; + * * @return Whether the marketingInfo field is set. */ @java.lang.Override @@ -112,18 +137,25 @@ public boolean hasMarketingInfo() { return marketingInfo_ != null; } /** + * + * *
    * Marketing information for the product.
    * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; + * * @return The marketingInfo. */ @java.lang.Override public com.google.cloud.channel.v1.MarketingInfo getMarketingInfo() { - return marketingInfo_ == null ? com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() : marketingInfo_; + return marketingInfo_ == null + ? com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() + : marketingInfo_; } /** + * + * *
    * Marketing information for the product.
    * 
@@ -136,6 +168,7 @@ public com.google.cloud.channel.v1.MarketingInfoOrBuilder getMarketingInfoOrBuil } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -147,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_); } @@ -168,8 +200,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (marketingInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getMarketingInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMarketingInfo()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -179,19 +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.cloud.channel.v1.Product)) { return super.equals(obj); } com.google.cloud.channel.v1.Product other = (com.google.cloud.channel.v1.Product) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasMarketingInfo() != other.hasMarketingInfo()) return false; if (hasMarketingInfo()) { - if (!getMarketingInfo() - .equals(other.getMarketingInfo())) return false; + if (!getMarketingInfo().equals(other.getMarketingInfo())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -215,97 +244,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.Product parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.Product parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Product parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Product parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.channel.v1.Product parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Product parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.Product parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Product parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.Product 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.cloud.channel.v1.Product parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.Product parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.Product parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.Product parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.Product parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.Product prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 Product is the entity a customer uses when placing an order. For example,
    * Google Workspace, Google Voice, etc.
@@ -313,33 +348,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.Product}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.Product)
       com.google.cloud.channel.v1.ProductOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_Product_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ProductsProto
+          .internal_static_google_cloud_channel_v1_Product_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_Product_fieldAccessorTable
+      return com.google.cloud.channel.v1.ProductsProto
+          .internal_static_google_cloud_channel_v1_Product_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.Product.class, com.google.cloud.channel.v1.Product.Builder.class);
+              com.google.cloud.channel.v1.Product.class,
+              com.google.cloud.channel.v1.Product.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.Product.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -355,9 +389,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_Product_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ProductsProto
+          .internal_static_google_cloud_channel_v1_Product_descriptor;
     }
 
     @java.lang.Override
@@ -391,38 +425,39 @@ public com.google.cloud.channel.v1.Product 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.cloud.channel.v1.Product) {
-        return mergeFrom((com.google.cloud.channel.v1.Product)other);
+        return mergeFrom((com.google.cloud.channel.v1.Product) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -464,24 +499,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getMarketingInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getMarketingInfoFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -494,19 +530,21 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Resource Name of the Product.
      * Format: products/{product_id}
      * 
* * 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; @@ -515,21 +553,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource Name of the Product.
      * Format: products/{product_id}
      * 
* * 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 { @@ -537,57 +576,64 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource Name of the Product.
      * Format: products/{product_id}
      * 
* * 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 of the Product.
      * Format: products/{product_id}
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Resource Name of the Product.
      * Format: products/{product_id}
      * 
* * 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; @@ -595,34 +641,47 @@ public Builder setNameBytes( private com.google.cloud.channel.v1.MarketingInfo marketingInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.MarketingInfo, com.google.cloud.channel.v1.MarketingInfo.Builder, com.google.cloud.channel.v1.MarketingInfoOrBuilder> marketingInfoBuilder_; + com.google.cloud.channel.v1.MarketingInfo, + com.google.cloud.channel.v1.MarketingInfo.Builder, + com.google.cloud.channel.v1.MarketingInfoOrBuilder> + marketingInfoBuilder_; /** + * + * *
      * Marketing information for the product.
      * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; + * * @return Whether the marketingInfo field is set. */ public boolean hasMarketingInfo() { return marketingInfoBuilder_ != null || marketingInfo_ != null; } /** + * + * *
      * Marketing information for the product.
      * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; + * * @return The marketingInfo. */ public com.google.cloud.channel.v1.MarketingInfo getMarketingInfo() { if (marketingInfoBuilder_ == null) { - return marketingInfo_ == null ? com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() : marketingInfo_; + return marketingInfo_ == null + ? com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() + : marketingInfo_; } else { return marketingInfoBuilder_.getMessage(); } } /** + * + * *
      * Marketing information for the product.
      * 
@@ -643,6 +702,8 @@ public Builder setMarketingInfo(com.google.cloud.channel.v1.MarketingInfo value) return this; } /** + * + * *
      * Marketing information for the product.
      * 
@@ -661,6 +722,8 @@ public Builder setMarketingInfo( return this; } /** + * + * *
      * Marketing information for the product.
      * 
@@ -671,7 +734,9 @@ public Builder mergeMarketingInfo(com.google.cloud.channel.v1.MarketingInfo valu if (marketingInfoBuilder_ == null) { if (marketingInfo_ != null) { marketingInfo_ = - com.google.cloud.channel.v1.MarketingInfo.newBuilder(marketingInfo_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.MarketingInfo.newBuilder(marketingInfo_) + .mergeFrom(value) + .buildPartial(); } else { marketingInfo_ = value; } @@ -683,6 +748,8 @@ public Builder mergeMarketingInfo(com.google.cloud.channel.v1.MarketingInfo valu return this; } /** + * + * *
      * Marketing information for the product.
      * 
@@ -701,6 +768,8 @@ public Builder clearMarketingInfo() { return this; } /** + * + * *
      * Marketing information for the product.
      * 
@@ -708,11 +777,13 @@ public Builder clearMarketingInfo() { * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; */ public com.google.cloud.channel.v1.MarketingInfo.Builder getMarketingInfoBuilder() { - + onChanged(); return getMarketingInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Marketing information for the product.
      * 
@@ -723,11 +794,14 @@ public com.google.cloud.channel.v1.MarketingInfoOrBuilder getMarketingInfoOrBuil if (marketingInfoBuilder_ != null) { return marketingInfoBuilder_.getMessageOrBuilder(); } else { - return marketingInfo_ == null ? - com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() : marketingInfo_; + return marketingInfo_ == null + ? com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() + : marketingInfo_; } } /** + * + * *
      * Marketing information for the product.
      * 
@@ -735,21 +809,24 @@ public com.google.cloud.channel.v1.MarketingInfoOrBuilder getMarketingInfoOrBuil * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.MarketingInfo, com.google.cloud.channel.v1.MarketingInfo.Builder, com.google.cloud.channel.v1.MarketingInfoOrBuilder> + com.google.cloud.channel.v1.MarketingInfo, + com.google.cloud.channel.v1.MarketingInfo.Builder, + com.google.cloud.channel.v1.MarketingInfoOrBuilder> getMarketingInfoFieldBuilder() { if (marketingInfoBuilder_ == null) { - marketingInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.MarketingInfo, com.google.cloud.channel.v1.MarketingInfo.Builder, com.google.cloud.channel.v1.MarketingInfoOrBuilder>( - getMarketingInfo(), - getParentForChildren(), - isClean()); + marketingInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.MarketingInfo, + com.google.cloud.channel.v1.MarketingInfo.Builder, + com.google.cloud.channel.v1.MarketingInfoOrBuilder>( + getMarketingInfo(), getParentForChildren(), isClean()); marketingInfo_ = null; } return marketingInfoBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -759,12 +836,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.Product) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.Product) private static final com.google.cloud.channel.v1.Product DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.Product(); } @@ -773,27 +850,27 @@ public static com.google.cloud.channel.v1.Product getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Product parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Product parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -808,6 +885,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Product getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductName.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductName.java similarity index 100% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductName.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductName.java diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductOrBuilder.java similarity index 64% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductOrBuilder.java index 92bfc57ba10f..9d65e89c8e35 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductOrBuilder.java @@ -1,53 +1,82 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/products.proto package com.google.cloud.channel.v1; -public interface ProductOrBuilder extends +public interface ProductOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Product) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Resource Name of the Product.
    * Format: products/{product_id}
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Resource Name of the Product.
    * Format: products/{product_id}
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Marketing information for the product.
    * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; + * * @return Whether the marketingInfo field is set. */ boolean hasMarketingInfo(); /** + * + * *
    * Marketing information for the product.
    * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; + * * @return The marketingInfo. */ com.google.cloud.channel.v1.MarketingInfo getMarketingInfo(); /** + * + * *
    * Marketing information for the product.
    * 
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductsProto.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductsProto.java new file mode 100644 index 000000000000..be281be6668c --- /dev/null +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductsProto.java @@ -0,0 +1,124 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/products.proto + +package com.google.cloud.channel.v1; + +public final class ProductsProto { + private ProductsProto() {} + + 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_cloud_channel_v1_Product_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_Product_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_Sku_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_Sku_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_MarketingInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_MarketingInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_Media_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_Media_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/cloud/channel/v1/products.proto" + + "\022\027google.cloud.channel.v1\032\031google/api/re" + + "source.proto\"\225\001\n\007Product\022\014\n\004name\030\001 \001(\t\022>" + + "\n\016marketing_info\030\002 \001(\0132&.google.cloud.ch" + + "annel.v1.MarketingInfo:<\352A9\n#cloudchanne" + + "l.googleapis.com/Product\022\022products/{prod" + + "uct}\"\313\001\n\003Sku\022\014\n\004name\030\001 \001(\t\022>\n\016marketing_" + + "info\030\002 \001(\0132&.google.cloud.channel.v1.Mar" + + "ketingInfo\0221\n\007product\030\003 \001(\0132 .google.clo" + + "ud.channel.v1.Product:C\352A@\n\037cloudchannel" + + ".googleapis.com/Sku\022\035products/{product}/" + + "skus/{sku}\"p\n\rMarketingInfo\022\024\n\014display_n" + + "ame\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\0224\n\014defaul" + + "t_logo\030\003 \001(\0132\036.google.cloud.channel.v1.M" + + "edia\"Y\n\005Media\022\r\n\005title\030\001 \001(\t\022\017\n\007content\030" + + "\002 \001(\t\0220\n\004type\030\003 \001(\0162\".google.cloud.chann" + + "el.v1.MediaType*=\n\tMediaType\022\032\n\026MEDIA_TY" + + "PE_UNSPECIFIED\020\000\022\024\n\020MEDIA_TYPE_IMAGE\020\001Bn" + + "\n\033com.google.cloud.channel.v1B\rProductsP" + + "rotoP\001Z>google.golang.org/genproto/googl" + + "eapis/cloud/channel/v1;channelb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + }); + internal_static_google_cloud_channel_v1_Product_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_channel_v1_Product_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_Product_descriptor, + new java.lang.String[] { + "Name", "MarketingInfo", + }); + internal_static_google_cloud_channel_v1_Sku_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_channel_v1_Sku_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_Sku_descriptor, + new java.lang.String[] { + "Name", "MarketingInfo", "Product", + }); + internal_static_google_cloud_channel_v1_MarketingInfo_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_channel_v1_MarketingInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_MarketingInfo_descriptor, + new java.lang.String[] { + "DisplayName", "Description", "DefaultLogo", + }); + internal_static_google_cloud_channel_v1_Media_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_channel_v1_Media_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_Media_descriptor, + new java.lang.String[] { + "Title", "Content", "Type", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PromotionalOrderType.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PromotionalOrderType.java similarity index 70% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PromotionalOrderType.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PromotionalOrderType.java index b9ef5d74bd73..fc6528cf7d3e 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PromotionalOrderType.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PromotionalOrderType.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/cloud/channel/v1/offers.proto package com.google.cloud.channel.v1; /** + * + * *
  * Constraints type for Promotional offers.
  * 
* * Protobuf enum {@code google.cloud.channel.v1.PromotionalOrderType} */ -public enum PromotionalOrderType - implements com.google.protobuf.ProtocolMessageEnum { +public enum PromotionalOrderType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Not used.
    * 
@@ -21,6 +39,8 @@ public enum PromotionalOrderType */ PROMOTIONAL_TYPE_UNSPECIFIED(0), /** + * + * *
    * Order used for new customers, trial conversions and upgrades.
    * 
@@ -29,6 +49,8 @@ public enum PromotionalOrderType */ NEW_UPGRADE(1), /** + * + * *
    * All orders for transferring an existing customer.
    * 
@@ -37,6 +59,8 @@ public enum PromotionalOrderType */ TRANSFER(2), /** + * + * *
    * Orders for modifying an existing customer's promotion on the same SKU.
    * 
@@ -48,6 +72,8 @@ public enum PromotionalOrderType ; /** + * + * *
    * Not used.
    * 
@@ -56,6 +82,8 @@ public enum PromotionalOrderType */ public static final int PROMOTIONAL_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Order used for new customers, trial conversions and upgrades.
    * 
@@ -64,6 +92,8 @@ public enum PromotionalOrderType */ public static final int NEW_UPGRADE_VALUE = 1; /** + * + * *
    * All orders for transferring an existing customer.
    * 
@@ -72,6 +102,8 @@ public enum PromotionalOrderType */ public static final int TRANSFER_VALUE = 2; /** + * + * *
    * Orders for modifying an existing customer's promotion on the same SKU.
    * 
@@ -80,7 +112,6 @@ public enum PromotionalOrderType */ public static final int PROMOTION_SWITCH_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -105,11 +136,16 @@ public static PromotionalOrderType valueOf(int value) { */ public static PromotionalOrderType forNumber(int value) { switch (value) { - case 0: return PROMOTIONAL_TYPE_UNSPECIFIED; - case 1: return NEW_UPGRADE; - case 2: return TRANSFER; - case 3: return PROMOTION_SWITCH; - default: return null; + case 0: + return PROMOTIONAL_TYPE_UNSPECIFIED; + case 1: + return NEW_UPGRADE; + case 2: + return TRANSFER; + case 3: + return PROMOTION_SWITCH; + default: + return null; } } @@ -117,28 +153,28 @@ public static PromotionalOrderType forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - PromotionalOrderType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PromotionalOrderType findValueByNumber(int number) { - return PromotionalOrderType.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 PromotionalOrderType findValueByNumber(int number) { + return PromotionalOrderType.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.cloud.channel.v1.OffersProto.getDescriptor().getEnumTypes().get(0); } @@ -147,8 +183,7 @@ public PromotionalOrderType findValueByNumber(int number) { public static PromotionalOrderType 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 +199,3 @@ private PromotionalOrderType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.channel.v1.PromotionalOrderType) } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequest.java similarity index 68% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequest.java index 564348a14067..f2ab5a50746d 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelService.ProvisionCloudIdentity][google.cloud.channel.v1.CloudChannelService.ProvisionCloudIdentity]
@@ -11,53 +28,60 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.ProvisionCloudIdentityRequest}
  */
-public final class ProvisionCloudIdentityRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ProvisionCloudIdentityRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ProvisionCloudIdentityRequest)
     ProvisionCloudIdentityRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ProvisionCloudIdentityRequest.newBuilder() to construct.
   private ProvisionCloudIdentityRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ProvisionCloudIdentityRequest() {
     customer_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ProvisionCloudIdentityRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.ProvisionCloudIdentityRequest.class, com.google.cloud.channel.v1.ProvisionCloudIdentityRequest.Builder.class);
+            com.google.cloud.channel.v1.ProvisionCloudIdentityRequest.class,
+            com.google.cloud.channel.v1.ProvisionCloudIdentityRequest.Builder.class);
   }
 
   public static final int CUSTOMER_FIELD_NUMBER = 1;
   private volatile java.lang.Object customer_;
   /**
+   *
+   *
    * 
    * Required. Resource name of the customer.
    * Format: accounts/{account_id}/customers/{customer_id}
    * 
* - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The customer. */ @java.lang.Override @@ -66,30 +90,32 @@ public java.lang.String getCustomer() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customer_ = s; return s; } } /** + * + * *
    * Required. Resource name of the customer.
    * Format: accounts/{account_id}/customers/{customer_id}
    * 
* - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for customer. */ @java.lang.Override - public com.google.protobuf.ByteString - getCustomerBytes() { + public com.google.protobuf.ByteString getCustomerBytes() { java.lang.Object ref = customer_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customer_ = b; return b; } else { @@ -100,11 +126,14 @@ public java.lang.String getCustomer() { public static final int CLOUD_IDENTITY_INFO_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.CloudIdentityInfo cloudIdentityInfo_; /** + * + * *
    * CloudIdentity-specific customer information.
    * 
* * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 2; + * * @return Whether the cloudIdentityInfo field is set. */ @java.lang.Override @@ -112,18 +141,25 @@ public boolean hasCloudIdentityInfo() { return cloudIdentityInfo_ != null; } /** + * + * *
    * CloudIdentity-specific customer information.
    * 
* * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 2; + * * @return The cloudIdentityInfo. */ @java.lang.Override public com.google.cloud.channel.v1.CloudIdentityInfo getCloudIdentityInfo() { - return cloudIdentityInfo_ == null ? com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() : cloudIdentityInfo_; + return cloudIdentityInfo_ == null + ? com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() + : cloudIdentityInfo_; } /** + * + * *
    * CloudIdentity-specific customer information.
    * 
@@ -138,11 +174,14 @@ public com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder getCloudIdentityIn public static final int USER_FIELD_NUMBER = 3; private com.google.cloud.channel.v1.AdminUser user_; /** + * + * *
    * Admin user information.
    * 
* * .google.cloud.channel.v1.AdminUser user = 3; + * * @return Whether the user field is set. */ @java.lang.Override @@ -150,11 +189,14 @@ public boolean hasUser() { return user_ != null; } /** + * + * *
    * Admin user information.
    * 
* * .google.cloud.channel.v1.AdminUser user = 3; + * * @return The user. */ @java.lang.Override @@ -162,6 +204,8 @@ public com.google.cloud.channel.v1.AdminUser getUser() { return user_ == null ? com.google.cloud.channel.v1.AdminUser.getDefaultInstance() : user_; } /** + * + * *
    * Admin user information.
    * 
@@ -176,11 +220,14 @@ public com.google.cloud.channel.v1.AdminUserOrBuilder getUserOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_; /** + * + * *
    * Validate the request and preview the review, but do not post it.
    * 
* * bool validate_only = 4; + * * @return The validateOnly. */ @java.lang.Override @@ -189,6 +236,7 @@ public boolean getValidateOnly() { } 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(customer_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, customer_); } @@ -227,16 +274,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, customer_); } if (cloudIdentityInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCloudIdentityInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCloudIdentityInfo()); } if (user_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUser()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUser()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -246,27 +290,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.cloud.channel.v1.ProvisionCloudIdentityRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.ProvisionCloudIdentityRequest other = (com.google.cloud.channel.v1.ProvisionCloudIdentityRequest) obj; + com.google.cloud.channel.v1.ProvisionCloudIdentityRequest other = + (com.google.cloud.channel.v1.ProvisionCloudIdentityRequest) obj; - if (!getCustomer() - .equals(other.getCustomer())) return false; + if (!getCustomer().equals(other.getCustomer())) return false; if (hasCloudIdentityInfo() != other.hasCloudIdentityInfo()) return false; if (hasCloudIdentityInfo()) { - if (!getCloudIdentityInfo() - .equals(other.getCloudIdentityInfo())) return false; + if (!getCloudIdentityInfo().equals(other.getCloudIdentityInfo())) return false; } if (hasUser() != other.hasUser()) return false; if (hasUser()) { - if (!getUser() - .equals(other.getUser())) return false; + if (!getUser().equals(other.getUser())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -289,104 +330,111 @@ public int hashCode() { hash = (53 * hash) + getUser().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.channel.v1.ProvisionCloudIdentityRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ProvisionCloudIdentityRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ProvisionCloudIdentityRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ProvisionCloudIdentityRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ProvisionCloudIdentityRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ProvisionCloudIdentityRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ProvisionCloudIdentityRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ProvisionCloudIdentityRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ProvisionCloudIdentityRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ProvisionCloudIdentityRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ProvisionCloudIdentityRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ProvisionCloudIdentityRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ProvisionCloudIdentityRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ProvisionCloudIdentityRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.ProvisionCloudIdentityRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.ProvisionCloudIdentityRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelService.ProvisionCloudIdentity][google.cloud.channel.v1.CloudChannelService.ProvisionCloudIdentity]
@@ -394,33 +442,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.ProvisionCloudIdentityRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ProvisionCloudIdentityRequest)
       com.google.cloud.channel.v1.ProvisionCloudIdentityRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.ProvisionCloudIdentityRequest.class, com.google.cloud.channel.v1.ProvisionCloudIdentityRequest.Builder.class);
+              com.google.cloud.channel.v1.ProvisionCloudIdentityRequest.class,
+              com.google.cloud.channel.v1.ProvisionCloudIdentityRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.ProvisionCloudIdentityRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -444,9 +491,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_descriptor;
     }
 
     @java.lang.Override
@@ -465,7 +512,8 @@ public com.google.cloud.channel.v1.ProvisionCloudIdentityRequest build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.ProvisionCloudIdentityRequest buildPartial() {
-      com.google.cloud.channel.v1.ProvisionCloudIdentityRequest result = new com.google.cloud.channel.v1.ProvisionCloudIdentityRequest(this);
+      com.google.cloud.channel.v1.ProvisionCloudIdentityRequest result =
+          new com.google.cloud.channel.v1.ProvisionCloudIdentityRequest(this);
       result.customer_ = customer_;
       if (cloudIdentityInfoBuilder_ == null) {
         result.cloudIdentityInfo_ = cloudIdentityInfo_;
@@ -486,38 +534,39 @@ public com.google.cloud.channel.v1.ProvisionCloudIdentityRequest 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.cloud.channel.v1.ProvisionCloudIdentityRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.ProvisionCloudIdentityRequest)other);
+        return mergeFrom((com.google.cloud.channel.v1.ProvisionCloudIdentityRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -525,7 +574,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.ProvisionCloudIdentityRequest other) {
-      if (other == com.google.cloud.channel.v1.ProvisionCloudIdentityRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.ProvisionCloudIdentityRequest.getDefaultInstance())
+        return this;
       if (!other.getCustomer().isEmpty()) {
         customer_ = other.customer_;
         onChanged();
@@ -565,36 +615,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              customer_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                customer_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getCloudIdentityInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(
+                    getCloudIdentityInfoFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getUserFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getUserFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 26
-            case 32: {
-              validateOnly_ = input.readBool();
+                break;
+              } // case 26
+            case 32:
+              {
+                validateOnly_ = input.readBool();
 
-              break;
-            } // case 32
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 32
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -607,19 +659,23 @@ public Builder mergeFrom(
 
     private java.lang.Object customer_ = "";
     /**
+     *
+     *
      * 
      * Required. Resource name of the customer.
      * Format: accounts/{account_id}/customers/{customer_id}
      * 
* - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The customer. */ public java.lang.String getCustomer() { java.lang.Object ref = customer_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customer_ = s; return s; @@ -628,21 +684,24 @@ public java.lang.String getCustomer() { } } /** + * + * *
      * Required. Resource name of the customer.
      * Format: accounts/{account_id}/customers/{customer_id}
      * 
* - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for customer. */ - public com.google.protobuf.ByteString - getCustomerBytes() { + public com.google.protobuf.ByteString getCustomerBytes() { java.lang.Object ref = customer_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customer_ = b; return b; } else { @@ -650,57 +709,70 @@ public java.lang.String getCustomer() { } } /** + * + * *
      * Required. Resource name of the customer.
      * Format: accounts/{account_id}/customers/{customer_id}
      * 
* - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The customer to set. * @return This builder for chaining. */ - public Builder setCustomer( - java.lang.String value) { + public Builder setCustomer(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + customer_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the customer.
      * Format: accounts/{account_id}/customers/{customer_id}
      * 
* - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearCustomer() { - + customer_ = getDefaultInstance().getCustomer(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the customer.
      * Format: accounts/{account_id}/customers/{customer_id}
      * 
* - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for customer to set. * @return This builder for chaining. */ - public Builder setCustomerBytes( - com.google.protobuf.ByteString value) { + public Builder setCustomerBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + customer_ = value; onChanged(); return this; @@ -708,34 +780,47 @@ public Builder setCustomerBytes( private com.google.cloud.channel.v1.CloudIdentityInfo cloudIdentityInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CloudIdentityInfo, com.google.cloud.channel.v1.CloudIdentityInfo.Builder, com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder> cloudIdentityInfoBuilder_; + com.google.cloud.channel.v1.CloudIdentityInfo, + com.google.cloud.channel.v1.CloudIdentityInfo.Builder, + com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder> + cloudIdentityInfoBuilder_; /** + * + * *
      * CloudIdentity-specific customer information.
      * 
* * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 2; + * * @return Whether the cloudIdentityInfo field is set. */ public boolean hasCloudIdentityInfo() { return cloudIdentityInfoBuilder_ != null || cloudIdentityInfo_ != null; } /** + * + * *
      * CloudIdentity-specific customer information.
      * 
* * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 2; + * * @return The cloudIdentityInfo. */ public com.google.cloud.channel.v1.CloudIdentityInfo getCloudIdentityInfo() { if (cloudIdentityInfoBuilder_ == null) { - return cloudIdentityInfo_ == null ? com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() : cloudIdentityInfo_; + return cloudIdentityInfo_ == null + ? com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() + : cloudIdentityInfo_; } else { return cloudIdentityInfoBuilder_.getMessage(); } } /** + * + * *
      * CloudIdentity-specific customer information.
      * 
@@ -756,6 +841,8 @@ public Builder setCloudIdentityInfo(com.google.cloud.channel.v1.CloudIdentityInf return this; } /** + * + * *
      * CloudIdentity-specific customer information.
      * 
@@ -774,6 +861,8 @@ public Builder setCloudIdentityInfo( return this; } /** + * + * *
      * CloudIdentity-specific customer information.
      * 
@@ -784,7 +873,9 @@ public Builder mergeCloudIdentityInfo(com.google.cloud.channel.v1.CloudIdentityI if (cloudIdentityInfoBuilder_ == null) { if (cloudIdentityInfo_ != null) { cloudIdentityInfo_ = - com.google.cloud.channel.v1.CloudIdentityInfo.newBuilder(cloudIdentityInfo_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.CloudIdentityInfo.newBuilder(cloudIdentityInfo_) + .mergeFrom(value) + .buildPartial(); } else { cloudIdentityInfo_ = value; } @@ -796,6 +887,8 @@ public Builder mergeCloudIdentityInfo(com.google.cloud.channel.v1.CloudIdentityI return this; } /** + * + * *
      * CloudIdentity-specific customer information.
      * 
@@ -814,6 +907,8 @@ public Builder clearCloudIdentityInfo() { return this; } /** + * + * *
      * CloudIdentity-specific customer information.
      * 
@@ -821,11 +916,13 @@ public Builder clearCloudIdentityInfo() { * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 2; */ public com.google.cloud.channel.v1.CloudIdentityInfo.Builder getCloudIdentityInfoBuilder() { - + onChanged(); return getCloudIdentityInfoFieldBuilder().getBuilder(); } /** + * + * *
      * CloudIdentity-specific customer information.
      * 
@@ -836,11 +933,14 @@ public com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder getCloudIdentityIn if (cloudIdentityInfoBuilder_ != null) { return cloudIdentityInfoBuilder_.getMessageOrBuilder(); } else { - return cloudIdentityInfo_ == null ? - com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() : cloudIdentityInfo_; + return cloudIdentityInfo_ == null + ? com.google.cloud.channel.v1.CloudIdentityInfo.getDefaultInstance() + : cloudIdentityInfo_; } } /** + * + * *
      * CloudIdentity-specific customer information.
      * 
@@ -848,14 +948,17 @@ public com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder getCloudIdentityIn * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CloudIdentityInfo, com.google.cloud.channel.v1.CloudIdentityInfo.Builder, com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder> + com.google.cloud.channel.v1.CloudIdentityInfo, + com.google.cloud.channel.v1.CloudIdentityInfo.Builder, + com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder> getCloudIdentityInfoFieldBuilder() { if (cloudIdentityInfoBuilder_ == null) { - cloudIdentityInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CloudIdentityInfo, com.google.cloud.channel.v1.CloudIdentityInfo.Builder, com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder>( - getCloudIdentityInfo(), - getParentForChildren(), - isClean()); + cloudIdentityInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.CloudIdentityInfo, + com.google.cloud.channel.v1.CloudIdentityInfo.Builder, + com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder>( + getCloudIdentityInfo(), getParentForChildren(), isClean()); cloudIdentityInfo_ = null; } return cloudIdentityInfoBuilder_; @@ -863,24 +966,33 @@ public com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder getCloudIdentityIn private com.google.cloud.channel.v1.AdminUser user_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.AdminUser, com.google.cloud.channel.v1.AdminUser.Builder, com.google.cloud.channel.v1.AdminUserOrBuilder> userBuilder_; + com.google.cloud.channel.v1.AdminUser, + com.google.cloud.channel.v1.AdminUser.Builder, + com.google.cloud.channel.v1.AdminUserOrBuilder> + userBuilder_; /** + * + * *
      * Admin user information.
      * 
* * .google.cloud.channel.v1.AdminUser user = 3; + * * @return Whether the user field is set. */ public boolean hasUser() { return userBuilder_ != null || user_ != null; } /** + * + * *
      * Admin user information.
      * 
* * .google.cloud.channel.v1.AdminUser user = 3; + * * @return The user. */ public com.google.cloud.channel.v1.AdminUser getUser() { @@ -891,6 +1003,8 @@ public com.google.cloud.channel.v1.AdminUser getUser() { } } /** + * + * *
      * Admin user information.
      * 
@@ -911,14 +1025,15 @@ public Builder setUser(com.google.cloud.channel.v1.AdminUser value) { return this; } /** + * + * *
      * Admin user information.
      * 
* * .google.cloud.channel.v1.AdminUser user = 3; */ - public Builder setUser( - com.google.cloud.channel.v1.AdminUser.Builder builderForValue) { + public Builder setUser(com.google.cloud.channel.v1.AdminUser.Builder builderForValue) { if (userBuilder_ == null) { user_ = builderForValue.build(); onChanged(); @@ -929,6 +1044,8 @@ public Builder setUser( return this; } /** + * + * *
      * Admin user information.
      * 
@@ -939,7 +1056,9 @@ public Builder mergeUser(com.google.cloud.channel.v1.AdminUser value) { if (userBuilder_ == null) { if (user_ != null) { user_ = - com.google.cloud.channel.v1.AdminUser.newBuilder(user_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.AdminUser.newBuilder(user_) + .mergeFrom(value) + .buildPartial(); } else { user_ = value; } @@ -951,6 +1070,8 @@ public Builder mergeUser(com.google.cloud.channel.v1.AdminUser value) { return this; } /** + * + * *
      * Admin user information.
      * 
@@ -969,6 +1090,8 @@ public Builder clearUser() { return this; } /** + * + * *
      * Admin user information.
      * 
@@ -976,11 +1099,13 @@ public Builder clearUser() { * .google.cloud.channel.v1.AdminUser user = 3; */ public com.google.cloud.channel.v1.AdminUser.Builder getUserBuilder() { - + onChanged(); return getUserFieldBuilder().getBuilder(); } /** + * + * *
      * Admin user information.
      * 
@@ -991,11 +1116,12 @@ public com.google.cloud.channel.v1.AdminUserOrBuilder getUserOrBuilder() { if (userBuilder_ != null) { return userBuilder_.getMessageOrBuilder(); } else { - return user_ == null ? - com.google.cloud.channel.v1.AdminUser.getDefaultInstance() : user_; + return user_ == null ? com.google.cloud.channel.v1.AdminUser.getDefaultInstance() : user_; } } /** + * + * *
      * Admin user information.
      * 
@@ -1003,26 +1129,32 @@ public com.google.cloud.channel.v1.AdminUserOrBuilder getUserOrBuilder() { * .google.cloud.channel.v1.AdminUser user = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.AdminUser, com.google.cloud.channel.v1.AdminUser.Builder, com.google.cloud.channel.v1.AdminUserOrBuilder> + com.google.cloud.channel.v1.AdminUser, + com.google.cloud.channel.v1.AdminUser.Builder, + com.google.cloud.channel.v1.AdminUserOrBuilder> getUserFieldBuilder() { if (userBuilder_ == null) { - userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.AdminUser, com.google.cloud.channel.v1.AdminUser.Builder, com.google.cloud.channel.v1.AdminUserOrBuilder>( - getUser(), - getParentForChildren(), - isClean()); + userBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.AdminUser, + com.google.cloud.channel.v1.AdminUser.Builder, + com.google.cloud.channel.v1.AdminUserOrBuilder>( + getUser(), getParentForChildren(), isClean()); user_ = null; } return userBuilder_; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Validate the request and preview the review, but do not post it.
      * 
* * bool validate_only = 4; + * * @return The validateOnly. */ @java.lang.Override @@ -1030,37 +1162,43 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Validate the request and preview the review, but do not post it.
      * 
* * bool validate_only = 4; + * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** + * + * *
      * Validate the request and preview the review, but do not post it.
      * 
* * bool validate_only = 4; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = 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); } @@ -1070,12 +1208,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ProvisionCloudIdentityRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ProvisionCloudIdentityRequest) private static final com.google.cloud.channel.v1.ProvisionCloudIdentityRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ProvisionCloudIdentityRequest(); } @@ -1084,27 +1222,27 @@ public static com.google.cloud.channel.v1.ProvisionCloudIdentityRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProvisionCloudIdentityRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProvisionCloudIdentityRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1119,6 +1257,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.channel.v1.ProvisionCloudIdentityRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequestOrBuilder.java index 52d13172802b..86b242bb6557 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionCloudIdentityRequestOrBuilder.java @@ -1,53 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface ProvisionCloudIdentityRequestOrBuilder extends +public interface ProvisionCloudIdentityRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ProvisionCloudIdentityRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the customer.
    * Format: accounts/{account_id}/customers/{customer_id}
    * 
* - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The customer. */ java.lang.String getCustomer(); /** + * + * *
    * Required. Resource name of the customer.
    * Format: accounts/{account_id}/customers/{customer_id}
    * 
* - * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for customer. */ - com.google.protobuf.ByteString - getCustomerBytes(); + com.google.protobuf.ByteString getCustomerBytes(); /** + * + * *
    * CloudIdentity-specific customer information.
    * 
* * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 2; + * * @return Whether the cloudIdentityInfo field is set. */ boolean hasCloudIdentityInfo(); /** + * + * *
    * CloudIdentity-specific customer information.
    * 
* * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 2; + * * @return The cloudIdentityInfo. */ com.google.cloud.channel.v1.CloudIdentityInfo getCloudIdentityInfo(); /** + * + * *
    * CloudIdentity-specific customer information.
    * 
@@ -57,24 +90,32 @@ public interface ProvisionCloudIdentityRequestOrBuilder extends com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder getCloudIdentityInfoOrBuilder(); /** + * + * *
    * Admin user information.
    * 
* * .google.cloud.channel.v1.AdminUser user = 3; + * * @return Whether the user field is set. */ boolean hasUser(); /** + * + * *
    * Admin user information.
    * 
* * .google.cloud.channel.v1.AdminUser user = 3; + * * @return The user. */ com.google.cloud.channel.v1.AdminUser getUser(); /** + * + * *
    * Admin user information.
    * 
@@ -84,11 +125,14 @@ public interface ProvisionCloudIdentityRequestOrBuilder extends com.google.cloud.channel.v1.AdminUserOrBuilder getUserOrBuilder(); /** + * + * *
    * Validate the request and preview the review, but do not post it.
    * 
* * bool validate_only = 4; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedService.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedService.java similarity index 71% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedService.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedService.java index 5e598cddd4ce..28b7cd182341 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedService.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedService.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/cloud/channel/v1/entitlements.proto package com.google.cloud.channel.v1; /** + * + * *
  * Service provisioned for an entitlement.
  * 
* * Protobuf type {@code google.cloud.channel.v1.ProvisionedService} */ -public final class ProvisionedService extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ProvisionedService extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ProvisionedService) ProvisionedServiceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProvisionedService.newBuilder() to construct. private ProvisionedService(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ProvisionedService() { provisioningId_ = ""; productId_ = ""; @@ -27,32 +45,35 @@ private ProvisionedService() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ProvisionedService(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_ProvisionedService_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_ProvisionedService_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_ProvisionedService_fieldAccessorTable + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_ProvisionedService_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ProvisionedService.class, com.google.cloud.channel.v1.ProvisionedService.Builder.class); + com.google.cloud.channel.v1.ProvisionedService.class, + com.google.cloud.channel.v1.ProvisionedService.Builder.class); } public static final int PROVISIONING_ID_FIELD_NUMBER = 1; private volatile java.lang.Object provisioningId_; /** + * + * *
    * Output only. Provisioning ID of the entitlement. For Google Workspace, this
    * is the underlying Subscription ID. For Google Cloud Platform, this is the
@@ -60,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * string provisioning_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The provisioningId. */ @java.lang.Override @@ -68,14 +90,15 @@ public java.lang.String getProvisioningId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); provisioningId_ = s; return s; } } /** + * + * *
    * Output only. Provisioning ID of the entitlement. For Google Workspace, this
    * is the underlying Subscription ID. For Google Cloud Platform, this is the
@@ -83,16 +106,15 @@ public java.lang.String getProvisioningId() {
    * 
* * string provisioning_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for provisioningId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProvisioningIdBytes() { + public com.google.protobuf.ByteString getProvisioningIdBytes() { java.lang.Object ref = provisioningId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); provisioningId_ = b; return b; } else { @@ -103,12 +125,15 @@ public java.lang.String getProvisioningId() { public static final int PRODUCT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object productId_; /** + * + * *
    * Output only. The product pertaining to the provisioning resource as
    * specified in the Offer.
    * 
* * string product_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The productId. */ @java.lang.Override @@ -117,30 +142,30 @@ public java.lang.String getProductId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productId_ = s; return s; } } /** + * + * *
    * Output only. The product pertaining to the provisioning resource as
    * specified in the Offer.
    * 
* * string product_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for productId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProductIdBytes() { + public com.google.protobuf.ByteString getProductIdBytes() { java.lang.Object ref = productId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); productId_ = b; return b; } else { @@ -151,12 +176,15 @@ public java.lang.String getProductId() { public static final int SKU_ID_FIELD_NUMBER = 3; private volatile java.lang.Object skuId_; /** + * + * *
    * Output only. The SKU pertaining to the provisioning resource as specified
    * in the Offer.
    * 
* * string sku_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The skuId. */ @java.lang.Override @@ -165,30 +193,30 @@ public java.lang.String getSkuId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); skuId_ = s; return s; } } /** + * + * *
    * Output only. The SKU pertaining to the provisioning resource as specified
    * in the Offer.
    * 
* * string sku_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for skuId. */ @java.lang.Override - public com.google.protobuf.ByteString - getSkuIdBytes() { + public com.google.protobuf.ByteString getSkuIdBytes() { java.lang.Object ref = skuId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); skuId_ = b; return b; } else { @@ -197,6 +225,7 @@ public java.lang.String getSkuId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,8 +237,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(provisioningId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, provisioningId_); } @@ -245,19 +273,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.cloud.channel.v1.ProvisionedService)) { return super.equals(obj); } - com.google.cloud.channel.v1.ProvisionedService other = (com.google.cloud.channel.v1.ProvisionedService) obj; + com.google.cloud.channel.v1.ProvisionedService other = + (com.google.cloud.channel.v1.ProvisionedService) obj; - if (!getProvisioningId() - .equals(other.getProvisioningId())) return false; - if (!getProductId() - .equals(other.getProductId())) return false; - if (!getSkuId() - .equals(other.getSkuId())) return false; + if (!getProvisioningId().equals(other.getProvisioningId())) return false; + if (!getProductId().equals(other.getProductId())) return false; + if (!getSkuId().equals(other.getSkuId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -280,130 +306,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ProvisionedService parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.ProvisionedService parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ProvisionedService parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ProvisionedService parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ProvisionedService parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ProvisionedService parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ProvisionedService parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ProvisionedService 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.cloud.channel.v1.ProvisionedService parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ProvisionedService parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ProvisionedService parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ProvisionedService parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ProvisionedService parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ProvisionedService parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.ProvisionedService prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Service provisioned for an entitlement.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ProvisionedService} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ProvisionedService) com.google.cloud.channel.v1.ProvisionedServiceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_ProvisionedService_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_ProvisionedService_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_ProvisionedService_fieldAccessorTable + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_ProvisionedService_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ProvisionedService.class, com.google.cloud.channel.v1.ProvisionedService.Builder.class); + com.google.cloud.channel.v1.ProvisionedService.class, + com.google.cloud.channel.v1.ProvisionedService.Builder.class); } // Construct using com.google.cloud.channel.v1.ProvisionedService.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -417,9 +449,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_ProvisionedService_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_ProvisionedService_descriptor; } @java.lang.Override @@ -438,7 +470,8 @@ public com.google.cloud.channel.v1.ProvisionedService build() { @java.lang.Override public com.google.cloud.channel.v1.ProvisionedService buildPartial() { - com.google.cloud.channel.v1.ProvisionedService result = new com.google.cloud.channel.v1.ProvisionedService(this); + com.google.cloud.channel.v1.ProvisionedService result = + new com.google.cloud.channel.v1.ProvisionedService(this); result.provisioningId_ = provisioningId_; result.productId_ = productId_; result.skuId_ = skuId_; @@ -450,38 +483,39 @@ public com.google.cloud.channel.v1.ProvisionedService 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.cloud.channel.v1.ProvisionedService) { - return mergeFrom((com.google.cloud.channel.v1.ProvisionedService)other); + return mergeFrom((com.google.cloud.channel.v1.ProvisionedService) other); } else { super.mergeFrom(other); return this; @@ -528,27 +562,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - provisioningId_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - productId_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - skuId_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + provisioningId_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + productId_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + skuId_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -561,6 +599,8 @@ public Builder mergeFrom( private java.lang.Object provisioningId_ = ""; /** + * + * *
      * Output only. Provisioning ID of the entitlement. For Google Workspace, this
      * is the underlying Subscription ID. For Google Cloud Platform, this is the
@@ -568,13 +608,13 @@ public Builder mergeFrom(
      * 
* * string provisioning_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The provisioningId. */ public java.lang.String getProvisioningId() { java.lang.Object ref = provisioningId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); provisioningId_ = s; return s; @@ -583,6 +623,8 @@ public java.lang.String getProvisioningId() { } } /** + * + * *
      * Output only. Provisioning ID of the entitlement. For Google Workspace, this
      * is the underlying Subscription ID. For Google Cloud Platform, this is the
@@ -590,15 +632,14 @@ public java.lang.String getProvisioningId() {
      * 
* * string provisioning_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for provisioningId. */ - public com.google.protobuf.ByteString - getProvisioningIdBytes() { + public com.google.protobuf.ByteString getProvisioningIdBytes() { java.lang.Object ref = provisioningId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); provisioningId_ = b; return b; } else { @@ -606,6 +647,8 @@ public java.lang.String getProvisioningId() { } } /** + * + * *
      * Output only. Provisioning ID of the entitlement. For Google Workspace, this
      * is the underlying Subscription ID. For Google Cloud Platform, this is the
@@ -613,20 +656,22 @@ public java.lang.String getProvisioningId() {
      * 
* * string provisioning_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The provisioningId to set. * @return This builder for chaining. */ - public Builder setProvisioningId( - java.lang.String value) { + public Builder setProvisioningId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + provisioningId_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Provisioning ID of the entitlement. For Google Workspace, this
      * is the underlying Subscription ID. For Google Cloud Platform, this is the
@@ -634,15 +679,18 @@ public Builder setProvisioningId(
      * 
* * string provisioning_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearProvisioningId() { - + provisioningId_ = getDefaultInstance().getProvisioningId(); onChanged(); return this; } /** + * + * *
      * Output only. Provisioning ID of the entitlement. For Google Workspace, this
      * is the underlying Subscription ID. For Google Cloud Platform, this is the
@@ -650,16 +698,16 @@ public Builder clearProvisioningId() {
      * 
* * string provisioning_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for provisioningId to set. * @return This builder for chaining. */ - public Builder setProvisioningIdBytes( - com.google.protobuf.ByteString value) { + public Builder setProvisioningIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + provisioningId_ = value; onChanged(); return this; @@ -667,19 +715,21 @@ public Builder setProvisioningIdBytes( private java.lang.Object productId_ = ""; /** + * + * *
      * Output only. The product pertaining to the provisioning resource as
      * specified in the Offer.
      * 
* * string product_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The productId. */ public java.lang.String getProductId() { java.lang.Object ref = productId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productId_ = s; return s; @@ -688,21 +738,22 @@ public java.lang.String getProductId() { } } /** + * + * *
      * Output only. The product pertaining to the provisioning resource as
      * specified in the Offer.
      * 
* * string product_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for productId. */ - public com.google.protobuf.ByteString - getProductIdBytes() { + public com.google.protobuf.ByteString getProductIdBytes() { java.lang.Object ref = productId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); productId_ = b; return b; } else { @@ -710,57 +761,64 @@ public java.lang.String getProductId() { } } /** + * + * *
      * Output only. The product pertaining to the provisioning resource as
      * specified in the Offer.
      * 
* * string product_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The productId to set. * @return This builder for chaining. */ - public Builder setProductId( - java.lang.String value) { + public Builder setProductId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + productId_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The product pertaining to the provisioning resource as
      * specified in the Offer.
      * 
* * string product_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearProductId() { - + productId_ = getDefaultInstance().getProductId(); onChanged(); return this; } /** + * + * *
      * Output only. The product pertaining to the provisioning resource as
      * specified in the Offer.
      * 
* * string product_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for productId to set. * @return This builder for chaining. */ - public Builder setProductIdBytes( - com.google.protobuf.ByteString value) { + public Builder setProductIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + productId_ = value; onChanged(); return this; @@ -768,19 +826,21 @@ public Builder setProductIdBytes( private java.lang.Object skuId_ = ""; /** + * + * *
      * Output only. The SKU pertaining to the provisioning resource as specified
      * in the Offer.
      * 
* * string sku_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The skuId. */ public java.lang.String getSkuId() { java.lang.Object ref = skuId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); skuId_ = s; return s; @@ -789,21 +849,22 @@ public java.lang.String getSkuId() { } } /** + * + * *
      * Output only. The SKU pertaining to the provisioning resource as specified
      * in the Offer.
      * 
* * string sku_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for skuId. */ - public com.google.protobuf.ByteString - getSkuIdBytes() { + public com.google.protobuf.ByteString getSkuIdBytes() { java.lang.Object ref = skuId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); skuId_ = b; return b; } else { @@ -811,64 +872,71 @@ public java.lang.String getSkuId() { } } /** + * + * *
      * Output only. The SKU pertaining to the provisioning resource as specified
      * in the Offer.
      * 
* * string sku_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The skuId to set. * @return This builder for chaining. */ - public Builder setSkuId( - java.lang.String value) { + public Builder setSkuId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + skuId_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The SKU pertaining to the provisioning resource as specified
      * in the Offer.
      * 
* * string sku_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSkuId() { - + skuId_ = getDefaultInstance().getSkuId(); onChanged(); return this; } /** + * + * *
      * Output only. The SKU pertaining to the provisioning resource as specified
      * in the Offer.
      * 
* * string sku_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for skuId to set. * @return This builder for chaining. */ - public Builder setSkuIdBytes( - com.google.protobuf.ByteString value) { + public Builder setSkuIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + skuId_ = 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); } @@ -878,12 +946,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ProvisionedService) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ProvisionedService) private static final com.google.cloud.channel.v1.ProvisionedService DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ProvisionedService(); } @@ -892,27 +960,27 @@ public static com.google.cloud.channel.v1.ProvisionedService getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProvisionedService parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProvisionedService parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -927,6 +995,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ProvisionedService getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedServiceOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedServiceOrBuilder.java similarity index 70% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedServiceOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedServiceOrBuilder.java index e9bcc63a8e42..340e9fdd83b4 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedServiceOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProvisionedServiceOrBuilder.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/cloud/channel/v1/entitlements.proto package com.google.cloud.channel.v1; -public interface ProvisionedServiceOrBuilder extends +public interface ProvisionedServiceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ProvisionedService) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Provisioning ID of the entitlement. For Google Workspace, this
    * is the underlying Subscription ID. For Google Cloud Platform, this is the
@@ -15,10 +33,13 @@ public interface ProvisionedServiceOrBuilder extends
    * 
* * string provisioning_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The provisioningId. */ java.lang.String getProvisioningId(); /** + * + * *
    * Output only. Provisioning ID of the entitlement. For Google Workspace, this
    * is the underlying Subscription ID. For Google Cloud Platform, this is the
@@ -26,52 +47,62 @@ public interface ProvisionedServiceOrBuilder extends
    * 
* * string provisioning_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for provisioningId. */ - com.google.protobuf.ByteString - getProvisioningIdBytes(); + com.google.protobuf.ByteString getProvisioningIdBytes(); /** + * + * *
    * Output only. The product pertaining to the provisioning resource as
    * specified in the Offer.
    * 
* * string product_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The productId. */ java.lang.String getProductId(); /** + * + * *
    * Output only. The product pertaining to the provisioning resource as
    * specified in the Offer.
    * 
* * string product_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for productId. */ - com.google.protobuf.ByteString - getProductIdBytes(); + com.google.protobuf.ByteString getProductIdBytes(); /** + * + * *
    * Output only. The SKU pertaining to the provisioning resource as specified
    * in the Offer.
    * 
* * string sku_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The skuId. */ java.lang.String getSkuId(); /** + * + * *
    * Output only. The SKU pertaining to the provisioning resource as specified
    * in the Offer.
    * 
* * string sku_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for skuId. */ - com.google.protobuf.ByteString - getSkuIdBytes(); + com.google.protobuf.ByteString getSkuIdBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOffer.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOffer.java similarity index 66% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOffer.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOffer.java index c7efda91ae31..03ed61952804 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOffer.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOffer.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Offer that you can purchase for a customer. This is used in the
  * ListPurchasableOffer API response.
@@ -11,51 +28,55 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.PurchasableOffer}
  */
-public final class PurchasableOffer extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class PurchasableOffer extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.PurchasableOffer)
     PurchasableOfferOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use PurchasableOffer.newBuilder() to construct.
   private PurchasableOffer(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private PurchasableOffer() {
-  }
+
+  private PurchasableOffer() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new PurchasableOffer();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_PurchasableOffer_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_PurchasableOffer_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_PurchasableOffer_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_PurchasableOffer_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.PurchasableOffer.class, com.google.cloud.channel.v1.PurchasableOffer.Builder.class);
+            com.google.cloud.channel.v1.PurchasableOffer.class,
+            com.google.cloud.channel.v1.PurchasableOffer.Builder.class);
   }
 
   public static final int OFFER_FIELD_NUMBER = 1;
   private com.google.cloud.channel.v1.Offer offer_;
   /**
+   *
+   *
    * 
    * Offer.
    * 
* * .google.cloud.channel.v1.Offer offer = 1; + * * @return Whether the offer field is set. */ @java.lang.Override @@ -63,11 +84,14 @@ public boolean hasOffer() { return offer_ != null; } /** + * + * *
    * Offer.
    * 
* * .google.cloud.channel.v1.Offer offer = 1; + * * @return The offer. */ @java.lang.Override @@ -75,6 +99,8 @@ public com.google.cloud.channel.v1.Offer getOffer() { return offer_ == null ? com.google.cloud.channel.v1.Offer.getDefaultInstance() : offer_; } /** + * + * *
    * Offer.
    * 
@@ -87,6 +113,7 @@ public com.google.cloud.channel.v1.OfferOrBuilder getOfferOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +125,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (offer_ != null) { output.writeMessage(1, getOffer()); } @@ -113,8 +139,7 @@ public int getSerializedSize() { size = 0; if (offer_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getOffer()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOffer()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -124,17 +149,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.cloud.channel.v1.PurchasableOffer)) { return super.equals(obj); } - com.google.cloud.channel.v1.PurchasableOffer other = (com.google.cloud.channel.v1.PurchasableOffer) obj; + com.google.cloud.channel.v1.PurchasableOffer other = + (com.google.cloud.channel.v1.PurchasableOffer) obj; if (hasOffer() != other.hasOffer()) return false; if (hasOffer()) { - if (!getOffer() - .equals(other.getOffer())) return false; + if (!getOffer().equals(other.getOffer())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -156,97 +181,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.PurchasableOffer parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.PurchasableOffer parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.PurchasableOffer parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.PurchasableOffer parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.PurchasableOffer parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.PurchasableOffer parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.PurchasableOffer parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.PurchasableOffer 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.cloud.channel.v1.PurchasableOffer parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.PurchasableOffer parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.PurchasableOffer parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.PurchasableOffer parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.PurchasableOffer parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.PurchasableOffer parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.PurchasableOffer prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Offer that you can purchase for a customer. This is used in the
    * ListPurchasableOffer API response.
@@ -254,33 +286,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.PurchasableOffer}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.PurchasableOffer)
       com.google.cloud.channel.v1.PurchasableOfferOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_PurchasableOffer_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_PurchasableOffer_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_PurchasableOffer_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_PurchasableOffer_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.PurchasableOffer.class, com.google.cloud.channel.v1.PurchasableOffer.Builder.class);
+              com.google.cloud.channel.v1.PurchasableOffer.class,
+              com.google.cloud.channel.v1.PurchasableOffer.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.PurchasableOffer.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -294,9 +325,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_PurchasableOffer_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_PurchasableOffer_descriptor;
     }
 
     @java.lang.Override
@@ -315,7 +346,8 @@ public com.google.cloud.channel.v1.PurchasableOffer build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.PurchasableOffer buildPartial() {
-      com.google.cloud.channel.v1.PurchasableOffer result = new com.google.cloud.channel.v1.PurchasableOffer(this);
+      com.google.cloud.channel.v1.PurchasableOffer result =
+          new com.google.cloud.channel.v1.PurchasableOffer(this);
       if (offerBuilder_ == null) {
         result.offer_ = offer_;
       } else {
@@ -329,38 +361,39 @@ public com.google.cloud.channel.v1.PurchasableOffer 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.cloud.channel.v1.PurchasableOffer) {
-        return mergeFrom((com.google.cloud.channel.v1.PurchasableOffer)other);
+        return mergeFrom((com.google.cloud.channel.v1.PurchasableOffer) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -398,19 +431,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getOfferFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getOfferFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -423,24 +456,33 @@ public Builder mergeFrom(
 
     private com.google.cloud.channel.v1.Offer offer_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.channel.v1.Offer, com.google.cloud.channel.v1.Offer.Builder, com.google.cloud.channel.v1.OfferOrBuilder> offerBuilder_;
+            com.google.cloud.channel.v1.Offer,
+            com.google.cloud.channel.v1.Offer.Builder,
+            com.google.cloud.channel.v1.OfferOrBuilder>
+        offerBuilder_;
     /**
+     *
+     *
      * 
      * Offer.
      * 
* * .google.cloud.channel.v1.Offer offer = 1; + * * @return Whether the offer field is set. */ public boolean hasOffer() { return offerBuilder_ != null || offer_ != null; } /** + * + * *
      * Offer.
      * 
* * .google.cloud.channel.v1.Offer offer = 1; + * * @return The offer. */ public com.google.cloud.channel.v1.Offer getOffer() { @@ -451,6 +493,8 @@ public com.google.cloud.channel.v1.Offer getOffer() { } } /** + * + * *
      * Offer.
      * 
@@ -471,14 +515,15 @@ public Builder setOffer(com.google.cloud.channel.v1.Offer value) { return this; } /** + * + * *
      * Offer.
      * 
* * .google.cloud.channel.v1.Offer offer = 1; */ - public Builder setOffer( - com.google.cloud.channel.v1.Offer.Builder builderForValue) { + public Builder setOffer(com.google.cloud.channel.v1.Offer.Builder builderForValue) { if (offerBuilder_ == null) { offer_ = builderForValue.build(); onChanged(); @@ -489,6 +534,8 @@ public Builder setOffer( return this; } /** + * + * *
      * Offer.
      * 
@@ -499,7 +546,7 @@ public Builder mergeOffer(com.google.cloud.channel.v1.Offer value) { if (offerBuilder_ == null) { if (offer_ != null) { offer_ = - com.google.cloud.channel.v1.Offer.newBuilder(offer_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.Offer.newBuilder(offer_).mergeFrom(value).buildPartial(); } else { offer_ = value; } @@ -511,6 +558,8 @@ public Builder mergeOffer(com.google.cloud.channel.v1.Offer value) { return this; } /** + * + * *
      * Offer.
      * 
@@ -529,6 +578,8 @@ public Builder clearOffer() { return this; } /** + * + * *
      * Offer.
      * 
@@ -536,11 +587,13 @@ public Builder clearOffer() { * .google.cloud.channel.v1.Offer offer = 1; */ public com.google.cloud.channel.v1.Offer.Builder getOfferBuilder() { - + onChanged(); return getOfferFieldBuilder().getBuilder(); } /** + * + * *
      * Offer.
      * 
@@ -551,11 +604,12 @@ public com.google.cloud.channel.v1.OfferOrBuilder getOfferOrBuilder() { if (offerBuilder_ != null) { return offerBuilder_.getMessageOrBuilder(); } else { - return offer_ == null ? - com.google.cloud.channel.v1.Offer.getDefaultInstance() : offer_; + return offer_ == null ? com.google.cloud.channel.v1.Offer.getDefaultInstance() : offer_; } } /** + * + * *
      * Offer.
      * 
@@ -563,21 +617,24 @@ public com.google.cloud.channel.v1.OfferOrBuilder getOfferOrBuilder() { * .google.cloud.channel.v1.Offer offer = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Offer, com.google.cloud.channel.v1.Offer.Builder, com.google.cloud.channel.v1.OfferOrBuilder> + com.google.cloud.channel.v1.Offer, + com.google.cloud.channel.v1.Offer.Builder, + com.google.cloud.channel.v1.OfferOrBuilder> getOfferFieldBuilder() { if (offerBuilder_ == null) { - offerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Offer, com.google.cloud.channel.v1.Offer.Builder, com.google.cloud.channel.v1.OfferOrBuilder>( - getOffer(), - getParentForChildren(), - isClean()); + offerBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Offer, + com.google.cloud.channel.v1.Offer.Builder, + com.google.cloud.channel.v1.OfferOrBuilder>( + getOffer(), getParentForChildren(), isClean()); offer_ = null; } return offerBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -587,12 +644,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.PurchasableOffer) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.PurchasableOffer) private static final com.google.cloud.channel.v1.PurchasableOffer DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.PurchasableOffer(); } @@ -601,27 +658,27 @@ public static com.google.cloud.channel.v1.PurchasableOffer getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PurchasableOffer parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PurchasableOffer parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,6 +693,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.PurchasableOffer getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOfferOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOfferOrBuilder.java similarity index 54% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOfferOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOfferOrBuilder.java index 45333d896892..975a709fa112 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOfferOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableOfferOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface PurchasableOfferOrBuilder extends +public interface PurchasableOfferOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.PurchasableOffer) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Offer.
    * 
* * .google.cloud.channel.v1.Offer offer = 1; + * * @return Whether the offer field is set. */ boolean hasOffer(); /** + * + * *
    * Offer.
    * 
* * .google.cloud.channel.v1.Offer offer = 1; + * * @return The offer. */ com.google.cloud.channel.v1.Offer getOffer(); /** + * + * *
    * Offer.
    * 
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSku.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSku.java similarity index 65% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSku.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSku.java index d7b1f2b0ba64..af49d2954dd1 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSku.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSku.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * SKU that you can purchase. This is used in ListPurchasableSku API
  * response.
@@ -11,51 +28,55 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.PurchasableSku}
  */
-public final class PurchasableSku extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class PurchasableSku extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.PurchasableSku)
     PurchasableSkuOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use PurchasableSku.newBuilder() to construct.
   private PurchasableSku(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private PurchasableSku() {
-  }
+
+  private PurchasableSku() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new PurchasableSku();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_PurchasableSku_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_PurchasableSku_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_PurchasableSku_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_PurchasableSku_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.PurchasableSku.class, com.google.cloud.channel.v1.PurchasableSku.Builder.class);
+            com.google.cloud.channel.v1.PurchasableSku.class,
+            com.google.cloud.channel.v1.PurchasableSku.Builder.class);
   }
 
   public static final int SKU_FIELD_NUMBER = 1;
   private com.google.cloud.channel.v1.Sku sku_;
   /**
+   *
+   *
    * 
    * SKU
    * 
* * .google.cloud.channel.v1.Sku sku = 1; + * * @return Whether the sku field is set. */ @java.lang.Override @@ -63,11 +84,14 @@ public boolean hasSku() { return sku_ != null; } /** + * + * *
    * SKU
    * 
* * .google.cloud.channel.v1.Sku sku = 1; + * * @return The sku. */ @java.lang.Override @@ -75,6 +99,8 @@ public com.google.cloud.channel.v1.Sku getSku() { return sku_ == null ? com.google.cloud.channel.v1.Sku.getDefaultInstance() : sku_; } /** + * + * *
    * SKU
    * 
@@ -87,6 +113,7 @@ public com.google.cloud.channel.v1.SkuOrBuilder getSkuOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +125,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (sku_ != null) { output.writeMessage(1, getSku()); } @@ -113,8 +139,7 @@ public int getSerializedSize() { size = 0; if (sku_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSku()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSku()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -124,17 +149,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.cloud.channel.v1.PurchasableSku)) { return super.equals(obj); } - com.google.cloud.channel.v1.PurchasableSku other = (com.google.cloud.channel.v1.PurchasableSku) obj; + com.google.cloud.channel.v1.PurchasableSku other = + (com.google.cloud.channel.v1.PurchasableSku) obj; if (hasSku() != other.hasSku()) return false; if (hasSku()) { - if (!getSku() - .equals(other.getSku())) return false; + if (!getSku().equals(other.getSku())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -156,97 +181,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.PurchasableSku parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.PurchasableSku parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.PurchasableSku parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.PurchasableSku parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.PurchasableSku parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.PurchasableSku parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.PurchasableSku parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.PurchasableSku 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.cloud.channel.v1.PurchasableSku parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.PurchasableSku parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.PurchasableSku parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.PurchasableSku parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.PurchasableSku parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.PurchasableSku parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.PurchasableSku prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SKU that you can purchase. This is used in ListPurchasableSku API
    * response.
@@ -254,33 +286,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.PurchasableSku}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.PurchasableSku)
       com.google.cloud.channel.v1.PurchasableSkuOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_PurchasableSku_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_PurchasableSku_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_PurchasableSku_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_PurchasableSku_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.PurchasableSku.class, com.google.cloud.channel.v1.PurchasableSku.Builder.class);
+              com.google.cloud.channel.v1.PurchasableSku.class,
+              com.google.cloud.channel.v1.PurchasableSku.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.PurchasableSku.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -294,9 +325,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_PurchasableSku_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_PurchasableSku_descriptor;
     }
 
     @java.lang.Override
@@ -315,7 +346,8 @@ public com.google.cloud.channel.v1.PurchasableSku build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.PurchasableSku buildPartial() {
-      com.google.cloud.channel.v1.PurchasableSku result = new com.google.cloud.channel.v1.PurchasableSku(this);
+      com.google.cloud.channel.v1.PurchasableSku result =
+          new com.google.cloud.channel.v1.PurchasableSku(this);
       if (skuBuilder_ == null) {
         result.sku_ = sku_;
       } else {
@@ -329,38 +361,39 @@ public com.google.cloud.channel.v1.PurchasableSku 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.cloud.channel.v1.PurchasableSku) {
-        return mergeFrom((com.google.cloud.channel.v1.PurchasableSku)other);
+        return mergeFrom((com.google.cloud.channel.v1.PurchasableSku) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -398,19 +431,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getSkuFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getSkuFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -423,24 +456,33 @@ public Builder mergeFrom(
 
     private com.google.cloud.channel.v1.Sku sku_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.channel.v1.Sku, com.google.cloud.channel.v1.Sku.Builder, com.google.cloud.channel.v1.SkuOrBuilder> skuBuilder_;
+            com.google.cloud.channel.v1.Sku,
+            com.google.cloud.channel.v1.Sku.Builder,
+            com.google.cloud.channel.v1.SkuOrBuilder>
+        skuBuilder_;
     /**
+     *
+     *
      * 
      * SKU
      * 
* * .google.cloud.channel.v1.Sku sku = 1; + * * @return Whether the sku field is set. */ public boolean hasSku() { return skuBuilder_ != null || sku_ != null; } /** + * + * *
      * SKU
      * 
* * .google.cloud.channel.v1.Sku sku = 1; + * * @return The sku. */ public com.google.cloud.channel.v1.Sku getSku() { @@ -451,6 +493,8 @@ public com.google.cloud.channel.v1.Sku getSku() { } } /** + * + * *
      * SKU
      * 
@@ -471,14 +515,15 @@ public Builder setSku(com.google.cloud.channel.v1.Sku value) { return this; } /** + * + * *
      * SKU
      * 
* * .google.cloud.channel.v1.Sku sku = 1; */ - public Builder setSku( - com.google.cloud.channel.v1.Sku.Builder builderForValue) { + public Builder setSku(com.google.cloud.channel.v1.Sku.Builder builderForValue) { if (skuBuilder_ == null) { sku_ = builderForValue.build(); onChanged(); @@ -489,6 +534,8 @@ public Builder setSku( return this; } /** + * + * *
      * SKU
      * 
@@ -498,8 +545,7 @@ public Builder setSku( public Builder mergeSku(com.google.cloud.channel.v1.Sku value) { if (skuBuilder_ == null) { if (sku_ != null) { - sku_ = - com.google.cloud.channel.v1.Sku.newBuilder(sku_).mergeFrom(value).buildPartial(); + sku_ = com.google.cloud.channel.v1.Sku.newBuilder(sku_).mergeFrom(value).buildPartial(); } else { sku_ = value; } @@ -511,6 +557,8 @@ public Builder mergeSku(com.google.cloud.channel.v1.Sku value) { return this; } /** + * + * *
      * SKU
      * 
@@ -529,6 +577,8 @@ public Builder clearSku() { return this; } /** + * + * *
      * SKU
      * 
@@ -536,11 +586,13 @@ public Builder clearSku() { * .google.cloud.channel.v1.Sku sku = 1; */ public com.google.cloud.channel.v1.Sku.Builder getSkuBuilder() { - + onChanged(); return getSkuFieldBuilder().getBuilder(); } /** + * + * *
      * SKU
      * 
@@ -551,11 +603,12 @@ public com.google.cloud.channel.v1.SkuOrBuilder getSkuOrBuilder() { if (skuBuilder_ != null) { return skuBuilder_.getMessageOrBuilder(); } else { - return sku_ == null ? - com.google.cloud.channel.v1.Sku.getDefaultInstance() : sku_; + return sku_ == null ? com.google.cloud.channel.v1.Sku.getDefaultInstance() : sku_; } } /** + * + * *
      * SKU
      * 
@@ -563,21 +616,24 @@ public com.google.cloud.channel.v1.SkuOrBuilder getSkuOrBuilder() { * .google.cloud.channel.v1.Sku sku = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Sku, com.google.cloud.channel.v1.Sku.Builder, com.google.cloud.channel.v1.SkuOrBuilder> + com.google.cloud.channel.v1.Sku, + com.google.cloud.channel.v1.Sku.Builder, + com.google.cloud.channel.v1.SkuOrBuilder> getSkuFieldBuilder() { if (skuBuilder_ == null) { - skuBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Sku, com.google.cloud.channel.v1.Sku.Builder, com.google.cloud.channel.v1.SkuOrBuilder>( - getSku(), - getParentForChildren(), - isClean()); + skuBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Sku, + com.google.cloud.channel.v1.Sku.Builder, + com.google.cloud.channel.v1.SkuOrBuilder>( + getSku(), getParentForChildren(), isClean()); sku_ = null; } return skuBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -587,12 +643,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.PurchasableSku) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.PurchasableSku) private static final com.google.cloud.channel.v1.PurchasableSku DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.PurchasableSku(); } @@ -601,27 +657,27 @@ public static com.google.cloud.channel.v1.PurchasableSku getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PurchasableSku parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PurchasableSku parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,6 +692,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.PurchasableSku getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSkuOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSkuOrBuilder.java similarity index 53% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSkuOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSkuOrBuilder.java index cfafdc24647c..02e177e79877 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSkuOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/PurchasableSkuOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface PurchasableSkuOrBuilder extends +public interface PurchasableSkuOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.PurchasableSku) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * SKU
    * 
* * .google.cloud.channel.v1.Sku sku = 1; + * * @return Whether the sku field is set. */ boolean hasSku(); /** + * + * *
    * SKU
    * 
* * .google.cloud.channel.v1.Sku sku = 1; + * * @return The sku. */ com.google.cloud.channel.v1.Sku getSku(); /** + * + * *
    * SKU
    * 
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RebillingBasis.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RebillingBasis.java similarity index 69% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RebillingBasis.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RebillingBasis.java index 86c7170b1076..c2fca099ebef 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RebillingBasis.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RebillingBasis.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/cloud/channel/v1/repricing.proto package com.google.cloud.channel.v1; /** + * + * *
  * Specifies the different costs that the modified bill can be based on.
  * 
* * Protobuf enum {@code google.cloud.channel.v1.RebillingBasis} */ -public enum RebillingBasis - implements com.google.protobuf.ProtocolMessageEnum { +public enum RebillingBasis implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Not used.
    * 
@@ -21,6 +39,8 @@ public enum RebillingBasis */ REBILLING_BASIS_UNSPECIFIED(0), /** + * + * *
    * Use the list cost, also known as the MSRP.
    * 
@@ -29,6 +49,8 @@ public enum RebillingBasis */ COST_AT_LIST(1), /** + * + * *
    * Pass through all discounts except the Reseller Program Discount. If this is
    * the default cost base and no adjustments are specified, the output cost
@@ -43,6 +65,8 @@ public enum RebillingBasis
   ;
 
   /**
+   *
+   *
    * 
    * Not used.
    * 
@@ -51,6 +75,8 @@ public enum RebillingBasis */ public static final int REBILLING_BASIS_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Use the list cost, also known as the MSRP.
    * 
@@ -59,6 +85,8 @@ public enum RebillingBasis */ public static final int COST_AT_LIST_VALUE = 1; /** + * + * *
    * Pass through all discounts except the Reseller Program Discount. If this is
    * the default cost base and no adjustments are specified, the output cost
@@ -70,7 +98,6 @@ public enum RebillingBasis
    */
   public static final int DIRECT_CUSTOMER_COST_VALUE = 2;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -95,49 +122,49 @@ public static RebillingBasis valueOf(int value) {
    */
   public static RebillingBasis forNumber(int value) {
     switch (value) {
-      case 0: return REBILLING_BASIS_UNSPECIFIED;
-      case 1: return COST_AT_LIST;
-      case 2: return DIRECT_CUSTOMER_COST;
-      default: return null;
+      case 0:
+        return REBILLING_BASIS_UNSPECIFIED;
+      case 1:
+        return COST_AT_LIST;
+      case 2:
+        return DIRECT_CUSTOMER_COST;
+      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<
-      RebillingBasis> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public RebillingBasis findValueByNumber(int number) {
-            return RebillingBasis.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 RebillingBasis findValueByNumber(int number) {
+          return RebillingBasis.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.cloud.channel.v1.RepricingProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final RebillingBasis[] VALUES = values();
 
-  public static RebillingBasis valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static RebillingBasis 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;
@@ -153,4 +180,3 @@ private RebillingBasis(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.channel.v1.RebillingBasis)
 }
-
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequest.java
similarity index 67%
rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequest.java
rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequest.java
index a13b28d34ea1..ec38aff9e83e 100644
--- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequest.java
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequest.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/cloud/channel/v1/service.proto
 
 package com.google.cloud.channel.v1;
 
 /**
+ *
+ *
  * 
  * Request Message for RegisterSubscriber.
  * 
* * Protobuf type {@code google.cloud.channel.v1.RegisterSubscriberRequest} */ -public final class RegisterSubscriberRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RegisterSubscriberRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.RegisterSubscriberRequest) RegisterSubscriberRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RegisterSubscriberRequest.newBuilder() to construct. private RegisterSubscriberRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RegisterSubscriberRequest() { account_ = ""; serviceAccount_ = ""; @@ -26,37 +44,41 @@ private RegisterSubscriberRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RegisterSubscriberRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.RegisterSubscriberRequest.class, com.google.cloud.channel.v1.RegisterSubscriberRequest.Builder.class); + com.google.cloud.channel.v1.RegisterSubscriberRequest.class, + com.google.cloud.channel.v1.RegisterSubscriberRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private volatile java.lang.Object account_; /** + * + * *
    * Required. Resource name of the account.
    * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The account. */ @java.lang.Override @@ -65,29 +87,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. Resource name of the account.
    * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -98,12 +120,15 @@ public java.lang.String getAccount() { public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 2; private volatile java.lang.Object serviceAccount_; /** + * + * *
    * Required. Service account that provides subscriber access to the registered
    * topic.
    * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The serviceAccount. */ @java.lang.Override @@ -112,30 +137,30 @@ public java.lang.String getServiceAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; } } /** + * + * *
    * Required. Service account that provides subscriber access to the registered
    * topic.
    * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -144,6 +169,7 @@ public java.lang.String getServiceAccount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,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(account_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, account_); } @@ -186,17 +211,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.cloud.channel.v1.RegisterSubscriberRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.RegisterSubscriberRequest other = (com.google.cloud.channel.v1.RegisterSubscriberRequest) obj; + com.google.cloud.channel.v1.RegisterSubscriberRequest other = + (com.google.cloud.channel.v1.RegisterSubscriberRequest) obj; - if (!getAccount() - .equals(other.getAccount())) return false; - if (!getServiceAccount() - .equals(other.getServiceAccount())) return false; + if (!getAccount().equals(other.getAccount())) return false; + if (!getServiceAccount().equals(other.getServiceAccount())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -218,129 +242,136 @@ public int hashCode() { } public static com.google.cloud.channel.v1.RegisterSubscriberRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.RegisterSubscriberRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.RegisterSubscriberRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.RegisterSubscriberRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.RegisterSubscriberRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.RegisterSubscriberRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.RegisterSubscriberRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.RegisterSubscriberRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.RegisterSubscriberRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.RegisterSubscriberRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.RegisterSubscriberRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.RegisterSubscriberRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.RegisterSubscriberRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.RegisterSubscriberRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.RegisterSubscriberRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.RegisterSubscriberRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request Message for RegisterSubscriber.
    * 
* * Protobuf type {@code google.cloud.channel.v1.RegisterSubscriberRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.RegisterSubscriberRequest) com.google.cloud.channel.v1.RegisterSubscriberRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.RegisterSubscriberRequest.class, com.google.cloud.channel.v1.RegisterSubscriberRequest.Builder.class); + com.google.cloud.channel.v1.RegisterSubscriberRequest.class, + com.google.cloud.channel.v1.RegisterSubscriberRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.RegisterSubscriberRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -352,9 +383,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_descriptor; } @java.lang.Override @@ -373,7 +404,8 @@ public com.google.cloud.channel.v1.RegisterSubscriberRequest build() { @java.lang.Override public com.google.cloud.channel.v1.RegisterSubscriberRequest buildPartial() { - com.google.cloud.channel.v1.RegisterSubscriberRequest result = new com.google.cloud.channel.v1.RegisterSubscriberRequest(this); + com.google.cloud.channel.v1.RegisterSubscriberRequest result = + new com.google.cloud.channel.v1.RegisterSubscriberRequest(this); result.account_ = account_; result.serviceAccount_ = serviceAccount_; onBuilt(); @@ -384,38 +416,39 @@ public com.google.cloud.channel.v1.RegisterSubscriberRequest 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.cloud.channel.v1.RegisterSubscriberRequest) { - return mergeFrom((com.google.cloud.channel.v1.RegisterSubscriberRequest)other); + return mergeFrom((com.google.cloud.channel.v1.RegisterSubscriberRequest) other); } else { super.mergeFrom(other); return this; @@ -423,7 +456,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.RegisterSubscriberRequest other) { - if (other == com.google.cloud.channel.v1.RegisterSubscriberRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.channel.v1.RegisterSubscriberRequest.getDefaultInstance()) + return this; if (!other.getAccount().isEmpty()) { account_ = other.account_; onChanged(); @@ -458,22 +492,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - account_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - serviceAccount_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + account_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + serviceAccount_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -486,18 +523,20 @@ public Builder mergeFrom( private java.lang.Object account_ = ""; /** + * + * *
      * Required. Resource name of the account.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -506,20 +545,21 @@ public java.lang.String getAccount() { } } /** + * + * *
      * Required. Resource name of the account.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -527,54 +567,61 @@ public java.lang.String getAccount() { } } /** + * + * *
      * Required. Resource name of the account.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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. Resource name of the account.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAccount() { - + account_ = getDefaultInstance().getAccount(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the account.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -582,19 +629,21 @@ public Builder setAccountBytes( private java.lang.Object serviceAccount_ = ""; /** + * + * *
      * Required. Service account that provides subscriber access to the registered
      * topic.
      * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; @@ -603,21 +652,22 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * Required. Service account that provides subscriber access to the registered
      * topic.
      * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -625,64 +675,71 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * Required. Service account that provides subscriber access to the registered
      * topic.
      * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount( - java.lang.String value) { + public Builder setServiceAccount(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccount_ = value; onChanged(); return this; } /** + * + * *
      * Required. Service account that provides subscriber access to the registered
      * topic.
      * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearServiceAccount() { - + serviceAccount_ = getDefaultInstance().getServiceAccount(); onChanged(); return this; } /** + * + * *
      * Required. Service account that provides subscriber access to the registered
      * topic.
      * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccount_ = 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); } @@ -692,12 +749,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.RegisterSubscriberRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.RegisterSubscriberRequest) private static final com.google.cloud.channel.v1.RegisterSubscriberRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.RegisterSubscriberRequest(); } @@ -706,27 +763,27 @@ public static com.google.cloud.channel.v1.RegisterSubscriberRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RegisterSubscriberRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RegisterSubscriberRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -741,6 +798,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.channel.v1.RegisterSubscriberRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequestOrBuilder.java index df3353379068..62589869e7d6 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberRequestOrBuilder.java @@ -1,51 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface RegisterSubscriberRequestOrBuilder extends +public interface RegisterSubscriberRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.RegisterSubscriberRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the account.
    * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The account. */ java.lang.String getAccount(); /** + * + * *
    * Required. Resource name of the account.
    * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for account. */ - com.google.protobuf.ByteString - getAccountBytes(); + com.google.protobuf.ByteString getAccountBytes(); /** + * + * *
    * Required. Service account that provides subscriber access to the registered
    * topic.
    * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** + * + * *
    * Required. Service account that provides subscriber access to the registered
    * topic.
    * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString - getServiceAccountBytes(); + com.google.protobuf.ByteString getServiceAccountBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponse.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponse.java similarity index 64% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponse.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponse.java index f57a267dc86f..81d9e851b57a 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponse.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponse.java @@ -1,61 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Response Message for RegisterSubscriber.
  * 
* * Protobuf type {@code google.cloud.channel.v1.RegisterSubscriberResponse} */ -public final class RegisterSubscriberResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RegisterSubscriberResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.RegisterSubscriberResponse) RegisterSubscriberResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RegisterSubscriberResponse.newBuilder() to construct. private RegisterSubscriberResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RegisterSubscriberResponse() { topic_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RegisterSubscriberResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.RegisterSubscriberResponse.class, com.google.cloud.channel.v1.RegisterSubscriberResponse.Builder.class); + com.google.cloud.channel.v1.RegisterSubscriberResponse.class, + com.google.cloud.channel.v1.RegisterSubscriberResponse.Builder.class); } public static final int TOPIC_FIELD_NUMBER = 1; private volatile java.lang.Object topic_; /** + * + * *
    * Name of the topic the subscriber will listen to.
    * 
* * string topic = 1; + * * @return The topic. */ @java.lang.Override @@ -64,29 +86,29 @@ public java.lang.String getTopic() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; } } /** + * + * *
    * Name of the topic the subscriber will listen to.
    * 
* * string topic = 1; + * * @return The bytes for topic. */ @java.lang.Override - public com.google.protobuf.ByteString - getTopicBytes() { + public com.google.protobuf.ByteString getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); topic_ = b; return b; } else { @@ -95,6 +117,7 @@ public java.lang.String getTopic() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,8 +129,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, topic_); } @@ -131,15 +153,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.RegisterSubscriberResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.RegisterSubscriberResponse other = (com.google.cloud.channel.v1.RegisterSubscriberResponse) obj; + com.google.cloud.channel.v1.RegisterSubscriberResponse other = + (com.google.cloud.channel.v1.RegisterSubscriberResponse) obj; - if (!getTopic() - .equals(other.getTopic())) return false; + if (!getTopic().equals(other.getTopic())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -159,129 +181,136 @@ public int hashCode() { } public static com.google.cloud.channel.v1.RegisterSubscriberResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.RegisterSubscriberResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.RegisterSubscriberResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.RegisterSubscriberResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.RegisterSubscriberResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.RegisterSubscriberResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.RegisterSubscriberResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.RegisterSubscriberResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.RegisterSubscriberResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.RegisterSubscriberResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.RegisterSubscriberResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.RegisterSubscriberResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.RegisterSubscriberResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.RegisterSubscriberResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.RegisterSubscriberResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.RegisterSubscriberResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 RegisterSubscriber.
    * 
* * Protobuf type {@code google.cloud.channel.v1.RegisterSubscriberResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.RegisterSubscriberResponse) com.google.cloud.channel.v1.RegisterSubscriberResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.RegisterSubscriberResponse.class, com.google.cloud.channel.v1.RegisterSubscriberResponse.Builder.class); + com.google.cloud.channel.v1.RegisterSubscriberResponse.class, + com.google.cloud.channel.v1.RegisterSubscriberResponse.Builder.class); } // Construct using com.google.cloud.channel.v1.RegisterSubscriberResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +320,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_descriptor; } @java.lang.Override @@ -312,7 +341,8 @@ public com.google.cloud.channel.v1.RegisterSubscriberResponse build() { @java.lang.Override public com.google.cloud.channel.v1.RegisterSubscriberResponse buildPartial() { - com.google.cloud.channel.v1.RegisterSubscriberResponse result = new com.google.cloud.channel.v1.RegisterSubscriberResponse(this); + com.google.cloud.channel.v1.RegisterSubscriberResponse result = + new com.google.cloud.channel.v1.RegisterSubscriberResponse(this); result.topic_ = topic_; onBuilt(); return result; @@ -322,38 +352,39 @@ public com.google.cloud.channel.v1.RegisterSubscriberResponse 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.cloud.channel.v1.RegisterSubscriberResponse) { - return mergeFrom((com.google.cloud.channel.v1.RegisterSubscriberResponse)other); + return mergeFrom((com.google.cloud.channel.v1.RegisterSubscriberResponse) other); } else { super.mergeFrom(other); return this; @@ -361,7 +392,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.RegisterSubscriberResponse other) { - if (other == com.google.cloud.channel.v1.RegisterSubscriberResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.channel.v1.RegisterSubscriberResponse.getDefaultInstance()) + return this; if (!other.getTopic().isEmpty()) { topic_ = other.topic_; onChanged(); @@ -392,17 +424,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - topic_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + topic_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -415,18 +449,20 @@ public Builder mergeFrom( private java.lang.Object topic_ = ""; /** + * + * *
      * Name of the topic the subscriber will listen to.
      * 
* * string topic = 1; + * * @return The topic. */ public java.lang.String getTopic() { java.lang.Object ref = topic_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; @@ -435,20 +471,21 @@ public java.lang.String getTopic() { } } /** + * + * *
      * Name of the topic the subscriber will listen to.
      * 
* * string topic = 1; + * * @return The bytes for topic. */ - public com.google.protobuf.ByteString - getTopicBytes() { + public com.google.protobuf.ByteString getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); topic_ = b; return b; } else { @@ -456,61 +493,68 @@ public java.lang.String getTopic() { } } /** + * + * *
      * Name of the topic the subscriber will listen to.
      * 
* * string topic = 1; + * * @param value The topic to set. * @return This builder for chaining. */ - public Builder setTopic( - java.lang.String value) { + public Builder setTopic(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + topic_ = value; onChanged(); return this; } /** + * + * *
      * Name of the topic the subscriber will listen to.
      * 
* * string topic = 1; + * * @return This builder for chaining. */ public Builder clearTopic() { - + topic_ = getDefaultInstance().getTopic(); onChanged(); return this; } /** + * + * *
      * Name of the topic the subscriber will listen to.
      * 
* * string topic = 1; + * * @param value The bytes for topic to set. * @return This builder for chaining. */ - public Builder setTopicBytes( - com.google.protobuf.ByteString value) { + public Builder setTopicBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + topic_ = 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); } @@ -520,12 +564,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.RegisterSubscriberResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.RegisterSubscriberResponse) private static final com.google.cloud.channel.v1.RegisterSubscriberResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.RegisterSubscriberResponse(); } @@ -534,27 +578,27 @@ public static com.google.cloud.channel.v1.RegisterSubscriberResponse getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RegisterSubscriberResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RegisterSubscriberResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -569,6 +613,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.channel.v1.RegisterSubscriberResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponseOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponseOrBuilder.java new file mode 100644 index 000000000000..e5eb04a2bb54 --- /dev/null +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponseOrBuilder.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/cloud/channel/v1/service.proto + +package com.google.cloud.channel.v1; + +public interface RegisterSubscriberResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.RegisterSubscriberResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Name of the topic the subscriber will listen to.
+   * 
+ * + * string topic = 1; + * + * @return The topic. + */ + java.lang.String getTopic(); + /** + * + * + *
+   * Name of the topic the subscriber will listen to.
+   * 
+ * + * string topic = 1; + * + * @return The bytes for topic. + */ + com.google.protobuf.ByteString getTopicBytes(); +} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettings.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettings.java similarity index 70% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettings.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettings.java index f14bd43d739c..a035dc11f677 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettings.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettings.java @@ -1,61 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/entitlements.proto package com.google.cloud.channel.v1; /** + * + * *
  * Renewal settings for renewable Offers.
  * 
* * Protobuf type {@code google.cloud.channel.v1.RenewalSettings} */ -public final class RenewalSettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RenewalSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.RenewalSettings) RenewalSettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RenewalSettings.newBuilder() to construct. private RenewalSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RenewalSettings() { paymentPlan_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RenewalSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_RenewalSettings_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_RenewalSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_RenewalSettings_fieldAccessorTable + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_RenewalSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.RenewalSettings.class, com.google.cloud.channel.v1.RenewalSettings.Builder.class); + com.google.cloud.channel.v1.RenewalSettings.class, + com.google.cloud.channel.v1.RenewalSettings.Builder.class); } public static final int ENABLE_RENEWAL_FIELD_NUMBER = 1; private boolean enableRenewal_; /** + * + * *
    * If false, the plan will be completed at the end date.
    * 
* * bool enable_renewal = 1; + * * @return The enableRenewal. */ @java.lang.Override @@ -66,12 +88,15 @@ public boolean getEnableRenewal() { public static final int RESIZE_UNIT_COUNT_FIELD_NUMBER = 2; private boolean resizeUnitCount_; /** + * + * *
    * If true and enable_renewal = true, the unit (for example seats or licenses)
    * will be set to the number of active units at renewal time.
    * 
* * bool resize_unit_count = 2; + * * @return The resizeUnitCount. */ @java.lang.Override @@ -82,39 +107,51 @@ public boolean getResizeUnitCount() { public static final int PAYMENT_PLAN_FIELD_NUMBER = 5; private int paymentPlan_; /** + * + * *
    * Describes how a reseller will be billed.
    * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 5; + * * @return The enum numeric value on the wire for paymentPlan. */ - @java.lang.Override public int getPaymentPlanValue() { + @java.lang.Override + public int getPaymentPlanValue() { return paymentPlan_; } /** + * + * *
    * Describes how a reseller will be billed.
    * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 5; + * * @return The paymentPlan. */ - @java.lang.Override public com.google.cloud.channel.v1.PaymentPlan getPaymentPlan() { + @java.lang.Override + public com.google.cloud.channel.v1.PaymentPlan getPaymentPlan() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.PaymentPlan result = com.google.cloud.channel.v1.PaymentPlan.valueOf(paymentPlan_); + com.google.cloud.channel.v1.PaymentPlan result = + com.google.cloud.channel.v1.PaymentPlan.valueOf(paymentPlan_); return result == null ? com.google.cloud.channel.v1.PaymentPlan.UNRECOGNIZED : result; } public static final int PAYMENT_CYCLE_FIELD_NUMBER = 6; private com.google.cloud.channel.v1.Period paymentCycle_; /** + * + * *
    * Describes how frequently the reseller will be billed, such as
    * once per month.
    * 
* * .google.cloud.channel.v1.Period payment_cycle = 6; + * * @return Whether the paymentCycle field is set. */ @java.lang.Override @@ -122,19 +159,26 @@ public boolean hasPaymentCycle() { return paymentCycle_ != null; } /** + * + * *
    * Describes how frequently the reseller will be billed, such as
    * once per month.
    * 
* * .google.cloud.channel.v1.Period payment_cycle = 6; + * * @return The paymentCycle. */ @java.lang.Override public com.google.cloud.channel.v1.Period getPaymentCycle() { - return paymentCycle_ == null ? com.google.cloud.channel.v1.Period.getDefaultInstance() : paymentCycle_; + return paymentCycle_ == null + ? com.google.cloud.channel.v1.Period.getDefaultInstance() + : paymentCycle_; } /** + * + * *
    * Describes how frequently the reseller will be billed, such as
    * once per month.
@@ -148,6 +192,7 @@ public com.google.cloud.channel.v1.PeriodOrBuilder getPaymentCycleOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -159,15 +204,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 (enableRenewal_ != false) {
       output.writeBool(1, enableRenewal_);
     }
     if (resizeUnitCount_ != false) {
       output.writeBool(2, resizeUnitCount_);
     }
-    if (paymentPlan_ != com.google.cloud.channel.v1.PaymentPlan.PAYMENT_PLAN_UNSPECIFIED.getNumber()) {
+    if (paymentPlan_
+        != com.google.cloud.channel.v1.PaymentPlan.PAYMENT_PLAN_UNSPECIFIED.getNumber()) {
       output.writeEnum(5, paymentPlan_);
     }
     if (paymentCycle_ != null) {
@@ -183,20 +228,17 @@ public int getSerializedSize() {
 
     size = 0;
     if (enableRenewal_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(1, enableRenewal_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enableRenewal_);
     }
     if (resizeUnitCount_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(2, resizeUnitCount_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, resizeUnitCount_);
     }
-    if (paymentPlan_ != com.google.cloud.channel.v1.PaymentPlan.PAYMENT_PLAN_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(5, paymentPlan_);
+    if (paymentPlan_
+        != com.google.cloud.channel.v1.PaymentPlan.PAYMENT_PLAN_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, paymentPlan_);
     }
     if (paymentCycle_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getPaymentCycle());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getPaymentCycle());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -206,22 +248,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.cloud.channel.v1.RenewalSettings)) {
       return super.equals(obj);
     }
-    com.google.cloud.channel.v1.RenewalSettings other = (com.google.cloud.channel.v1.RenewalSettings) obj;
+    com.google.cloud.channel.v1.RenewalSettings other =
+        (com.google.cloud.channel.v1.RenewalSettings) obj;
 
-    if (getEnableRenewal()
-        != other.getEnableRenewal()) return false;
-    if (getResizeUnitCount()
-        != other.getResizeUnitCount()) return false;
+    if (getEnableRenewal() != other.getEnableRenewal()) return false;
+    if (getResizeUnitCount() != other.getResizeUnitCount()) return false;
     if (paymentPlan_ != other.paymentPlan_) return false;
     if (hasPaymentCycle() != other.hasPaymentCycle()) return false;
     if (hasPaymentCycle()) {
-      if (!getPaymentCycle()
-          .equals(other.getPaymentCycle())) return false;
+      if (!getPaymentCycle().equals(other.getPaymentCycle())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -235,11 +275,9 @@ public int hashCode() {
     int hash = 41;
     hash = (19 * hash) + getDescriptor().hashCode();
     hash = (37 * hash) + ENABLE_RENEWAL_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getEnableRenewal());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableRenewal());
     hash = (37 * hash) + RESIZE_UNIT_COUNT_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getResizeUnitCount());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getResizeUnitCount());
     hash = (37 * hash) + PAYMENT_PLAN_FIELD_NUMBER;
     hash = (53 * hash) + paymentPlan_;
     if (hasPaymentCycle()) {
@@ -251,130 +289,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.channel.v1.RenewalSettings parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.channel.v1.RenewalSettings parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.channel.v1.RenewalSettings parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.RenewalSettings parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.channel.v1.RenewalSettings parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.RenewalSettings parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.channel.v1.RenewalSettings parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.RenewalSettings 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.cloud.channel.v1.RenewalSettings parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.channel.v1.RenewalSettings parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.channel.v1.RenewalSettings parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.channel.v1.RenewalSettings parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.RenewalSettings parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.channel.v1.RenewalSettings parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.channel.v1.RenewalSettings prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Renewal settings for renewable Offers.
    * 
* * Protobuf type {@code google.cloud.channel.v1.RenewalSettings} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.RenewalSettings) com.google.cloud.channel.v1.RenewalSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_RenewalSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_RenewalSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_RenewalSettings_fieldAccessorTable + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_RenewalSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.RenewalSettings.class, com.google.cloud.channel.v1.RenewalSettings.Builder.class); + com.google.cloud.channel.v1.RenewalSettings.class, + com.google.cloud.channel.v1.RenewalSettings.Builder.class); } // Construct using com.google.cloud.channel.v1.RenewalSettings.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -394,9 +438,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_RenewalSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_RenewalSettings_descriptor; } @java.lang.Override @@ -415,7 +459,8 @@ public com.google.cloud.channel.v1.RenewalSettings build() { @java.lang.Override public com.google.cloud.channel.v1.RenewalSettings buildPartial() { - com.google.cloud.channel.v1.RenewalSettings result = new com.google.cloud.channel.v1.RenewalSettings(this); + com.google.cloud.channel.v1.RenewalSettings result = + new com.google.cloud.channel.v1.RenewalSettings(this); result.enableRenewal_ = enableRenewal_; result.resizeUnitCount_ = resizeUnitCount_; result.paymentPlan_ = paymentPlan_; @@ -432,38 +477,39 @@ public com.google.cloud.channel.v1.RenewalSettings 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.cloud.channel.v1.RenewalSettings) { - return mergeFrom((com.google.cloud.channel.v1.RenewalSettings)other); + return mergeFrom((com.google.cloud.channel.v1.RenewalSettings) other); } else { super.mergeFrom(other); return this; @@ -510,34 +556,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enableRenewal_ = input.readBool(); + case 8: + { + enableRenewal_ = input.readBool(); - break; - } // case 8 - case 16: { - resizeUnitCount_ = input.readBool(); + break; + } // case 8 + case 16: + { + resizeUnitCount_ = input.readBool(); - break; - } // case 16 - case 40: { - paymentPlan_ = input.readEnum(); + break; + } // case 16 + case 40: + { + paymentPlan_ = input.readEnum(); - break; - } // case 40 - case 50: { - input.readMessage( - getPaymentCycleFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 40 + case 50: + { + input.readMessage(getPaymentCycleFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -548,13 +597,16 @@ public Builder mergeFrom( return this; } - private boolean enableRenewal_ ; + private boolean enableRenewal_; /** + * + * *
      * If false, the plan will be completed at the end date.
      * 
* * bool enable_renewal = 1; + * * @return The enableRenewal. */ @java.lang.Override @@ -562,43 +614,52 @@ public boolean getEnableRenewal() { return enableRenewal_; } /** + * + * *
      * If false, the plan will be completed at the end date.
      * 
* * bool enable_renewal = 1; + * * @param value The enableRenewal to set. * @return This builder for chaining. */ public Builder setEnableRenewal(boolean value) { - + enableRenewal_ = value; onChanged(); return this; } /** + * + * *
      * If false, the plan will be completed at the end date.
      * 
* * bool enable_renewal = 1; + * * @return This builder for chaining. */ public Builder clearEnableRenewal() { - + enableRenewal_ = false; onChanged(); return this; } - private boolean resizeUnitCount_ ; + private boolean resizeUnitCount_; /** + * + * *
      * If true and enable_renewal = true, the unit (for example seats or licenses)
      * will be set to the number of active units at renewal time.
      * 
* * bool resize_unit_count = 2; + * * @return The resizeUnitCount. */ @java.lang.Override @@ -606,32 +667,38 @@ public boolean getResizeUnitCount() { return resizeUnitCount_; } /** + * + * *
      * If true and enable_renewal = true, the unit (for example seats or licenses)
      * will be set to the number of active units at renewal time.
      * 
* * bool resize_unit_count = 2; + * * @param value The resizeUnitCount to set. * @return This builder for chaining. */ public Builder setResizeUnitCount(boolean value) { - + resizeUnitCount_ = value; onChanged(); return this; } /** + * + * *
      * If true and enable_renewal = true, the unit (for example seats or licenses)
      * will be set to the number of active units at renewal time.
      * 
* * bool resize_unit_count = 2; + * * @return This builder for chaining. */ public Builder clearResizeUnitCount() { - + resizeUnitCount_ = false; onChanged(); return this; @@ -639,51 +706,65 @@ public Builder clearResizeUnitCount() { private int paymentPlan_ = 0; /** + * + * *
      * Describes how a reseller will be billed.
      * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 5; + * * @return The enum numeric value on the wire for paymentPlan. */ - @java.lang.Override public int getPaymentPlanValue() { + @java.lang.Override + public int getPaymentPlanValue() { return paymentPlan_; } /** + * + * *
      * Describes how a reseller will be billed.
      * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 5; + * * @param value The enum numeric value on the wire for paymentPlan to set. * @return This builder for chaining. */ public Builder setPaymentPlanValue(int value) { - + paymentPlan_ = value; onChanged(); return this; } /** + * + * *
      * Describes how a reseller will be billed.
      * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 5; + * * @return The paymentPlan. */ @java.lang.Override public com.google.cloud.channel.v1.PaymentPlan getPaymentPlan() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.PaymentPlan result = com.google.cloud.channel.v1.PaymentPlan.valueOf(paymentPlan_); + com.google.cloud.channel.v1.PaymentPlan result = + com.google.cloud.channel.v1.PaymentPlan.valueOf(paymentPlan_); return result == null ? com.google.cloud.channel.v1.PaymentPlan.UNRECOGNIZED : result; } /** + * + * *
      * Describes how a reseller will be billed.
      * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 5; + * * @param value The paymentPlan to set. * @return This builder for chaining. */ @@ -691,21 +772,24 @@ public Builder setPaymentPlan(com.google.cloud.channel.v1.PaymentPlan value) { if (value == null) { throw new NullPointerException(); } - + paymentPlan_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Describes how a reseller will be billed.
      * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 5; + * * @return This builder for chaining. */ public Builder clearPaymentPlan() { - + paymentPlan_ = 0; onChanged(); return this; @@ -713,36 +797,49 @@ public Builder clearPaymentPlan() { private com.google.cloud.channel.v1.Period paymentCycle_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Period, com.google.cloud.channel.v1.Period.Builder, com.google.cloud.channel.v1.PeriodOrBuilder> paymentCycleBuilder_; + com.google.cloud.channel.v1.Period, + com.google.cloud.channel.v1.Period.Builder, + com.google.cloud.channel.v1.PeriodOrBuilder> + paymentCycleBuilder_; /** + * + * *
      * Describes how frequently the reseller will be billed, such as
      * once per month.
      * 
* * .google.cloud.channel.v1.Period payment_cycle = 6; + * * @return Whether the paymentCycle field is set. */ public boolean hasPaymentCycle() { return paymentCycleBuilder_ != null || paymentCycle_ != null; } /** + * + * *
      * Describes how frequently the reseller will be billed, such as
      * once per month.
      * 
* * .google.cloud.channel.v1.Period payment_cycle = 6; + * * @return The paymentCycle. */ public com.google.cloud.channel.v1.Period getPaymentCycle() { if (paymentCycleBuilder_ == null) { - return paymentCycle_ == null ? com.google.cloud.channel.v1.Period.getDefaultInstance() : paymentCycle_; + return paymentCycle_ == null + ? com.google.cloud.channel.v1.Period.getDefaultInstance() + : paymentCycle_; } else { return paymentCycleBuilder_.getMessage(); } } /** + * + * *
      * Describes how frequently the reseller will be billed, such as
      * once per month.
@@ -764,6 +861,8 @@ public Builder setPaymentCycle(com.google.cloud.channel.v1.Period value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes how frequently the reseller will be billed, such as
      * once per month.
@@ -771,8 +870,7 @@ public Builder setPaymentCycle(com.google.cloud.channel.v1.Period value) {
      *
      * .google.cloud.channel.v1.Period payment_cycle = 6;
      */
-    public Builder setPaymentCycle(
-        com.google.cloud.channel.v1.Period.Builder builderForValue) {
+    public Builder setPaymentCycle(com.google.cloud.channel.v1.Period.Builder builderForValue) {
       if (paymentCycleBuilder_ == null) {
         paymentCycle_ = builderForValue.build();
         onChanged();
@@ -783,6 +881,8 @@ public Builder setPaymentCycle(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes how frequently the reseller will be billed, such as
      * once per month.
@@ -794,7 +894,9 @@ public Builder mergePaymentCycle(com.google.cloud.channel.v1.Period value) {
       if (paymentCycleBuilder_ == null) {
         if (paymentCycle_ != null) {
           paymentCycle_ =
-            com.google.cloud.channel.v1.Period.newBuilder(paymentCycle_).mergeFrom(value).buildPartial();
+              com.google.cloud.channel.v1.Period.newBuilder(paymentCycle_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           paymentCycle_ = value;
         }
@@ -806,6 +908,8 @@ public Builder mergePaymentCycle(com.google.cloud.channel.v1.Period value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes how frequently the reseller will be billed, such as
      * once per month.
@@ -825,6 +929,8 @@ public Builder clearPaymentCycle() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes how frequently the reseller will be billed, such as
      * once per month.
@@ -833,11 +939,13 @@ public Builder clearPaymentCycle() {
      * .google.cloud.channel.v1.Period payment_cycle = 6;
      */
     public com.google.cloud.channel.v1.Period.Builder getPaymentCycleBuilder() {
-      
+
       onChanged();
       return getPaymentCycleFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Describes how frequently the reseller will be billed, such as
      * once per month.
@@ -849,11 +957,14 @@ public com.google.cloud.channel.v1.PeriodOrBuilder getPaymentCycleOrBuilder() {
       if (paymentCycleBuilder_ != null) {
         return paymentCycleBuilder_.getMessageOrBuilder();
       } else {
-        return paymentCycle_ == null ?
-            com.google.cloud.channel.v1.Period.getDefaultInstance() : paymentCycle_;
+        return paymentCycle_ == null
+            ? com.google.cloud.channel.v1.Period.getDefaultInstance()
+            : paymentCycle_;
       }
     }
     /**
+     *
+     *
      * 
      * Describes how frequently the reseller will be billed, such as
      * once per month.
@@ -862,21 +973,24 @@ public com.google.cloud.channel.v1.PeriodOrBuilder getPaymentCycleOrBuilder() {
      * .google.cloud.channel.v1.Period payment_cycle = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.channel.v1.Period, com.google.cloud.channel.v1.Period.Builder, com.google.cloud.channel.v1.PeriodOrBuilder> 
+            com.google.cloud.channel.v1.Period,
+            com.google.cloud.channel.v1.Period.Builder,
+            com.google.cloud.channel.v1.PeriodOrBuilder>
         getPaymentCycleFieldBuilder() {
       if (paymentCycleBuilder_ == null) {
-        paymentCycleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.channel.v1.Period, com.google.cloud.channel.v1.Period.Builder, com.google.cloud.channel.v1.PeriodOrBuilder>(
-                getPaymentCycle(),
-                getParentForChildren(),
-                isClean());
+        paymentCycleBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.channel.v1.Period,
+                com.google.cloud.channel.v1.Period.Builder,
+                com.google.cloud.channel.v1.PeriodOrBuilder>(
+                getPaymentCycle(), getParentForChildren(), isClean());
         paymentCycle_ = null;
       }
       return paymentCycleBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -886,12 +1000,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.RenewalSettings)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.RenewalSettings)
   private static final com.google.cloud.channel.v1.RenewalSettings DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.channel.v1.RenewalSettings();
   }
@@ -900,27 +1014,27 @@ public static com.google.cloud.channel.v1.RenewalSettings getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public RenewalSettings parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public RenewalSettings parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -935,6 +1049,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.channel.v1.RenewalSettings getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettingsOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettingsOrBuilder.java
similarity index 73%
rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettingsOrBuilder.java
rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettingsOrBuilder.java
index de39443911ad..c4e16914ccbc 100644
--- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettingsOrBuilder.java
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RenewalSettingsOrBuilder.java
@@ -1,73 +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/cloud/channel/v1/entitlements.proto
 
 package com.google.cloud.channel.v1;
 
-public interface RenewalSettingsOrBuilder extends
+public interface RenewalSettingsOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.RenewalSettings)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * If false, the plan will be completed at the end date.
    * 
* * bool enable_renewal = 1; + * * @return The enableRenewal. */ boolean getEnableRenewal(); /** + * + * *
    * If true and enable_renewal = true, the unit (for example seats or licenses)
    * will be set to the number of active units at renewal time.
    * 
* * bool resize_unit_count = 2; + * * @return The resizeUnitCount. */ boolean getResizeUnitCount(); /** + * + * *
    * Describes how a reseller will be billed.
    * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 5; + * * @return The enum numeric value on the wire for paymentPlan. */ int getPaymentPlanValue(); /** + * + * *
    * Describes how a reseller will be billed.
    * 
* * .google.cloud.channel.v1.PaymentPlan payment_plan = 5; + * * @return The paymentPlan. */ com.google.cloud.channel.v1.PaymentPlan getPaymentPlan(); /** + * + * *
    * Describes how frequently the reseller will be billed, such as
    * once per month.
    * 
* * .google.cloud.channel.v1.Period payment_cycle = 6; + * * @return Whether the paymentCycle field is set. */ boolean hasPaymentCycle(); /** + * + * *
    * Describes how frequently the reseller will be billed, such as
    * once per month.
    * 
* * .google.cloud.channel.v1.Period payment_cycle = 6; + * * @return The paymentCycle. */ com.google.cloud.channel.v1.Period getPaymentCycle(); /** + * + * *
    * Describes how frequently the reseller will be billed, such as
    * once per month.
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Report.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Report.java
similarity index 74%
rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Report.java
rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Report.java
index 2bcd936fc00a..19cedc14bdd2 100644
--- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Report.java
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Report.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/cloud/channel/v1/reports_service.proto
 
 package com.google.cloud.channel.v1;
 
 /**
+ *
+ *
  * 
  * The ID and description of a report that was used to generate report data.
  * For example, "GCP Daily Spend", "Google Workspace License Activity", etc.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.Report}
  */
-public final class Report extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Report extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.Report)
     ReportOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Report.newBuilder() to construct.
   private Report(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Report() {
     name_ = "";
     displayName_ = "";
@@ -29,32 +47,35 @@ private Report() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Report();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_Report_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ReportsServiceProto
+        .internal_static_google_cloud_channel_v1_Report_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_Report_fieldAccessorTable
+    return com.google.cloud.channel.v1.ReportsServiceProto
+        .internal_static_google_cloud_channel_v1_Report_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.Report.class, com.google.cloud.channel.v1.Report.Builder.class);
+            com.google.cloud.channel.v1.Report.class,
+            com.google.cloud.channel.v1.Report.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The report's resource name. Specifies the account and report used
    * to generate report data. The report_id identifier is a UID (for example,
@@ -64,6 +85,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -72,14 +94,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The report's resource name. Specifies the account and report used
    * to generate report data. The report_id identifier is a UID (for example,
@@ -89,16 +112,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -109,11 +131,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * A human-readable name for this report.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -122,29 +147,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * A human-readable name for this report.
    * 
* * 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 { @@ -155,6 +180,8 @@ public java.lang.String getDisplayName() { public static final int COLUMNS_FIELD_NUMBER = 3; private java.util.List columns_; /** + * + * *
    * The list of columns included in the report. This defines the schema of
    * the report results.
@@ -167,6 +194,8 @@ public java.util.List getColumnsList() {
     return columns_;
   }
   /**
+   *
+   *
    * 
    * The list of columns included in the report. This defines the schema of
    * the report results.
@@ -175,11 +204,13 @@ public java.util.List getColumnsList() {
    * repeated .google.cloud.channel.v1.Column columns = 3;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getColumnsOrBuilderList() {
     return columns_;
   }
   /**
+   *
+   *
    * 
    * The list of columns included in the report. This defines the schema of
    * the report results.
@@ -192,6 +223,8 @@ public int getColumnsCount() {
     return columns_.size();
   }
   /**
+   *
+   *
    * 
    * The list of columns included in the report. This defines the schema of
    * the report results.
@@ -204,6 +237,8 @@ public com.google.cloud.channel.v1.Column getColumns(int index) {
     return columns_.get(index);
   }
   /**
+   *
+   *
    * 
    * The list of columns included in the report. This defines the schema of
    * the report results.
@@ -212,20 +247,22 @@ public com.google.cloud.channel.v1.Column getColumns(int index) {
    * repeated .google.cloud.channel.v1.Column columns = 3;
    */
   @java.lang.Override
-  public com.google.cloud.channel.v1.ColumnOrBuilder getColumnsOrBuilder(
-      int index) {
+  public com.google.cloud.channel.v1.ColumnOrBuilder getColumnsOrBuilder(int index) {
     return columns_.get(index);
   }
 
   public static final int DESCRIPTION_FIELD_NUMBER = 4;
   private volatile java.lang.Object description_;
   /**
+   *
+   *
    * 
    * A description of other aspects of the report, such as the products
    * it supports.
    * 
* * string description = 4; + * * @return The description. */ @java.lang.Override @@ -234,30 +271,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; } } /** + * + * *
    * A description of other aspects of the report, such as the products
    * it supports.
    * 
* * string description = 4; + * * @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 { @@ -266,6 +303,7 @@ public java.lang.String getDescription() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -277,8 +315,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -307,8 +344,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); } for (int i = 0; i < columns_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, columns_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, columns_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); @@ -321,21 +357,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.cloud.channel.v1.Report)) { return super.equals(obj); } com.google.cloud.channel.v1.Report other = (com.google.cloud.channel.v1.Report) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getColumnsList() - .equals(other.getColumnsList())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getColumnsList().equals(other.getColumnsList())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -362,97 +394,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.Report parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.Report parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Report parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Report parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.channel.v1.Report parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Report parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.Report parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Report parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.Report 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.cloud.channel.v1.Report parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.Report parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.Report parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.Report parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.Report parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.Report prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The ID and description of a report that was used to generate report data.
    * For example, "GCP Daily Spend", "Google Workspace License Activity", etc.
@@ -460,33 +498,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.Report}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.Report)
       com.google.cloud.channel.v1.ReportOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_Report_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ReportsServiceProto
+          .internal_static_google_cloud_channel_v1_Report_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_Report_fieldAccessorTable
+      return com.google.cloud.channel.v1.ReportsServiceProto
+          .internal_static_google_cloud_channel_v1_Report_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.Report.class, com.google.cloud.channel.v1.Report.Builder.class);
+              com.google.cloud.channel.v1.Report.class,
+              com.google.cloud.channel.v1.Report.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.Report.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -507,9 +544,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_Report_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ReportsServiceProto
+          .internal_static_google_cloud_channel_v1_Report_descriptor;
     }
 
     @java.lang.Override
@@ -550,38 +587,39 @@ public com.google.cloud.channel.v1.Report 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.cloud.channel.v1.Report) {
-        return mergeFrom((com.google.cloud.channel.v1.Report)other);
+        return mergeFrom((com.google.cloud.channel.v1.Report) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -616,9 +654,10 @@ public Builder mergeFrom(com.google.cloud.channel.v1.Report other) {
             columnsBuilder_ = null;
             columns_ = other.columns_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            columnsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getColumnsFieldBuilder() : null;
+            columnsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getColumnsFieldBuilder()
+                    : null;
           } else {
             columnsBuilder_.addAllMessages(other.columns_);
           }
@@ -654,40 +693,44 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              displayName_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              com.google.cloud.channel.v1.Column m =
-                  input.readMessage(
-                      com.google.cloud.channel.v1.Column.parser(),
-                      extensionRegistry);
-              if (columnsBuilder_ == null) {
-                ensureColumnsIsMutable();
-                columns_.add(m);
-              } else {
-                columnsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 26
-            case 34: {
-              description_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                com.google.cloud.channel.v1.Column m =
+                    input.readMessage(
+                        com.google.cloud.channel.v1.Column.parser(), extensionRegistry);
+                if (columnsBuilder_ == null) {
+                  ensureColumnsIsMutable();
+                  columns_.add(m);
+                } else {
+                  columnsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 26
+            case 34:
+              {
+                description_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -697,10 +740,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The report's resource name. Specifies the account and report used
      * to generate report data. The report_id identifier is a UID (for example,
@@ -710,13 +756,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.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,6 +771,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The report's resource name. Specifies the account and report used
      * to generate report data. The report_id identifier is a UID (for example,
@@ -734,15 +782,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -750,6 +797,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The report's resource name. Specifies the account and report used
      * to generate report data. The report_id identifier is a UID (for example,
@@ -759,20 +808,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 report's resource name. Specifies the account and report used
      * to generate report data. The report_id identifier is a UID (for example,
@@ -782,15 +833,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The report's resource name. Specifies the account and report used
      * to generate report data. The report_id identifier is a UID (for example,
@@ -800,16 +854,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -817,18 +871,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * A human-readable name for this report.
      * 
* * 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; @@ -837,20 +893,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * A human-readable name for this report.
      * 
* * 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 { @@ -858,72 +915,85 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * A human-readable name for this report.
      * 
* * 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; } /** + * + * *
      * A human-readable name for this report.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * A human-readable name for this report.
      * 
* * 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; } private java.util.List columns_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureColumnsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { columns_ = new java.util.ArrayList(columns_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Column, com.google.cloud.channel.v1.Column.Builder, com.google.cloud.channel.v1.ColumnOrBuilder> columnsBuilder_; + com.google.cloud.channel.v1.Column, + com.google.cloud.channel.v1.Column.Builder, + com.google.cloud.channel.v1.ColumnOrBuilder> + columnsBuilder_; /** + * + * *
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -939,6 +1009,8 @@ public java.util.List getColumnsList() {
       }
     }
     /**
+     *
+     *
      * 
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -954,6 +1026,8 @@ public int getColumnsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -969,6 +1043,8 @@ public com.google.cloud.channel.v1.Column getColumns(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -976,8 +1052,7 @@ public com.google.cloud.channel.v1.Column getColumns(int index) {
      *
      * repeated .google.cloud.channel.v1.Column columns = 3;
      */
-    public Builder setColumns(
-        int index, com.google.cloud.channel.v1.Column value) {
+    public Builder setColumns(int index, com.google.cloud.channel.v1.Column value) {
       if (columnsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -991,6 +1066,8 @@ public Builder setColumns(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -1010,6 +1087,8 @@ public Builder setColumns(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -1031,6 +1110,8 @@ public Builder addColumns(com.google.cloud.channel.v1.Column value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -1038,8 +1119,7 @@ public Builder addColumns(com.google.cloud.channel.v1.Column value) {
      *
      * repeated .google.cloud.channel.v1.Column columns = 3;
      */
-    public Builder addColumns(
-        int index, com.google.cloud.channel.v1.Column value) {
+    public Builder addColumns(int index, com.google.cloud.channel.v1.Column value) {
       if (columnsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1053,6 +1133,8 @@ public Builder addColumns(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -1060,8 +1142,7 @@ public Builder addColumns(
      *
      * repeated .google.cloud.channel.v1.Column columns = 3;
      */
-    public Builder addColumns(
-        com.google.cloud.channel.v1.Column.Builder builderForValue) {
+    public Builder addColumns(com.google.cloud.channel.v1.Column.Builder builderForValue) {
       if (columnsBuilder_ == null) {
         ensureColumnsIsMutable();
         columns_.add(builderForValue.build());
@@ -1072,6 +1153,8 @@ public Builder addColumns(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -1091,6 +1174,8 @@ public Builder addColumns(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -1102,8 +1187,7 @@ public Builder addAllColumns(
         java.lang.Iterable values) {
       if (columnsBuilder_ == null) {
         ensureColumnsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, columns_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, columns_);
         onChanged();
       } else {
         columnsBuilder_.addAllMessages(values);
@@ -1111,6 +1195,8 @@ public Builder addAllColumns(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -1129,6 +1215,8 @@ public Builder clearColumns() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -1147,6 +1235,8 @@ public Builder removeColumns(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -1154,11 +1244,12 @@ public Builder removeColumns(int index) {
      *
      * repeated .google.cloud.channel.v1.Column columns = 3;
      */
-    public com.google.cloud.channel.v1.Column.Builder getColumnsBuilder(
-        int index) {
+    public com.google.cloud.channel.v1.Column.Builder getColumnsBuilder(int index) {
       return getColumnsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -1166,14 +1257,16 @@ public com.google.cloud.channel.v1.Column.Builder getColumnsBuilder(
      *
      * repeated .google.cloud.channel.v1.Column columns = 3;
      */
-    public com.google.cloud.channel.v1.ColumnOrBuilder getColumnsOrBuilder(
-        int index) {
+    public com.google.cloud.channel.v1.ColumnOrBuilder getColumnsOrBuilder(int index) {
       if (columnsBuilder_ == null) {
-        return columns_.get(index);  } else {
+        return columns_.get(index);
+      } else {
         return columnsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -1181,8 +1274,8 @@ public com.google.cloud.channel.v1.ColumnOrBuilder getColumnsOrBuilder(
      *
      * repeated .google.cloud.channel.v1.Column columns = 3;
      */
-    public java.util.List 
-         getColumnsOrBuilderList() {
+    public java.util.List
+        getColumnsOrBuilderList() {
       if (columnsBuilder_ != null) {
         return columnsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1190,6 +1283,8 @@ public com.google.cloud.channel.v1.ColumnOrBuilder getColumnsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -1198,10 +1293,12 @@ public com.google.cloud.channel.v1.ColumnOrBuilder getColumnsOrBuilder(
      * repeated .google.cloud.channel.v1.Column columns = 3;
      */
     public com.google.cloud.channel.v1.Column.Builder addColumnsBuilder() {
-      return getColumnsFieldBuilder().addBuilder(
-          com.google.cloud.channel.v1.Column.getDefaultInstance());
+      return getColumnsFieldBuilder()
+          .addBuilder(com.google.cloud.channel.v1.Column.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -1209,12 +1306,13 @@ public com.google.cloud.channel.v1.Column.Builder addColumnsBuilder() {
      *
      * repeated .google.cloud.channel.v1.Column columns = 3;
      */
-    public com.google.cloud.channel.v1.Column.Builder addColumnsBuilder(
-        int index) {
-      return getColumnsFieldBuilder().addBuilder(
-          index, com.google.cloud.channel.v1.Column.getDefaultInstance());
+    public com.google.cloud.channel.v1.Column.Builder addColumnsBuilder(int index) {
+      return getColumnsFieldBuilder()
+          .addBuilder(index, com.google.cloud.channel.v1.Column.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The list of columns included in the report. This defines the schema of
      * the report results.
@@ -1222,20 +1320,22 @@ public com.google.cloud.channel.v1.Column.Builder addColumnsBuilder(
      *
      * repeated .google.cloud.channel.v1.Column columns = 3;
      */
-    public java.util.List 
-         getColumnsBuilderList() {
+    public java.util.List getColumnsBuilderList() {
       return getColumnsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.channel.v1.Column, com.google.cloud.channel.v1.Column.Builder, com.google.cloud.channel.v1.ColumnOrBuilder> 
+            com.google.cloud.channel.v1.Column,
+            com.google.cloud.channel.v1.Column.Builder,
+            com.google.cloud.channel.v1.ColumnOrBuilder>
         getColumnsFieldBuilder() {
       if (columnsBuilder_ == null) {
-        columnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.channel.v1.Column, com.google.cloud.channel.v1.Column.Builder, com.google.cloud.channel.v1.ColumnOrBuilder>(
-                columns_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        columnsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.channel.v1.Column,
+                com.google.cloud.channel.v1.Column.Builder,
+                com.google.cloud.channel.v1.ColumnOrBuilder>(
+                columns_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         columns_ = null;
       }
       return columnsBuilder_;
@@ -1243,19 +1343,21 @@ public com.google.cloud.channel.v1.Column.Builder addColumnsBuilder(
 
     private java.lang.Object description_ = "";
     /**
+     *
+     *
      * 
      * A description of other aspects of the report, such as the products
      * it supports.
      * 
* * string description = 4; + * * @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; @@ -1264,21 +1366,22 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A description of other aspects of the report, such as the products
      * it supports.
      * 
* * string description = 4; + * * @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 { @@ -1286,64 +1389,71 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A description of other aspects of the report, such as the products
      * it supports.
      * 
* * string description = 4; + * * @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; } /** + * + * *
      * A description of other aspects of the report, such as the products
      * it supports.
      * 
* * string description = 4; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * A description of other aspects of the report, such as the products
      * it supports.
      * 
* * string description = 4; + * * @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; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1353,12 +1463,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.Report) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.Report) private static final com.google.cloud.channel.v1.Report DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.Report(); } @@ -1367,27 +1477,27 @@ public static com.google.cloud.channel.v1.Report getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Report parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Report parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1402,6 +1512,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Report getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJob.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJob.java similarity index 69% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJob.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJob.java index 4deac184b6c3..7006bdd6b35d 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJob.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJob.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/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; /** + * + * *
  * The result of a [RunReportJob][] operation. Contains the name to use in
  * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
@@ -12,47 +29,51 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.ReportJob}
  */
-public final class ReportJob extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ReportJob extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ReportJob)
     ReportJobOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ReportJob.newBuilder() to construct.
   private ReportJob(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ReportJob() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ReportJob();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportJob_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ReportsServiceProto
+        .internal_static_google_cloud_channel_v1_ReportJob_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportJob_fieldAccessorTable
+    return com.google.cloud.channel.v1.ReportsServiceProto
+        .internal_static_google_cloud_channel_v1_ReportJob_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.ReportJob.class, com.google.cloud.channel.v1.ReportJob.Builder.class);
+            com.google.cloud.channel.v1.ReportJob.class,
+            com.google.cloud.channel.v1.ReportJob.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The resource name of a report job.
    * Name uses the format:
@@ -60,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -68,14 +90,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of a report job.
    * Name uses the format:
@@ -83,16 +106,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -103,11 +125,14 @@ public java.lang.String getName() { public static final int REPORT_STATUS_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.ReportStatus reportStatus_; /** + * + * *
    * The current status of report generation.
    * 
* * .google.cloud.channel.v1.ReportStatus report_status = 2; + * * @return Whether the reportStatus field is set. */ @java.lang.Override @@ -115,18 +140,25 @@ public boolean hasReportStatus() { return reportStatus_ != null; } /** + * + * *
    * The current status of report generation.
    * 
* * .google.cloud.channel.v1.ReportStatus report_status = 2; + * * @return The reportStatus. */ @java.lang.Override public com.google.cloud.channel.v1.ReportStatus getReportStatus() { - return reportStatus_ == null ? com.google.cloud.channel.v1.ReportStatus.getDefaultInstance() : reportStatus_; + return reportStatus_ == null + ? com.google.cloud.channel.v1.ReportStatus.getDefaultInstance() + : reportStatus_; } /** + * + * *
    * The current status of report generation.
    * 
@@ -139,6 +171,7 @@ public com.google.cloud.channel.v1.ReportStatusOrBuilder getReportStatusOrBuilde } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -150,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_); } @@ -171,8 +203,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (reportStatus_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getReportStatus()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReportStatus()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -182,19 +213,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.cloud.channel.v1.ReportJob)) { return super.equals(obj); } com.google.cloud.channel.v1.ReportJob other = (com.google.cloud.channel.v1.ReportJob) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasReportStatus() != other.hasReportStatus()) return false; if (hasReportStatus()) { - if (!getReportStatus() - .equals(other.getReportStatus())) return false; + if (!getReportStatus().equals(other.getReportStatus())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -218,97 +247,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ReportJob parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.ReportJob parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ReportJob parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.ReportJob parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.channel.v1.ReportJob parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ReportJob parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ReportJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ReportJob parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ReportJob 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.cloud.channel.v1.ReportJob parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ReportJob parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ReportJob parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ReportJob parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ReportJob parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.ReportJob prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The result of a [RunReportJob][] operation. Contains the name to use in
    * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
@@ -317,33 +352,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.ReportJob}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ReportJob)
       com.google.cloud.channel.v1.ReportJobOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportJob_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ReportsServiceProto
+          .internal_static_google_cloud_channel_v1_ReportJob_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportJob_fieldAccessorTable
+      return com.google.cloud.channel.v1.ReportsServiceProto
+          .internal_static_google_cloud_channel_v1_ReportJob_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.ReportJob.class, com.google.cloud.channel.v1.ReportJob.Builder.class);
+              com.google.cloud.channel.v1.ReportJob.class,
+              com.google.cloud.channel.v1.ReportJob.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.ReportJob.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -359,9 +393,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportJob_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ReportsServiceProto
+          .internal_static_google_cloud_channel_v1_ReportJob_descriptor;
     }
 
     @java.lang.Override
@@ -380,7 +414,8 @@ public com.google.cloud.channel.v1.ReportJob build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.ReportJob buildPartial() {
-      com.google.cloud.channel.v1.ReportJob result = new com.google.cloud.channel.v1.ReportJob(this);
+      com.google.cloud.channel.v1.ReportJob result =
+          new com.google.cloud.channel.v1.ReportJob(this);
       result.name_ = name_;
       if (reportStatusBuilder_ == null) {
         result.reportStatus_ = reportStatus_;
@@ -395,38 +430,39 @@ public com.google.cloud.channel.v1.ReportJob 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.cloud.channel.v1.ReportJob) {
-        return mergeFrom((com.google.cloud.channel.v1.ReportJob)other);
+        return mergeFrom((com.google.cloud.channel.v1.ReportJob) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -468,24 +504,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getReportStatusFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getReportStatusFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -498,6 +535,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The resource name of a report job.
      * Name uses the format:
@@ -505,13 +544,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -520,6 +559,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of a report job.
      * Name uses the format:
@@ -527,15 +568,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.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,6 +583,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of a report job.
      * Name uses the format:
@@ -550,20 +592,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 a report job.
      * Name uses the format:
@@ -571,15 +615,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of a report job.
      * Name uses the format:
@@ -587,16 +634,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -604,34 +651,47 @@ public Builder setNameBytes( private com.google.cloud.channel.v1.ReportStatus reportStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ReportStatus, com.google.cloud.channel.v1.ReportStatus.Builder, com.google.cloud.channel.v1.ReportStatusOrBuilder> reportStatusBuilder_; + com.google.cloud.channel.v1.ReportStatus, + com.google.cloud.channel.v1.ReportStatus.Builder, + com.google.cloud.channel.v1.ReportStatusOrBuilder> + reportStatusBuilder_; /** + * + * *
      * The current status of report generation.
      * 
* * .google.cloud.channel.v1.ReportStatus report_status = 2; + * * @return Whether the reportStatus field is set. */ public boolean hasReportStatus() { return reportStatusBuilder_ != null || reportStatus_ != null; } /** + * + * *
      * The current status of report generation.
      * 
* * .google.cloud.channel.v1.ReportStatus report_status = 2; + * * @return The reportStatus. */ public com.google.cloud.channel.v1.ReportStatus getReportStatus() { if (reportStatusBuilder_ == null) { - return reportStatus_ == null ? com.google.cloud.channel.v1.ReportStatus.getDefaultInstance() : reportStatus_; + return reportStatus_ == null + ? com.google.cloud.channel.v1.ReportStatus.getDefaultInstance() + : reportStatus_; } else { return reportStatusBuilder_.getMessage(); } } /** + * + * *
      * The current status of report generation.
      * 
@@ -652,6 +712,8 @@ public Builder setReportStatus(com.google.cloud.channel.v1.ReportStatus value) { return this; } /** + * + * *
      * The current status of report generation.
      * 
@@ -670,6 +732,8 @@ public Builder setReportStatus( return this; } /** + * + * *
      * The current status of report generation.
      * 
@@ -680,7 +744,9 @@ public Builder mergeReportStatus(com.google.cloud.channel.v1.ReportStatus value) if (reportStatusBuilder_ == null) { if (reportStatus_ != null) { reportStatus_ = - com.google.cloud.channel.v1.ReportStatus.newBuilder(reportStatus_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.ReportStatus.newBuilder(reportStatus_) + .mergeFrom(value) + .buildPartial(); } else { reportStatus_ = value; } @@ -692,6 +758,8 @@ public Builder mergeReportStatus(com.google.cloud.channel.v1.ReportStatus value) return this; } /** + * + * *
      * The current status of report generation.
      * 
@@ -710,6 +778,8 @@ public Builder clearReportStatus() { return this; } /** + * + * *
      * The current status of report generation.
      * 
@@ -717,11 +787,13 @@ public Builder clearReportStatus() { * .google.cloud.channel.v1.ReportStatus report_status = 2; */ public com.google.cloud.channel.v1.ReportStatus.Builder getReportStatusBuilder() { - + onChanged(); return getReportStatusFieldBuilder().getBuilder(); } /** + * + * *
      * The current status of report generation.
      * 
@@ -732,11 +804,14 @@ public com.google.cloud.channel.v1.ReportStatusOrBuilder getReportStatusOrBuilde if (reportStatusBuilder_ != null) { return reportStatusBuilder_.getMessageOrBuilder(); } else { - return reportStatus_ == null ? - com.google.cloud.channel.v1.ReportStatus.getDefaultInstance() : reportStatus_; + return reportStatus_ == null + ? com.google.cloud.channel.v1.ReportStatus.getDefaultInstance() + : reportStatus_; } } /** + * + * *
      * The current status of report generation.
      * 
@@ -744,21 +819,24 @@ public com.google.cloud.channel.v1.ReportStatusOrBuilder getReportStatusOrBuilde * .google.cloud.channel.v1.ReportStatus report_status = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ReportStatus, com.google.cloud.channel.v1.ReportStatus.Builder, com.google.cloud.channel.v1.ReportStatusOrBuilder> + com.google.cloud.channel.v1.ReportStatus, + com.google.cloud.channel.v1.ReportStatus.Builder, + com.google.cloud.channel.v1.ReportStatusOrBuilder> getReportStatusFieldBuilder() { if (reportStatusBuilder_ == null) { - reportStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ReportStatus, com.google.cloud.channel.v1.ReportStatus.Builder, com.google.cloud.channel.v1.ReportStatusOrBuilder>( - getReportStatus(), - getParentForChildren(), - isClean()); + reportStatusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.ReportStatus, + com.google.cloud.channel.v1.ReportStatus.Builder, + com.google.cloud.channel.v1.ReportStatusOrBuilder>( + getReportStatus(), getParentForChildren(), isClean()); reportStatus_ = null; } return reportStatusBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -768,12 +846,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ReportJob) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ReportJob) private static final com.google.cloud.channel.v1.ReportJob DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ReportJob(); } @@ -782,27 +860,27 @@ public static com.google.cloud.channel.v1.ReportJob getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReportJob parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReportJob parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -817,6 +895,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ReportJob getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJobName.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJobName.java similarity index 100% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJobName.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJobName.java diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJobOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJobOrBuilder.java similarity index 67% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJobOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJobOrBuilder.java index b2bdb5a324bf..3c055c6eabd1 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJobOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportJobOrBuilder.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/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; -public interface ReportJobOrBuilder extends +public interface ReportJobOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ReportJob) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of a report job.
    * Name uses the format:
@@ -15,10 +33,13 @@ public interface ReportJobOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of a report job.
    * Name uses the format:
@@ -26,30 +47,38 @@ public interface ReportJobOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The current status of report generation.
    * 
* * .google.cloud.channel.v1.ReportStatus report_status = 2; + * * @return Whether the reportStatus field is set. */ boolean hasReportStatus(); /** + * + * *
    * The current status of report generation.
    * 
* * .google.cloud.channel.v1.ReportStatus report_status = 2; + * * @return The reportStatus. */ com.google.cloud.channel.v1.ReportStatus getReportStatus(); /** + * + * *
    * The current status of report generation.
    * 
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportName.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportName.java similarity index 100% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportName.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportName.java diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportOrBuilder.java similarity index 75% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportOrBuilder.java index 000d582471d3..a7388c185f92 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportOrBuilder.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/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; -public interface ReportOrBuilder extends +public interface ReportOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Report) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The report's resource name. Specifies the account and report used
    * to generate report data. The report_id identifier is a UID (for example,
@@ -17,10 +35,13 @@ public interface ReportOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The report's resource name. Specifies the account and report used
    * to generate report data. The report_id identifier is a UID (for example,
@@ -30,32 +51,39 @@ public interface ReportOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * A human-readable name for this report.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * A human-readable name for this report.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * The list of columns included in the report. This defines the schema of
    * the report results.
@@ -63,9 +91,10 @@ public interface ReportOrBuilder extends
    *
    * repeated .google.cloud.channel.v1.Column columns = 3;
    */
-  java.util.List 
-      getColumnsList();
+  java.util.List getColumnsList();
   /**
+   *
+   *
    * 
    * The list of columns included in the report. This defines the schema of
    * the report results.
@@ -75,6 +104,8 @@ public interface ReportOrBuilder extends
    */
   com.google.cloud.channel.v1.Column getColumns(int index);
   /**
+   *
+   *
    * 
    * The list of columns included in the report. This defines the schema of
    * the report results.
@@ -84,6 +115,8 @@ public interface ReportOrBuilder extends
    */
   int getColumnsCount();
   /**
+   *
+   *
    * 
    * The list of columns included in the report. This defines the schema of
    * the report results.
@@ -91,9 +124,10 @@ public interface ReportOrBuilder extends
    *
    * repeated .google.cloud.channel.v1.Column columns = 3;
    */
-  java.util.List 
-      getColumnsOrBuilderList();
+  java.util.List getColumnsOrBuilderList();
   /**
+   *
+   *
    * 
    * The list of columns included in the report. This defines the schema of
    * the report results.
@@ -101,28 +135,32 @@ public interface ReportOrBuilder extends
    *
    * repeated .google.cloud.channel.v1.Column columns = 3;
    */
-  com.google.cloud.channel.v1.ColumnOrBuilder getColumnsOrBuilder(
-      int index);
+  com.google.cloud.channel.v1.ColumnOrBuilder getColumnsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * A description of other aspects of the report, such as the products
    * it supports.
    * 
* * string description = 4; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * A description of other aspects of the report, such as the products
    * it supports.
    * 
* * string description = 4; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportResultsMetadata.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportResultsMetadata.java similarity index 72% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportResultsMetadata.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportResultsMetadata.java index c50ed6a06c91..3ebd5a14e3e7 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportResultsMetadata.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportResultsMetadata.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/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; /** + * + * *
  * The features describing the data. Returned by
  * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob]
@@ -13,51 +30,55 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.ReportResultsMetadata}
  */
-public final class ReportResultsMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ReportResultsMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ReportResultsMetadata)
     ReportResultsMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ReportResultsMetadata.newBuilder() to construct.
   private ReportResultsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private ReportResultsMetadata() {
-  }
+
+  private ReportResultsMetadata() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ReportResultsMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportResultsMetadata_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ReportsServiceProto
+        .internal_static_google_cloud_channel_v1_ReportResultsMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportResultsMetadata_fieldAccessorTable
+    return com.google.cloud.channel.v1.ReportsServiceProto
+        .internal_static_google_cloud_channel_v1_ReportResultsMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.ReportResultsMetadata.class, com.google.cloud.channel.v1.ReportResultsMetadata.Builder.class);
+            com.google.cloud.channel.v1.ReportResultsMetadata.class,
+            com.google.cloud.channel.v1.ReportResultsMetadata.Builder.class);
   }
 
   public static final int REPORT_FIELD_NUMBER = 1;
   private com.google.cloud.channel.v1.Report report_;
   /**
+   *
+   *
    * 
    * Details of the completed report.
    * 
* * .google.cloud.channel.v1.Report report = 1; + * * @return Whether the report field is set. */ @java.lang.Override @@ -65,11 +86,14 @@ public boolean hasReport() { return report_ != null; } /** + * + * *
    * Details of the completed report.
    * 
* * .google.cloud.channel.v1.Report report = 1; + * * @return The report. */ @java.lang.Override @@ -77,6 +101,8 @@ public com.google.cloud.channel.v1.Report getReport() { return report_ == null ? com.google.cloud.channel.v1.Report.getDefaultInstance() : report_; } /** + * + * *
    * Details of the completed report.
    * 
@@ -91,11 +117,14 @@ public com.google.cloud.channel.v1.ReportOrBuilder getReportOrBuilder() { public static final int ROW_COUNT_FIELD_NUMBER = 2; private long rowCount_; /** + * + * *
    * The total number of rows of data in the final report.
    * 
* * int64 row_count = 2; + * * @return The rowCount. */ @java.lang.Override @@ -106,11 +135,14 @@ public long getRowCount() { public static final int DATE_RANGE_FIELD_NUMBER = 3; private com.google.cloud.channel.v1.DateRange dateRange_; /** + * + * *
    * The date range of reported usage.
    * 
* * .google.cloud.channel.v1.DateRange date_range = 3; + * * @return Whether the dateRange field is set. */ @java.lang.Override @@ -118,18 +150,25 @@ public boolean hasDateRange() { return dateRange_ != null; } /** + * + * *
    * The date range of reported usage.
    * 
* * .google.cloud.channel.v1.DateRange date_range = 3; + * * @return The dateRange. */ @java.lang.Override public com.google.cloud.channel.v1.DateRange getDateRange() { - return dateRange_ == null ? com.google.cloud.channel.v1.DateRange.getDefaultInstance() : dateRange_; + return dateRange_ == null + ? com.google.cloud.channel.v1.DateRange.getDefaultInstance() + : dateRange_; } /** + * + * *
    * The date range of reported usage.
    * 
@@ -144,6 +183,8 @@ public com.google.cloud.channel.v1.DateRangeOrBuilder getDateRangeOrBuilder() { public static final int PRECEDING_DATE_RANGE_FIELD_NUMBER = 4; private com.google.cloud.channel.v1.DateRange precedingDateRange_; /** + * + * *
    * The usage dates immediately preceding `date_range` with the same duration.
    * Use this to calculate trending usage and costs. This is only populated if
@@ -153,6 +194,7 @@ public com.google.cloud.channel.v1.DateRangeOrBuilder getDateRangeOrBuilder() {
    * 
* * .google.cloud.channel.v1.DateRange preceding_date_range = 4; + * * @return Whether the precedingDateRange field is set. */ @java.lang.Override @@ -160,6 +202,8 @@ public boolean hasPrecedingDateRange() { return precedingDateRange_ != null; } /** + * + * *
    * The usage dates immediately preceding `date_range` with the same duration.
    * Use this to calculate trending usage and costs. This is only populated if
@@ -169,13 +213,18 @@ public boolean hasPrecedingDateRange() {
    * 
* * .google.cloud.channel.v1.DateRange preceding_date_range = 4; + * * @return The precedingDateRange. */ @java.lang.Override public com.google.cloud.channel.v1.DateRange getPrecedingDateRange() { - return precedingDateRange_ == null ? com.google.cloud.channel.v1.DateRange.getDefaultInstance() : precedingDateRange_; + return precedingDateRange_ == null + ? com.google.cloud.channel.v1.DateRange.getDefaultInstance() + : precedingDateRange_; } /** + * + * *
    * The usage dates immediately preceding `date_range` with the same duration.
    * Use this to calculate trending usage and costs. This is only populated if
@@ -192,6 +241,7 @@ public com.google.cloud.channel.v1.DateRangeOrBuilder getPrecedingDateRangeOrBui
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -203,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 (report_ != null) {
       output.writeMessage(1, getReport());
     }
@@ -227,20 +276,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (report_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getReport());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReport());
     }
     if (rowCount_ != 0L) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt64Size(2, rowCount_);
+      size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, rowCount_);
     }
     if (dateRange_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getDateRange());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDateRange());
     }
     if (precedingDateRange_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getPrecedingDateRange());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPrecedingDateRange());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -250,29 +295,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.cloud.channel.v1.ReportResultsMetadata)) {
       return super.equals(obj);
     }
-    com.google.cloud.channel.v1.ReportResultsMetadata other = (com.google.cloud.channel.v1.ReportResultsMetadata) obj;
+    com.google.cloud.channel.v1.ReportResultsMetadata other =
+        (com.google.cloud.channel.v1.ReportResultsMetadata) obj;
 
     if (hasReport() != other.hasReport()) return false;
     if (hasReport()) {
-      if (!getReport()
-          .equals(other.getReport())) return false;
+      if (!getReport().equals(other.getReport())) return false;
     }
-    if (getRowCount()
-        != other.getRowCount()) return false;
+    if (getRowCount() != other.getRowCount()) return false;
     if (hasDateRange() != other.hasDateRange()) return false;
     if (hasDateRange()) {
-      if (!getDateRange()
-          .equals(other.getDateRange())) return false;
+      if (!getDateRange().equals(other.getDateRange())) return false;
     }
     if (hasPrecedingDateRange() != other.hasPrecedingDateRange()) return false;
     if (hasPrecedingDateRange()) {
-      if (!getPrecedingDateRange()
-          .equals(other.getPrecedingDateRange())) return false;
+      if (!getPrecedingDateRange().equals(other.getPrecedingDateRange())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -290,8 +332,7 @@ public int hashCode() {
       hash = (53 * hash) + getReport().hashCode();
     }
     hash = (37 * hash) + ROW_COUNT_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
-        getRowCount());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowCount());
     if (hasDateRange()) {
       hash = (37 * hash) + DATE_RANGE_FIELD_NUMBER;
       hash = (53 * hash) + getDateRange().hashCode();
@@ -306,96 +347,103 @@ public int hashCode() {
   }
 
   public static com.google.cloud.channel.v1.ReportResultsMetadata parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.channel.v1.ReportResultsMetadata parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.ReportResultsMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.channel.v1.ReportResultsMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.ReportResultsMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.channel.v1.ReportResultsMetadata parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.channel.v1.ReportResultsMetadata parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.channel.v1.ReportResultsMetadata parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.channel.v1.ReportResultsMetadata parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.channel.v1.ReportResultsMetadata parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.channel.v1.ReportResultsMetadata parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.channel.v1.ReportResultsMetadata parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.ReportResultsMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.channel.v1.ReportResultsMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.channel.v1.ReportResultsMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The features describing the data. Returned by
    * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob]
@@ -405,33 +453,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.ReportResultsMetadata}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ReportResultsMetadata)
       com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportResultsMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ReportsServiceProto
+          .internal_static_google_cloud_channel_v1_ReportResultsMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportResultsMetadata_fieldAccessorTable
+      return com.google.cloud.channel.v1.ReportsServiceProto
+          .internal_static_google_cloud_channel_v1_ReportResultsMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.ReportResultsMetadata.class, com.google.cloud.channel.v1.ReportResultsMetadata.Builder.class);
+              com.google.cloud.channel.v1.ReportResultsMetadata.class,
+              com.google.cloud.channel.v1.ReportResultsMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.ReportResultsMetadata.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -459,9 +506,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportResultsMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ReportsServiceProto
+          .internal_static_google_cloud_channel_v1_ReportResultsMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -480,7 +527,8 @@ public com.google.cloud.channel.v1.ReportResultsMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.ReportResultsMetadata buildPartial() {
-      com.google.cloud.channel.v1.ReportResultsMetadata result = new com.google.cloud.channel.v1.ReportResultsMetadata(this);
+      com.google.cloud.channel.v1.ReportResultsMetadata result =
+          new com.google.cloud.channel.v1.ReportResultsMetadata(this);
       if (reportBuilder_ == null) {
         result.report_ = report_;
       } else {
@@ -505,38 +553,39 @@ public com.google.cloud.channel.v1.ReportResultsMetadata 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.cloud.channel.v1.ReportResultsMetadata) {
-        return mergeFrom((com.google.cloud.channel.v1.ReportResultsMetadata)other);
+        return mergeFrom((com.google.cloud.channel.v1.ReportResultsMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -544,7 +593,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.ReportResultsMetadata other) {
-      if (other == com.google.cloud.channel.v1.ReportResultsMetadata.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.ReportResultsMetadata.getDefaultInstance())
+        return this;
       if (other.hasReport()) {
         mergeReport(other.getReport());
       }
@@ -583,38 +633,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getReportFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 10
-            case 16: {
-              rowCount_ = input.readInt64();
-
-              break;
-            } // case 16
-            case 26: {
-              input.readMessage(
-                  getDateRangeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getPrecedingDateRangeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getReportFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 10
+            case 16:
+              {
+                rowCount_ = input.readInt64();
+
+                break;
+              } // case 16
+            case 26:
+              {
+                input.readMessage(getDateRangeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(
+                    getPrecedingDateRangeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -627,24 +677,33 @@ public Builder mergeFrom(
 
     private com.google.cloud.channel.v1.Report report_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.channel.v1.Report, com.google.cloud.channel.v1.Report.Builder, com.google.cloud.channel.v1.ReportOrBuilder> reportBuilder_;
+            com.google.cloud.channel.v1.Report,
+            com.google.cloud.channel.v1.Report.Builder,
+            com.google.cloud.channel.v1.ReportOrBuilder>
+        reportBuilder_;
     /**
+     *
+     *
      * 
      * Details of the completed report.
      * 
* * .google.cloud.channel.v1.Report report = 1; + * * @return Whether the report field is set. */ public boolean hasReport() { return reportBuilder_ != null || report_ != null; } /** + * + * *
      * Details of the completed report.
      * 
* * .google.cloud.channel.v1.Report report = 1; + * * @return The report. */ public com.google.cloud.channel.v1.Report getReport() { @@ -655,6 +714,8 @@ public com.google.cloud.channel.v1.Report getReport() { } } /** + * + * *
      * Details of the completed report.
      * 
@@ -675,14 +736,15 @@ public Builder setReport(com.google.cloud.channel.v1.Report value) { return this; } /** + * + * *
      * Details of the completed report.
      * 
* * .google.cloud.channel.v1.Report report = 1; */ - public Builder setReport( - com.google.cloud.channel.v1.Report.Builder builderForValue) { + public Builder setReport(com.google.cloud.channel.v1.Report.Builder builderForValue) { if (reportBuilder_ == null) { report_ = builderForValue.build(); onChanged(); @@ -693,6 +755,8 @@ public Builder setReport( return this; } /** + * + * *
      * Details of the completed report.
      * 
@@ -703,7 +767,9 @@ public Builder mergeReport(com.google.cloud.channel.v1.Report value) { if (reportBuilder_ == null) { if (report_ != null) { report_ = - com.google.cloud.channel.v1.Report.newBuilder(report_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.Report.newBuilder(report_) + .mergeFrom(value) + .buildPartial(); } else { report_ = value; } @@ -715,6 +781,8 @@ public Builder mergeReport(com.google.cloud.channel.v1.Report value) { return this; } /** + * + * *
      * Details of the completed report.
      * 
@@ -733,6 +801,8 @@ public Builder clearReport() { return this; } /** + * + * *
      * Details of the completed report.
      * 
@@ -740,11 +810,13 @@ public Builder clearReport() { * .google.cloud.channel.v1.Report report = 1; */ public com.google.cloud.channel.v1.Report.Builder getReportBuilder() { - + onChanged(); return getReportFieldBuilder().getBuilder(); } /** + * + * *
      * Details of the completed report.
      * 
@@ -755,11 +827,12 @@ public com.google.cloud.channel.v1.ReportOrBuilder getReportOrBuilder() { if (reportBuilder_ != null) { return reportBuilder_.getMessageOrBuilder(); } else { - return report_ == null ? - com.google.cloud.channel.v1.Report.getDefaultInstance() : report_; + return report_ == null ? com.google.cloud.channel.v1.Report.getDefaultInstance() : report_; } } /** + * + * *
      * Details of the completed report.
      * 
@@ -767,26 +840,32 @@ public com.google.cloud.channel.v1.ReportOrBuilder getReportOrBuilder() { * .google.cloud.channel.v1.Report report = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Report, com.google.cloud.channel.v1.Report.Builder, com.google.cloud.channel.v1.ReportOrBuilder> + com.google.cloud.channel.v1.Report, + com.google.cloud.channel.v1.Report.Builder, + com.google.cloud.channel.v1.ReportOrBuilder> getReportFieldBuilder() { if (reportBuilder_ == null) { - reportBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Report, com.google.cloud.channel.v1.Report.Builder, com.google.cloud.channel.v1.ReportOrBuilder>( - getReport(), - getParentForChildren(), - isClean()); + reportBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Report, + com.google.cloud.channel.v1.Report.Builder, + com.google.cloud.channel.v1.ReportOrBuilder>( + getReport(), getParentForChildren(), isClean()); report_ = null; } return reportBuilder_; } - private long rowCount_ ; + private long rowCount_; /** + * + * *
      * The total number of rows of data in the final report.
      * 
* * int64 row_count = 2; + * * @return The rowCount. */ @java.lang.Override @@ -794,30 +873,36 @@ public long getRowCount() { return rowCount_; } /** + * + * *
      * The total number of rows of data in the final report.
      * 
* * int64 row_count = 2; + * * @param value The rowCount to set. * @return This builder for chaining. */ public Builder setRowCount(long value) { - + rowCount_ = value; onChanged(); return this; } /** + * + * *
      * The total number of rows of data in the final report.
      * 
* * int64 row_count = 2; + * * @return This builder for chaining. */ public Builder clearRowCount() { - + rowCount_ = 0L; onChanged(); return this; @@ -825,34 +910,47 @@ public Builder clearRowCount() { private com.google.cloud.channel.v1.DateRange dateRange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.DateRange, com.google.cloud.channel.v1.DateRange.Builder, com.google.cloud.channel.v1.DateRangeOrBuilder> dateRangeBuilder_; + com.google.cloud.channel.v1.DateRange, + com.google.cloud.channel.v1.DateRange.Builder, + com.google.cloud.channel.v1.DateRangeOrBuilder> + dateRangeBuilder_; /** + * + * *
      * The date range of reported usage.
      * 
* * .google.cloud.channel.v1.DateRange date_range = 3; + * * @return Whether the dateRange field is set. */ public boolean hasDateRange() { return dateRangeBuilder_ != null || dateRange_ != null; } /** + * + * *
      * The date range of reported usage.
      * 
* * .google.cloud.channel.v1.DateRange date_range = 3; + * * @return The dateRange. */ public com.google.cloud.channel.v1.DateRange getDateRange() { if (dateRangeBuilder_ == null) { - return dateRange_ == null ? com.google.cloud.channel.v1.DateRange.getDefaultInstance() : dateRange_; + return dateRange_ == null + ? com.google.cloud.channel.v1.DateRange.getDefaultInstance() + : dateRange_; } else { return dateRangeBuilder_.getMessage(); } } /** + * + * *
      * The date range of reported usage.
      * 
@@ -873,14 +971,15 @@ public Builder setDateRange(com.google.cloud.channel.v1.DateRange value) { return this; } /** + * + * *
      * The date range of reported usage.
      * 
* * .google.cloud.channel.v1.DateRange date_range = 3; */ - public Builder setDateRange( - com.google.cloud.channel.v1.DateRange.Builder builderForValue) { + public Builder setDateRange(com.google.cloud.channel.v1.DateRange.Builder builderForValue) { if (dateRangeBuilder_ == null) { dateRange_ = builderForValue.build(); onChanged(); @@ -891,6 +990,8 @@ public Builder setDateRange( return this; } /** + * + * *
      * The date range of reported usage.
      * 
@@ -901,7 +1002,9 @@ public Builder mergeDateRange(com.google.cloud.channel.v1.DateRange value) { if (dateRangeBuilder_ == null) { if (dateRange_ != null) { dateRange_ = - com.google.cloud.channel.v1.DateRange.newBuilder(dateRange_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.DateRange.newBuilder(dateRange_) + .mergeFrom(value) + .buildPartial(); } else { dateRange_ = value; } @@ -913,6 +1016,8 @@ public Builder mergeDateRange(com.google.cloud.channel.v1.DateRange value) { return this; } /** + * + * *
      * The date range of reported usage.
      * 
@@ -931,6 +1036,8 @@ public Builder clearDateRange() { return this; } /** + * + * *
      * The date range of reported usage.
      * 
@@ -938,11 +1045,13 @@ public Builder clearDateRange() { * .google.cloud.channel.v1.DateRange date_range = 3; */ public com.google.cloud.channel.v1.DateRange.Builder getDateRangeBuilder() { - + onChanged(); return getDateRangeFieldBuilder().getBuilder(); } /** + * + * *
      * The date range of reported usage.
      * 
@@ -953,11 +1062,14 @@ public com.google.cloud.channel.v1.DateRangeOrBuilder getDateRangeOrBuilder() { if (dateRangeBuilder_ != null) { return dateRangeBuilder_.getMessageOrBuilder(); } else { - return dateRange_ == null ? - com.google.cloud.channel.v1.DateRange.getDefaultInstance() : dateRange_; + return dateRange_ == null + ? com.google.cloud.channel.v1.DateRange.getDefaultInstance() + : dateRange_; } } /** + * + * *
      * The date range of reported usage.
      * 
@@ -965,14 +1077,17 @@ public com.google.cloud.channel.v1.DateRangeOrBuilder getDateRangeOrBuilder() { * .google.cloud.channel.v1.DateRange date_range = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.DateRange, com.google.cloud.channel.v1.DateRange.Builder, com.google.cloud.channel.v1.DateRangeOrBuilder> + com.google.cloud.channel.v1.DateRange, + com.google.cloud.channel.v1.DateRange.Builder, + com.google.cloud.channel.v1.DateRangeOrBuilder> getDateRangeFieldBuilder() { if (dateRangeBuilder_ == null) { - dateRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.DateRange, com.google.cloud.channel.v1.DateRange.Builder, com.google.cloud.channel.v1.DateRangeOrBuilder>( - getDateRange(), - getParentForChildren(), - isClean()); + dateRangeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.DateRange, + com.google.cloud.channel.v1.DateRange.Builder, + com.google.cloud.channel.v1.DateRangeOrBuilder>( + getDateRange(), getParentForChildren(), isClean()); dateRange_ = null; } return dateRangeBuilder_; @@ -980,8 +1095,13 @@ public com.google.cloud.channel.v1.DateRangeOrBuilder getDateRangeOrBuilder() { private com.google.cloud.channel.v1.DateRange precedingDateRange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.DateRange, com.google.cloud.channel.v1.DateRange.Builder, com.google.cloud.channel.v1.DateRangeOrBuilder> precedingDateRangeBuilder_; + com.google.cloud.channel.v1.DateRange, + com.google.cloud.channel.v1.DateRange.Builder, + com.google.cloud.channel.v1.DateRangeOrBuilder> + precedingDateRangeBuilder_; /** + * + * *
      * The usage dates immediately preceding `date_range` with the same duration.
      * Use this to calculate trending usage and costs. This is only populated if
@@ -991,12 +1111,15 @@ public com.google.cloud.channel.v1.DateRangeOrBuilder getDateRangeOrBuilder() {
      * 
* * .google.cloud.channel.v1.DateRange preceding_date_range = 4; + * * @return Whether the precedingDateRange field is set. */ public boolean hasPrecedingDateRange() { return precedingDateRangeBuilder_ != null || precedingDateRange_ != null; } /** + * + * *
      * The usage dates immediately preceding `date_range` with the same duration.
      * Use this to calculate trending usage and costs. This is only populated if
@@ -1006,16 +1129,21 @@ public boolean hasPrecedingDateRange() {
      * 
* * .google.cloud.channel.v1.DateRange preceding_date_range = 4; + * * @return The precedingDateRange. */ public com.google.cloud.channel.v1.DateRange getPrecedingDateRange() { if (precedingDateRangeBuilder_ == null) { - return precedingDateRange_ == null ? com.google.cloud.channel.v1.DateRange.getDefaultInstance() : precedingDateRange_; + return precedingDateRange_ == null + ? com.google.cloud.channel.v1.DateRange.getDefaultInstance() + : precedingDateRange_; } else { return precedingDateRangeBuilder_.getMessage(); } } /** + * + * *
      * The usage dates immediately preceding `date_range` with the same duration.
      * Use this to calculate trending usage and costs. This is only populated if
@@ -1040,6 +1168,8 @@ public Builder setPrecedingDateRange(com.google.cloud.channel.v1.DateRange value
       return this;
     }
     /**
+     *
+     *
      * 
      * The usage dates immediately preceding `date_range` with the same duration.
      * Use this to calculate trending usage and costs. This is only populated if
@@ -1062,6 +1192,8 @@ public Builder setPrecedingDateRange(
       return this;
     }
     /**
+     *
+     *
      * 
      * The usage dates immediately preceding `date_range` with the same duration.
      * Use this to calculate trending usage and costs. This is only populated if
@@ -1076,7 +1208,9 @@ public Builder mergePrecedingDateRange(com.google.cloud.channel.v1.DateRange val
       if (precedingDateRangeBuilder_ == null) {
         if (precedingDateRange_ != null) {
           precedingDateRange_ =
-            com.google.cloud.channel.v1.DateRange.newBuilder(precedingDateRange_).mergeFrom(value).buildPartial();
+              com.google.cloud.channel.v1.DateRange.newBuilder(precedingDateRange_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           precedingDateRange_ = value;
         }
@@ -1088,6 +1222,8 @@ public Builder mergePrecedingDateRange(com.google.cloud.channel.v1.DateRange val
       return this;
     }
     /**
+     *
+     *
      * 
      * The usage dates immediately preceding `date_range` with the same duration.
      * Use this to calculate trending usage and costs. This is only populated if
@@ -1110,6 +1246,8 @@ public Builder clearPrecedingDateRange() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The usage dates immediately preceding `date_range` with the same duration.
      * Use this to calculate trending usage and costs. This is only populated if
@@ -1121,11 +1259,13 @@ public Builder clearPrecedingDateRange() {
      * .google.cloud.channel.v1.DateRange preceding_date_range = 4;
      */
     public com.google.cloud.channel.v1.DateRange.Builder getPrecedingDateRangeBuilder() {
-      
+
       onChanged();
       return getPrecedingDateRangeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The usage dates immediately preceding `date_range` with the same duration.
      * Use this to calculate trending usage and costs. This is only populated if
@@ -1140,11 +1280,14 @@ public com.google.cloud.channel.v1.DateRangeOrBuilder getPrecedingDateRangeOrBui
       if (precedingDateRangeBuilder_ != null) {
         return precedingDateRangeBuilder_.getMessageOrBuilder();
       } else {
-        return precedingDateRange_ == null ?
-            com.google.cloud.channel.v1.DateRange.getDefaultInstance() : precedingDateRange_;
+        return precedingDateRange_ == null
+            ? com.google.cloud.channel.v1.DateRange.getDefaultInstance()
+            : precedingDateRange_;
       }
     }
     /**
+     *
+     *
      * 
      * The usage dates immediately preceding `date_range` with the same duration.
      * Use this to calculate trending usage and costs. This is only populated if
@@ -1156,21 +1299,24 @@ public com.google.cloud.channel.v1.DateRangeOrBuilder getPrecedingDateRangeOrBui
      * .google.cloud.channel.v1.DateRange preceding_date_range = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.channel.v1.DateRange, com.google.cloud.channel.v1.DateRange.Builder, com.google.cloud.channel.v1.DateRangeOrBuilder> 
+            com.google.cloud.channel.v1.DateRange,
+            com.google.cloud.channel.v1.DateRange.Builder,
+            com.google.cloud.channel.v1.DateRangeOrBuilder>
         getPrecedingDateRangeFieldBuilder() {
       if (precedingDateRangeBuilder_ == null) {
-        precedingDateRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.channel.v1.DateRange, com.google.cloud.channel.v1.DateRange.Builder, com.google.cloud.channel.v1.DateRangeOrBuilder>(
-                getPrecedingDateRange(),
-                getParentForChildren(),
-                isClean());
+        precedingDateRangeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.channel.v1.DateRange,
+                com.google.cloud.channel.v1.DateRange.Builder,
+                com.google.cloud.channel.v1.DateRangeOrBuilder>(
+                getPrecedingDateRange(), getParentForChildren(), isClean());
         precedingDateRange_ = null;
       }
       return precedingDateRangeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1180,12 +1326,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ReportResultsMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ReportResultsMetadata)
   private static final com.google.cloud.channel.v1.ReportResultsMetadata DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ReportResultsMetadata();
   }
@@ -1194,27 +1340,27 @@ public static com.google.cloud.channel.v1.ReportResultsMetadata getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ReportResultsMetadata parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ReportResultsMetadata parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1229,6 +1375,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.channel.v1.ReportResultsMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportResultsMetadataOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportResultsMetadataOrBuilder.java
similarity index 80%
rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportResultsMetadataOrBuilder.java
rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportResultsMetadataOrBuilder.java
index 1a88badf9883..16541a4044c4 100644
--- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportResultsMetadataOrBuilder.java
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportResultsMetadataOrBuilder.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/cloud/channel/v1/reports_service.proto
 
 package com.google.cloud.channel.v1;
 
-public interface ReportResultsMetadataOrBuilder extends
+public interface ReportResultsMetadataOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ReportResultsMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Details of the completed report.
    * 
* * .google.cloud.channel.v1.Report report = 1; + * * @return Whether the report field is set. */ boolean hasReport(); /** + * + * *
    * Details of the completed report.
    * 
* * .google.cloud.channel.v1.Report report = 1; + * * @return The report. */ com.google.cloud.channel.v1.Report getReport(); /** + * + * *
    * Details of the completed report.
    * 
@@ -35,34 +59,45 @@ public interface ReportResultsMetadataOrBuilder extends com.google.cloud.channel.v1.ReportOrBuilder getReportOrBuilder(); /** + * + * *
    * The total number of rows of data in the final report.
    * 
* * int64 row_count = 2; + * * @return The rowCount. */ long getRowCount(); /** + * + * *
    * The date range of reported usage.
    * 
* * .google.cloud.channel.v1.DateRange date_range = 3; + * * @return Whether the dateRange field is set. */ boolean hasDateRange(); /** + * + * *
    * The date range of reported usage.
    * 
* * .google.cloud.channel.v1.DateRange date_range = 3; + * * @return The dateRange. */ com.google.cloud.channel.v1.DateRange getDateRange(); /** + * + * *
    * The date range of reported usage.
    * 
@@ -72,6 +107,8 @@ public interface ReportResultsMetadataOrBuilder extends com.google.cloud.channel.v1.DateRangeOrBuilder getDateRangeOrBuilder(); /** + * + * *
    * The usage dates immediately preceding `date_range` with the same duration.
    * Use this to calculate trending usage and costs. This is only populated if
@@ -81,10 +118,13 @@ public interface ReportResultsMetadataOrBuilder extends
    * 
* * .google.cloud.channel.v1.DateRange preceding_date_range = 4; + * * @return Whether the precedingDateRange field is set. */ boolean hasPrecedingDateRange(); /** + * + * *
    * The usage dates immediately preceding `date_range` with the same duration.
    * Use this to calculate trending usage and costs. This is only populated if
@@ -94,10 +134,13 @@ public interface ReportResultsMetadataOrBuilder extends
    * 
* * .google.cloud.channel.v1.DateRange preceding_date_range = 4; + * * @return The precedingDateRange. */ com.google.cloud.channel.v1.DateRange getPrecedingDateRange(); /** + * + * *
    * The usage dates immediately preceding `date_range` with the same duration.
    * Use this to calculate trending usage and costs. This is only populated if
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportStatus.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportStatus.java
similarity index 72%
rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportStatus.java
rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportStatus.java
index 053f44da5d63..272e1ad835b7 100644
--- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportStatus.java
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportStatus.java
@@ -1,63 +1,85 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/channel/v1/reports_service.proto
 
 package com.google.cloud.channel.v1;
 
 /**
+ *
+ *
  * 
  * Status of a report generation process.
  * 
* * Protobuf type {@code google.cloud.channel.v1.ReportStatus} */ -public final class ReportStatus extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ReportStatus extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ReportStatus) ReportStatusOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReportStatus.newBuilder() to construct. private ReportStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ReportStatus() { state_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReportStatus(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportStatus_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ReportsServiceProto + .internal_static_google_cloud_channel_v1_ReportStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportStatus_fieldAccessorTable + return com.google.cloud.channel.v1.ReportsServiceProto + .internal_static_google_cloud_channel_v1_ReportStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ReportStatus.class, com.google.cloud.channel.v1.ReportStatus.Builder.class); + com.google.cloud.channel.v1.ReportStatus.class, + com.google.cloud.channel.v1.ReportStatus.Builder.class); } /** + * + * *
    * Available states of report generation.
    * 
* * Protobuf enum {@code google.cloud.channel.v1.ReportStatus.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not used.
      * 
@@ -66,6 +88,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * Report processing started.
      * 
@@ -74,6 +98,8 @@ public enum State */ STARTED(1), /** + * + * *
      * Data generated from the report is being staged.
      * 
@@ -82,6 +108,8 @@ public enum State */ WRITING(2), /** + * + * *
      * Report data is available for access.
      * 
@@ -90,6 +118,8 @@ public enum State */ AVAILABLE(3), /** + * + * *
      * Report failed.
      * 
@@ -101,6 +131,8 @@ public enum State ; /** + * + * *
      * Not used.
      * 
@@ -109,6 +141,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Report processing started.
      * 
@@ -117,6 +151,8 @@ public enum State */ public static final int STARTED_VALUE = 1; /** + * + * *
      * Data generated from the report is being staged.
      * 
@@ -125,6 +161,8 @@ public enum State */ public static final int WRITING_VALUE = 2; /** + * + * *
      * Report data is available for access.
      * 
@@ -133,6 +171,8 @@ public enum State */ public static final int AVAILABLE_VALUE = 3; /** + * + * *
      * Report failed.
      * 
@@ -141,7 +181,6 @@ public enum State */ public static final int FAILED_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -166,51 +205,53 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return STARTED; - case 2: return WRITING; - case 3: return AVAILABLE; - case 4: return FAILED; - default: return null; + case 0: + return STATE_UNSPECIFIED; + case 1: + return STARTED; + case 2: + return WRITING; + case 3: + return AVAILABLE; + case 4: + return FAILED; + 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< - State> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.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 State findValueByNumber(int number) { + return State.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.cloud.channel.v1.ReportStatus.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -230,38 +271,50 @@ private State(int value) { public static final int STATE_FIELD_NUMBER = 1; private int state_; /** + * + * *
    * The current state of the report generation process.
    * 
* * .google.cloud.channel.v1.ReportStatus.State state = 1; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * The current state of the report generation process.
    * 
* * .google.cloud.channel.v1.ReportStatus.State state = 1; + * * @return The state. */ - @java.lang.Override public com.google.cloud.channel.v1.ReportStatus.State getState() { + @java.lang.Override + public com.google.cloud.channel.v1.ReportStatus.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.ReportStatus.State result = com.google.cloud.channel.v1.ReportStatus.State.valueOf(state_); + com.google.cloud.channel.v1.ReportStatus.State result = + com.google.cloud.channel.v1.ReportStatus.State.valueOf(state_); return result == null ? com.google.cloud.channel.v1.ReportStatus.State.UNRECOGNIZED : result; } public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * The report generation's start time.
    * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -269,11 +322,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * The report generation's start time.
    * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return The startTime. */ @java.lang.Override @@ -281,6 +337,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * The report generation's start time.
    * 
@@ -295,11 +353,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * The report generation's completion time.
    * 
* * .google.protobuf.Timestamp end_time = 3; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -307,11 +368,14 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * The report generation's completion time.
    * 
* * .google.protobuf.Timestamp end_time = 3; + * * @return The endTime. */ @java.lang.Override @@ -319,6 +383,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The report generation's completion time.
    * 
@@ -331,6 +397,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -342,8 +409,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (state_ != com.google.cloud.channel.v1.ReportStatus.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(1, state_); } @@ -363,16 +429,13 @@ public int getSerializedSize() { size = 0; if (state_ != com.google.cloud.channel.v1.ReportStatus.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -382,7 +445,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.ReportStatus)) { return super.equals(obj); @@ -392,13 +455,11 @@ public boolean equals(final java.lang.Object obj) { if (state_ != other.state_) return false; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime() - .equals(other.getStartTime())) return false; + if (!getStartTime().equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -426,130 +487,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.ReportStatus parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.ReportStatus parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ReportStatus parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ReportStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ReportStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ReportStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.ReportStatus parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.ReportStatus 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.cloud.channel.v1.ReportStatus parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.ReportStatus parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.ReportStatus parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ReportStatus parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.ReportStatus parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.ReportStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.ReportStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 of a report generation process.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ReportStatus} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ReportStatus) com.google.cloud.channel.v1.ReportStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ReportsServiceProto + .internal_static_google_cloud_channel_v1_ReportStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportStatus_fieldAccessorTable + return com.google.cloud.channel.v1.ReportsServiceProto + .internal_static_google_cloud_channel_v1_ReportStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ReportStatus.class, com.google.cloud.channel.v1.ReportStatus.Builder.class); + com.google.cloud.channel.v1.ReportStatus.class, + com.google.cloud.channel.v1.ReportStatus.Builder.class); } // Construct using com.google.cloud.channel.v1.ReportStatus.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -571,9 +638,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.ReportsServiceProto + .internal_static_google_cloud_channel_v1_ReportStatus_descriptor; } @java.lang.Override @@ -592,7 +659,8 @@ public com.google.cloud.channel.v1.ReportStatus build() { @java.lang.Override public com.google.cloud.channel.v1.ReportStatus buildPartial() { - com.google.cloud.channel.v1.ReportStatus result = new com.google.cloud.channel.v1.ReportStatus(this); + com.google.cloud.channel.v1.ReportStatus result = + new com.google.cloud.channel.v1.ReportStatus(this); result.state_ = state_; if (startTimeBuilder_ == null) { result.startTime_ = startTime_; @@ -612,38 +680,39 @@ public com.google.cloud.channel.v1.ReportStatus 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.cloud.channel.v1.ReportStatus) { - return mergeFrom((com.google.cloud.channel.v1.ReportStatus)other); + return mergeFrom((com.google.cloud.channel.v1.ReportStatus) other); } else { super.mergeFrom(other); return this; @@ -687,31 +756,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - state_ = input.readEnum(); - - break; - } // case 8 - case 18: { - input.readMessage( - getStartTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - case 26: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + state_ = input.readEnum(); + + break; + } // case 8 + case 18: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + case 26: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -724,51 +793,65 @@ public Builder mergeFrom( private int state_ = 0; /** + * + * *
      * The current state of the report generation process.
      * 
* * .google.cloud.channel.v1.ReportStatus.State state = 1; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * The current state of the report generation process.
      * 
* * .google.cloud.channel.v1.ReportStatus.State state = 1; + * * @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; } /** + * + * *
      * The current state of the report generation process.
      * 
* * .google.cloud.channel.v1.ReportStatus.State state = 1; + * * @return The state. */ @java.lang.Override public com.google.cloud.channel.v1.ReportStatus.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.ReportStatus.State result = com.google.cloud.channel.v1.ReportStatus.State.valueOf(state_); + com.google.cloud.channel.v1.ReportStatus.State result = + com.google.cloud.channel.v1.ReportStatus.State.valueOf(state_); return result == null ? com.google.cloud.channel.v1.ReportStatus.State.UNRECOGNIZED : result; } /** + * + * *
      * The current state of the report generation process.
      * 
* * .google.cloud.channel.v1.ReportStatus.State state = 1; + * * @param value The state to set. * @return This builder for chaining. */ @@ -776,21 +859,24 @@ public Builder setState(com.google.cloud.channel.v1.ReportStatus.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The current state of the report generation process.
      * 
* * .google.cloud.channel.v1.ReportStatus.State state = 1; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -798,24 +884,33 @@ public Builder clearState() { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; /** + * + * *
      * The report generation's start time.
      * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * The report generation's start time.
      * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -826,6 +921,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * The report generation's start time.
      * 
@@ -846,14 +943,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The report generation's start time.
      * 
* * .google.protobuf.Timestamp start_time = 2; */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -864,6 +962,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * The report generation's start time.
      * 
@@ -874,7 +974,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -886,6 +986,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The report generation's start time.
      * 
@@ -904,6 +1006,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * The report generation's start time.
      * 
@@ -911,11 +1015,13 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 2; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The report generation's start time.
      * 
@@ -926,11 +1032,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** + * + * *
      * The report generation's start time.
      * 
@@ -938,14 +1045,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_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> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartTime(), - getParentForChildren(), - isClean()); + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; @@ -953,24 +1063,33 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * The report generation's completion time.
      * 
* * .google.protobuf.Timestamp end_time = 3; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * The report generation's completion time.
      * 
* * .google.protobuf.Timestamp end_time = 3; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -981,6 +1100,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The report generation's completion time.
      * 
@@ -1001,14 +1122,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The report generation's completion time.
      * 
* * .google.protobuf.Timestamp end_time = 3; */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -1019,6 +1141,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * The report generation's completion time.
      * 
@@ -1029,7 +1153,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1041,6 +1165,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The report generation's completion time.
      * 
@@ -1059,6 +1185,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * The report generation's completion time.
      * 
@@ -1066,11 +1194,13 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 3; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The report generation's completion time.
      * 
@@ -1081,11 +1211,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * The report generation's completion time.
      * 
@@ -1093,21 +1224,24 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 3; */ 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> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1117,12 +1251,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ReportStatus) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ReportStatus) private static final com.google.cloud.channel.v1.ReportStatus DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ReportStatus(); } @@ -1131,27 +1265,27 @@ public static com.google.cloud.channel.v1.ReportStatus getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReportStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReportStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1166,6 +1300,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.ReportStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportStatusOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportStatusOrBuilder.java similarity index 73% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportStatusOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportStatusOrBuilder.java index 56a44feb3c95..a42d1e8d05bb 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportStatusOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportStatusOrBuilder.java @@ -1,50 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; -public interface ReportStatusOrBuilder extends +public interface ReportStatusOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ReportStatus) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The current state of the report generation process.
    * 
* * .google.cloud.channel.v1.ReportStatus.State state = 1; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * The current state of the report generation process.
    * 
* * .google.cloud.channel.v1.ReportStatus.State state = 1; + * * @return The state. */ com.google.cloud.channel.v1.ReportStatus.State getState(); /** + * + * *
    * The report generation's start time.
    * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * The report generation's start time.
    * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * The report generation's start time.
    * 
@@ -54,24 +84,32 @@ public interface ReportStatusOrBuilder extends com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * The report generation's completion time.
    * 
* * .google.protobuf.Timestamp end_time = 3; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * The report generation's completion time.
    * 
* * .google.protobuf.Timestamp end_time = 3; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * The report generation's completion time.
    * 
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportValue.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportValue.java similarity index 73% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportValue.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportValue.java index bb808c8a639d..d494953710cf 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportValue.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportValue.java @@ -1,56 +1,76 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; /** + * + * *
  * A single report value.
  * 
* * Protobuf type {@code google.cloud.channel.v1.ReportValue} */ -public final class ReportValue extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ReportValue extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.ReportValue) ReportValueOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReportValue.newBuilder() to construct. private ReportValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReportValue() { - } + + private ReportValue() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReportValue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportValue_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ReportsServiceProto + .internal_static_google_cloud_channel_v1_ReportValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportValue_fieldAccessorTable + return com.google.cloud.channel.v1.ReportsServiceProto + .internal_static_google_cloud_channel_v1_ReportValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ReportValue.class, com.google.cloud.channel.v1.ReportValue.Builder.class); + com.google.cloud.channel.v1.ReportValue.class, + com.google.cloud.channel.v1.ReportValue.Builder.class); } private int valueCase_ = 0; private java.lang.Object value_; + public enum ValueCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRING_VALUE(1), INT_VALUE(2), @@ -60,6 +80,7 @@ public enum ValueCase DATE_TIME_VALUE(6), VALUE_NOT_SET(0); private final int value; + private ValueCase(int value) { this.value = value; } @@ -75,45 +96,58 @@ public static ValueCase valueOf(int value) { public static ValueCase forNumber(int value) { switch (value) { - case 1: return STRING_VALUE; - case 2: return INT_VALUE; - case 3: return DECIMAL_VALUE; - case 4: return MONEY_VALUE; - case 5: return DATE_VALUE; - case 6: return DATE_TIME_VALUE; - case 0: return VALUE_NOT_SET; - default: return null; + case 1: + return STRING_VALUE; + case 2: + return INT_VALUE; + case 3: + return DECIMAL_VALUE; + case 4: + return MONEY_VALUE; + case 5: + return DATE_VALUE; + case 6: + return DATE_TIME_VALUE; + case 0: + return VALUE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ValueCase - getValueCase() { - return ValueCase.forNumber( - valueCase_); + public ValueCase getValueCase() { + return ValueCase.forNumber(valueCase_); } public static final int STRING_VALUE_FIELD_NUMBER = 1; /** + * + * *
    * A value of type `string`.
    * 
* * string string_value = 1; + * * @return Whether the stringValue field is set. */ public boolean hasStringValue() { return valueCase_ == 1; } /** + * + * *
    * A value of type `string`.
    * 
* * string string_value = 1; + * * @return The stringValue. */ public java.lang.String getStringValue() { @@ -124,8 +158,7 @@ public java.lang.String getStringValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueCase_ == 1) { value_ = s; @@ -134,23 +167,24 @@ public java.lang.String getStringValue() { } } /** + * + * *
    * A value of type `string`.
    * 
* * string string_value = 1; + * * @return The bytes for stringValue. */ - public com.google.protobuf.ByteString - getStringValueBytes() { + public com.google.protobuf.ByteString getStringValueBytes() { java.lang.Object ref = ""; if (valueCase_ == 1) { ref = value_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (valueCase_ == 1) { value_ = b; } @@ -162,11 +196,14 @@ public java.lang.String getStringValue() { public static final int INT_VALUE_FIELD_NUMBER = 2; /** + * + * *
    * A value of type `int`.
    * 
* * int64 int_value = 2; + * * @return Whether the intValue field is set. */ @java.lang.Override @@ -174,11 +211,14 @@ public boolean hasIntValue() { return valueCase_ == 2; } /** + * + * *
    * A value of type `int`.
    * 
* * int64 int_value = 2; + * * @return The intValue. */ @java.lang.Override @@ -191,12 +231,15 @@ public long getIntValue() { public static final int DECIMAL_VALUE_FIELD_NUMBER = 3; /** + * + * *
    * A value of type `google.type.Decimal`, representing non-integer numeric
    * values.
    * 
* * .google.type.Decimal decimal_value = 3; + * * @return Whether the decimalValue field is set. */ @java.lang.Override @@ -204,22 +247,27 @@ public boolean hasDecimalValue() { return valueCase_ == 3; } /** + * + * *
    * A value of type `google.type.Decimal`, representing non-integer numeric
    * values.
    * 
* * .google.type.Decimal decimal_value = 3; + * * @return The decimalValue. */ @java.lang.Override public com.google.type.Decimal getDecimalValue() { if (valueCase_ == 3) { - return (com.google.type.Decimal) value_; + return (com.google.type.Decimal) value_; } return com.google.type.Decimal.getDefaultInstance(); } /** + * + * *
    * A value of type `google.type.Decimal`, representing non-integer numeric
    * values.
@@ -230,19 +278,22 @@ public com.google.type.Decimal getDecimalValue() {
   @java.lang.Override
   public com.google.type.DecimalOrBuilder getDecimalValueOrBuilder() {
     if (valueCase_ == 3) {
-       return (com.google.type.Decimal) value_;
+      return (com.google.type.Decimal) value_;
     }
     return com.google.type.Decimal.getDefaultInstance();
   }
 
   public static final int MONEY_VALUE_FIELD_NUMBER = 4;
   /**
+   *
+   *
    * 
    * A value of type `google.type.Money` (currency code, whole units, decimal
    * units).
    * 
* * .google.type.Money money_value = 4; + * * @return Whether the moneyValue field is set. */ @java.lang.Override @@ -250,22 +301,27 @@ public boolean hasMoneyValue() { return valueCase_ == 4; } /** + * + * *
    * A value of type `google.type.Money` (currency code, whole units, decimal
    * units).
    * 
* * .google.type.Money money_value = 4; + * * @return The moneyValue. */ @java.lang.Override public com.google.type.Money getMoneyValue() { if (valueCase_ == 4) { - return (com.google.type.Money) value_; + return (com.google.type.Money) value_; } return com.google.type.Money.getDefaultInstance(); } /** + * + * *
    * A value of type `google.type.Money` (currency code, whole units, decimal
    * units).
@@ -276,18 +332,21 @@ public com.google.type.Money getMoneyValue() {
   @java.lang.Override
   public com.google.type.MoneyOrBuilder getMoneyValueOrBuilder() {
     if (valueCase_ == 4) {
-       return (com.google.type.Money) value_;
+      return (com.google.type.Money) value_;
     }
     return com.google.type.Money.getDefaultInstance();
   }
 
   public static final int DATE_VALUE_FIELD_NUMBER = 5;
   /**
+   *
+   *
    * 
    * A value of type `google.type.Date` (year, month, day).
    * 
* * .google.type.Date date_value = 5; + * * @return Whether the dateValue field is set. */ @java.lang.Override @@ -295,21 +354,26 @@ public boolean hasDateValue() { return valueCase_ == 5; } /** + * + * *
    * A value of type `google.type.Date` (year, month, day).
    * 
* * .google.type.Date date_value = 5; + * * @return The dateValue. */ @java.lang.Override public com.google.type.Date getDateValue() { if (valueCase_ == 5) { - return (com.google.type.Date) value_; + return (com.google.type.Date) value_; } return com.google.type.Date.getDefaultInstance(); } /** + * + * *
    * A value of type `google.type.Date` (year, month, day).
    * 
@@ -319,19 +383,22 @@ public com.google.type.Date getDateValue() { @java.lang.Override public com.google.type.DateOrBuilder getDateValueOrBuilder() { if (valueCase_ == 5) { - return (com.google.type.Date) value_; + return (com.google.type.Date) value_; } return com.google.type.Date.getDefaultInstance(); } public static final int DATE_TIME_VALUE_FIELD_NUMBER = 6; /** + * + * *
    * A value of type `google.type.DateTime` (year, month, day, hour, minute,
    * second, and UTC offset or timezone.)
    * 
* * .google.type.DateTime date_time_value = 6; + * * @return Whether the dateTimeValue field is set. */ @java.lang.Override @@ -339,22 +406,27 @@ public boolean hasDateTimeValue() { return valueCase_ == 6; } /** + * + * *
    * A value of type `google.type.DateTime` (year, month, day, hour, minute,
    * second, and UTC offset or timezone.)
    * 
* * .google.type.DateTime date_time_value = 6; + * * @return The dateTimeValue. */ @java.lang.Override public com.google.type.DateTime getDateTimeValue() { if (valueCase_ == 6) { - return (com.google.type.DateTime) value_; + return (com.google.type.DateTime) value_; } return com.google.type.DateTime.getDefaultInstance(); } /** + * + * *
    * A value of type `google.type.DateTime` (year, month, day, hour, minute,
    * second, and UTC offset or timezone.)
@@ -365,12 +437,13 @@ public com.google.type.DateTime getDateTimeValue() {
   @java.lang.Override
   public com.google.type.DateTimeOrBuilder getDateTimeValueOrBuilder() {
     if (valueCase_ == 6) {
-       return (com.google.type.DateTime) value_;
+      return (com.google.type.DateTime) value_;
     }
     return com.google.type.DateTime.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -382,14 +455,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 (valueCase_ == 1) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_);
     }
     if (valueCase_ == 2) {
-      output.writeInt64(
-          2, (long)((java.lang.Long) value_));
+      output.writeInt64(2, (long) ((java.lang.Long) value_));
     }
     if (valueCase_ == 3) {
       output.writeMessage(3, (com.google.type.Decimal) value_);
@@ -416,25 +487,29 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, value_);
     }
     if (valueCase_ == 2) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt64Size(
-            2, (long)((java.lang.Long) value_));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeInt64Size(
+              2, (long) ((java.lang.Long) value_));
     }
     if (valueCase_ == 3) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, (com.google.type.Decimal) value_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              3, (com.google.type.Decimal) value_);
     }
     if (valueCase_ == 4) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, (com.google.type.Money) value_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              4, (com.google.type.Money) value_);
     }
     if (valueCase_ == 5) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, (com.google.type.Date) value_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              5, (com.google.type.Date) value_);
     }
     if (valueCase_ == 6) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, (com.google.type.DateTime) value_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              6, (com.google.type.DateTime) value_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -444,7 +519,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.channel.v1.ReportValue)) {
       return super.equals(obj);
@@ -454,28 +529,22 @@ public boolean equals(final java.lang.Object obj) {
     if (!getValueCase().equals(other.getValueCase())) return false;
     switch (valueCase_) {
       case 1:
-        if (!getStringValue()
-            .equals(other.getStringValue())) return false;
+        if (!getStringValue().equals(other.getStringValue())) return false;
         break;
       case 2:
-        if (getIntValue()
-            != other.getIntValue()) return false;
+        if (getIntValue() != other.getIntValue()) return false;
         break;
       case 3:
-        if (!getDecimalValue()
-            .equals(other.getDecimalValue())) return false;
+        if (!getDecimalValue().equals(other.getDecimalValue())) return false;
         break;
       case 4:
-        if (!getMoneyValue()
-            .equals(other.getMoneyValue())) return false;
+        if (!getMoneyValue().equals(other.getMoneyValue())) return false;
         break;
       case 5:
-        if (!getDateValue()
-            .equals(other.getDateValue())) return false;
+        if (!getDateValue().equals(other.getDateValue())) return false;
         break;
       case 6:
-        if (!getDateTimeValue()
-            .equals(other.getDateTimeValue())) return false;
+        if (!getDateTimeValue().equals(other.getDateTimeValue())) return false;
         break;
       case 0:
       default:
@@ -498,8 +567,7 @@ public int hashCode() {
         break;
       case 2:
         hash = (37 * hash) + INT_VALUE_FIELD_NUMBER;
-        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
-            getIntValue());
+        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getIntValue());
         break;
       case 3:
         hash = (37 * hash) + DECIMAL_VALUE_FIELD_NUMBER;
@@ -525,130 +593,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.channel.v1.ReportValue parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.channel.v1.ReportValue parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.channel.v1.ReportValue parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.ReportValue parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.channel.v1.ReportValue parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.ReportValue parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.channel.v1.ReportValue parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.ReportValue 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.cloud.channel.v1.ReportValue parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.channel.v1.ReportValue parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.channel.v1.ReportValue parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.channel.v1.ReportValue parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.ReportValue parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.channel.v1.ReportValue parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.channel.v1.ReportValue prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 single report value.
    * 
* * Protobuf type {@code google.cloud.channel.v1.ReportValue} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.ReportValue) com.google.cloud.channel.v1.ReportValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ReportsServiceProto + .internal_static_google_cloud_channel_v1_ReportValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportValue_fieldAccessorTable + return com.google.cloud.channel.v1.ReportsServiceProto + .internal_static_google_cloud_channel_v1_ReportValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.ReportValue.class, com.google.cloud.channel.v1.ReportValue.Builder.class); + com.google.cloud.channel.v1.ReportValue.class, + com.google.cloud.channel.v1.ReportValue.Builder.class); } // Construct using com.google.cloud.channel.v1.ReportValue.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -670,9 +744,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_ReportValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.ReportsServiceProto + .internal_static_google_cloud_channel_v1_ReportValue_descriptor; } @java.lang.Override @@ -691,7 +765,8 @@ public com.google.cloud.channel.v1.ReportValue build() { @java.lang.Override public com.google.cloud.channel.v1.ReportValue buildPartial() { - com.google.cloud.channel.v1.ReportValue result = new com.google.cloud.channel.v1.ReportValue(this); + com.google.cloud.channel.v1.ReportValue result = + new com.google.cloud.channel.v1.ReportValue(this); if (valueCase_ == 1) { result.value_ = value_; } @@ -735,38 +810,39 @@ public com.google.cloud.channel.v1.ReportValue 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.cloud.channel.v1.ReportValue) { - return mergeFrom((com.google.cloud.channel.v1.ReportValue)other); + return mergeFrom((com.google.cloud.channel.v1.ReportValue) other); } else { super.mergeFrom(other); return this; @@ -776,35 +852,42 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.channel.v1.ReportValue other) { if (other == com.google.cloud.channel.v1.ReportValue.getDefaultInstance()) return this; switch (other.getValueCase()) { - case STRING_VALUE: { - valueCase_ = 1; - value_ = other.value_; - onChanged(); - break; - } - case INT_VALUE: { - setIntValue(other.getIntValue()); - break; - } - case DECIMAL_VALUE: { - mergeDecimalValue(other.getDecimalValue()); - break; - } - case MONEY_VALUE: { - mergeMoneyValue(other.getMoneyValue()); - break; - } - case DATE_VALUE: { - mergeDateValue(other.getDateValue()); - break; - } - case DATE_TIME_VALUE: { - mergeDateTimeValue(other.getDateTimeValue()); - break; - } - case VALUE_NOT_SET: { - break; - } + case STRING_VALUE: + { + valueCase_ = 1; + value_ = other.value_; + onChanged(); + break; + } + case INT_VALUE: + { + setIntValue(other.getIntValue()); + break; + } + case DECIMAL_VALUE: + { + mergeDecimalValue(other.getDecimalValue()); + break; + } + case MONEY_VALUE: + { + mergeMoneyValue(other.getMoneyValue()); + break; + } + case DATE_VALUE: + { + mergeDateValue(other.getDateValue()); + break; + } + case DATE_TIME_VALUE: + { + mergeDateTimeValue(other.getDateTimeValue()); + break; + } + case VALUE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -832,51 +915,50 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - valueCase_ = 1; - value_ = s; - break; - } // case 10 - case 16: { - value_ = input.readInt64(); - valueCase_ = 2; - break; - } // case 16 - case 26: { - input.readMessage( - getDecimalValueFieldBuilder().getBuilder(), - extensionRegistry); - valueCase_ = 3; - break; - } // case 26 - case 34: { - input.readMessage( - getMoneyValueFieldBuilder().getBuilder(), - extensionRegistry); - valueCase_ = 4; - break; - } // case 34 - case 42: { - input.readMessage( - getDateValueFieldBuilder().getBuilder(), - extensionRegistry); - valueCase_ = 5; - break; - } // case 42 - case 50: { - input.readMessage( - getDateTimeValueFieldBuilder().getBuilder(), - extensionRegistry); - valueCase_ = 6; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + valueCase_ = 1; + value_ = s; + break; + } // case 10 + case 16: + { + value_ = input.readInt64(); + valueCase_ = 2; + break; + } // case 16 + case 26: + { + input.readMessage(getDecimalValueFieldBuilder().getBuilder(), extensionRegistry); + valueCase_ = 3; + break; + } // case 26 + case 34: + { + input.readMessage(getMoneyValueFieldBuilder().getBuilder(), extensionRegistry); + valueCase_ = 4; + break; + } // case 34 + case 42: + { + input.readMessage(getDateValueFieldBuilder().getBuilder(), extensionRegistry); + valueCase_ = 5; + break; + } // case 42 + case 50: + { + input.readMessage(getDateTimeValueFieldBuilder().getBuilder(), extensionRegistry); + valueCase_ = 6; + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -886,12 +968,12 @@ public Builder mergeFrom( } // finally return this; } + private int valueCase_ = 0; private java.lang.Object value_; - public ValueCase - getValueCase() { - return ValueCase.forNumber( - valueCase_); + + public ValueCase getValueCase() { + return ValueCase.forNumber(valueCase_); } public Builder clearValue() { @@ -901,13 +983,15 @@ public Builder clearValue() { return this; } - /** + * + * *
      * A value of type `string`.
      * 
* * string string_value = 1; + * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -915,11 +999,14 @@ public boolean hasStringValue() { return valueCase_ == 1; } /** + * + * *
      * A value of type `string`.
      * 
* * string string_value = 1; + * * @return The stringValue. */ @java.lang.Override @@ -929,8 +1016,7 @@ public java.lang.String getStringValue() { ref = value_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueCase_ == 1) { value_ = s; @@ -941,24 +1027,25 @@ public java.lang.String getStringValue() { } } /** + * + * *
      * A value of type `string`.
      * 
* * string string_value = 1; + * * @return The bytes for stringValue. */ @java.lang.Override - public com.google.protobuf.ByteString - getStringValueBytes() { + public com.google.protobuf.ByteString getStringValueBytes() { java.lang.Object ref = ""; if (valueCase_ == 1) { ref = value_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (valueCase_ == 1) { value_ = b; } @@ -968,30 +1055,35 @@ public java.lang.String getStringValue() { } } /** + * + * *
      * A value of type `string`.
      * 
* * string string_value = 1; + * * @param value The stringValue to set. * @return This builder for chaining. */ - public Builder setStringValue( - java.lang.String value) { + public Builder setStringValue(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - valueCase_ = 1; + throw new NullPointerException(); + } + valueCase_ = 1; value_ = value; onChanged(); return this; } /** + * + * *
      * A value of type `string`.
      * 
* * string string_value = 1; + * * @return This builder for chaining. */ public Builder clearStringValue() { @@ -1003,20 +1095,22 @@ public Builder clearStringValue() { return this; } /** + * + * *
      * A value of type `string`.
      * 
* * string string_value = 1; + * * @param value The bytes for stringValue to set. * @return This builder for chaining. */ - public Builder setStringValueBytes( - com.google.protobuf.ByteString value) { + public Builder setStringValueBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); valueCase_ = 1; value_ = value; onChanged(); @@ -1024,22 +1118,28 @@ public Builder setStringValueBytes( } /** + * + * *
      * A value of type `int`.
      * 
* * int64 int_value = 2; + * * @return Whether the intValue field is set. */ public boolean hasIntValue() { return valueCase_ == 2; } /** + * + * *
      * A value of type `int`.
      * 
* * int64 int_value = 2; + * * @return The intValue. */ public long getIntValue() { @@ -1049,11 +1149,14 @@ public long getIntValue() { return 0L; } /** + * + * *
      * A value of type `int`.
      * 
* * int64 int_value = 2; + * * @param value The intValue to set. * @return This builder for chaining. */ @@ -1064,11 +1167,14 @@ public Builder setIntValue(long value) { return this; } /** + * + * *
      * A value of type `int`.
      * 
* * int64 int_value = 2; + * * @return This builder for chaining. */ public Builder clearIntValue() { @@ -1081,14 +1187,20 @@ public Builder clearIntValue() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Decimal, com.google.type.Decimal.Builder, com.google.type.DecimalOrBuilder> decimalValueBuilder_; + com.google.type.Decimal, + com.google.type.Decimal.Builder, + com.google.type.DecimalOrBuilder> + decimalValueBuilder_; /** + * + * *
      * A value of type `google.type.Decimal`, representing non-integer numeric
      * values.
      * 
* * .google.type.Decimal decimal_value = 3; + * * @return Whether the decimalValue field is set. */ @java.lang.Override @@ -1096,12 +1208,15 @@ public boolean hasDecimalValue() { return valueCase_ == 3; } /** + * + * *
      * A value of type `google.type.Decimal`, representing non-integer numeric
      * values.
      * 
* * .google.type.Decimal decimal_value = 3; + * * @return The decimalValue. */ @java.lang.Override @@ -1119,6 +1234,8 @@ public com.google.type.Decimal getDecimalValue() { } } /** + * + * *
      * A value of type `google.type.Decimal`, representing non-integer numeric
      * values.
@@ -1140,6 +1257,8 @@ public Builder setDecimalValue(com.google.type.Decimal value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A value of type `google.type.Decimal`, representing non-integer numeric
      * values.
@@ -1147,8 +1266,7 @@ public Builder setDecimalValue(com.google.type.Decimal value) {
      *
      * .google.type.Decimal decimal_value = 3;
      */
-    public Builder setDecimalValue(
-        com.google.type.Decimal.Builder builderForValue) {
+    public Builder setDecimalValue(com.google.type.Decimal.Builder builderForValue) {
       if (decimalValueBuilder_ == null) {
         value_ = builderForValue.build();
         onChanged();
@@ -1159,6 +1277,8 @@ public Builder setDecimalValue(
       return this;
     }
     /**
+     *
+     *
      * 
      * A value of type `google.type.Decimal`, representing non-integer numeric
      * values.
@@ -1168,10 +1288,11 @@ public Builder setDecimalValue(
      */
     public Builder mergeDecimalValue(com.google.type.Decimal value) {
       if (decimalValueBuilder_ == null) {
-        if (valueCase_ == 3 &&
-            value_ != com.google.type.Decimal.getDefaultInstance()) {
-          value_ = com.google.type.Decimal.newBuilder((com.google.type.Decimal) value_)
-              .mergeFrom(value).buildPartial();
+        if (valueCase_ == 3 && value_ != com.google.type.Decimal.getDefaultInstance()) {
+          value_ =
+              com.google.type.Decimal.newBuilder((com.google.type.Decimal) value_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           value_ = value;
         }
@@ -1187,6 +1308,8 @@ public Builder mergeDecimalValue(com.google.type.Decimal value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A value of type `google.type.Decimal`, representing non-integer numeric
      * values.
@@ -1211,6 +1334,8 @@ public Builder clearDecimalValue() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A value of type `google.type.Decimal`, representing non-integer numeric
      * values.
@@ -1222,6 +1347,8 @@ public com.google.type.Decimal.Builder getDecimalValueBuilder() {
       return getDecimalValueFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A value of type `google.type.Decimal`, representing non-integer numeric
      * values.
@@ -1241,6 +1368,8 @@ public com.google.type.DecimalOrBuilder getDecimalValueOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * A value of type `google.type.Decimal`, representing non-integer numeric
      * values.
@@ -1249,33 +1378,41 @@ public com.google.type.DecimalOrBuilder getDecimalValueOrBuilder() {
      * .google.type.Decimal decimal_value = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.Decimal, com.google.type.Decimal.Builder, com.google.type.DecimalOrBuilder> 
+            com.google.type.Decimal,
+            com.google.type.Decimal.Builder,
+            com.google.type.DecimalOrBuilder>
         getDecimalValueFieldBuilder() {
       if (decimalValueBuilder_ == null) {
         if (!(valueCase_ == 3)) {
           value_ = com.google.type.Decimal.getDefaultInstance();
         }
-        decimalValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Decimal, com.google.type.Decimal.Builder, com.google.type.DecimalOrBuilder>(
-                (com.google.type.Decimal) value_,
-                getParentForChildren(),
-                isClean());
+        decimalValueBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.type.Decimal,
+                com.google.type.Decimal.Builder,
+                com.google.type.DecimalOrBuilder>(
+                (com.google.type.Decimal) value_, getParentForChildren(), isClean());
         value_ = null;
       }
       valueCase_ = 3;
-      onChanged();;
+      onChanged();
+      ;
       return decimalValueBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> moneyValueBuilder_;
+            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
+        moneyValueBuilder_;
     /**
+     *
+     *
      * 
      * A value of type `google.type.Money` (currency code, whole units, decimal
      * units).
      * 
* * .google.type.Money money_value = 4; + * * @return Whether the moneyValue field is set. */ @java.lang.Override @@ -1283,12 +1420,15 @@ public boolean hasMoneyValue() { return valueCase_ == 4; } /** + * + * *
      * A value of type `google.type.Money` (currency code, whole units, decimal
      * units).
      * 
* * .google.type.Money money_value = 4; + * * @return The moneyValue. */ @java.lang.Override @@ -1306,6 +1446,8 @@ public com.google.type.Money getMoneyValue() { } } /** + * + * *
      * A value of type `google.type.Money` (currency code, whole units, decimal
      * units).
@@ -1327,6 +1469,8 @@ public Builder setMoneyValue(com.google.type.Money value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A value of type `google.type.Money` (currency code, whole units, decimal
      * units).
@@ -1334,8 +1478,7 @@ public Builder setMoneyValue(com.google.type.Money value) {
      *
      * .google.type.Money money_value = 4;
      */
-    public Builder setMoneyValue(
-        com.google.type.Money.Builder builderForValue) {
+    public Builder setMoneyValue(com.google.type.Money.Builder builderForValue) {
       if (moneyValueBuilder_ == null) {
         value_ = builderForValue.build();
         onChanged();
@@ -1346,6 +1489,8 @@ public Builder setMoneyValue(
       return this;
     }
     /**
+     *
+     *
      * 
      * A value of type `google.type.Money` (currency code, whole units, decimal
      * units).
@@ -1355,10 +1500,11 @@ public Builder setMoneyValue(
      */
     public Builder mergeMoneyValue(com.google.type.Money value) {
       if (moneyValueBuilder_ == null) {
-        if (valueCase_ == 4 &&
-            value_ != com.google.type.Money.getDefaultInstance()) {
-          value_ = com.google.type.Money.newBuilder((com.google.type.Money) value_)
-              .mergeFrom(value).buildPartial();
+        if (valueCase_ == 4 && value_ != com.google.type.Money.getDefaultInstance()) {
+          value_ =
+              com.google.type.Money.newBuilder((com.google.type.Money) value_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           value_ = value;
         }
@@ -1374,6 +1520,8 @@ public Builder mergeMoneyValue(com.google.type.Money value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A value of type `google.type.Money` (currency code, whole units, decimal
      * units).
@@ -1398,6 +1546,8 @@ public Builder clearMoneyValue() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A value of type `google.type.Money` (currency code, whole units, decimal
      * units).
@@ -1409,6 +1559,8 @@ public com.google.type.Money.Builder getMoneyValueBuilder() {
       return getMoneyValueFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A value of type `google.type.Money` (currency code, whole units, decimal
      * units).
@@ -1428,6 +1580,8 @@ public com.google.type.MoneyOrBuilder getMoneyValueOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * A value of type `google.type.Money` (currency code, whole units, decimal
      * units).
@@ -1436,32 +1590,38 @@ public com.google.type.MoneyOrBuilder getMoneyValueOrBuilder() {
      * .google.type.Money money_value = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> 
+            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
         getMoneyValueFieldBuilder() {
       if (moneyValueBuilder_ == null) {
         if (!(valueCase_ == 4)) {
           value_ = com.google.type.Money.getDefaultInstance();
         }
-        moneyValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>(
-                (com.google.type.Money) value_,
-                getParentForChildren(),
-                isClean());
+        moneyValueBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.type.Money,
+                com.google.type.Money.Builder,
+                com.google.type.MoneyOrBuilder>(
+                (com.google.type.Money) value_, getParentForChildren(), isClean());
         value_ = null;
       }
       valueCase_ = 4;
-      onChanged();;
+      onChanged();
+      ;
       return moneyValueBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> dateValueBuilder_;
+            com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>
+        dateValueBuilder_;
     /**
+     *
+     *
      * 
      * A value of type `google.type.Date` (year, month, day).
      * 
* * .google.type.Date date_value = 5; + * * @return Whether the dateValue field is set. */ @java.lang.Override @@ -1469,11 +1629,14 @@ public boolean hasDateValue() { return valueCase_ == 5; } /** + * + * *
      * A value of type `google.type.Date` (year, month, day).
      * 
* * .google.type.Date date_value = 5; + * * @return The dateValue. */ @java.lang.Override @@ -1491,6 +1654,8 @@ public com.google.type.Date getDateValue() { } } /** + * + * *
      * A value of type `google.type.Date` (year, month, day).
      * 
@@ -1511,14 +1676,15 @@ public Builder setDateValue(com.google.type.Date value) { return this; } /** + * + * *
      * A value of type `google.type.Date` (year, month, day).
      * 
* * .google.type.Date date_value = 5; */ - public Builder setDateValue( - com.google.type.Date.Builder builderForValue) { + public Builder setDateValue(com.google.type.Date.Builder builderForValue) { if (dateValueBuilder_ == null) { value_ = builderForValue.build(); onChanged(); @@ -1529,6 +1695,8 @@ public Builder setDateValue( return this; } /** + * + * *
      * A value of type `google.type.Date` (year, month, day).
      * 
@@ -1537,10 +1705,11 @@ public Builder setDateValue( */ public Builder mergeDateValue(com.google.type.Date value) { if (dateValueBuilder_ == null) { - if (valueCase_ == 5 && - value_ != com.google.type.Date.getDefaultInstance()) { - value_ = com.google.type.Date.newBuilder((com.google.type.Date) value_) - .mergeFrom(value).buildPartial(); + if (valueCase_ == 5 && value_ != com.google.type.Date.getDefaultInstance()) { + value_ = + com.google.type.Date.newBuilder((com.google.type.Date) value_) + .mergeFrom(value) + .buildPartial(); } else { value_ = value; } @@ -1556,6 +1725,8 @@ public Builder mergeDateValue(com.google.type.Date value) { return this; } /** + * + * *
      * A value of type `google.type.Date` (year, month, day).
      * 
@@ -1579,6 +1750,8 @@ public Builder clearDateValue() { return this; } /** + * + * *
      * A value of type `google.type.Date` (year, month, day).
      * 
@@ -1589,6 +1762,8 @@ public com.google.type.Date.Builder getDateValueBuilder() { return getDateValueFieldBuilder().getBuilder(); } /** + * + * *
      * A value of type `google.type.Date` (year, month, day).
      * 
@@ -1607,6 +1782,8 @@ public com.google.type.DateOrBuilder getDateValueOrBuilder() { } } /** + * + * *
      * A value of type `google.type.Date` (year, month, day).
      * 
@@ -1614,33 +1791,39 @@ public com.google.type.DateOrBuilder getDateValueOrBuilder() { * .google.type.Date date_value = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> getDateValueFieldBuilder() { if (dateValueBuilder_ == null) { if (!(valueCase_ == 5)) { value_ = com.google.type.Date.getDefaultInstance(); } - dateValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( - (com.google.type.Date) value_, - getParentForChildren(), - isClean()); + dateValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( + (com.google.type.Date) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 5; - onChanged();; + onChanged(); + ; return dateValueBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.DateTime, com.google.type.DateTime.Builder, com.google.type.DateTimeOrBuilder> dateTimeValueBuilder_; + com.google.type.DateTime, + com.google.type.DateTime.Builder, + com.google.type.DateTimeOrBuilder> + dateTimeValueBuilder_; /** + * + * *
      * A value of type `google.type.DateTime` (year, month, day, hour, minute,
      * second, and UTC offset or timezone.)
      * 
* * .google.type.DateTime date_time_value = 6; + * * @return Whether the dateTimeValue field is set. */ @java.lang.Override @@ -1648,12 +1831,15 @@ public boolean hasDateTimeValue() { return valueCase_ == 6; } /** + * + * *
      * A value of type `google.type.DateTime` (year, month, day, hour, minute,
      * second, and UTC offset or timezone.)
      * 
* * .google.type.DateTime date_time_value = 6; + * * @return The dateTimeValue. */ @java.lang.Override @@ -1671,6 +1857,8 @@ public com.google.type.DateTime getDateTimeValue() { } } /** + * + * *
      * A value of type `google.type.DateTime` (year, month, day, hour, minute,
      * second, and UTC offset or timezone.)
@@ -1692,6 +1880,8 @@ public Builder setDateTimeValue(com.google.type.DateTime value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A value of type `google.type.DateTime` (year, month, day, hour, minute,
      * second, and UTC offset or timezone.)
@@ -1699,8 +1889,7 @@ public Builder setDateTimeValue(com.google.type.DateTime value) {
      *
      * .google.type.DateTime date_time_value = 6;
      */
-    public Builder setDateTimeValue(
-        com.google.type.DateTime.Builder builderForValue) {
+    public Builder setDateTimeValue(com.google.type.DateTime.Builder builderForValue) {
       if (dateTimeValueBuilder_ == null) {
         value_ = builderForValue.build();
         onChanged();
@@ -1711,6 +1900,8 @@ public Builder setDateTimeValue(
       return this;
     }
     /**
+     *
+     *
      * 
      * A value of type `google.type.DateTime` (year, month, day, hour, minute,
      * second, and UTC offset or timezone.)
@@ -1720,10 +1911,11 @@ public Builder setDateTimeValue(
      */
     public Builder mergeDateTimeValue(com.google.type.DateTime value) {
       if (dateTimeValueBuilder_ == null) {
-        if (valueCase_ == 6 &&
-            value_ != com.google.type.DateTime.getDefaultInstance()) {
-          value_ = com.google.type.DateTime.newBuilder((com.google.type.DateTime) value_)
-              .mergeFrom(value).buildPartial();
+        if (valueCase_ == 6 && value_ != com.google.type.DateTime.getDefaultInstance()) {
+          value_ =
+              com.google.type.DateTime.newBuilder((com.google.type.DateTime) value_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           value_ = value;
         }
@@ -1739,6 +1931,8 @@ public Builder mergeDateTimeValue(com.google.type.DateTime value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A value of type `google.type.DateTime` (year, month, day, hour, minute,
      * second, and UTC offset or timezone.)
@@ -1763,6 +1957,8 @@ public Builder clearDateTimeValue() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A value of type `google.type.DateTime` (year, month, day, hour, minute,
      * second, and UTC offset or timezone.)
@@ -1774,6 +1970,8 @@ public com.google.type.DateTime.Builder getDateTimeValueBuilder() {
       return getDateTimeValueFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A value of type `google.type.DateTime` (year, month, day, hour, minute,
      * second, and UTC offset or timezone.)
@@ -1793,6 +1991,8 @@ public com.google.type.DateTimeOrBuilder getDateTimeValueOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * A value of type `google.type.DateTime` (year, month, day, hour, minute,
      * second, and UTC offset or timezone.)
@@ -1801,26 +2001,30 @@ public com.google.type.DateTimeOrBuilder getDateTimeValueOrBuilder() {
      * .google.type.DateTime date_time_value = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.DateTime, com.google.type.DateTime.Builder, com.google.type.DateTimeOrBuilder> 
+            com.google.type.DateTime,
+            com.google.type.DateTime.Builder,
+            com.google.type.DateTimeOrBuilder>
         getDateTimeValueFieldBuilder() {
       if (dateTimeValueBuilder_ == null) {
         if (!(valueCase_ == 6)) {
           value_ = com.google.type.DateTime.getDefaultInstance();
         }
-        dateTimeValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.DateTime, com.google.type.DateTime.Builder, com.google.type.DateTimeOrBuilder>(
-                (com.google.type.DateTime) value_,
-                getParentForChildren(),
-                isClean());
+        dateTimeValueBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.type.DateTime,
+                com.google.type.DateTime.Builder,
+                com.google.type.DateTimeOrBuilder>(
+                (com.google.type.DateTime) value_, getParentForChildren(), isClean());
         value_ = null;
       }
       valueCase_ = 6;
-      onChanged();;
+      onChanged();
+      ;
       return dateTimeValueBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1830,12 +2034,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.ReportValue)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.ReportValue)
   private static final com.google.cloud.channel.v1.ReportValue DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.channel.v1.ReportValue();
   }
@@ -1844,27 +2048,27 @@ public static com.google.cloud.channel.v1.ReportValue getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ReportValue parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ReportValue parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1879,6 +2083,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.channel.v1.ReportValue getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportValueOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportValueOrBuilder.java
similarity index 82%
rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportValueOrBuilder.java
rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportValueOrBuilder.java
index 540ff36736d9..edb13cdf7d5c 100644
--- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportValueOrBuilder.java
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportValueOrBuilder.java
@@ -1,81 +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/cloud/channel/v1/reports_service.proto
 
 package com.google.cloud.channel.v1;
 
-public interface ReportValueOrBuilder extends
+public interface ReportValueOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ReportValue)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * A value of type `string`.
    * 
* * string string_value = 1; + * * @return Whether the stringValue field is set. */ boolean hasStringValue(); /** + * + * *
    * A value of type `string`.
    * 
* * string string_value = 1; + * * @return The stringValue. */ java.lang.String getStringValue(); /** + * + * *
    * A value of type `string`.
    * 
* * string string_value = 1; + * * @return The bytes for stringValue. */ - com.google.protobuf.ByteString - getStringValueBytes(); + com.google.protobuf.ByteString getStringValueBytes(); /** + * + * *
    * A value of type `int`.
    * 
* * int64 int_value = 2; + * * @return Whether the intValue field is set. */ boolean hasIntValue(); /** + * + * *
    * A value of type `int`.
    * 
* * int64 int_value = 2; + * * @return The intValue. */ long getIntValue(); /** + * + * *
    * A value of type `google.type.Decimal`, representing non-integer numeric
    * values.
    * 
* * .google.type.Decimal decimal_value = 3; + * * @return Whether the decimalValue field is set. */ boolean hasDecimalValue(); /** + * + * *
    * A value of type `google.type.Decimal`, representing non-integer numeric
    * values.
    * 
* * .google.type.Decimal decimal_value = 3; + * * @return The decimalValue. */ com.google.type.Decimal getDecimalValue(); /** + * + * *
    * A value of type `google.type.Decimal`, representing non-integer numeric
    * values.
@@ -86,26 +124,34 @@ public interface ReportValueOrBuilder extends
   com.google.type.DecimalOrBuilder getDecimalValueOrBuilder();
 
   /**
+   *
+   *
    * 
    * A value of type `google.type.Money` (currency code, whole units, decimal
    * units).
    * 
* * .google.type.Money money_value = 4; + * * @return Whether the moneyValue field is set. */ boolean hasMoneyValue(); /** + * + * *
    * A value of type `google.type.Money` (currency code, whole units, decimal
    * units).
    * 
* * .google.type.Money money_value = 4; + * * @return The moneyValue. */ com.google.type.Money getMoneyValue(); /** + * + * *
    * A value of type `google.type.Money` (currency code, whole units, decimal
    * units).
@@ -116,24 +162,32 @@ public interface ReportValueOrBuilder extends
   com.google.type.MoneyOrBuilder getMoneyValueOrBuilder();
 
   /**
+   *
+   *
    * 
    * A value of type `google.type.Date` (year, month, day).
    * 
* * .google.type.Date date_value = 5; + * * @return Whether the dateValue field is set. */ boolean hasDateValue(); /** + * + * *
    * A value of type `google.type.Date` (year, month, day).
    * 
* * .google.type.Date date_value = 5; + * * @return The dateValue. */ com.google.type.Date getDateValue(); /** + * + * *
    * A value of type `google.type.Date` (year, month, day).
    * 
@@ -143,26 +197,34 @@ public interface ReportValueOrBuilder extends com.google.type.DateOrBuilder getDateValueOrBuilder(); /** + * + * *
    * A value of type `google.type.DateTime` (year, month, day, hour, minute,
    * second, and UTC offset or timezone.)
    * 
* * .google.type.DateTime date_time_value = 6; + * * @return Whether the dateTimeValue field is set. */ boolean hasDateTimeValue(); /** + * + * *
    * A value of type `google.type.DateTime` (year, month, day, hour, minute,
    * second, and UTC offset or timezone.)
    * 
* * .google.type.DateTime date_time_value = 6; + * * @return The dateTimeValue. */ com.google.type.DateTime getDateTimeValue(); /** + * + * *
    * A value of type `google.type.DateTime` (year, month, day, hour, minute,
    * second, and UTC offset or timezone.)
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportsServiceProto.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportsServiceProto.java
new file mode 100644
index 000000000000..f0cdabda07d3
--- /dev/null
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportsServiceProto.java
@@ -0,0 +1,346 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/channel/v1/reports_service.proto
+
+package com.google.cloud.channel.v1;
+
+public final class ReportsServiceProto {
+  private ReportsServiceProto() {}
+
+  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_cloud_channel_v1_RunReportJobRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_RunReportJobRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_RunReportJobResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_RunReportJobResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_FetchReportResultsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_FetchReportResultsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_FetchReportResultsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_FetchReportResultsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ListReportsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListReportsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ListReportsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListReportsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ReportJob_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ReportJob_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ReportResultsMetadata_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ReportResultsMetadata_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_Column_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_Column_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_DateRange_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_DateRange_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_Row_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_Row_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ReportValue_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ReportValue_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ReportStatus_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ReportStatus_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_Report_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_Report_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/cloud/channel/v1/reports_servic"
+          + "e.proto\022\027google.cloud.channel.v1\032\034google"
+          + "/api/annotations.proto\032\027google/api/clien"
+          + "t.proto\032\037google/api/field_behavior.proto"
+          + "\032\031google/api/resource.proto\032#google/long"
+          + "running/operations.proto\032\037google/protobu"
+          + "f/timestamp.proto\032\026google/type/date.prot"
+          + "o\032\032google/type/datetime.proto\032\031google/ty"
+          + "pe/decimal.proto\032\027google/type/money.prot"
+          + "o\"\275\001\n\023RunReportJobRequest\0228\n\004name\030\001 \001(\tB"
+          + "*\340A\002\372A$\n\"cloudchannel.googleapis.com/Rep"
+          + "ort\022;\n\ndate_range\030\002 \001(\0132\".google.cloud.c"
+          + "hannel.v1.DateRangeB\003\340A\001\022\023\n\006filter\030\003 \001(\t"
+          + "B\003\340A\001\022\032\n\rlanguage_code\030\004 \001(\tB\003\340A\001\"\227\001\n\024Ru"
+          + "nReportJobResponse\0226\n\nreport_job\030\001 \001(\0132\""
+          + ".google.cloud.channel.v1.ReportJob\022G\n\017re"
+          + "port_metadata\030\002 \001(\0132..google.cloud.chann"
+          + "el.v1.ReportResultsMetadata\"\217\001\n\031FetchRep"
+          + "ortResultsRequest\022A\n\nreport_job\030\001 \001(\tB-\340"
+          + "A\002\372A\'\n%cloudchannel.googleapis.com/Repor"
+          + "tJob\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_tok"
+          + "en\030\003 \001(\tB\003\340A\001\"\252\001\n\032FetchReportResultsResp"
+          + "onse\022G\n\017report_metadata\030\001 \001(\0132..google.c"
+          + "loud.channel.v1.ReportResultsMetadata\022*\n"
+          + "\004rows\030\002 \003(\0132\034.google.cloud.channel.v1.Ro"
+          + "w\022\027\n\017next_page_token\030\003 \001(\t\"v\n\022ListReport"
+          + "sRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\026\n\tpage_si"
+          + "ze\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\022\032"
+          + "\n\rlanguage_code\030\004 \001(\tB\003\340A\001\"`\n\023ListReport"
+          + "sResponse\0220\n\007reports\030\001 \003(\0132\037.google.clou"
+          + "d.channel.v1.Report\022\027\n\017next_page_token\030\002"
+          + " \001(\t\"\264\001\n\tReportJob\022\021\n\004name\030\001 \001(\tB\003\340A\002\022<\n"
+          + "\rreport_status\030\002 \001(\0132%.google.cloud.chan"
+          + "nel.v1.ReportStatus:V\352AS\n%cloudchannel.g"
+          + "oogleapis.com/ReportJob\022*accounts/{accou"
+          + "nt}/reportJobs/{report_job}\"\325\001\n\025ReportRe"
+          + "sultsMetadata\022/\n\006report\030\001 \001(\0132\037.google.c"
+          + "loud.channel.v1.Report\022\021\n\trow_count\030\002 \001("
+          + "\003\0226\n\ndate_range\030\003 \001(\0132\".google.cloud.cha"
+          + "nnel.v1.DateRange\022@\n\024preceding_date_rang"
+          + "e\030\004 \001(\0132\".google.cloud.channel.v1.DateRa"
+          + "nge\"\333\001\n\006Column\022\021\n\tcolumn_id\030\001 \001(\t\022\024\n\014dis"
+          + "play_name\030\002 \001(\t\022;\n\tdata_type\030\003 \001(\0162(.goo"
+          + "gle.cloud.channel.v1.Column.DataType\"k\n\010"
+          + "DataType\022\031\n\025DATA_TYPE_UNSPECIFIED\020\000\022\n\n\006S"
+          + "TRING\020\001\022\007\n\003INT\020\002\022\013\n\007DECIMAL\020\003\022\t\n\005MONEY\020\004"
+          + "\022\010\n\004DATE\020\005\022\r\n\tDATE_TIME\020\006\"\321\001\n\tDateRange\022"
+          + "4\n\025usage_start_date_time\030\001 \001(\0132\025.google."
+          + "type.DateTime\0222\n\023usage_end_date_time\030\002 \001"
+          + "(\0132\025.google.type.DateTime\022-\n\022invoice_sta"
+          + "rt_date\030\003 \001(\0132\021.google.type.Date\022+\n\020invo"
+          + "ice_end_date\030\004 \001(\0132\021.google.type.Date\";\n"
+          + "\003Row\0224\n\006values\030\001 \003(\0132$.google.cloud.chan"
+          + "nel.v1.ReportValue\"\370\001\n\013ReportValue\022\026\n\014st"
+          + "ring_value\030\001 \001(\tH\000\022\023\n\tint_value\030\002 \001(\003H\000\022"
+          + "-\n\rdecimal_value\030\003 \001(\0132\024.google.type.Dec"
+          + "imalH\000\022)\n\013money_value\030\004 \001(\0132\022.google.typ"
+          + "e.MoneyH\000\022\'\n\ndate_value\030\005 \001(\0132\021.google.t"
+          + "ype.DateH\000\0220\n\017date_time_value\030\006 \001(\0132\025.go"
+          + "ogle.type.DateTimeH\000B\007\n\005value\"\375\001\n\014Report"
+          + "Status\022:\n\005state\030\001 \001(\0162+.google.cloud.cha"
+          + "nnel.v1.ReportStatus.State\022.\n\nstart_time"
+          + "\030\002 \001(\0132\032.google.protobuf.Timestamp\022,\n\010en"
+          + "d_time\030\003 \001(\0132\032.google.protobuf.Timestamp"
+          + "\"S\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007STAR"
+          + "TED\020\001\022\013\n\007WRITING\020\002\022\r\n\tAVAILABLE\020\003\022\n\n\006FAI"
+          + "LED\020\004\"\306\001\n\006Report\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\024\n\014d"
+          + "isplay_name\030\002 \001(\t\0220\n\007columns\030\003 \003(\0132\037.goo"
+          + "gle.cloud.channel.v1.Column\022\023\n\013descripti"
+          + "on\030\004 \001(\t:L\352AI\n\"cloudchannel.googleapis.c"
+          + "om/Report\022#accounts/{account}/reports/{r"
+          + "eport}2\246\005\n\032CloudChannelReportsService\022\267\001"
+          + "\n\014RunReportJob\022,.google.cloud.channel.v1"
+          + ".RunReportJobRequest\032\035.google.longrunnin"
+          + "g.Operation\"Z\202\323\344\223\002(\"#/v1/{name=accounts/"
+          + "*/reports/*}:run:\001*\312A)\n\024RunReportJobResp"
+          + "onse\022\021OperationMetadata\022\322\001\n\022FetchReportR"
+          + "esults\0222.google.cloud.channel.v1.FetchRe"
+          + "portResultsRequest\0323.google.cloud.channe"
+          + "l.v1.FetchReportResultsResponse\"S\202\323\344\223\002@\""
+          + ";/v1/{report_job=accounts/*/reportJobs/*"
+          + "}:fetchReportResults:\001*\332A\nreport_job\022\232\001\n"
+          + "\013ListReports\022+.google.cloud.channel.v1.L"
+          + "istReportsRequest\032,.google.cloud.channel"
+          + ".v1.ListReportsResponse\"0\202\323\344\223\002!\022\037/v1/{pa"
+          + "rent=accounts/*}/reports\332A\006parent\032\\\312A\033cl"
+          + "oudchannel.googleapis.com\322A;https://www."
+          + "googleapis.com/auth/apps.reports.usage.r"
+          + "eadonlyBt\n\033com.google.cloud.channel.v1B\023"
+          + "ReportsServiceProtoP\001Z>google.golang.org"
+          + "/genproto/googleapis/cloud/channel/v1;ch"
+          + "annelb\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.AnnotationsProto.getDescriptor(),
+              com.google.api.ClientProto.getDescriptor(),
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.api.ResourceProto.getDescriptor(),
+              com.google.longrunning.OperationsProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+              com.google.type.DateProto.getDescriptor(),
+              com.google.type.DateTimeProto.getDescriptor(),
+              com.google.type.DecimalProto.getDescriptor(),
+              com.google.type.MoneyProto.getDescriptor(),
+            });
+    internal_static_google_cloud_channel_v1_RunReportJobRequest_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_channel_v1_RunReportJobRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_RunReportJobRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "DateRange", "Filter", "LanguageCode",
+            });
+    internal_static_google_cloud_channel_v1_RunReportJobResponse_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_channel_v1_RunReportJobResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_RunReportJobResponse_descriptor,
+            new java.lang.String[] {
+              "ReportJob", "ReportMetadata",
+            });
+    internal_static_google_cloud_channel_v1_FetchReportResultsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_channel_v1_FetchReportResultsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_FetchReportResultsRequest_descriptor,
+            new java.lang.String[] {
+              "ReportJob", "PageSize", "PageToken",
+            });
+    internal_static_google_cloud_channel_v1_FetchReportResultsResponse_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_channel_v1_FetchReportResultsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_FetchReportResultsResponse_descriptor,
+            new java.lang.String[] {
+              "ReportMetadata", "Rows", "NextPageToken",
+            });
+    internal_static_google_cloud_channel_v1_ListReportsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_channel_v1_ListReportsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ListReportsRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken", "LanguageCode",
+            });
+    internal_static_google_cloud_channel_v1_ListReportsResponse_descriptor =
+        getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_channel_v1_ListReportsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ListReportsResponse_descriptor,
+            new java.lang.String[] {
+              "Reports", "NextPageToken",
+            });
+    internal_static_google_cloud_channel_v1_ReportJob_descriptor =
+        getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_channel_v1_ReportJob_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ReportJob_descriptor,
+            new java.lang.String[] {
+              "Name", "ReportStatus",
+            });
+    internal_static_google_cloud_channel_v1_ReportResultsMetadata_descriptor =
+        getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_channel_v1_ReportResultsMetadata_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ReportResultsMetadata_descriptor,
+            new java.lang.String[] {
+              "Report", "RowCount", "DateRange", "PrecedingDateRange",
+            });
+    internal_static_google_cloud_channel_v1_Column_descriptor =
+        getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_channel_v1_Column_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_Column_descriptor,
+            new java.lang.String[] {
+              "ColumnId", "DisplayName", "DataType",
+            });
+    internal_static_google_cloud_channel_v1_DateRange_descriptor =
+        getDescriptor().getMessageTypes().get(9);
+    internal_static_google_cloud_channel_v1_DateRange_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_DateRange_descriptor,
+            new java.lang.String[] {
+              "UsageStartDateTime", "UsageEndDateTime", "InvoiceStartDate", "InvoiceEndDate",
+            });
+    internal_static_google_cloud_channel_v1_Row_descriptor =
+        getDescriptor().getMessageTypes().get(10);
+    internal_static_google_cloud_channel_v1_Row_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_Row_descriptor,
+            new java.lang.String[] {
+              "Values",
+            });
+    internal_static_google_cloud_channel_v1_ReportValue_descriptor =
+        getDescriptor().getMessageTypes().get(11);
+    internal_static_google_cloud_channel_v1_ReportValue_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ReportValue_descriptor,
+            new java.lang.String[] {
+              "StringValue",
+              "IntValue",
+              "DecimalValue",
+              "MoneyValue",
+              "DateValue",
+              "DateTimeValue",
+              "Value",
+            });
+    internal_static_google_cloud_channel_v1_ReportStatus_descriptor =
+        getDescriptor().getMessageTypes().get(12);
+    internal_static_google_cloud_channel_v1_ReportStatus_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ReportStatus_descriptor,
+            new java.lang.String[] {
+              "State", "StartTime", "EndTime",
+            });
+    internal_static_google_cloud_channel_v1_Report_descriptor =
+        getDescriptor().getMessageTypes().get(13);
+    internal_static_google_cloud_channel_v1_Report_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_Report_descriptor,
+            new java.lang.String[] {
+              "Name", "DisplayName", "Columns", "Description",
+            });
+    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.resource);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    registry.add(com.google.longrunning.OperationsProto.operationInfo);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.longrunning.OperationsProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+    com.google.type.DateProto.getDescriptor();
+    com.google.type.DateTimeProto.getDescriptor();
+    com.google.type.DecimalProto.getDescriptor();
+    com.google.type.MoneyProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustment.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustment.java
similarity index 67%
rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustment.java
rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustment.java
index 652fc8e36269..6c4b2d14f3ed 100644
--- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustment.java
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustment.java
@@ -1,60 +1,81 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/channel/v1/repricing.proto
 
 package com.google.cloud.channel.v1;
 
 /**
+ *
+ *
  * 
  * A type that represents the various adjustments you can apply to a bill.
  * 
* * Protobuf type {@code google.cloud.channel.v1.RepricingAdjustment} */ -public final class RepricingAdjustment extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RepricingAdjustment extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.RepricingAdjustment) RepricingAdjustmentOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RepricingAdjustment.newBuilder() to construct. private RepricingAdjustment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RepricingAdjustment() { - } + + private RepricingAdjustment() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RepricingAdjustment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingAdjustment_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.RepricingProto + .internal_static_google_cloud_channel_v1_RepricingAdjustment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingAdjustment_fieldAccessorTable + return com.google.cloud.channel.v1.RepricingProto + .internal_static_google_cloud_channel_v1_RepricingAdjustment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.RepricingAdjustment.class, com.google.cloud.channel.v1.RepricingAdjustment.Builder.class); + com.google.cloud.channel.v1.RepricingAdjustment.class, + com.google.cloud.channel.v1.RepricingAdjustment.Builder.class); } private int adjustmentCase_ = 0; private java.lang.Object adjustment_; + public enum AdjustmentCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { PERCENTAGE_ADJUSTMENT(2), ADJUSTMENT_NOT_SET(0); private final int value; + private AdjustmentCase(int value) { this.value = value; } @@ -70,29 +91,34 @@ public static AdjustmentCase valueOf(int value) { public static AdjustmentCase forNumber(int value) { switch (value) { - case 2: return PERCENTAGE_ADJUSTMENT; - case 0: return ADJUSTMENT_NOT_SET; - default: return null; + case 2: + return PERCENTAGE_ADJUSTMENT; + case 0: + return ADJUSTMENT_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public AdjustmentCase - getAdjustmentCase() { - return AdjustmentCase.forNumber( - adjustmentCase_); + public AdjustmentCase getAdjustmentCase() { + return AdjustmentCase.forNumber(adjustmentCase_); } public static final int PERCENTAGE_ADJUSTMENT_FIELD_NUMBER = 2; /** + * + * *
    * Flat markup or markdown on an entire bill.
    * 
* * .google.cloud.channel.v1.PercentageAdjustment percentage_adjustment = 2; + * * @return Whether the percentageAdjustment field is set. */ @java.lang.Override @@ -100,21 +126,26 @@ public boolean hasPercentageAdjustment() { return adjustmentCase_ == 2; } /** + * + * *
    * Flat markup or markdown on an entire bill.
    * 
* * .google.cloud.channel.v1.PercentageAdjustment percentage_adjustment = 2; + * * @return The percentageAdjustment. */ @java.lang.Override public com.google.cloud.channel.v1.PercentageAdjustment getPercentageAdjustment() { if (adjustmentCase_ == 2) { - return (com.google.cloud.channel.v1.PercentageAdjustment) adjustment_; + return (com.google.cloud.channel.v1.PercentageAdjustment) adjustment_; } return com.google.cloud.channel.v1.PercentageAdjustment.getDefaultInstance(); } /** + * + * *
    * Flat markup or markdown on an entire bill.
    * 
@@ -122,14 +153,16 @@ public com.google.cloud.channel.v1.PercentageAdjustment getPercentageAdjustment( * .google.cloud.channel.v1.PercentageAdjustment percentage_adjustment = 2; */ @java.lang.Override - public com.google.cloud.channel.v1.PercentageAdjustmentOrBuilder getPercentageAdjustmentOrBuilder() { + public com.google.cloud.channel.v1.PercentageAdjustmentOrBuilder + getPercentageAdjustmentOrBuilder() { if (adjustmentCase_ == 2) { - return (com.google.cloud.channel.v1.PercentageAdjustment) adjustment_; + return (com.google.cloud.channel.v1.PercentageAdjustment) adjustment_; } return com.google.cloud.channel.v1.PercentageAdjustment.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,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 (adjustmentCase_ == 2) { output.writeMessage(2, (com.google.cloud.channel.v1.PercentageAdjustment) adjustment_); } @@ -156,8 +188,9 @@ public int getSerializedSize() { size = 0; if (adjustmentCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.channel.v1.PercentageAdjustment) adjustment_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.channel.v1.PercentageAdjustment) adjustment_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -167,18 +200,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.cloud.channel.v1.RepricingAdjustment)) { return super.equals(obj); } - com.google.cloud.channel.v1.RepricingAdjustment other = (com.google.cloud.channel.v1.RepricingAdjustment) obj; + com.google.cloud.channel.v1.RepricingAdjustment other = + (com.google.cloud.channel.v1.RepricingAdjustment) obj; if (!getAdjustmentCase().equals(other.getAdjustmentCase())) return false; switch (adjustmentCase_) { case 2: - if (!getPercentageAdjustment() - .equals(other.getPercentageAdjustment())) return false; + if (!getPercentageAdjustment().equals(other.getPercentageAdjustment())) return false; break; case 0: default: @@ -207,130 +240,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.RepricingAdjustment parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.RepricingAdjustment parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.RepricingAdjustment parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.RepricingAdjustment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.RepricingAdjustment parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.RepricingAdjustment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.RepricingAdjustment parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.RepricingAdjustment 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.cloud.channel.v1.RepricingAdjustment parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.RepricingAdjustment parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.RepricingAdjustment parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.RepricingAdjustment parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.RepricingAdjustment parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.RepricingAdjustment parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.RepricingAdjustment prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 type that represents the various adjustments you can apply to a bill.
    * 
* * Protobuf type {@code google.cloud.channel.v1.RepricingAdjustment} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.RepricingAdjustment) com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingAdjustment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.RepricingProto + .internal_static_google_cloud_channel_v1_RepricingAdjustment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingAdjustment_fieldAccessorTable + return com.google.cloud.channel.v1.RepricingProto + .internal_static_google_cloud_channel_v1_RepricingAdjustment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.RepricingAdjustment.class, com.google.cloud.channel.v1.RepricingAdjustment.Builder.class); + com.google.cloud.channel.v1.RepricingAdjustment.class, + com.google.cloud.channel.v1.RepricingAdjustment.Builder.class); } // Construct using com.google.cloud.channel.v1.RepricingAdjustment.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +382,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingAdjustment_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.RepricingProto + .internal_static_google_cloud_channel_v1_RepricingAdjustment_descriptor; } @java.lang.Override @@ -364,7 +403,8 @@ public com.google.cloud.channel.v1.RepricingAdjustment build() { @java.lang.Override public com.google.cloud.channel.v1.RepricingAdjustment buildPartial() { - com.google.cloud.channel.v1.RepricingAdjustment result = new com.google.cloud.channel.v1.RepricingAdjustment(this); + com.google.cloud.channel.v1.RepricingAdjustment result = + new com.google.cloud.channel.v1.RepricingAdjustment(this); if (adjustmentCase_ == 2) { if (percentageAdjustmentBuilder_ == null) { result.adjustment_ = adjustment_; @@ -381,38 +421,39 @@ public com.google.cloud.channel.v1.RepricingAdjustment 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.cloud.channel.v1.RepricingAdjustment) { - return mergeFrom((com.google.cloud.channel.v1.RepricingAdjustment)other); + return mergeFrom((com.google.cloud.channel.v1.RepricingAdjustment) other); } else { super.mergeFrom(other); return this; @@ -420,15 +461,18 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.RepricingAdjustment other) { - if (other == com.google.cloud.channel.v1.RepricingAdjustment.getDefaultInstance()) return this; + if (other == com.google.cloud.channel.v1.RepricingAdjustment.getDefaultInstance()) + return this; switch (other.getAdjustmentCase()) { - case PERCENTAGE_ADJUSTMENT: { - mergePercentageAdjustment(other.getPercentageAdjustment()); - break; - } - case ADJUSTMENT_NOT_SET: { - break; - } + case PERCENTAGE_ADJUSTMENT: + { + mergePercentageAdjustment(other.getPercentageAdjustment()); + break; + } + case ADJUSTMENT_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -456,19 +500,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - input.readMessage( - getPercentageAdjustmentFieldBuilder().getBuilder(), - extensionRegistry); - adjustmentCase_ = 2; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + input.readMessage( + getPercentageAdjustmentFieldBuilder().getBuilder(), extensionRegistry); + adjustmentCase_ = 2; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -478,12 +523,12 @@ public Builder mergeFrom( } // finally return this; } + private int adjustmentCase_ = 0; private java.lang.Object adjustment_; - public AdjustmentCase - getAdjustmentCase() { - return AdjustmentCase.forNumber( - adjustmentCase_); + + public AdjustmentCase getAdjustmentCase() { + return AdjustmentCase.forNumber(adjustmentCase_); } public Builder clearAdjustment() { @@ -493,15 +538,20 @@ public Builder clearAdjustment() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.PercentageAdjustment, com.google.cloud.channel.v1.PercentageAdjustment.Builder, com.google.cloud.channel.v1.PercentageAdjustmentOrBuilder> percentageAdjustmentBuilder_; + com.google.cloud.channel.v1.PercentageAdjustment, + com.google.cloud.channel.v1.PercentageAdjustment.Builder, + com.google.cloud.channel.v1.PercentageAdjustmentOrBuilder> + percentageAdjustmentBuilder_; /** + * + * *
      * Flat markup or markdown on an entire bill.
      * 
* * .google.cloud.channel.v1.PercentageAdjustment percentage_adjustment = 2; + * * @return Whether the percentageAdjustment field is set. */ @java.lang.Override @@ -509,11 +559,14 @@ public boolean hasPercentageAdjustment() { return adjustmentCase_ == 2; } /** + * + * *
      * Flat markup or markdown on an entire bill.
      * 
* * .google.cloud.channel.v1.PercentageAdjustment percentage_adjustment = 2; + * * @return The percentageAdjustment. */ @java.lang.Override @@ -531,6 +584,8 @@ public com.google.cloud.channel.v1.PercentageAdjustment getPercentageAdjustment( } } /** + * + * *
      * Flat markup or markdown on an entire bill.
      * 
@@ -551,6 +606,8 @@ public Builder setPercentageAdjustment(com.google.cloud.channel.v1.PercentageAdj return this; } /** + * + * *
      * Flat markup or markdown on an entire bill.
      * 
@@ -569,18 +626,25 @@ public Builder setPercentageAdjustment( return this; } /** + * + * *
      * Flat markup or markdown on an entire bill.
      * 
* * .google.cloud.channel.v1.PercentageAdjustment percentage_adjustment = 2; */ - public Builder mergePercentageAdjustment(com.google.cloud.channel.v1.PercentageAdjustment value) { + public Builder mergePercentageAdjustment( + com.google.cloud.channel.v1.PercentageAdjustment value) { if (percentageAdjustmentBuilder_ == null) { - if (adjustmentCase_ == 2 && - adjustment_ != com.google.cloud.channel.v1.PercentageAdjustment.getDefaultInstance()) { - adjustment_ = com.google.cloud.channel.v1.PercentageAdjustment.newBuilder((com.google.cloud.channel.v1.PercentageAdjustment) adjustment_) - .mergeFrom(value).buildPartial(); + if (adjustmentCase_ == 2 + && adjustment_ + != com.google.cloud.channel.v1.PercentageAdjustment.getDefaultInstance()) { + adjustment_ = + com.google.cloud.channel.v1.PercentageAdjustment.newBuilder( + (com.google.cloud.channel.v1.PercentageAdjustment) adjustment_) + .mergeFrom(value) + .buildPartial(); } else { adjustment_ = value; } @@ -596,6 +660,8 @@ public Builder mergePercentageAdjustment(com.google.cloud.channel.v1.PercentageA return this; } /** + * + * *
      * Flat markup or markdown on an entire bill.
      * 
@@ -619,16 +685,21 @@ public Builder clearPercentageAdjustment() { return this; } /** + * + * *
      * Flat markup or markdown on an entire bill.
      * 
* * .google.cloud.channel.v1.PercentageAdjustment percentage_adjustment = 2; */ - public com.google.cloud.channel.v1.PercentageAdjustment.Builder getPercentageAdjustmentBuilder() { + public com.google.cloud.channel.v1.PercentageAdjustment.Builder + getPercentageAdjustmentBuilder() { return getPercentageAdjustmentFieldBuilder().getBuilder(); } /** + * + * *
      * Flat markup or markdown on an entire bill.
      * 
@@ -636,7 +707,8 @@ public com.google.cloud.channel.v1.PercentageAdjustment.Builder getPercentageAdj * .google.cloud.channel.v1.PercentageAdjustment percentage_adjustment = 2; */ @java.lang.Override - public com.google.cloud.channel.v1.PercentageAdjustmentOrBuilder getPercentageAdjustmentOrBuilder() { + public com.google.cloud.channel.v1.PercentageAdjustmentOrBuilder + getPercentageAdjustmentOrBuilder() { if ((adjustmentCase_ == 2) && (percentageAdjustmentBuilder_ != null)) { return percentageAdjustmentBuilder_.getMessageOrBuilder(); } else { @@ -647,6 +719,8 @@ public com.google.cloud.channel.v1.PercentageAdjustmentOrBuilder getPercentageAd } } /** + * + * *
      * Flat markup or markdown on an entire bill.
      * 
@@ -654,26 +728,32 @@ public com.google.cloud.channel.v1.PercentageAdjustmentOrBuilder getPercentageAd * .google.cloud.channel.v1.PercentageAdjustment percentage_adjustment = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.PercentageAdjustment, com.google.cloud.channel.v1.PercentageAdjustment.Builder, com.google.cloud.channel.v1.PercentageAdjustmentOrBuilder> + com.google.cloud.channel.v1.PercentageAdjustment, + com.google.cloud.channel.v1.PercentageAdjustment.Builder, + com.google.cloud.channel.v1.PercentageAdjustmentOrBuilder> getPercentageAdjustmentFieldBuilder() { if (percentageAdjustmentBuilder_ == null) { if (!(adjustmentCase_ == 2)) { adjustment_ = com.google.cloud.channel.v1.PercentageAdjustment.getDefaultInstance(); } - percentageAdjustmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.PercentageAdjustment, com.google.cloud.channel.v1.PercentageAdjustment.Builder, com.google.cloud.channel.v1.PercentageAdjustmentOrBuilder>( + percentageAdjustmentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.PercentageAdjustment, + com.google.cloud.channel.v1.PercentageAdjustment.Builder, + com.google.cloud.channel.v1.PercentageAdjustmentOrBuilder>( (com.google.cloud.channel.v1.PercentageAdjustment) adjustment_, getParentForChildren(), isClean()); adjustment_ = null; } adjustmentCase_ = 2; - onChanged();; + onChanged(); + ; return percentageAdjustmentBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -683,12 +763,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.RepricingAdjustment) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.RepricingAdjustment) private static final com.google.cloud.channel.v1.RepricingAdjustment DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.RepricingAdjustment(); } @@ -697,27 +777,27 @@ public static com.google.cloud.channel.v1.RepricingAdjustment getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RepricingAdjustment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RepricingAdjustment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -732,6 +812,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.RepricingAdjustment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustmentOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustmentOrBuilder.java similarity index 64% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustmentOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustmentOrBuilder.java index cfae561e4c5e..7612d68c2f52 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustmentOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingAdjustmentOrBuilder.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/cloud/channel/v1/repricing.proto package com.google.cloud.channel.v1; -public interface RepricingAdjustmentOrBuilder extends +public interface RepricingAdjustmentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.RepricingAdjustment) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Flat markup or markdown on an entire bill.
    * 
* * .google.cloud.channel.v1.PercentageAdjustment percentage_adjustment = 2; + * * @return Whether the percentageAdjustment field is set. */ boolean hasPercentageAdjustment(); /** + * + * *
    * Flat markup or markdown on an entire bill.
    * 
* * .google.cloud.channel.v1.PercentageAdjustment percentage_adjustment = 2; + * * @return The percentageAdjustment. */ com.google.cloud.channel.v1.PercentageAdjustment getPercentageAdjustment(); /** + * + * *
    * Flat markup or markdown on an entire bill.
    * 
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingCondition.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingCondition.java similarity index 68% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingCondition.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingCondition.java index 9ecdfc4430b4..b5810effdda1 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingCondition.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingCondition.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/cloud/channel/v1/repricing.proto package com.google.cloud.channel.v1; /** + * + * *
  * Represents the various repricing conditions you can use for a conditional
  * override.
@@ -11,51 +28,55 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.RepricingCondition}
  */
-public final class RepricingCondition extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RepricingCondition extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.RepricingCondition)
     RepricingConditionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RepricingCondition.newBuilder() to construct.
   private RepricingCondition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RepricingCondition() {
-  }
+
+  private RepricingCondition() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RepricingCondition();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingCondition_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.RepricingProto
+        .internal_static_google_cloud_channel_v1_RepricingCondition_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingCondition_fieldAccessorTable
+    return com.google.cloud.channel.v1.RepricingProto
+        .internal_static_google_cloud_channel_v1_RepricingCondition_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.RepricingCondition.class, com.google.cloud.channel.v1.RepricingCondition.Builder.class);
+            com.google.cloud.channel.v1.RepricingCondition.class,
+            com.google.cloud.channel.v1.RepricingCondition.Builder.class);
   }
 
   private int conditionCase_ = 0;
   private java.lang.Object condition_;
+
   public enum ConditionCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     SKU_GROUP_CONDITION(1),
     CONDITION_NOT_SET(0);
     private final int value;
+
     private ConditionCase(int value) {
       this.value = value;
     }
@@ -71,29 +92,34 @@ public static ConditionCase valueOf(int value) {
 
     public static ConditionCase forNumber(int value) {
       switch (value) {
-        case 1: return SKU_GROUP_CONDITION;
-        case 0: return CONDITION_NOT_SET;
-        default: return null;
+        case 1:
+          return SKU_GROUP_CONDITION;
+        case 0:
+          return CONDITION_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ConditionCase
-  getConditionCase() {
-    return ConditionCase.forNumber(
-        conditionCase_);
+  public ConditionCase getConditionCase() {
+    return ConditionCase.forNumber(conditionCase_);
   }
 
   public static final int SKU_GROUP_CONDITION_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * SKU Group condition for override.
    * 
* * .google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1; + * * @return Whether the skuGroupCondition field is set. */ @java.lang.Override @@ -101,21 +127,26 @@ public boolean hasSkuGroupCondition() { return conditionCase_ == 1; } /** + * + * *
    * SKU Group condition for override.
    * 
* * .google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1; + * * @return The skuGroupCondition. */ @java.lang.Override public com.google.cloud.channel.v1.SkuGroupCondition getSkuGroupCondition() { if (conditionCase_ == 1) { - return (com.google.cloud.channel.v1.SkuGroupCondition) condition_; + return (com.google.cloud.channel.v1.SkuGroupCondition) condition_; } return com.google.cloud.channel.v1.SkuGroupCondition.getDefaultInstance(); } /** + * + * *
    * SKU Group condition for override.
    * 
@@ -125,12 +156,13 @@ public com.google.cloud.channel.v1.SkuGroupCondition getSkuGroupCondition() { @java.lang.Override public com.google.cloud.channel.v1.SkuGroupConditionOrBuilder getSkuGroupConditionOrBuilder() { if (conditionCase_ == 1) { - return (com.google.cloud.channel.v1.SkuGroupCondition) condition_; + return (com.google.cloud.channel.v1.SkuGroupCondition) condition_; } return com.google.cloud.channel.v1.SkuGroupCondition.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,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 (conditionCase_ == 1) { output.writeMessage(1, (com.google.cloud.channel.v1.SkuGroupCondition) condition_); } @@ -157,8 +188,9 @@ public int getSerializedSize() { size = 0; if (conditionCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.channel.v1.SkuGroupCondition) condition_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.channel.v1.SkuGroupCondition) condition_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -168,18 +200,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.cloud.channel.v1.RepricingCondition)) { return super.equals(obj); } - com.google.cloud.channel.v1.RepricingCondition other = (com.google.cloud.channel.v1.RepricingCondition) obj; + com.google.cloud.channel.v1.RepricingCondition other = + (com.google.cloud.channel.v1.RepricingCondition) obj; if (!getConditionCase().equals(other.getConditionCase())) return false; switch (conditionCase_) { case 1: - if (!getSkuGroupCondition() - .equals(other.getSkuGroupCondition())) return false; + if (!getSkuGroupCondition().equals(other.getSkuGroupCondition())) return false; break; case 0: default: @@ -208,97 +240,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.RepricingCondition parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.RepricingCondition parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.RepricingCondition parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.RepricingCondition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.RepricingCondition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.RepricingCondition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.RepricingCondition parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.RepricingCondition 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.cloud.channel.v1.RepricingCondition parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.RepricingCondition parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.RepricingCondition parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.RepricingCondition parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.RepricingCondition parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.RepricingCondition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.RepricingCondition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents the various repricing conditions you can use for a conditional
    * override.
@@ -306,33 +345,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.RepricingCondition}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.RepricingCondition)
       com.google.cloud.channel.v1.RepricingConditionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingCondition_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.RepricingProto
+          .internal_static_google_cloud_channel_v1_RepricingCondition_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingCondition_fieldAccessorTable
+      return com.google.cloud.channel.v1.RepricingProto
+          .internal_static_google_cloud_channel_v1_RepricingCondition_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.RepricingCondition.class, com.google.cloud.channel.v1.RepricingCondition.Builder.class);
+              com.google.cloud.channel.v1.RepricingCondition.class,
+              com.google.cloud.channel.v1.RepricingCondition.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.RepricingCondition.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -345,9 +383,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingCondition_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.RepricingProto
+          .internal_static_google_cloud_channel_v1_RepricingCondition_descriptor;
     }
 
     @java.lang.Override
@@ -366,7 +404,8 @@ public com.google.cloud.channel.v1.RepricingCondition build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.RepricingCondition buildPartial() {
-      com.google.cloud.channel.v1.RepricingCondition result = new com.google.cloud.channel.v1.RepricingCondition(this);
+      com.google.cloud.channel.v1.RepricingCondition result =
+          new com.google.cloud.channel.v1.RepricingCondition(this);
       if (conditionCase_ == 1) {
         if (skuGroupConditionBuilder_ == null) {
           result.condition_ = condition_;
@@ -383,38 +422,39 @@ public com.google.cloud.channel.v1.RepricingCondition 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.cloud.channel.v1.RepricingCondition) {
-        return mergeFrom((com.google.cloud.channel.v1.RepricingCondition)other);
+        return mergeFrom((com.google.cloud.channel.v1.RepricingCondition) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -424,13 +464,15 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.cloud.channel.v1.RepricingCondition other) {
       if (other == com.google.cloud.channel.v1.RepricingCondition.getDefaultInstance()) return this;
       switch (other.getConditionCase()) {
-        case SKU_GROUP_CONDITION: {
-          mergeSkuGroupCondition(other.getSkuGroupCondition());
-          break;
-        }
-        case CONDITION_NOT_SET: {
-          break;
-        }
+        case SKU_GROUP_CONDITION:
+          {
+            mergeSkuGroupCondition(other.getSkuGroupCondition());
+            break;
+          }
+        case CONDITION_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -458,19 +500,20 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getSkuGroupConditionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              conditionCase_ = 1;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(
+                    getSkuGroupConditionFieldBuilder().getBuilder(), extensionRegistry);
+                conditionCase_ = 1;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -480,12 +523,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int conditionCase_ = 0;
     private java.lang.Object condition_;
-    public ConditionCase
-        getConditionCase() {
-      return ConditionCase.forNumber(
-          conditionCase_);
+
+    public ConditionCase getConditionCase() {
+      return ConditionCase.forNumber(conditionCase_);
     }
 
     public Builder clearCondition() {
@@ -495,15 +538,20 @@ public Builder clearCondition() {
       return this;
     }
 
-
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.channel.v1.SkuGroupCondition, com.google.cloud.channel.v1.SkuGroupCondition.Builder, com.google.cloud.channel.v1.SkuGroupConditionOrBuilder> skuGroupConditionBuilder_;
+            com.google.cloud.channel.v1.SkuGroupCondition,
+            com.google.cloud.channel.v1.SkuGroupCondition.Builder,
+            com.google.cloud.channel.v1.SkuGroupConditionOrBuilder>
+        skuGroupConditionBuilder_;
     /**
+     *
+     *
      * 
      * SKU Group condition for override.
      * 
* * .google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1; + * * @return Whether the skuGroupCondition field is set. */ @java.lang.Override @@ -511,11 +559,14 @@ public boolean hasSkuGroupCondition() { return conditionCase_ == 1; } /** + * + * *
      * SKU Group condition for override.
      * 
* * .google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1; + * * @return The skuGroupCondition. */ @java.lang.Override @@ -533,6 +584,8 @@ public com.google.cloud.channel.v1.SkuGroupCondition getSkuGroupCondition() { } } /** + * + * *
      * SKU Group condition for override.
      * 
@@ -553,6 +606,8 @@ public Builder setSkuGroupCondition(com.google.cloud.channel.v1.SkuGroupConditio return this; } /** + * + * *
      * SKU Group condition for override.
      * 
@@ -571,6 +626,8 @@ public Builder setSkuGroupCondition( return this; } /** + * + * *
      * SKU Group condition for override.
      * 
@@ -579,10 +636,13 @@ public Builder setSkuGroupCondition( */ public Builder mergeSkuGroupCondition(com.google.cloud.channel.v1.SkuGroupCondition value) { if (skuGroupConditionBuilder_ == null) { - if (conditionCase_ == 1 && - condition_ != com.google.cloud.channel.v1.SkuGroupCondition.getDefaultInstance()) { - condition_ = com.google.cloud.channel.v1.SkuGroupCondition.newBuilder((com.google.cloud.channel.v1.SkuGroupCondition) condition_) - .mergeFrom(value).buildPartial(); + if (conditionCase_ == 1 + && condition_ != com.google.cloud.channel.v1.SkuGroupCondition.getDefaultInstance()) { + condition_ = + com.google.cloud.channel.v1.SkuGroupCondition.newBuilder( + (com.google.cloud.channel.v1.SkuGroupCondition) condition_) + .mergeFrom(value) + .buildPartial(); } else { condition_ = value; } @@ -598,6 +658,8 @@ public Builder mergeSkuGroupCondition(com.google.cloud.channel.v1.SkuGroupCondit return this; } /** + * + * *
      * SKU Group condition for override.
      * 
@@ -621,6 +683,8 @@ public Builder clearSkuGroupCondition() { return this; } /** + * + * *
      * SKU Group condition for override.
      * 
@@ -631,6 +695,8 @@ public com.google.cloud.channel.v1.SkuGroupCondition.Builder getSkuGroupConditio return getSkuGroupConditionFieldBuilder().getBuilder(); } /** + * + * *
      * SKU Group condition for override.
      * 
@@ -649,6 +715,8 @@ public com.google.cloud.channel.v1.SkuGroupConditionOrBuilder getSkuGroupConditi } } /** + * + * *
      * SKU Group condition for override.
      * 
@@ -656,26 +724,32 @@ public com.google.cloud.channel.v1.SkuGroupConditionOrBuilder getSkuGroupConditi * .google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.SkuGroupCondition, com.google.cloud.channel.v1.SkuGroupCondition.Builder, com.google.cloud.channel.v1.SkuGroupConditionOrBuilder> + com.google.cloud.channel.v1.SkuGroupCondition, + com.google.cloud.channel.v1.SkuGroupCondition.Builder, + com.google.cloud.channel.v1.SkuGroupConditionOrBuilder> getSkuGroupConditionFieldBuilder() { if (skuGroupConditionBuilder_ == null) { if (!(conditionCase_ == 1)) { condition_ = com.google.cloud.channel.v1.SkuGroupCondition.getDefaultInstance(); } - skuGroupConditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.SkuGroupCondition, com.google.cloud.channel.v1.SkuGroupCondition.Builder, com.google.cloud.channel.v1.SkuGroupConditionOrBuilder>( + skuGroupConditionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.SkuGroupCondition, + com.google.cloud.channel.v1.SkuGroupCondition.Builder, + com.google.cloud.channel.v1.SkuGroupConditionOrBuilder>( (com.google.cloud.channel.v1.SkuGroupCondition) condition_, getParentForChildren(), isClean()); condition_ = null; } conditionCase_ = 1; - onChanged();; + onChanged(); + ; return skuGroupConditionBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -685,12 +759,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.RepricingCondition) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.RepricingCondition) private static final com.google.cloud.channel.v1.RepricingCondition DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.RepricingCondition(); } @@ -699,27 +773,27 @@ public static com.google.cloud.channel.v1.RepricingCondition getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RepricingCondition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RepricingCondition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -734,6 +808,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.RepricingCondition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConditionOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConditionOrBuilder.java similarity index 62% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConditionOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConditionOrBuilder.java index 8233d28ed415..983dc2bb3186 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConditionOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConditionOrBuilder.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/cloud/channel/v1/repricing.proto package com.google.cloud.channel.v1; -public interface RepricingConditionOrBuilder extends +public interface RepricingConditionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.RepricingCondition) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * SKU Group condition for override.
    * 
* * .google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1; + * * @return Whether the skuGroupCondition field is set. */ boolean hasSkuGroupCondition(); /** + * + * *
    * SKU Group condition for override.
    * 
* * .google.cloud.channel.v1.SkuGroupCondition sku_group_condition = 1; + * * @return The skuGroupCondition. */ com.google.cloud.channel.v1.SkuGroupCondition getSkuGroupCondition(); /** + * + * *
    * SKU Group condition for override.
    * 
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfig.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfig.java similarity index 66% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfig.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfig.java index 55b04ef370ba..8cdea653b5c4 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfig.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfig.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/cloud/channel/v1/repricing.proto package com.google.cloud.channel.v1; /** + * + * *
  * Configuration for repricing a Google bill over a period of time.
  * 
* * Protobuf type {@code google.cloud.channel.v1.RepricingConfig} */ -public final class RepricingConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RepricingConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.RepricingConfig) RepricingConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RepricingConfig.newBuilder() to construct. private RepricingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RepricingConfig() { rebillingBasis_ = 0; conditionalOverrides_ = java.util.Collections.emptyList(); @@ -26,34 +44,38 @@ private RepricingConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RepricingConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.RepricingProto + .internal_static_google_cloud_channel_v1_RepricingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingConfig_fieldAccessorTable + return com.google.cloud.channel.v1.RepricingProto + .internal_static_google_cloud_channel_v1_RepricingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.RepricingConfig.class, com.google.cloud.channel.v1.RepricingConfig.Builder.class); + com.google.cloud.channel.v1.RepricingConfig.class, + com.google.cloud.channel.v1.RepricingConfig.Builder.class); } - public interface EntitlementGranularityOrBuilder extends + public interface EntitlementGranularityOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Resource name of the entitlement.
      * Format:
@@ -61,10 +83,13 @@ public interface EntitlementGranularityOrBuilder extends
      * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } + * * @return The entitlement. */ java.lang.String getEntitlement(); /** + * + * *
      * Resource name of the entitlement.
      * Format:
@@ -72,59 +97,65 @@ public interface EntitlementGranularityOrBuilder extends
      * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for entitlement. */ - com.google.protobuf.ByteString - getEntitlementBytes(); + com.google.protobuf.ByteString getEntitlementBytes(); } /** + * + * *
    * Applies the repricing configuration at the entitlement level.
    * 
* * Protobuf type {@code google.cloud.channel.v1.RepricingConfig.EntitlementGranularity} */ - public static final class EntitlementGranularity extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class EntitlementGranularity extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) EntitlementGranularityOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use EntitlementGranularity.newBuilder() to construct. private EntitlementGranularity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private EntitlementGranularity() { entitlement_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new EntitlementGranularity(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.RepricingProto + .internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_fieldAccessorTable + return com.google.cloud.channel.v1.RepricingProto + .internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.class, com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.Builder.class); + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.class, + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.Builder.class); } public static final int ENTITLEMENT_FIELD_NUMBER = 1; private volatile java.lang.Object entitlement_; /** + * + * *
      * Resource name of the entitlement.
      * Format:
@@ -132,6 +163,7 @@ protected java.lang.Object newInstance(
      * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } + * * @return The entitlement. */ @java.lang.Override @@ -140,14 +172,15 @@ public java.lang.String getEntitlement() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entitlement_ = s; return s; } } /** + * + * *
      * Resource name of the entitlement.
      * Format:
@@ -155,16 +188,15 @@ public java.lang.String getEntitlement() {
      * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for entitlement. */ @java.lang.Override - public com.google.protobuf.ByteString - getEntitlementBytes() { + public com.google.protobuf.ByteString getEntitlementBytes() { java.lang.Object ref = entitlement_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); entitlement_ = b; return b; } else { @@ -173,6 +205,7 @@ public java.lang.String getEntitlement() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -184,8 +217,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entitlement_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entitlement_); } @@ -209,15 +241,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity)) { return super.equals(obj); } - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity other = (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) obj; + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity other = + (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) obj; - if (!getEntitlement() - .equals(other.getEntitlement())) return false; + if (!getEntitlement().equals(other.getEntitlement())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,87 +269,95 @@ public int hashCode() { } public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -327,39 +367,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Applies the repricing configuration at the entitlement level.
      * 
* * Protobuf type {@code google.cloud.channel.v1.RepricingConfig.EntitlementGranularity} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.RepricingProto + .internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_fieldAccessorTable + return com.google.cloud.channel.v1.RepricingProto + .internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.class, com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.Builder.class); + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.class, + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.Builder.class); } - // Construct using com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -369,14 +412,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.RepricingProto + .internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_descriptor; } @java.lang.Override - public com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity getDefaultInstanceForType() { - return com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.getDefaultInstance(); + public com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity + getDefaultInstanceForType() { + return com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity + .getDefaultInstance(); } @java.lang.Override @@ -390,7 +435,8 @@ public com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity build( @java.lang.Override public com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity buildPartial() { - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity result = new com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity(this); + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity result = + new com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity(this); result.entitlement_ = entitlement_; onBuilt(); return result; @@ -400,46 +446,53 @@ public com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity 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) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) { - return mergeFrom((com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity)other); + return mergeFrom( + (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity other) { - if (other == com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity other) { + if (other + == com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity + .getDefaultInstance()) return this; if (!other.getEntitlement().isEmpty()) { entitlement_ = other.entitlement_; onChanged(); @@ -470,17 +523,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - entitlement_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + entitlement_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -493,6 +548,8 @@ public Builder mergeFrom( private java.lang.Object entitlement_ = ""; /** + * + * *
        * Resource name of the entitlement.
        * Format:
@@ -500,13 +557,13 @@ public Builder mergeFrom(
        * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } + * * @return The entitlement. */ public java.lang.String getEntitlement() { java.lang.Object ref = entitlement_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entitlement_ = s; return s; @@ -515,6 +572,8 @@ public java.lang.String getEntitlement() { } } /** + * + * *
        * Resource name of the entitlement.
        * Format:
@@ -522,15 +581,14 @@ public java.lang.String getEntitlement() {
        * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for entitlement. */ - public com.google.protobuf.ByteString - getEntitlementBytes() { + public com.google.protobuf.ByteString getEntitlementBytes() { java.lang.Object ref = entitlement_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); entitlement_ = b; return b; } else { @@ -538,6 +596,8 @@ public java.lang.String getEntitlement() { } } /** + * + * *
        * Resource name of the entitlement.
        * Format:
@@ -545,20 +605,22 @@ public java.lang.String getEntitlement() {
        * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } + * * @param value The entitlement to set. * @return This builder for chaining. */ - public Builder setEntitlement( - java.lang.String value) { + public Builder setEntitlement(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entitlement_ = value; onChanged(); return this; } /** + * + * *
        * Resource name of the entitlement.
        * Format:
@@ -566,15 +628,18 @@ public Builder setEntitlement(
        * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearEntitlement() { - + entitlement_ = getDefaultInstance().getEntitlement(); onChanged(); return this; } /** + * + * *
        * Resource name of the entitlement.
        * Format:
@@ -582,20 +647,21 @@ public Builder clearEntitlement() {
        * 
* * string entitlement = 1 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for entitlement to set. * @return This builder for chaining. */ - public Builder setEntitlementBytes( - com.google.protobuf.ByteString value) { + public Builder setEntitlementBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entitlement_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -608,41 +674,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) - private static final com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity DEFAULT_INSTANCE; + private static final com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity(); } - public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity getDefaultInstance() { + public static com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EntitlementGranularity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EntitlementGranularity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,17 +723,19 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity getDefaultInstanceForType() { + public com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ChannelPartnerGranularityOrBuilder extends + public interface ChannelPartnerGranularityOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) - com.google.protobuf.MessageOrBuilder { - } + com.google.protobuf.MessageOrBuilder {} /** + * + * *
    * Applies the repricing configuration at the channel partner level.
    * The channel partner value is derived from the resource name. Takes an
@@ -673,44 +744,46 @@ public interface ChannelPartnerGranularityOrBuilder extends
    *
    * Protobuf type {@code google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity}
    */
-  public static final class ChannelPartnerGranularity extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class ChannelPartnerGranularity extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity)
       ChannelPartnerGranularityOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use ChannelPartnerGranularity.newBuilder() to construct.
     private ChannelPartnerGranularity(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private ChannelPartnerGranularity() {
-    }
+
+    private ChannelPartnerGranularity() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new ChannelPartnerGranularity();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.RepricingProto
+          .internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_fieldAccessorTable
+      return com.google.cloud.channel.v1.RepricingProto
+          .internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.class, com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.Builder.class);
+              com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.class,
+              com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.Builder.class);
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -722,8 +795,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       getUnknownFields().writeTo(output);
     }
 
@@ -741,12 +813,13 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity)) {
         return super.equals(obj);
       }
-      com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity other = (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) obj;
+      com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity other =
+          (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) obj;
 
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -765,87 +838,95 @@ public int hashCode() {
     }
 
     public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity
+        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
-    public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+
+    public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity
+        parseDelimitedFrom(
+            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -855,6 +936,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Applies the repricing configuration at the channel partner level.
      * The channel partner value is derived from the resource name. Takes an
@@ -863,33 +946,35 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity)
         com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularityOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.channel.v1.RepricingProto
+            .internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_fieldAccessorTable
+        return com.google.cloud.channel.v1.RepricingProto
+            .internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.class, com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.Builder.class);
+                com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.class,
+                com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.Builder
+                    .class);
       }
 
-      // Construct using com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.newBuilder()
-      private Builder() {
+      // Construct using
+      // com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.newBuilder()
+      private Builder() {}
 
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -897,19 +982,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.channel.v1.RepricingProto
+            .internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity getDefaultInstanceForType() {
-        return com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.getDefaultInstance();
+      public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity
+          getDefaultInstanceForType() {
+        return com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity build() {
-        com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity result = buildPartial();
+        com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -918,7 +1006,8 @@ public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity bui
 
       @java.lang.Override
       public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity buildPartial() {
-        com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity result = new com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity(this);
+        com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity result =
+            new com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity(this);
         onBuilt();
         return result;
       }
@@ -927,46 +1016,54 @@ public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity 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) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) {
-          return mergeFrom((com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity)other);
+        if (other
+            instanceof com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) {
+          return mergeFrom(
+              (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity other) {
-        if (other == com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity other) {
+        if (other
+            == com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity
+                .getDefaultInstance()) return this;
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
         return this;
@@ -993,12 +1090,13 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1008,6 +1106,7 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1020,41 +1119,45 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity)
-    private static final com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity DEFAULT_INSTANCE;
+    private static final com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity
+        DEFAULT_INSTANCE;
+
     static {
-      DEFAULT_INSTANCE = new com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity();
+      DEFAULT_INSTANCE =
+          new com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity();
     }
 
-    public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity getDefaultInstance() {
+    public static com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public ChannelPartnerGranularity parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public ChannelPartnerGranularity parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1066,21 +1169,24 @@ public com.google.protobuf.Parser getParserForType()
     }
 
     @java.lang.Override
-    public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity getDefaultInstanceForType() {
+    public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   private int granularityCase_ = 0;
   private java.lang.Object granularity_;
+
   public enum GranularityCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     ENTITLEMENT_GRANULARITY(4),
     CHANNEL_PARTNER_GRANULARITY(5),
     GRANULARITY_NOT_SET(0);
     private final int value;
+
     private GranularityCase(int value) {
       this.value = value;
     }
@@ -1096,31 +1202,39 @@ public static GranularityCase valueOf(int value) {
 
     public static GranularityCase forNumber(int value) {
       switch (value) {
-        case 4: return ENTITLEMENT_GRANULARITY;
-        case 5: return CHANNEL_PARTNER_GRANULARITY;
-        case 0: return GRANULARITY_NOT_SET;
-        default: return null;
+        case 4:
+          return ENTITLEMENT_GRANULARITY;
+        case 5:
+          return CHANNEL_PARTNER_GRANULARITY;
+        case 0:
+          return GRANULARITY_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public GranularityCase
-  getGranularityCase() {
-    return GranularityCase.forNumber(
-        granularityCase_);
+  public GranularityCase getGranularityCase() {
+    return GranularityCase.forNumber(granularityCase_);
   }
 
   public static final int ENTITLEMENT_GRANULARITY_FIELD_NUMBER = 4;
   /**
+   *
+   *
    * 
    * Applies the repricing configuration at the entitlement level. This is
    * the only supported value for CustomerRepricingConfig.
    * 
* - * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; + * + * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; + * + * * @return Whether the entitlementGranularity field is set. */ @java.lang.Override @@ -1128,45 +1242,61 @@ public boolean hasEntitlementGranularity() { return granularityCase_ == 4; } /** + * + * *
    * Applies the repricing configuration at the entitlement level. This is
    * the only supported value for CustomerRepricingConfig.
    * 
* - * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; + * + * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; + * + * * @return The entitlementGranularity. */ @java.lang.Override - public com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity getEntitlementGranularity() { + public com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity + getEntitlementGranularity() { if (granularityCase_ == 4) { - return (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) granularity_; + return (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) granularity_; } return com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.getDefaultInstance(); } /** + * + * *
    * Applies the repricing configuration at the entitlement level. This is
    * the only supported value for CustomerRepricingConfig.
    * 
* - * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; + * + * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; + * */ @java.lang.Override - public com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularityOrBuilder getEntitlementGranularityOrBuilder() { + public com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularityOrBuilder + getEntitlementGranularityOrBuilder() { if (granularityCase_ == 4) { - return (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) granularity_; + return (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) granularity_; } return com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.getDefaultInstance(); } public static final int CHANNEL_PARTNER_GRANULARITY_FIELD_NUMBER = 5; /** + * + * *
    * Applies the repricing configuration at the channel partner level.
    * This is the only supported value for ChannelPartnerRepricingConfig.
    * 
* - * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; + * + * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; + * + * * @return Whether the channelPartnerGranularity field is set. */ @java.lang.Override @@ -1174,46 +1304,63 @@ public boolean hasChannelPartnerGranularity() { return granularityCase_ == 5; } /** + * + * *
    * Applies the repricing configuration at the channel partner level.
    * This is the only supported value for ChannelPartnerRepricingConfig.
    * 
* - * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; + * + * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; + * + * * @return The channelPartnerGranularity. */ @java.lang.Override - public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity getChannelPartnerGranularity() { + public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity + getChannelPartnerGranularity() { if (granularityCase_ == 5) { - return (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) granularity_; + return (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) granularity_; } - return com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.getDefaultInstance(); + return com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity + .getDefaultInstance(); } /** + * + * *
    * Applies the repricing configuration at the channel partner level.
    * This is the only supported value for ChannelPartnerRepricingConfig.
    * 
* - * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; + * + * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; + * */ @java.lang.Override - public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularityOrBuilder getChannelPartnerGranularityOrBuilder() { + public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularityOrBuilder + getChannelPartnerGranularityOrBuilder() { if (granularityCase_ == 5) { - return (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) granularity_; + return (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) granularity_; } - return com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.getDefaultInstance(); + return com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity + .getDefaultInstance(); } public static final int EFFECTIVE_INVOICE_MONTH_FIELD_NUMBER = 1; private com.google.type.Date effectiveInvoiceMonth_; /** + * + * *
    * Required. The YearMonth when these adjustments activate. The Day field
    * needs to be "0" since we only accept YearMonth repricing boundaries.
    * 
* - * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the effectiveInvoiceMonth field is set. */ @java.lang.Override @@ -1221,25 +1368,34 @@ public boolean hasEffectiveInvoiceMonth() { return effectiveInvoiceMonth_ != null; } /** + * + * *
    * Required. The YearMonth when these adjustments activate. The Day field
    * needs to be "0" since we only accept YearMonth repricing boundaries.
    * 
* - * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The effectiveInvoiceMonth. */ @java.lang.Override public com.google.type.Date getEffectiveInvoiceMonth() { - return effectiveInvoiceMonth_ == null ? com.google.type.Date.getDefaultInstance() : effectiveInvoiceMonth_; + return effectiveInvoiceMonth_ == null + ? com.google.type.Date.getDefaultInstance() + : effectiveInvoiceMonth_; } /** + * + * *
    * Required. The YearMonth when these adjustments activate. The Day field
    * needs to be "0" since we only accept YearMonth repricing boundaries.
    * 
* - * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.type.DateOrBuilder getEffectiveInvoiceMonthOrBuilder() { @@ -1249,11 +1405,16 @@ public com.google.type.DateOrBuilder getEffectiveInvoiceMonthOrBuilder() { public static final int ADJUSTMENT_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.RepricingAdjustment adjustment_; /** + * + * *
    * Required. Information about the adjustment.
    * 
* - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the adjustment field is set. */ @java.lang.Override @@ -1261,23 +1422,34 @@ public boolean hasAdjustment() { return adjustment_ != null; } /** + * + * *
    * Required. Information about the adjustment.
    * 
* - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The adjustment. */ @java.lang.Override public com.google.cloud.channel.v1.RepricingAdjustment getAdjustment() { - return adjustment_ == null ? com.google.cloud.channel.v1.RepricingAdjustment.getDefaultInstance() : adjustment_; + return adjustment_ == null + ? com.google.cloud.channel.v1.RepricingAdjustment.getDefaultInstance() + : adjustment_; } /** + * + * *
    * Required. Information about the adjustment.
    * 
* - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder getAdjustmentOrBuilder() { @@ -1287,37 +1459,52 @@ public com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder getAdjustmentOrB public static final int REBILLING_BASIS_FIELD_NUMBER = 3; private int rebillingBasis_; /** + * + * *
    * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
    * use for this bill. Specifies the relative cost based on repricing costs you
    * will apply.
    * 
* - * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for rebillingBasis. */ - @java.lang.Override public int getRebillingBasisValue() { + @java.lang.Override + public int getRebillingBasisValue() { return rebillingBasis_; } /** + * + * *
    * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
    * use for this bill. Specifies the relative cost based on repricing costs you
    * will apply.
    * 
* - * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The rebillingBasis. */ - @java.lang.Override public com.google.cloud.channel.v1.RebillingBasis getRebillingBasis() { + @java.lang.Override + public com.google.cloud.channel.v1.RebillingBasis getRebillingBasis() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.RebillingBasis result = com.google.cloud.channel.v1.RebillingBasis.valueOf(rebillingBasis_); + com.google.cloud.channel.v1.RebillingBasis result = + com.google.cloud.channel.v1.RebillingBasis.valueOf(rebillingBasis_); return result == null ? com.google.cloud.channel.v1.RebillingBasis.UNRECOGNIZED : result; } public static final int CONDITIONAL_OVERRIDES_FIELD_NUMBER = 6; private java.util.List conditionalOverrides_; /** + * + * *
    * The conditional overrides to apply for this configuration. If you list
    * multiple overrides, only the first valid override is used.  If you don't
@@ -1327,10 +1514,13 @@ public com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder getAdjustmentOrB
    * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6;
    */
   @java.lang.Override
-  public java.util.List getConditionalOverridesList() {
+  public java.util.List
+      getConditionalOverridesList() {
     return conditionalOverrides_;
   }
   /**
+   *
+   *
    * 
    * The conditional overrides to apply for this configuration. If you list
    * multiple overrides, only the first valid override is used.  If you don't
@@ -1340,11 +1530,13 @@ public java.util.List getCondit
    * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getConditionalOverridesOrBuilderList() {
     return conditionalOverrides_;
   }
   /**
+   *
+   *
    * 
    * The conditional overrides to apply for this configuration. If you list
    * multiple overrides, only the first valid override is used.  If you don't
@@ -1358,6 +1550,8 @@ public int getConditionalOverridesCount() {
     return conditionalOverrides_.size();
   }
   /**
+   *
+   *
    * 
    * The conditional overrides to apply for this configuration. If you list
    * multiple overrides, only the first valid override is used.  If you don't
@@ -1371,6 +1565,8 @@ public com.google.cloud.channel.v1.ConditionalOverride getConditionalOverrides(i
     return conditionalOverrides_.get(index);
   }
   /**
+   *
+   *
    * 
    * The conditional overrides to apply for this configuration. If you list
    * multiple overrides, only the first valid override is used.  If you don't
@@ -1386,6 +1582,7 @@ public com.google.cloud.channel.v1.ConditionalOverrideOrBuilder getConditionalOv
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1397,22 +1594,24 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (effectiveInvoiceMonth_ != null) {
       output.writeMessage(1, getEffectiveInvoiceMonth());
     }
     if (adjustment_ != null) {
       output.writeMessage(2, getAdjustment());
     }
-    if (rebillingBasis_ != com.google.cloud.channel.v1.RebillingBasis.REBILLING_BASIS_UNSPECIFIED.getNumber()) {
+    if (rebillingBasis_
+        != com.google.cloud.channel.v1.RebillingBasis.REBILLING_BASIS_UNSPECIFIED.getNumber()) {
       output.writeEnum(3, rebillingBasis_);
     }
     if (granularityCase_ == 4) {
-      output.writeMessage(4, (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) granularity_);
+      output.writeMessage(
+          4, (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) granularity_);
     }
     if (granularityCase_ == 5) {
-      output.writeMessage(5, (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) granularity_);
+      output.writeMessage(
+          5, (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) granularity_);
     }
     for (int i = 0; i < conditionalOverrides_.size(); i++) {
       output.writeMessage(6, conditionalOverrides_.get(i));
@@ -1427,28 +1626,30 @@ public int getSerializedSize() {
 
     size = 0;
     if (effectiveInvoiceMonth_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getEffectiveInvoiceMonth());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEffectiveInvoiceMonth());
     }
     if (adjustment_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getAdjustment());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAdjustment());
     }
-    if (rebillingBasis_ != com.google.cloud.channel.v1.RebillingBasis.REBILLING_BASIS_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(3, rebillingBasis_);
+    if (rebillingBasis_
+        != com.google.cloud.channel.v1.RebillingBasis.REBILLING_BASIS_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, rebillingBasis_);
     }
     if (granularityCase_ == 4) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) granularity_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              4, (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) granularity_);
     }
     if (granularityCase_ == 5) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) granularity_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              5,
+              (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) granularity_);
     }
     for (int i = 0; i < conditionalOverrides_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, conditionalOverrides_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(6, conditionalOverrides_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1458,35 +1659,32 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.channel.v1.RepricingConfig)) {
       return super.equals(obj);
     }
-    com.google.cloud.channel.v1.RepricingConfig other = (com.google.cloud.channel.v1.RepricingConfig) obj;
+    com.google.cloud.channel.v1.RepricingConfig other =
+        (com.google.cloud.channel.v1.RepricingConfig) obj;
 
     if (hasEffectiveInvoiceMonth() != other.hasEffectiveInvoiceMonth()) return false;
     if (hasEffectiveInvoiceMonth()) {
-      if (!getEffectiveInvoiceMonth()
-          .equals(other.getEffectiveInvoiceMonth())) return false;
+      if (!getEffectiveInvoiceMonth().equals(other.getEffectiveInvoiceMonth())) return false;
     }
     if (hasAdjustment() != other.hasAdjustment()) return false;
     if (hasAdjustment()) {
-      if (!getAdjustment()
-          .equals(other.getAdjustment())) return false;
+      if (!getAdjustment().equals(other.getAdjustment())) return false;
     }
     if (rebillingBasis_ != other.rebillingBasis_) return false;
-    if (!getConditionalOverridesList()
-        .equals(other.getConditionalOverridesList())) return false;
+    if (!getConditionalOverridesList().equals(other.getConditionalOverridesList())) return false;
     if (!getGranularityCase().equals(other.getGranularityCase())) return false;
     switch (granularityCase_) {
       case 4:
-        if (!getEntitlementGranularity()
-            .equals(other.getEntitlementGranularity())) return false;
+        if (!getEntitlementGranularity().equals(other.getEntitlementGranularity())) return false;
         break;
       case 5:
-        if (!getChannelPartnerGranularity()
-            .equals(other.getChannelPartnerGranularity())) return false;
+        if (!getChannelPartnerGranularity().equals(other.getChannelPartnerGranularity()))
+          return false;
         break;
       case 0:
       default:
@@ -1533,130 +1731,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.channel.v1.RepricingConfig parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.channel.v1.RepricingConfig parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.channel.v1.RepricingConfig parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.RepricingConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.channel.v1.RepricingConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.RepricingConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.channel.v1.RepricingConfig parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.RepricingConfig 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.cloud.channel.v1.RepricingConfig parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.channel.v1.RepricingConfig parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.channel.v1.RepricingConfig parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.channel.v1.RepricingConfig parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.RepricingConfig parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.channel.v1.RepricingConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.channel.v1.RepricingConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Configuration for repricing a Google bill over a period of time.
    * 
* * Protobuf type {@code google.cloud.channel.v1.RepricingConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.RepricingConfig) com.google.cloud.channel.v1.RepricingConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.RepricingProto + .internal_static_google_cloud_channel_v1_RepricingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingConfig_fieldAccessorTable + return com.google.cloud.channel.v1.RepricingProto + .internal_static_google_cloud_channel_v1_RepricingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.RepricingConfig.class, com.google.cloud.channel.v1.RepricingConfig.Builder.class); + com.google.cloud.channel.v1.RepricingConfig.class, + com.google.cloud.channel.v1.RepricingConfig.Builder.class); } // Construct using com.google.cloud.channel.v1.RepricingConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1693,9 +1897,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_RepricingConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.RepricingProto + .internal_static_google_cloud_channel_v1_RepricingConfig_descriptor; } @java.lang.Override @@ -1714,7 +1918,8 @@ public com.google.cloud.channel.v1.RepricingConfig build() { @java.lang.Override public com.google.cloud.channel.v1.RepricingConfig buildPartial() { - com.google.cloud.channel.v1.RepricingConfig result = new com.google.cloud.channel.v1.RepricingConfig(this); + com.google.cloud.channel.v1.RepricingConfig result = + new com.google.cloud.channel.v1.RepricingConfig(this); int from_bitField0_ = bitField0_; if (granularityCase_ == 4) { if (entitlementGranularityBuilder_ == null) { @@ -1759,38 +1964,39 @@ public com.google.cloud.channel.v1.RepricingConfig 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.cloud.channel.v1.RepricingConfig) { - return mergeFrom((com.google.cloud.channel.v1.RepricingConfig)other); + return mergeFrom((com.google.cloud.channel.v1.RepricingConfig) other); } else { super.mergeFrom(other); return this; @@ -1826,26 +2032,30 @@ public Builder mergeFrom(com.google.cloud.channel.v1.RepricingConfig other) { conditionalOverridesBuilder_ = null; conditionalOverrides_ = other.conditionalOverrides_; bitField0_ = (bitField0_ & ~0x00000001); - conditionalOverridesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getConditionalOverridesFieldBuilder() : null; + conditionalOverridesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getConditionalOverridesFieldBuilder() + : null; } else { conditionalOverridesBuilder_.addAllMessages(other.conditionalOverrides_); } } } switch (other.getGranularityCase()) { - case ENTITLEMENT_GRANULARITY: { - mergeEntitlementGranularity(other.getEntitlementGranularity()); - break; - } - case CHANNEL_PARTNER_GRANULARITY: { - mergeChannelPartnerGranularity(other.getChannelPartnerGranularity()); - break; - } - case GRANULARITY_NOT_SET: { - break; - } + case ENTITLEMENT_GRANULARITY: + { + mergeEntitlementGranularity(other.getEntitlementGranularity()); + break; + } + case CHANNEL_PARTNER_GRANULARITY: + { + mergeChannelPartnerGranularity(other.getChannelPartnerGranularity()); + break; + } + case GRANULARITY_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1873,58 +2083,60 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getEffectiveInvoiceMonthFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage( + getEffectiveInvoiceMonthFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 18: { - input.readMessage( - getAdjustmentFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getAdjustmentFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - case 24: { - rebillingBasis_ = input.readEnum(); + break; + } // case 18 + case 24: + { + rebillingBasis_ = input.readEnum(); - break; - } // case 24 - case 34: { - input.readMessage( - getEntitlementGranularityFieldBuilder().getBuilder(), - extensionRegistry); - granularityCase_ = 4; - break; - } // case 34 - case 42: { - input.readMessage( - getChannelPartnerGranularityFieldBuilder().getBuilder(), - extensionRegistry); - granularityCase_ = 5; - break; - } // case 42 - case 50: { - com.google.cloud.channel.v1.ConditionalOverride m = - input.readMessage( - com.google.cloud.channel.v1.ConditionalOverride.parser(), - extensionRegistry); - if (conditionalOverridesBuilder_ == null) { - ensureConditionalOverridesIsMutable(); - conditionalOverrides_.add(m); - } else { - conditionalOverridesBuilder_.addMessage(m); - } - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 24 + case 34: + { + input.readMessage( + getEntitlementGranularityFieldBuilder().getBuilder(), extensionRegistry); + granularityCase_ = 4; + break; + } // case 34 + case 42: + { + input.readMessage( + getChannelPartnerGranularityFieldBuilder().getBuilder(), extensionRegistry); + granularityCase_ = 5; + break; + } // case 42 + case 50: + { + com.google.cloud.channel.v1.ConditionalOverride m = + input.readMessage( + com.google.cloud.channel.v1.ConditionalOverride.parser(), + extensionRegistry); + if (conditionalOverridesBuilder_ == null) { + ensureConditionalOverridesIsMutable(); + conditionalOverrides_.add(m); + } else { + conditionalOverridesBuilder_.addMessage(m); + } + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1934,12 +2146,12 @@ public Builder mergeFrom( } // finally return this; } + private int granularityCase_ = 0; private java.lang.Object granularity_; - public GranularityCase - getGranularityCase() { - return GranularityCase.forNumber( - granularityCase_); + + public GranularityCase getGranularityCase() { + return GranularityCase.forNumber(granularityCase_); } public Builder clearGranularity() { @@ -1952,14 +2164,22 @@ public Builder clearGranularity() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity, com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.Builder, com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularityOrBuilder> entitlementGranularityBuilder_; + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity, + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.Builder, + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularityOrBuilder> + entitlementGranularityBuilder_; /** + * + * *
      * Applies the repricing configuration at the entitlement level. This is
      * the only supported value for CustomerRepricingConfig.
      * 
* - * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; + * + * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; + * + * * @return Whether the entitlementGranularity field is set. */ @java.lang.Override @@ -1967,37 +2187,50 @@ public boolean hasEntitlementGranularity() { return granularityCase_ == 4; } /** + * + * *
      * Applies the repricing configuration at the entitlement level. This is
      * the only supported value for CustomerRepricingConfig.
      * 
* - * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; + * + * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; + * + * * @return The entitlementGranularity. */ @java.lang.Override - public com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity getEntitlementGranularity() { + public com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity + getEntitlementGranularity() { if (entitlementGranularityBuilder_ == null) { if (granularityCase_ == 4) { return (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) granularity_; } - return com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.getDefaultInstance(); + return com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity + .getDefaultInstance(); } else { if (granularityCase_ == 4) { return entitlementGranularityBuilder_.getMessage(); } - return com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.getDefaultInstance(); + return com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity + .getDefaultInstance(); } } /** + * + * *
      * Applies the repricing configuration at the entitlement level. This is
      * the only supported value for CustomerRepricingConfig.
      * 
* - * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; + * + * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; + * */ - public Builder setEntitlementGranularity(com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity value) { + public Builder setEntitlementGranularity( + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity value) { if (entitlementGranularityBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2011,15 +2244,20 @@ public Builder setEntitlementGranularity(com.google.cloud.channel.v1.RepricingCo return this; } /** + * + * *
      * Applies the repricing configuration at the entitlement level. This is
      * the only supported value for CustomerRepricingConfig.
      * 
* - * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; + * + * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; + * */ public Builder setEntitlementGranularity( - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.Builder builderForValue) { + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.Builder + builderForValue) { if (entitlementGranularityBuilder_ == null) { granularity_ = builderForValue.build(); onChanged(); @@ -2030,19 +2268,30 @@ public Builder setEntitlementGranularity( return this; } /** + * + * *
      * Applies the repricing configuration at the entitlement level. This is
      * the only supported value for CustomerRepricingConfig.
      * 
* - * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; + * + * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; + * */ - public Builder mergeEntitlementGranularity(com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity value) { + public Builder mergeEntitlementGranularity( + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity value) { if (entitlementGranularityBuilder_ == null) { - if (granularityCase_ == 4 && - granularity_ != com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.getDefaultInstance()) { - granularity_ = com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.newBuilder((com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) granularity_) - .mergeFrom(value).buildPartial(); + if (granularityCase_ == 4 + && granularity_ + != com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity + .getDefaultInstance()) { + granularity_ = + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.newBuilder( + (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) + granularity_) + .mergeFrom(value) + .buildPartial(); } else { granularity_ = value; } @@ -2058,12 +2307,16 @@ public Builder mergeEntitlementGranularity(com.google.cloud.channel.v1.Repricing return this; } /** + * + * *
      * Applies the repricing configuration at the entitlement level. This is
      * the only supported value for CustomerRepricingConfig.
      * 
* - * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; + * + * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; + * */ public Builder clearEntitlementGranularity() { if (entitlementGranularityBuilder_ == null) { @@ -2082,71 +2335,102 @@ public Builder clearEntitlementGranularity() { return this; } /** + * + * *
      * Applies the repricing configuration at the entitlement level. This is
      * the only supported value for CustomerRepricingConfig.
      * 
* - * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; + * + * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; + * */ - public com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.Builder getEntitlementGranularityBuilder() { + public com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.Builder + getEntitlementGranularityBuilder() { return getEntitlementGranularityFieldBuilder().getBuilder(); } /** + * + * *
      * Applies the repricing configuration at the entitlement level. This is
      * the only supported value for CustomerRepricingConfig.
      * 
* - * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; + * + * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; + * */ @java.lang.Override - public com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularityOrBuilder getEntitlementGranularityOrBuilder() { + public com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularityOrBuilder + getEntitlementGranularityOrBuilder() { if ((granularityCase_ == 4) && (entitlementGranularityBuilder_ != null)) { return entitlementGranularityBuilder_.getMessageOrBuilder(); } else { if (granularityCase_ == 4) { return (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) granularity_; } - return com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.getDefaultInstance(); + return com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity + .getDefaultInstance(); } } /** + * + * *
      * Applies the repricing configuration at the entitlement level. This is
      * the only supported value for CustomerRepricingConfig.
      * 
* - * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; + * + * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity, com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.Builder, com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularityOrBuilder> + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity, + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.Builder, + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularityOrBuilder> getEntitlementGranularityFieldBuilder() { if (entitlementGranularityBuilder_ == null) { if (!(granularityCase_ == 4)) { - granularity_ = com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.getDefaultInstance(); + granularity_ = + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity + .getDefaultInstance(); } - entitlementGranularityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity, com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.Builder, com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularityOrBuilder>( + entitlementGranularityBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity, + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.Builder, + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularityOrBuilder>( (com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity) granularity_, getParentForChildren(), isClean()); granularity_ = null; } granularityCase_ = 4; - onChanged();; + onChanged(); + ; return entitlementGranularityBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity, com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.Builder, com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularityOrBuilder> channelPartnerGranularityBuilder_; + com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity, + com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.Builder, + com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularityOrBuilder> + channelPartnerGranularityBuilder_; /** + * + * *
      * Applies the repricing configuration at the channel partner level.
      * This is the only supported value for ChannelPartnerRepricingConfig.
      * 
* - * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; + * + * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; + * + * * @return Whether the channelPartnerGranularity field is set. */ @java.lang.Override @@ -2154,37 +2438,51 @@ public boolean hasChannelPartnerGranularity() { return granularityCase_ == 5; } /** + * + * *
      * Applies the repricing configuration at the channel partner level.
      * This is the only supported value for ChannelPartnerRepricingConfig.
      * 
* - * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; + * + * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; + * + * * @return The channelPartnerGranularity. */ @java.lang.Override - public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity getChannelPartnerGranularity() { + public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity + getChannelPartnerGranularity() { if (channelPartnerGranularityBuilder_ == null) { if (granularityCase_ == 5) { - return (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) granularity_; + return (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) + granularity_; } - return com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.getDefaultInstance(); + return com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity + .getDefaultInstance(); } else { if (granularityCase_ == 5) { return channelPartnerGranularityBuilder_.getMessage(); } - return com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.getDefaultInstance(); + return com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity + .getDefaultInstance(); } } /** + * + * *
      * Applies the repricing configuration at the channel partner level.
      * This is the only supported value for ChannelPartnerRepricingConfig.
      * 
* - * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; + * + * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; + * */ - public Builder setChannelPartnerGranularity(com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity value) { + public Builder setChannelPartnerGranularity( + com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity value) { if (channelPartnerGranularityBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2198,15 +2496,20 @@ public Builder setChannelPartnerGranularity(com.google.cloud.channel.v1.Repricin return this; } /** + * + * *
      * Applies the repricing configuration at the channel partner level.
      * This is the only supported value for ChannelPartnerRepricingConfig.
      * 
* - * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; + * + * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; + * */ public Builder setChannelPartnerGranularity( - com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.Builder builderForValue) { + com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.Builder + builderForValue) { if (channelPartnerGranularityBuilder_ == null) { granularity_ = builderForValue.build(); onChanged(); @@ -2217,19 +2520,30 @@ public Builder setChannelPartnerGranularity( return this; } /** + * + * *
      * Applies the repricing configuration at the channel partner level.
      * This is the only supported value for ChannelPartnerRepricingConfig.
      * 
* - * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; + * + * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; + * */ - public Builder mergeChannelPartnerGranularity(com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity value) { + public Builder mergeChannelPartnerGranularity( + com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity value) { if (channelPartnerGranularityBuilder_ == null) { - if (granularityCase_ == 5 && - granularity_ != com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.getDefaultInstance()) { - granularity_ = com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.newBuilder((com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) granularity_) - .mergeFrom(value).buildPartial(); + if (granularityCase_ == 5 + && granularity_ + != com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity + .getDefaultInstance()) { + granularity_ = + com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.newBuilder( + (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) + granularity_) + .mergeFrom(value) + .buildPartial(); } else { granularity_ = value; } @@ -2245,12 +2559,16 @@ public Builder mergeChannelPartnerGranularity(com.google.cloud.channel.v1.Repric return this; } /** + * + * *
      * Applies the repricing configuration at the channel partner level.
      * This is the only supported value for ChannelPartnerRepricingConfig.
      * 
* - * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; + * + * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; + * */ public Builder clearChannelPartnerGranularity() { if (channelPartnerGranularityBuilder_ == null) { @@ -2269,100 +2587,142 @@ public Builder clearChannelPartnerGranularity() { return this; } /** + * + * *
      * Applies the repricing configuration at the channel partner level.
      * This is the only supported value for ChannelPartnerRepricingConfig.
      * 
* - * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; + * + * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; + * */ - public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.Builder getChannelPartnerGranularityBuilder() { + public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.Builder + getChannelPartnerGranularityBuilder() { return getChannelPartnerGranularityFieldBuilder().getBuilder(); } /** + * + * *
      * Applies the repricing configuration at the channel partner level.
      * This is the only supported value for ChannelPartnerRepricingConfig.
      * 
* - * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; + * + * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; + * */ @java.lang.Override - public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularityOrBuilder getChannelPartnerGranularityOrBuilder() { + public com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularityOrBuilder + getChannelPartnerGranularityOrBuilder() { if ((granularityCase_ == 5) && (channelPartnerGranularityBuilder_ != null)) { return channelPartnerGranularityBuilder_.getMessageOrBuilder(); } else { if (granularityCase_ == 5) { - return (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) granularity_; + return (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) + granularity_; } - return com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.getDefaultInstance(); + return com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity + .getDefaultInstance(); } } /** + * + * *
      * Applies the repricing configuration at the channel partner level.
      * This is the only supported value for ChannelPartnerRepricingConfig.
      * 
* - * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; + * + * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity, com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.Builder, com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularityOrBuilder> + com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity, + com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.Builder, + com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularityOrBuilder> getChannelPartnerGranularityFieldBuilder() { if (channelPartnerGranularityBuilder_ == null) { if (!(granularityCase_ == 5)) { - granularity_ = com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.getDefaultInstance(); + granularity_ = + com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity + .getDefaultInstance(); } - channelPartnerGranularityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity, com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.Builder, com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularityOrBuilder>( - (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) granularity_, + channelPartnerGranularityBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity, + com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity.Builder, + com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularityOrBuilder>( + (com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity) + granularity_, getParentForChildren(), isClean()); granularity_ = null; } granularityCase_ = 5; - onChanged();; + onChanged(); + ; return channelPartnerGranularityBuilder_; } private com.google.type.Date effectiveInvoiceMonth_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> effectiveInvoiceMonthBuilder_; + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + effectiveInvoiceMonthBuilder_; /** + * + * *
      * Required. The YearMonth when these adjustments activate. The Day field
      * needs to be "0" since we only accept YearMonth repricing boundaries.
      * 
* - * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the effectiveInvoiceMonth field is set. */ public boolean hasEffectiveInvoiceMonth() { return effectiveInvoiceMonthBuilder_ != null || effectiveInvoiceMonth_ != null; } /** + * + * *
      * Required. The YearMonth when these adjustments activate. The Day field
      * needs to be "0" since we only accept YearMonth repricing boundaries.
      * 
* - * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The effectiveInvoiceMonth. */ public com.google.type.Date getEffectiveInvoiceMonth() { if (effectiveInvoiceMonthBuilder_ == null) { - return effectiveInvoiceMonth_ == null ? com.google.type.Date.getDefaultInstance() : effectiveInvoiceMonth_; + return effectiveInvoiceMonth_ == null + ? com.google.type.Date.getDefaultInstance() + : effectiveInvoiceMonth_; } else { return effectiveInvoiceMonthBuilder_.getMessage(); } } /** + * + * *
      * Required. The YearMonth when these adjustments activate. The Day field
      * needs to be "0" since we only accept YearMonth repricing boundaries.
      * 
* - * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setEffectiveInvoiceMonth(com.google.type.Date value) { if (effectiveInvoiceMonthBuilder_ == null) { @@ -2378,15 +2738,18 @@ public Builder setEffectiveInvoiceMonth(com.google.type.Date value) { return this; } /** + * + * *
      * Required. The YearMonth when these adjustments activate. The Day field
      * needs to be "0" since we only accept YearMonth repricing boundaries.
      * 
* - * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setEffectiveInvoiceMonth( - com.google.type.Date.Builder builderForValue) { + public Builder setEffectiveInvoiceMonth(com.google.type.Date.Builder builderForValue) { if (effectiveInvoiceMonthBuilder_ == null) { effectiveInvoiceMonth_ = builderForValue.build(); onChanged(); @@ -2397,18 +2760,24 @@ public Builder setEffectiveInvoiceMonth( return this; } /** + * + * *
      * Required. The YearMonth when these adjustments activate. The Day field
      * needs to be "0" since we only accept YearMonth repricing boundaries.
      * 
* - * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeEffectiveInvoiceMonth(com.google.type.Date value) { if (effectiveInvoiceMonthBuilder_ == null) { if (effectiveInvoiceMonth_ != null) { effectiveInvoiceMonth_ = - com.google.type.Date.newBuilder(effectiveInvoiceMonth_).mergeFrom(value).buildPartial(); + com.google.type.Date.newBuilder(effectiveInvoiceMonth_) + .mergeFrom(value) + .buildPartial(); } else { effectiveInvoiceMonth_ = value; } @@ -2420,12 +2789,16 @@ public Builder mergeEffectiveInvoiceMonth(com.google.type.Date value) { return this; } /** + * + * *
      * Required. The YearMonth when these adjustments activate. The Day field
      * needs to be "0" since we only accept YearMonth repricing boundaries.
      * 
* - * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearEffectiveInvoiceMonth() { if (effectiveInvoiceMonthBuilder_ == null) { @@ -2439,51 +2812,63 @@ public Builder clearEffectiveInvoiceMonth() { return this; } /** + * + * *
      * Required. The YearMonth when these adjustments activate. The Day field
      * needs to be "0" since we only accept YearMonth repricing boundaries.
      * 
* - * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.type.Date.Builder getEffectiveInvoiceMonthBuilder() { - + onChanged(); return getEffectiveInvoiceMonthFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The YearMonth when these adjustments activate. The Day field
      * needs to be "0" since we only accept YearMonth repricing boundaries.
      * 
* - * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.type.DateOrBuilder getEffectiveInvoiceMonthOrBuilder() { if (effectiveInvoiceMonthBuilder_ != null) { return effectiveInvoiceMonthBuilder_.getMessageOrBuilder(); } else { - return effectiveInvoiceMonth_ == null ? - com.google.type.Date.getDefaultInstance() : effectiveInvoiceMonth_; + return effectiveInvoiceMonth_ == null + ? com.google.type.Date.getDefaultInstance() + : effectiveInvoiceMonth_; } } /** + * + * *
      * Required. The YearMonth when these adjustments activate. The Day field
      * needs to be "0" since we only accept YearMonth repricing boundaries.
      * 
* - * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> getEffectiveInvoiceMonthFieldBuilder() { if (effectiveInvoiceMonthBuilder_ == null) { - effectiveInvoiceMonthBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( - getEffectiveInvoiceMonth(), - getParentForChildren(), - isClean()); + effectiveInvoiceMonthBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( + getEffectiveInvoiceMonth(), getParentForChildren(), isClean()); effectiveInvoiceMonth_ = null; } return effectiveInvoiceMonthBuilder_; @@ -2491,39 +2876,58 @@ public com.google.type.DateOrBuilder getEffectiveInvoiceMonthOrBuilder() { private com.google.cloud.channel.v1.RepricingAdjustment adjustment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingAdjustment, com.google.cloud.channel.v1.RepricingAdjustment.Builder, com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder> adjustmentBuilder_; + com.google.cloud.channel.v1.RepricingAdjustment, + com.google.cloud.channel.v1.RepricingAdjustment.Builder, + com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder> + adjustmentBuilder_; /** + * + * *
      * Required. Information about the adjustment.
      * 
* - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the adjustment field is set. */ public boolean hasAdjustment() { return adjustmentBuilder_ != null || adjustment_ != null; } /** + * + * *
      * Required. Information about the adjustment.
      * 
* - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The adjustment. */ public com.google.cloud.channel.v1.RepricingAdjustment getAdjustment() { if (adjustmentBuilder_ == null) { - return adjustment_ == null ? com.google.cloud.channel.v1.RepricingAdjustment.getDefaultInstance() : adjustment_; + return adjustment_ == null + ? com.google.cloud.channel.v1.RepricingAdjustment.getDefaultInstance() + : adjustment_; } else { return adjustmentBuilder_.getMessage(); } } /** + * + * *
      * Required. Information about the adjustment.
      * 
* - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAdjustment(com.google.cloud.channel.v1.RepricingAdjustment value) { if (adjustmentBuilder_ == null) { @@ -2539,11 +2943,15 @@ public Builder setAdjustment(com.google.cloud.channel.v1.RepricingAdjustment val return this; } /** + * + * *
      * Required. Information about the adjustment.
      * 
* - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAdjustment( com.google.cloud.channel.v1.RepricingAdjustment.Builder builderForValue) { @@ -2557,17 +2965,23 @@ public Builder setAdjustment( return this; } /** + * + * *
      * Required. Information about the adjustment.
      * 
* - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAdjustment(com.google.cloud.channel.v1.RepricingAdjustment value) { if (adjustmentBuilder_ == null) { if (adjustment_ != null) { adjustment_ = - com.google.cloud.channel.v1.RepricingAdjustment.newBuilder(adjustment_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.RepricingAdjustment.newBuilder(adjustment_) + .mergeFrom(value) + .buildPartial(); } else { adjustment_ = value; } @@ -2579,11 +2993,15 @@ public Builder mergeAdjustment(com.google.cloud.channel.v1.RepricingAdjustment v return this; } /** + * + * *
      * Required. Information about the adjustment.
      * 
* - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAdjustment() { if (adjustmentBuilder_ == null) { @@ -2597,48 +3015,64 @@ public Builder clearAdjustment() { return this; } /** + * + * *
      * Required. Information about the adjustment.
      * 
* - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.channel.v1.RepricingAdjustment.Builder getAdjustmentBuilder() { - + onChanged(); return getAdjustmentFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Information about the adjustment.
      * 
* - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder getAdjustmentOrBuilder() { if (adjustmentBuilder_ != null) { return adjustmentBuilder_.getMessageOrBuilder(); } else { - return adjustment_ == null ? - com.google.cloud.channel.v1.RepricingAdjustment.getDefaultInstance() : adjustment_; + return adjustment_ == null + ? com.google.cloud.channel.v1.RepricingAdjustment.getDefaultInstance() + : adjustment_; } } /** + * + * *
      * Required. Information about the adjustment.
      * 
* - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingAdjustment, com.google.cloud.channel.v1.RepricingAdjustment.Builder, com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder> + com.google.cloud.channel.v1.RepricingAdjustment, + com.google.cloud.channel.v1.RepricingAdjustment.Builder, + com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder> getAdjustmentFieldBuilder() { if (adjustmentBuilder_ == null) { - adjustmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.RepricingAdjustment, com.google.cloud.channel.v1.RepricingAdjustment.Builder, com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder>( - getAdjustment(), - getParentForChildren(), - isClean()); + adjustmentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.RepricingAdjustment, + com.google.cloud.channel.v1.RepricingAdjustment.Builder, + com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder>( + getAdjustment(), getParentForChildren(), isClean()); adjustment_ = null; } return adjustmentBuilder_; @@ -2646,59 +3080,81 @@ public com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder getAdjustmentOrB private int rebillingBasis_ = 0; /** + * + * *
      * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
      * use for this bill. Specifies the relative cost based on repricing costs you
      * will apply.
      * 
* - * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for rebillingBasis. */ - @java.lang.Override public int getRebillingBasisValue() { + @java.lang.Override + public int getRebillingBasisValue() { return rebillingBasis_; } /** + * + * *
      * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
      * use for this bill. Specifies the relative cost based on repricing costs you
      * will apply.
      * 
* - * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for rebillingBasis to set. * @return This builder for chaining. */ public Builder setRebillingBasisValue(int value) { - + rebillingBasis_ = value; onChanged(); return this; } /** + * + * *
      * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
      * use for this bill. Specifies the relative cost based on repricing costs you
      * will apply.
      * 
* - * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The rebillingBasis. */ @java.lang.Override public com.google.cloud.channel.v1.RebillingBasis getRebillingBasis() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.RebillingBasis result = com.google.cloud.channel.v1.RebillingBasis.valueOf(rebillingBasis_); + com.google.cloud.channel.v1.RebillingBasis result = + com.google.cloud.channel.v1.RebillingBasis.valueOf(rebillingBasis_); return result == null ? com.google.cloud.channel.v1.RebillingBasis.UNRECOGNIZED : result; } /** + * + * *
      * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
      * use for this bill. Specifies the relative cost based on repricing costs you
      * will apply.
      * 
* - * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The rebillingBasis to set. * @return This builder for chaining. */ @@ -2706,41 +3162,54 @@ public Builder setRebillingBasis(com.google.cloud.channel.v1.RebillingBasis valu if (value == null) { throw new NullPointerException(); } - + rebillingBasis_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
      * use for this bill. Specifies the relative cost based on repricing costs you
      * will apply.
      * 
* - * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearRebillingBasis() { - + rebillingBasis_ = 0; onChanged(); return this; } private java.util.List conditionalOverrides_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureConditionalOverridesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - conditionalOverrides_ = new java.util.ArrayList(conditionalOverrides_); + conditionalOverrides_ = + new java.util.ArrayList( + conditionalOverrides_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.ConditionalOverride, com.google.cloud.channel.v1.ConditionalOverride.Builder, com.google.cloud.channel.v1.ConditionalOverrideOrBuilder> conditionalOverridesBuilder_; + com.google.cloud.channel.v1.ConditionalOverride, + com.google.cloud.channel.v1.ConditionalOverride.Builder, + com.google.cloud.channel.v1.ConditionalOverrideOrBuilder> + conditionalOverridesBuilder_; /** + * + * *
      * The conditional overrides to apply for this configuration. If you list
      * multiple overrides, only the first valid override is used.  If you don't
@@ -2749,7 +3218,8 @@ private void ensureConditionalOverridesIsMutable() {
      *
      * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6;
      */
-    public java.util.List getConditionalOverridesList() {
+    public java.util.List
+        getConditionalOverridesList() {
       if (conditionalOverridesBuilder_ == null) {
         return java.util.Collections.unmodifiableList(conditionalOverrides_);
       } else {
@@ -2757,6 +3227,8 @@ public java.util.List getCondit
       }
     }
     /**
+     *
+     *
      * 
      * The conditional overrides to apply for this configuration. If you list
      * multiple overrides, only the first valid override is used.  If you don't
@@ -2773,6 +3245,8 @@ public int getConditionalOverridesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The conditional overrides to apply for this configuration. If you list
      * multiple overrides, only the first valid override is used.  If you don't
@@ -2789,6 +3263,8 @@ public com.google.cloud.channel.v1.ConditionalOverride getConditionalOverrides(i
       }
     }
     /**
+     *
+     *
      * 
      * The conditional overrides to apply for this configuration. If you list
      * multiple overrides, only the first valid override is used.  If you don't
@@ -2812,6 +3288,8 @@ public Builder setConditionalOverrides(
       return this;
     }
     /**
+     *
+     *
      * 
      * The conditional overrides to apply for this configuration. If you list
      * multiple overrides, only the first valid override is used.  If you don't
@@ -2832,6 +3310,8 @@ public Builder setConditionalOverrides(
       return this;
     }
     /**
+     *
+     *
      * 
      * The conditional overrides to apply for this configuration. If you list
      * multiple overrides, only the first valid override is used.  If you don't
@@ -2854,6 +3334,8 @@ public Builder addConditionalOverrides(com.google.cloud.channel.v1.ConditionalOv
       return this;
     }
     /**
+     *
+     *
      * 
      * The conditional overrides to apply for this configuration. If you list
      * multiple overrides, only the first valid override is used.  If you don't
@@ -2877,6 +3359,8 @@ public Builder addConditionalOverrides(
       return this;
     }
     /**
+     *
+     *
      * 
      * The conditional overrides to apply for this configuration. If you list
      * multiple overrides, only the first valid override is used.  If you don't
@@ -2897,6 +3381,8 @@ public Builder addConditionalOverrides(
       return this;
     }
     /**
+     *
+     *
      * 
      * The conditional overrides to apply for this configuration. If you list
      * multiple overrides, only the first valid override is used.  If you don't
@@ -2917,6 +3403,8 @@ public Builder addConditionalOverrides(
       return this;
     }
     /**
+     *
+     *
      * 
      * The conditional overrides to apply for this configuration. If you list
      * multiple overrides, only the first valid override is used.  If you don't
@@ -2929,8 +3417,7 @@ public Builder addAllConditionalOverrides(
         java.lang.Iterable values) {
       if (conditionalOverridesBuilder_ == null) {
         ensureConditionalOverridesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, conditionalOverrides_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, conditionalOverrides_);
         onChanged();
       } else {
         conditionalOverridesBuilder_.addAllMessages(values);
@@ -2938,6 +3425,8 @@ public Builder addAllConditionalOverrides(
       return this;
     }
     /**
+     *
+     *
      * 
      * The conditional overrides to apply for this configuration. If you list
      * multiple overrides, only the first valid override is used.  If you don't
@@ -2957,6 +3446,8 @@ public Builder clearConditionalOverrides() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The conditional overrides to apply for this configuration. If you list
      * multiple overrides, only the first valid override is used.  If you don't
@@ -2976,6 +3467,8 @@ public Builder removeConditionalOverrides(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The conditional overrides to apply for this configuration. If you list
      * multiple overrides, only the first valid override is used.  If you don't
@@ -2989,6 +3482,8 @@ public com.google.cloud.channel.v1.ConditionalOverride.Builder getConditionalOve
       return getConditionalOverridesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The conditional overrides to apply for this configuration. If you list
      * multiple overrides, only the first valid override is used.  If you don't
@@ -2997,14 +3492,17 @@ public com.google.cloud.channel.v1.ConditionalOverride.Builder getConditionalOve
      *
      * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6;
      */
-    public com.google.cloud.channel.v1.ConditionalOverrideOrBuilder getConditionalOverridesOrBuilder(
-        int index) {
+    public com.google.cloud.channel.v1.ConditionalOverrideOrBuilder
+        getConditionalOverridesOrBuilder(int index) {
       if (conditionalOverridesBuilder_ == null) {
-        return conditionalOverrides_.get(index);  } else {
+        return conditionalOverrides_.get(index);
+      } else {
         return conditionalOverridesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The conditional overrides to apply for this configuration. If you list
      * multiple overrides, only the first valid override is used.  If you don't
@@ -3013,8 +3511,8 @@ public com.google.cloud.channel.v1.ConditionalOverrideOrBuilder getConditionalOv
      *
      * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6;
      */
-    public java.util.List 
-         getConditionalOverridesOrBuilderList() {
+    public java.util.List
+        getConditionalOverridesOrBuilderList() {
       if (conditionalOverridesBuilder_ != null) {
         return conditionalOverridesBuilder_.getMessageOrBuilderList();
       } else {
@@ -3022,6 +3520,8 @@ public com.google.cloud.channel.v1.ConditionalOverrideOrBuilder getConditionalOv
       }
     }
     /**
+     *
+     *
      * 
      * The conditional overrides to apply for this configuration. If you list
      * multiple overrides, only the first valid override is used.  If you don't
@@ -3030,11 +3530,14 @@ public com.google.cloud.channel.v1.ConditionalOverrideOrBuilder getConditionalOv
      *
      * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6;
      */
-    public com.google.cloud.channel.v1.ConditionalOverride.Builder addConditionalOverridesBuilder() {
-      return getConditionalOverridesFieldBuilder().addBuilder(
-          com.google.cloud.channel.v1.ConditionalOverride.getDefaultInstance());
+    public com.google.cloud.channel.v1.ConditionalOverride.Builder
+        addConditionalOverridesBuilder() {
+      return getConditionalOverridesFieldBuilder()
+          .addBuilder(com.google.cloud.channel.v1.ConditionalOverride.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The conditional overrides to apply for this configuration. If you list
      * multiple overrides, only the first valid override is used.  If you don't
@@ -3045,10 +3548,12 @@ public com.google.cloud.channel.v1.ConditionalOverride.Builder addConditionalOve
      */
     public com.google.cloud.channel.v1.ConditionalOverride.Builder addConditionalOverridesBuilder(
         int index) {
-      return getConditionalOverridesFieldBuilder().addBuilder(
-          index, com.google.cloud.channel.v1.ConditionalOverride.getDefaultInstance());
+      return getConditionalOverridesFieldBuilder()
+          .addBuilder(index, com.google.cloud.channel.v1.ConditionalOverride.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The conditional overrides to apply for this configuration. If you list
      * multiple overrides, only the first valid override is used.  If you don't
@@ -3057,16 +3562,22 @@ public com.google.cloud.channel.v1.ConditionalOverride.Builder addConditionalOve
      *
      * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6;
      */
-    public java.util.List 
-         getConditionalOverridesBuilderList() {
+    public java.util.List
+        getConditionalOverridesBuilderList() {
       return getConditionalOverridesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.channel.v1.ConditionalOverride, com.google.cloud.channel.v1.ConditionalOverride.Builder, com.google.cloud.channel.v1.ConditionalOverrideOrBuilder> 
+            com.google.cloud.channel.v1.ConditionalOverride,
+            com.google.cloud.channel.v1.ConditionalOverride.Builder,
+            com.google.cloud.channel.v1.ConditionalOverrideOrBuilder>
         getConditionalOverridesFieldBuilder() {
       if (conditionalOverridesBuilder_ == null) {
-        conditionalOverridesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.channel.v1.ConditionalOverride, com.google.cloud.channel.v1.ConditionalOverride.Builder, com.google.cloud.channel.v1.ConditionalOverrideOrBuilder>(
+        conditionalOverridesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.channel.v1.ConditionalOverride,
+                com.google.cloud.channel.v1.ConditionalOverride.Builder,
+                com.google.cloud.channel.v1.ConditionalOverrideOrBuilder>(
                 conditionalOverrides_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -3075,9 +3586,9 @@ public com.google.cloud.channel.v1.ConditionalOverride.Builder addConditionalOve
       }
       return conditionalOverridesBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -3087,12 +3598,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.RepricingConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.RepricingConfig)
   private static final com.google.cloud.channel.v1.RepricingConfig DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.channel.v1.RepricingConfig();
   }
@@ -3101,27 +3612,27 @@ public static com.google.cloud.channel.v1.RepricingConfig getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public RepricingConfig parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public RepricingConfig parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -3136,6 +3647,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.channel.v1.RepricingConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfigOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfigOrBuilder.java
similarity index 70%
rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfigOrBuilder.java
rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfigOrBuilder.java
index 0f4cc420604e..8de27afa833c 100644
--- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfigOrBuilder.java
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingConfigOrBuilder.java
@@ -1,153 +1,237 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/channel/v1/repricing.proto
 
 package com.google.cloud.channel.v1;
 
-public interface RepricingConfigOrBuilder extends
+public interface RepricingConfigOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.RepricingConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Applies the repricing configuration at the entitlement level. This is
    * the only supported value for CustomerRepricingConfig.
    * 
* - * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; + * + * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; + * + * * @return Whether the entitlementGranularity field is set. */ boolean hasEntitlementGranularity(); /** + * + * *
    * Applies the repricing configuration at the entitlement level. This is
    * the only supported value for CustomerRepricingConfig.
    * 
* - * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; + * + * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; + * + * * @return The entitlementGranularity. */ com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularity getEntitlementGranularity(); /** + * + * *
    * Applies the repricing configuration at the entitlement level. This is
    * the only supported value for CustomerRepricingConfig.
    * 
* - * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; + * + * .google.cloud.channel.v1.RepricingConfig.EntitlementGranularity entitlement_granularity = 4; + * */ - com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularityOrBuilder getEntitlementGranularityOrBuilder(); + com.google.cloud.channel.v1.RepricingConfig.EntitlementGranularityOrBuilder + getEntitlementGranularityOrBuilder(); /** + * + * *
    * Applies the repricing configuration at the channel partner level.
    * This is the only supported value for ChannelPartnerRepricingConfig.
    * 
* - * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; + * + * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; + * + * * @return Whether the channelPartnerGranularity field is set. */ boolean hasChannelPartnerGranularity(); /** + * + * *
    * Applies the repricing configuration at the channel partner level.
    * This is the only supported value for ChannelPartnerRepricingConfig.
    * 
* - * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; + * + * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; + * + * * @return The channelPartnerGranularity. */ - com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity getChannelPartnerGranularity(); + com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity + getChannelPartnerGranularity(); /** + * + * *
    * Applies the repricing configuration at the channel partner level.
    * This is the only supported value for ChannelPartnerRepricingConfig.
    * 
* - * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; + * + * .google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity channel_partner_granularity = 5; + * */ - com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularityOrBuilder getChannelPartnerGranularityOrBuilder(); + com.google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularityOrBuilder + getChannelPartnerGranularityOrBuilder(); /** + * + * *
    * Required. The YearMonth when these adjustments activate. The Day field
    * needs to be "0" since we only accept YearMonth repricing boundaries.
    * 
* - * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the effectiveInvoiceMonth field is set. */ boolean hasEffectiveInvoiceMonth(); /** + * + * *
    * Required. The YearMonth when these adjustments activate. The Day field
    * needs to be "0" since we only accept YearMonth repricing boundaries.
    * 
* - * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The effectiveInvoiceMonth. */ com.google.type.Date getEffectiveInvoiceMonth(); /** + * + * *
    * Required. The YearMonth when these adjustments activate. The Day field
    * needs to be "0" since we only accept YearMonth repricing boundaries.
    * 
* - * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.Date effective_invoice_month = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.type.DateOrBuilder getEffectiveInvoiceMonthOrBuilder(); /** + * + * *
    * Required. Information about the adjustment.
    * 
* - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the adjustment field is set. */ boolean hasAdjustment(); /** + * + * *
    * Required. Information about the adjustment.
    * 
* - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The adjustment. */ com.google.cloud.channel.v1.RepricingAdjustment getAdjustment(); /** + * + * *
    * Required. Information about the adjustment.
    * 
* - * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RepricingAdjustment adjustment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.channel.v1.RepricingAdjustmentOrBuilder getAdjustmentOrBuilder(); /** + * + * *
    * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
    * use for this bill. Specifies the relative cost based on repricing costs you
    * will apply.
    * 
* - * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for rebillingBasis. */ int getRebillingBasisValue(); /** + * + * *
    * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
    * use for this bill. Specifies the relative cost based on repricing costs you
    * will apply.
    * 
* - * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.RebillingBasis rebilling_basis = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The rebillingBasis. */ com.google.cloud.channel.v1.RebillingBasis getRebillingBasis(); /** + * + * *
    * The conditional overrides to apply for this configuration. If you list
    * multiple overrides, only the first valid override is used.  If you don't
@@ -156,9 +240,10 @@ public interface RepricingConfigOrBuilder extends
    *
    * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6;
    */
-  java.util.List 
-      getConditionalOverridesList();
+  java.util.List getConditionalOverridesList();
   /**
+   *
+   *
    * 
    * The conditional overrides to apply for this configuration. If you list
    * multiple overrides, only the first valid override is used.  If you don't
@@ -169,6 +254,8 @@ public interface RepricingConfigOrBuilder extends
    */
   com.google.cloud.channel.v1.ConditionalOverride getConditionalOverrides(int index);
   /**
+   *
+   *
    * 
    * The conditional overrides to apply for this configuration. If you list
    * multiple overrides, only the first valid override is used.  If you don't
@@ -179,6 +266,8 @@ public interface RepricingConfigOrBuilder extends
    */
   int getConditionalOverridesCount();
   /**
+   *
+   *
    * 
    * The conditional overrides to apply for this configuration. If you list
    * multiple overrides, only the first valid override is used.  If you don't
@@ -187,9 +276,11 @@ public interface RepricingConfigOrBuilder extends
    *
    * repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6;
    */
-  java.util.List 
+  java.util.List
       getConditionalOverridesOrBuilderList();
   /**
+   *
+   *
    * 
    * The conditional overrides to apply for this configuration. If you list
    * multiple overrides, only the first valid override is used.  If you don't
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java
new file mode 100644
index 000000000000..851de098d40f
--- /dev/null
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java
@@ -0,0 +1,248 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/channel/v1/repricing.proto
+
+package com.google.cloud.channel.v1;
+
+public final class RepricingProto {
+  private RepricingProto() {}
+
+  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_cloud_channel_v1_CustomerRepricingConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_CustomerRepricingConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_RepricingConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_RepricingConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_RepricingAdjustment_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_RepricingAdjustment_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_PercentageAdjustment_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_PercentageAdjustment_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ConditionalOverride_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ConditionalOverride_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_RepricingCondition_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_RepricingCondition_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_SkuGroupCondition_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_SkuGroupCondition_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/cloud/channel/v1/repricing.prot"
+          + "o\022\027google.cloud.channel.v1\032\037google/api/f"
+          + "ield_behavior.proto\032\031google/api/resource"
+          + ".proto\032\037google/protobuf/timestamp.proto\032"
+          + "\026google/type/date.proto\032\031google/type/dec"
+          + "imal.proto\"\305\002\n\027CustomerRepricingConfig\022\021"
+          + "\n\004name\030\001 \001(\tB\003\340A\003\022G\n\020repricing_config\030\002 "
+          + "\001(\0132(.google.cloud.channel.v1.RepricingC"
+          + "onfigB\003\340A\002\0224\n\013update_time\030\003 \001(\0132\032.google"
+          + ".protobuf.TimestampB\003\340A\003:\227\001\352A\223\001\n3cloudch"
+          + "annel.googleapis.com/CustomerRepricingCo"
+          + "nfig\022\\accounts/{account}/customers/{cust"
+          + "omer}/customerRepricingConfigs/{customer"
+          + "_repricing_config}\"\357\002\n\035ChannelPartnerRep"
+          + "ricingConfig\022\021\n\004name\030\001 \001(\tB\003\340A\003\022G\n\020repri"
+          + "cing_config\030\002 \001(\0132(.google.cloud.channel"
+          + ".v1.RepricingConfigB\003\340A\002\0224\n\013update_time\030"
+          + "\003 \001(\0132\032.google.protobuf.TimestampB\003\340A\003:\273"
+          + "\001\352A\267\001\n9cloudchannel.googleapis.com/Chann"
+          + "elPartnerRepricingConfig\022zaccounts/{acco"
+          + "unt}/channelPartnerLinks/{channel_partne"
+          + "r}/channelPartnerRepricingConfigs/{chann"
+          + "el_partner_repricing_config}\"\375\004\n\017Reprici"
+          + "ngConfig\022b\n\027entitlement_granularity\030\004 \001("
+          + "\0132?.google.cloud.channel.v1.RepricingCon"
+          + "fig.EntitlementGranularityH\000\022i\n\033channel_"
+          + "partner_granularity\030\005 \001(\0132B.google.cloud"
+          + ".channel.v1.RepricingConfig.ChannelPartn"
+          + "erGranularityH\000\0227\n\027effective_invoice_mon"
+          + "th\030\001 \001(\0132\021.google.type.DateB\003\340A\002\022E\n\nadju"
+          + "stment\030\002 \001(\0132,.google.cloud.channel.v1.R"
+          + "epricingAdjustmentB\003\340A\002\022E\n\017rebilling_bas"
+          + "is\030\003 \001(\0162\'.google.cloud.channel.v1.Rebil"
+          + "lingBasisB\003\340A\002\022K\n\025conditional_overrides\030"
+          + "\006 \003(\0132,.google.cloud.channel.v1.Conditio"
+          + "nalOverride\032[\n\026EntitlementGranularity\022A\n"
+          + "\013entitlement\030\001 \001(\tB,\372A)\n\'cloudchannel.go"
+          + "ogleapis.com/Entitlement\032\033\n\031ChannelPartn"
+          + "erGranularityB\r\n\013granularity\"s\n\023Repricin"
+          + "gAdjustment\022N\n\025percentage_adjustment\030\002 \001"
+          + "(\0132-.google.cloud.channel.v1.PercentageA"
+          + "djustmentH\000B\014\n\nadjustment\"@\n\024PercentageA"
+          + "djustment\022(\n\npercentage\030\002 \001(\0132\024.google.t"
+          + "ype.Decimal\"\362\001\n\023ConditionalOverride\022E\n\na"
+          + "djustment\030\001 \001(\0132,.google.cloud.channel.v"
+          + "1.RepricingAdjustmentB\003\340A\002\022E\n\017rebilling_"
+          + "basis\030\002 \001(\0162\'.google.cloud.channel.v1.Re"
+          + "billingBasisB\003\340A\002\022M\n\023repricing_condition"
+          + "\030\003 \001(\0132+.google.cloud.channel.v1.Reprici"
+          + "ngConditionB\003\340A\002\"l\n\022RepricingCondition\022I"
+          + "\n\023sku_group_condition\030\001 \001(\0132*.google.clo"
+          + "ud.channel.v1.SkuGroupConditionH\000B\013\n\tcon"
+          + "dition\"&\n\021SkuGroupCondition\022\021\n\tsku_group"
+          + "\030\001 \001(\t*]\n\016RebillingBasis\022\037\n\033REBILLING_BA"
+          + "SIS_UNSPECIFIED\020\000\022\020\n\014COST_AT_LIST\020\001\022\030\n\024D"
+          + "IRECT_CUSTOMER_COST\020\002Bo\n\033com.google.clou"
+          + "d.channel.v1B\016RepricingProtoP\001Z>google.g"
+          + "olang.org/genproto/googleapis/cloud/chan"
+          + "nel/v1;channelb\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.type.DateProto.getDescriptor(),
+              com.google.type.DecimalProto.getDescriptor(),
+            });
+    internal_static_google_cloud_channel_v1_CustomerRepricingConfig_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_channel_v1_CustomerRepricingConfig_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_CustomerRepricingConfig_descriptor,
+            new java.lang.String[] {
+              "Name", "RepricingConfig", "UpdateTime",
+            });
+    internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_descriptor,
+            new java.lang.String[] {
+              "Name", "RepricingConfig", "UpdateTime",
+            });
+    internal_static_google_cloud_channel_v1_RepricingConfig_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_channel_v1_RepricingConfig_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_RepricingConfig_descriptor,
+            new java.lang.String[] {
+              "EntitlementGranularity",
+              "ChannelPartnerGranularity",
+              "EffectiveInvoiceMonth",
+              "Adjustment",
+              "RebillingBasis",
+              "ConditionalOverrides",
+              "Granularity",
+            });
+    internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_descriptor =
+        internal_static_google_cloud_channel_v1_RepricingConfig_descriptor.getNestedTypes().get(0);
+    internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_descriptor,
+            new java.lang.String[] {
+              "Entitlement",
+            });
+    internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_descriptor =
+        internal_static_google_cloud_channel_v1_RepricingConfig_descriptor.getNestedTypes().get(1);
+    internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_descriptor,
+            new java.lang.String[] {});
+    internal_static_google_cloud_channel_v1_RepricingAdjustment_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_channel_v1_RepricingAdjustment_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_RepricingAdjustment_descriptor,
+            new java.lang.String[] {
+              "PercentageAdjustment", "Adjustment",
+            });
+    internal_static_google_cloud_channel_v1_PercentageAdjustment_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_channel_v1_PercentageAdjustment_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_PercentageAdjustment_descriptor,
+            new java.lang.String[] {
+              "Percentage",
+            });
+    internal_static_google_cloud_channel_v1_ConditionalOverride_descriptor =
+        getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_channel_v1_ConditionalOverride_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ConditionalOverride_descriptor,
+            new java.lang.String[] {
+              "Adjustment", "RebillingBasis", "RepricingCondition",
+            });
+    internal_static_google_cloud_channel_v1_RepricingCondition_descriptor =
+        getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_channel_v1_RepricingCondition_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_RepricingCondition_descriptor,
+            new java.lang.String[] {
+              "SkuGroupCondition", "Condition",
+            });
+    internal_static_google_cloud_channel_v1_SkuGroupCondition_descriptor =
+        getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_channel_v1_SkuGroupCondition_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_SkuGroupCondition_descriptor,
+            new java.lang.String[] {
+              "SkuGroup",
+            });
+    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.type.DateProto.getDescriptor();
+    com.google.type.DecimalProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ResourceType.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ResourceType.java
similarity index 73%
rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ResourceType.java
rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ResourceType.java
index 8874e98665e2..fae2a68b32c1 100644
--- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ResourceType.java
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ResourceType.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/cloud/channel/v1/offers.proto
 
 package com.google.cloud.channel.v1;
 
 /**
+ *
+ *
  * 
  * Represents the type for a monetizable resource(any entity on which billing
  * happens). For example, this could be MINUTES for Google Voice and GB for
@@ -12,9 +29,10 @@
  *
  * Protobuf enum {@code google.cloud.channel.v1.ResourceType}
  */
-public enum ResourceType
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum ResourceType implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Not used.
    * 
@@ -23,6 +41,8 @@ public enum ResourceType */ RESOURCE_TYPE_UNSPECIFIED(0), /** + * + * *
    * Seat.
    * 
@@ -31,6 +51,8 @@ public enum ResourceType */ SEAT(1), /** + * + * *
    * Monthly active user.
    * 
@@ -39,6 +61,8 @@ public enum ResourceType */ MAU(2), /** + * + * *
    * GB (used for storage SKUs).
    * 
@@ -47,6 +71,8 @@ public enum ResourceType */ GB(3), /** + * + * *
    * Active licensed users(for Voice SKUs).
    * 
@@ -55,6 +81,8 @@ public enum ResourceType */ LICENSED_USER(4), /** + * + * *
    * Voice usage.
    * 
@@ -63,6 +91,8 @@ public enum ResourceType */ MINUTES(5), /** + * + * *
    * For IaaS SKUs like Google Cloud Platform, monetization is based on usage
    * accrued on your billing account irrespective of the type of monetizable
@@ -75,6 +105,8 @@ public enum ResourceType
    */
   IAAS_USAGE(6),
   /**
+   *
+   *
    * 
    * For Google Cloud Platform subscriptions like Anthos or SAP.
    * 
@@ -86,6 +118,8 @@ public enum ResourceType ; /** + * + * *
    * Not used.
    * 
@@ -94,6 +128,8 @@ public enum ResourceType */ public static final int RESOURCE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Seat.
    * 
@@ -102,6 +138,8 @@ public enum ResourceType */ public static final int SEAT_VALUE = 1; /** + * + * *
    * Monthly active user.
    * 
@@ -110,6 +148,8 @@ public enum ResourceType */ public static final int MAU_VALUE = 2; /** + * + * *
    * GB (used for storage SKUs).
    * 
@@ -118,6 +158,8 @@ public enum ResourceType */ public static final int GB_VALUE = 3; /** + * + * *
    * Active licensed users(for Voice SKUs).
    * 
@@ -126,6 +168,8 @@ public enum ResourceType */ public static final int LICENSED_USER_VALUE = 4; /** + * + * *
    * Voice usage.
    * 
@@ -134,6 +178,8 @@ public enum ResourceType */ public static final int MINUTES_VALUE = 5; /** + * + * *
    * For IaaS SKUs like Google Cloud Platform, monetization is based on usage
    * accrued on your billing account irrespective of the type of monetizable
@@ -146,6 +192,8 @@ public enum ResourceType
    */
   public static final int IAAS_USAGE_VALUE = 6;
   /**
+   *
+   *
    * 
    * For Google Cloud Platform subscriptions like Anthos or SAP.
    * 
@@ -154,7 +202,6 @@ public enum ResourceType */ public static final int SUBSCRIPTION_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -179,54 +226,59 @@ public static ResourceType valueOf(int value) { */ public static ResourceType forNumber(int value) { switch (value) { - case 0: return RESOURCE_TYPE_UNSPECIFIED; - case 1: return SEAT; - case 2: return MAU; - case 3: return GB; - case 4: return LICENSED_USER; - case 5: return MINUTES; - case 6: return IAAS_USAGE; - case 7: return SUBSCRIPTION; - default: return null; + case 0: + return RESOURCE_TYPE_UNSPECIFIED; + case 1: + return SEAT; + case 2: + return MAU; + case 3: + return GB; + case 4: + return LICENSED_USER; + case 5: + return MINUTES; + case 6: + return IAAS_USAGE; + case 7: + return SUBSCRIPTION; + 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< - ResourceType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ResourceType findValueByNumber(int number) { - return ResourceType.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 ResourceType findValueByNumber(int number) { + return ResourceType.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.cloud.channel.v1.OffersProto.getDescriptor().getEnumTypes().get(3); } private static final ResourceType[] VALUES = values(); - public static ResourceType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ResourceType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -242,4 +294,3 @@ private ResourceType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.channel.v1.ResourceType) } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Row.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Row.java similarity index 70% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Row.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Row.java index 5a3f9f4e382b..f1563a168b58 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Row.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Row.java @@ -1,49 +1,67 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; /** + * + * *
  * A row of report values.
  * 
* * Protobuf type {@code google.cloud.channel.v1.Row} */ -public final class Row extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Row extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.Row) RowOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Row.newBuilder() to construct. private Row(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Row() { values_ = 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 Row(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_Row_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ReportsServiceProto + .internal_static_google_cloud_channel_v1_Row_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_Row_fieldAccessorTable + return com.google.cloud.channel.v1.ReportsServiceProto + .internal_static_google_cloud_channel_v1_Row_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.channel.v1.Row.class, com.google.cloud.channel.v1.Row.Builder.class); } @@ -51,6 +69,8 @@ protected java.lang.Object newInstance( public static final int VALUES_FIELD_NUMBER = 1; private java.util.List values_; /** + * + * *
    * The list of values in the row.
    * 
@@ -62,6 +82,8 @@ public java.util.List getValuesList() { return values_; } /** + * + * *
    * The list of values in the row.
    * 
@@ -69,11 +91,13 @@ public java.util.List getValuesList() { * repeated .google.cloud.channel.v1.ReportValue values = 1; */ @java.lang.Override - public java.util.List + public java.util.List getValuesOrBuilderList() { return values_; } /** + * + * *
    * The list of values in the row.
    * 
@@ -85,6 +109,8 @@ public int getValuesCount() { return values_.size(); } /** + * + * *
    * The list of values in the row.
    * 
@@ -96,6 +122,8 @@ public com.google.cloud.channel.v1.ReportValue getValues(int index) { return values_.get(index); } /** + * + * *
    * The list of values in the row.
    * 
@@ -103,12 +131,12 @@ public com.google.cloud.channel.v1.ReportValue getValues(int index) { * repeated .google.cloud.channel.v1.ReportValue values = 1; */ @java.lang.Override - public com.google.cloud.channel.v1.ReportValueOrBuilder getValuesOrBuilder( - int index) { + public com.google.cloud.channel.v1.ReportValueOrBuilder getValuesOrBuilder(int index) { return values_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -120,8 +148,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < values_.size(); i++) { output.writeMessage(1, values_.get(i)); } @@ -135,8 +162,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < values_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, values_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, values_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -146,15 +172,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.cloud.channel.v1.Row)) { return super.equals(obj); } com.google.cloud.channel.v1.Row other = (com.google.cloud.channel.v1.Row) obj; - if (!getValuesList() - .equals(other.getValuesList())) return false; + if (!getValuesList().equals(other.getValuesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -175,130 +200,134 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.Row parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.Row parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Row parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Row parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.channel.v1.Row parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Row parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.Row parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Row parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.Row 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.cloud.channel.v1.Row parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.Row parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.Row parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.Row parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.Row parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.Row prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 row of report values.
    * 
* * Protobuf type {@code google.cloud.channel.v1.Row} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.Row) com.google.cloud.channel.v1.RowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_Row_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ReportsServiceProto + .internal_static_google_cloud_channel_v1_Row_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_Row_fieldAccessorTable + return com.google.cloud.channel.v1.ReportsServiceProto + .internal_static_google_cloud_channel_v1_Row_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.channel.v1.Row.class, com.google.cloud.channel.v1.Row.Builder.class); } // Construct using com.google.cloud.channel.v1.Row.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -313,9 +342,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_Row_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.ReportsServiceProto + .internal_static_google_cloud_channel_v1_Row_descriptor; } @java.lang.Override @@ -353,38 +382,39 @@ public com.google.cloud.channel.v1.Row 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.cloud.channel.v1.Row) { - return mergeFrom((com.google.cloud.channel.v1.Row)other); + return mergeFrom((com.google.cloud.channel.v1.Row) other); } else { super.mergeFrom(other); return this; @@ -411,9 +441,10 @@ public Builder mergeFrom(com.google.cloud.channel.v1.Row other) { valuesBuilder_ = null; values_ = other.values_; bitField0_ = (bitField0_ & ~0x00000001); - valuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getValuesFieldBuilder() : null; + valuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getValuesFieldBuilder() + : null; } else { valuesBuilder_.addAllMessages(other.values_); } @@ -445,25 +476,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.channel.v1.ReportValue m = - input.readMessage( - com.google.cloud.channel.v1.ReportValue.parser(), - extensionRegistry); - if (valuesBuilder_ == null) { - ensureValuesIsMutable(); - values_.add(m); - } else { - valuesBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.channel.v1.ReportValue m = + input.readMessage( + com.google.cloud.channel.v1.ReportValue.parser(), extensionRegistry); + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + values_.add(m); + } else { + valuesBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -473,21 +505,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List values_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { values_ = new java.util.ArrayList(values_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.ReportValue, com.google.cloud.channel.v1.ReportValue.Builder, com.google.cloud.channel.v1.ReportValueOrBuilder> valuesBuilder_; + com.google.cloud.channel.v1.ReportValue, + com.google.cloud.channel.v1.ReportValue.Builder, + com.google.cloud.channel.v1.ReportValueOrBuilder> + valuesBuilder_; /** + * + * *
      * The list of values in the row.
      * 
@@ -502,6 +541,8 @@ public java.util.List getValuesList() { } } /** + * + * *
      * The list of values in the row.
      * 
@@ -516,6 +557,8 @@ public int getValuesCount() { } } /** + * + * *
      * The list of values in the row.
      * 
@@ -530,14 +573,15 @@ public com.google.cloud.channel.v1.ReportValue getValues(int index) { } } /** + * + * *
      * The list of values in the row.
      * 
* * repeated .google.cloud.channel.v1.ReportValue values = 1; */ - public Builder setValues( - int index, com.google.cloud.channel.v1.ReportValue value) { + public Builder setValues(int index, com.google.cloud.channel.v1.ReportValue value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -551,6 +595,8 @@ public Builder setValues( return this; } /** + * + * *
      * The list of values in the row.
      * 
@@ -569,6 +615,8 @@ public Builder setValues( return this; } /** + * + * *
      * The list of values in the row.
      * 
@@ -589,14 +637,15 @@ public Builder addValues(com.google.cloud.channel.v1.ReportValue value) { return this; } /** + * + * *
      * The list of values in the row.
      * 
* * repeated .google.cloud.channel.v1.ReportValue values = 1; */ - public Builder addValues( - int index, com.google.cloud.channel.v1.ReportValue value) { + public Builder addValues(int index, com.google.cloud.channel.v1.ReportValue value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -610,14 +659,15 @@ public Builder addValues( return this; } /** + * + * *
      * The list of values in the row.
      * 
* * repeated .google.cloud.channel.v1.ReportValue values = 1; */ - public Builder addValues( - com.google.cloud.channel.v1.ReportValue.Builder builderForValue) { + public Builder addValues(com.google.cloud.channel.v1.ReportValue.Builder builderForValue) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.add(builderForValue.build()); @@ -628,6 +678,8 @@ public Builder addValues( return this; } /** + * + * *
      * The list of values in the row.
      * 
@@ -646,6 +698,8 @@ public Builder addValues( return this; } /** + * + * *
      * The list of values in the row.
      * 
@@ -656,8 +710,7 @@ public Builder addAllValues( java.lang.Iterable values) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, values_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); onChanged(); } else { valuesBuilder_.addAllMessages(values); @@ -665,6 +718,8 @@ public Builder addAllValues( return this; } /** + * + * *
      * The list of values in the row.
      * 
@@ -682,6 +737,8 @@ public Builder clearValues() { return this; } /** + * + * *
      * The list of values in the row.
      * 
@@ -699,39 +756,44 @@ public Builder removeValues(int index) { return this; } /** + * + * *
      * The list of values in the row.
      * 
* * repeated .google.cloud.channel.v1.ReportValue values = 1; */ - public com.google.cloud.channel.v1.ReportValue.Builder getValuesBuilder( - int index) { + public com.google.cloud.channel.v1.ReportValue.Builder getValuesBuilder(int index) { return getValuesFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of values in the row.
      * 
* * repeated .google.cloud.channel.v1.ReportValue values = 1; */ - public com.google.cloud.channel.v1.ReportValueOrBuilder getValuesOrBuilder( - int index) { + public com.google.cloud.channel.v1.ReportValueOrBuilder getValuesOrBuilder(int index) { if (valuesBuilder_ == null) { - return values_.get(index); } else { + return values_.get(index); + } else { return valuesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of values in the row.
      * 
* * repeated .google.cloud.channel.v1.ReportValue values = 1; */ - public java.util.List - getValuesOrBuilderList() { + public java.util.List + getValuesOrBuilderList() { if (valuesBuilder_ != null) { return valuesBuilder_.getMessageOrBuilderList(); } else { @@ -739,6 +801,8 @@ public com.google.cloud.channel.v1.ReportValueOrBuilder getValuesOrBuilder( } } /** + * + * *
      * The list of values in the row.
      * 
@@ -746,49 +810,54 @@ public com.google.cloud.channel.v1.ReportValueOrBuilder getValuesOrBuilder( * repeated .google.cloud.channel.v1.ReportValue values = 1; */ public com.google.cloud.channel.v1.ReportValue.Builder addValuesBuilder() { - return getValuesFieldBuilder().addBuilder( - com.google.cloud.channel.v1.ReportValue.getDefaultInstance()); + return getValuesFieldBuilder() + .addBuilder(com.google.cloud.channel.v1.ReportValue.getDefaultInstance()); } /** + * + * *
      * The list of values in the row.
      * 
* * repeated .google.cloud.channel.v1.ReportValue values = 1; */ - public com.google.cloud.channel.v1.ReportValue.Builder addValuesBuilder( - int index) { - return getValuesFieldBuilder().addBuilder( - index, com.google.cloud.channel.v1.ReportValue.getDefaultInstance()); + public com.google.cloud.channel.v1.ReportValue.Builder addValuesBuilder(int index) { + return getValuesFieldBuilder() + .addBuilder(index, com.google.cloud.channel.v1.ReportValue.getDefaultInstance()); } /** + * + * *
      * The list of values in the row.
      * 
* * repeated .google.cloud.channel.v1.ReportValue values = 1; */ - public java.util.List - getValuesBuilderList() { + public java.util.List getValuesBuilderList() { return getValuesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.ReportValue, com.google.cloud.channel.v1.ReportValue.Builder, com.google.cloud.channel.v1.ReportValueOrBuilder> + com.google.cloud.channel.v1.ReportValue, + com.google.cloud.channel.v1.ReportValue.Builder, + com.google.cloud.channel.v1.ReportValueOrBuilder> getValuesFieldBuilder() { if (valuesBuilder_ == null) { - valuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.ReportValue, com.google.cloud.channel.v1.ReportValue.Builder, com.google.cloud.channel.v1.ReportValueOrBuilder>( - values_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + valuesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.ReportValue, + com.google.cloud.channel.v1.ReportValue.Builder, + com.google.cloud.channel.v1.ReportValueOrBuilder>( + values_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); values_ = null; } return valuesBuilder_; } + @java.lang.Override - 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 +867,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.Row) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.Row) private static final com.google.cloud.channel.v1.Row DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.Row(); } @@ -812,27 +881,27 @@ public static com.google.cloud.channel.v1.Row getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Row parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Row parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -847,6 +916,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Row getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RowOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RowOrBuilder.java similarity index 61% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RowOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RowOrBuilder.java index 5aa4f8775c43..972f770513c1 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RowOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RowOrBuilder.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/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; -public interface RowOrBuilder extends +public interface RowOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Row) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of values in the row.
    * 
* * repeated .google.cloud.channel.v1.ReportValue values = 1; */ - java.util.List - getValuesList(); + java.util.List getValuesList(); /** + * + * *
    * The list of values in the row.
    * 
@@ -25,6 +44,8 @@ public interface RowOrBuilder extends */ com.google.cloud.channel.v1.ReportValue getValues(int index); /** + * + * *
    * The list of values in the row.
    * 
@@ -33,21 +54,24 @@ public interface RowOrBuilder extends */ int getValuesCount(); /** + * + * *
    * The list of values in the row.
    * 
* * repeated .google.cloud.channel.v1.ReportValue values = 1; */ - java.util.List + java.util.List getValuesOrBuilderList(); /** + * + * *
    * The list of values in the row.
    * 
* * repeated .google.cloud.channel.v1.ReportValue values = 1; */ - com.google.cloud.channel.v1.ReportValueOrBuilder getValuesOrBuilder( - int index); + com.google.cloud.channel.v1.ReportValueOrBuilder getValuesOrBuilder(int index); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobRequest.java similarity index 69% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobRequest.java index d060b85aba88..ee023e926df9 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobRequest.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/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.RunReportJobRequest}
  */
-public final class RunReportJobRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RunReportJobRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.RunReportJobRequest)
     RunReportJobRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RunReportJobRequest.newBuilder() to construct.
   private RunReportJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RunReportJobRequest() {
     name_ = "";
     filter_ = "";
@@ -28,32 +46,35 @@ private RunReportJobRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RunReportJobRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_RunReportJobRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ReportsServiceProto
+        .internal_static_google_cloud_channel_v1_RunReportJobRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_RunReportJobRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ReportsServiceProto
+        .internal_static_google_cloud_channel_v1_RunReportJobRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.RunReportJobRequest.class, com.google.cloud.channel.v1.RunReportJobRequest.Builder.class);
+            com.google.cloud.channel.v1.RunReportJobRequest.class,
+            com.google.cloud.channel.v1.RunReportJobRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The report's resource name. Specifies the account and report used
    * to generate report data. The report_id identifier is a UID (for example,
@@ -62,7 +83,10 @@ protected java.lang.Object newInstance(
    * accounts/{account_id}/reports/{report_id}
    * 
* - * string name = 1 [(.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 @@ -71,14 +95,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 report's resource name. Specifies the account and report used
    * to generate report data. The report_id identifier is a UID (for example,
@@ -87,17 +112,18 @@ public java.lang.String getName() {
    * accounts/{account_id}/reports/{report_id}
    * 
* - * string name = 1 [(.google.api.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 { @@ -108,11 +134,16 @@ public java.lang.String getName() { public static final int DATE_RANGE_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.DateRange dateRange_; /** + * + * *
    * Optional. The range of usage or invoice dates to include in the result.
    * 
* - * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the dateRange field is set. */ @java.lang.Override @@ -120,23 +151,34 @@ public boolean hasDateRange() { return dateRange_ != null; } /** + * + * *
    * Optional. The range of usage or invoice dates to include in the result.
    * 
* - * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The dateRange. */ @java.lang.Override public com.google.cloud.channel.v1.DateRange getDateRange() { - return dateRange_ == null ? com.google.cloud.channel.v1.DateRange.getDefaultInstance() : dateRange_; + return dateRange_ == null + ? com.google.cloud.channel.v1.DateRange.getDefaultInstance() + : dateRange_; } /** + * + * *
    * Optional. The range of usage or invoice dates to include in the result.
    * 
* - * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.channel.v1.DateRangeOrBuilder getDateRangeOrBuilder() { @@ -146,6 +188,8 @@ public com.google.cloud.channel.v1.DateRangeOrBuilder getDateRangeOrBuilder() { public static final int FILTER_FIELD_NUMBER = 3; private volatile java.lang.Object filter_; /** + * + * *
    * Optional. A structured string that defines conditions on dimension columns
    * to restrict the report output.
@@ -158,6 +202,7 @@ public com.google.cloud.channel.v1.DateRangeOrBuilder getDateRangeOrBuilder() {
    * 
* * string filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -166,14 +211,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; } } /** + * + * *
    * Optional. A structured string that defines conditions on dimension columns
    * to restrict the report output.
@@ -186,16 +232,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -206,6 +251,8 @@ public java.lang.String getFilter() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 4; private volatile java.lang.Object languageCode_; /** + * + * *
    * Optional. The BCP-47 language code, such as "en-US".  If specified, the
    * response is localized to the corresponding language code if the
@@ -214,6 +261,7 @@ public java.lang.String getFilter() {
    * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ @java.lang.Override @@ -222,14 +270,15 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** + * + * *
    * Optional. The BCP-47 language code, such as "en-US".  If specified, the
    * response is localized to the corresponding language code if the
@@ -238,16 +287,15 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -256,6 +304,7 @@ public java.lang.String getLanguageCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,8 +316,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -294,8 +342,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (dateRange_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getDateRange()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDateRange()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filter_); @@ -311,24 +358,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.cloud.channel.v1.RunReportJobRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.RunReportJobRequest other = (com.google.cloud.channel.v1.RunReportJobRequest) obj; + com.google.cloud.channel.v1.RunReportJobRequest other = + (com.google.cloud.channel.v1.RunReportJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasDateRange() != other.hasDateRange()) return false; if (hasDateRange()) { - if (!getDateRange() - .equals(other.getDateRange())) return false; + if (!getDateRange().equals(other.getDateRange())) return false; } - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getLanguageCode() - .equals(other.getLanguageCode())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getLanguageCode().equals(other.getLanguageCode())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -355,97 +399,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.RunReportJobRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.RunReportJobRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.RunReportJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.RunReportJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.RunReportJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.RunReportJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.RunReportJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.RunReportJobRequest 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.cloud.channel.v1.RunReportJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.RunReportJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.RunReportJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.RunReportJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.RunReportJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.RunReportJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.RunReportJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
@@ -453,33 +504,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.RunReportJobRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.RunReportJobRequest)
       com.google.cloud.channel.v1.RunReportJobRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_RunReportJobRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ReportsServiceProto
+          .internal_static_google_cloud_channel_v1_RunReportJobRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_RunReportJobRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ReportsServiceProto
+          .internal_static_google_cloud_channel_v1_RunReportJobRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.RunReportJobRequest.class, com.google.cloud.channel.v1.RunReportJobRequest.Builder.class);
+              com.google.cloud.channel.v1.RunReportJobRequest.class,
+              com.google.cloud.channel.v1.RunReportJobRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.RunReportJobRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -499,9 +549,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_RunReportJobRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ReportsServiceProto
+          .internal_static_google_cloud_channel_v1_RunReportJobRequest_descriptor;
     }
 
     @java.lang.Override
@@ -520,7 +570,8 @@ public com.google.cloud.channel.v1.RunReportJobRequest build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.RunReportJobRequest buildPartial() {
-      com.google.cloud.channel.v1.RunReportJobRequest result = new com.google.cloud.channel.v1.RunReportJobRequest(this);
+      com.google.cloud.channel.v1.RunReportJobRequest result =
+          new com.google.cloud.channel.v1.RunReportJobRequest(this);
       result.name_ = name_;
       if (dateRangeBuilder_ == null) {
         result.dateRange_ = dateRange_;
@@ -537,38 +588,39 @@ public com.google.cloud.channel.v1.RunReportJobRequest 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.cloud.channel.v1.RunReportJobRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.RunReportJobRequest)other);
+        return mergeFrom((com.google.cloud.channel.v1.RunReportJobRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -576,7 +628,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.RunReportJobRequest other) {
-      if (other == com.google.cloud.channel.v1.RunReportJobRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.RunReportJobRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -618,34 +671,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getDateRangeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getDateRangeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            case 26: {
-              filter_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                filter_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 34: {
-              languageCode_ = input.readStringRequireUtf8();
+                break;
+              } // case 26
+            case 34:
+              {
+                languageCode_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -658,6 +714,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The report's resource name. Specifies the account and report used
      * to generate report data. The report_id identifier is a UID (for example,
@@ -666,14 +724,16 @@ public Builder mergeFrom(
      * accounts/{account_id}/reports/{report_id}
      * 
* - * string name = 1 [(.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; @@ -682,6 +742,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The report's resource name. Specifies the account and report used
      * to generate report data. The report_id identifier is a UID (for example,
@@ -690,16 +752,17 @@ public java.lang.String getName() {
      * accounts/{account_id}/reports/{report_id}
      * 
* - * string name = 1 [(.google.api.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 { @@ -707,6 +770,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The report's resource name. Specifies the account and report used
      * to generate report data. The report_id identifier is a UID (for example,
@@ -715,21 +780,25 @@ public java.lang.String getName() {
      * accounts/{account_id}/reports/{report_id}
      * 
* - * string name = 1 [(.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 report's resource name. Specifies the account and report used
      * to generate report data. The report_id identifier is a UID (for example,
@@ -738,16 +807,21 @@ public Builder setName(
      * accounts/{account_id}/reports/{report_id}
      * 
* - * string 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 report's resource name. Specifies the account and report used
      * to generate report data. The report_id identifier is a UID (for example,
@@ -756,17 +830,19 @@ public Builder clearName() {
      * accounts/{account_id}/reports/{report_id}
      * 
* - * string name = 1 [(.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; @@ -774,39 +850,58 @@ public Builder setNameBytes( private com.google.cloud.channel.v1.DateRange dateRange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.DateRange, com.google.cloud.channel.v1.DateRange.Builder, com.google.cloud.channel.v1.DateRangeOrBuilder> dateRangeBuilder_; + com.google.cloud.channel.v1.DateRange, + com.google.cloud.channel.v1.DateRange.Builder, + com.google.cloud.channel.v1.DateRangeOrBuilder> + dateRangeBuilder_; /** + * + * *
      * Optional. The range of usage or invoice dates to include in the result.
      * 
* - * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the dateRange field is set. */ public boolean hasDateRange() { return dateRangeBuilder_ != null || dateRange_ != null; } /** + * + * *
      * Optional. The range of usage or invoice dates to include in the result.
      * 
* - * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The dateRange. */ public com.google.cloud.channel.v1.DateRange getDateRange() { if (dateRangeBuilder_ == null) { - return dateRange_ == null ? com.google.cloud.channel.v1.DateRange.getDefaultInstance() : dateRange_; + return dateRange_ == null + ? com.google.cloud.channel.v1.DateRange.getDefaultInstance() + : dateRange_; } else { return dateRangeBuilder_.getMessage(); } } /** + * + * *
      * Optional. The range of usage or invoice dates to include in the result.
      * 
* - * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setDateRange(com.google.cloud.channel.v1.DateRange value) { if (dateRangeBuilder_ == null) { @@ -822,14 +917,17 @@ public Builder setDateRange(com.google.cloud.channel.v1.DateRange value) { return this; } /** + * + * *
      * Optional. The range of usage or invoice dates to include in the result.
      * 
* - * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setDateRange( - com.google.cloud.channel.v1.DateRange.Builder builderForValue) { + public Builder setDateRange(com.google.cloud.channel.v1.DateRange.Builder builderForValue) { if (dateRangeBuilder_ == null) { dateRange_ = builderForValue.build(); onChanged(); @@ -840,17 +938,23 @@ public Builder setDateRange( return this; } /** + * + * *
      * Optional. The range of usage or invoice dates to include in the result.
      * 
* - * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeDateRange(com.google.cloud.channel.v1.DateRange value) { if (dateRangeBuilder_ == null) { if (dateRange_ != null) { dateRange_ = - com.google.cloud.channel.v1.DateRange.newBuilder(dateRange_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.DateRange.newBuilder(dateRange_) + .mergeFrom(value) + .buildPartial(); } else { dateRange_ = value; } @@ -862,11 +966,15 @@ public Builder mergeDateRange(com.google.cloud.channel.v1.DateRange value) { return this; } /** + * + * *
      * Optional. The range of usage or invoice dates to include in the result.
      * 
* - * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearDateRange() { if (dateRangeBuilder_ == null) { @@ -880,48 +988,64 @@ public Builder clearDateRange() { return this; } /** + * + * *
      * Optional. The range of usage or invoice dates to include in the result.
      * 
* - * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.channel.v1.DateRange.Builder getDateRangeBuilder() { - + onChanged(); return getDateRangeFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The range of usage or invoice dates to include in the result.
      * 
* - * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.channel.v1.DateRangeOrBuilder getDateRangeOrBuilder() { if (dateRangeBuilder_ != null) { return dateRangeBuilder_.getMessageOrBuilder(); } else { - return dateRange_ == null ? - com.google.cloud.channel.v1.DateRange.getDefaultInstance() : dateRange_; + return dateRange_ == null + ? com.google.cloud.channel.v1.DateRange.getDefaultInstance() + : dateRange_; } } /** + * + * *
      * Optional. The range of usage or invoice dates to include in the result.
      * 
* - * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.DateRange, com.google.cloud.channel.v1.DateRange.Builder, com.google.cloud.channel.v1.DateRangeOrBuilder> + com.google.cloud.channel.v1.DateRange, + com.google.cloud.channel.v1.DateRange.Builder, + com.google.cloud.channel.v1.DateRangeOrBuilder> getDateRangeFieldBuilder() { if (dateRangeBuilder_ == null) { - dateRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.DateRange, com.google.cloud.channel.v1.DateRange.Builder, com.google.cloud.channel.v1.DateRangeOrBuilder>( - getDateRange(), - getParentForChildren(), - isClean()); + dateRangeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.DateRange, + com.google.cloud.channel.v1.DateRange.Builder, + com.google.cloud.channel.v1.DateRangeOrBuilder>( + getDateRange(), getParentForChildren(), isClean()); dateRange_ = null; } return dateRangeBuilder_; @@ -929,6 +1053,8 @@ public com.google.cloud.channel.v1.DateRangeOrBuilder getDateRangeOrBuilder() { private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. A structured string that defines conditions on dimension columns
      * to restrict the report output.
@@ -941,13 +1067,13 @@ public com.google.cloud.channel.v1.DateRangeOrBuilder getDateRangeOrBuilder() {
      * 
* * string filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -956,6 +1082,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. A structured string that defines conditions on dimension columns
      * to restrict the report output.
@@ -968,15 +1096,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -984,6 +1111,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. A structured string that defines conditions on dimension columns
      * to restrict the report output.
@@ -996,20 +1125,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; } /** + * + * *
      * Optional. A structured string that defines conditions on dimension columns
      * to restrict the report output.
@@ -1022,15 +1153,18 @@ public Builder setFilter(
      * 
* * string filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Optional. A structured string that defines conditions on dimension columns
      * to restrict the report output.
@@ -1043,16 +1177,16 @@ public Builder clearFilter() {
      * 
* * string filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -1060,6 +1194,8 @@ public Builder setFilterBytes( private java.lang.Object languageCode_ = ""; /** + * + * *
      * Optional. The BCP-47 language code, such as "en-US".  If specified, the
      * response is localized to the corresponding language code if the
@@ -1068,13 +1204,13 @@ public Builder setFilterBytes(
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -1083,6 +1219,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Optional. The BCP-47 language code, such as "en-US".  If specified, the
      * response is localized to the corresponding language code if the
@@ -1091,15 +1229,14 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -1107,6 +1244,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Optional. The BCP-47 language code, such as "en-US".  If specified, the
      * response is localized to the corresponding language code if the
@@ -1115,20 +1254,22 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode( - java.lang.String value) { + public Builder setLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The BCP-47 language code, such as "en-US".  If specified, the
      * response is localized to the corresponding language code if the
@@ -1137,15 +1278,18 @@ public Builder setLanguageCode(
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** + * + * *
      * Optional. The BCP-47 language code, such as "en-US".  If specified, the
      * response is localized to the corresponding language code if the
@@ -1154,23 +1298,23 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = 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); } @@ -1180,12 +1324,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.RunReportJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.RunReportJobRequest) private static final com.google.cloud.channel.v1.RunReportJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.RunReportJobRequest(); } @@ -1194,27 +1338,27 @@ public static com.google.cloud.channel.v1.RunReportJobRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunReportJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunReportJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1229,6 +1373,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.RunReportJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobRequestOrBuilder.java index 293eac4cd9ac..8f4f48ac5ab0 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobRequestOrBuilder.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/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; -public interface RunReportJobRequestOrBuilder extends +public interface RunReportJobRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.RunReportJobRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The report's resource name. Specifies the account and report used
    * to generate report data. The report_id identifier is a UID (for example,
@@ -16,11 +34,16 @@ public interface RunReportJobRequestOrBuilder extends
    * accounts/{account_id}/reports/{report_id}
    * 
* - * string name = 1 [(.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 report's resource name. Specifies the account and report used
    * to generate report data. The report_id identifier is a UID (for example,
@@ -29,40 +52,58 @@ public interface RunReportJobRequestOrBuilder extends
    * accounts/{account_id}/reports/{report_id}
    * 
* - * string name = 1 [(.google.api.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(); /** + * + * *
    * Optional. The range of usage or invoice dates to include in the result.
    * 
* - * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the dateRange field is set. */ boolean hasDateRange(); /** + * + * *
    * Optional. The range of usage or invoice dates to include in the result.
    * 
* - * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The dateRange. */ com.google.cloud.channel.v1.DateRange getDateRange(); /** + * + * *
    * Optional. The range of usage or invoice dates to include in the result.
    * 
* - * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.channel.v1.DateRange date_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.channel.v1.DateRangeOrBuilder getDateRangeOrBuilder(); /** + * + * *
    * Optional. A structured string that defines conditions on dimension columns
    * to restrict the report output.
@@ -75,10 +116,13 @@ public interface RunReportJobRequestOrBuilder extends
    * 
* * string filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. A structured string that defines conditions on dimension columns
    * to restrict the report output.
@@ -91,12 +135,14 @@ public interface RunReportJobRequestOrBuilder extends
    * 
* * string filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. The BCP-47 language code, such as "en-US".  If specified, the
    * response is localized to the corresponding language code if the
@@ -105,10 +151,13 @@ public interface RunReportJobRequestOrBuilder extends
    * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ java.lang.String getLanguageCode(); /** + * + * *
    * Optional. The BCP-47 language code, such as "en-US".  If specified, the
    * response is localized to the corresponding language code if the
@@ -117,8 +166,8 @@ public interface RunReportJobRequestOrBuilder extends
    * 
* * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString - getLanguageCodeBytes(); + com.google.protobuf.ByteString getLanguageCodeBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobResponse.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobResponse.java similarity index 71% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobResponse.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobResponse.java index 3a0f9f067ccc..50c55e969dde 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobResponse.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobResponse.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/cloud/channel/v1/reports_service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Response message for
  * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
@@ -11,46 +28,49 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.RunReportJobResponse}
  */
-public final class RunReportJobResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RunReportJobResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.RunReportJobResponse)
     RunReportJobResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RunReportJobResponse.newBuilder() to construct.
   private RunReportJobResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RunReportJobResponse() {
-  }
+
+  private RunReportJobResponse() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RunReportJobResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_RunReportJobResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ReportsServiceProto
+        .internal_static_google_cloud_channel_v1_RunReportJobResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_RunReportJobResponse_fieldAccessorTable
+    return com.google.cloud.channel.v1.ReportsServiceProto
+        .internal_static_google_cloud_channel_v1_RunReportJobResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.RunReportJobResponse.class, com.google.cloud.channel.v1.RunReportJobResponse.Builder.class);
+            com.google.cloud.channel.v1.RunReportJobResponse.class,
+            com.google.cloud.channel.v1.RunReportJobResponse.Builder.class);
   }
 
   public static final int REPORT_JOB_FIELD_NUMBER = 1;
   private com.google.cloud.channel.v1.ReportJob reportJob_;
   /**
+   *
+   *
    * 
    * Pass `report_job.name` to
    * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
@@ -58,6 +78,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.cloud.channel.v1.ReportJob report_job = 1; + * * @return Whether the reportJob field is set. */ @java.lang.Override @@ -65,6 +86,8 @@ public boolean hasReportJob() { return reportJob_ != null; } /** + * + * *
    * Pass `report_job.name` to
    * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
@@ -72,13 +95,18 @@ public boolean hasReportJob() {
    * 
* * .google.cloud.channel.v1.ReportJob report_job = 1; + * * @return The reportJob. */ @java.lang.Override public com.google.cloud.channel.v1.ReportJob getReportJob() { - return reportJob_ == null ? com.google.cloud.channel.v1.ReportJob.getDefaultInstance() : reportJob_; + return reportJob_ == null + ? com.google.cloud.channel.v1.ReportJob.getDefaultInstance() + : reportJob_; } /** + * + * *
    * Pass `report_job.name` to
    * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
@@ -95,6 +123,8 @@ public com.google.cloud.channel.v1.ReportJobOrBuilder getReportJobOrBuilder() {
   public static final int REPORT_METADATA_FIELD_NUMBER = 2;
   private com.google.cloud.channel.v1.ReportResultsMetadata reportMetadata_;
   /**
+   *
+   *
    * 
    * The metadata for the report's results (display name, columns, row count,
    * and date range). If you view this before the operation finishes,
@@ -102,6 +132,7 @@ public com.google.cloud.channel.v1.ReportJobOrBuilder getReportJobOrBuilder() {
    * 
* * .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 2; + * * @return Whether the reportMetadata field is set. */ @java.lang.Override @@ -109,6 +140,8 @@ public boolean hasReportMetadata() { return reportMetadata_ != null; } /** + * + * *
    * The metadata for the report's results (display name, columns, row count,
    * and date range). If you view this before the operation finishes,
@@ -116,13 +149,18 @@ public boolean hasReportMetadata() {
    * 
* * .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 2; + * * @return The reportMetadata. */ @java.lang.Override public com.google.cloud.channel.v1.ReportResultsMetadata getReportMetadata() { - return reportMetadata_ == null ? com.google.cloud.channel.v1.ReportResultsMetadata.getDefaultInstance() : reportMetadata_; + return reportMetadata_ == null + ? com.google.cloud.channel.v1.ReportResultsMetadata.getDefaultInstance() + : reportMetadata_; } /** + * + * *
    * The metadata for the report's results (display name, columns, row count,
    * and date range). If you view this before the operation finishes,
@@ -137,6 +175,7 @@ public com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder getReportMetad
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -148,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 (reportJob_ != null) {
       output.writeMessage(1, getReportJob());
     }
@@ -166,12 +204,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (reportJob_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getReportJob());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReportJob());
     }
     if (reportMetadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getReportMetadata());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReportMetadata());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -181,22 +217,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.cloud.channel.v1.RunReportJobResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.channel.v1.RunReportJobResponse other = (com.google.cloud.channel.v1.RunReportJobResponse) obj;
+    com.google.cloud.channel.v1.RunReportJobResponse other =
+        (com.google.cloud.channel.v1.RunReportJobResponse) obj;
 
     if (hasReportJob() != other.hasReportJob()) return false;
     if (hasReportJob()) {
-      if (!getReportJob()
-          .equals(other.getReportJob())) return false;
+      if (!getReportJob().equals(other.getReportJob())) return false;
     }
     if (hasReportMetadata() != other.hasReportMetadata()) return false;
     if (hasReportMetadata()) {
-      if (!getReportMetadata()
-          .equals(other.getReportMetadata())) return false;
+      if (!getReportMetadata().equals(other.getReportMetadata())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -222,97 +257,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.channel.v1.RunReportJobResponse parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.channel.v1.RunReportJobResponse parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.channel.v1.RunReportJobResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.RunReportJobResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.channel.v1.RunReportJobResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.RunReportJobResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.channel.v1.RunReportJobResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.channel.v1.RunReportJobResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.channel.v1.RunReportJobResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.channel.v1.RunReportJobResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.channel.v1.RunReportJobResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.channel.v1.RunReportJobResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.channel.v1.RunReportJobResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.RunReportJobResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.channel.v1.RunReportJobResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.channel.v1.RunReportJobResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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
    * [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
@@ -320,33 +362,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.RunReportJobResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.RunReportJobResponse)
       com.google.cloud.channel.v1.RunReportJobResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_RunReportJobResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ReportsServiceProto
+          .internal_static_google_cloud_channel_v1_RunReportJobResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_RunReportJobResponse_fieldAccessorTable
+      return com.google.cloud.channel.v1.ReportsServiceProto
+          .internal_static_google_cloud_channel_v1_RunReportJobResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.RunReportJobResponse.class, com.google.cloud.channel.v1.RunReportJobResponse.Builder.class);
+              com.google.cloud.channel.v1.RunReportJobResponse.class,
+              com.google.cloud.channel.v1.RunReportJobResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.RunReportJobResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -366,9 +407,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ReportsServiceProto.internal_static_google_cloud_channel_v1_RunReportJobResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ReportsServiceProto
+          .internal_static_google_cloud_channel_v1_RunReportJobResponse_descriptor;
     }
 
     @java.lang.Override
@@ -387,7 +428,8 @@ public com.google.cloud.channel.v1.RunReportJobResponse build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.RunReportJobResponse buildPartial() {
-      com.google.cloud.channel.v1.RunReportJobResponse result = new com.google.cloud.channel.v1.RunReportJobResponse(this);
+      com.google.cloud.channel.v1.RunReportJobResponse result =
+          new com.google.cloud.channel.v1.RunReportJobResponse(this);
       if (reportJobBuilder_ == null) {
         result.reportJob_ = reportJob_;
       } else {
@@ -406,38 +448,39 @@ public com.google.cloud.channel.v1.RunReportJobResponse 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.cloud.channel.v1.RunReportJobResponse) {
-        return mergeFrom((com.google.cloud.channel.v1.RunReportJobResponse)other);
+        return mergeFrom((com.google.cloud.channel.v1.RunReportJobResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -445,7 +488,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.RunReportJobResponse other) {
-      if (other == com.google.cloud.channel.v1.RunReportJobResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.RunReportJobResponse.getDefaultInstance())
+        return this;
       if (other.hasReportJob()) {
         mergeReportJob(other.getReportJob());
       }
@@ -478,26 +522,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getReportJobFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getReportMetadataFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getReportJobFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getReportMetadataFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -510,8 +553,13 @@ public Builder mergeFrom(
 
     private com.google.cloud.channel.v1.ReportJob reportJob_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.channel.v1.ReportJob, com.google.cloud.channel.v1.ReportJob.Builder, com.google.cloud.channel.v1.ReportJobOrBuilder> reportJobBuilder_;
+            com.google.cloud.channel.v1.ReportJob,
+            com.google.cloud.channel.v1.ReportJob.Builder,
+            com.google.cloud.channel.v1.ReportJobOrBuilder>
+        reportJobBuilder_;
     /**
+     *
+     *
      * 
      * Pass `report_job.name` to
      * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
@@ -519,12 +567,15 @@ public Builder mergeFrom(
      * 
* * .google.cloud.channel.v1.ReportJob report_job = 1; + * * @return Whether the reportJob field is set. */ public boolean hasReportJob() { return reportJobBuilder_ != null || reportJob_ != null; } /** + * + * *
      * Pass `report_job.name` to
      * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
@@ -532,16 +583,21 @@ public boolean hasReportJob() {
      * 
* * .google.cloud.channel.v1.ReportJob report_job = 1; + * * @return The reportJob. */ public com.google.cloud.channel.v1.ReportJob getReportJob() { if (reportJobBuilder_ == null) { - return reportJob_ == null ? com.google.cloud.channel.v1.ReportJob.getDefaultInstance() : reportJob_; + return reportJob_ == null + ? com.google.cloud.channel.v1.ReportJob.getDefaultInstance() + : reportJob_; } else { return reportJobBuilder_.getMessage(); } } /** + * + * *
      * Pass `report_job.name` to
      * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
@@ -564,6 +620,8 @@ public Builder setReportJob(com.google.cloud.channel.v1.ReportJob value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Pass `report_job.name` to
      * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
@@ -572,8 +630,7 @@ public Builder setReportJob(com.google.cloud.channel.v1.ReportJob value) {
      *
      * .google.cloud.channel.v1.ReportJob report_job = 1;
      */
-    public Builder setReportJob(
-        com.google.cloud.channel.v1.ReportJob.Builder builderForValue) {
+    public Builder setReportJob(com.google.cloud.channel.v1.ReportJob.Builder builderForValue) {
       if (reportJobBuilder_ == null) {
         reportJob_ = builderForValue.build();
         onChanged();
@@ -584,6 +641,8 @@ public Builder setReportJob(
       return this;
     }
     /**
+     *
+     *
      * 
      * Pass `report_job.name` to
      * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
@@ -596,7 +655,9 @@ public Builder mergeReportJob(com.google.cloud.channel.v1.ReportJob value) {
       if (reportJobBuilder_ == null) {
         if (reportJob_ != null) {
           reportJob_ =
-            com.google.cloud.channel.v1.ReportJob.newBuilder(reportJob_).mergeFrom(value).buildPartial();
+              com.google.cloud.channel.v1.ReportJob.newBuilder(reportJob_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           reportJob_ = value;
         }
@@ -608,6 +669,8 @@ public Builder mergeReportJob(com.google.cloud.channel.v1.ReportJob value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Pass `report_job.name` to
      * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
@@ -628,6 +691,8 @@ public Builder clearReportJob() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Pass `report_job.name` to
      * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
@@ -637,11 +702,13 @@ public Builder clearReportJob() {
      * .google.cloud.channel.v1.ReportJob report_job = 1;
      */
     public com.google.cloud.channel.v1.ReportJob.Builder getReportJobBuilder() {
-      
+
       onChanged();
       return getReportJobFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Pass `report_job.name` to
      * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
@@ -654,11 +721,14 @@ public com.google.cloud.channel.v1.ReportJobOrBuilder getReportJobOrBuilder() {
       if (reportJobBuilder_ != null) {
         return reportJobBuilder_.getMessageOrBuilder();
       } else {
-        return reportJob_ == null ?
-            com.google.cloud.channel.v1.ReportJob.getDefaultInstance() : reportJob_;
+        return reportJob_ == null
+            ? com.google.cloud.channel.v1.ReportJob.getDefaultInstance()
+            : reportJob_;
       }
     }
     /**
+     *
+     *
      * 
      * Pass `report_job.name` to
      * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
@@ -668,14 +738,17 @@ public com.google.cloud.channel.v1.ReportJobOrBuilder getReportJobOrBuilder() {
      * .google.cloud.channel.v1.ReportJob report_job = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.channel.v1.ReportJob, com.google.cloud.channel.v1.ReportJob.Builder, com.google.cloud.channel.v1.ReportJobOrBuilder> 
+            com.google.cloud.channel.v1.ReportJob,
+            com.google.cloud.channel.v1.ReportJob.Builder,
+            com.google.cloud.channel.v1.ReportJobOrBuilder>
         getReportJobFieldBuilder() {
       if (reportJobBuilder_ == null) {
-        reportJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.channel.v1.ReportJob, com.google.cloud.channel.v1.ReportJob.Builder, com.google.cloud.channel.v1.ReportJobOrBuilder>(
-                getReportJob(),
-                getParentForChildren(),
-                isClean());
+        reportJobBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.channel.v1.ReportJob,
+                com.google.cloud.channel.v1.ReportJob.Builder,
+                com.google.cloud.channel.v1.ReportJobOrBuilder>(
+                getReportJob(), getParentForChildren(), isClean());
         reportJob_ = null;
       }
       return reportJobBuilder_;
@@ -683,8 +756,13 @@ public com.google.cloud.channel.v1.ReportJobOrBuilder getReportJobOrBuilder() {
 
     private com.google.cloud.channel.v1.ReportResultsMetadata reportMetadata_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.channel.v1.ReportResultsMetadata, com.google.cloud.channel.v1.ReportResultsMetadata.Builder, com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder> reportMetadataBuilder_;
+            com.google.cloud.channel.v1.ReportResultsMetadata,
+            com.google.cloud.channel.v1.ReportResultsMetadata.Builder,
+            com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder>
+        reportMetadataBuilder_;
     /**
+     *
+     *
      * 
      * The metadata for the report's results (display name, columns, row count,
      * and date range). If you view this before the operation finishes,
@@ -692,12 +770,15 @@ public com.google.cloud.channel.v1.ReportJobOrBuilder getReportJobOrBuilder() {
      * 
* * .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 2; + * * @return Whether the reportMetadata field is set. */ public boolean hasReportMetadata() { return reportMetadataBuilder_ != null || reportMetadata_ != null; } /** + * + * *
      * The metadata for the report's results (display name, columns, row count,
      * and date range). If you view this before the operation finishes,
@@ -705,16 +786,21 @@ public boolean hasReportMetadata() {
      * 
* * .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 2; + * * @return The reportMetadata. */ public com.google.cloud.channel.v1.ReportResultsMetadata getReportMetadata() { if (reportMetadataBuilder_ == null) { - return reportMetadata_ == null ? com.google.cloud.channel.v1.ReportResultsMetadata.getDefaultInstance() : reportMetadata_; + return reportMetadata_ == null + ? com.google.cloud.channel.v1.ReportResultsMetadata.getDefaultInstance() + : reportMetadata_; } else { return reportMetadataBuilder_.getMessage(); } } /** + * + * *
      * The metadata for the report's results (display name, columns, row count,
      * and date range). If you view this before the operation finishes,
@@ -737,6 +823,8 @@ public Builder setReportMetadata(com.google.cloud.channel.v1.ReportResultsMetada
       return this;
     }
     /**
+     *
+     *
      * 
      * The metadata for the report's results (display name, columns, row count,
      * and date range). If you view this before the operation finishes,
@@ -757,6 +845,8 @@ public Builder setReportMetadata(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metadata for the report's results (display name, columns, row count,
      * and date range). If you view this before the operation finishes,
@@ -769,7 +859,9 @@ public Builder mergeReportMetadata(com.google.cloud.channel.v1.ReportResultsMeta
       if (reportMetadataBuilder_ == null) {
         if (reportMetadata_ != null) {
           reportMetadata_ =
-            com.google.cloud.channel.v1.ReportResultsMetadata.newBuilder(reportMetadata_).mergeFrom(value).buildPartial();
+              com.google.cloud.channel.v1.ReportResultsMetadata.newBuilder(reportMetadata_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           reportMetadata_ = value;
         }
@@ -781,6 +873,8 @@ public Builder mergeReportMetadata(com.google.cloud.channel.v1.ReportResultsMeta
       return this;
     }
     /**
+     *
+     *
      * 
      * The metadata for the report's results (display name, columns, row count,
      * and date range). If you view this before the operation finishes,
@@ -801,6 +895,8 @@ public Builder clearReportMetadata() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The metadata for the report's results (display name, columns, row count,
      * and date range). If you view this before the operation finishes,
@@ -810,11 +906,13 @@ public Builder clearReportMetadata() {
      * .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 2;
      */
     public com.google.cloud.channel.v1.ReportResultsMetadata.Builder getReportMetadataBuilder() {
-      
+
       onChanged();
       return getReportMetadataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The metadata for the report's results (display name, columns, row count,
      * and date range). If you view this before the operation finishes,
@@ -827,11 +925,14 @@ public com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder getReportMetad
       if (reportMetadataBuilder_ != null) {
         return reportMetadataBuilder_.getMessageOrBuilder();
       } else {
-        return reportMetadata_ == null ?
-            com.google.cloud.channel.v1.ReportResultsMetadata.getDefaultInstance() : reportMetadata_;
+        return reportMetadata_ == null
+            ? com.google.cloud.channel.v1.ReportResultsMetadata.getDefaultInstance()
+            : reportMetadata_;
       }
     }
     /**
+     *
+     *
      * 
      * The metadata for the report's results (display name, columns, row count,
      * and date range). If you view this before the operation finishes,
@@ -841,21 +942,24 @@ public com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder getReportMetad
      * .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.channel.v1.ReportResultsMetadata, com.google.cloud.channel.v1.ReportResultsMetadata.Builder, com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder> 
+            com.google.cloud.channel.v1.ReportResultsMetadata,
+            com.google.cloud.channel.v1.ReportResultsMetadata.Builder,
+            com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder>
         getReportMetadataFieldBuilder() {
       if (reportMetadataBuilder_ == null) {
-        reportMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.channel.v1.ReportResultsMetadata, com.google.cloud.channel.v1.ReportResultsMetadata.Builder, com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder>(
-                getReportMetadata(),
-                getParentForChildren(),
-                isClean());
+        reportMetadataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.channel.v1.ReportResultsMetadata,
+                com.google.cloud.channel.v1.ReportResultsMetadata.Builder,
+                com.google.cloud.channel.v1.ReportResultsMetadataOrBuilder>(
+                getReportMetadata(), getParentForChildren(), isClean());
         reportMetadata_ = null;
       }
       return reportMetadataBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -865,12 +969,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.RunReportJobResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.RunReportJobResponse)
   private static final com.google.cloud.channel.v1.RunReportJobResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.channel.v1.RunReportJobResponse();
   }
@@ -879,27 +983,27 @@ public static com.google.cloud.channel.v1.RunReportJobResponse getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public RunReportJobResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public RunReportJobResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -914,6 +1018,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.channel.v1.RunReportJobResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobResponseOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobResponseOrBuilder.java
similarity index 77%
rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobResponseOrBuilder.java
rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobResponseOrBuilder.java
index ff348b24ac4d..e0058e0c8237 100644
--- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobResponseOrBuilder.java
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RunReportJobResponseOrBuilder.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/cloud/channel/v1/reports_service.proto
 
 package com.google.cloud.channel.v1;
 
-public interface RunReportJobResponseOrBuilder extends
+public interface RunReportJobResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.RunReportJobResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Pass `report_job.name` to
    * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
@@ -15,10 +33,13 @@ public interface RunReportJobResponseOrBuilder extends
    * 
* * .google.cloud.channel.v1.ReportJob report_job = 1; + * * @return Whether the reportJob field is set. */ boolean hasReportJob(); /** + * + * *
    * Pass `report_job.name` to
    * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
@@ -26,10 +47,13 @@ public interface RunReportJobResponseOrBuilder extends
    * 
* * .google.cloud.channel.v1.ReportJob report_job = 1; + * * @return The reportJob. */ com.google.cloud.channel.v1.ReportJob getReportJob(); /** + * + * *
    * Pass `report_job.name` to
    * [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
@@ -41,6 +65,8 @@ public interface RunReportJobResponseOrBuilder extends
   com.google.cloud.channel.v1.ReportJobOrBuilder getReportJobOrBuilder();
 
   /**
+   *
+   *
    * 
    * The metadata for the report's results (display name, columns, row count,
    * and date range). If you view this before the operation finishes,
@@ -48,10 +74,13 @@ public interface RunReportJobResponseOrBuilder extends
    * 
* * .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 2; + * * @return Whether the reportMetadata field is set. */ boolean hasReportMetadata(); /** + * + * *
    * The metadata for the report's results (display name, columns, row count,
    * and date range). If you view this before the operation finishes,
@@ -59,10 +88,13 @@ public interface RunReportJobResponseOrBuilder extends
    * 
* * .google.cloud.channel.v1.ReportResultsMetadata report_metadata = 2; + * * @return The reportMetadata. */ com.google.cloud.channel.v1.ReportResultsMetadata getReportMetadata(); /** + * + * *
    * The metadata for the report's results (display name, columns, row count,
    * and date range). If you view this before the operation finishes,
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java
new file mode 100644
index 000000000000..316eda36c5ec
--- /dev/null
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java
@@ -0,0 +1,1467 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/channel/v1/service.proto
+
+package com.google.cloud.channel.v1;
+
+public final class ServiceProto {
+  private ServiceProto() {}
+
+  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_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ListCustomersRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListCustomersRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ListCustomersResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListCustomersResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_GetCustomerRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_GetCustomerRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_CreateCustomerRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_CreateCustomerRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_UpdateCustomerRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_UpdateCustomerRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_DeleteCustomerRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_DeleteCustomerRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ImportCustomerRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ImportCustomerRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ListEntitlementsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListEntitlementsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ListEntitlementsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListEntitlementsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_TransferableOffer_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_TransferableOffer_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_GetEntitlementRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_GetEntitlementRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_CreateEntitlementRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_CreateEntitlementRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ChangeParametersRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ChangeParametersRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ChangeOfferRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ChangeOfferRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_StartPaidServiceRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_StartPaidServiceRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_CancelEntitlementRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_CancelEntitlementRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_LookupOfferRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_LookupOfferRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ListProductsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListProductsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ListProductsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListProductsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ListSkusRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListSkusRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ListSkusResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListSkusResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ListOffersRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListOffersRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ListOffersResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListOffersResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_PurchasableSku_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_PurchasableSku_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_PurchasableOffer_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_PurchasableOffer_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ListSubscribersRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListSubscribersRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_channel_v1_ListSubscribersResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_channel_v1_ListSubscribersResponse_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/cloud/channel/v1/service.proto\022"
+          + "\027google.cloud.channel.v1\032\034google/api/ann"
+          + "otations.proto\032\027google/api/client.proto\032"
+          + "\037google/api/field_behavior.proto\032\031google"
+          + "/api/resource.proto\0323google/cloud/channe"
+          + "l/v1/channel_partner_links.proto\032$google"
+          + "/cloud/channel/v1/common.proto\032\'google/c"
+          + "loud/channel/v1/customers.proto\032*google/"
+          + "cloud/channel/v1/entitlements.proto\032$goo"
+          + "gle/cloud/channel/v1/offers.proto\032&googl"
+          + "e/cloud/channel/v1/products.proto\032\'googl"
+          + "e/cloud/channel/v1/repricing.proto\032#goog"
+          + "le/longrunning/operations.proto\032\033google/"
+          + "protobuf/empty.proto\032 google/protobuf/fi"
+          + "eld_mask.proto\"R\n&CheckCloudIdentityAcco"
+          + "untsExistRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\023\n"
+          + "\006domain\030\002 \001(\tB\003\340A\002\"z\n\034CloudIdentityCusto"
+          + "merAccount\022\020\n\010existing\030\001 \001(\010\022\r\n\005owned\030\002 "
+          + "\001(\010\022\025\n\rcustomer_name\030\003 \001(\t\022\"\n\032customer_c"
+          + "loud_identity_id\030\004 \001(\t\"\201\001\n\'CheckCloudIde"
+          + "ntityAccountsExistResponse\022V\n\027cloud_iden"
+          + "tity_accounts\030\001 \003(\01325.google.cloud.chann"
+          + "el.v1.CloudIdentityCustomerAccount\"q\n\024Li"
+          + "stCustomersRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022"
+          + "\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 "
+          + "\001(\tB\003\340A\001\022\023\n\006filter\030\004 \001(\tB\003\340A\001\"f\n\025ListCus"
+          + "tomersResponse\0224\n\tcustomers\030\001 \003(\0132!.goog"
+          + "le.cloud.channel.v1.Customer\022\027\n\017next_pag"
+          + "e_token\030\002 \001(\t\"P\n\022GetCustomerRequest\022:\n\004n"
+          + "ame\030\001 \001(\tB,\340A\002\372A&\n$cloudchannel.googleap"
+          + "is.com/Customer\"f\n\025CreateCustomerRequest"
+          + "\022\023\n\006parent\030\001 \001(\tB\003\340A\002\0228\n\010customer\030\002 \001(\0132"
+          + "!.google.cloud.channel.v1.CustomerB\003\340A\002\""
+          + "\202\001\n\025UpdateCustomerRequest\0228\n\010customer\030\002 "
+          + "\001(\0132!.google.cloud.channel.v1.CustomerB\003"
+          + "\340A\002\022/\n\013update_mask\030\003 \001(\0132\032.google.protob"
+          + "uf.FieldMask\"S\n\025DeleteCustomerRequest\022:\n"
+          + "\004name\030\001 \001(\tB,\340A\002\372A&\n$cloudchannel.google"
+          + "apis.com/Customer\"\226\002\n\025ImportCustomerRequ"
+          + "est\022\025\n\006domain\030\002 \001(\tB\003\340A\002H\000\022 \n\021cloud_iden"
+          + "tity_id\030\003 \001(\tB\003\340A\002H\000\022\023\n\006parent\030\001 \001(\tB\003\340A"
+          + "\002\022\027\n\nauth_token\030\004 \001(\tB\003\340A\001\022 \n\023overwrite_"
+          + "if_exists\030\005 \001(\010B\003\340A\002\022\037\n\022channel_partner_"
+          + "id\030\006 \001(\tB\003\340A\001\022>\n\010customer\030\007 \001(\tB,\340A\001\372A&\n"
+          + "$cloudchannel.googleapis.com/CustomerB\023\n"
+          + "\021customer_identity\"\361\001\n\035ProvisionCloudIde"
+          + "ntityRequest\022>\n\010customer\030\001 \001(\tB,\340A\002\372A&\n$"
+          + "cloudchannel.googleapis.com/Customer\022G\n\023"
+          + "cloud_identity_info\030\002 \001(\0132*.google.cloud"
+          + ".channel.v1.CloudIdentityInfo\0220\n\004user\030\003 "
+          + "\001(\0132\".google.cloud.channel.v1.AdminUser\022"
+          + "\025\n\rvalidate_only\030\004 \001(\010\"\210\001\n\027ListEntitleme"
+          + "ntsRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$clou"
+          + "dchannel.googleapis.com/Customer\022\026\n\tpage"
+          + "_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A"
+          + "\001\"o\n\030ListEntitlementsResponse\022:\n\014entitle"
+          + "ments\030\001 \003(\0132$.google.cloud.channel.v1.En"
+          + "titlement\022\027\n\017next_page_token\030\002 \001(\t\"\340\001\n\033L"
+          + "istTransferableSkusRequest\022\033\n\021cloud_iden"
+          + "tity_id\030\004 \001(\tH\000\022\027\n\rcustomer_name\030\007 \001(\tH\000"
+          + "\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005"
+          + "\022\022\n\npage_token\030\003 \001(\t\022\027\n\nauth_token\030\005 \001(\t"
+          + "B\003\340A\001\022\025\n\rlanguage_code\030\006 \001(\tB\037\n\035transfer"
+          + "red_customer_identity\"|\n\034ListTransferabl"
+          + "eSkusResponse\022C\n\021transferable_skus\030\001 \003(\013"
+          + "2(.google.cloud.channel.v1.TransferableS"
+          + "ku\022\027\n\017next_page_token\030\002 \001(\t\"\340\001\n\035ListTran"
+          + "sferableOffersRequest\022\033\n\021cloud_identity_"
+          + "id\030\004 \001(\tH\000\022\027\n\rcustomer_name\030\005 \001(\tH\000\022\023\n\006p"
+          + "arent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np"
+          + "age_token\030\003 \001(\t\022\020\n\003sku\030\006 \001(\tB\003\340A\002\022\032\n\rlan"
+          + "guage_code\030\007 \001(\tB\003\340A\001B\037\n\035transferred_cus"
+          + "tomer_identity\"\202\001\n\036ListTransferableOffer"
+          + "sResponse\022G\n\023transferable_offers\030\001 \003(\0132*"
+          + ".google.cloud.channel.v1.TransferableOff"
+          + "er\022\027\n\017next_page_token\030\002 \001(\t\"B\n\021Transfera"
+          + "bleOffer\022-\n\005offer\030\001 \001(\0132\036.google.cloud.c"
+          + "hannel.v1.Offer\"V\n\025GetEntitlementRequest"
+          + "\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'cloudchannel.goo"
+          + "gleapis.com/Entitlement\"\252\001\n\036ListChannelP"
+          + "artnerLinksRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022"
+          + "\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 "
+          + "\001(\tB\003\340A\001\022B\n\004view\030\004 \001(\0162/.google.cloud.ch"
+          + "annel.v1.ChannelPartnerLinkViewB\003\340A\001\"\206\001\n"
+          + "\037ListChannelPartnerLinksResponse\022J\n\025chan"
+          + "nel_partner_links\030\001 \003(\0132+.google.cloud.c"
+          + "hannel.v1.ChannelPartnerLink\022\027\n\017next_pag"
+          + "e_token\030\002 \001(\t\"u\n\034GetChannelPartnerLinkRe"
+          + "quest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022B\n\004view\030\002 \001(\0162/"
+          + ".google.cloud.channel.v1.ChannelPartnerL"
+          + "inkViewB\003\340A\001\"\206\001\n\037CreateChannelPartnerLin"
+          + "kRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022N\n\024channel"
+          + "_partner_link\030\002 \001(\0132+.google.cloud.chann"
+          + "el.v1.ChannelPartnerLinkB\003\340A\002\"\272\001\n\037Update"
+          + "ChannelPartnerLinkRequest\022\021\n\004name\030\001 \001(\tB"
+          + "\003\340A\002\022N\n\024channel_partner_link\030\002 \001(\0132+.goo"
+          + "gle.cloud.channel.v1.ChannelPartnerLinkB"
+          + "\003\340A\002\0224\n\013update_mask\030\003 \001(\0132\032.google.proto"
+          + "buf.FieldMaskB\003\340A\002\"n\n!GetCustomerReprici"
+          + "ngConfigRequest\022I\n\004name\030\001 \001(\tB;\340A\002\372A5\n3c"
+          + "loudchannel.googleapis.com/CustomerRepri"
+          + "cingConfig\"\251\001\n#ListCustomerRepricingConf"
+          + "igsRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$clou"
+          + "dchannel.googleapis.com/Customer\022\026\n\tpage"
+          + "_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A"
+          + "\001\022\023\n\006filter\030\004 \001(\tB\003\340A\001\"\225\001\n$ListCustomerR"
+          + "epricingConfigsResponse\022T\n\032customer_repr"
+          + "icing_configs\030\001 \003(\01320.google.cloud.chann"
+          + "el.v1.CustomerRepricingConfig\022\027\n\017next_pa"
+          + "ge_token\030\002 \001(\t\"\276\001\n$CreateCustomerReprici"
+          + "ngConfigRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n"
+          + "$cloudchannel.googleapis.com/Customer\022X\n"
+          + "\031customer_repricing_config\030\002 \001(\01320.googl"
+          + "e.cloud.channel.v1.CustomerRepricingConf"
+          + "igB\003\340A\002\"\200\001\n$UpdateCustomerRepricingConfi"
+          + "gRequest\022X\n\031customer_repricing_config\030\001 "
+          + "\001(\01320.google.cloud.channel.v1.CustomerRe"
+          + "pricingConfigB\003\340A\002\"q\n$DeleteCustomerRepr"
+          + "icingConfigRequest\022I\n\004name\030\001 \001(\tB;\340A\002\372A5"
+          + "\n3cloudchannel.googleapis.com/CustomerRe"
+          + "pricingConfig\"z\n\'GetChannelPartnerRepric"
+          + "ingConfigRequest\022O\n\004name\030\001 \001(\tBA\340A\002\372A;\n9"
+          + "cloudchannel.googleapis.com/ChannelPartn"
+          + "erRepricingConfig\"\271\001\n)ListChannelPartner"
+          + "RepricingConfigsRequest\022F\n\006parent\030\001 \001(\tB"
+          + "6\340A\002\372A0\n.cloudchannel.googleapis.com/Cha"
+          + "nnelPartnerLink\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022"
+          + "\027\n\npage_token\030\003 \001(\tB\003\340A\001\022\023\n\006filter\030\004 \001(\t"
+          + "B\003\340A\001\"\250\001\n*ListChannelPartnerRepricingCon"
+          + "figsResponse\022a\n!channel_partner_repricin"
+          + "g_configs\030\001 \003(\01326.google.cloud.channel.v"
+          + "1.ChannelPartnerRepricingConfig\022\027\n\017next_"
+          + "page_token\030\002 \001(\t\"\333\001\n*CreateChannelPartne"
+          + "rRepricingConfigRequest\022F\n\006parent\030\001 \001(\tB"
+          + "6\340A\002\372A0\n.cloudchannel.googleapis.com/Cha"
+          + "nnelPartnerLink\022e\n channel_partner_repri"
+          + "cing_config\030\002 \001(\01326.google.cloud.channel"
+          + ".v1.ChannelPartnerRepricingConfigB\003\340A\002\"\223"
+          + "\001\n*UpdateChannelPartnerRepricingConfigRe"
+          + "quest\022e\n channel_partner_repricing_confi"
+          + "g\030\001 \001(\01326.google.cloud.channel.v1.Channe"
+          + "lPartnerRepricingConfigB\003\340A\002\"}\n*DeleteCh"
+          + "annelPartnerRepricingConfigRequest\022O\n\004na"
+          + "me\030\001 \001(\tBA\340A\002\372A;\n9cloudchannel.googleapi"
+          + "s.com/ChannelPartnerRepricingConfig\"\261\001\n\030"
+          + "CreateEntitlementRequest\022<\n\006parent\030\001 \001(\t"
+          + "B,\340A\002\372A&\n$cloudchannel.googleapis.com/Cu"
+          + "stomer\022>\n\013entitlement\030\002 \001(\0132$.google.clo"
+          + "ud.channel.v1.EntitlementB\003\340A\002\022\027\n\nreques"
+          + "t_id\030\005 \001(\tB\003\340A\001\"\240\001\n\033TransferEntitlements"
+          + "Request\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022?\n\014entitlem"
+          + "ents\030\002 \003(\0132$.google.cloud.channel.v1.Ent"
+          + "itlementB\003\340A\002\022\022\n\nauth_token\030\004 \001(\t\022\027\n\nreq"
+          + "uest_id\030\006 \001(\tB\003\340A\001\"Z\n\034TransferEntitlemen"
+          + "tsResponse\022:\n\014entitlements\030\001 \003(\0132$.googl"
+          + "e.cloud.channel.v1.Entitlement\"\224\001\n#Trans"
+          + "ferEntitlementsToGoogleRequest\022\023\n\006parent"
+          + "\030\001 \001(\tB\003\340A\002\022?\n\014entitlements\030\002 \003(\0132$.goog"
+          + "le.cloud.channel.v1.EntitlementB\003\340A\002\022\027\n\n"
+          + "request_id\030\003 \001(\tB\003\340A\001\"\242\001\n\027ChangeParamete"
+          + "rsRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022;\n\nparamete"
+          + "rs\030\002 \003(\0132\".google.cloud.channel.v1.Param"
+          + "eterB\003\340A\002\022\027\n\nrequest_id\030\004 \001(\tB\003\340A\001\022\036\n\021pu"
+          + "rchase_order_id\030\005 \001(\tB\003\340A\001\"\223\001\n\034ChangeRen"
+          + "ewalSettingsRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022G"
+          + "\n\020renewal_settings\030\004 \001(\0132(.google.cloud."
+          + "channel.v1.RenewalSettingsB\003\340A\002\022\027\n\nreque"
+          + "st_id\030\005 \001(\tB\003\340A\001\"\327\001\n\022ChangeOfferRequest\022"
+          + "\021\n\004name\030\001 \001(\tB\003\340A\002\0228\n\005offer\030\002 \001(\tB)\340A\002\372A"
+          + "#\n!cloudchannel.googleapis.com/Offer\022;\n\n"
+          + "parameters\030\003 \003(\0132\".google.cloud.channel."
+          + "v1.ParameterB\003\340A\001\022\036\n\021purchase_order_id\030\005"
+          + " \001(\tB\003\340A\001\022\027\n\nrequest_id\030\006 \001(\tB\003\340A\001\"E\n\027St"
+          + "artPaidServiceRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002"
+          + "\022\027\n\nrequest_id\030\003 \001(\tB\003\340A\001\"F\n\030CancelEntit"
+          + "lementRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\027\n\nrequ"
+          + "est_id\030\003 \001(\tB\003\340A\001\"G\n\031SuspendEntitlementR"
+          + "equest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\027\n\nrequest_id\030"
+          + "\003 \001(\tB\003\340A\001\"H\n\032ActivateEntitlementRequest"
+          + "\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\027\n\nrequest_id\030\003 \001(\tB"
+          + "\003\340A\001\"Z\n\022LookupOfferRequest\022D\n\013entitlemen"
+          + "t\030\001 \001(\tB/\340A\002\372A)\n\'cloudchannel.googleapis"
+          + ".com/Entitlement\"x\n\023ListProductsRequest\022"
+          + "\024\n\007account\030\001 \001(\tB\003\340A\002\022\026\n\tpage_size\030\002 \001(\005"
+          + "B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\022\032\n\rlangua"
+          + "ge_code\030\004 \001(\tB\003\340A\001\"c\n\024ListProductsRespon"
+          + "se\0222\n\010products\030\001 \003(\0132 .google.cloud.chan"
+          + "nel.v1.Product\022\027\n\017next_page_token\030\002 \001(\t\""
+          + "\261\001\n\017ListSkusRequest\022;\n\006parent\030\001 \001(\tB+\340A\002"
+          + "\372A%\n#cloudchannel.googleapis.com/Product"
+          + "\022\024\n\007account\030\002 \001(\tB\003\340A\002\022\026\n\tpage_size\030\003 \001("
+          + "\005B\003\340A\001\022\027\n\npage_token\030\004 \001(\tB\003\340A\001\022\032\n\rlangu"
+          + "age_code\030\005 \001(\tB\003\340A\001\"W\n\020ListSkusResponse\022"
+          + "*\n\004skus\030\001 \003(\0132\034.google.cloud.channel.v1."
+          + "Sku\022\027\n\017next_page_token\030\002 \001(\t\"\212\001\n\021ListOff"
+          + "ersRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\026\n\tpage_"
+          + "size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001"
+          + "\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\032\n\rlanguage_code\030\005"
+          + " \001(\tB\003\340A\001\"]\n\022ListOffersResponse\022.\n\006offer"
+          + "s\030\001 \003(\0132\036.google.cloud.channel.v1.Offer\022"
+          + "\027\n\017next_page_token\030\002 \001(\t\"\266\005\n\032ListPurchas"
+          + "ableSkusRequest\022t\n\033create_entitlement_pu"
+          + "rchase\030\002 \001(\0132M.google.cloud.channel.v1.L"
+          + "istPurchasableSkusRequest.CreateEntitlem"
+          + "entPurchaseH\000\022h\n\025change_offer_purchase\030\003"
+          + " \001(\0132G.google.cloud.channel.v1.ListPurch"
+          + "asableSkusRequest.ChangeOfferPurchaseH\000\022"
+          + ">\n\010customer\030\001 \001(\tB,\340A\002\372A&\n$cloudchannel."
+          + "googleapis.com/Customer\022\026\n\tpage_size\030\004 \001"
+          + "(\005B\003\340A\001\022\027\n\npage_token\030\005 \001(\tB\003\340A\001\022\032\n\rlang"
+          + "uage_code\030\006 \001(\tB\003\340A\001\0321\n\031CreateEntitlemen"
+          + "tPurchase\022\024\n\007product\030\001 \001(\tB\003\340A\002\032\344\001\n\023Chan"
+          + "geOfferPurchase\022\030\n\013entitlement\030\001 \001(\tB\003\340A"
+          + "\002\022l\n\013change_type\030\002 \001(\0162R.google.cloud.ch"
+          + "annel.v1.ListPurchasableSkusRequest.Chan"
+          + "geOfferPurchase.ChangeTypeB\003\340A\002\"E\n\nChang"
+          + "eType\022\033\n\027CHANGE_TYPE_UNSPECIFIED\020\000\022\013\n\007UP"
+          + "GRADE\020\001\022\r\n\tDOWNGRADE\020\002B\021\n\017purchase_optio"
+          + "n\"y\n\033ListPurchasableSkusResponse\022A\n\020purc"
+          + "hasable_skus\030\001 \003(\0132\'.google.cloud.channe"
+          + "l.v1.PurchasableSku\022\027\n\017next_page_token\030\002"
+          + " \001(\t\";\n\016PurchasableSku\022)\n\003sku\030\001 \001(\0132\034.go"
+          + "ogle.cloud.channel.v1.Sku\"\230\004\n\034ListPurcha"
+          + "sableOffersRequest\022v\n\033create_entitlement"
+          + "_purchase\030\002 \001(\0132O.google.cloud.channel.v"
+          + "1.ListPurchasableOffersRequest.CreateEnt"
+          + "itlementPurchaseH\000\022j\n\025change_offer_purch"
+          + "ase\030\003 \001(\0132I.google.cloud.channel.v1.List"
+          + "PurchasableOffersRequest.ChangeOfferPurc"
+          + "haseH\000\022>\n\010customer\030\001 \001(\tB,\340A\002\372A&\n$cloudc"
+          + "hannel.googleapis.com/Customer\022\026\n\tpage_s"
+          + "ize\030\004 \001(\005B\003\340A\001\022\027\n\npage_token\030\005 \001(\tB\003\340A\001\022"
+          + "\032\n\rlanguage_code\030\006 \001(\tB\003\340A\001\032-\n\031CreateEnt"
+          + "itlementPurchase\022\020\n\003sku\030\001 \001(\tB\003\340A\002\032E\n\023Ch"
+          + "angeOfferPurchase\022\030\n\013entitlement\030\001 \001(\tB\003"
+          + "\340A\002\022\024\n\007new_sku\030\002 \001(\tB\003\340A\001B\021\n\017purchase_op"
+          + "tion\"\177\n\035ListPurchasableOffersResponse\022E\n"
+          + "\022purchasable_offers\030\001 \003(\0132).google.cloud"
+          + ".channel.v1.PurchasableOffer\022\027\n\017next_pag"
+          + "e_token\030\002 \001(\t\"A\n\020PurchasableOffer\022-\n\005off"
+          + "er\030\001 \001(\0132\036.google.cloud.channel.v1.Offer"
+          + "\"O\n\031RegisterSubscriberRequest\022\024\n\007account"
+          + "\030\001 \001(\tB\003\340A\002\022\034\n\017service_account\030\002 \001(\tB\003\340A"
+          + "\002\"+\n\032RegisterSubscriberResponse\022\r\n\005topic"
+          + "\030\001 \001(\t\"Q\n\033UnregisterSubscriberRequest\022\024\n"
+          + "\007account\030\001 \001(\tB\003\340A\002\022\034\n\017service_account\030\002"
+          + " \001(\tB\003\340A\002\"-\n\034UnregisterSubscriberRespons"
+          + "e\022\r\n\005topic\030\001 \001(\t\"_\n\026ListSubscribersReque"
+          + "st\022\024\n\007account\030\001 \001(\tB\003\340A\002\022\026\n\tpage_size\030\002 "
+          + "\001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\"[\n\027Lis"
+          + "tSubscribersResponse\022\r\n\005topic\030\001 \001(\t\022\030\n\020s"
+          + "ervice_accounts\030\002 \003(\t\022\027\n\017next_page_token"
+          + "\030\003 \001(\t2\371K\n\023CloudChannelService\022\324\001\n\rListC"
+          + "ustomers\022-.google.cloud.channel.v1.ListC"
+          + "ustomersRequest\032..google.cloud.channel.v"
+          + "1.ListCustomersResponse\"d\202\323\344\223\002^\022!/v1/{pa"
+          + "rent=accounts/*}/customersZ9\0227/v1/{paren"
+          + "t=accounts/*/channelPartnerLinks/*}/cust"
+          + "omers\022\312\001\n\013GetCustomer\022+.google.cloud.cha"
+          + "nnel.v1.GetCustomerRequest\032!.google.clou"
+          + "d.channel.v1.Customer\"k\202\323\344\223\002^\022!/v1/{name"
+          + "=accounts/*/customers/*}Z9\0227/v1/{name=ac"
+          + "counts/*/channelPartnerLinks/*/customers"
+          + "/*}\332A\004name\022\350\001\n\037CheckCloudIdentityAccount"
+          + "sExist\022?.google.cloud.channel.v1.CheckCl"
+          + "oudIdentityAccountsExistRequest\032@.google"
+          + ".cloud.channel.v1.CheckCloudIdentityAcco"
+          + "untsExistResponse\"B\202\323\344\223\002<\"7/v1/{parent=a"
+          + "ccounts/*}:checkCloudIdentityAccountsExi"
+          + "st:\001*\022\335\001\n\016CreateCustomer\022..google.cloud."
+          + "channel.v1.CreateCustomerRequest\032!.googl"
+          + "e.cloud.channel.v1.Customer\"x\202\323\344\223\002r\"!/v1"
+          + "/{parent=accounts/*}/customers:\010customer"
+          + "ZC\"7/v1/{parent=accounts/*/channelPartne"
+          + "rLinks/*}/customers:\010customer\022\361\001\n\016Update"
+          + "Customer\022..google.cloud.channel.v1.Updat"
+          + "eCustomerRequest\032!.google.cloud.channel."
+          + "v1.Customer\"\213\001\202\323\344\223\002\204\0012*/v1/{customer.nam"
+          + "e=accounts/*/customers/*}:\010customerZL2@/"
+          + "v1/{customer.name=accounts/*/channelPart"
+          + "nerLinks/*/customers/*}:\010customer\022\305\001\n\016De"
+          + "leteCustomer\022..google.cloud.channel.v1.D"
+          + "eleteCustomerRequest\032\026.google.protobuf.E"
+          + "mpty\"k\202\323\344\223\002^*!/v1/{name=accounts/*/custo"
+          + "mers/*}Z9*7/v1/{name=accounts/*/channelP"
+          + "artnerLinks/*/customers/*}\332A\004name\022\335\001\n\016Im"
+          + "portCustomer\022..google.cloud.channel.v1.I"
+          + "mportCustomerRequest\032!.google.cloud.chan"
+          + "nel.v1.Customer\"x\202\323\344\223\002r\"(/v1/{parent=acc"
+          + "ounts/*}/customers:import:\001*ZC\">/v1/{par"
+          + "ent=accounts/*/channelPartnerLinks/*}/cu"
+          + "stomers:import:\001*\022\330\001\n\026ProvisionCloudIden"
+          + "tity\0226.google.cloud.channel.v1.Provision"
+          + "CloudIdentityRequest\032\035.google.longrunnin"
+          + "g.Operation\"g\202\323\344\223\002A\"\"9/v1/{name=accounts/*/custo"
+          + "mers/*/entitlements/*}:activate:\001*\312A \n\013E"
+          + "ntitlement\022\021OperationMetadata\022\344\001\n\024Transf"
+          + "erEntitlements\0224.google.cloud.channel.v1"
+          + ".TransferEntitlementsRequest\032\035.google.lo"
+          + "ngrunning.Operation\"w\202\323\344\223\002=\"8/v1/{parent"
+          + "=accounts/*/customers/*}:transferEntitle"
+          + "ments:\001*\312A1\n\034TransferEntitlementsRespons"
+          + "e\022\021OperationMetadata\022\365\001\n\034TransferEntitle"
+          + "mentsToGoogle\022<.google.cloud.channel.v1."
+          + "TransferEntitlementsToGoogleRequest\032\035.go"
+          + "ogle.longrunning.Operation\"x\202\323\344\223\002E\"@/v1/"
+          + "{parent=accounts/*/customers/*}:transfer"
+          + "EntitlementsToGoogle:\001*\312A*\n\025google.proto"
+          + "buf.Empty\022\021OperationMetadata\022\301\001\n\027ListCha"
+          + "nnelPartnerLinks\0227.google.cloud.channel."
+          + "v1.ListChannelPartnerLinksRequest\0328.goog"
+          + "le.cloud.channel.v1.ListChannelPartnerLi"
+          + "nksResponse\"3\202\323\344\223\002-\022+/v1/{parent=account"
+          + "s/*}/channelPartnerLinks\022\260\001\n\025GetChannelP"
+          + "artnerLink\0225.google.cloud.channel.v1.Get"
+          + "ChannelPartnerLinkRequest\032+.google.cloud"
+          + ".channel.v1.ChannelPartnerLink\"3\202\323\344\223\002-\022+"
+          + "/v1/{name=accounts/*/channelPartnerLinks"
+          + "/*}\022\314\001\n\030CreateChannelPartnerLink\0228.googl"
+          + "e.cloud.channel.v1.CreateChannelPartnerL"
+          + "inkRequest\032+.google.cloud.channel.v1.Cha"
+          + "nnelPartnerLink\"I\202\323\344\223\002C\"+/v1/{parent=acc"
+          + "ounts/*}/channelPartnerLinks:\024channel_pa"
+          + "rtner_link\022\271\001\n\030UpdateChannelPartnerLink\022"
+          + "8.google.cloud.channel.v1.UpdateChannelP"
+          + "artnerLinkRequest\032+.google.cloud.channel"
+          + ".v1.ChannelPartnerLink\"6\202\323\344\223\00202+/v1/{nam"
+          + "e=accounts/*/channelPartnerLinks/*}:\001*\022\327"
+          + "\001\n\032GetCustomerRepricingConfig\022:.google.c"
+          + "loud.channel.v1.GetCustomerRepricingConf"
+          + "igRequest\0320.google.cloud.channel.v1.Cust"
+          + "omerRepricingConfig\"K\202\323\344\223\002>\022\022*google.golang.org/gen"
+          + "proto/googleapis/cloud/channel/v1;channe"
+          + "lb\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.AnnotationsProto.getDescriptor(),
+              com.google.api.ClientProto.getDescriptor(),
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.api.ResourceProto.getDescriptor(),
+              com.google.cloud.channel.v1.ChannelPartnerLinksProto.getDescriptor(),
+              com.google.cloud.channel.v1.CommonProto.getDescriptor(),
+              com.google.cloud.channel.v1.CustomersProto.getDescriptor(),
+              com.google.cloud.channel.v1.EntitlementsProto.getDescriptor(),
+              com.google.cloud.channel.v1.OffersProto.getDescriptor(),
+              com.google.cloud.channel.v1.ProductsProto.getDescriptor(),
+              com.google.cloud.channel.v1.RepricingProto.getDescriptor(),
+              com.google.longrunning.OperationsProto.getDescriptor(),
+              com.google.protobuf.EmptyProto.getDescriptor(),
+              com.google.protobuf.FieldMaskProto.getDescriptor(),
+            });
+    internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "Domain",
+            });
+    internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_descriptor,
+            new java.lang.String[] {
+              "Existing", "Owned", "CustomerName", "CustomerCloudIdentityId",
+            });
+    internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_descriptor,
+            new java.lang.String[] {
+              "CloudIdentityAccounts",
+            });
+    internal_static_google_cloud_channel_v1_ListCustomersRequest_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_channel_v1_ListCustomersRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ListCustomersRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken", "Filter",
+            });
+    internal_static_google_cloud_channel_v1_ListCustomersResponse_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_channel_v1_ListCustomersResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ListCustomersResponse_descriptor,
+            new java.lang.String[] {
+              "Customers", "NextPageToken",
+            });
+    internal_static_google_cloud_channel_v1_GetCustomerRequest_descriptor =
+        getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_channel_v1_GetCustomerRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_GetCustomerRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_channel_v1_CreateCustomerRequest_descriptor =
+        getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_channel_v1_CreateCustomerRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_CreateCustomerRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "Customer",
+            });
+    internal_static_google_cloud_channel_v1_UpdateCustomerRequest_descriptor =
+        getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_channel_v1_UpdateCustomerRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_UpdateCustomerRequest_descriptor,
+            new java.lang.String[] {
+              "Customer", "UpdateMask",
+            });
+    internal_static_google_cloud_channel_v1_DeleteCustomerRequest_descriptor =
+        getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_channel_v1_DeleteCustomerRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_DeleteCustomerRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_channel_v1_ImportCustomerRequest_descriptor =
+        getDescriptor().getMessageTypes().get(9);
+    internal_static_google_cloud_channel_v1_ImportCustomerRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ImportCustomerRequest_descriptor,
+            new java.lang.String[] {
+              "Domain",
+              "CloudIdentityId",
+              "Parent",
+              "AuthToken",
+              "OverwriteIfExists",
+              "ChannelPartnerId",
+              "Customer",
+              "CustomerIdentity",
+            });
+    internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_descriptor =
+        getDescriptor().getMessageTypes().get(10);
+    internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_descriptor,
+            new java.lang.String[] {
+              "Customer", "CloudIdentityInfo", "User", "ValidateOnly",
+            });
+    internal_static_google_cloud_channel_v1_ListEntitlementsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(11);
+    internal_static_google_cloud_channel_v1_ListEntitlementsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ListEntitlementsRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken",
+            });
+    internal_static_google_cloud_channel_v1_ListEntitlementsResponse_descriptor =
+        getDescriptor().getMessageTypes().get(12);
+    internal_static_google_cloud_channel_v1_ListEntitlementsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ListEntitlementsResponse_descriptor,
+            new java.lang.String[] {
+              "Entitlements", "NextPageToken",
+            });
+    internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_descriptor =
+        getDescriptor().getMessageTypes().get(13);
+    internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_descriptor,
+            new java.lang.String[] {
+              "CloudIdentityId",
+              "CustomerName",
+              "Parent",
+              "PageSize",
+              "PageToken",
+              "AuthToken",
+              "LanguageCode",
+              "TransferredCustomerIdentity",
+            });
+    internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_descriptor =
+        getDescriptor().getMessageTypes().get(14);
+    internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_descriptor,
+            new java.lang.String[] {
+              "TransferableSkus", "NextPageToken",
+            });
+    internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_descriptor =
+        getDescriptor().getMessageTypes().get(15);
+    internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_descriptor,
+            new java.lang.String[] {
+              "CloudIdentityId",
+              "CustomerName",
+              "Parent",
+              "PageSize",
+              "PageToken",
+              "Sku",
+              "LanguageCode",
+              "TransferredCustomerIdentity",
+            });
+    internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_descriptor =
+        getDescriptor().getMessageTypes().get(16);
+    internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_descriptor,
+            new java.lang.String[] {
+              "TransferableOffers", "NextPageToken",
+            });
+    internal_static_google_cloud_channel_v1_TransferableOffer_descriptor =
+        getDescriptor().getMessageTypes().get(17);
+    internal_static_google_cloud_channel_v1_TransferableOffer_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_TransferableOffer_descriptor,
+            new java.lang.String[] {
+              "Offer",
+            });
+    internal_static_google_cloud_channel_v1_GetEntitlementRequest_descriptor =
+        getDescriptor().getMessageTypes().get(18);
+    internal_static_google_cloud_channel_v1_GetEntitlementRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_GetEntitlementRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_descriptor =
+        getDescriptor().getMessageTypes().get(19);
+    internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken", "View",
+            });
+    internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_descriptor =
+        getDescriptor().getMessageTypes().get(20);
+    internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_descriptor,
+            new java.lang.String[] {
+              "ChannelPartnerLinks", "NextPageToken",
+            });
+    internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_descriptor =
+        getDescriptor().getMessageTypes().get(21);
+    internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "View",
+            });
+    internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_descriptor =
+        getDescriptor().getMessageTypes().get(22);
+    internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "ChannelPartnerLink",
+            });
+    internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_descriptor =
+        getDescriptor().getMessageTypes().get(23);
+    internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "ChannelPartnerLink", "UpdateMask",
+            });
+    internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_descriptor =
+        getDescriptor().getMessageTypes().get(24);
+    internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(25);
+    internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken", "Filter",
+            });
+    internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_descriptor =
+        getDescriptor().getMessageTypes().get(26);
+    internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_descriptor,
+            new java.lang.String[] {
+              "CustomerRepricingConfigs", "NextPageToken",
+            });
+    internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_descriptor =
+        getDescriptor().getMessageTypes().get(27);
+    internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "CustomerRepricingConfig",
+            });
+    internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_descriptor =
+        getDescriptor().getMessageTypes().get(28);
+    internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_descriptor,
+            new java.lang.String[] {
+              "CustomerRepricingConfig",
+            });
+    internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_descriptor =
+        getDescriptor().getMessageTypes().get(29);
+    internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_descriptor =
+        getDescriptor().getMessageTypes().get(30);
+    internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(31);
+    internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken", "Filter",
+            });
+    internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_descriptor =
+        getDescriptor().getMessageTypes().get(32);
+    internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_descriptor,
+            new java.lang.String[] {
+              "ChannelPartnerRepricingConfigs", "NextPageToken",
+            });
+    internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_descriptor =
+        getDescriptor().getMessageTypes().get(33);
+    internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "ChannelPartnerRepricingConfig",
+            });
+    internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_descriptor =
+        getDescriptor().getMessageTypes().get(34);
+    internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_descriptor,
+            new java.lang.String[] {
+              "ChannelPartnerRepricingConfig",
+            });
+    internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_descriptor =
+        getDescriptor().getMessageTypes().get(35);
+    internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_channel_v1_CreateEntitlementRequest_descriptor =
+        getDescriptor().getMessageTypes().get(36);
+    internal_static_google_cloud_channel_v1_CreateEntitlementRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_CreateEntitlementRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "Entitlement", "RequestId",
+            });
+    internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(37);
+    internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "Entitlements", "AuthToken", "RequestId",
+            });
+    internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_descriptor =
+        getDescriptor().getMessageTypes().get(38);
+    internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_descriptor,
+            new java.lang.String[] {
+              "Entitlements",
+            });
+    internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_descriptor =
+        getDescriptor().getMessageTypes().get(39);
+    internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "Entitlements", "RequestId",
+            });
+    internal_static_google_cloud_channel_v1_ChangeParametersRequest_descriptor =
+        getDescriptor().getMessageTypes().get(40);
+    internal_static_google_cloud_channel_v1_ChangeParametersRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ChangeParametersRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "Parameters", "RequestId", "PurchaseOrderId",
+            });
+    internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(41);
+    internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "RenewalSettings", "RequestId",
+            });
+    internal_static_google_cloud_channel_v1_ChangeOfferRequest_descriptor =
+        getDescriptor().getMessageTypes().get(42);
+    internal_static_google_cloud_channel_v1_ChangeOfferRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ChangeOfferRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "Offer", "Parameters", "PurchaseOrderId", "RequestId",
+            });
+    internal_static_google_cloud_channel_v1_StartPaidServiceRequest_descriptor =
+        getDescriptor().getMessageTypes().get(43);
+    internal_static_google_cloud_channel_v1_StartPaidServiceRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_StartPaidServiceRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "RequestId",
+            });
+    internal_static_google_cloud_channel_v1_CancelEntitlementRequest_descriptor =
+        getDescriptor().getMessageTypes().get(44);
+    internal_static_google_cloud_channel_v1_CancelEntitlementRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_CancelEntitlementRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "RequestId",
+            });
+    internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_descriptor =
+        getDescriptor().getMessageTypes().get(45);
+    internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "RequestId",
+            });
+    internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_descriptor =
+        getDescriptor().getMessageTypes().get(46);
+    internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "RequestId",
+            });
+    internal_static_google_cloud_channel_v1_LookupOfferRequest_descriptor =
+        getDescriptor().getMessageTypes().get(47);
+    internal_static_google_cloud_channel_v1_LookupOfferRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_LookupOfferRequest_descriptor,
+            new java.lang.String[] {
+              "Entitlement",
+            });
+    internal_static_google_cloud_channel_v1_ListProductsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(48);
+    internal_static_google_cloud_channel_v1_ListProductsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ListProductsRequest_descriptor,
+            new java.lang.String[] {
+              "Account", "PageSize", "PageToken", "LanguageCode",
+            });
+    internal_static_google_cloud_channel_v1_ListProductsResponse_descriptor =
+        getDescriptor().getMessageTypes().get(49);
+    internal_static_google_cloud_channel_v1_ListProductsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ListProductsResponse_descriptor,
+            new java.lang.String[] {
+              "Products", "NextPageToken",
+            });
+    internal_static_google_cloud_channel_v1_ListSkusRequest_descriptor =
+        getDescriptor().getMessageTypes().get(50);
+    internal_static_google_cloud_channel_v1_ListSkusRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ListSkusRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "Account", "PageSize", "PageToken", "LanguageCode",
+            });
+    internal_static_google_cloud_channel_v1_ListSkusResponse_descriptor =
+        getDescriptor().getMessageTypes().get(51);
+    internal_static_google_cloud_channel_v1_ListSkusResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ListSkusResponse_descriptor,
+            new java.lang.String[] {
+              "Skus", "NextPageToken",
+            });
+    internal_static_google_cloud_channel_v1_ListOffersRequest_descriptor =
+        getDescriptor().getMessageTypes().get(52);
+    internal_static_google_cloud_channel_v1_ListOffersRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ListOffersRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken", "Filter", "LanguageCode",
+            });
+    internal_static_google_cloud_channel_v1_ListOffersResponse_descriptor =
+        getDescriptor().getMessageTypes().get(53);
+    internal_static_google_cloud_channel_v1_ListOffersResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ListOffersResponse_descriptor,
+            new java.lang.String[] {
+              "Offers", "NextPageToken",
+            });
+    internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_descriptor =
+        getDescriptor().getMessageTypes().get(54);
+    internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_descriptor,
+            new java.lang.String[] {
+              "CreateEntitlementPurchase",
+              "ChangeOfferPurchase",
+              "Customer",
+              "PageSize",
+              "PageToken",
+              "LanguageCode",
+              "PurchaseOption",
+            });
+    internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_descriptor =
+        internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_descriptor
+            .getNestedTypes()
+            .get(0);
+    internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_descriptor,
+            new java.lang.String[] {
+              "Product",
+            });
+    internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_descriptor =
+        internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_descriptor
+            .getNestedTypes()
+            .get(1);
+    internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_descriptor,
+            new java.lang.String[] {
+              "Entitlement", "ChangeType",
+            });
+    internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_descriptor =
+        getDescriptor().getMessageTypes().get(55);
+    internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_descriptor,
+            new java.lang.String[] {
+              "PurchasableSkus", "NextPageToken",
+            });
+    internal_static_google_cloud_channel_v1_PurchasableSku_descriptor =
+        getDescriptor().getMessageTypes().get(56);
+    internal_static_google_cloud_channel_v1_PurchasableSku_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_PurchasableSku_descriptor,
+            new java.lang.String[] {
+              "Sku",
+            });
+    internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_descriptor =
+        getDescriptor().getMessageTypes().get(57);
+    internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_descriptor,
+            new java.lang.String[] {
+              "CreateEntitlementPurchase",
+              "ChangeOfferPurchase",
+              "Customer",
+              "PageSize",
+              "PageToken",
+              "LanguageCode",
+              "PurchaseOption",
+            });
+    internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_descriptor =
+        internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_descriptor
+            .getNestedTypes()
+            .get(0);
+    internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_descriptor,
+            new java.lang.String[] {
+              "Sku",
+            });
+    internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_descriptor =
+        internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_descriptor
+            .getNestedTypes()
+            .get(1);
+    internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_descriptor,
+            new java.lang.String[] {
+              "Entitlement", "NewSku",
+            });
+    internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_descriptor =
+        getDescriptor().getMessageTypes().get(58);
+    internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_descriptor,
+            new java.lang.String[] {
+              "PurchasableOffers", "NextPageToken",
+            });
+    internal_static_google_cloud_channel_v1_PurchasableOffer_descriptor =
+        getDescriptor().getMessageTypes().get(59);
+    internal_static_google_cloud_channel_v1_PurchasableOffer_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_PurchasableOffer_descriptor,
+            new java.lang.String[] {
+              "Offer",
+            });
+    internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_descriptor =
+        getDescriptor().getMessageTypes().get(60);
+    internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_descriptor,
+            new java.lang.String[] {
+              "Account", "ServiceAccount",
+            });
+    internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_descriptor =
+        getDescriptor().getMessageTypes().get(61);
+    internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_descriptor,
+            new java.lang.String[] {
+              "Topic",
+            });
+    internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_descriptor =
+        getDescriptor().getMessageTypes().get(62);
+    internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_descriptor,
+            new java.lang.String[] {
+              "Account", "ServiceAccount",
+            });
+    internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_descriptor =
+        getDescriptor().getMessageTypes().get(63);
+    internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_descriptor,
+            new java.lang.String[] {
+              "Topic",
+            });
+    internal_static_google_cloud_channel_v1_ListSubscribersRequest_descriptor =
+        getDescriptor().getMessageTypes().get(64);
+    internal_static_google_cloud_channel_v1_ListSubscribersRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ListSubscribersRequest_descriptor,
+            new java.lang.String[] {
+              "Account", "PageSize", "PageToken",
+            });
+    internal_static_google_cloud_channel_v1_ListSubscribersResponse_descriptor =
+        getDescriptor().getMessageTypes().get(65);
+    internal_static_google_cloud_channel_v1_ListSubscribersResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_channel_v1_ListSubscribersResponse_descriptor,
+            new java.lang.String[] {
+              "Topic", "ServiceAccounts", "NextPageToken",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    registry.add(com.google.longrunning.OperationsProto.operationInfo);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.cloud.channel.v1.ChannelPartnerLinksProto.getDescriptor();
+    com.google.cloud.channel.v1.CommonProto.getDescriptor();
+    com.google.cloud.channel.v1.CustomersProto.getDescriptor();
+    com.google.cloud.channel.v1.EntitlementsProto.getDescriptor();
+    com.google.cloud.channel.v1.OffersProto.getDescriptor();
+    com.google.cloud.channel.v1.ProductsProto.getDescriptor();
+    com.google.cloud.channel.v1.RepricingProto.getDescriptor();
+    com.google.longrunning.OperationsProto.getDescriptor();
+    com.google.protobuf.EmptyProto.getDescriptor();
+    com.google.protobuf.FieldMaskProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Sku.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Sku.java
similarity index 70%
rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Sku.java
rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Sku.java
index 7c5b0acd9ffb..a2877df5b72a 100644
--- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Sku.java
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Sku.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/cloud/channel/v1/products.proto
 
 package com.google.cloud.channel.v1;
 
 /**
+ *
+ *
  * 
  * Represents a product's purchasable Stock Keeping Unit (SKU).
  * SKUs represent the different variations of the product. For example, Google
@@ -13,40 +30,41 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.Sku}
  */
-public final class Sku extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Sku extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.Sku)
     SkuOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Sku.newBuilder() to construct.
   private Sku(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Sku() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Sku();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_Sku_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ProductsProto
+        .internal_static_google_cloud_channel_v1_Sku_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_Sku_fieldAccessorTable
+    return com.google.cloud.channel.v1.ProductsProto
+        .internal_static_google_cloud_channel_v1_Sku_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.cloud.channel.v1.Sku.class, com.google.cloud.channel.v1.Sku.Builder.class);
   }
@@ -54,12 +72,15 @@ protected java.lang.Object newInstance(
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Resource Name of the SKU.
    * Format: products/{product_id}/skus/{sku_id}
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -68,30 +89,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; } } /** + * + * *
    * Resource Name of the SKU.
    * Format: products/{product_id}/skus/{sku_id}
    * 
* * 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 { @@ -102,11 +123,14 @@ public java.lang.String getName() { public static final int MARKETING_INFO_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.MarketingInfo marketingInfo_; /** + * + * *
    * Marketing information for the SKU.
    * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; + * * @return Whether the marketingInfo field is set. */ @java.lang.Override @@ -114,18 +138,25 @@ public boolean hasMarketingInfo() { return marketingInfo_ != null; } /** + * + * *
    * Marketing information for the SKU.
    * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; + * * @return The marketingInfo. */ @java.lang.Override public com.google.cloud.channel.v1.MarketingInfo getMarketingInfo() { - return marketingInfo_ == null ? com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() : marketingInfo_; + return marketingInfo_ == null + ? com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() + : marketingInfo_; } /** + * + * *
    * Marketing information for the SKU.
    * 
@@ -140,11 +171,14 @@ public com.google.cloud.channel.v1.MarketingInfoOrBuilder getMarketingInfoOrBuil public static final int PRODUCT_FIELD_NUMBER = 3; private com.google.cloud.channel.v1.Product product_; /** + * + * *
    * Product the SKU is associated with.
    * 
* * .google.cloud.channel.v1.Product product = 3; + * * @return Whether the product field is set. */ @java.lang.Override @@ -152,11 +186,14 @@ public boolean hasProduct() { return product_ != null; } /** + * + * *
    * Product the SKU is associated with.
    * 
* * .google.cloud.channel.v1.Product product = 3; + * * @return The product. */ @java.lang.Override @@ -164,6 +201,8 @@ public com.google.cloud.channel.v1.Product getProduct() { return product_ == null ? com.google.cloud.channel.v1.Product.getDefaultInstance() : product_; } /** + * + * *
    * Product the SKU is associated with.
    * 
@@ -176,6 +215,7 @@ public com.google.cloud.channel.v1.ProductOrBuilder getProductOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,8 +227,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -211,12 +250,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (marketingInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getMarketingInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMarketingInfo()); } if (product_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getProduct()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getProduct()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -226,24 +263,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.cloud.channel.v1.Sku)) { return super.equals(obj); } com.google.cloud.channel.v1.Sku other = (com.google.cloud.channel.v1.Sku) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasMarketingInfo() != other.hasMarketingInfo()) return false; if (hasMarketingInfo()) { - if (!getMarketingInfo() - .equals(other.getMarketingInfo())) return false; + if (!getMarketingInfo().equals(other.getMarketingInfo())) return false; } if (hasProduct() != other.hasProduct()) return false; if (hasProduct()) { - if (!getProduct() - .equals(other.getProduct())) return false; + if (!getProduct().equals(other.getProduct())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -271,97 +305,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.Sku parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.Sku parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Sku parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Sku parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.channel.v1.Sku parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Sku parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.Sku parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Sku parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.Sku 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.cloud.channel.v1.Sku parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.Sku parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.Sku parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.Sku parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.Sku parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.Sku prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents a product's purchasable Stock Keeping Unit (SKU).
    * SKUs represent the different variations of the product. For example, Google
@@ -371,33 +411,31 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.Sku}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.Sku)
       com.google.cloud.channel.v1.SkuOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_Sku_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ProductsProto
+          .internal_static_google_cloud_channel_v1_Sku_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_Sku_fieldAccessorTable
+      return com.google.cloud.channel.v1.ProductsProto
+          .internal_static_google_cloud_channel_v1_Sku_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.cloud.channel.v1.Sku.class, com.google.cloud.channel.v1.Sku.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.Sku.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -419,9 +457,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ProductsProto.internal_static_google_cloud_channel_v1_Sku_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ProductsProto
+          .internal_static_google_cloud_channel_v1_Sku_descriptor;
     }
 
     @java.lang.Override
@@ -460,38 +498,39 @@ public com.google.cloud.channel.v1.Sku 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.cloud.channel.v1.Sku) {
-        return mergeFrom((com.google.cloud.channel.v1.Sku)other);
+        return mergeFrom((com.google.cloud.channel.v1.Sku) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -536,31 +575,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getMarketingInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getMarketingInfoFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getProductFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getProductFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -573,19 +612,21 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Resource Name of the SKU.
      * Format: products/{product_id}/skus/{sku_id}
      * 
* * 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; @@ -594,21 +635,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource Name of the SKU.
      * Format: products/{product_id}/skus/{sku_id}
      * 
* * 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 { @@ -616,57 +658,64 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource Name of the SKU.
      * Format: products/{product_id}/skus/{sku_id}
      * 
* * 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 of the SKU.
      * Format: products/{product_id}/skus/{sku_id}
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Resource Name of the SKU.
      * Format: products/{product_id}/skus/{sku_id}
      * 
* * 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; @@ -674,34 +723,47 @@ public Builder setNameBytes( private com.google.cloud.channel.v1.MarketingInfo marketingInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.MarketingInfo, com.google.cloud.channel.v1.MarketingInfo.Builder, com.google.cloud.channel.v1.MarketingInfoOrBuilder> marketingInfoBuilder_; + com.google.cloud.channel.v1.MarketingInfo, + com.google.cloud.channel.v1.MarketingInfo.Builder, + com.google.cloud.channel.v1.MarketingInfoOrBuilder> + marketingInfoBuilder_; /** + * + * *
      * Marketing information for the SKU.
      * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; + * * @return Whether the marketingInfo field is set. */ public boolean hasMarketingInfo() { return marketingInfoBuilder_ != null || marketingInfo_ != null; } /** + * + * *
      * Marketing information for the SKU.
      * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; + * * @return The marketingInfo. */ public com.google.cloud.channel.v1.MarketingInfo getMarketingInfo() { if (marketingInfoBuilder_ == null) { - return marketingInfo_ == null ? com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() : marketingInfo_; + return marketingInfo_ == null + ? com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() + : marketingInfo_; } else { return marketingInfoBuilder_.getMessage(); } } /** + * + * *
      * Marketing information for the SKU.
      * 
@@ -722,6 +784,8 @@ public Builder setMarketingInfo(com.google.cloud.channel.v1.MarketingInfo value) return this; } /** + * + * *
      * Marketing information for the SKU.
      * 
@@ -740,6 +804,8 @@ public Builder setMarketingInfo( return this; } /** + * + * *
      * Marketing information for the SKU.
      * 
@@ -750,7 +816,9 @@ public Builder mergeMarketingInfo(com.google.cloud.channel.v1.MarketingInfo valu if (marketingInfoBuilder_ == null) { if (marketingInfo_ != null) { marketingInfo_ = - com.google.cloud.channel.v1.MarketingInfo.newBuilder(marketingInfo_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.MarketingInfo.newBuilder(marketingInfo_) + .mergeFrom(value) + .buildPartial(); } else { marketingInfo_ = value; } @@ -762,6 +830,8 @@ public Builder mergeMarketingInfo(com.google.cloud.channel.v1.MarketingInfo valu return this; } /** + * + * *
      * Marketing information for the SKU.
      * 
@@ -780,6 +850,8 @@ public Builder clearMarketingInfo() { return this; } /** + * + * *
      * Marketing information for the SKU.
      * 
@@ -787,11 +859,13 @@ public Builder clearMarketingInfo() { * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; */ public com.google.cloud.channel.v1.MarketingInfo.Builder getMarketingInfoBuilder() { - + onChanged(); return getMarketingInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Marketing information for the SKU.
      * 
@@ -802,11 +876,14 @@ public com.google.cloud.channel.v1.MarketingInfoOrBuilder getMarketingInfoOrBuil if (marketingInfoBuilder_ != null) { return marketingInfoBuilder_.getMessageOrBuilder(); } else { - return marketingInfo_ == null ? - com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() : marketingInfo_; + return marketingInfo_ == null + ? com.google.cloud.channel.v1.MarketingInfo.getDefaultInstance() + : marketingInfo_; } } /** + * + * *
      * Marketing information for the SKU.
      * 
@@ -814,14 +891,17 @@ public com.google.cloud.channel.v1.MarketingInfoOrBuilder getMarketingInfoOrBuil * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.MarketingInfo, com.google.cloud.channel.v1.MarketingInfo.Builder, com.google.cloud.channel.v1.MarketingInfoOrBuilder> + com.google.cloud.channel.v1.MarketingInfo, + com.google.cloud.channel.v1.MarketingInfo.Builder, + com.google.cloud.channel.v1.MarketingInfoOrBuilder> getMarketingInfoFieldBuilder() { if (marketingInfoBuilder_ == null) { - marketingInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.MarketingInfo, com.google.cloud.channel.v1.MarketingInfo.Builder, com.google.cloud.channel.v1.MarketingInfoOrBuilder>( - getMarketingInfo(), - getParentForChildren(), - isClean()); + marketingInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.MarketingInfo, + com.google.cloud.channel.v1.MarketingInfo.Builder, + com.google.cloud.channel.v1.MarketingInfoOrBuilder>( + getMarketingInfo(), getParentForChildren(), isClean()); marketingInfo_ = null; } return marketingInfoBuilder_; @@ -829,34 +909,47 @@ public com.google.cloud.channel.v1.MarketingInfoOrBuilder getMarketingInfoOrBuil private com.google.cloud.channel.v1.Product product_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Product, com.google.cloud.channel.v1.Product.Builder, com.google.cloud.channel.v1.ProductOrBuilder> productBuilder_; + com.google.cloud.channel.v1.Product, + com.google.cloud.channel.v1.Product.Builder, + com.google.cloud.channel.v1.ProductOrBuilder> + productBuilder_; /** + * + * *
      * Product the SKU is associated with.
      * 
* * .google.cloud.channel.v1.Product product = 3; + * * @return Whether the product field is set. */ public boolean hasProduct() { return productBuilder_ != null || product_ != null; } /** + * + * *
      * Product the SKU is associated with.
      * 
* * .google.cloud.channel.v1.Product product = 3; + * * @return The product. */ public com.google.cloud.channel.v1.Product getProduct() { if (productBuilder_ == null) { - return product_ == null ? com.google.cloud.channel.v1.Product.getDefaultInstance() : product_; + return product_ == null + ? com.google.cloud.channel.v1.Product.getDefaultInstance() + : product_; } else { return productBuilder_.getMessage(); } } /** + * + * *
      * Product the SKU is associated with.
      * 
@@ -877,14 +970,15 @@ public Builder setProduct(com.google.cloud.channel.v1.Product value) { return this; } /** + * + * *
      * Product the SKU is associated with.
      * 
* * .google.cloud.channel.v1.Product product = 3; */ - public Builder setProduct( - com.google.cloud.channel.v1.Product.Builder builderForValue) { + public Builder setProduct(com.google.cloud.channel.v1.Product.Builder builderForValue) { if (productBuilder_ == null) { product_ = builderForValue.build(); onChanged(); @@ -895,6 +989,8 @@ public Builder setProduct( return this; } /** + * + * *
      * Product the SKU is associated with.
      * 
@@ -905,7 +1001,9 @@ public Builder mergeProduct(com.google.cloud.channel.v1.Product value) { if (productBuilder_ == null) { if (product_ != null) { product_ = - com.google.cloud.channel.v1.Product.newBuilder(product_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.Product.newBuilder(product_) + .mergeFrom(value) + .buildPartial(); } else { product_ = value; } @@ -917,6 +1015,8 @@ public Builder mergeProduct(com.google.cloud.channel.v1.Product value) { return this; } /** + * + * *
      * Product the SKU is associated with.
      * 
@@ -935,6 +1035,8 @@ public Builder clearProduct() { return this; } /** + * + * *
      * Product the SKU is associated with.
      * 
@@ -942,11 +1044,13 @@ public Builder clearProduct() { * .google.cloud.channel.v1.Product product = 3; */ public com.google.cloud.channel.v1.Product.Builder getProductBuilder() { - + onChanged(); return getProductFieldBuilder().getBuilder(); } /** + * + * *
      * Product the SKU is associated with.
      * 
@@ -957,11 +1061,14 @@ public com.google.cloud.channel.v1.ProductOrBuilder getProductOrBuilder() { if (productBuilder_ != null) { return productBuilder_.getMessageOrBuilder(); } else { - return product_ == null ? - com.google.cloud.channel.v1.Product.getDefaultInstance() : product_; + return product_ == null + ? com.google.cloud.channel.v1.Product.getDefaultInstance() + : product_; } } /** + * + * *
      * Product the SKU is associated with.
      * 
@@ -969,21 +1076,24 @@ public com.google.cloud.channel.v1.ProductOrBuilder getProductOrBuilder() { * .google.cloud.channel.v1.Product product = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Product, com.google.cloud.channel.v1.Product.Builder, com.google.cloud.channel.v1.ProductOrBuilder> + com.google.cloud.channel.v1.Product, + com.google.cloud.channel.v1.Product.Builder, + com.google.cloud.channel.v1.ProductOrBuilder> getProductFieldBuilder() { if (productBuilder_ == null) { - productBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Product, com.google.cloud.channel.v1.Product.Builder, com.google.cloud.channel.v1.ProductOrBuilder>( - getProduct(), - getParentForChildren(), - isClean()); + productBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Product, + com.google.cloud.channel.v1.Product.Builder, + com.google.cloud.channel.v1.ProductOrBuilder>( + getProduct(), getParentForChildren(), isClean()); product_ = null; } return productBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -993,12 +1103,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.Sku) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.Sku) private static final com.google.cloud.channel.v1.Sku DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.Sku(); } @@ -1007,27 +1117,27 @@ public static com.google.cloud.channel.v1.Sku getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Sku parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Sku parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1042,6 +1152,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Sku getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuGroupCondition.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuGroupCondition.java similarity index 67% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuGroupCondition.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuGroupCondition.java index 20e0f66056ba..ac8b6fb667ce 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuGroupCondition.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuGroupCondition.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/cloud/channel/v1/repricing.proto package com.google.cloud.channel.v1; /** + * + * *
  * A condition that applies the override if a line item SKU is found in the SKU
  * group.
@@ -11,47 +28,51 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.SkuGroupCondition}
  */
-public final class SkuGroupCondition extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SkuGroupCondition extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.SkuGroupCondition)
     SkuGroupConditionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SkuGroupCondition.newBuilder() to construct.
   private SkuGroupCondition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private SkuGroupCondition() {
     skuGroup_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SkuGroupCondition();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_SkuGroupCondition_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.RepricingProto
+        .internal_static_google_cloud_channel_v1_SkuGroupCondition_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_SkuGroupCondition_fieldAccessorTable
+    return com.google.cloud.channel.v1.RepricingProto
+        .internal_static_google_cloud_channel_v1_SkuGroupCondition_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.SkuGroupCondition.class, com.google.cloud.channel.v1.SkuGroupCondition.Builder.class);
+            com.google.cloud.channel.v1.SkuGroupCondition.class,
+            com.google.cloud.channel.v1.SkuGroupCondition.Builder.class);
   }
 
   public static final int SKU_GROUP_FIELD_NUMBER = 1;
   private volatile java.lang.Object skuGroup_;
   /**
+   *
+   *
    * 
    * Specifies a SKU group (https://cloud.google.com/skus/sku-groups).
    * Resource name of SKU group. Format:
@@ -61,6 +82,7 @@ protected java.lang.Object newInstance(
    * 
* * string sku_group = 1; + * * @return The skuGroup. */ @java.lang.Override @@ -69,14 +91,15 @@ public java.lang.String getSkuGroup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); skuGroup_ = s; return s; } } /** + * + * *
    * Specifies a SKU group (https://cloud.google.com/skus/sku-groups).
    * Resource name of SKU group. Format:
@@ -86,16 +109,15 @@ public java.lang.String getSkuGroup() {
    * 
* * string sku_group = 1; + * * @return The bytes for skuGroup. */ @java.lang.Override - public com.google.protobuf.ByteString - getSkuGroupBytes() { + public com.google.protobuf.ByteString getSkuGroupBytes() { java.lang.Object ref = skuGroup_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); skuGroup_ = b; return b; } else { @@ -104,6 +126,7 @@ public java.lang.String getSkuGroup() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -115,8 +138,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(skuGroup_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, skuGroup_); } @@ -140,15 +162,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.SkuGroupCondition)) { return super.equals(obj); } - com.google.cloud.channel.v1.SkuGroupCondition other = (com.google.cloud.channel.v1.SkuGroupCondition) obj; + com.google.cloud.channel.v1.SkuGroupCondition other = + (com.google.cloud.channel.v1.SkuGroupCondition) obj; - if (!getSkuGroup() - .equals(other.getSkuGroup())) return false; + if (!getSkuGroup().equals(other.getSkuGroup())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -167,97 +189,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.SkuGroupCondition parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.SkuGroupCondition parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.SkuGroupCondition parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.SkuGroupCondition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.SkuGroupCondition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.SkuGroupCondition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.SkuGroupCondition parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.SkuGroupCondition 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.cloud.channel.v1.SkuGroupCondition parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.SkuGroupCondition parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.SkuGroupCondition parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.SkuGroupCondition parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.SkuGroupCondition parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.SkuGroupCondition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.SkuGroupCondition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 condition that applies the override if a line item SKU is found in the SKU
    * group.
@@ -265,33 +294,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.SkuGroupCondition}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.SkuGroupCondition)
       com.google.cloud.channel.v1.SkuGroupConditionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_SkuGroupCondition_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.RepricingProto
+          .internal_static_google_cloud_channel_v1_SkuGroupCondition_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_SkuGroupCondition_fieldAccessorTable
+      return com.google.cloud.channel.v1.RepricingProto
+          .internal_static_google_cloud_channel_v1_SkuGroupCondition_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.SkuGroupCondition.class, com.google.cloud.channel.v1.SkuGroupCondition.Builder.class);
+              com.google.cloud.channel.v1.SkuGroupCondition.class,
+              com.google.cloud.channel.v1.SkuGroupCondition.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.SkuGroupCondition.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -301,9 +329,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.RepricingProto.internal_static_google_cloud_channel_v1_SkuGroupCondition_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.RepricingProto
+          .internal_static_google_cloud_channel_v1_SkuGroupCondition_descriptor;
     }
 
     @java.lang.Override
@@ -322,7 +350,8 @@ public com.google.cloud.channel.v1.SkuGroupCondition build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.SkuGroupCondition buildPartial() {
-      com.google.cloud.channel.v1.SkuGroupCondition result = new com.google.cloud.channel.v1.SkuGroupCondition(this);
+      com.google.cloud.channel.v1.SkuGroupCondition result =
+          new com.google.cloud.channel.v1.SkuGroupCondition(this);
       result.skuGroup_ = skuGroup_;
       onBuilt();
       return result;
@@ -332,38 +361,39 @@ public com.google.cloud.channel.v1.SkuGroupCondition 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.cloud.channel.v1.SkuGroupCondition) {
-        return mergeFrom((com.google.cloud.channel.v1.SkuGroupCondition)other);
+        return mergeFrom((com.google.cloud.channel.v1.SkuGroupCondition) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -402,17 +432,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              skuGroup_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                skuGroup_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -425,6 +457,8 @@ public Builder mergeFrom(
 
     private java.lang.Object skuGroup_ = "";
     /**
+     *
+     *
      * 
      * Specifies a SKU group (https://cloud.google.com/skus/sku-groups).
      * Resource name of SKU group. Format:
@@ -434,13 +468,13 @@ public Builder mergeFrom(
      * 
* * string sku_group = 1; + * * @return The skuGroup. */ public java.lang.String getSkuGroup() { java.lang.Object ref = skuGroup_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); skuGroup_ = s; return s; @@ -449,6 +483,8 @@ public java.lang.String getSkuGroup() { } } /** + * + * *
      * Specifies a SKU group (https://cloud.google.com/skus/sku-groups).
      * Resource name of SKU group. Format:
@@ -458,15 +494,14 @@ public java.lang.String getSkuGroup() {
      * 
* * string sku_group = 1; + * * @return The bytes for skuGroup. */ - public com.google.protobuf.ByteString - getSkuGroupBytes() { + public com.google.protobuf.ByteString getSkuGroupBytes() { java.lang.Object ref = skuGroup_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); skuGroup_ = b; return b; } else { @@ -474,6 +509,8 @@ public java.lang.String getSkuGroup() { } } /** + * + * *
      * Specifies a SKU group (https://cloud.google.com/skus/sku-groups).
      * Resource name of SKU group. Format:
@@ -483,20 +520,22 @@ public java.lang.String getSkuGroup() {
      * 
* * string sku_group = 1; + * * @param value The skuGroup to set. * @return This builder for chaining. */ - public Builder setSkuGroup( - java.lang.String value) { + public Builder setSkuGroup(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + skuGroup_ = value; onChanged(); return this; } /** + * + * *
      * Specifies a SKU group (https://cloud.google.com/skus/sku-groups).
      * Resource name of SKU group. Format:
@@ -506,15 +545,18 @@ public Builder setSkuGroup(
      * 
* * string sku_group = 1; + * * @return This builder for chaining. */ public Builder clearSkuGroup() { - + skuGroup_ = getDefaultInstance().getSkuGroup(); onChanged(); return this; } /** + * + * *
      * Specifies a SKU group (https://cloud.google.com/skus/sku-groups).
      * Resource name of SKU group. Format:
@@ -524,23 +566,23 @@ public Builder clearSkuGroup() {
      * 
* * string sku_group = 1; + * * @param value The bytes for skuGroup to set. * @return This builder for chaining. */ - public Builder setSkuGroupBytes( - com.google.protobuf.ByteString value) { + public Builder setSkuGroupBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + skuGroup_ = 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 +592,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.SkuGroupCondition) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.SkuGroupCondition) private static final com.google.cloud.channel.v1.SkuGroupCondition DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.SkuGroupCondition(); } @@ -564,27 +606,27 @@ public static com.google.cloud.channel.v1.SkuGroupCondition getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SkuGroupCondition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SkuGroupCondition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -599,6 +641,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.SkuGroupCondition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuGroupConditionOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuGroupConditionOrBuilder.java similarity index 58% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuGroupConditionOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuGroupConditionOrBuilder.java index 83ac744fa9ac..d11d6c7eb504 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuGroupConditionOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuGroupConditionOrBuilder.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/cloud/channel/v1/repricing.proto package com.google.cloud.channel.v1; -public interface SkuGroupConditionOrBuilder extends +public interface SkuGroupConditionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.SkuGroupCondition) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Specifies a SKU group (https://cloud.google.com/skus/sku-groups).
    * Resource name of SKU group. Format:
@@ -17,10 +35,13 @@ public interface SkuGroupConditionOrBuilder extends
    * 
* * string sku_group = 1; + * * @return The skuGroup. */ java.lang.String getSkuGroup(); /** + * + * *
    * Specifies a SKU group (https://cloud.google.com/skus/sku-groups).
    * Resource name of SKU group. Format:
@@ -30,8 +51,8 @@ public interface SkuGroupConditionOrBuilder extends
    * 
* * string sku_group = 1; + * * @return The bytes for skuGroup. */ - com.google.protobuf.ByteString - getSkuGroupBytes(); + com.google.protobuf.ByteString getSkuGroupBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuOrBuilder.java similarity index 72% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuOrBuilder.java index cbe66922aa02..51aecf740780 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SkuOrBuilder.java @@ -1,53 +1,82 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/products.proto package com.google.cloud.channel.v1; -public interface SkuOrBuilder extends +public interface SkuOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Sku) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Resource Name of the SKU.
    * Format: products/{product_id}/skus/{sku_id}
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Resource Name of the SKU.
    * Format: products/{product_id}/skus/{sku_id}
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Marketing information for the SKU.
    * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; + * * @return Whether the marketingInfo field is set. */ boolean hasMarketingInfo(); /** + * + * *
    * Marketing information for the SKU.
    * 
* * .google.cloud.channel.v1.MarketingInfo marketing_info = 2; + * * @return The marketingInfo. */ com.google.cloud.channel.v1.MarketingInfo getMarketingInfo(); /** + * + * *
    * Marketing information for the SKU.
    * 
@@ -57,24 +86,32 @@ public interface SkuOrBuilder extends com.google.cloud.channel.v1.MarketingInfoOrBuilder getMarketingInfoOrBuilder(); /** + * + * *
    * Product the SKU is associated with.
    * 
* * .google.cloud.channel.v1.Product product = 3; + * * @return Whether the product field is set. */ boolean hasProduct(); /** + * + * *
    * Product the SKU is associated with.
    * 
* * .google.cloud.channel.v1.Product product = 3; + * * @return The product. */ com.google.cloud.channel.v1.Product getProduct(); /** + * + * *
    * Product the SKU is associated with.
    * 
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequest.java similarity index 73% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequest.java index 685d6e04e21f..b35af3f453b2 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelService.StartPaidService][google.cloud.channel.v1.CloudChannelService.StartPaidService].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.StartPaidServiceRequest}
  */
-public final class StartPaidServiceRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class StartPaidServiceRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.StartPaidServiceRequest)
     StartPaidServiceRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use StartPaidServiceRequest.newBuilder() to construct.
   private StartPaidServiceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private StartPaidServiceRequest() {
     name_ = "";
     requestId_ = "";
@@ -27,32 +45,35 @@ private StartPaidServiceRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new StartPaidServiceRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_StartPaidServiceRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_StartPaidServiceRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_StartPaidServiceRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_StartPaidServiceRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.StartPaidServiceRequest.class, com.google.cloud.channel.v1.StartPaidServiceRequest.Builder.class);
+            com.google.cloud.channel.v1.StartPaidServiceRequest.class,
+            com.google.cloud.channel.v1.StartPaidServiceRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The name of the entitlement to start a paid service for.
    * Name uses the format:
@@ -60,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -68,14 +90,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the entitlement to start a paid service for.
    * Name uses the format:
@@ -83,16 +106,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -103,6 +125,8 @@ public java.lang.String getName() { public static final int REQUEST_ID_FIELD_NUMBER = 3; private volatile java.lang.Object requestId_; /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -117,6 +141,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -125,14 +150,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -147,16 +173,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -165,6 +190,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -176,8 +202,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -207,17 +232,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.StartPaidServiceRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.StartPaidServiceRequest other = (com.google.cloud.channel.v1.StartPaidServiceRequest) obj; + com.google.cloud.channel.v1.StartPaidServiceRequest other = + (com.google.cloud.channel.v1.StartPaidServiceRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -239,96 +263,103 @@ public int hashCode() { } public static com.google.cloud.channel.v1.StartPaidServiceRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.StartPaidServiceRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.StartPaidServiceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.StartPaidServiceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.StartPaidServiceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.StartPaidServiceRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.StartPaidServiceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.StartPaidServiceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.StartPaidServiceRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.StartPaidServiceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.StartPaidServiceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.StartPaidServiceRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.StartPaidServiceRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.StartPaidServiceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.StartPaidServiceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelService.StartPaidService][google.cloud.channel.v1.CloudChannelService.StartPaidService].
@@ -336,33 +367,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.StartPaidServiceRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.StartPaidServiceRequest)
       com.google.cloud.channel.v1.StartPaidServiceRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_StartPaidServiceRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_StartPaidServiceRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_StartPaidServiceRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_StartPaidServiceRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.StartPaidServiceRequest.class, com.google.cloud.channel.v1.StartPaidServiceRequest.Builder.class);
+              com.google.cloud.channel.v1.StartPaidServiceRequest.class,
+              com.google.cloud.channel.v1.StartPaidServiceRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.StartPaidServiceRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -374,9 +404,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_StartPaidServiceRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_StartPaidServiceRequest_descriptor;
     }
 
     @java.lang.Override
@@ -395,7 +425,8 @@ public com.google.cloud.channel.v1.StartPaidServiceRequest build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.StartPaidServiceRequest buildPartial() {
-      com.google.cloud.channel.v1.StartPaidServiceRequest result = new com.google.cloud.channel.v1.StartPaidServiceRequest(this);
+      com.google.cloud.channel.v1.StartPaidServiceRequest result =
+          new com.google.cloud.channel.v1.StartPaidServiceRequest(this);
       result.name_ = name_;
       result.requestId_ = requestId_;
       onBuilt();
@@ -406,38 +437,39 @@ public com.google.cloud.channel.v1.StartPaidServiceRequest 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.cloud.channel.v1.StartPaidServiceRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.StartPaidServiceRequest)other);
+        return mergeFrom((com.google.cloud.channel.v1.StartPaidServiceRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -445,7 +477,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.StartPaidServiceRequest other) {
-      if (other == com.google.cloud.channel.v1.StartPaidServiceRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.StartPaidServiceRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -480,22 +513,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 26: {
-              requestId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 26:
+              {
+                requestId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -508,6 +544,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the entitlement to start a paid service for.
      * Name uses the format:
@@ -515,13 +553,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -530,6 +568,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the entitlement to start a paid service for.
      * Name uses the format:
@@ -537,15 +577,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -553,6 +592,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the entitlement to start a paid service for.
      * Name uses the format:
@@ -560,20 +601,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 entitlement to start a paid service for.
      * Name uses the format:
@@ -581,15 +624,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the entitlement to start a paid service for.
      * Name uses the format:
@@ -597,16 +643,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -614,6 +660,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -628,13 +676,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -643,6 +691,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -657,15 +707,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -673,6 +722,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -687,20 +738,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -715,15 +768,18 @@ public Builder setRequestId(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -738,23 +794,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -764,12 +820,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.StartPaidServiceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.StartPaidServiceRequest) private static final com.google.cloud.channel.v1.StartPaidServiceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.StartPaidServiceRequest(); } @@ -778,27 +834,27 @@ public static com.google.cloud.channel.v1.StartPaidServiceRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StartPaidServiceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StartPaidServiceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -813,6 +869,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.StartPaidServiceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequestOrBuilder.java index efa55fe2f4ae..6e46eeb75bdc 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/StartPaidServiceRequestOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface StartPaidServiceRequestOrBuilder extends +public interface StartPaidServiceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.StartPaidServiceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the entitlement to start a paid service for.
    * Name uses the format:
@@ -15,10 +33,13 @@ public interface StartPaidServiceRequestOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the entitlement to start a paid service for.
    * Name uses the format:
@@ -26,12 +47,14 @@ public interface StartPaidServiceRequestOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -46,10 +69,13 @@ public interface StartPaidServiceRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -64,8 +90,8 @@ public interface StartPaidServiceRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEvent.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEvent.java similarity index 71% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEvent.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEvent.java index 3956dcc27013..77862d0c441e 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEvent.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEvent.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/cloud/channel/v1/subscriber_event.proto package com.google.cloud.channel.v1; /** + * + * *
  * Represents information which resellers will get as part of notification from
  * Pub/Sub.
@@ -11,52 +28,56 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.SubscriberEvent}
  */
-public final class SubscriberEvent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SubscriberEvent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.SubscriberEvent)
     SubscriberEventOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SubscriberEvent.newBuilder() to construct.
   private SubscriberEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private SubscriberEvent() {
-  }
+
+  private SubscriberEvent() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SubscriberEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.SubscriberEventProto.internal_static_google_cloud_channel_v1_SubscriberEvent_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.SubscriberEventProto
+        .internal_static_google_cloud_channel_v1_SubscriberEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.SubscriberEventProto.internal_static_google_cloud_channel_v1_SubscriberEvent_fieldAccessorTable
+    return com.google.cloud.channel.v1.SubscriberEventProto
+        .internal_static_google_cloud_channel_v1_SubscriberEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.SubscriberEvent.class, com.google.cloud.channel.v1.SubscriberEvent.Builder.class);
+            com.google.cloud.channel.v1.SubscriberEvent.class,
+            com.google.cloud.channel.v1.SubscriberEvent.Builder.class);
   }
 
   private int eventCase_ = 0;
   private java.lang.Object event_;
+
   public enum EventCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     CUSTOMER_EVENT(1),
     ENTITLEMENT_EVENT(2),
     EVENT_NOT_SET(0);
     private final int value;
+
     private EventCase(int value) {
       this.value = value;
     }
@@ -72,30 +93,36 @@ public static EventCase valueOf(int value) {
 
     public static EventCase forNumber(int value) {
       switch (value) {
-        case 1: return CUSTOMER_EVENT;
-        case 2: return ENTITLEMENT_EVENT;
-        case 0: return EVENT_NOT_SET;
-        default: return null;
+        case 1:
+          return CUSTOMER_EVENT;
+        case 2:
+          return ENTITLEMENT_EVENT;
+        case 0:
+          return EVENT_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public EventCase
-  getEventCase() {
-    return EventCase.forNumber(
-        eventCase_);
+  public EventCase getEventCase() {
+    return EventCase.forNumber(eventCase_);
   }
 
   public static final int CUSTOMER_EVENT_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * Customer event sent as part of Pub/Sub event to partners.
    * 
* * .google.cloud.channel.v1.CustomerEvent customer_event = 1; + * * @return Whether the customerEvent field is set. */ @java.lang.Override @@ -103,21 +130,26 @@ public boolean hasCustomerEvent() { return eventCase_ == 1; } /** + * + * *
    * Customer event sent as part of Pub/Sub event to partners.
    * 
* * .google.cloud.channel.v1.CustomerEvent customer_event = 1; + * * @return The customerEvent. */ @java.lang.Override public com.google.cloud.channel.v1.CustomerEvent getCustomerEvent() { if (eventCase_ == 1) { - return (com.google.cloud.channel.v1.CustomerEvent) event_; + return (com.google.cloud.channel.v1.CustomerEvent) event_; } return com.google.cloud.channel.v1.CustomerEvent.getDefaultInstance(); } /** + * + * *
    * Customer event sent as part of Pub/Sub event to partners.
    * 
@@ -127,18 +159,21 @@ public com.google.cloud.channel.v1.CustomerEvent getCustomerEvent() { @java.lang.Override public com.google.cloud.channel.v1.CustomerEventOrBuilder getCustomerEventOrBuilder() { if (eventCase_ == 1) { - return (com.google.cloud.channel.v1.CustomerEvent) event_; + return (com.google.cloud.channel.v1.CustomerEvent) event_; } return com.google.cloud.channel.v1.CustomerEvent.getDefaultInstance(); } public static final int ENTITLEMENT_EVENT_FIELD_NUMBER = 2; /** + * + * *
    * Entitlement event sent as part of Pub/Sub event to partners.
    * 
* * .google.cloud.channel.v1.EntitlementEvent entitlement_event = 2; + * * @return Whether the entitlementEvent field is set. */ @java.lang.Override @@ -146,21 +181,26 @@ public boolean hasEntitlementEvent() { return eventCase_ == 2; } /** + * + * *
    * Entitlement event sent as part of Pub/Sub event to partners.
    * 
* * .google.cloud.channel.v1.EntitlementEvent entitlement_event = 2; + * * @return The entitlementEvent. */ @java.lang.Override public com.google.cloud.channel.v1.EntitlementEvent getEntitlementEvent() { if (eventCase_ == 2) { - return (com.google.cloud.channel.v1.EntitlementEvent) event_; + return (com.google.cloud.channel.v1.EntitlementEvent) event_; } return com.google.cloud.channel.v1.EntitlementEvent.getDefaultInstance(); } /** + * + * *
    * Entitlement event sent as part of Pub/Sub event to partners.
    * 
@@ -170,12 +210,13 @@ public com.google.cloud.channel.v1.EntitlementEvent getEntitlementEvent() { @java.lang.Override public com.google.cloud.channel.v1.EntitlementEventOrBuilder getEntitlementEventOrBuilder() { if (eventCase_ == 2) { - return (com.google.cloud.channel.v1.EntitlementEvent) event_; + return (com.google.cloud.channel.v1.EntitlementEvent) event_; } return com.google.cloud.channel.v1.EntitlementEvent.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,8 +228,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (eventCase_ == 1) { output.writeMessage(1, (com.google.cloud.channel.v1.CustomerEvent) event_); } @@ -205,12 +245,14 @@ public int getSerializedSize() { size = 0; if (eventCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.channel.v1.CustomerEvent) event_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.channel.v1.CustomerEvent) event_); } if (eventCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.channel.v1.EntitlementEvent) event_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.channel.v1.EntitlementEvent) event_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -220,22 +262,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.cloud.channel.v1.SubscriberEvent)) { return super.equals(obj); } - com.google.cloud.channel.v1.SubscriberEvent other = (com.google.cloud.channel.v1.SubscriberEvent) obj; + com.google.cloud.channel.v1.SubscriberEvent other = + (com.google.cloud.channel.v1.SubscriberEvent) obj; if (!getEventCase().equals(other.getEventCase())) return false; switch (eventCase_) { case 1: - if (!getCustomerEvent() - .equals(other.getCustomerEvent())) return false; + if (!getCustomerEvent().equals(other.getCustomerEvent())) return false; break; case 2: - if (!getEntitlementEvent() - .equals(other.getEntitlementEvent())) return false; + if (!getEntitlementEvent().equals(other.getEntitlementEvent())) return false; break; case 0: default: @@ -268,97 +309,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.SubscriberEvent parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.SubscriberEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.SubscriberEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.SubscriberEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.SubscriberEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.SubscriberEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.SubscriberEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.SubscriberEvent 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.cloud.channel.v1.SubscriberEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.SubscriberEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.SubscriberEvent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.SubscriberEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.SubscriberEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.SubscriberEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.SubscriberEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents information which resellers will get as part of notification from
    * Pub/Sub.
@@ -366,33 +414,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.SubscriberEvent}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.SubscriberEvent)
       com.google.cloud.channel.v1.SubscriberEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.SubscriberEventProto.internal_static_google_cloud_channel_v1_SubscriberEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.SubscriberEventProto
+          .internal_static_google_cloud_channel_v1_SubscriberEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.SubscriberEventProto.internal_static_google_cloud_channel_v1_SubscriberEvent_fieldAccessorTable
+      return com.google.cloud.channel.v1.SubscriberEventProto
+          .internal_static_google_cloud_channel_v1_SubscriberEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.SubscriberEvent.class, com.google.cloud.channel.v1.SubscriberEvent.Builder.class);
+              com.google.cloud.channel.v1.SubscriberEvent.class,
+              com.google.cloud.channel.v1.SubscriberEvent.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.SubscriberEvent.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -408,9 +455,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.SubscriberEventProto.internal_static_google_cloud_channel_v1_SubscriberEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.SubscriberEventProto
+          .internal_static_google_cloud_channel_v1_SubscriberEvent_descriptor;
     }
 
     @java.lang.Override
@@ -429,7 +476,8 @@ public com.google.cloud.channel.v1.SubscriberEvent build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.SubscriberEvent buildPartial() {
-      com.google.cloud.channel.v1.SubscriberEvent result = new com.google.cloud.channel.v1.SubscriberEvent(this);
+      com.google.cloud.channel.v1.SubscriberEvent result =
+          new com.google.cloud.channel.v1.SubscriberEvent(this);
       if (eventCase_ == 1) {
         if (customerEventBuilder_ == null) {
           result.event_ = event_;
@@ -453,38 +501,39 @@ public com.google.cloud.channel.v1.SubscriberEvent 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.cloud.channel.v1.SubscriberEvent) {
-        return mergeFrom((com.google.cloud.channel.v1.SubscriberEvent)other);
+        return mergeFrom((com.google.cloud.channel.v1.SubscriberEvent) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -494,17 +543,20 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.cloud.channel.v1.SubscriberEvent other) {
       if (other == com.google.cloud.channel.v1.SubscriberEvent.getDefaultInstance()) return this;
       switch (other.getEventCase()) {
-        case CUSTOMER_EVENT: {
-          mergeCustomerEvent(other.getCustomerEvent());
-          break;
-        }
-        case ENTITLEMENT_EVENT: {
-          mergeEntitlementEvent(other.getEntitlementEvent());
-          break;
-        }
-        case EVENT_NOT_SET: {
-          break;
-        }
+        case CUSTOMER_EVENT:
+          {
+            mergeCustomerEvent(other.getCustomerEvent());
+            break;
+          }
+        case ENTITLEMENT_EVENT:
+          {
+            mergeEntitlementEvent(other.getEntitlementEvent());
+            break;
+          }
+        case EVENT_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -532,26 +584,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getCustomerEventFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              eventCase_ = 1;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getEntitlementEventFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              eventCase_ = 2;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getCustomerEventFieldBuilder().getBuilder(), extensionRegistry);
+                eventCase_ = 1;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(
+                    getEntitlementEventFieldBuilder().getBuilder(), extensionRegistry);
+                eventCase_ = 2;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -561,12 +613,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int eventCase_ = 0;
     private java.lang.Object event_;
-    public EventCase
-        getEventCase() {
-      return EventCase.forNumber(
-          eventCase_);
+
+    public EventCase getEventCase() {
+      return EventCase.forNumber(eventCase_);
     }
 
     public Builder clearEvent() {
@@ -576,15 +628,20 @@ public Builder clearEvent() {
       return this;
     }
 
-
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.channel.v1.CustomerEvent, com.google.cloud.channel.v1.CustomerEvent.Builder, com.google.cloud.channel.v1.CustomerEventOrBuilder> customerEventBuilder_;
+            com.google.cloud.channel.v1.CustomerEvent,
+            com.google.cloud.channel.v1.CustomerEvent.Builder,
+            com.google.cloud.channel.v1.CustomerEventOrBuilder>
+        customerEventBuilder_;
     /**
+     *
+     *
      * 
      * Customer event sent as part of Pub/Sub event to partners.
      * 
* * .google.cloud.channel.v1.CustomerEvent customer_event = 1; + * * @return Whether the customerEvent field is set. */ @java.lang.Override @@ -592,11 +649,14 @@ public boolean hasCustomerEvent() { return eventCase_ == 1; } /** + * + * *
      * Customer event sent as part of Pub/Sub event to partners.
      * 
* * .google.cloud.channel.v1.CustomerEvent customer_event = 1; + * * @return The customerEvent. */ @java.lang.Override @@ -614,6 +674,8 @@ public com.google.cloud.channel.v1.CustomerEvent getCustomerEvent() { } } /** + * + * *
      * Customer event sent as part of Pub/Sub event to partners.
      * 
@@ -634,6 +696,8 @@ public Builder setCustomerEvent(com.google.cloud.channel.v1.CustomerEvent value) return this; } /** + * + * *
      * Customer event sent as part of Pub/Sub event to partners.
      * 
@@ -652,6 +716,8 @@ public Builder setCustomerEvent( return this; } /** + * + * *
      * Customer event sent as part of Pub/Sub event to partners.
      * 
@@ -660,10 +726,13 @@ public Builder setCustomerEvent( */ public Builder mergeCustomerEvent(com.google.cloud.channel.v1.CustomerEvent value) { if (customerEventBuilder_ == null) { - if (eventCase_ == 1 && - event_ != com.google.cloud.channel.v1.CustomerEvent.getDefaultInstance()) { - event_ = com.google.cloud.channel.v1.CustomerEvent.newBuilder((com.google.cloud.channel.v1.CustomerEvent) event_) - .mergeFrom(value).buildPartial(); + if (eventCase_ == 1 + && event_ != com.google.cloud.channel.v1.CustomerEvent.getDefaultInstance()) { + event_ = + com.google.cloud.channel.v1.CustomerEvent.newBuilder( + (com.google.cloud.channel.v1.CustomerEvent) event_) + .mergeFrom(value) + .buildPartial(); } else { event_ = value; } @@ -679,6 +748,8 @@ public Builder mergeCustomerEvent(com.google.cloud.channel.v1.CustomerEvent valu return this; } /** + * + * *
      * Customer event sent as part of Pub/Sub event to partners.
      * 
@@ -702,6 +773,8 @@ public Builder clearCustomerEvent() { return this; } /** + * + * *
      * Customer event sent as part of Pub/Sub event to partners.
      * 
@@ -712,6 +785,8 @@ public com.google.cloud.channel.v1.CustomerEvent.Builder getCustomerEventBuilder return getCustomerEventFieldBuilder().getBuilder(); } /** + * + * *
      * Customer event sent as part of Pub/Sub event to partners.
      * 
@@ -730,6 +805,8 @@ public com.google.cloud.channel.v1.CustomerEventOrBuilder getCustomerEventOrBuil } } /** + * + * *
      * Customer event sent as part of Pub/Sub event to partners.
      * 
@@ -737,32 +814,44 @@ public com.google.cloud.channel.v1.CustomerEventOrBuilder getCustomerEventOrBuil * .google.cloud.channel.v1.CustomerEvent customer_event = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CustomerEvent, com.google.cloud.channel.v1.CustomerEvent.Builder, com.google.cloud.channel.v1.CustomerEventOrBuilder> + com.google.cloud.channel.v1.CustomerEvent, + com.google.cloud.channel.v1.CustomerEvent.Builder, + com.google.cloud.channel.v1.CustomerEventOrBuilder> getCustomerEventFieldBuilder() { if (customerEventBuilder_ == null) { if (!(eventCase_ == 1)) { event_ = com.google.cloud.channel.v1.CustomerEvent.getDefaultInstance(); } - customerEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CustomerEvent, com.google.cloud.channel.v1.CustomerEvent.Builder, com.google.cloud.channel.v1.CustomerEventOrBuilder>( + customerEventBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.CustomerEvent, + com.google.cloud.channel.v1.CustomerEvent.Builder, + com.google.cloud.channel.v1.CustomerEventOrBuilder>( (com.google.cloud.channel.v1.CustomerEvent) event_, getParentForChildren(), isClean()); event_ = null; } eventCase_ = 1; - onChanged();; + onChanged(); + ; return customerEventBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.EntitlementEvent, com.google.cloud.channel.v1.EntitlementEvent.Builder, com.google.cloud.channel.v1.EntitlementEventOrBuilder> entitlementEventBuilder_; + com.google.cloud.channel.v1.EntitlementEvent, + com.google.cloud.channel.v1.EntitlementEvent.Builder, + com.google.cloud.channel.v1.EntitlementEventOrBuilder> + entitlementEventBuilder_; /** + * + * *
      * Entitlement event sent as part of Pub/Sub event to partners.
      * 
* * .google.cloud.channel.v1.EntitlementEvent entitlement_event = 2; + * * @return Whether the entitlementEvent field is set. */ @java.lang.Override @@ -770,11 +859,14 @@ public boolean hasEntitlementEvent() { return eventCase_ == 2; } /** + * + * *
      * Entitlement event sent as part of Pub/Sub event to partners.
      * 
* * .google.cloud.channel.v1.EntitlementEvent entitlement_event = 2; + * * @return The entitlementEvent. */ @java.lang.Override @@ -792,6 +884,8 @@ public com.google.cloud.channel.v1.EntitlementEvent getEntitlementEvent() { } } /** + * + * *
      * Entitlement event sent as part of Pub/Sub event to partners.
      * 
@@ -812,6 +906,8 @@ public Builder setEntitlementEvent(com.google.cloud.channel.v1.EntitlementEvent return this; } /** + * + * *
      * Entitlement event sent as part of Pub/Sub event to partners.
      * 
@@ -830,6 +926,8 @@ public Builder setEntitlementEvent( return this; } /** + * + * *
      * Entitlement event sent as part of Pub/Sub event to partners.
      * 
@@ -838,10 +936,13 @@ public Builder setEntitlementEvent( */ public Builder mergeEntitlementEvent(com.google.cloud.channel.v1.EntitlementEvent value) { if (entitlementEventBuilder_ == null) { - if (eventCase_ == 2 && - event_ != com.google.cloud.channel.v1.EntitlementEvent.getDefaultInstance()) { - event_ = com.google.cloud.channel.v1.EntitlementEvent.newBuilder((com.google.cloud.channel.v1.EntitlementEvent) event_) - .mergeFrom(value).buildPartial(); + if (eventCase_ == 2 + && event_ != com.google.cloud.channel.v1.EntitlementEvent.getDefaultInstance()) { + event_ = + com.google.cloud.channel.v1.EntitlementEvent.newBuilder( + (com.google.cloud.channel.v1.EntitlementEvent) event_) + .mergeFrom(value) + .buildPartial(); } else { event_ = value; } @@ -857,6 +958,8 @@ public Builder mergeEntitlementEvent(com.google.cloud.channel.v1.EntitlementEven return this; } /** + * + * *
      * Entitlement event sent as part of Pub/Sub event to partners.
      * 
@@ -880,6 +983,8 @@ public Builder clearEntitlementEvent() { return this; } /** + * + * *
      * Entitlement event sent as part of Pub/Sub event to partners.
      * 
@@ -890,6 +995,8 @@ public com.google.cloud.channel.v1.EntitlementEvent.Builder getEntitlementEventB return getEntitlementEventFieldBuilder().getBuilder(); } /** + * + * *
      * Entitlement event sent as part of Pub/Sub event to partners.
      * 
@@ -908,6 +1015,8 @@ public com.google.cloud.channel.v1.EntitlementEventOrBuilder getEntitlementEvent } } /** + * + * *
      * Entitlement event sent as part of Pub/Sub event to partners.
      * 
@@ -915,26 +1024,32 @@ public com.google.cloud.channel.v1.EntitlementEventOrBuilder getEntitlementEvent * .google.cloud.channel.v1.EntitlementEvent entitlement_event = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.EntitlementEvent, com.google.cloud.channel.v1.EntitlementEvent.Builder, com.google.cloud.channel.v1.EntitlementEventOrBuilder> + com.google.cloud.channel.v1.EntitlementEvent, + com.google.cloud.channel.v1.EntitlementEvent.Builder, + com.google.cloud.channel.v1.EntitlementEventOrBuilder> getEntitlementEventFieldBuilder() { if (entitlementEventBuilder_ == null) { if (!(eventCase_ == 2)) { event_ = com.google.cloud.channel.v1.EntitlementEvent.getDefaultInstance(); } - entitlementEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.EntitlementEvent, com.google.cloud.channel.v1.EntitlementEvent.Builder, com.google.cloud.channel.v1.EntitlementEventOrBuilder>( + entitlementEventBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.EntitlementEvent, + com.google.cloud.channel.v1.EntitlementEvent.Builder, + com.google.cloud.channel.v1.EntitlementEventOrBuilder>( (com.google.cloud.channel.v1.EntitlementEvent) event_, getParentForChildren(), isClean()); event_ = null; } eventCase_ = 2; - onChanged();; + onChanged(); + ; return entitlementEventBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -944,12 +1059,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.SubscriberEvent) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.SubscriberEvent) private static final com.google.cloud.channel.v1.SubscriberEvent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.SubscriberEvent(); } @@ -958,27 +1073,27 @@ public static com.google.cloud.channel.v1.SubscriberEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SubscriberEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SubscriberEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -993,6 +1108,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.SubscriberEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventOrBuilder.java similarity index 73% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventOrBuilder.java index 6d776b34d261..ead1029a297d 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventOrBuilder.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/cloud/channel/v1/subscriber_event.proto package com.google.cloud.channel.v1; -public interface SubscriberEventOrBuilder extends +public interface SubscriberEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.SubscriberEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Customer event sent as part of Pub/Sub event to partners.
    * 
* * .google.cloud.channel.v1.CustomerEvent customer_event = 1; + * * @return Whether the customerEvent field is set. */ boolean hasCustomerEvent(); /** + * + * *
    * Customer event sent as part of Pub/Sub event to partners.
    * 
* * .google.cloud.channel.v1.CustomerEvent customer_event = 1; + * * @return The customerEvent. */ com.google.cloud.channel.v1.CustomerEvent getCustomerEvent(); /** + * + * *
    * Customer event sent as part of Pub/Sub event to partners.
    * 
@@ -35,24 +59,32 @@ public interface SubscriberEventOrBuilder extends com.google.cloud.channel.v1.CustomerEventOrBuilder getCustomerEventOrBuilder(); /** + * + * *
    * Entitlement event sent as part of Pub/Sub event to partners.
    * 
* * .google.cloud.channel.v1.EntitlementEvent entitlement_event = 2; + * * @return Whether the entitlementEvent field is set. */ boolean hasEntitlementEvent(); /** + * + * *
    * Entitlement event sent as part of Pub/Sub event to partners.
    * 
* * .google.cloud.channel.v1.EntitlementEvent entitlement_event = 2; + * * @return The entitlementEvent. */ com.google.cloud.channel.v1.EntitlementEvent getEntitlementEvent(); /** + * + * *
    * Entitlement event sent as part of Pub/Sub event to partners.
    * 
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventProto.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventProto.java new file mode 100644 index 000000000000..814714a5343c --- /dev/null +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventProto.java @@ -0,0 +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/cloud/channel/v1/subscriber_event.proto + +package com.google.cloud.channel.v1; + +public final class SubscriberEventProto { + private SubscriberEventProto() {} + + 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_cloud_channel_v1_CustomerEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_CustomerEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_EntitlementEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_EntitlementEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_channel_v1_SubscriberEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_channel_v1_SubscriberEvent_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/cloud/channel/v1/subscriber_eve" + + "nt.proto\022\027google.cloud.channel.v1\032\031googl" + + "e/api/resource.proto\"\344\001\n\rCustomerEvent\022;" + + "\n\010customer\030\001 \001(\tB)\372A&\n$cloudchannel.goog" + + "leapis.com/Customer\022?\n\nevent_type\030\002 \001(\0162" + + "+.google.cloud.channel.v1.CustomerEvent." + + "Type\"U\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\032\n\026PR" + + "IMARY_DOMAIN_CHANGED\020\001\022\033\n\027PRIMARY_DOMAIN" + + "_VERIFIED\020\002\"\261\003\n\020EntitlementEvent\022A\n\013enti" + + "tlement\030\001 \001(\tB,\372A)\n\'cloudchannel.googlea" + + "pis.com/Entitlement\022B\n\nevent_type\030\002 \001(\0162" + + "..google.cloud.channel.v1.EntitlementEve" + + "nt.Type\"\225\002\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\013" + + "\n\007CREATED\020\001\022\027\n\023PRICE_PLAN_SWITCHED\020\003\022\026\n\022" + + "COMMITMENT_CHANGED\020\004\022\013\n\007RENEWED\020\005\022\r\n\tSUS" + + "PENDED\020\006\022\r\n\tACTIVATED\020\007\022\r\n\tCANCELLED\020\010\022\017" + + "\n\013SKU_CHANGED\020\t\022\033\n\027RENEWAL_SETTING_CHANG" + + "ED\020\n\022\030\n\024PAID_SERVICE_STARTED\020\013\022\036\n\032LICENS" + + "E_ASSIGNMENT_CHANGED\020\014\022\027\n\023LICENSE_CAP_CH" + + "ANGED\020\r\"\244\001\n\017SubscriberEvent\022@\n\016customer_" + + "event\030\001 \001(\0132&.google.cloud.channel.v1.Cu" + + "stomerEventH\000\022F\n\021entitlement_event\030\002 \001(\013" + + "2).google.cloud.channel.v1.EntitlementEv" + + "entH\000B\007\n\005eventBu\n\033com.google.cloud.chann" + + "el.v1B\024SubscriberEventProtoP\001Z>google.go" + + "lang.org/genproto/googleapis/cloud/chann" + + "el/v1;channelb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + }); + internal_static_google_cloud_channel_v1_CustomerEvent_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_channel_v1_CustomerEvent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_CustomerEvent_descriptor, + new java.lang.String[] { + "Customer", "EventType", + }); + internal_static_google_cloud_channel_v1_EntitlementEvent_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_channel_v1_EntitlementEvent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_EntitlementEvent_descriptor, + new java.lang.String[] { + "Entitlement", "EventType", + }); + internal_static_google_cloud_channel_v1_SubscriberEvent_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_channel_v1_SubscriberEvent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_channel_v1_SubscriberEvent_descriptor, + new java.lang.String[] { + "CustomerEvent", "EntitlementEvent", "Event", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequest.java similarity index 72% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequest.java index 4dcd1d68a6b1..d31c59c8c025 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelService.SuspendEntitlement][google.cloud.channel.v1.CloudChannelService.SuspendEntitlement].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.SuspendEntitlementRequest}
  */
-public final class SuspendEntitlementRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SuspendEntitlementRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.SuspendEntitlementRequest)
     SuspendEntitlementRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SuspendEntitlementRequest.newBuilder() to construct.
   private SuspendEntitlementRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private SuspendEntitlementRequest() {
     name_ = "";
     requestId_ = "";
@@ -27,32 +45,35 @@ private SuspendEntitlementRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SuspendEntitlementRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.SuspendEntitlementRequest.class, com.google.cloud.channel.v1.SuspendEntitlementRequest.Builder.class);
+            com.google.cloud.channel.v1.SuspendEntitlementRequest.class,
+            com.google.cloud.channel.v1.SuspendEntitlementRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The resource name of the entitlement to suspend.
    * Name uses the format:
@@ -60,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -68,14 +90,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the entitlement to suspend.
    * Name uses the format:
@@ -83,16 +106,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -103,6 +125,8 @@ public java.lang.String getName() { public static final int REQUEST_ID_FIELD_NUMBER = 3; private volatile java.lang.Object requestId_; /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -117,6 +141,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -125,14 +150,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -147,16 +173,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -165,6 +190,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -176,8 +202,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -207,17 +232,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.SuspendEntitlementRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.SuspendEntitlementRequest other = (com.google.cloud.channel.v1.SuspendEntitlementRequest) obj; + com.google.cloud.channel.v1.SuspendEntitlementRequest other = + (com.google.cloud.channel.v1.SuspendEntitlementRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -239,96 +263,104 @@ public int hashCode() { } public static com.google.cloud.channel.v1.SuspendEntitlementRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.SuspendEntitlementRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.SuspendEntitlementRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.SuspendEntitlementRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.SuspendEntitlementRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.SuspendEntitlementRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.SuspendEntitlementRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.SuspendEntitlementRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.SuspendEntitlementRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.SuspendEntitlementRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.SuspendEntitlementRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.SuspendEntitlementRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.SuspendEntitlementRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.SuspendEntitlementRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.SuspendEntitlementRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.SuspendEntitlementRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelService.SuspendEntitlement][google.cloud.channel.v1.CloudChannelService.SuspendEntitlement].
@@ -336,33 +368,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.SuspendEntitlementRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.SuspendEntitlementRequest)
       com.google.cloud.channel.v1.SuspendEntitlementRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.SuspendEntitlementRequest.class, com.google.cloud.channel.v1.SuspendEntitlementRequest.Builder.class);
+              com.google.cloud.channel.v1.SuspendEntitlementRequest.class,
+              com.google.cloud.channel.v1.SuspendEntitlementRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.SuspendEntitlementRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -374,9 +405,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_descriptor;
     }
 
     @java.lang.Override
@@ -395,7 +426,8 @@ public com.google.cloud.channel.v1.SuspendEntitlementRequest build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.SuspendEntitlementRequest buildPartial() {
-      com.google.cloud.channel.v1.SuspendEntitlementRequest result = new com.google.cloud.channel.v1.SuspendEntitlementRequest(this);
+      com.google.cloud.channel.v1.SuspendEntitlementRequest result =
+          new com.google.cloud.channel.v1.SuspendEntitlementRequest(this);
       result.name_ = name_;
       result.requestId_ = requestId_;
       onBuilt();
@@ -406,38 +438,39 @@ public com.google.cloud.channel.v1.SuspendEntitlementRequest 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.cloud.channel.v1.SuspendEntitlementRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.SuspendEntitlementRequest)other);
+        return mergeFrom((com.google.cloud.channel.v1.SuspendEntitlementRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -445,7 +478,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.SuspendEntitlementRequest other) {
-      if (other == com.google.cloud.channel.v1.SuspendEntitlementRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.SuspendEntitlementRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -480,22 +514,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 26: {
-              requestId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 26:
+              {
+                requestId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -508,6 +545,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The resource name of the entitlement to suspend.
      * Name uses the format:
@@ -515,13 +554,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -530,6 +569,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the entitlement to suspend.
      * Name uses the format:
@@ -537,15 +578,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -553,6 +593,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the entitlement to suspend.
      * Name uses the format:
@@ -560,20 +602,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 entitlement to suspend.
      * Name uses the format:
@@ -581,15 +625,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the entitlement to suspend.
      * Name uses the format:
@@ -597,16 +644,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -614,6 +661,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -628,13 +677,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -643,6 +692,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -657,15 +708,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -673,6 +723,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -687,20 +739,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -715,15 +769,18 @@ public Builder setRequestId(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -738,23 +795,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -764,12 +821,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.SuspendEntitlementRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.SuspendEntitlementRequest) private static final com.google.cloud.channel.v1.SuspendEntitlementRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.SuspendEntitlementRequest(); } @@ -778,27 +835,27 @@ public static com.google.cloud.channel.v1.SuspendEntitlementRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SuspendEntitlementRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SuspendEntitlementRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -813,6 +870,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.channel.v1.SuspendEntitlementRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequestOrBuilder.java index 135ed7644ac9..e4ba66971b4d 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SuspendEntitlementRequestOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface SuspendEntitlementRequestOrBuilder extends +public interface SuspendEntitlementRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.SuspendEntitlementRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the entitlement to suspend.
    * Name uses the format:
@@ -15,10 +33,13 @@ public interface SuspendEntitlementRequestOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the entitlement to suspend.
    * Name uses the format:
@@ -26,12 +47,14 @@ public interface SuspendEntitlementRequestOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -46,10 +69,13 @@ public interface SuspendEntitlementRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -64,8 +90,8 @@ public interface SuspendEntitlementRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibility.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibility.java similarity index 68% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibility.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibility.java index f71b2b7202d7..1d15eaee4031 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibility.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibility.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/cloud/channel/v1/entitlements.proto package com.google.cloud.channel.v1; /** + * + * *
  * Specifies transfer eligibility of a SKU.
  * 
* * Protobuf type {@code google.cloud.channel.v1.TransferEligibility} */ -public final class TransferEligibility extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TransferEligibility extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.TransferEligibility) TransferEligibilityOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TransferEligibility.newBuilder() to construct. private TransferEligibility(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TransferEligibility() { description_ = ""; ineligibilityReason_ = 0; @@ -26,39 +44,43 @@ private TransferEligibility() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TransferEligibility(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_TransferEligibility_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_TransferEligibility_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_TransferEligibility_fieldAccessorTable + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_TransferEligibility_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.TransferEligibility.class, com.google.cloud.channel.v1.TransferEligibility.Builder.class); + com.google.cloud.channel.v1.TransferEligibility.class, + com.google.cloud.channel.v1.TransferEligibility.Builder.class); } /** + * + * *
    * Reason of ineligibility.
    * 
* * Protobuf enum {@code google.cloud.channel.v1.TransferEligibility.Reason} */ - public enum Reason - implements com.google.protobuf.ProtocolMessageEnum { + public enum Reason implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not used.
      * 
@@ -67,6 +89,8 @@ public enum Reason */ REASON_UNSPECIFIED(0), /** + * + * *
      * Reseller needs to accept TOS before transferring the SKU.
      * 
@@ -75,6 +99,8 @@ public enum Reason */ PENDING_TOS_ACCEPTANCE(1), /** + * + * *
      * Reseller not eligible to sell the SKU.
      * 
@@ -83,6 +109,8 @@ public enum Reason */ SKU_NOT_ELIGIBLE(2), /** + * + * *
      * SKU subscription is suspended
      * 
@@ -94,6 +122,8 @@ public enum Reason ; /** + * + * *
      * Not used.
      * 
@@ -102,6 +132,8 @@ public enum Reason */ public static final int REASON_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Reseller needs to accept TOS before transferring the SKU.
      * 
@@ -110,6 +142,8 @@ public enum Reason */ public static final int PENDING_TOS_ACCEPTANCE_VALUE = 1; /** + * + * *
      * Reseller not eligible to sell the SKU.
      * 
@@ -118,6 +152,8 @@ public enum Reason */ public static final int SKU_NOT_ELIGIBLE_VALUE = 2; /** + * + * *
      * SKU subscription is suspended
      * 
@@ -126,7 +162,6 @@ public enum Reason */ public static final int SKU_SUSPENDED_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -151,50 +186,51 @@ public static Reason valueOf(int value) { */ public static Reason forNumber(int value) { switch (value) { - case 0: return REASON_UNSPECIFIED; - case 1: return PENDING_TOS_ACCEPTANCE; - case 2: return SKU_NOT_ELIGIBLE; - case 3: return SKU_SUSPENDED; - default: return null; + case 0: + return REASON_UNSPECIFIED; + case 1: + return PENDING_TOS_ACCEPTANCE; + case 2: + return SKU_NOT_ELIGIBLE; + case 3: + return SKU_SUSPENDED; + 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< - Reason> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Reason findValueByNumber(int number) { - return Reason.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 Reason findValueByNumber(int number) { + return Reason.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.cloud.channel.v1.TransferEligibility.getDescriptor().getEnumTypes().get(0); } private static final Reason[] VALUES = values(); - public static Reason valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Reason 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; @@ -214,11 +250,14 @@ private Reason(int value) { public static final int IS_ELIGIBLE_FIELD_NUMBER = 1; private boolean isEligible_; /** + * + * *
    * Whether reseller is eligible to transfer the SKU.
    * 
* * bool is_eligible = 1; + * * @return The isEligible. */ @java.lang.Override @@ -229,11 +268,14 @@ public boolean getIsEligible() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
    * Localized description if reseller is not eligible to transfer the SKU.
    * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -242,29 +284,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; } } /** + * + * *
    * Localized description if reseller is not eligible to transfer the SKU.
    * 
* * string description = 2; + * * @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 { @@ -275,31 +317,43 @@ public java.lang.String getDescription() { public static final int INELIGIBILITY_REASON_FIELD_NUMBER = 3; private int ineligibilityReason_; /** + * + * *
    * Specified the reason for ineligibility.
    * 
* * .google.cloud.channel.v1.TransferEligibility.Reason ineligibility_reason = 3; + * * @return The enum numeric value on the wire for ineligibilityReason. */ - @java.lang.Override public int getIneligibilityReasonValue() { + @java.lang.Override + public int getIneligibilityReasonValue() { return ineligibilityReason_; } /** + * + * *
    * Specified the reason for ineligibility.
    * 
* * .google.cloud.channel.v1.TransferEligibility.Reason ineligibility_reason = 3; + * * @return The ineligibilityReason. */ - @java.lang.Override public com.google.cloud.channel.v1.TransferEligibility.Reason getIneligibilityReason() { + @java.lang.Override + public com.google.cloud.channel.v1.TransferEligibility.Reason getIneligibilityReason() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.TransferEligibility.Reason result = com.google.cloud.channel.v1.TransferEligibility.Reason.valueOf(ineligibilityReason_); - return result == null ? com.google.cloud.channel.v1.TransferEligibility.Reason.UNRECOGNIZED : result; + com.google.cloud.channel.v1.TransferEligibility.Reason result = + com.google.cloud.channel.v1.TransferEligibility.Reason.valueOf(ineligibilityReason_); + return result == null + ? com.google.cloud.channel.v1.TransferEligibility.Reason.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -311,15 +365,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 (isEligible_ != false) { output.writeBool(1, isEligible_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_); } - if (ineligibilityReason_ != com.google.cloud.channel.v1.TransferEligibility.Reason.REASON_UNSPECIFIED.getNumber()) { + if (ineligibilityReason_ + != com.google.cloud.channel.v1.TransferEligibility.Reason.REASON_UNSPECIFIED.getNumber()) { output.writeEnum(3, ineligibilityReason_); } getUnknownFields().writeTo(output); @@ -332,15 +386,14 @@ public int getSerializedSize() { size = 0; if (isEligible_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, isEligible_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, isEligible_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } - if (ineligibilityReason_ != com.google.cloud.channel.v1.TransferEligibility.Reason.REASON_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, ineligibilityReason_); + if (ineligibilityReason_ + != com.google.cloud.channel.v1.TransferEligibility.Reason.REASON_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, ineligibilityReason_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -350,17 +403,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.cloud.channel.v1.TransferEligibility)) { return super.equals(obj); } - com.google.cloud.channel.v1.TransferEligibility other = (com.google.cloud.channel.v1.TransferEligibility) obj; + com.google.cloud.channel.v1.TransferEligibility other = + (com.google.cloud.channel.v1.TransferEligibility) obj; - if (getIsEligible() - != other.getIsEligible()) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (getIsEligible() != other.getIsEligible()) return false; + if (!getDescription().equals(other.getDescription())) return false; if (ineligibilityReason_ != other.ineligibilityReason_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -374,8 +426,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + IS_ELIGIBLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIsEligible()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsEligible()); hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); hash = (37 * hash) + INELIGIBILITY_REASON_FIELD_NUMBER; @@ -385,130 +436,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.TransferEligibility parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.TransferEligibility parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.TransferEligibility parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.TransferEligibility parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.TransferEligibility parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.TransferEligibility parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.TransferEligibility parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.TransferEligibility 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.cloud.channel.v1.TransferEligibility parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.TransferEligibility parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.TransferEligibility parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.TransferEligibility parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.TransferEligibility parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.TransferEligibility parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.TransferEligibility prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Specifies transfer eligibility of a SKU.
    * 
* * Protobuf type {@code google.cloud.channel.v1.TransferEligibility} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.TransferEligibility) com.google.cloud.channel.v1.TransferEligibilityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_TransferEligibility_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_TransferEligibility_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_TransferEligibility_fieldAccessorTable + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_TransferEligibility_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.TransferEligibility.class, com.google.cloud.channel.v1.TransferEligibility.Builder.class); + com.google.cloud.channel.v1.TransferEligibility.class, + com.google.cloud.channel.v1.TransferEligibility.Builder.class); } // Construct using com.google.cloud.channel.v1.TransferEligibility.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -522,9 +579,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_TransferEligibility_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_TransferEligibility_descriptor; } @java.lang.Override @@ -543,7 +600,8 @@ public com.google.cloud.channel.v1.TransferEligibility build() { @java.lang.Override public com.google.cloud.channel.v1.TransferEligibility buildPartial() { - com.google.cloud.channel.v1.TransferEligibility result = new com.google.cloud.channel.v1.TransferEligibility(this); + com.google.cloud.channel.v1.TransferEligibility result = + new com.google.cloud.channel.v1.TransferEligibility(this); result.isEligible_ = isEligible_; result.description_ = description_; result.ineligibilityReason_ = ineligibilityReason_; @@ -555,38 +613,39 @@ public com.google.cloud.channel.v1.TransferEligibility 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.cloud.channel.v1.TransferEligibility) { - return mergeFrom((com.google.cloud.channel.v1.TransferEligibility)other); + return mergeFrom((com.google.cloud.channel.v1.TransferEligibility) other); } else { super.mergeFrom(other); return this; @@ -594,7 +653,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.TransferEligibility other) { - if (other == com.google.cloud.channel.v1.TransferEligibility.getDefaultInstance()) return this; + if (other == com.google.cloud.channel.v1.TransferEligibility.getDefaultInstance()) + return this; if (other.getIsEligible() != false) { setIsEligible(other.getIsEligible()); } @@ -631,27 +691,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - isEligible_ = input.readBool(); - - break; - } // case 8 - case 18: { - description_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: { - ineligibilityReason_ = input.readEnum(); - - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + isEligible_ = input.readBool(); + + break; + } // case 8 + case 18: + { + description_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: + { + ineligibilityReason_ = input.readEnum(); + + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -662,13 +726,16 @@ public Builder mergeFrom( return this; } - private boolean isEligible_ ; + private boolean isEligible_; /** + * + * *
      * Whether reseller is eligible to transfer the SKU.
      * 
* * bool is_eligible = 1; + * * @return The isEligible. */ @java.lang.Override @@ -676,30 +743,36 @@ public boolean getIsEligible() { return isEligible_; } /** + * + * *
      * Whether reseller is eligible to transfer the SKU.
      * 
* * bool is_eligible = 1; + * * @param value The isEligible to set. * @return This builder for chaining. */ public Builder setIsEligible(boolean value) { - + isEligible_ = value; onChanged(); return this; } /** + * + * *
      * Whether reseller is eligible to transfer the SKU.
      * 
* * bool is_eligible = 1; + * * @return This builder for chaining. */ public Builder clearIsEligible() { - + isEligible_ = false; onChanged(); return this; @@ -707,18 +780,20 @@ public Builder clearIsEligible() { private java.lang.Object description_ = ""; /** + * + * *
      * Localized description if reseller is not eligible to transfer the SKU.
      * 
* * string description = 2; + * * @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; @@ -727,20 +802,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Localized description if reseller is not eligible to transfer the SKU.
      * 
* * string description = 2; + * * @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 { @@ -748,54 +824,61 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Localized description if reseller is not eligible to transfer the SKU.
      * 
* * string description = 2; + * * @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; } /** + * + * *
      * Localized description if reseller is not eligible to transfer the SKU.
      * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Localized description if reseller is not eligible to transfer the SKU.
      * 
* * string description = 2; + * * @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; @@ -803,80 +886,100 @@ public Builder setDescriptionBytes( private int ineligibilityReason_ = 0; /** + * + * *
      * Specified the reason for ineligibility.
      * 
* * .google.cloud.channel.v1.TransferEligibility.Reason ineligibility_reason = 3; + * * @return The enum numeric value on the wire for ineligibilityReason. */ - @java.lang.Override public int getIneligibilityReasonValue() { + @java.lang.Override + public int getIneligibilityReasonValue() { return ineligibilityReason_; } /** + * + * *
      * Specified the reason for ineligibility.
      * 
* * .google.cloud.channel.v1.TransferEligibility.Reason ineligibility_reason = 3; + * * @param value The enum numeric value on the wire for ineligibilityReason to set. * @return This builder for chaining. */ public Builder setIneligibilityReasonValue(int value) { - + ineligibilityReason_ = value; onChanged(); return this; } /** + * + * *
      * Specified the reason for ineligibility.
      * 
* * .google.cloud.channel.v1.TransferEligibility.Reason ineligibility_reason = 3; + * * @return The ineligibilityReason. */ @java.lang.Override public com.google.cloud.channel.v1.TransferEligibility.Reason getIneligibilityReason() { @SuppressWarnings("deprecation") - com.google.cloud.channel.v1.TransferEligibility.Reason result = com.google.cloud.channel.v1.TransferEligibility.Reason.valueOf(ineligibilityReason_); - return result == null ? com.google.cloud.channel.v1.TransferEligibility.Reason.UNRECOGNIZED : result; + com.google.cloud.channel.v1.TransferEligibility.Reason result = + com.google.cloud.channel.v1.TransferEligibility.Reason.valueOf(ineligibilityReason_); + return result == null + ? com.google.cloud.channel.v1.TransferEligibility.Reason.UNRECOGNIZED + : result; } /** + * + * *
      * Specified the reason for ineligibility.
      * 
* * .google.cloud.channel.v1.TransferEligibility.Reason ineligibility_reason = 3; + * * @param value The ineligibilityReason to set. * @return This builder for chaining. */ - public Builder setIneligibilityReason(com.google.cloud.channel.v1.TransferEligibility.Reason value) { + public Builder setIneligibilityReason( + com.google.cloud.channel.v1.TransferEligibility.Reason value) { if (value == null) { throw new NullPointerException(); } - + ineligibilityReason_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Specified the reason for ineligibility.
      * 
* * .google.cloud.channel.v1.TransferEligibility.Reason ineligibility_reason = 3; + * * @return This builder for chaining. */ public Builder clearIneligibilityReason() { - + ineligibilityReason_ = 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); } @@ -886,12 +989,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.TransferEligibility) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.TransferEligibility) private static final com.google.cloud.channel.v1.TransferEligibility DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.TransferEligibility(); } @@ -900,27 +1003,27 @@ public static com.google.cloud.channel.v1.TransferEligibility getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferEligibility parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferEligibility parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -935,6 +1038,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.TransferEligibility getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibilityOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibilityOrBuilder.java similarity index 65% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibilityOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibilityOrBuilder.java index 006aa8ceb5c0..f1967b64cf06 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibilityOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEligibilityOrBuilder.java @@ -1,57 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/entitlements.proto package com.google.cloud.channel.v1; -public interface TransferEligibilityOrBuilder extends +public interface TransferEligibilityOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.TransferEligibility) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Whether reseller is eligible to transfer the SKU.
    * 
* * bool is_eligible = 1; + * * @return The isEligible. */ boolean getIsEligible(); /** + * + * *
    * Localized description if reseller is not eligible to transfer the SKU.
    * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Localized description if reseller is not eligible to transfer the SKU.
    * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Specified the reason for ineligibility.
    * 
* * .google.cloud.channel.v1.TransferEligibility.Reason ineligibility_reason = 3; + * * @return The enum numeric value on the wire for ineligibilityReason. */ int getIneligibilityReasonValue(); /** + * + * *
    * Specified the reason for ineligibility.
    * 
* * .google.cloud.channel.v1.TransferEligibility.Reason ineligibility_reason = 3; + * * @return The ineligibilityReason. */ com.google.cloud.channel.v1.TransferEligibility.Reason getIneligibilityReason(); diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequest.java similarity index 70% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequest.java index 3f55f01d4789..488b4d31952d 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelService.TransferEntitlements][google.cloud.channel.v1.CloudChannelService.TransferEntitlements].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.TransferEntitlementsRequest}
  */
-public final class TransferEntitlementsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TransferEntitlementsRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.TransferEntitlementsRequest)
     TransferEntitlementsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TransferEntitlementsRequest.newBuilder() to construct.
   private TransferEntitlementsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private TransferEntitlementsRequest() {
     parent_ = "";
     entitlements_ = java.util.Collections.emptyList();
@@ -29,32 +47,35 @@ private TransferEntitlementsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TransferEntitlementsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.TransferEntitlementsRequest.class, com.google.cloud.channel.v1.TransferEntitlementsRequest.Builder.class);
+            com.google.cloud.channel.v1.TransferEntitlementsRequest.class,
+            com.google.cloud.channel.v1.TransferEntitlementsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Required. The resource name of the reseller's customer account that will
    * receive transferred entitlements. Parent uses the format:
@@ -62,6 +83,7 @@ protected java.lang.Object newInstance(
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -70,14 +92,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the reseller's customer account that will
    * receive transferred entitlements. Parent uses the format:
@@ -85,16 +108,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -105,66 +127,87 @@ public java.lang.String getParent() { public static final int ENTITLEMENTS_FIELD_NUMBER = 2; private java.util.List entitlements_; /** + * + * *
    * Required. The new entitlements to create or transfer.
    * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getEntitlementsList() { return entitlements_; } /** + * + * *
    * Required. The new entitlements to create or transfer.
    * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getEntitlementsOrBuilderList() { return entitlements_; } /** + * + * *
    * Required. The new entitlements to create or transfer.
    * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getEntitlementsCount() { return entitlements_.size(); } /** + * + * *
    * Required. The new entitlements to create or transfer.
    * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.channel.v1.Entitlement getEntitlements(int index) { return entitlements_.get(index); } /** + * + * *
    * Required. The new entitlements to create or transfer.
    * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder( - int index) { + public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder(int index) { return entitlements_.get(index); } public static final int AUTH_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object authToken_; /** + * + * *
    * The super admin of the resold customer generates this token to
    * authorize a reseller to access their Cloud Identity and purchase
@@ -173,6 +216,7 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder
    * 
* * string auth_token = 4; + * * @return The authToken. */ @java.lang.Override @@ -181,14 +225,15 @@ public java.lang.String getAuthToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authToken_ = s; return s; } } /** + * + * *
    * The super admin of the resold customer generates this token to
    * authorize a reseller to access their Cloud Identity and purchase
@@ -197,16 +242,15 @@ public java.lang.String getAuthToken() {
    * 
* * string auth_token = 4; + * * @return The bytes for authToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getAuthTokenBytes() { + public com.google.protobuf.ByteString getAuthTokenBytes() { java.lang.Object ref = authToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); authToken_ = b; return b; } else { @@ -217,6 +261,8 @@ public java.lang.String getAuthToken() { public static final int REQUEST_ID_FIELD_NUMBER = 6; private volatile java.lang.Object requestId_; /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -231,6 +277,7 @@ public java.lang.String getAuthToken() {
    * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -239,14 +286,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -261,16 +309,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -279,6 +326,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -290,8 +338,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -317,8 +364,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } for (int i = 0; i < entitlements_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, entitlements_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, entitlements_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, authToken_); @@ -334,21 +380,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.cloud.channel.v1.TransferEntitlementsRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.TransferEntitlementsRequest other = (com.google.cloud.channel.v1.TransferEntitlementsRequest) obj; + com.google.cloud.channel.v1.TransferEntitlementsRequest other = + (com.google.cloud.channel.v1.TransferEntitlementsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getEntitlementsList() - .equals(other.getEntitlementsList())) return false; - if (!getAuthToken() - .equals(other.getAuthToken())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getEntitlementsList().equals(other.getEntitlementsList())) return false; + if (!getAuthToken().equals(other.getAuthToken())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -376,96 +419,104 @@ public int hashCode() { } public static com.google.cloud.channel.v1.TransferEntitlementsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.TransferEntitlementsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.TransferEntitlementsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.TransferEntitlementsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.TransferEntitlementsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.TransferEntitlementsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.TransferEntitlementsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.TransferEntitlementsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.TransferEntitlementsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.TransferEntitlementsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.TransferEntitlementsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.TransferEntitlementsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.TransferEntitlementsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.TransferEntitlementsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.TransferEntitlementsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.TransferEntitlementsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelService.TransferEntitlements][google.cloud.channel.v1.CloudChannelService.TransferEntitlements].
@@ -473,33 +524,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.TransferEntitlementsRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.TransferEntitlementsRequest)
       com.google.cloud.channel.v1.TransferEntitlementsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.TransferEntitlementsRequest.class, com.google.cloud.channel.v1.TransferEntitlementsRequest.Builder.class);
+              com.google.cloud.channel.v1.TransferEntitlementsRequest.class,
+              com.google.cloud.channel.v1.TransferEntitlementsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.TransferEntitlementsRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -520,9 +570,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -541,7 +591,8 @@ public com.google.cloud.channel.v1.TransferEntitlementsRequest build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.TransferEntitlementsRequest buildPartial() {
-      com.google.cloud.channel.v1.TransferEntitlementsRequest result = new com.google.cloud.channel.v1.TransferEntitlementsRequest(this);
+      com.google.cloud.channel.v1.TransferEntitlementsRequest result =
+          new com.google.cloud.channel.v1.TransferEntitlementsRequest(this);
       int from_bitField0_ = bitField0_;
       result.parent_ = parent_;
       if (entitlementsBuilder_ == null) {
@@ -563,38 +614,39 @@ public com.google.cloud.channel.v1.TransferEntitlementsRequest 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.cloud.channel.v1.TransferEntitlementsRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.TransferEntitlementsRequest)other);
+        return mergeFrom((com.google.cloud.channel.v1.TransferEntitlementsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -602,7 +654,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.TransferEntitlementsRequest other) {
-      if (other == com.google.cloud.channel.v1.TransferEntitlementsRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.TransferEntitlementsRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -625,9 +678,10 @@ public Builder mergeFrom(com.google.cloud.channel.v1.TransferEntitlementsRequest
             entitlementsBuilder_ = null;
             entitlements_ = other.entitlements_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            entitlementsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getEntitlementsFieldBuilder() : null;
+            entitlementsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getEntitlementsFieldBuilder()
+                    : null;
           } else {
             entitlementsBuilder_.addAllMessages(other.entitlements_);
           }
@@ -667,40 +721,44 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              com.google.cloud.channel.v1.Entitlement m =
-                  input.readMessage(
-                      com.google.cloud.channel.v1.Entitlement.parser(),
-                      extensionRegistry);
-              if (entitlementsBuilder_ == null) {
-                ensureEntitlementsIsMutable();
-                entitlements_.add(m);
-              } else {
-                entitlementsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            case 34: {
-              authToken_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.cloud.channel.v1.Entitlement m =
+                    input.readMessage(
+                        com.google.cloud.channel.v1.Entitlement.parser(), extensionRegistry);
+                if (entitlementsBuilder_ == null) {
+                  ensureEntitlementsIsMutable();
+                  entitlements_.add(m);
+                } else {
+                  entitlementsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 18
+            case 34:
+              {
+                authToken_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 34
-            case 50: {
-              requestId_ = input.readStringRequireUtf8();
+                break;
+              } // case 34
+            case 50:
+              {
+                requestId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 50
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -710,10 +768,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The resource name of the reseller's customer account that will
      * receive transferred entitlements. Parent uses the format:
@@ -721,13 +782,13 @@ public Builder mergeFrom(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -736,6 +797,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the reseller's customer account that will
      * receive transferred entitlements. Parent uses the format:
@@ -743,15 +806,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -759,6 +821,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the reseller's customer account that will
      * receive transferred entitlements. Parent uses the format:
@@ -766,20 +830,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 reseller's customer account that will
      * receive transferred entitlements. Parent uses the format:
@@ -787,15 +853,18 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the reseller's customer account that will
      * receive transferred entitlements. Parent uses the format:
@@ -803,39 +872,48 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 entitlements_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureEntitlementsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - entitlements_ = new java.util.ArrayList(entitlements_); + entitlements_ = + new java.util.ArrayList(entitlements_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Entitlement, com.google.cloud.channel.v1.Entitlement.Builder, com.google.cloud.channel.v1.EntitlementOrBuilder> entitlementsBuilder_; + com.google.cloud.channel.v1.Entitlement, + com.google.cloud.channel.v1.Entitlement.Builder, + com.google.cloud.channel.v1.EntitlementOrBuilder> + entitlementsBuilder_; /** + * + * *
      * Required. The new entitlements to create or transfer.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getEntitlementsList() { if (entitlementsBuilder_ == null) { @@ -845,11 +923,15 @@ public java.util.List getEntitlementsLi } } /** + * + * *
      * Required. The new entitlements to create or transfer.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getEntitlementsCount() { if (entitlementsBuilder_ == null) { @@ -859,11 +941,15 @@ public int getEntitlementsCount() { } } /** + * + * *
      * Required. The new entitlements to create or transfer.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.channel.v1.Entitlement getEntitlements(int index) { if (entitlementsBuilder_ == null) { @@ -873,14 +959,17 @@ public com.google.cloud.channel.v1.Entitlement getEntitlements(int index) { } } /** + * + * *
      * Required. The new entitlements to create or transfer.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setEntitlements( - int index, com.google.cloud.channel.v1.Entitlement value) { + public Builder setEntitlements(int index, com.google.cloud.channel.v1.Entitlement value) { if (entitlementsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -894,11 +983,15 @@ public Builder setEntitlements( return this; } /** + * + * *
      * Required. The new entitlements to create or transfer.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setEntitlements( int index, com.google.cloud.channel.v1.Entitlement.Builder builderForValue) { @@ -912,11 +1005,15 @@ public Builder setEntitlements( return this; } /** + * + * *
      * Required. The new entitlements to create or transfer.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addEntitlements(com.google.cloud.channel.v1.Entitlement value) { if (entitlementsBuilder_ == null) { @@ -932,14 +1029,17 @@ public Builder addEntitlements(com.google.cloud.channel.v1.Entitlement value) { return this; } /** + * + * *
      * Required. The new entitlements to create or transfer.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addEntitlements( - int index, com.google.cloud.channel.v1.Entitlement value) { + public Builder addEntitlements(int index, com.google.cloud.channel.v1.Entitlement value) { if (entitlementsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -953,11 +1053,15 @@ public Builder addEntitlements( return this; } /** + * + * *
      * Required. The new entitlements to create or transfer.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addEntitlements( com.google.cloud.channel.v1.Entitlement.Builder builderForValue) { @@ -971,11 +1075,15 @@ public Builder addEntitlements( return this; } /** + * + * *
      * Required. The new entitlements to create or transfer.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addEntitlements( int index, com.google.cloud.channel.v1.Entitlement.Builder builderForValue) { @@ -989,18 +1097,21 @@ public Builder addEntitlements( return this; } /** + * + * *
      * Required. The new entitlements to create or transfer.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllEntitlements( java.lang.Iterable values) { if (entitlementsBuilder_ == null) { ensureEntitlementsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, entitlements_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entitlements_); onChanged(); } else { entitlementsBuilder_.addAllMessages(values); @@ -1008,11 +1119,15 @@ public Builder addAllEntitlements( return this; } /** + * + * *
      * Required. The new entitlements to create or transfer.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearEntitlements() { if (entitlementsBuilder_ == null) { @@ -1025,11 +1140,15 @@ public Builder clearEntitlements() { return this; } /** + * + * *
      * Required. The new entitlements to create or transfer.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeEntitlements(int index) { if (entitlementsBuilder_ == null) { @@ -1042,39 +1161,50 @@ public Builder removeEntitlements(int index) { return this; } /** + * + * *
      * Required. The new entitlements to create or transfer.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.channel.v1.Entitlement.Builder getEntitlementsBuilder( - int index) { + public com.google.cloud.channel.v1.Entitlement.Builder getEntitlementsBuilder(int index) { return getEntitlementsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. The new entitlements to create or transfer.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder( - int index) { + public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder(int index) { if (entitlementsBuilder_ == null) { - return entitlements_.get(index); } else { + return entitlements_.get(index); + } else { return entitlementsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. The new entitlements to create or transfer.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getEntitlementsOrBuilderList() { + public java.util.List + getEntitlementsOrBuilderList() { if (entitlementsBuilder_ != null) { return entitlementsBuilder_.getMessageOrBuilderList(); } else { @@ -1082,49 +1212,63 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder } } /** + * + * *
      * Required. The new entitlements to create or transfer.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder() { - return getEntitlementsFieldBuilder().addBuilder( - com.google.cloud.channel.v1.Entitlement.getDefaultInstance()); + return getEntitlementsFieldBuilder() + .addBuilder(com.google.cloud.channel.v1.Entitlement.getDefaultInstance()); } /** + * + * *
      * Required. The new entitlements to create or transfer.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder( - int index) { - return getEntitlementsFieldBuilder().addBuilder( - index, com.google.cloud.channel.v1.Entitlement.getDefaultInstance()); + public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder(int index) { + return getEntitlementsFieldBuilder() + .addBuilder(index, com.google.cloud.channel.v1.Entitlement.getDefaultInstance()); } /** + * + * *
      * Required. The new entitlements to create or transfer.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getEntitlementsBuilderList() { + public java.util.List + getEntitlementsBuilderList() { return getEntitlementsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Entitlement, com.google.cloud.channel.v1.Entitlement.Builder, com.google.cloud.channel.v1.EntitlementOrBuilder> + com.google.cloud.channel.v1.Entitlement, + com.google.cloud.channel.v1.Entitlement.Builder, + com.google.cloud.channel.v1.EntitlementOrBuilder> getEntitlementsFieldBuilder() { if (entitlementsBuilder_ == null) { - entitlementsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Entitlement, com.google.cloud.channel.v1.Entitlement.Builder, com.google.cloud.channel.v1.EntitlementOrBuilder>( - entitlements_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + entitlementsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.Entitlement, + com.google.cloud.channel.v1.Entitlement.Builder, + com.google.cloud.channel.v1.EntitlementOrBuilder>( + entitlements_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); entitlements_ = null; } return entitlementsBuilder_; @@ -1132,6 +1276,8 @@ public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder( private java.lang.Object authToken_ = ""; /** + * + * *
      * The super admin of the resold customer generates this token to
      * authorize a reseller to access their Cloud Identity and purchase
@@ -1140,13 +1286,13 @@ public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder(
      * 
* * string auth_token = 4; + * * @return The authToken. */ public java.lang.String getAuthToken() { java.lang.Object ref = authToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authToken_ = s; return s; @@ -1155,6 +1301,8 @@ public java.lang.String getAuthToken() { } } /** + * + * *
      * The super admin of the resold customer generates this token to
      * authorize a reseller to access their Cloud Identity and purchase
@@ -1163,15 +1311,14 @@ public java.lang.String getAuthToken() {
      * 
* * string auth_token = 4; + * * @return The bytes for authToken. */ - public com.google.protobuf.ByteString - getAuthTokenBytes() { + public com.google.protobuf.ByteString getAuthTokenBytes() { java.lang.Object ref = authToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); authToken_ = b; return b; } else { @@ -1179,6 +1326,8 @@ public java.lang.String getAuthToken() { } } /** + * + * *
      * The super admin of the resold customer generates this token to
      * authorize a reseller to access their Cloud Identity and purchase
@@ -1187,20 +1336,22 @@ public java.lang.String getAuthToken() {
      * 
* * string auth_token = 4; + * * @param value The authToken to set. * @return This builder for chaining. */ - public Builder setAuthToken( - java.lang.String value) { + public Builder setAuthToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + authToken_ = value; onChanged(); return this; } /** + * + * *
      * The super admin of the resold customer generates this token to
      * authorize a reseller to access their Cloud Identity and purchase
@@ -1209,15 +1360,18 @@ public Builder setAuthToken(
      * 
* * string auth_token = 4; + * * @return This builder for chaining. */ public Builder clearAuthToken() { - + authToken_ = getDefaultInstance().getAuthToken(); onChanged(); return this; } /** + * + * *
      * The super admin of the resold customer generates this token to
      * authorize a reseller to access their Cloud Identity and purchase
@@ -1226,16 +1380,16 @@ public Builder clearAuthToken() {
      * 
* * string auth_token = 4; + * * @param value The bytes for authToken to set. * @return This builder for chaining. */ - public Builder setAuthTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setAuthTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + authToken_ = value; onChanged(); return this; @@ -1243,6 +1397,8 @@ public Builder setAuthTokenBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -1257,13 +1413,13 @@ public Builder setAuthTokenBytes(
      * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1272,6 +1428,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -1286,15 +1444,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1302,6 +1459,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -1316,20 +1475,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -1344,15 +1505,18 @@ public Builder setRequestId(
      * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -1367,23 +1531,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1393,12 +1557,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.TransferEntitlementsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.TransferEntitlementsRequest) private static final com.google.cloud.channel.v1.TransferEntitlementsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.TransferEntitlementsRequest(); } @@ -1407,27 +1571,27 @@ public static com.google.cloud.channel.v1.TransferEntitlementsRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferEntitlementsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferEntitlementsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1442,6 +1606,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.channel.v1.TransferEntitlementsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequestOrBuilder.java index d8564e318731..63fcbc86d8db 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsRequestOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface TransferEntitlementsRequestOrBuilder extends +public interface TransferEntitlementsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.TransferEntitlementsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the reseller's customer account that will
    * receive transferred entitlements. Parent uses the format:
@@ -15,10 +33,13 @@ public interface TransferEntitlementsRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the reseller's customer account that will
    * receive transferred entitlements. Parent uses the format:
@@ -26,56 +47,76 @@ public interface TransferEntitlementsRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The new entitlements to create or transfer.
    * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getEntitlementsList(); + java.util.List getEntitlementsList(); /** + * + * *
    * Required. The new entitlements to create or transfer.
    * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.channel.v1.Entitlement getEntitlements(int index); /** + * + * *
    * Required. The new entitlements to create or transfer.
    * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ int getEntitlementsCount(); /** + * + * *
    * Required. The new entitlements to create or transfer.
    * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getEntitlementsOrBuilderList(); /** + * + * *
    * Required. The new entitlements to create or transfer.
    * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder( - int index); + com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder(int index); /** + * + * *
    * The super admin of the resold customer generates this token to
    * authorize a reseller to access their Cloud Identity and purchase
@@ -84,10 +125,13 @@ com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder(
    * 
* * string auth_token = 4; + * * @return The authToken. */ java.lang.String getAuthToken(); /** + * + * *
    * The super admin of the resold customer generates this token to
    * authorize a reseller to access their Cloud Identity and purchase
@@ -96,12 +140,14 @@ com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder(
    * 
* * string auth_token = 4; + * * @return The bytes for authToken. */ - com.google.protobuf.ByteString - getAuthTokenBytes(); + com.google.protobuf.ByteString getAuthTokenBytes(); /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -116,10 +162,13 @@ com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder(
    * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -134,8 +183,8 @@ com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder(
    * 
* * string request_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponse.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponse.java similarity index 70% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponse.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponse.java index 40c9384ed2e3..3c5ee9df3e7d 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponse.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponse.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Response message for
  * [CloudChannelService.TransferEntitlements][google.cloud.channel.v1.CloudChannelService.TransferEntitlements].
@@ -12,47 +29,51 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.TransferEntitlementsResponse}
  */
-public final class TransferEntitlementsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TransferEntitlementsResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.TransferEntitlementsResponse)
     TransferEntitlementsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TransferEntitlementsResponse.newBuilder() to construct.
   private TransferEntitlementsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private TransferEntitlementsResponse() {
     entitlements_ = 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 TransferEntitlementsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.TransferEntitlementsResponse.class, com.google.cloud.channel.v1.TransferEntitlementsResponse.Builder.class);
+            com.google.cloud.channel.v1.TransferEntitlementsResponse.class,
+            com.google.cloud.channel.v1.TransferEntitlementsResponse.Builder.class);
   }
 
   public static final int ENTITLEMENTS_FIELD_NUMBER = 1;
   private java.util.List entitlements_;
   /**
+   *
+   *
    * 
    * The transferred entitlements.
    * 
@@ -64,6 +85,8 @@ public java.util.List getEntitlementsLi return entitlements_; } /** + * + * *
    * The transferred entitlements.
    * 
@@ -71,11 +94,13 @@ public java.util.List getEntitlementsLi * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ @java.lang.Override - public java.util.List + public java.util.List getEntitlementsOrBuilderList() { return entitlements_; } /** + * + * *
    * The transferred entitlements.
    * 
@@ -87,6 +112,8 @@ public int getEntitlementsCount() { return entitlements_.size(); } /** + * + * *
    * The transferred entitlements.
    * 
@@ -98,6 +125,8 @@ public com.google.cloud.channel.v1.Entitlement getEntitlements(int index) { return entitlements_.get(index); } /** + * + * *
    * The transferred entitlements.
    * 
@@ -105,12 +134,12 @@ public com.google.cloud.channel.v1.Entitlement getEntitlements(int index) { * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ @java.lang.Override - public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder( - int index) { + public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder(int index) { return entitlements_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -122,8 +151,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < entitlements_.size(); i++) { output.writeMessage(1, entitlements_.get(i)); } @@ -137,8 +165,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < entitlements_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, entitlements_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, entitlements_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -148,15 +175,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.TransferEntitlementsResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.TransferEntitlementsResponse other = (com.google.cloud.channel.v1.TransferEntitlementsResponse) obj; + com.google.cloud.channel.v1.TransferEntitlementsResponse other = + (com.google.cloud.channel.v1.TransferEntitlementsResponse) obj; - if (!getEntitlementsList() - .equals(other.getEntitlementsList())) return false; + if (!getEntitlementsList().equals(other.getEntitlementsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -178,96 +205,104 @@ public int hashCode() { } public static com.google.cloud.channel.v1.TransferEntitlementsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.TransferEntitlementsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.TransferEntitlementsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.TransferEntitlementsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.TransferEntitlementsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.TransferEntitlementsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.TransferEntitlementsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.TransferEntitlementsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.TransferEntitlementsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.TransferEntitlementsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.TransferEntitlementsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.TransferEntitlementsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.TransferEntitlementsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.TransferEntitlementsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.TransferEntitlementsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.TransferEntitlementsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [CloudChannelService.TransferEntitlements][google.cloud.channel.v1.CloudChannelService.TransferEntitlements].
@@ -276,33 +311,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.TransferEntitlementsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.TransferEntitlementsResponse)
       com.google.cloud.channel.v1.TransferEntitlementsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.TransferEntitlementsResponse.class, com.google.cloud.channel.v1.TransferEntitlementsResponse.Builder.class);
+              com.google.cloud.channel.v1.TransferEntitlementsResponse.class,
+              com.google.cloud.channel.v1.TransferEntitlementsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.TransferEntitlementsResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -317,9 +351,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -338,7 +372,8 @@ public com.google.cloud.channel.v1.TransferEntitlementsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.TransferEntitlementsResponse buildPartial() {
-      com.google.cloud.channel.v1.TransferEntitlementsResponse result = new com.google.cloud.channel.v1.TransferEntitlementsResponse(this);
+      com.google.cloud.channel.v1.TransferEntitlementsResponse result =
+          new com.google.cloud.channel.v1.TransferEntitlementsResponse(this);
       int from_bitField0_ = bitField0_;
       if (entitlementsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -357,38 +392,39 @@ public com.google.cloud.channel.v1.TransferEntitlementsResponse 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.cloud.channel.v1.TransferEntitlementsResponse) {
-        return mergeFrom((com.google.cloud.channel.v1.TransferEntitlementsResponse)other);
+        return mergeFrom((com.google.cloud.channel.v1.TransferEntitlementsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -396,7 +432,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.TransferEntitlementsResponse other) {
-      if (other == com.google.cloud.channel.v1.TransferEntitlementsResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.TransferEntitlementsResponse.getDefaultInstance())
+        return this;
       if (entitlementsBuilder_ == null) {
         if (!other.entitlements_.isEmpty()) {
           if (entitlements_.isEmpty()) {
@@ -415,9 +452,10 @@ public Builder mergeFrom(com.google.cloud.channel.v1.TransferEntitlementsRespons
             entitlementsBuilder_ = null;
             entitlements_ = other.entitlements_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            entitlementsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getEntitlementsFieldBuilder() : null;
+            entitlementsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getEntitlementsFieldBuilder()
+                    : null;
           } else {
             entitlementsBuilder_.addAllMessages(other.entitlements_);
           }
@@ -449,25 +487,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.channel.v1.Entitlement m =
-                  input.readMessage(
-                      com.google.cloud.channel.v1.Entitlement.parser(),
-                      extensionRegistry);
-              if (entitlementsBuilder_ == null) {
-                ensureEntitlementsIsMutable();
-                entitlements_.add(m);
-              } else {
-                entitlementsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.cloud.channel.v1.Entitlement m =
+                    input.readMessage(
+                        com.google.cloud.channel.v1.Entitlement.parser(), extensionRegistry);
+                if (entitlementsBuilder_ == null) {
+                  ensureEntitlementsIsMutable();
+                  entitlements_.add(m);
+                } else {
+                  entitlementsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -477,21 +516,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List entitlements_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureEntitlementsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        entitlements_ = new java.util.ArrayList(entitlements_);
+        entitlements_ =
+            new java.util.ArrayList(entitlements_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.channel.v1.Entitlement, com.google.cloud.channel.v1.Entitlement.Builder, com.google.cloud.channel.v1.EntitlementOrBuilder> entitlementsBuilder_;
+            com.google.cloud.channel.v1.Entitlement,
+            com.google.cloud.channel.v1.Entitlement.Builder,
+            com.google.cloud.channel.v1.EntitlementOrBuilder>
+        entitlementsBuilder_;
 
     /**
+     *
+     *
      * 
      * The transferred entitlements.
      * 
@@ -506,6 +553,8 @@ public java.util.List getEntitlementsLi } } /** + * + * *
      * The transferred entitlements.
      * 
@@ -520,6 +569,8 @@ public int getEntitlementsCount() { } } /** + * + * *
      * The transferred entitlements.
      * 
@@ -534,14 +585,15 @@ public com.google.cloud.channel.v1.Entitlement getEntitlements(int index) { } } /** + * + * *
      * The transferred entitlements.
      * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - public Builder setEntitlements( - int index, com.google.cloud.channel.v1.Entitlement value) { + public Builder setEntitlements(int index, com.google.cloud.channel.v1.Entitlement value) { if (entitlementsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -555,6 +607,8 @@ public Builder setEntitlements( return this; } /** + * + * *
      * The transferred entitlements.
      * 
@@ -573,6 +627,8 @@ public Builder setEntitlements( return this; } /** + * + * *
      * The transferred entitlements.
      * 
@@ -593,14 +649,15 @@ public Builder addEntitlements(com.google.cloud.channel.v1.Entitlement value) { return this; } /** + * + * *
      * The transferred entitlements.
      * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - public Builder addEntitlements( - int index, com.google.cloud.channel.v1.Entitlement value) { + public Builder addEntitlements(int index, com.google.cloud.channel.v1.Entitlement value) { if (entitlementsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -614,6 +671,8 @@ public Builder addEntitlements( return this; } /** + * + * *
      * The transferred entitlements.
      * 
@@ -632,6 +691,8 @@ public Builder addEntitlements( return this; } /** + * + * *
      * The transferred entitlements.
      * 
@@ -650,6 +711,8 @@ public Builder addEntitlements( return this; } /** + * + * *
      * The transferred entitlements.
      * 
@@ -660,8 +723,7 @@ public Builder addAllEntitlements( java.lang.Iterable values) { if (entitlementsBuilder_ == null) { ensureEntitlementsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, entitlements_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entitlements_); onChanged(); } else { entitlementsBuilder_.addAllMessages(values); @@ -669,6 +731,8 @@ public Builder addAllEntitlements( return this; } /** + * + * *
      * The transferred entitlements.
      * 
@@ -686,6 +750,8 @@ public Builder clearEntitlements() { return this; } /** + * + * *
      * The transferred entitlements.
      * 
@@ -703,39 +769,44 @@ public Builder removeEntitlements(int index) { return this; } /** + * + * *
      * The transferred entitlements.
      * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - public com.google.cloud.channel.v1.Entitlement.Builder getEntitlementsBuilder( - int index) { + public com.google.cloud.channel.v1.Entitlement.Builder getEntitlementsBuilder(int index) { return getEntitlementsFieldBuilder().getBuilder(index); } /** + * + * *
      * The transferred entitlements.
      * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder( - int index) { + public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder(int index) { if (entitlementsBuilder_ == null) { - return entitlements_.get(index); } else { + return entitlements_.get(index); + } else { return entitlementsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The transferred entitlements.
      * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - public java.util.List - getEntitlementsOrBuilderList() { + public java.util.List + getEntitlementsOrBuilderList() { if (entitlementsBuilder_ != null) { return entitlementsBuilder_.getMessageOrBuilderList(); } else { @@ -743,6 +814,8 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder } } /** + * + * *
      * The transferred entitlements.
      * 
@@ -750,49 +823,55 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder() { - return getEntitlementsFieldBuilder().addBuilder( - com.google.cloud.channel.v1.Entitlement.getDefaultInstance()); + return getEntitlementsFieldBuilder() + .addBuilder(com.google.cloud.channel.v1.Entitlement.getDefaultInstance()); } /** + * + * *
      * The transferred entitlements.
      * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder( - int index) { - return getEntitlementsFieldBuilder().addBuilder( - index, com.google.cloud.channel.v1.Entitlement.getDefaultInstance()); + public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder(int index) { + return getEntitlementsFieldBuilder() + .addBuilder(index, com.google.cloud.channel.v1.Entitlement.getDefaultInstance()); } /** + * + * *
      * The transferred entitlements.
      * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - public java.util.List - getEntitlementsBuilderList() { + public java.util.List + getEntitlementsBuilderList() { return getEntitlementsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Entitlement, com.google.cloud.channel.v1.Entitlement.Builder, com.google.cloud.channel.v1.EntitlementOrBuilder> + com.google.cloud.channel.v1.Entitlement, + com.google.cloud.channel.v1.Entitlement.Builder, + com.google.cloud.channel.v1.EntitlementOrBuilder> getEntitlementsFieldBuilder() { if (entitlementsBuilder_ == null) { - entitlementsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Entitlement, com.google.cloud.channel.v1.Entitlement.Builder, com.google.cloud.channel.v1.EntitlementOrBuilder>( - entitlements_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + entitlementsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.Entitlement, + com.google.cloud.channel.v1.Entitlement.Builder, + com.google.cloud.channel.v1.EntitlementOrBuilder>( + entitlements_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); entitlements_ = null; } return entitlementsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -802,12 +881,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.TransferEntitlementsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.TransferEntitlementsResponse) private static final com.google.cloud.channel.v1.TransferEntitlementsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.TransferEntitlementsResponse(); } @@ -816,27 +895,27 @@ public static com.google.cloud.channel.v1.TransferEntitlementsResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferEntitlementsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferEntitlementsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -851,6 +930,4 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.channel.v1.TransferEntitlementsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponseOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponseOrBuilder.java similarity index 61% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponseOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponseOrBuilder.java index 4f5843c77466..b7969265814d 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponseOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsResponseOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface TransferEntitlementsResponseOrBuilder extends +public interface TransferEntitlementsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.TransferEntitlementsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The transferred entitlements.
    * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - java.util.List - getEntitlementsList(); + java.util.List getEntitlementsList(); /** + * + * *
    * The transferred entitlements.
    * 
@@ -25,6 +44,8 @@ public interface TransferEntitlementsResponseOrBuilder extends */ com.google.cloud.channel.v1.Entitlement getEntitlements(int index); /** + * + * *
    * The transferred entitlements.
    * 
@@ -33,21 +54,24 @@ public interface TransferEntitlementsResponseOrBuilder extends */ int getEntitlementsCount(); /** + * + * *
    * The transferred entitlements.
    * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - java.util.List + java.util.List getEntitlementsOrBuilderList(); /** + * + * *
    * The transferred entitlements.
    * 
* * repeated .google.cloud.channel.v1.Entitlement entitlements = 1; */ - com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder( - int index); + com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder(int index); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequest.java similarity index 67% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequest.java index 109b5b97188b..98e646e0b12e 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelService.TransferEntitlementsToGoogle][google.cloud.channel.v1.CloudChannelService.TransferEntitlementsToGoogle].
@@ -11,15 +28,18 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.TransferEntitlementsToGoogleRequest}
  */
-public final class TransferEntitlementsToGoogleRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TransferEntitlementsToGoogleRequest
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.TransferEntitlementsToGoogleRequest)
     TransferEntitlementsToGoogleRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TransferEntitlementsToGoogleRequest.newBuilder() to construct.
-  private TransferEntitlementsToGoogleRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private TransferEntitlementsToGoogleRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private TransferEntitlementsToGoogleRequest() {
     parent_ = "";
     entitlements_ = java.util.Collections.emptyList();
@@ -28,32 +48,35 @@ private TransferEntitlementsToGoogleRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TransferEntitlementsToGoogleRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest.class, com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest.Builder.class);
+            com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest.class,
+            com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Required. The resource name of the reseller's customer account where the
    * entitlements transfer from. Parent uses the format:
@@ -61,6 +84,7 @@ protected java.lang.Object newInstance(
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -69,14 +93,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 reseller's customer account where the
    * entitlements transfer from. Parent uses the format:
@@ -84,16 +109,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -104,66 +128,87 @@ public java.lang.String getParent() { public static final int ENTITLEMENTS_FIELD_NUMBER = 2; private java.util.List entitlements_; /** + * + * *
    * Required. The entitlements to transfer to Google.
    * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getEntitlementsList() { return entitlements_; } /** + * + * *
    * Required. The entitlements to transfer to Google.
    * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getEntitlementsOrBuilderList() { return entitlements_; } /** + * + * *
    * Required. The entitlements to transfer to Google.
    * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getEntitlementsCount() { return entitlements_.size(); } /** + * + * *
    * Required. The entitlements to transfer to Google.
    * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.channel.v1.Entitlement getEntitlements(int index) { return entitlements_.get(index); } /** + * + * *
    * Required. The entitlements to transfer to Google.
    * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder( - int index) { + public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder(int index) { return entitlements_.get(index); } public static final int REQUEST_ID_FIELD_NUMBER = 3; private volatile java.lang.Object requestId_; /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -178,6 +223,7 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -186,14 +232,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -208,16 +255,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -226,6 +272,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -237,8 +284,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -261,8 +307,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } for (int i = 0; i < entitlements_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, entitlements_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, entitlements_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); @@ -275,19 +320,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.cloud.channel.v1.TransferEntitlementsToGoogleRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest other = (com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest) obj; + com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest other = + (com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getEntitlementsList() - .equals(other.getEntitlementsList())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getEntitlementsList().equals(other.getEntitlementsList())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -313,96 +356,104 @@ public int hashCode() { } public static com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelService.TransferEntitlementsToGoogle][google.cloud.channel.v1.CloudChannelService.TransferEntitlementsToGoogle].
@@ -410,33 +461,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.TransferEntitlementsToGoogleRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.TransferEntitlementsToGoogleRequest)
       com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest.class, com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest.Builder.class);
+              com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest.class,
+              com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -455,13 +505,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest getDefaultInstanceForType() {
+    public com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest.getDefaultInstance();
     }
 
@@ -476,7 +527,8 @@ public com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest buildPartial() {
-      com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest result = new com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest(this);
+      com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest result =
+          new com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest(this);
       int from_bitField0_ = bitField0_;
       result.parent_ = parent_;
       if (entitlementsBuilder_ == null) {
@@ -497,46 +549,50 @@ public com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest 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.cloud.channel.v1.TransferEntitlementsToGoogleRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest)other);
+        return mergeFrom((com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest other) {
-      if (other == com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest other) {
+      if (other
+          == com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -559,9 +615,10 @@ public Builder mergeFrom(com.google.cloud.channel.v1.TransferEntitlementsToGoogl
             entitlementsBuilder_ = null;
             entitlements_ = other.entitlements_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            entitlementsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getEntitlementsFieldBuilder() : null;
+            entitlementsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getEntitlementsFieldBuilder()
+                    : null;
           } else {
             entitlementsBuilder_.addAllMessages(other.entitlements_);
           }
@@ -597,35 +654,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              com.google.cloud.channel.v1.Entitlement m =
-                  input.readMessage(
-                      com.google.cloud.channel.v1.Entitlement.parser(),
-                      extensionRegistry);
-              if (entitlementsBuilder_ == null) {
-                ensureEntitlementsIsMutable();
-                entitlements_.add(m);
-              } else {
-                entitlementsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            case 26: {
-              requestId_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.cloud.channel.v1.Entitlement m =
+                    input.readMessage(
+                        com.google.cloud.channel.v1.Entitlement.parser(), extensionRegistry);
+                if (entitlementsBuilder_ == null) {
+                  ensureEntitlementsIsMutable();
+                  entitlements_.add(m);
+                } else {
+                  entitlementsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 18
+            case 26:
+              {
+                requestId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -635,10 +695,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The resource name of the reseller's customer account where the
      * entitlements transfer from. Parent uses the format:
@@ -646,13 +709,13 @@ public Builder mergeFrom(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -661,6 +724,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the reseller's customer account where the
      * entitlements transfer from. Parent uses the format:
@@ -668,15 +733,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -684,6 +748,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the reseller's customer account where the
      * entitlements transfer from. Parent uses the format:
@@ -691,20 +757,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 reseller's customer account where the
      * entitlements transfer from. Parent uses the format:
@@ -712,15 +780,18 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the reseller's customer account where the
      * entitlements transfer from. Parent uses the format:
@@ -728,39 +799,48 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 entitlements_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureEntitlementsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - entitlements_ = new java.util.ArrayList(entitlements_); + entitlements_ = + new java.util.ArrayList(entitlements_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Entitlement, com.google.cloud.channel.v1.Entitlement.Builder, com.google.cloud.channel.v1.EntitlementOrBuilder> entitlementsBuilder_; + com.google.cloud.channel.v1.Entitlement, + com.google.cloud.channel.v1.Entitlement.Builder, + com.google.cloud.channel.v1.EntitlementOrBuilder> + entitlementsBuilder_; /** + * + * *
      * Required. The entitlements to transfer to Google.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getEntitlementsList() { if (entitlementsBuilder_ == null) { @@ -770,11 +850,15 @@ public java.util.List getEntitlementsLi } } /** + * + * *
      * Required. The entitlements to transfer to Google.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getEntitlementsCount() { if (entitlementsBuilder_ == null) { @@ -784,11 +868,15 @@ public int getEntitlementsCount() { } } /** + * + * *
      * Required. The entitlements to transfer to Google.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.channel.v1.Entitlement getEntitlements(int index) { if (entitlementsBuilder_ == null) { @@ -798,14 +886,17 @@ public com.google.cloud.channel.v1.Entitlement getEntitlements(int index) { } } /** + * + * *
      * Required. The entitlements to transfer to Google.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setEntitlements( - int index, com.google.cloud.channel.v1.Entitlement value) { + public Builder setEntitlements(int index, com.google.cloud.channel.v1.Entitlement value) { if (entitlementsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -819,11 +910,15 @@ public Builder setEntitlements( return this; } /** + * + * *
      * Required. The entitlements to transfer to Google.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setEntitlements( int index, com.google.cloud.channel.v1.Entitlement.Builder builderForValue) { @@ -837,11 +932,15 @@ public Builder setEntitlements( return this; } /** + * + * *
      * Required. The entitlements to transfer to Google.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addEntitlements(com.google.cloud.channel.v1.Entitlement value) { if (entitlementsBuilder_ == null) { @@ -857,14 +956,17 @@ public Builder addEntitlements(com.google.cloud.channel.v1.Entitlement value) { return this; } /** + * + * *
      * Required. The entitlements to transfer to Google.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addEntitlements( - int index, com.google.cloud.channel.v1.Entitlement value) { + public Builder addEntitlements(int index, com.google.cloud.channel.v1.Entitlement value) { if (entitlementsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -878,11 +980,15 @@ public Builder addEntitlements( return this; } /** + * + * *
      * Required. The entitlements to transfer to Google.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addEntitlements( com.google.cloud.channel.v1.Entitlement.Builder builderForValue) { @@ -896,11 +1002,15 @@ public Builder addEntitlements( return this; } /** + * + * *
      * Required. The entitlements to transfer to Google.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addEntitlements( int index, com.google.cloud.channel.v1.Entitlement.Builder builderForValue) { @@ -914,18 +1024,21 @@ public Builder addEntitlements( return this; } /** + * + * *
      * Required. The entitlements to transfer to Google.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllEntitlements( java.lang.Iterable values) { if (entitlementsBuilder_ == null) { ensureEntitlementsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, entitlements_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entitlements_); onChanged(); } else { entitlementsBuilder_.addAllMessages(values); @@ -933,11 +1046,15 @@ public Builder addAllEntitlements( return this; } /** + * + * *
      * Required. The entitlements to transfer to Google.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearEntitlements() { if (entitlementsBuilder_ == null) { @@ -950,11 +1067,15 @@ public Builder clearEntitlements() { return this; } /** + * + * *
      * Required. The entitlements to transfer to Google.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeEntitlements(int index) { if (entitlementsBuilder_ == null) { @@ -967,39 +1088,50 @@ public Builder removeEntitlements(int index) { return this; } /** + * + * *
      * Required. The entitlements to transfer to Google.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.channel.v1.Entitlement.Builder getEntitlementsBuilder( - int index) { + public com.google.cloud.channel.v1.Entitlement.Builder getEntitlementsBuilder(int index) { return getEntitlementsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. The entitlements to transfer to Google.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder( - int index) { + public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder(int index) { if (entitlementsBuilder_ == null) { - return entitlements_.get(index); } else { + return entitlements_.get(index); + } else { return entitlementsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. The entitlements to transfer to Google.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getEntitlementsOrBuilderList() { + public java.util.List + getEntitlementsOrBuilderList() { if (entitlementsBuilder_ != null) { return entitlementsBuilder_.getMessageOrBuilderList(); } else { @@ -1007,49 +1139,63 @@ public com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder } } /** + * + * *
      * Required. The entitlements to transfer to Google.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder() { - return getEntitlementsFieldBuilder().addBuilder( - com.google.cloud.channel.v1.Entitlement.getDefaultInstance()); + return getEntitlementsFieldBuilder() + .addBuilder(com.google.cloud.channel.v1.Entitlement.getDefaultInstance()); } /** + * + * *
      * Required. The entitlements to transfer to Google.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder( - int index) { - return getEntitlementsFieldBuilder().addBuilder( - index, com.google.cloud.channel.v1.Entitlement.getDefaultInstance()); + public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder(int index) { + return getEntitlementsFieldBuilder() + .addBuilder(index, com.google.cloud.channel.v1.Entitlement.getDefaultInstance()); } /** + * + * *
      * Required. The entitlements to transfer to Google.
      * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getEntitlementsBuilderList() { + public java.util.List + getEntitlementsBuilderList() { return getEntitlementsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Entitlement, com.google.cloud.channel.v1.Entitlement.Builder, com.google.cloud.channel.v1.EntitlementOrBuilder> + com.google.cloud.channel.v1.Entitlement, + com.google.cloud.channel.v1.Entitlement.Builder, + com.google.cloud.channel.v1.EntitlementOrBuilder> getEntitlementsFieldBuilder() { if (entitlementsBuilder_ == null) { - entitlementsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.channel.v1.Entitlement, com.google.cloud.channel.v1.Entitlement.Builder, com.google.cloud.channel.v1.EntitlementOrBuilder>( - entitlements_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + entitlementsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.channel.v1.Entitlement, + com.google.cloud.channel.v1.Entitlement.Builder, + com.google.cloud.channel.v1.EntitlementOrBuilder>( + entitlements_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); entitlements_ = null; } return entitlementsBuilder_; @@ -1057,6 +1203,8 @@ public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -1071,13 +1219,13 @@ public com.google.cloud.channel.v1.Entitlement.Builder addEntitlementsBuilder(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1086,6 +1234,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -1100,15 +1250,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1116,6 +1265,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -1130,20 +1281,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -1158,15 +1311,18 @@ public Builder setRequestId(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * Optional. You can specify an optional unique request ID, and if you need to
      * retry your request, the server will know to ignore the request if it's
@@ -1181,23 +1337,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = 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); } @@ -1207,41 +1363,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.TransferEntitlementsToGoogleRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.TransferEntitlementsToGoogleRequest) - private static final com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest DEFAULT_INSTANCE; + private static final com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest(); } - public static com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest getDefaultInstance() { + public static com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferEntitlementsToGoogleRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferEntitlementsToGoogleRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1253,9 +1411,8 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest getDefaultInstanceForType() { + public com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequestOrBuilder.java index f27f2c7911df..34aef100270b 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferEntitlementsToGoogleRequestOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface TransferEntitlementsToGoogleRequestOrBuilder extends +public interface TransferEntitlementsToGoogleRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.TransferEntitlementsToGoogleRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the reseller's customer account where the
    * entitlements transfer from. Parent uses the format:
@@ -15,10 +33,13 @@ public interface TransferEntitlementsToGoogleRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the reseller's customer account where the
    * entitlements transfer from. Parent uses the format:
@@ -26,56 +47,76 @@ public interface TransferEntitlementsToGoogleRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The entitlements to transfer to Google.
    * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getEntitlementsList(); + java.util.List getEntitlementsList(); /** + * + * *
    * Required. The entitlements to transfer to Google.
    * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.channel.v1.Entitlement getEntitlements(int index); /** + * + * *
    * Required. The entitlements to transfer to Google.
    * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ int getEntitlementsCount(); /** + * + * *
    * Required. The entitlements to transfer to Google.
    * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getEntitlementsOrBuilderList(); /** + * + * *
    * Required. The entitlements to transfer to Google.
    * 
* - * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder( - int index); + com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder(int index); /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -90,10 +131,13 @@ com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder(
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. You can specify an optional unique request ID, and if you need to
    * retry your request, the server will know to ignore the request if it's
@@ -108,8 +152,8 @@ com.google.cloud.channel.v1.EntitlementOrBuilder getEntitlementsOrBuilder(
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOffer.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOffer.java similarity index 67% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOffer.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOffer.java index dcbe9f627372..2f5ffbf07a1d 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOffer.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOffer.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * TransferableOffer represents an Offer that can be used in Transfer.
  * Read-only.
@@ -11,51 +28,55 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.TransferableOffer}
  */
-public final class TransferableOffer extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TransferableOffer extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.TransferableOffer)
     TransferableOfferOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TransferableOffer.newBuilder() to construct.
   private TransferableOffer(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private TransferableOffer() {
-  }
+
+  private TransferableOffer() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TransferableOffer();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferableOffer_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_TransferableOffer_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferableOffer_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_TransferableOffer_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.TransferableOffer.class, com.google.cloud.channel.v1.TransferableOffer.Builder.class);
+            com.google.cloud.channel.v1.TransferableOffer.class,
+            com.google.cloud.channel.v1.TransferableOffer.Builder.class);
   }
 
   public static final int OFFER_FIELD_NUMBER = 1;
   private com.google.cloud.channel.v1.Offer offer_;
   /**
+   *
+   *
    * 
    * Offer with parameter constraints updated to allow the Transfer.
    * 
* * .google.cloud.channel.v1.Offer offer = 1; + * * @return Whether the offer field is set. */ @java.lang.Override @@ -63,11 +84,14 @@ public boolean hasOffer() { return offer_ != null; } /** + * + * *
    * Offer with parameter constraints updated to allow the Transfer.
    * 
* * .google.cloud.channel.v1.Offer offer = 1; + * * @return The offer. */ @java.lang.Override @@ -75,6 +99,8 @@ public com.google.cloud.channel.v1.Offer getOffer() { return offer_ == null ? com.google.cloud.channel.v1.Offer.getDefaultInstance() : offer_; } /** + * + * *
    * Offer with parameter constraints updated to allow the Transfer.
    * 
@@ -87,6 +113,7 @@ public com.google.cloud.channel.v1.OfferOrBuilder getOfferOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +125,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (offer_ != null) { output.writeMessage(1, getOffer()); } @@ -113,8 +139,7 @@ public int getSerializedSize() { size = 0; if (offer_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getOffer()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOffer()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -124,17 +149,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.cloud.channel.v1.TransferableOffer)) { return super.equals(obj); } - com.google.cloud.channel.v1.TransferableOffer other = (com.google.cloud.channel.v1.TransferableOffer) obj; + com.google.cloud.channel.v1.TransferableOffer other = + (com.google.cloud.channel.v1.TransferableOffer) obj; if (hasOffer() != other.hasOffer()) return false; if (hasOffer()) { - if (!getOffer() - .equals(other.getOffer())) return false; + if (!getOffer().equals(other.getOffer())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -156,97 +181,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.TransferableOffer parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.TransferableOffer parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.TransferableOffer parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.TransferableOffer parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.TransferableOffer parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.TransferableOffer parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.TransferableOffer parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.TransferableOffer 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.cloud.channel.v1.TransferableOffer parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.TransferableOffer parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.TransferableOffer parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.TransferableOffer parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.TransferableOffer parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.TransferableOffer parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.TransferableOffer prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * TransferableOffer represents an Offer that can be used in Transfer.
    * Read-only.
@@ -254,33 +286,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.TransferableOffer}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.TransferableOffer)
       com.google.cloud.channel.v1.TransferableOfferOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferableOffer_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_TransferableOffer_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferableOffer_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_TransferableOffer_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.TransferableOffer.class, com.google.cloud.channel.v1.TransferableOffer.Builder.class);
+              com.google.cloud.channel.v1.TransferableOffer.class,
+              com.google.cloud.channel.v1.TransferableOffer.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.TransferableOffer.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -294,9 +325,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_TransferableOffer_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_TransferableOffer_descriptor;
     }
 
     @java.lang.Override
@@ -315,7 +346,8 @@ public com.google.cloud.channel.v1.TransferableOffer build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.TransferableOffer buildPartial() {
-      com.google.cloud.channel.v1.TransferableOffer result = new com.google.cloud.channel.v1.TransferableOffer(this);
+      com.google.cloud.channel.v1.TransferableOffer result =
+          new com.google.cloud.channel.v1.TransferableOffer(this);
       if (offerBuilder_ == null) {
         result.offer_ = offer_;
       } else {
@@ -329,38 +361,39 @@ public com.google.cloud.channel.v1.TransferableOffer 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.cloud.channel.v1.TransferableOffer) {
-        return mergeFrom((com.google.cloud.channel.v1.TransferableOffer)other);
+        return mergeFrom((com.google.cloud.channel.v1.TransferableOffer) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -398,19 +431,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getOfferFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getOfferFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -423,24 +456,33 @@ public Builder mergeFrom(
 
     private com.google.cloud.channel.v1.Offer offer_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.channel.v1.Offer, com.google.cloud.channel.v1.Offer.Builder, com.google.cloud.channel.v1.OfferOrBuilder> offerBuilder_;
+            com.google.cloud.channel.v1.Offer,
+            com.google.cloud.channel.v1.Offer.Builder,
+            com.google.cloud.channel.v1.OfferOrBuilder>
+        offerBuilder_;
     /**
+     *
+     *
      * 
      * Offer with parameter constraints updated to allow the Transfer.
      * 
* * .google.cloud.channel.v1.Offer offer = 1; + * * @return Whether the offer field is set. */ public boolean hasOffer() { return offerBuilder_ != null || offer_ != null; } /** + * + * *
      * Offer with parameter constraints updated to allow the Transfer.
      * 
* * .google.cloud.channel.v1.Offer offer = 1; + * * @return The offer. */ public com.google.cloud.channel.v1.Offer getOffer() { @@ -451,6 +493,8 @@ public com.google.cloud.channel.v1.Offer getOffer() { } } /** + * + * *
      * Offer with parameter constraints updated to allow the Transfer.
      * 
@@ -471,14 +515,15 @@ public Builder setOffer(com.google.cloud.channel.v1.Offer value) { return this; } /** + * + * *
      * Offer with parameter constraints updated to allow the Transfer.
      * 
* * .google.cloud.channel.v1.Offer offer = 1; */ - public Builder setOffer( - com.google.cloud.channel.v1.Offer.Builder builderForValue) { + public Builder setOffer(com.google.cloud.channel.v1.Offer.Builder builderForValue) { if (offerBuilder_ == null) { offer_ = builderForValue.build(); onChanged(); @@ -489,6 +534,8 @@ public Builder setOffer( return this; } /** + * + * *
      * Offer with parameter constraints updated to allow the Transfer.
      * 
@@ -499,7 +546,7 @@ public Builder mergeOffer(com.google.cloud.channel.v1.Offer value) { if (offerBuilder_ == null) { if (offer_ != null) { offer_ = - com.google.cloud.channel.v1.Offer.newBuilder(offer_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.Offer.newBuilder(offer_).mergeFrom(value).buildPartial(); } else { offer_ = value; } @@ -511,6 +558,8 @@ public Builder mergeOffer(com.google.cloud.channel.v1.Offer value) { return this; } /** + * + * *
      * Offer with parameter constraints updated to allow the Transfer.
      * 
@@ -529,6 +578,8 @@ public Builder clearOffer() { return this; } /** + * + * *
      * Offer with parameter constraints updated to allow the Transfer.
      * 
@@ -536,11 +587,13 @@ public Builder clearOffer() { * .google.cloud.channel.v1.Offer offer = 1; */ public com.google.cloud.channel.v1.Offer.Builder getOfferBuilder() { - + onChanged(); return getOfferFieldBuilder().getBuilder(); } /** + * + * *
      * Offer with parameter constraints updated to allow the Transfer.
      * 
@@ -551,11 +604,12 @@ public com.google.cloud.channel.v1.OfferOrBuilder getOfferOrBuilder() { if (offerBuilder_ != null) { return offerBuilder_.getMessageOrBuilder(); } else { - return offer_ == null ? - com.google.cloud.channel.v1.Offer.getDefaultInstance() : offer_; + return offer_ == null ? com.google.cloud.channel.v1.Offer.getDefaultInstance() : offer_; } } /** + * + * *
      * Offer with parameter constraints updated to allow the Transfer.
      * 
@@ -563,21 +617,24 @@ public com.google.cloud.channel.v1.OfferOrBuilder getOfferOrBuilder() { * .google.cloud.channel.v1.Offer offer = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Offer, com.google.cloud.channel.v1.Offer.Builder, com.google.cloud.channel.v1.OfferOrBuilder> + com.google.cloud.channel.v1.Offer, + com.google.cloud.channel.v1.Offer.Builder, + com.google.cloud.channel.v1.OfferOrBuilder> getOfferFieldBuilder() { if (offerBuilder_ == null) { - offerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Offer, com.google.cloud.channel.v1.Offer.Builder, com.google.cloud.channel.v1.OfferOrBuilder>( - getOffer(), - getParentForChildren(), - isClean()); + offerBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Offer, + com.google.cloud.channel.v1.Offer.Builder, + com.google.cloud.channel.v1.OfferOrBuilder>( + getOffer(), getParentForChildren(), isClean()); offer_ = null; } return offerBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -587,12 +644,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.TransferableOffer) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.TransferableOffer) private static final com.google.cloud.channel.v1.TransferableOffer DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.TransferableOffer(); } @@ -601,27 +658,27 @@ public static com.google.cloud.channel.v1.TransferableOffer getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferableOffer parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferableOffer parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,6 +693,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.TransferableOffer getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOfferOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOfferOrBuilder.java similarity index 59% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOfferOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOfferOrBuilder.java index 5124fb1f3806..93668c54afd9 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOfferOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableOfferOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface TransferableOfferOrBuilder extends +public interface TransferableOfferOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.TransferableOffer) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Offer with parameter constraints updated to allow the Transfer.
    * 
* * .google.cloud.channel.v1.Offer offer = 1; + * * @return Whether the offer field is set. */ boolean hasOffer(); /** + * + * *
    * Offer with parameter constraints updated to allow the Transfer.
    * 
* * .google.cloud.channel.v1.Offer offer = 1; + * * @return The offer. */ com.google.cloud.channel.v1.Offer getOffer(); /** + * + * *
    * Offer with parameter constraints updated to allow the Transfer.
    * 
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSku.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSku.java similarity index 70% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSku.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSku.java index fd2a1d9e094a..a67dab0d21cb 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSku.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSku.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/cloud/channel/v1/entitlements.proto package com.google.cloud.channel.v1; /** + * + * *
  * TransferableSku represents information a reseller needs to view existing
  * provisioned services for a customer that they do not own.
@@ -12,51 +29,55 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.TransferableSku}
  */
-public final class TransferableSku extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TransferableSku extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.TransferableSku)
     TransferableSkuOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TransferableSku.newBuilder() to construct.
   private TransferableSku(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private TransferableSku() {
-  }
+
+  private TransferableSku() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TransferableSku();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_TransferableSku_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.EntitlementsProto
+        .internal_static_google_cloud_channel_v1_TransferableSku_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_TransferableSku_fieldAccessorTable
+    return com.google.cloud.channel.v1.EntitlementsProto
+        .internal_static_google_cloud_channel_v1_TransferableSku_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.TransferableSku.class, com.google.cloud.channel.v1.TransferableSku.Builder.class);
+            com.google.cloud.channel.v1.TransferableSku.class,
+            com.google.cloud.channel.v1.TransferableSku.Builder.class);
   }
 
   public static final int TRANSFER_ELIGIBILITY_FIELD_NUMBER = 9;
   private com.google.cloud.channel.v1.TransferEligibility transferEligibility_;
   /**
+   *
+   *
    * 
    * Describes the transfer eligibility of a SKU.
    * 
* * .google.cloud.channel.v1.TransferEligibility transfer_eligibility = 9; + * * @return Whether the transferEligibility field is set. */ @java.lang.Override @@ -64,18 +85,25 @@ public boolean hasTransferEligibility() { return transferEligibility_ != null; } /** + * + * *
    * Describes the transfer eligibility of a SKU.
    * 
* * .google.cloud.channel.v1.TransferEligibility transfer_eligibility = 9; + * * @return The transferEligibility. */ @java.lang.Override public com.google.cloud.channel.v1.TransferEligibility getTransferEligibility() { - return transferEligibility_ == null ? com.google.cloud.channel.v1.TransferEligibility.getDefaultInstance() : transferEligibility_; + return transferEligibility_ == null + ? com.google.cloud.channel.v1.TransferEligibility.getDefaultInstance() + : transferEligibility_; } /** + * + * *
    * Describes the transfer eligibility of a SKU.
    * 
@@ -83,18 +111,22 @@ public com.google.cloud.channel.v1.TransferEligibility getTransferEligibility() * .google.cloud.channel.v1.TransferEligibility transfer_eligibility = 9; */ @java.lang.Override - public com.google.cloud.channel.v1.TransferEligibilityOrBuilder getTransferEligibilityOrBuilder() { + public com.google.cloud.channel.v1.TransferEligibilityOrBuilder + getTransferEligibilityOrBuilder() { return getTransferEligibility(); } public static final int SKU_FIELD_NUMBER = 11; private com.google.cloud.channel.v1.Sku sku_; /** + * + * *
    * The SKU pertaining to the provisioning resource as specified in the Offer.
    * 
* * .google.cloud.channel.v1.Sku sku = 11; + * * @return Whether the sku field is set. */ @java.lang.Override @@ -102,11 +134,14 @@ public boolean hasSku() { return sku_ != null; } /** + * + * *
    * The SKU pertaining to the provisioning resource as specified in the Offer.
    * 
* * .google.cloud.channel.v1.Sku sku = 11; + * * @return The sku. */ @java.lang.Override @@ -114,6 +149,8 @@ public com.google.cloud.channel.v1.Sku getSku() { return sku_ == null ? com.google.cloud.channel.v1.Sku.getDefaultInstance() : sku_; } /** + * + * *
    * The SKU pertaining to the provisioning resource as specified in the Offer.
    * 
@@ -128,12 +165,16 @@ public com.google.cloud.channel.v1.SkuOrBuilder getSkuOrBuilder() { public static final int LEGACY_SKU_FIELD_NUMBER = 12; private com.google.cloud.channel.v1.Sku legacySku_; /** + * + * *
    * Optional. The customer to transfer has an entitlement with the populated
    * legacy SKU.
    * 
* - * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the legacySku field is set. */ @java.lang.Override @@ -141,12 +182,16 @@ public boolean hasLegacySku() { return legacySku_ != null; } /** + * + * *
    * Optional. The customer to transfer has an entitlement with the populated
    * legacy SKU.
    * 
* - * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The legacySku. */ @java.lang.Override @@ -154,12 +199,15 @@ public com.google.cloud.channel.v1.Sku getLegacySku() { return legacySku_ == null ? com.google.cloud.channel.v1.Sku.getDefaultInstance() : legacySku_; } /** + * + * *
    * Optional. The customer to transfer has an entitlement with the populated
    * legacy SKU.
    * 
* - * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.channel.v1.SkuOrBuilder getLegacySkuOrBuilder() { @@ -167,6 +215,7 @@ public com.google.cloud.channel.v1.SkuOrBuilder getLegacySkuOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,8 +227,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (transferEligibility_ != null) { output.writeMessage(9, getTransferEligibility()); } @@ -199,16 +247,13 @@ public int getSerializedSize() { size = 0; if (transferEligibility_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getTransferEligibility()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getTransferEligibility()); } if (sku_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getSku()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getSku()); } if (legacySku_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getLegacySku()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getLegacySku()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -218,27 +263,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.cloud.channel.v1.TransferableSku)) { return super.equals(obj); } - com.google.cloud.channel.v1.TransferableSku other = (com.google.cloud.channel.v1.TransferableSku) obj; + com.google.cloud.channel.v1.TransferableSku other = + (com.google.cloud.channel.v1.TransferableSku) obj; if (hasTransferEligibility() != other.hasTransferEligibility()) return false; if (hasTransferEligibility()) { - if (!getTransferEligibility() - .equals(other.getTransferEligibility())) return false; + if (!getTransferEligibility().equals(other.getTransferEligibility())) return false; } if (hasSku() != other.hasSku()) return false; if (hasSku()) { - if (!getSku() - .equals(other.getSku())) return false; + if (!getSku().equals(other.getSku())) return false; } if (hasLegacySku() != other.hasLegacySku()) return false; if (hasLegacySku()) { - if (!getLegacySku() - .equals(other.getLegacySku())) return false; + if (!getLegacySku().equals(other.getLegacySku())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -268,97 +311,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.TransferableSku parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.TransferableSku parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.TransferableSku parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.TransferableSku parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.TransferableSku parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.TransferableSku parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.TransferableSku parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.TransferableSku 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.cloud.channel.v1.TransferableSku parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.TransferableSku parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.TransferableSku parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.TransferableSku parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.TransferableSku parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.TransferableSku parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.TransferableSku prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * TransferableSku represents information a reseller needs to view existing
    * provisioned services for a customer that they do not own.
@@ -367,33 +417,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.TransferableSku}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.TransferableSku)
       com.google.cloud.channel.v1.TransferableSkuOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_TransferableSku_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.EntitlementsProto
+          .internal_static_google_cloud_channel_v1_TransferableSku_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_TransferableSku_fieldAccessorTable
+      return com.google.cloud.channel.v1.EntitlementsProto
+          .internal_static_google_cloud_channel_v1_TransferableSku_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.TransferableSku.class, com.google.cloud.channel.v1.TransferableSku.Builder.class);
+              com.google.cloud.channel.v1.TransferableSku.class,
+              com.google.cloud.channel.v1.TransferableSku.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.TransferableSku.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -419,9 +468,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_TransferableSku_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.EntitlementsProto
+          .internal_static_google_cloud_channel_v1_TransferableSku_descriptor;
     }
 
     @java.lang.Override
@@ -440,7 +489,8 @@ public com.google.cloud.channel.v1.TransferableSku build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.TransferableSku buildPartial() {
-      com.google.cloud.channel.v1.TransferableSku result = new com.google.cloud.channel.v1.TransferableSku(this);
+      com.google.cloud.channel.v1.TransferableSku result =
+          new com.google.cloud.channel.v1.TransferableSku(this);
       if (transferEligibilityBuilder_ == null) {
         result.transferEligibility_ = transferEligibility_;
       } else {
@@ -464,38 +514,39 @@ public com.google.cloud.channel.v1.TransferableSku 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.cloud.channel.v1.TransferableSku) {
-        return mergeFrom((com.google.cloud.channel.v1.TransferableSku)other);
+        return mergeFrom((com.google.cloud.channel.v1.TransferableSku) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -539,33 +590,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 74: {
-              input.readMessage(
-                  getTransferEligibilityFieldBuilder().getBuilder(),
-                  extensionRegistry);
+            case 74:
+              {
+                input.readMessage(
+                    getTransferEligibilityFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 74
-            case 90: {
-              input.readMessage(
-                  getSkuFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 74
+            case 90:
+              {
+                input.readMessage(getSkuFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 90
-            case 98: {
-              input.readMessage(
-                  getLegacySkuFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 90
+            case 98:
+              {
+                input.readMessage(getLegacySkuFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 98
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 98
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -578,34 +628,47 @@ public Builder mergeFrom(
 
     private com.google.cloud.channel.v1.TransferEligibility transferEligibility_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.channel.v1.TransferEligibility, com.google.cloud.channel.v1.TransferEligibility.Builder, com.google.cloud.channel.v1.TransferEligibilityOrBuilder> transferEligibilityBuilder_;
+            com.google.cloud.channel.v1.TransferEligibility,
+            com.google.cloud.channel.v1.TransferEligibility.Builder,
+            com.google.cloud.channel.v1.TransferEligibilityOrBuilder>
+        transferEligibilityBuilder_;
     /**
+     *
+     *
      * 
      * Describes the transfer eligibility of a SKU.
      * 
* * .google.cloud.channel.v1.TransferEligibility transfer_eligibility = 9; + * * @return Whether the transferEligibility field is set. */ public boolean hasTransferEligibility() { return transferEligibilityBuilder_ != null || transferEligibility_ != null; } /** + * + * *
      * Describes the transfer eligibility of a SKU.
      * 
* * .google.cloud.channel.v1.TransferEligibility transfer_eligibility = 9; + * * @return The transferEligibility. */ public com.google.cloud.channel.v1.TransferEligibility getTransferEligibility() { if (transferEligibilityBuilder_ == null) { - return transferEligibility_ == null ? com.google.cloud.channel.v1.TransferEligibility.getDefaultInstance() : transferEligibility_; + return transferEligibility_ == null + ? com.google.cloud.channel.v1.TransferEligibility.getDefaultInstance() + : transferEligibility_; } else { return transferEligibilityBuilder_.getMessage(); } } /** + * + * *
      * Describes the transfer eligibility of a SKU.
      * 
@@ -626,6 +689,8 @@ public Builder setTransferEligibility(com.google.cloud.channel.v1.TransferEligib return this; } /** + * + * *
      * Describes the transfer eligibility of a SKU.
      * 
@@ -644,6 +709,8 @@ public Builder setTransferEligibility( return this; } /** + * + * *
      * Describes the transfer eligibility of a SKU.
      * 
@@ -654,7 +721,9 @@ public Builder mergeTransferEligibility(com.google.cloud.channel.v1.TransferElig if (transferEligibilityBuilder_ == null) { if (transferEligibility_ != null) { transferEligibility_ = - com.google.cloud.channel.v1.TransferEligibility.newBuilder(transferEligibility_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.TransferEligibility.newBuilder(transferEligibility_) + .mergeFrom(value) + .buildPartial(); } else { transferEligibility_ = value; } @@ -666,6 +735,8 @@ public Builder mergeTransferEligibility(com.google.cloud.channel.v1.TransferElig return this; } /** + * + * *
      * Describes the transfer eligibility of a SKU.
      * 
@@ -684,6 +755,8 @@ public Builder clearTransferEligibility() { return this; } /** + * + * *
      * Describes the transfer eligibility of a SKU.
      * 
@@ -691,26 +764,32 @@ public Builder clearTransferEligibility() { * .google.cloud.channel.v1.TransferEligibility transfer_eligibility = 9; */ public com.google.cloud.channel.v1.TransferEligibility.Builder getTransferEligibilityBuilder() { - + onChanged(); return getTransferEligibilityFieldBuilder().getBuilder(); } /** + * + * *
      * Describes the transfer eligibility of a SKU.
      * 
* * .google.cloud.channel.v1.TransferEligibility transfer_eligibility = 9; */ - public com.google.cloud.channel.v1.TransferEligibilityOrBuilder getTransferEligibilityOrBuilder() { + public com.google.cloud.channel.v1.TransferEligibilityOrBuilder + getTransferEligibilityOrBuilder() { if (transferEligibilityBuilder_ != null) { return transferEligibilityBuilder_.getMessageOrBuilder(); } else { - return transferEligibility_ == null ? - com.google.cloud.channel.v1.TransferEligibility.getDefaultInstance() : transferEligibility_; + return transferEligibility_ == null + ? com.google.cloud.channel.v1.TransferEligibility.getDefaultInstance() + : transferEligibility_; } } /** + * + * *
      * Describes the transfer eligibility of a SKU.
      * 
@@ -718,14 +797,17 @@ public com.google.cloud.channel.v1.TransferEligibilityOrBuilder getTransferEligi * .google.cloud.channel.v1.TransferEligibility transfer_eligibility = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.TransferEligibility, com.google.cloud.channel.v1.TransferEligibility.Builder, com.google.cloud.channel.v1.TransferEligibilityOrBuilder> + com.google.cloud.channel.v1.TransferEligibility, + com.google.cloud.channel.v1.TransferEligibility.Builder, + com.google.cloud.channel.v1.TransferEligibilityOrBuilder> getTransferEligibilityFieldBuilder() { if (transferEligibilityBuilder_ == null) { - transferEligibilityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.TransferEligibility, com.google.cloud.channel.v1.TransferEligibility.Builder, com.google.cloud.channel.v1.TransferEligibilityOrBuilder>( - getTransferEligibility(), - getParentForChildren(), - isClean()); + transferEligibilityBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.TransferEligibility, + com.google.cloud.channel.v1.TransferEligibility.Builder, + com.google.cloud.channel.v1.TransferEligibilityOrBuilder>( + getTransferEligibility(), getParentForChildren(), isClean()); transferEligibility_ = null; } return transferEligibilityBuilder_; @@ -733,24 +815,33 @@ public com.google.cloud.channel.v1.TransferEligibilityOrBuilder getTransferEligi private com.google.cloud.channel.v1.Sku sku_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Sku, com.google.cloud.channel.v1.Sku.Builder, com.google.cloud.channel.v1.SkuOrBuilder> skuBuilder_; + com.google.cloud.channel.v1.Sku, + com.google.cloud.channel.v1.Sku.Builder, + com.google.cloud.channel.v1.SkuOrBuilder> + skuBuilder_; /** + * + * *
      * The SKU pertaining to the provisioning resource as specified in the Offer.
      * 
* * .google.cloud.channel.v1.Sku sku = 11; + * * @return Whether the sku field is set. */ public boolean hasSku() { return skuBuilder_ != null || sku_ != null; } /** + * + * *
      * The SKU pertaining to the provisioning resource as specified in the Offer.
      * 
* * .google.cloud.channel.v1.Sku sku = 11; + * * @return The sku. */ public com.google.cloud.channel.v1.Sku getSku() { @@ -761,6 +852,8 @@ public com.google.cloud.channel.v1.Sku getSku() { } } /** + * + * *
      * The SKU pertaining to the provisioning resource as specified in the Offer.
      * 
@@ -781,14 +874,15 @@ public Builder setSku(com.google.cloud.channel.v1.Sku value) { return this; } /** + * + * *
      * The SKU pertaining to the provisioning resource as specified in the Offer.
      * 
* * .google.cloud.channel.v1.Sku sku = 11; */ - public Builder setSku( - com.google.cloud.channel.v1.Sku.Builder builderForValue) { + public Builder setSku(com.google.cloud.channel.v1.Sku.Builder builderForValue) { if (skuBuilder_ == null) { sku_ = builderForValue.build(); onChanged(); @@ -799,6 +893,8 @@ public Builder setSku( return this; } /** + * + * *
      * The SKU pertaining to the provisioning resource as specified in the Offer.
      * 
@@ -808,8 +904,7 @@ public Builder setSku( public Builder mergeSku(com.google.cloud.channel.v1.Sku value) { if (skuBuilder_ == null) { if (sku_ != null) { - sku_ = - com.google.cloud.channel.v1.Sku.newBuilder(sku_).mergeFrom(value).buildPartial(); + sku_ = com.google.cloud.channel.v1.Sku.newBuilder(sku_).mergeFrom(value).buildPartial(); } else { sku_ = value; } @@ -821,6 +916,8 @@ public Builder mergeSku(com.google.cloud.channel.v1.Sku value) { return this; } /** + * + * *
      * The SKU pertaining to the provisioning resource as specified in the Offer.
      * 
@@ -839,6 +936,8 @@ public Builder clearSku() { return this; } /** + * + * *
      * The SKU pertaining to the provisioning resource as specified in the Offer.
      * 
@@ -846,11 +945,13 @@ public Builder clearSku() { * .google.cloud.channel.v1.Sku sku = 11; */ public com.google.cloud.channel.v1.Sku.Builder getSkuBuilder() { - + onChanged(); return getSkuFieldBuilder().getBuilder(); } /** + * + * *
      * The SKU pertaining to the provisioning resource as specified in the Offer.
      * 
@@ -861,11 +962,12 @@ public com.google.cloud.channel.v1.SkuOrBuilder getSkuOrBuilder() { if (skuBuilder_ != null) { return skuBuilder_.getMessageOrBuilder(); } else { - return sku_ == null ? - com.google.cloud.channel.v1.Sku.getDefaultInstance() : sku_; + return sku_ == null ? com.google.cloud.channel.v1.Sku.getDefaultInstance() : sku_; } } /** + * + * *
      * The SKU pertaining to the provisioning resource as specified in the Offer.
      * 
@@ -873,14 +975,17 @@ public com.google.cloud.channel.v1.SkuOrBuilder getSkuOrBuilder() { * .google.cloud.channel.v1.Sku sku = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Sku, com.google.cloud.channel.v1.Sku.Builder, com.google.cloud.channel.v1.SkuOrBuilder> + com.google.cloud.channel.v1.Sku, + com.google.cloud.channel.v1.Sku.Builder, + com.google.cloud.channel.v1.SkuOrBuilder> getSkuFieldBuilder() { if (skuBuilder_ == null) { - skuBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Sku, com.google.cloud.channel.v1.Sku.Builder, com.google.cloud.channel.v1.SkuOrBuilder>( - getSku(), - getParentForChildren(), - isClean()); + skuBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Sku, + com.google.cloud.channel.v1.Sku.Builder, + com.google.cloud.channel.v1.SkuOrBuilder>( + getSku(), getParentForChildren(), isClean()); sku_ = null; } return skuBuilder_; @@ -888,42 +993,58 @@ public com.google.cloud.channel.v1.SkuOrBuilder getSkuOrBuilder() { private com.google.cloud.channel.v1.Sku legacySku_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Sku, com.google.cloud.channel.v1.Sku.Builder, com.google.cloud.channel.v1.SkuOrBuilder> legacySkuBuilder_; + com.google.cloud.channel.v1.Sku, + com.google.cloud.channel.v1.Sku.Builder, + com.google.cloud.channel.v1.SkuOrBuilder> + legacySkuBuilder_; /** + * + * *
      * Optional. The customer to transfer has an entitlement with the populated
      * legacy SKU.
      * 
* - * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the legacySku field is set. */ public boolean hasLegacySku() { return legacySkuBuilder_ != null || legacySku_ != null; } /** + * + * *
      * Optional. The customer to transfer has an entitlement with the populated
      * legacy SKU.
      * 
* - * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The legacySku. */ public com.google.cloud.channel.v1.Sku getLegacySku() { if (legacySkuBuilder_ == null) { - return legacySku_ == null ? com.google.cloud.channel.v1.Sku.getDefaultInstance() : legacySku_; + return legacySku_ == null + ? com.google.cloud.channel.v1.Sku.getDefaultInstance() + : legacySku_; } else { return legacySkuBuilder_.getMessage(); } } /** + * + * *
      * Optional. The customer to transfer has an entitlement with the populated
      * legacy SKU.
      * 
* - * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setLegacySku(com.google.cloud.channel.v1.Sku value) { if (legacySkuBuilder_ == null) { @@ -939,15 +1060,17 @@ public Builder setLegacySku(com.google.cloud.channel.v1.Sku value) { return this; } /** + * + * *
      * Optional. The customer to transfer has an entitlement with the populated
      * legacy SKU.
      * 
* - * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setLegacySku( - com.google.cloud.channel.v1.Sku.Builder builderForValue) { + public Builder setLegacySku(com.google.cloud.channel.v1.Sku.Builder builderForValue) { if (legacySkuBuilder_ == null) { legacySku_ = builderForValue.build(); onChanged(); @@ -958,18 +1081,23 @@ public Builder setLegacySku( return this; } /** + * + * *
      * Optional. The customer to transfer has an entitlement with the populated
      * legacy SKU.
      * 
* - * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeLegacySku(com.google.cloud.channel.v1.Sku value) { if (legacySkuBuilder_ == null) { if (legacySku_ != null) { legacySku_ = - com.google.cloud.channel.v1.Sku.newBuilder(legacySku_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.Sku.newBuilder(legacySku_) + .mergeFrom(value) + .buildPartial(); } else { legacySku_ = value; } @@ -981,12 +1109,15 @@ public Builder mergeLegacySku(com.google.cloud.channel.v1.Sku value) { return this; } /** + * + * *
      * Optional. The customer to transfer has an entitlement with the populated
      * legacy SKU.
      * 
* - * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearLegacySku() { if (legacySkuBuilder_ == null) { @@ -1000,58 +1131,71 @@ public Builder clearLegacySku() { return this; } /** + * + * *
      * Optional. The customer to transfer has an entitlement with the populated
      * legacy SKU.
      * 
* - * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.channel.v1.Sku.Builder getLegacySkuBuilder() { - + onChanged(); return getLegacySkuFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The customer to transfer has an entitlement with the populated
      * legacy SKU.
      * 
* - * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.channel.v1.SkuOrBuilder getLegacySkuOrBuilder() { if (legacySkuBuilder_ != null) { return legacySkuBuilder_.getMessageOrBuilder(); } else { - return legacySku_ == null ? - com.google.cloud.channel.v1.Sku.getDefaultInstance() : legacySku_; + return legacySku_ == null + ? com.google.cloud.channel.v1.Sku.getDefaultInstance() + : legacySku_; } } /** + * + * *
      * Optional. The customer to transfer has an entitlement with the populated
      * legacy SKU.
      * 
* - * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Sku, com.google.cloud.channel.v1.Sku.Builder, com.google.cloud.channel.v1.SkuOrBuilder> + com.google.cloud.channel.v1.Sku, + com.google.cloud.channel.v1.Sku.Builder, + com.google.cloud.channel.v1.SkuOrBuilder> getLegacySkuFieldBuilder() { if (legacySkuBuilder_ == null) { - legacySkuBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Sku, com.google.cloud.channel.v1.Sku.Builder, com.google.cloud.channel.v1.SkuOrBuilder>( - getLegacySku(), - getParentForChildren(), - isClean()); + legacySkuBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Sku, + com.google.cloud.channel.v1.Sku.Builder, + com.google.cloud.channel.v1.SkuOrBuilder>( + getLegacySku(), getParentForChildren(), isClean()); legacySku_ = null; } return legacySkuBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1061,12 +1205,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.TransferableSku) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.TransferableSku) private static final com.google.cloud.channel.v1.TransferableSku DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.TransferableSku(); } @@ -1075,27 +1219,27 @@ public static com.google.cloud.channel.v1.TransferableSku getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransferableSku parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferableSku parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1110,6 +1254,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.TransferableSku getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSkuOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSkuOrBuilder.java similarity index 74% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSkuOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSkuOrBuilder.java index e240f54aef12..5dcbbc1edcfc 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSkuOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TransferableSkuOrBuilder.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/cloud/channel/v1/entitlements.proto package com.google.cloud.channel.v1; -public interface TransferableSkuOrBuilder extends +public interface TransferableSkuOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.TransferableSku) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Describes the transfer eligibility of a SKU.
    * 
* * .google.cloud.channel.v1.TransferEligibility transfer_eligibility = 9; + * * @return Whether the transferEligibility field is set. */ boolean hasTransferEligibility(); /** + * + * *
    * Describes the transfer eligibility of a SKU.
    * 
* * .google.cloud.channel.v1.TransferEligibility transfer_eligibility = 9; + * * @return The transferEligibility. */ com.google.cloud.channel.v1.TransferEligibility getTransferEligibility(); /** + * + * *
    * Describes the transfer eligibility of a SKU.
    * 
@@ -35,24 +59,32 @@ public interface TransferableSkuOrBuilder extends com.google.cloud.channel.v1.TransferEligibilityOrBuilder getTransferEligibilityOrBuilder(); /** + * + * *
    * The SKU pertaining to the provisioning resource as specified in the Offer.
    * 
* * .google.cloud.channel.v1.Sku sku = 11; + * * @return Whether the sku field is set. */ boolean hasSku(); /** + * + * *
    * The SKU pertaining to the provisioning resource as specified in the Offer.
    * 
* * .google.cloud.channel.v1.Sku sku = 11; + * * @return The sku. */ com.google.cloud.channel.v1.Sku getSku(); /** + * + * *
    * The SKU pertaining to the provisioning resource as specified in the Offer.
    * 
@@ -62,32 +94,43 @@ public interface TransferableSkuOrBuilder extends com.google.cloud.channel.v1.SkuOrBuilder getSkuOrBuilder(); /** + * + * *
    * Optional. The customer to transfer has an entitlement with the populated
    * legacy SKU.
    * 
* - * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the legacySku field is set. */ boolean hasLegacySku(); /** + * + * *
    * Optional. The customer to transfer has an entitlement with the populated
    * legacy SKU.
    * 
* - * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The legacySku. */ com.google.cloud.channel.v1.Sku getLegacySku(); /** + * + * *
    * Optional. The customer to transfer has an entitlement with the populated
    * legacy SKU.
    * 
* - * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.channel.v1.SkuOrBuilder getLegacySkuOrBuilder(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettings.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettings.java similarity index 70% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettings.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettings.java index 05c082374f50..2cd453e29a31 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettings.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettings.java @@ -1,55 +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/cloud/channel/v1/entitlements.proto package com.google.cloud.channel.v1; /** + * + * *
  * Settings for trial offers.
  * 
* * Protobuf type {@code google.cloud.channel.v1.TrialSettings} */ -public final class TrialSettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TrialSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.TrialSettings) TrialSettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TrialSettings.newBuilder() to construct. private TrialSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TrialSettings() { - } + + private TrialSettings() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TrialSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_TrialSettings_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_TrialSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_TrialSettings_fieldAccessorTable + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_TrialSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.TrialSettings.class, com.google.cloud.channel.v1.TrialSettings.Builder.class); + com.google.cloud.channel.v1.TrialSettings.class, + com.google.cloud.channel.v1.TrialSettings.Builder.class); } public static final int TRIAL_FIELD_NUMBER = 1; private boolean trial_; /** + * + * *
    * Determines if the entitlement is in a trial or not:
    * * `true` - The entitlement is in trial.
@@ -57,6 +77,7 @@ protected java.lang.Object newInstance(
    * 
* * bool trial = 1; + * * @return The trial. */ @java.lang.Override @@ -67,6 +88,8 @@ public boolean getTrial() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Date when the trial ends. The value is in milliseconds
    * using the UNIX Epoch format. See an example [Epoch
@@ -74,6 +97,7 @@ public boolean getTrial() {
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -81,6 +105,8 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * Date when the trial ends. The value is in milliseconds
    * using the UNIX Epoch format. See an example [Epoch
@@ -88,6 +114,7 @@ public boolean hasEndTime() {
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -95,6 +122,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Date when the trial ends. The value is in milliseconds
    * using the UNIX Epoch format. See an example [Epoch
@@ -109,6 +138,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -120,8 +150,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (trial_ != false) {
       output.writeBool(1, trial_);
     }
@@ -138,12 +167,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (trial_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(1, trial_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, trial_);
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getEndTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -153,19 +180,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.cloud.channel.v1.TrialSettings)) {
       return super.equals(obj);
     }
-    com.google.cloud.channel.v1.TrialSettings other = (com.google.cloud.channel.v1.TrialSettings) obj;
+    com.google.cloud.channel.v1.TrialSettings other =
+        (com.google.cloud.channel.v1.TrialSettings) obj;
 
-    if (getTrial()
-        != other.getTrial()) return false;
+    if (getTrial() != other.getTrial()) return false;
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime()
-          .equals(other.getEndTime())) return false;
+      if (!getEndTime().equals(other.getEndTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -179,8 +205,7 @@ public int hashCode() {
     int hash = 41;
     hash = (19 * hash) + getDescriptor().hashCode();
     hash = (37 * hash) + TRIAL_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getTrial());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getTrial());
     if (hasEndTime()) {
       hash = (37 * hash) + END_TIME_FIELD_NUMBER;
       hash = (53 * hash) + getEndTime().hashCode();
@@ -190,130 +215,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.channel.v1.TrialSettings parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.channel.v1.TrialSettings parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.channel.v1.TrialSettings parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.TrialSettings parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.channel.v1.TrialSettings parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.TrialSettings parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.channel.v1.TrialSettings parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.TrialSettings 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.cloud.channel.v1.TrialSettings parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.channel.v1.TrialSettings parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.channel.v1.TrialSettings parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.channel.v1.TrialSettings parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.TrialSettings parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.channel.v1.TrialSettings parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.channel.v1.TrialSettings prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Settings for trial offers.
    * 
* * Protobuf type {@code google.cloud.channel.v1.TrialSettings} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.TrialSettings) com.google.cloud.channel.v1.TrialSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_TrialSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_TrialSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_TrialSettings_fieldAccessorTable + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_TrialSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.TrialSettings.class, com.google.cloud.channel.v1.TrialSettings.Builder.class); + com.google.cloud.channel.v1.TrialSettings.class, + com.google.cloud.channel.v1.TrialSettings.Builder.class); } // Construct using com.google.cloud.channel.v1.TrialSettings.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -329,9 +360,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.EntitlementsProto.internal_static_google_cloud_channel_v1_TrialSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.EntitlementsProto + .internal_static_google_cloud_channel_v1_TrialSettings_descriptor; } @java.lang.Override @@ -350,7 +381,8 @@ public com.google.cloud.channel.v1.TrialSettings build() { @java.lang.Override public com.google.cloud.channel.v1.TrialSettings buildPartial() { - com.google.cloud.channel.v1.TrialSettings result = new com.google.cloud.channel.v1.TrialSettings(this); + com.google.cloud.channel.v1.TrialSettings result = + new com.google.cloud.channel.v1.TrialSettings(this); result.trial_ = trial_; if (endTimeBuilder_ == null) { result.endTime_ = endTime_; @@ -365,38 +397,39 @@ public com.google.cloud.channel.v1.TrialSettings 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.cloud.channel.v1.TrialSettings) { - return mergeFrom((com.google.cloud.channel.v1.TrialSettings)other); + return mergeFrom((com.google.cloud.channel.v1.TrialSettings) other); } else { super.mergeFrom(other); return this; @@ -437,24 +470,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - trial_ = input.readBool(); - - break; - } // case 8 - case 18: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + trial_ = input.readBool(); + + break; + } // case 8 + case 18: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -465,8 +499,10 @@ public Builder mergeFrom( return this; } - private boolean trial_ ; + private boolean trial_; /** + * + * *
      * Determines if the entitlement is in a trial or not:
      * * `true` - The entitlement is in trial.
@@ -474,6 +510,7 @@ public Builder mergeFrom(
      * 
* * bool trial = 1; + * * @return The trial. */ @java.lang.Override @@ -481,6 +518,8 @@ public boolean getTrial() { return trial_; } /** + * + * *
      * Determines if the entitlement is in a trial or not:
      * * `true` - The entitlement is in trial.
@@ -488,16 +527,19 @@ public boolean getTrial() {
      * 
* * bool trial = 1; + * * @param value The trial to set. * @return This builder for chaining. */ public Builder setTrial(boolean value) { - + trial_ = value; onChanged(); return this; } /** + * + * *
      * Determines if the entitlement is in a trial or not:
      * * `true` - The entitlement is in trial.
@@ -505,10 +547,11 @@ public Builder setTrial(boolean value) {
      * 
* * bool trial = 1; + * * @return This builder for chaining. */ public Builder clearTrial() { - + trial_ = false; onChanged(); return this; @@ -516,8 +559,13 @@ public Builder clearTrial() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * Date when the trial ends. The value is in milliseconds
      * using the UNIX Epoch format. See an example [Epoch
@@ -525,12 +573,15 @@ public Builder clearTrial() {
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * Date when the trial ends. The value is in milliseconds
      * using the UNIX Epoch format. See an example [Epoch
@@ -538,6 +589,7 @@ public boolean hasEndTime() {
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -548,6 +600,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Date when the trial ends. The value is in milliseconds
      * using the UNIX Epoch format. See an example [Epoch
@@ -570,6 +624,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Date when the trial ends. The value is in milliseconds
      * using the UNIX Epoch format. See an example [Epoch
@@ -578,8 +634,7 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 2;
      */
-    public Builder setEndTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
         onChanged();
@@ -590,6 +645,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Date when the trial ends. The value is in milliseconds
      * using the UNIX Epoch format. See an example [Epoch
@@ -602,7 +659,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-            com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -614,6 +671,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Date when the trial ends. The value is in milliseconds
      * using the UNIX Epoch format. See an example [Epoch
@@ -634,6 +693,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Date when the trial ends. The value is in milliseconds
      * using the UNIX Epoch format. See an example [Epoch
@@ -643,11 +704,13 @@ public Builder clearEndTime() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-      
+
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Date when the trial ends. The value is in milliseconds
      * using the UNIX Epoch format. See an example [Epoch
@@ -660,11 +723,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Date when the trial ends. The value is in milliseconds
      * using the UNIX Epoch format. See an example [Epoch
@@ -674,21 +738,24 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_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>
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(),
-                getParentForChildren(),
-                isClean());
+        endTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(), getParentForChildren(), isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -698,12 +765,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.TrialSettings)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.TrialSettings)
   private static final com.google.cloud.channel.v1.TrialSettings DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.channel.v1.TrialSettings();
   }
@@ -712,27 +779,27 @@ public static com.google.cloud.channel.v1.TrialSettings getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public TrialSettings parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public TrialSettings parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -747,6 +814,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.channel.v1.TrialSettings getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettingsOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettingsOrBuilder.java
similarity index 68%
rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettingsOrBuilder.java
rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettingsOrBuilder.java
index 87b533db37cd..a8754d020e6f 100644
--- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettingsOrBuilder.java
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/TrialSettingsOrBuilder.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/cloud/channel/v1/entitlements.proto
 
 package com.google.cloud.channel.v1;
 
-public interface TrialSettingsOrBuilder extends
+public interface TrialSettingsOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.TrialSettings)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Determines if the entitlement is in a trial or not:
    * * `true` - The entitlement is in trial.
@@ -15,11 +33,14 @@ public interface TrialSettingsOrBuilder extends
    * 
* * bool trial = 1; + * * @return The trial. */ boolean getTrial(); /** + * + * *
    * Date when the trial ends. The value is in milliseconds
    * using the UNIX Epoch format. See an example [Epoch
@@ -27,10 +48,13 @@ public interface TrialSettingsOrBuilder extends
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Date when the trial ends. The value is in milliseconds
    * using the UNIX Epoch format. See an example [Epoch
@@ -38,10 +62,13 @@ public interface TrialSettingsOrBuilder extends
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Date when the trial ends. The value is in milliseconds
    * using the UNIX Epoch format. See an example [Epoch
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequest.java
similarity index 67%
rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequest.java
rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequest.java
index b5876453fc60..b122a8df9857 100644
--- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequest.java
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequest.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/cloud/channel/v1/service.proto
 
 package com.google.cloud.channel.v1;
 
 /**
+ *
+ *
  * 
  * Request Message for UnregisterSubscriber.
  * 
* * Protobuf type {@code google.cloud.channel.v1.UnregisterSubscriberRequest} */ -public final class UnregisterSubscriberRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UnregisterSubscriberRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.UnregisterSubscriberRequest) UnregisterSubscriberRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UnregisterSubscriberRequest.newBuilder() to construct. private UnregisterSubscriberRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UnregisterSubscriberRequest() { account_ = ""; serviceAccount_ = ""; @@ -26,37 +44,41 @@ private UnregisterSubscriberRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UnregisterSubscriberRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.UnregisterSubscriberRequest.class, com.google.cloud.channel.v1.UnregisterSubscriberRequest.Builder.class); + com.google.cloud.channel.v1.UnregisterSubscriberRequest.class, + com.google.cloud.channel.v1.UnregisterSubscriberRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private volatile java.lang.Object account_; /** + * + * *
    * Required. Resource name of the account.
    * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The account. */ @java.lang.Override @@ -65,29 +87,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. Resource name of the account.
    * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -98,12 +120,15 @@ public java.lang.String getAccount() { public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 2; private volatile java.lang.Object serviceAccount_; /** + * + * *
    * Required. Service account to unregister from subscriber access to the
    * topic.
    * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The serviceAccount. */ @java.lang.Override @@ -112,30 +137,30 @@ public java.lang.String getServiceAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; } } /** + * + * *
    * Required. Service account to unregister from subscriber access to the
    * topic.
    * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -144,6 +169,7 @@ public java.lang.String getServiceAccount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,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(account_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, account_); } @@ -186,17 +211,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.cloud.channel.v1.UnregisterSubscriberRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.UnregisterSubscriberRequest other = (com.google.cloud.channel.v1.UnregisterSubscriberRequest) obj; + com.google.cloud.channel.v1.UnregisterSubscriberRequest other = + (com.google.cloud.channel.v1.UnregisterSubscriberRequest) obj; - if (!getAccount() - .equals(other.getAccount())) return false; - if (!getServiceAccount() - .equals(other.getServiceAccount())) return false; + if (!getAccount().equals(other.getAccount())) return false; + if (!getServiceAccount().equals(other.getServiceAccount())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -218,129 +242,136 @@ public int hashCode() { } public static com.google.cloud.channel.v1.UnregisterSubscriberRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.UnregisterSubscriberRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.UnregisterSubscriberRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.UnregisterSubscriberRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.UnregisterSubscriberRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.UnregisterSubscriberRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.UnregisterSubscriberRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.UnregisterSubscriberRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.UnregisterSubscriberRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.UnregisterSubscriberRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.UnregisterSubscriberRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.UnregisterSubscriberRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.UnregisterSubscriberRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.UnregisterSubscriberRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.UnregisterSubscriberRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.UnregisterSubscriberRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request Message for UnregisterSubscriber.
    * 
* * Protobuf type {@code google.cloud.channel.v1.UnregisterSubscriberRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.UnregisterSubscriberRequest) com.google.cloud.channel.v1.UnregisterSubscriberRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.UnregisterSubscriberRequest.class, com.google.cloud.channel.v1.UnregisterSubscriberRequest.Builder.class); + com.google.cloud.channel.v1.UnregisterSubscriberRequest.class, + com.google.cloud.channel.v1.UnregisterSubscriberRequest.Builder.class); } // Construct using com.google.cloud.channel.v1.UnregisterSubscriberRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -352,9 +383,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_descriptor; } @java.lang.Override @@ -373,7 +404,8 @@ public com.google.cloud.channel.v1.UnregisterSubscriberRequest build() { @java.lang.Override public com.google.cloud.channel.v1.UnregisterSubscriberRequest buildPartial() { - com.google.cloud.channel.v1.UnregisterSubscriberRequest result = new com.google.cloud.channel.v1.UnregisterSubscriberRequest(this); + com.google.cloud.channel.v1.UnregisterSubscriberRequest result = + new com.google.cloud.channel.v1.UnregisterSubscriberRequest(this); result.account_ = account_; result.serviceAccount_ = serviceAccount_; onBuilt(); @@ -384,38 +416,39 @@ public com.google.cloud.channel.v1.UnregisterSubscriberRequest 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.cloud.channel.v1.UnregisterSubscriberRequest) { - return mergeFrom((com.google.cloud.channel.v1.UnregisterSubscriberRequest)other); + return mergeFrom((com.google.cloud.channel.v1.UnregisterSubscriberRequest) other); } else { super.mergeFrom(other); return this; @@ -423,7 +456,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.UnregisterSubscriberRequest other) { - if (other == com.google.cloud.channel.v1.UnregisterSubscriberRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.channel.v1.UnregisterSubscriberRequest.getDefaultInstance()) + return this; if (!other.getAccount().isEmpty()) { account_ = other.account_; onChanged(); @@ -458,22 +492,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - account_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - serviceAccount_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + account_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + serviceAccount_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -486,18 +523,20 @@ public Builder mergeFrom( private java.lang.Object account_ = ""; /** + * + * *
      * Required. Resource name of the account.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -506,20 +545,21 @@ public java.lang.String getAccount() { } } /** + * + * *
      * Required. Resource name of the account.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -527,54 +567,61 @@ public java.lang.String getAccount() { } } /** + * + * *
      * Required. Resource name of the account.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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. Resource name of the account.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAccount() { - + account_ = getDefaultInstance().getAccount(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the account.
      * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -582,19 +629,21 @@ public Builder setAccountBytes( private java.lang.Object serviceAccount_ = ""; /** + * + * *
      * Required. Service account to unregister from subscriber access to the
      * topic.
      * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; @@ -603,21 +652,22 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * Required. Service account to unregister from subscriber access to the
      * topic.
      * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -625,64 +675,71 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * Required. Service account to unregister from subscriber access to the
      * topic.
      * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount( - java.lang.String value) { + public Builder setServiceAccount(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccount_ = value; onChanged(); return this; } /** + * + * *
      * Required. Service account to unregister from subscriber access to the
      * topic.
      * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearServiceAccount() { - + serviceAccount_ = getDefaultInstance().getServiceAccount(); onChanged(); return this; } /** + * + * *
      * Required. Service account to unregister from subscriber access to the
      * topic.
      * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccount_ = 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); } @@ -692,12 +749,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.UnregisterSubscriberRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.UnregisterSubscriberRequest) private static final com.google.cloud.channel.v1.UnregisterSubscriberRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.UnregisterSubscriberRequest(); } @@ -706,27 +763,27 @@ public static com.google.cloud.channel.v1.UnregisterSubscriberRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UnregisterSubscriberRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UnregisterSubscriberRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -741,6 +798,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.channel.v1.UnregisterSubscriberRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequestOrBuilder.java index 380079f40aa5..789537109305 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberRequestOrBuilder.java @@ -1,51 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface UnregisterSubscriberRequestOrBuilder extends +public interface UnregisterSubscriberRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.UnregisterSubscriberRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the account.
    * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The account. */ java.lang.String getAccount(); /** + * + * *
    * Required. Resource name of the account.
    * 
* * string account = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for account. */ - com.google.protobuf.ByteString - getAccountBytes(); + com.google.protobuf.ByteString getAccountBytes(); /** + * + * *
    * Required. Service account to unregister from subscriber access to the
    * topic.
    * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** + * + * *
    * Required. Service account to unregister from subscriber access to the
    * topic.
    * 
* * string service_account = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString - getServiceAccountBytes(); + com.google.protobuf.ByteString getServiceAccountBytes(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponse.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponse.java similarity index 65% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponse.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponse.java index a962d3c90720..50f1b882e345 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponse.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponse.java @@ -1,61 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Response Message for UnregisterSubscriber.
  * 
* * Protobuf type {@code google.cloud.channel.v1.UnregisterSubscriberResponse} */ -public final class UnregisterSubscriberResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UnregisterSubscriberResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.UnregisterSubscriberResponse) UnregisterSubscriberResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UnregisterSubscriberResponse.newBuilder() to construct. private UnregisterSubscriberResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UnregisterSubscriberResponse() { topic_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UnregisterSubscriberResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.UnregisterSubscriberResponse.class, com.google.cloud.channel.v1.UnregisterSubscriberResponse.Builder.class); + com.google.cloud.channel.v1.UnregisterSubscriberResponse.class, + com.google.cloud.channel.v1.UnregisterSubscriberResponse.Builder.class); } public static final int TOPIC_FIELD_NUMBER = 1; private volatile java.lang.Object topic_; /** + * + * *
    * Name of the topic the service account subscriber access was removed from.
    * 
* * string topic = 1; + * * @return The topic. */ @java.lang.Override @@ -64,29 +86,29 @@ public java.lang.String getTopic() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; } } /** + * + * *
    * Name of the topic the service account subscriber access was removed from.
    * 
* * string topic = 1; + * * @return The bytes for topic. */ @java.lang.Override - public com.google.protobuf.ByteString - getTopicBytes() { + public com.google.protobuf.ByteString getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); topic_ = b; return b; } else { @@ -95,6 +117,7 @@ public java.lang.String getTopic() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,8 +129,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, topic_); } @@ -131,15 +153,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.UnregisterSubscriberResponse)) { return super.equals(obj); } - com.google.cloud.channel.v1.UnregisterSubscriberResponse other = (com.google.cloud.channel.v1.UnregisterSubscriberResponse) obj; + com.google.cloud.channel.v1.UnregisterSubscriberResponse other = + (com.google.cloud.channel.v1.UnregisterSubscriberResponse) obj; - if (!getTopic() - .equals(other.getTopic())) return false; + if (!getTopic().equals(other.getTopic())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -159,129 +181,136 @@ public int hashCode() { } public static com.google.cloud.channel.v1.UnregisterSubscriberResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.UnregisterSubscriberResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.UnregisterSubscriberResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.UnregisterSubscriberResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.UnregisterSubscriberResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.UnregisterSubscriberResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.UnregisterSubscriberResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.UnregisterSubscriberResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.UnregisterSubscriberResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.UnregisterSubscriberResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.UnregisterSubscriberResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.UnregisterSubscriberResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.UnregisterSubscriberResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.UnregisterSubscriberResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.UnregisterSubscriberResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.UnregisterSubscriberResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 UnregisterSubscriber.
    * 
* * Protobuf type {@code google.cloud.channel.v1.UnregisterSubscriberResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.UnregisterSubscriberResponse) com.google.cloud.channel.v1.UnregisterSubscriberResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_fieldAccessorTable + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.UnregisterSubscriberResponse.class, com.google.cloud.channel.v1.UnregisterSubscriberResponse.Builder.class); + com.google.cloud.channel.v1.UnregisterSubscriberResponse.class, + com.google.cloud.channel.v1.UnregisterSubscriberResponse.Builder.class); } // Construct using com.google.cloud.channel.v1.UnregisterSubscriberResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +320,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.ServiceProto + .internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_descriptor; } @java.lang.Override @@ -312,7 +341,8 @@ public com.google.cloud.channel.v1.UnregisterSubscriberResponse build() { @java.lang.Override public com.google.cloud.channel.v1.UnregisterSubscriberResponse buildPartial() { - com.google.cloud.channel.v1.UnregisterSubscriberResponse result = new com.google.cloud.channel.v1.UnregisterSubscriberResponse(this); + com.google.cloud.channel.v1.UnregisterSubscriberResponse result = + new com.google.cloud.channel.v1.UnregisterSubscriberResponse(this); result.topic_ = topic_; onBuilt(); return result; @@ -322,38 +352,39 @@ public com.google.cloud.channel.v1.UnregisterSubscriberResponse 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.cloud.channel.v1.UnregisterSubscriberResponse) { - return mergeFrom((com.google.cloud.channel.v1.UnregisterSubscriberResponse)other); + return mergeFrom((com.google.cloud.channel.v1.UnregisterSubscriberResponse) other); } else { super.mergeFrom(other); return this; @@ -361,7 +392,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.channel.v1.UnregisterSubscriberResponse other) { - if (other == com.google.cloud.channel.v1.UnregisterSubscriberResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.channel.v1.UnregisterSubscriberResponse.getDefaultInstance()) + return this; if (!other.getTopic().isEmpty()) { topic_ = other.topic_; onChanged(); @@ -392,17 +424,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - topic_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + topic_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -415,18 +449,20 @@ public Builder mergeFrom( private java.lang.Object topic_ = ""; /** + * + * *
      * Name of the topic the service account subscriber access was removed from.
      * 
* * string topic = 1; + * * @return The topic. */ public java.lang.String getTopic() { java.lang.Object ref = topic_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; @@ -435,20 +471,21 @@ public java.lang.String getTopic() { } } /** + * + * *
      * Name of the topic the service account subscriber access was removed from.
      * 
* * string topic = 1; + * * @return The bytes for topic. */ - public com.google.protobuf.ByteString - getTopicBytes() { + public com.google.protobuf.ByteString getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); topic_ = b; return b; } else { @@ -456,61 +493,68 @@ public java.lang.String getTopic() { } } /** + * + * *
      * Name of the topic the service account subscriber access was removed from.
      * 
* * string topic = 1; + * * @param value The topic to set. * @return This builder for chaining. */ - public Builder setTopic( - java.lang.String value) { + public Builder setTopic(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + topic_ = value; onChanged(); return this; } /** + * + * *
      * Name of the topic the service account subscriber access was removed from.
      * 
* * string topic = 1; + * * @return This builder for chaining. */ public Builder clearTopic() { - + topic_ = getDefaultInstance().getTopic(); onChanged(); return this; } /** + * + * *
      * Name of the topic the service account subscriber access was removed from.
      * 
* * string topic = 1; + * * @param value The bytes for topic to set. * @return This builder for chaining. */ - public Builder setTopicBytes( - com.google.protobuf.ByteString value) { + public Builder setTopicBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + topic_ = 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); } @@ -520,12 +564,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.UnregisterSubscriberResponse) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.UnregisterSubscriberResponse) private static final com.google.cloud.channel.v1.UnregisterSubscriberResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.UnregisterSubscriberResponse(); } @@ -534,27 +578,27 @@ public static com.google.cloud.channel.v1.UnregisterSubscriberResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UnregisterSubscriberResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UnregisterSubscriberResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -569,6 +613,4 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.channel.v1.UnregisterSubscriberResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponseOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponseOrBuilder.java new file mode 100644 index 000000000000..146aabd22818 --- /dev/null +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponseOrBuilder.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/cloud/channel/v1/service.proto + +package com.google.cloud.channel.v1; + +public interface UnregisterSubscriberResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.UnregisterSubscriberResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Name of the topic the service account subscriber access was removed from.
+   * 
+ * + * string topic = 1; + * + * @return The topic. + */ + java.lang.String getTopic(); + /** + * + * + *
+   * Name of the topic the service account subscriber access was removed from.
+   * 
+ * + * string topic = 1; + * + * @return The bytes for topic. + */ + com.google.protobuf.ByteString getTopicBytes(); +} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequest.java similarity index 67% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequest.java index 5d80c878adab..9b9b3a5a651c 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelService.UpdateChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.UpdateChannelPartnerLink]
@@ -11,47 +28,52 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.UpdateChannelPartnerLinkRequest}
  */
-public final class UpdateChannelPartnerLinkRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpdateChannelPartnerLinkRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.UpdateChannelPartnerLinkRequest)
     UpdateChannelPartnerLinkRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpdateChannelPartnerLinkRequest.newBuilder() to construct.
-  private UpdateChannelPartnerLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private UpdateChannelPartnerLinkRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private UpdateChannelPartnerLinkRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpdateChannelPartnerLinkRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest.class, com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest.Builder.class);
+            com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest.class,
+            com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The resource name of the channel partner link to cancel.
    * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -59,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -67,14 +90,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the channel partner link to cancel.
    * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -82,16 +106,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -102,12 +125,17 @@ public java.lang.String getName() { public static final int CHANNEL_PARTNER_LINK_FIELD_NUMBER = 2; private com.google.cloud.channel.v1.ChannelPartnerLink channelPartnerLink_; /** + * + * *
    * Required. The channel partner link to update. Only
    * channel_partner_link.link_state is allowed for updates.
    * 
* - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the channelPartnerLink field is set. */ @java.lang.Override @@ -115,25 +143,36 @@ public boolean hasChannelPartnerLink() { return channelPartnerLink_ != null; } /** + * + * *
    * Required. The channel partner link to update. Only
    * channel_partner_link.link_state is allowed for updates.
    * 
* - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The channelPartnerLink. */ @java.lang.Override public com.google.cloud.channel.v1.ChannelPartnerLink getChannelPartnerLink() { - return channelPartnerLink_ == null ? com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance() : channelPartnerLink_; + return channelPartnerLink_ == null + ? com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance() + : channelPartnerLink_; } /** + * + * *
    * Required. The channel partner link to update. Only
    * channel_partner_link.link_state is allowed for updates.
    * 
* - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartnerLinkOrBuilder() { @@ -143,13 +182,17 @@ public com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartner public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. The update mask that applies to the resource.
    * The only allowable value for an update mask is
    * channel_partner_link.link_state.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -157,13 +200,17 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The update mask that applies to the resource.
    * The only allowable value for an update mask is
    * channel_partner_link.link_state.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -171,13 +218,16 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. The update mask that applies to the resource.
    * The only allowable value for an update mask is
    * channel_partner_link.link_state.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -185,6 +235,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -196,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -220,12 +270,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (channelPartnerLink_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getChannelPartnerLink()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getChannelPartnerLink()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -235,24 +283,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.cloud.channel.v1.UpdateChannelPartnerLinkRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest other = (com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest) obj; + com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest other = + (com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasChannelPartnerLink() != other.hasChannelPartnerLink()) return false; if (hasChannelPartnerLink()) { - if (!getChannelPartnerLink() - .equals(other.getChannelPartnerLink())) return false; + if (!getChannelPartnerLink().equals(other.getChannelPartnerLink())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -281,96 +327,104 @@ public int hashCode() { } public static com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelService.UpdateChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.UpdateChannelPartnerLink]
@@ -378,33 +432,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.UpdateChannelPartnerLinkRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.UpdateChannelPartnerLinkRequest)
       com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest.class, com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest.Builder.class);
+              com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest.class,
+              com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -426,9 +479,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_descriptor;
     }
 
     @java.lang.Override
@@ -447,7 +500,8 @@ public com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest buildPartial() {
-      com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest result = new com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest(this);
+      com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest result =
+          new com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest(this);
       result.name_ = name_;
       if (channelPartnerLinkBuilder_ == null) {
         result.channelPartnerLink_ = channelPartnerLink_;
@@ -467,38 +521,39 @@ public com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest 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.cloud.channel.v1.UpdateChannelPartnerLinkRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest)other);
+        return mergeFrom((com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -506,7 +561,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest other) {
-      if (other == com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -543,31 +599,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getChannelPartnerLinkFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(
+                    getChannelPartnerLinkFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -580,6 +637,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The resource name of the channel partner link to cancel.
      * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -587,13 +646,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -602,6 +661,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the channel partner link to cancel.
      * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -609,15 +670,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -625,6 +685,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the channel partner link to cancel.
      * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -632,20 +694,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 channel partner link to cancel.
      * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -653,15 +717,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the channel partner link to cancel.
      * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -669,16 +736,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -686,42 +753,61 @@ public Builder setNameBytes( private com.google.cloud.channel.v1.ChannelPartnerLink channelPartnerLink_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ChannelPartnerLink, com.google.cloud.channel.v1.ChannelPartnerLink.Builder, com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder> channelPartnerLinkBuilder_; + com.google.cloud.channel.v1.ChannelPartnerLink, + com.google.cloud.channel.v1.ChannelPartnerLink.Builder, + com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder> + channelPartnerLinkBuilder_; /** + * + * *
      * Required. The channel partner link to update. Only
      * channel_partner_link.link_state is allowed for updates.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the channelPartnerLink field is set. */ public boolean hasChannelPartnerLink() { return channelPartnerLinkBuilder_ != null || channelPartnerLink_ != null; } /** + * + * *
      * Required. The channel partner link to update. Only
      * channel_partner_link.link_state is allowed for updates.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The channelPartnerLink. */ public com.google.cloud.channel.v1.ChannelPartnerLink getChannelPartnerLink() { if (channelPartnerLinkBuilder_ == null) { - return channelPartnerLink_ == null ? com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance() : channelPartnerLink_; + return channelPartnerLink_ == null + ? com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance() + : channelPartnerLink_; } else { return channelPartnerLinkBuilder_.getMessage(); } } /** + * + * *
      * Required. The channel partner link to update. Only
      * channel_partner_link.link_state is allowed for updates.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setChannelPartnerLink(com.google.cloud.channel.v1.ChannelPartnerLink value) { if (channelPartnerLinkBuilder_ == null) { @@ -737,12 +823,16 @@ public Builder setChannelPartnerLink(com.google.cloud.channel.v1.ChannelPartnerL return this; } /** + * + * *
      * Required. The channel partner link to update. Only
      * channel_partner_link.link_state is allowed for updates.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setChannelPartnerLink( com.google.cloud.channel.v1.ChannelPartnerLink.Builder builderForValue) { @@ -756,18 +846,24 @@ public Builder setChannelPartnerLink( return this; } /** + * + * *
      * Required. The channel partner link to update. Only
      * channel_partner_link.link_state is allowed for updates.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeChannelPartnerLink(com.google.cloud.channel.v1.ChannelPartnerLink value) { if (channelPartnerLinkBuilder_ == null) { if (channelPartnerLink_ != null) { channelPartnerLink_ = - com.google.cloud.channel.v1.ChannelPartnerLink.newBuilder(channelPartnerLink_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.ChannelPartnerLink.newBuilder(channelPartnerLink_) + .mergeFrom(value) + .buildPartial(); } else { channelPartnerLink_ = value; } @@ -779,12 +875,16 @@ public Builder mergeChannelPartnerLink(com.google.cloud.channel.v1.ChannelPartne return this; } /** + * + * *
      * Required. The channel partner link to update. Only
      * channel_partner_link.link_state is allowed for updates.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearChannelPartnerLink() { if (channelPartnerLinkBuilder_ == null) { @@ -798,51 +898,68 @@ public Builder clearChannelPartnerLink() { return this; } /** + * + * *
      * Required. The channel partner link to update. Only
      * channel_partner_link.link_state is allowed for updates.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.channel.v1.ChannelPartnerLink.Builder getChannelPartnerLinkBuilder() { - + onChanged(); return getChannelPartnerLinkFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The channel partner link to update. Only
      * channel_partner_link.link_state is allowed for updates.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartnerLinkOrBuilder() { + public com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder + getChannelPartnerLinkOrBuilder() { if (channelPartnerLinkBuilder_ != null) { return channelPartnerLinkBuilder_.getMessageOrBuilder(); } else { - return channelPartnerLink_ == null ? - com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance() : channelPartnerLink_; + return channelPartnerLink_ == null + ? com.google.cloud.channel.v1.ChannelPartnerLink.getDefaultInstance() + : channelPartnerLink_; } } /** + * + * *
      * Required. The channel partner link to update. Only
      * channel_partner_link.link_state is allowed for updates.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ChannelPartnerLink, com.google.cloud.channel.v1.ChannelPartnerLink.Builder, com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder> + com.google.cloud.channel.v1.ChannelPartnerLink, + com.google.cloud.channel.v1.ChannelPartnerLink.Builder, + com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder> getChannelPartnerLinkFieldBuilder() { if (channelPartnerLinkBuilder_ == null) { - channelPartnerLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ChannelPartnerLink, com.google.cloud.channel.v1.ChannelPartnerLink.Builder, com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder>( - getChannelPartnerLink(), - getParentForChildren(), - isClean()); + channelPartnerLinkBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.ChannelPartnerLink, + com.google.cloud.channel.v1.ChannelPartnerLink.Builder, + com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder>( + getChannelPartnerLink(), getParentForChildren(), isClean()); channelPartnerLink_ = null; } return channelPartnerLinkBuilder_; @@ -850,45 +967,61 @@ public com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartner 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 update mask that applies to the resource.
      * The only allowable value for an update mask is
      * channel_partner_link.link_state.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Required. The update mask that applies to the resource.
      * The only allowable value for an update mask is
      * channel_partner_link.link_state.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.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 update mask that applies to the resource.
      * The only allowable value for an update mask is
      * channel_partner_link.link_state.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -904,16 +1037,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The update mask that applies to the resource.
      * The only allowable value for an update mask is
      * channel_partner_link.link_state.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.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(); @@ -924,19 +1059,22 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The update mask that applies to the resource.
      * The only allowable value for an update mask is
      * channel_partner_link.link_state.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.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; } @@ -948,13 +1086,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The update mask that applies to the resource.
      * The only allowable value for an update mask is
      * channel_partner_link.link_state.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -968,61 +1109,74 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The update mask that applies to the resource.
      * The only allowable value for an update mask is
      * channel_partner_link.link_state.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The update mask that applies to the resource.
      * The only allowable value for an update mask is
      * channel_partner_link.link_state.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.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 update mask that applies to the resource.
      * The only allowable value for an update mask is
      * channel_partner_link.link_state.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.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); } @@ -1032,12 +1186,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.UpdateChannelPartnerLinkRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.UpdateChannelPartnerLinkRequest) private static final com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest(); } @@ -1046,27 +1200,27 @@ public static com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateChannelPartnerLinkRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateChannelPartnerLinkRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1081,6 +1235,4 @@ public com.google.protobuf.Parser getParserForT public com.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequestOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequestOrBuilder.java index 1ea5359d977d..6d1a89bd0021 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequestOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerLinkRequestOrBuilder.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; -public interface UpdateChannelPartnerLinkRequestOrBuilder extends +public interface UpdateChannelPartnerLinkRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.UpdateChannelPartnerLinkRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the channel partner link to cancel.
    * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -15,10 +33,13 @@ public interface UpdateChannelPartnerLinkRequestOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the channel partner link to cancel.
    * Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
@@ -26,71 +47,96 @@ public interface UpdateChannelPartnerLinkRequestOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The channel partner link to update. Only
    * channel_partner_link.link_state is allowed for updates.
    * 
* - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the channelPartnerLink field is set. */ boolean hasChannelPartnerLink(); /** + * + * *
    * Required. The channel partner link to update. Only
    * channel_partner_link.link_state is allowed for updates.
    * 
* - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The channelPartnerLink. */ com.google.cloud.channel.v1.ChannelPartnerLink getChannelPartnerLink(); /** + * + * *
    * Required. The channel partner link to update. Only
    * channel_partner_link.link_state is allowed for updates.
    * 
* - * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.channel.v1.ChannelPartnerLinkOrBuilder getChannelPartnerLinkOrBuilder(); /** + * + * *
    * Required. The update mask that applies to the resource.
    * The only allowable value for an update mask is
    * channel_partner_link.link_state.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. The update mask that applies to the resource.
    * The only allowable value for an update mask is
    * channel_partner_link.link_state.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. The update mask that applies to the resource.
    * The only allowable value for an update mask is
    * channel_partner_link.link_state.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequest.java similarity index 56% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequest.java index 98709b6a36d4..757beb87dd50 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelService.UpdateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.UpdateChannelPartnerRepricingConfig].
@@ -11,51 +28,59 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest}
  */
-public final class UpdateChannelPartnerRepricingConfigRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpdateChannelPartnerRepricingConfigRequest
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest)
     UpdateChannelPartnerRepricingConfigRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpdateChannelPartnerRepricingConfigRequest.newBuilder() to construct.
-  private UpdateChannelPartnerRepricingConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private UpdateChannelPartnerRepricingConfigRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private UpdateChannelPartnerRepricingConfigRequest() {
-  }
+
+  private UpdateChannelPartnerRepricingConfigRequest() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpdateChannelPartnerRepricingConfigRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest.class, com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest.Builder.class);
+            com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest.class,
+            com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest.Builder.class);
   }
 
   public static final int CHANNEL_PARTNER_REPRICING_CONFIG_FIELD_NUMBER = 1;
   private com.google.cloud.channel.v1.ChannelPartnerRepricingConfig channelPartnerRepricingConfig_;
   /**
+   *
+   *
    * 
    * Required. The ChannelPartnerRepricingConfig object to update.
    * 
* - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the channelPartnerRepricingConfig field is set. */ @java.lang.Override @@ -63,30 +88,44 @@ public boolean hasChannelPartnerRepricingConfig() { return channelPartnerRepricingConfig_ != null; } /** + * + * *
    * Required. The ChannelPartnerRepricingConfig object to update.
    * 
* - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The channelPartnerRepricingConfig. */ @java.lang.Override - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getChannelPartnerRepricingConfig() { - return channelPartnerRepricingConfig_ == null ? com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance() : channelPartnerRepricingConfig_; + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig + getChannelPartnerRepricingConfig() { + return channelPartnerRepricingConfig_ == null + ? com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance() + : channelPartnerRepricingConfig_; } /** + * + * *
    * Required. The ChannelPartnerRepricingConfig object to update.
    * 
* - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder getChannelPartnerRepricingConfigOrBuilder() { + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder + getChannelPartnerRepricingConfigOrBuilder() { return getChannelPartnerRepricingConfig(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (channelPartnerRepricingConfig_ != null) { output.writeMessage(1, getChannelPartnerRepricingConfig()); } @@ -113,8 +151,9 @@ public int getSerializedSize() { size = 0; if (channelPartnerRepricingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getChannelPartnerRepricingConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, getChannelPartnerRepricingConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -124,17 +163,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.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest other = (com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest) obj; + com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest other = + (com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest) obj; - if (hasChannelPartnerRepricingConfig() != other.hasChannelPartnerRepricingConfig()) return false; + if (hasChannelPartnerRepricingConfig() != other.hasChannelPartnerRepricingConfig()) + return false; if (hasChannelPartnerRepricingConfig()) { - if (!getChannelPartnerRepricingConfig() - .equals(other.getChannelPartnerRepricingConfig())) return false; + if (!getChannelPartnerRepricingConfig().equals(other.getChannelPartnerRepricingConfig())) + return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -157,96 +198,105 @@ public int hashCode() { } public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelService.UpdateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.UpdateChannelPartnerRepricingConfig].
@@ -254,33 +304,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest)
       com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest.class, com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest.Builder.class);
+              com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest.class,
+              com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest.Builder.class);
     }
 
-    // Construct using com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest.newBuilder()
-    private Builder() {
-
-    }
+    // Construct using
+    // com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest.newBuilder()
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -294,19 +344,22 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest getDefaultInstanceForType() {
-      return com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest.getDefaultInstance();
+    public com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest
+        getDefaultInstanceForType() {
+      return com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest
+          .getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest build() {
-      com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest result = buildPartial();
+      com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest result =
+          buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -315,7 +368,8 @@ public com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest bu
 
     @java.lang.Override
     public com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest buildPartial() {
-      com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest result = new com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest(this);
+      com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest result =
+          new com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest(this);
       if (channelPartnerRepricingConfigBuilder_ == null) {
         result.channelPartnerRepricingConfig_ = channelPartnerRepricingConfig_;
       } else {
@@ -329,46 +383,51 @@ public com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest 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.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest)other);
+        return mergeFrom(
+            (com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest other) {
-      if (other == com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest other) {
+      if (other
+          == com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest
+              .getDefaultInstance()) return this;
       if (other.hasChannelPartnerRepricingConfig()) {
         mergeChannelPartnerRepricingConfig(other.getChannelPartnerRepricingConfig());
       }
@@ -398,19 +457,20 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getChannelPartnerRepricingConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(
+                    getChannelPartnerRepricingConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -421,43 +481,66 @@ public Builder mergeFrom(
       return this;
     }
 
-    private com.google.cloud.channel.v1.ChannelPartnerRepricingConfig channelPartnerRepricingConfig_;
+    private com.google.cloud.channel.v1.ChannelPartnerRepricingConfig
+        channelPartnerRepricingConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.channel.v1.ChannelPartnerRepricingConfig, com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder, com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder> channelPartnerRepricingConfigBuilder_;
+            com.google.cloud.channel.v1.ChannelPartnerRepricingConfig,
+            com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder,
+            com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder>
+        channelPartnerRepricingConfigBuilder_;
     /**
+     *
+     *
      * 
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the channelPartnerRepricingConfig field is set. */ public boolean hasChannelPartnerRepricingConfig() { - return channelPartnerRepricingConfigBuilder_ != null || channelPartnerRepricingConfig_ != null; + return channelPartnerRepricingConfigBuilder_ != null + || channelPartnerRepricingConfig_ != null; } /** + * + * *
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The channelPartnerRepricingConfig. */ - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getChannelPartnerRepricingConfig() { + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig + getChannelPartnerRepricingConfig() { if (channelPartnerRepricingConfigBuilder_ == null) { - return channelPartnerRepricingConfig_ == null ? com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance() : channelPartnerRepricingConfig_; + return channelPartnerRepricingConfig_ == null + ? com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance() + : channelPartnerRepricingConfig_; } else { return channelPartnerRepricingConfigBuilder_.getMessage(); } } /** + * + * *
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setChannelPartnerRepricingConfig(com.google.cloud.channel.v1.ChannelPartnerRepricingConfig value) { + public Builder setChannelPartnerRepricingConfig( + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig value) { if (channelPartnerRepricingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -471,11 +554,15 @@ public Builder setChannelPartnerRepricingConfig(com.google.cloud.channel.v1.Chan return this; } /** + * + * *
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setChannelPartnerRepricingConfig( com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder builderForValue) { @@ -489,17 +576,25 @@ public Builder setChannelPartnerRepricingConfig( return this; } /** + * + * *
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeChannelPartnerRepricingConfig(com.google.cloud.channel.v1.ChannelPartnerRepricingConfig value) { + public Builder mergeChannelPartnerRepricingConfig( + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig value) { if (channelPartnerRepricingConfigBuilder_ == null) { if (channelPartnerRepricingConfig_ != null) { channelPartnerRepricingConfig_ = - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.newBuilder(channelPartnerRepricingConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.newBuilder( + channelPartnerRepricingConfig_) + .mergeFrom(value) + .buildPartial(); } else { channelPartnerRepricingConfig_ = value; } @@ -511,11 +606,15 @@ public Builder mergeChannelPartnerRepricingConfig(com.google.cloud.channel.v1.Ch return this; } /** + * + * *
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearChannelPartnerRepricingConfig() { if (channelPartnerRepricingConfigBuilder_ == null) { @@ -529,55 +628,73 @@ public Builder clearChannelPartnerRepricingConfig() { return this; } /** + * + * *
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder getChannelPartnerRepricingConfigBuilder() { - + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder + getChannelPartnerRepricingConfigBuilder() { + onChanged(); return getChannelPartnerRepricingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder getChannelPartnerRepricingConfigOrBuilder() { + public com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder + getChannelPartnerRepricingConfigOrBuilder() { if (channelPartnerRepricingConfigBuilder_ != null) { return channelPartnerRepricingConfigBuilder_.getMessageOrBuilder(); } else { - return channelPartnerRepricingConfig_ == null ? - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance() : channelPartnerRepricingConfig_; + return channelPartnerRepricingConfig_ == null + ? com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.getDefaultInstance() + : channelPartnerRepricingConfig_; } } /** + * + * *
      * Required. The ChannelPartnerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig, com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder, com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder> + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig, + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder, + com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder> getChannelPartnerRepricingConfigFieldBuilder() { if (channelPartnerRepricingConfigBuilder_ == null) { - channelPartnerRepricingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig, com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder, com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder>( - getChannelPartnerRepricingConfig(), - getParentForChildren(), - isClean()); + channelPartnerRepricingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig, + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig.Builder, + com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder>( + getChannelPartnerRepricingConfig(), getParentForChildren(), isClean()); channelPartnerRepricingConfig_ = null; } return channelPartnerRepricingConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -587,41 +704,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest) - private static final com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest DEFAULT_INSTANCE; + private static final com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest(); } - public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest getDefaultInstance() { + public static com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateChannelPartnerRepricingConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateChannelPartnerRepricingConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -633,9 +754,8 @@ public com.google.protobuf.Parser ge } @java.lang.Override - public com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest getDefaultInstanceForType() { + public com.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequestOrBuilder.java new file mode 100644 index 000000000000..1dd1b2e4b56f --- /dev/null +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequestOrBuilder.java @@ -0,0 +1,67 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/service.proto + +package com.google.cloud.channel.v1; + +public interface UpdateChannelPartnerRepricingConfigRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The ChannelPartnerRepricingConfig object to update.
+   * 
+ * + * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the channelPartnerRepricingConfig field is set. + */ + boolean hasChannelPartnerRepricingConfig(); + /** + * + * + *
+   * Required. The ChannelPartnerRepricingConfig object to update.
+   * 
+ * + * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The channelPartnerRepricingConfig. + */ + com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getChannelPartnerRepricingConfig(); + /** + * + * + *
+   * Required. The ChannelPartnerRepricingConfig object to update.
+   * 
+ * + * + * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder + getChannelPartnerRepricingConfigOrBuilder(); +} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequest.java similarity index 58% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequest.java index 59e8738c3298..2305529d20ab 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelService.UpdateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.UpdateCustomerRepricingConfig].
@@ -11,51 +28,59 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest}
  */
-public final class UpdateCustomerRepricingConfigRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpdateCustomerRepricingConfigRequest
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest)
     UpdateCustomerRepricingConfigRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpdateCustomerRepricingConfigRequest.newBuilder() to construct.
-  private UpdateCustomerRepricingConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private UpdateCustomerRepricingConfigRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private UpdateCustomerRepricingConfigRequest() {
-  }
+
+  private UpdateCustomerRepricingConfigRequest() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpdateCustomerRepricingConfigRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest.class, com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest.Builder.class);
+            com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest.class,
+            com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest.Builder.class);
   }
 
   public static final int CUSTOMER_REPRICING_CONFIG_FIELD_NUMBER = 1;
   private com.google.cloud.channel.v1.CustomerRepricingConfig customerRepricingConfig_;
   /**
+   *
+   *
    * 
    * Required. The CustomerRepricingConfig object to update.
    * 
* - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the customerRepricingConfig field is set. */ @java.lang.Override @@ -63,30 +88,43 @@ public boolean hasCustomerRepricingConfig() { return customerRepricingConfig_ != null; } /** + * + * *
    * Required. The CustomerRepricingConfig object to update.
    * 
* - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The customerRepricingConfig. */ @java.lang.Override public com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingConfig() { - return customerRepricingConfig_ == null ? com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance() : customerRepricingConfig_; + return customerRepricingConfig_ == null + ? com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance() + : customerRepricingConfig_; } /** + * + * *
    * Required. The CustomerRepricingConfig object to update.
    * 
* - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder getCustomerRepricingConfigOrBuilder() { + public com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder + getCustomerRepricingConfigOrBuilder() { return getCustomerRepricingConfig(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +136,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (customerRepricingConfig_ != null) { output.writeMessage(1, getCustomerRepricingConfig()); } @@ -113,8 +150,8 @@ public int getSerializedSize() { size = 0; if (customerRepricingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCustomerRepricingConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCustomerRepricingConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -124,17 +161,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest)) { return super.equals(obj); } - com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest other = (com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest) obj; + com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest other = + (com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest) obj; if (hasCustomerRepricingConfig() != other.hasCustomerRepricingConfig()) return false; if (hasCustomerRepricingConfig()) { - if (!getCustomerRepricingConfig() - .equals(other.getCustomerRepricingConfig())) return false; + if (!getCustomerRepricingConfig().equals(other.getCustomerRepricingConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -157,96 +194,104 @@ public int hashCode() { } public static com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for
    * [CloudChannelService.UpdateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.UpdateCustomerRepricingConfig].
@@ -254,33 +299,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest)
       com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest.class, com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest.Builder.class);
+              com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest.class,
+              com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -294,13 +338,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest getDefaultInstanceForType() {
+    public com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest.getDefaultInstance();
     }
 
@@ -315,7 +360,8 @@ public com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest build()
 
     @java.lang.Override
     public com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest buildPartial() {
-      com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest result = new com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest(this);
+      com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest result =
+          new com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest(this);
       if (customerRepricingConfigBuilder_ == null) {
         result.customerRepricingConfig_ = customerRepricingConfig_;
       } else {
@@ -329,46 +375,50 @@ public com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest 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.cloud.channel.v1.UpdateCustomerRepricingConfigRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest)other);
+        return mergeFrom((com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest other) {
-      if (other == com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest other) {
+      if (other
+          == com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest.getDefaultInstance())
+        return this;
       if (other.hasCustomerRepricingConfig()) {
         mergeCustomerRepricingConfig(other.getCustomerRepricingConfig());
       }
@@ -398,19 +448,20 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getCustomerRepricingConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(
+                    getCustomerRepricingConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -423,41 +474,61 @@ public Builder mergeFrom(
 
     private com.google.cloud.channel.v1.CustomerRepricingConfig customerRepricingConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.channel.v1.CustomerRepricingConfig, com.google.cloud.channel.v1.CustomerRepricingConfig.Builder, com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder> customerRepricingConfigBuilder_;
+            com.google.cloud.channel.v1.CustomerRepricingConfig,
+            com.google.cloud.channel.v1.CustomerRepricingConfig.Builder,
+            com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder>
+        customerRepricingConfigBuilder_;
     /**
+     *
+     *
      * 
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the customerRepricingConfig field is set. */ public boolean hasCustomerRepricingConfig() { return customerRepricingConfigBuilder_ != null || customerRepricingConfig_ != null; } /** + * + * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The customerRepricingConfig. */ public com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingConfig() { if (customerRepricingConfigBuilder_ == null) { - return customerRepricingConfig_ == null ? com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance() : customerRepricingConfig_; + return customerRepricingConfig_ == null + ? com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance() + : customerRepricingConfig_; } else { return customerRepricingConfigBuilder_.getMessage(); } } /** + * + * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCustomerRepricingConfig(com.google.cloud.channel.v1.CustomerRepricingConfig value) { + public Builder setCustomerRepricingConfig( + com.google.cloud.channel.v1.CustomerRepricingConfig value) { if (customerRepricingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -471,11 +542,15 @@ public Builder setCustomerRepricingConfig(com.google.cloud.channel.v1.CustomerRe return this; } /** + * + * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCustomerRepricingConfig( com.google.cloud.channel.v1.CustomerRepricingConfig.Builder builderForValue) { @@ -489,17 +564,25 @@ public Builder setCustomerRepricingConfig( return this; } /** + * + * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeCustomerRepricingConfig(com.google.cloud.channel.v1.CustomerRepricingConfig value) { + public Builder mergeCustomerRepricingConfig( + com.google.cloud.channel.v1.CustomerRepricingConfig value) { if (customerRepricingConfigBuilder_ == null) { if (customerRepricingConfig_ != null) { customerRepricingConfig_ = - com.google.cloud.channel.v1.CustomerRepricingConfig.newBuilder(customerRepricingConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.CustomerRepricingConfig.newBuilder( + customerRepricingConfig_) + .mergeFrom(value) + .buildPartial(); } else { customerRepricingConfig_ = value; } @@ -511,11 +594,15 @@ public Builder mergeCustomerRepricingConfig(com.google.cloud.channel.v1.Customer return this; } /** + * + * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCustomerRepricingConfig() { if (customerRepricingConfigBuilder_ == null) { @@ -529,55 +616,73 @@ public Builder clearCustomerRepricingConfig() { return this; } /** + * + * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.channel.v1.CustomerRepricingConfig.Builder getCustomerRepricingConfigBuilder() { - + public com.google.cloud.channel.v1.CustomerRepricingConfig.Builder + getCustomerRepricingConfigBuilder() { + onChanged(); return getCustomerRepricingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder getCustomerRepricingConfigOrBuilder() { + public com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder + getCustomerRepricingConfigOrBuilder() { if (customerRepricingConfigBuilder_ != null) { return customerRepricingConfigBuilder_.getMessageOrBuilder(); } else { - return customerRepricingConfig_ == null ? - com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance() : customerRepricingConfig_; + return customerRepricingConfig_ == null + ? com.google.cloud.channel.v1.CustomerRepricingConfig.getDefaultInstance() + : customerRepricingConfig_; } } /** + * + * *
      * Required. The CustomerRepricingConfig object to update.
      * 
* - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CustomerRepricingConfig, com.google.cloud.channel.v1.CustomerRepricingConfig.Builder, com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder> + com.google.cloud.channel.v1.CustomerRepricingConfig, + com.google.cloud.channel.v1.CustomerRepricingConfig.Builder, + com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder> getCustomerRepricingConfigFieldBuilder() { if (customerRepricingConfigBuilder_ == null) { - customerRepricingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.CustomerRepricingConfig, com.google.cloud.channel.v1.CustomerRepricingConfig.Builder, com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder>( - getCustomerRepricingConfig(), - getParentForChildren(), - isClean()); + customerRepricingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.CustomerRepricingConfig, + com.google.cloud.channel.v1.CustomerRepricingConfig.Builder, + com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder>( + getCustomerRepricingConfig(), getParentForChildren(), isClean()); customerRepricingConfig_ = null; } return customerRepricingConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -587,41 +692,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest) - private static final com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest DEFAULT_INSTANCE; + private static final com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest(); } - public static com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest getDefaultInstance() { + public static com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateCustomerRepricingConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateCustomerRepricingConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -633,9 +740,8 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest getDefaultInstanceForType() { + public com.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequestOrBuilder.java new file mode 100644 index 000000000000..ba45a91c7f07 --- /dev/null +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequestOrBuilder.java @@ -0,0 +1,67 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/channel/v1/service.proto + +package com.google.cloud.channel.v1; + +public interface UpdateCustomerRepricingConfigRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The CustomerRepricingConfig object to update.
+   * 
+ * + * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the customerRepricingConfig field is set. + */ + boolean hasCustomerRepricingConfig(); + /** + * + * + *
+   * Required. The CustomerRepricingConfig object to update.
+   * 
+ * + * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The customerRepricingConfig. + */ + com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingConfig(); + /** + * + * + *
+   * Required. The CustomerRepricingConfig object to update.
+   * 
+ * + * + * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder + getCustomerRepricingConfigOrBuilder(); +} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequest.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequest.java similarity index 65% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequest.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequest.java index 65580b3e5a2c..4bab48a3a889 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequest.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequest.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/cloud/channel/v1/service.proto package com.google.cloud.channel.v1; /** + * + * *
  * Request message for
  * [CloudChannelService.UpdateCustomer][google.cloud.channel.v1.CloudChannelService.UpdateCustomer].
@@ -11,51 +28,56 @@
  *
  * Protobuf type {@code google.cloud.channel.v1.UpdateCustomerRequest}
  */
-public final class UpdateCustomerRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpdateCustomerRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.UpdateCustomerRequest)
     UpdateCustomerRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpdateCustomerRequest.newBuilder() to construct.
   private UpdateCustomerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private UpdateCustomerRequest() {
-  }
+
+  private UpdateCustomerRequest() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpdateCustomerRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateCustomerRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_UpdateCustomerRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateCustomerRequest_fieldAccessorTable
+    return com.google.cloud.channel.v1.ServiceProto
+        .internal_static_google_cloud_channel_v1_UpdateCustomerRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.channel.v1.UpdateCustomerRequest.class, com.google.cloud.channel.v1.UpdateCustomerRequest.Builder.class);
+            com.google.cloud.channel.v1.UpdateCustomerRequest.class,
+            com.google.cloud.channel.v1.UpdateCustomerRequest.Builder.class);
   }
 
   public static final int CUSTOMER_FIELD_NUMBER = 2;
   private com.google.cloud.channel.v1.Customer customer_;
   /**
+   *
+   *
    * 
    * Required. New contents of the customer.
    * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the customer field is set. */ @java.lang.Override @@ -63,23 +85,32 @@ public boolean hasCustomer() { return customer_ != null; } /** + * + * *
    * Required. New contents of the customer.
    * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The customer. */ @java.lang.Override public com.google.cloud.channel.v1.Customer getCustomer() { - return customer_ == null ? com.google.cloud.channel.v1.Customer.getDefaultInstance() : customer_; + return customer_ == null + ? com.google.cloud.channel.v1.Customer.getDefaultInstance() + : customer_; } /** + * + * *
    * Required. New contents of the customer.
    * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.channel.v1.CustomerOrBuilder getCustomerOrBuilder() { @@ -89,12 +120,15 @@ public com.google.cloud.channel.v1.CustomerOrBuilder getCustomerOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * The update mask that applies to the resource.
    * Optional.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -102,12 +136,15 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The update mask that applies to the resource.
    * Optional.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ @java.lang.Override @@ -115,6 +152,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The update mask that applies to the resource.
    * Optional.
@@ -128,6 +167,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -139,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 (customer_ != null) {
       output.writeMessage(2, getCustomer());
     }
@@ -157,12 +196,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (customer_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getCustomer());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCustomer());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -172,22 +209,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.channel.v1.UpdateCustomerRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.channel.v1.UpdateCustomerRequest other = (com.google.cloud.channel.v1.UpdateCustomerRequest) obj;
+    com.google.cloud.channel.v1.UpdateCustomerRequest other =
+        (com.google.cloud.channel.v1.UpdateCustomerRequest) obj;
 
     if (hasCustomer() != other.hasCustomer()) return false;
     if (hasCustomer()) {
-      if (!getCustomer()
-          .equals(other.getCustomer())) return false;
+      if (!getCustomer().equals(other.getCustomer())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -214,96 +250,103 @@ public int hashCode() {
   }
 
   public static com.google.cloud.channel.v1.UpdateCustomerRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.channel.v1.UpdateCustomerRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.UpdateCustomerRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.channel.v1.UpdateCustomerRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.UpdateCustomerRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.channel.v1.UpdateCustomerRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.channel.v1.UpdateCustomerRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.channel.v1.UpdateCustomerRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.channel.v1.UpdateCustomerRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.channel.v1.UpdateCustomerRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.channel.v1.UpdateCustomerRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.channel.v1.UpdateCustomerRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.channel.v1.UpdateCustomerRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.channel.v1.UpdateCustomerRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.channel.v1.UpdateCustomerRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Request message for
    * [CloudChannelService.UpdateCustomer][google.cloud.channel.v1.CloudChannelService.UpdateCustomer].
@@ -311,33 +354,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.channel.v1.UpdateCustomerRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.UpdateCustomerRequest)
       com.google.cloud.channel.v1.UpdateCustomerRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateCustomerRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_UpdateCustomerRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateCustomerRequest_fieldAccessorTable
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_UpdateCustomerRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.channel.v1.UpdateCustomerRequest.class, com.google.cloud.channel.v1.UpdateCustomerRequest.Builder.class);
+              com.google.cloud.channel.v1.UpdateCustomerRequest.class,
+              com.google.cloud.channel.v1.UpdateCustomerRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.channel.v1.UpdateCustomerRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -357,9 +399,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.channel.v1.ServiceProto.internal_static_google_cloud_channel_v1_UpdateCustomerRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.channel.v1.ServiceProto
+          .internal_static_google_cloud_channel_v1_UpdateCustomerRequest_descriptor;
     }
 
     @java.lang.Override
@@ -378,7 +420,8 @@ public com.google.cloud.channel.v1.UpdateCustomerRequest build() {
 
     @java.lang.Override
     public com.google.cloud.channel.v1.UpdateCustomerRequest buildPartial() {
-      com.google.cloud.channel.v1.UpdateCustomerRequest result = new com.google.cloud.channel.v1.UpdateCustomerRequest(this);
+      com.google.cloud.channel.v1.UpdateCustomerRequest result =
+          new com.google.cloud.channel.v1.UpdateCustomerRequest(this);
       if (customerBuilder_ == null) {
         result.customer_ = customer_;
       } else {
@@ -397,38 +440,39 @@ public com.google.cloud.channel.v1.UpdateCustomerRequest 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.cloud.channel.v1.UpdateCustomerRequest) {
-        return mergeFrom((com.google.cloud.channel.v1.UpdateCustomerRequest)other);
+        return mergeFrom((com.google.cloud.channel.v1.UpdateCustomerRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -436,7 +480,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.channel.v1.UpdateCustomerRequest other) {
-      if (other == com.google.cloud.channel.v1.UpdateCustomerRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.channel.v1.UpdateCustomerRequest.getDefaultInstance())
+        return this;
       if (other.hasCustomer()) {
         mergeCustomer(other.getCustomer());
       }
@@ -469,26 +514,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18: {
-              input.readMessage(
-                  getCustomerFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 18:
+              {
+                input.readMessage(getCustomerFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -501,39 +545,58 @@ public Builder mergeFrom(
 
     private com.google.cloud.channel.v1.Customer customer_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.channel.v1.Customer, com.google.cloud.channel.v1.Customer.Builder, com.google.cloud.channel.v1.CustomerOrBuilder> customerBuilder_;
+            com.google.cloud.channel.v1.Customer,
+            com.google.cloud.channel.v1.Customer.Builder,
+            com.google.cloud.channel.v1.CustomerOrBuilder>
+        customerBuilder_;
     /**
+     *
+     *
      * 
      * Required. New contents of the customer.
      * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the customer field is set. */ public boolean hasCustomer() { return customerBuilder_ != null || customer_ != null; } /** + * + * *
      * Required. New contents of the customer.
      * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The customer. */ public com.google.cloud.channel.v1.Customer getCustomer() { if (customerBuilder_ == null) { - return customer_ == null ? com.google.cloud.channel.v1.Customer.getDefaultInstance() : customer_; + return customer_ == null + ? com.google.cloud.channel.v1.Customer.getDefaultInstance() + : customer_; } else { return customerBuilder_.getMessage(); } } /** + * + * *
      * Required. New contents of the customer.
      * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCustomer(com.google.cloud.channel.v1.Customer value) { if (customerBuilder_ == null) { @@ -549,14 +612,17 @@ public Builder setCustomer(com.google.cloud.channel.v1.Customer value) { return this; } /** + * + * *
      * Required. New contents of the customer.
      * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCustomer( - com.google.cloud.channel.v1.Customer.Builder builderForValue) { + public Builder setCustomer(com.google.cloud.channel.v1.Customer.Builder builderForValue) { if (customerBuilder_ == null) { customer_ = builderForValue.build(); onChanged(); @@ -567,17 +633,23 @@ public Builder setCustomer( return this; } /** + * + * *
      * Required. New contents of the customer.
      * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCustomer(com.google.cloud.channel.v1.Customer value) { if (customerBuilder_ == null) { if (customer_ != null) { customer_ = - com.google.cloud.channel.v1.Customer.newBuilder(customer_).mergeFrom(value).buildPartial(); + com.google.cloud.channel.v1.Customer.newBuilder(customer_) + .mergeFrom(value) + .buildPartial(); } else { customer_ = value; } @@ -589,11 +661,15 @@ public Builder mergeCustomer(com.google.cloud.channel.v1.Customer value) { return this; } /** + * + * *
      * Required. New contents of the customer.
      * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCustomer() { if (customerBuilder_ == null) { @@ -607,48 +683,64 @@ public Builder clearCustomer() { return this; } /** + * + * *
      * Required. New contents of the customer.
      * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.channel.v1.Customer.Builder getCustomerBuilder() { - + onChanged(); return getCustomerFieldBuilder().getBuilder(); } /** + * + * *
      * Required. New contents of the customer.
      * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.channel.v1.CustomerOrBuilder getCustomerOrBuilder() { if (customerBuilder_ != null) { return customerBuilder_.getMessageOrBuilder(); } else { - return customer_ == null ? - com.google.cloud.channel.v1.Customer.getDefaultInstance() : customer_; + return customer_ == null + ? com.google.cloud.channel.v1.Customer.getDefaultInstance() + : customer_; } } /** + * + * *
      * Required. New contents of the customer.
      * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Customer, com.google.cloud.channel.v1.Customer.Builder, com.google.cloud.channel.v1.CustomerOrBuilder> + com.google.cloud.channel.v1.Customer, + com.google.cloud.channel.v1.Customer.Builder, + com.google.cloud.channel.v1.CustomerOrBuilder> getCustomerFieldBuilder() { if (customerBuilder_ == null) { - customerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.channel.v1.Customer, com.google.cloud.channel.v1.Customer.Builder, com.google.cloud.channel.v1.CustomerOrBuilder>( - getCustomer(), - getParentForChildren(), - isClean()); + customerBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.channel.v1.Customer, + com.google.cloud.channel.v1.Customer.Builder, + com.google.cloud.channel.v1.CustomerOrBuilder>( + getCustomer(), getParentForChildren(), isClean()); customer_ = null; } return customerBuilder_; @@ -656,36 +748,49 @@ public com.google.cloud.channel.v1.CustomerOrBuilder getCustomerOrBuilder() { 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 update mask that applies to the resource.
      * Optional.
      * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * The update mask that applies to the resource.
      * Optional.
      * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @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 update mask that applies to the resource.
      * Optional.
@@ -707,6 +812,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask that applies to the resource.
      * Optional.
@@ -714,8 +821,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 3;
      */
-    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();
@@ -726,6 +832,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask that applies to the resource.
      * Optional.
@@ -737,7 +845,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;
         }
@@ -749,6 +857,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask that applies to the resource.
      * Optional.
@@ -768,6 +878,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask that applies to the resource.
      * Optional.
@@ -776,11 +888,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 3;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The update mask that applies to the resource.
      * Optional.
@@ -792,11 +906,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 update mask that applies to the resource.
      * Optional.
@@ -805,21 +922,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -829,12 +949,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.UpdateCustomerRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.UpdateCustomerRequest)
   private static final com.google.cloud.channel.v1.UpdateCustomerRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.channel.v1.UpdateCustomerRequest();
   }
@@ -843,27 +963,27 @@ public static com.google.cloud.channel.v1.UpdateCustomerRequest getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateCustomerRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateCustomerRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -878,6 +998,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.channel.v1.UpdateCustomerRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequestOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequestOrBuilder.java
similarity index 65%
rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequestOrBuilder.java
rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequestOrBuilder.java
index 6d17a436eb0a..1c029d1d5362 100644
--- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequestOrBuilder.java
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRequestOrBuilder.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/cloud/channel/v1/service.proto
 
 package com.google.cloud.channel.v1;
 
-public interface UpdateCustomerRequestOrBuilder extends
+public interface UpdateCustomerRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.UpdateCustomerRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. New contents of the customer.
    * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the customer field is set. */ boolean hasCustomer(); /** + * + * *
    * Required. New contents of the customer.
    * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The customer. */ com.google.cloud.channel.v1.Customer getCustomer(); /** + * + * *
    * Required. New contents of the customer.
    * 
* - * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.channel.v1.CustomerOrBuilder getCustomerOrBuilder(); /** + * + * *
    * The update mask that applies to the resource.
    * Optional.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The update mask that applies to the resource.
    * Optional.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * The update mask that applies to the resource.
    * Optional.
diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Value.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Value.java
similarity index 69%
rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Value.java
rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Value.java
index 9132a7092cea..37d7b1b27c09 100644
--- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Value.java
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/Value.java
@@ -1,56 +1,76 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/channel/v1/common.proto
 
 package com.google.cloud.channel.v1;
 
 /**
+ *
+ *
  * 
  * Data type and value of a parameter.
  * 
* * Protobuf type {@code google.cloud.channel.v1.Value} */ -public final class Value extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Value extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.channel.v1.Value) ValueOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Value.newBuilder() to construct. private Value(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Value() { - } + + private Value() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Value(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_Value_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.CommonProto + .internal_static_google_cloud_channel_v1_Value_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_Value_fieldAccessorTable + return com.google.cloud.channel.v1.CommonProto + .internal_static_google_cloud_channel_v1_Value_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Value.class, com.google.cloud.channel.v1.Value.Builder.class); + com.google.cloud.channel.v1.Value.class, + com.google.cloud.channel.v1.Value.Builder.class); } private int kindCase_ = 0; private java.lang.Object kind_; + public enum KindCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INT64_VALUE(1), STRING_VALUE(2), @@ -59,6 +79,7 @@ public enum KindCase BOOL_VALUE(5), KIND_NOT_SET(0); private final int value; + private KindCase(int value) { this.value = value; } @@ -74,33 +95,42 @@ public static KindCase valueOf(int value) { public static KindCase forNumber(int value) { switch (value) { - case 1: return INT64_VALUE; - case 2: return STRING_VALUE; - case 3: return DOUBLE_VALUE; - case 4: return PROTO_VALUE; - case 5: return BOOL_VALUE; - case 0: return KIND_NOT_SET; - default: return null; + case 1: + return INT64_VALUE; + case 2: + return STRING_VALUE; + case 3: + return DOUBLE_VALUE; + case 4: + return PROTO_VALUE; + case 5: + return BOOL_VALUE; + case 0: + return KIND_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public KindCase - getKindCase() { - return KindCase.forNumber( - kindCase_); + public KindCase getKindCase() { + return KindCase.forNumber(kindCase_); } public static final int INT64_VALUE_FIELD_NUMBER = 1; /** + * + * *
    * Represents an int64 value.
    * 
* * int64 int64_value = 1; + * * @return Whether the int64Value field is set. */ @java.lang.Override @@ -108,11 +138,14 @@ public boolean hasInt64Value() { return kindCase_ == 1; } /** + * + * *
    * Represents an int64 value.
    * 
* * int64 int64_value = 1; + * * @return The int64Value. */ @java.lang.Override @@ -125,22 +158,28 @@ public long getInt64Value() { public static final int STRING_VALUE_FIELD_NUMBER = 2; /** + * + * *
    * Represents a string value.
    * 
* * string string_value = 2; + * * @return Whether the stringValue field is set. */ public boolean hasStringValue() { return kindCase_ == 2; } /** + * + * *
    * Represents a string value.
    * 
* * string string_value = 2; + * * @return The stringValue. */ public java.lang.String getStringValue() { @@ -151,8 +190,7 @@ public java.lang.String getStringValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (kindCase_ == 2) { kind_ = s; @@ -161,23 +199,24 @@ public java.lang.String getStringValue() { } } /** + * + * *
    * Represents a string value.
    * 
* * string string_value = 2; + * * @return The bytes for stringValue. */ - public com.google.protobuf.ByteString - getStringValueBytes() { + public com.google.protobuf.ByteString getStringValueBytes() { java.lang.Object ref = ""; if (kindCase_ == 2) { ref = kind_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (kindCase_ == 2) { kind_ = b; } @@ -189,11 +228,14 @@ public java.lang.String getStringValue() { public static final int DOUBLE_VALUE_FIELD_NUMBER = 3; /** + * + * *
    * Represents a double value.
    * 
* * double double_value = 3; + * * @return Whether the doubleValue field is set. */ @java.lang.Override @@ -201,11 +243,14 @@ public boolean hasDoubleValue() { return kindCase_ == 3; } /** + * + * *
    * Represents a double value.
    * 
* * double double_value = 3; + * * @return The doubleValue. */ @java.lang.Override @@ -218,11 +263,14 @@ public double getDoubleValue() { public static final int PROTO_VALUE_FIELD_NUMBER = 4; /** + * + * *
    * Represents an 'Any' proto value.
    * 
* * .google.protobuf.Any proto_value = 4; + * * @return Whether the protoValue field is set. */ @java.lang.Override @@ -230,21 +278,26 @@ public boolean hasProtoValue() { return kindCase_ == 4; } /** + * + * *
    * Represents an 'Any' proto value.
    * 
* * .google.protobuf.Any proto_value = 4; + * * @return The protoValue. */ @java.lang.Override public com.google.protobuf.Any getProtoValue() { if (kindCase_ == 4) { - return (com.google.protobuf.Any) kind_; + return (com.google.protobuf.Any) kind_; } return com.google.protobuf.Any.getDefaultInstance(); } /** + * + * *
    * Represents an 'Any' proto value.
    * 
@@ -254,18 +307,21 @@ public com.google.protobuf.Any getProtoValue() { @java.lang.Override public com.google.protobuf.AnyOrBuilder getProtoValueOrBuilder() { if (kindCase_ == 4) { - return (com.google.protobuf.Any) kind_; + return (com.google.protobuf.Any) kind_; } return com.google.protobuf.Any.getDefaultInstance(); } public static final int BOOL_VALUE_FIELD_NUMBER = 5; /** + * + * *
    * Represents a boolean value.
    * 
* * bool bool_value = 5; + * * @return Whether the boolValue field is set. */ @java.lang.Override @@ -273,11 +329,14 @@ public boolean hasBoolValue() { return kindCase_ == 5; } /** + * + * *
    * Represents a boolean value.
    * 
* * bool bool_value = 5; + * * @return The boolValue. */ @java.lang.Override @@ -289,6 +348,7 @@ public boolean getBoolValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -300,25 +360,21 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (kindCase_ == 1) { - output.writeInt64( - 1, (long)((java.lang.Long) kind_)); + output.writeInt64(1, (long) ((java.lang.Long) kind_)); } if (kindCase_ == 2) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, kind_); } if (kindCase_ == 3) { - output.writeDouble( - 3, (double)((java.lang.Double) kind_)); + output.writeDouble(3, (double) ((java.lang.Double) kind_)); } if (kindCase_ == 4) { output.writeMessage(4, (com.google.protobuf.Any) kind_); } if (kindCase_ == 5) { - output.writeBool( - 5, (boolean)((java.lang.Boolean) kind_)); + output.writeBool(5, (boolean) ((java.lang.Boolean) kind_)); } getUnknownFields().writeTo(output); } @@ -330,26 +386,27 @@ public int getSerializedSize() { size = 0; if (kindCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size( - 1, (long)((java.lang.Long) kind_)); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 1, (long) ((java.lang.Long) kind_)); } if (kindCase_ == 2) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kind_); } if (kindCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize( - 3, (double)((java.lang.Double) kind_)); + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize( + 3, (double) ((java.lang.Double) kind_)); } if (kindCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.protobuf.Any) kind_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.protobuf.Any) kind_); } if (kindCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize( - 5, (boolean)((java.lang.Boolean) kind_)); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 5, (boolean) ((java.lang.Boolean) kind_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -359,7 +416,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.channel.v1.Value)) { return super.equals(obj); @@ -369,25 +426,20 @@ public boolean equals(final java.lang.Object obj) { if (!getKindCase().equals(other.getKindCase())) return false; switch (kindCase_) { case 1: - if (getInt64Value() - != other.getInt64Value()) return false; + if (getInt64Value() != other.getInt64Value()) return false; break; case 2: - if (!getStringValue() - .equals(other.getStringValue())) return false; + if (!getStringValue().equals(other.getStringValue())) return false; break; case 3: if (java.lang.Double.doubleToLongBits(getDoubleValue()) - != java.lang.Double.doubleToLongBits( - other.getDoubleValue())) return false; + != java.lang.Double.doubleToLongBits(other.getDoubleValue())) return false; break; case 4: - if (!getProtoValue() - .equals(other.getProtoValue())) return false; + if (!getProtoValue().equals(other.getProtoValue())) return false; break; case 5: - if (getBoolValue() - != other.getBoolValue()) return false; + if (getBoolValue() != other.getBoolValue()) return false; break; case 0: default: @@ -406,8 +458,7 @@ public int hashCode() { switch (kindCase_) { case 1: hash = (37 * hash) + INT64_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getInt64Value()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getInt64Value()); break; case 2: hash = (37 * hash) + STRING_VALUE_FIELD_NUMBER; @@ -415,8 +466,10 @@ public int hashCode() { break; case 3: hash = (37 * hash) + DOUBLE_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDoubleValue())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDoubleValue())); break; case 4: hash = (37 * hash) + PROTO_VALUE_FIELD_NUMBER; @@ -424,8 +477,7 @@ public int hashCode() { break; case 5: hash = (37 * hash) + BOOL_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getBoolValue()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBoolValue()); break; case 0: default: @@ -435,130 +487,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.channel.v1.Value parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.channel.v1.Value parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Value parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.channel.v1.Value parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.channel.v1.Value parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Value parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.Value parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.channel.v1.Value parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.channel.v1.Value 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.cloud.channel.v1.Value parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.Value parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.Value parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.channel.v1.Value parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.channel.v1.Value parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.channel.v1.Value prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Data type and value of a parameter.
    * 
* * Protobuf type {@code google.cloud.channel.v1.Value} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.channel.v1.Value) com.google.cloud.channel.v1.ValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_Value_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.channel.v1.CommonProto + .internal_static_google_cloud_channel_v1_Value_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_Value_fieldAccessorTable + return com.google.cloud.channel.v1.CommonProto + .internal_static_google_cloud_channel_v1_Value_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.channel.v1.Value.class, com.google.cloud.channel.v1.Value.Builder.class); + com.google.cloud.channel.v1.Value.class, + com.google.cloud.channel.v1.Value.Builder.class); } // Construct using com.google.cloud.channel.v1.Value.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -571,9 +628,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.channel.v1.CommonProto.internal_static_google_cloud_channel_v1_Value_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.channel.v1.CommonProto + .internal_static_google_cloud_channel_v1_Value_descriptor; } @java.lang.Override @@ -621,38 +678,39 @@ public com.google.cloud.channel.v1.Value 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.cloud.channel.v1.Value) { - return mergeFrom((com.google.cloud.channel.v1.Value)other); + return mergeFrom((com.google.cloud.channel.v1.Value) other); } else { super.mergeFrom(other); return this; @@ -662,31 +720,37 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.channel.v1.Value other) { if (other == com.google.cloud.channel.v1.Value.getDefaultInstance()) return this; switch (other.getKindCase()) { - case INT64_VALUE: { - setInt64Value(other.getInt64Value()); - break; - } - case STRING_VALUE: { - kindCase_ = 2; - kind_ = other.kind_; - onChanged(); - break; - } - case DOUBLE_VALUE: { - setDoubleValue(other.getDoubleValue()); - break; - } - case PROTO_VALUE: { - mergeProtoValue(other.getProtoValue()); - break; - } - case BOOL_VALUE: { - setBoolValue(other.getBoolValue()); - break; - } - case KIND_NOT_SET: { - break; - } + case INT64_VALUE: + { + setInt64Value(other.getInt64Value()); + break; + } + case STRING_VALUE: + { + kindCase_ = 2; + kind_ = other.kind_; + onChanged(); + break; + } + case DOUBLE_VALUE: + { + setDoubleValue(other.getDoubleValue()); + break; + } + case PROTO_VALUE: + { + mergeProtoValue(other.getProtoValue()); + break; + } + case BOOL_VALUE: + { + setBoolValue(other.getBoolValue()); + break; + } + case KIND_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -714,40 +778,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - kind_ = input.readInt64(); - kindCase_ = 1; - break; - } // case 8 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - kindCase_ = 2; - kind_ = s; - break; - } // case 18 - case 25: { - kind_ = input.readDouble(); - kindCase_ = 3; - break; - } // case 25 - case 34: { - input.readMessage( - getProtoValueFieldBuilder().getBuilder(), - extensionRegistry); - kindCase_ = 4; - break; - } // case 34 - case 40: { - kind_ = input.readBool(); - kindCase_ = 5; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + kind_ = input.readInt64(); + kindCase_ = 1; + break; + } // case 8 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + kindCase_ = 2; + kind_ = s; + break; + } // case 18 + case 25: + { + kind_ = input.readDouble(); + kindCase_ = 3; + break; + } // case 25 + case 34: + { + input.readMessage(getProtoValueFieldBuilder().getBuilder(), extensionRegistry); + kindCase_ = 4; + break; + } // case 34 + case 40: + { + kind_ = input.readBool(); + kindCase_ = 5; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -757,12 +825,12 @@ public Builder mergeFrom( } // finally return this; } + private int kindCase_ = 0; private java.lang.Object kind_; - public KindCase - getKindCase() { - return KindCase.forNumber( - kindCase_); + + public KindCase getKindCase() { + return KindCase.forNumber(kindCase_); } public Builder clearKind() { @@ -772,24 +840,29 @@ public Builder clearKind() { return this; } - /** + * + * *
      * Represents an int64 value.
      * 
* * int64 int64_value = 1; + * * @return Whether the int64Value field is set. */ public boolean hasInt64Value() { return kindCase_ == 1; } /** + * + * *
      * Represents an int64 value.
      * 
* * int64 int64_value = 1; + * * @return The int64Value. */ public long getInt64Value() { @@ -799,11 +872,14 @@ public long getInt64Value() { return 0L; } /** + * + * *
      * Represents an int64 value.
      * 
* * int64 int64_value = 1; + * * @param value The int64Value to set. * @return This builder for chaining. */ @@ -814,11 +890,14 @@ public Builder setInt64Value(long value) { return this; } /** + * + * *
      * Represents an int64 value.
      * 
* * int64 int64_value = 1; + * * @return This builder for chaining. */ public Builder clearInt64Value() { @@ -831,11 +910,14 @@ public Builder clearInt64Value() { } /** + * + * *
      * Represents a string value.
      * 
* * string string_value = 2; + * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -843,11 +925,14 @@ public boolean hasStringValue() { return kindCase_ == 2; } /** + * + * *
      * Represents a string value.
      * 
* * string string_value = 2; + * * @return The stringValue. */ @java.lang.Override @@ -857,8 +942,7 @@ public java.lang.String getStringValue() { ref = kind_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (kindCase_ == 2) { kind_ = s; @@ -869,24 +953,25 @@ public java.lang.String getStringValue() { } } /** + * + * *
      * Represents a string value.
      * 
* * string string_value = 2; + * * @return The bytes for stringValue. */ @java.lang.Override - public com.google.protobuf.ByteString - getStringValueBytes() { + public com.google.protobuf.ByteString getStringValueBytes() { java.lang.Object ref = ""; if (kindCase_ == 2) { ref = kind_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (kindCase_ == 2) { kind_ = b; } @@ -896,30 +981,35 @@ public java.lang.String getStringValue() { } } /** + * + * *
      * Represents a string value.
      * 
* * string string_value = 2; + * * @param value The stringValue to set. * @return This builder for chaining. */ - public Builder setStringValue( - java.lang.String value) { + public Builder setStringValue(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - kindCase_ = 2; + throw new NullPointerException(); + } + kindCase_ = 2; kind_ = value; onChanged(); return this; } /** + * + * *
      * Represents a string value.
      * 
* * string string_value = 2; + * * @return This builder for chaining. */ public Builder clearStringValue() { @@ -931,20 +1021,22 @@ public Builder clearStringValue() { return this; } /** + * + * *
      * Represents a string value.
      * 
* * string string_value = 2; + * * @param value The bytes for stringValue to set. * @return This builder for chaining. */ - public Builder setStringValueBytes( - com.google.protobuf.ByteString value) { + public Builder setStringValueBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); kindCase_ = 2; kind_ = value; onChanged(); @@ -952,22 +1044,28 @@ public Builder setStringValueBytes( } /** + * + * *
      * Represents a double value.
      * 
* * double double_value = 3; + * * @return Whether the doubleValue field is set. */ public boolean hasDoubleValue() { return kindCase_ == 3; } /** + * + * *
      * Represents a double value.
      * 
* * double double_value = 3; + * * @return The doubleValue. */ public double getDoubleValue() { @@ -977,11 +1075,14 @@ public double getDoubleValue() { return 0D; } /** + * + * *
      * Represents a double value.
      * 
* * double double_value = 3; + * * @param value The doubleValue to set. * @return This builder for chaining. */ @@ -992,11 +1093,14 @@ public Builder setDoubleValue(double value) { return this; } /** + * + * *
      * Represents a double value.
      * 
* * double double_value = 3; + * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -1009,13 +1113,19 @@ public Builder clearDoubleValue() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> protoValueBuilder_; + com.google.protobuf.Any, + com.google.protobuf.Any.Builder, + com.google.protobuf.AnyOrBuilder> + protoValueBuilder_; /** + * + * *
      * Represents an 'Any' proto value.
      * 
* * .google.protobuf.Any proto_value = 4; + * * @return Whether the protoValue field is set. */ @java.lang.Override @@ -1023,11 +1133,14 @@ public boolean hasProtoValue() { return kindCase_ == 4; } /** + * + * *
      * Represents an 'Any' proto value.
      * 
* * .google.protobuf.Any proto_value = 4; + * * @return The protoValue. */ @java.lang.Override @@ -1045,6 +1158,8 @@ public com.google.protobuf.Any getProtoValue() { } } /** + * + * *
      * Represents an 'Any' proto value.
      * 
@@ -1065,14 +1180,15 @@ public Builder setProtoValue(com.google.protobuf.Any value) { return this; } /** + * + * *
      * Represents an 'Any' proto value.
      * 
* * .google.protobuf.Any proto_value = 4; */ - public Builder setProtoValue( - com.google.protobuf.Any.Builder builderForValue) { + public Builder setProtoValue(com.google.protobuf.Any.Builder builderForValue) { if (protoValueBuilder_ == null) { kind_ = builderForValue.build(); onChanged(); @@ -1083,6 +1199,8 @@ public Builder setProtoValue( return this; } /** + * + * *
      * Represents an 'Any' proto value.
      * 
@@ -1091,10 +1209,11 @@ public Builder setProtoValue( */ public Builder mergeProtoValue(com.google.protobuf.Any value) { if (protoValueBuilder_ == null) { - if (kindCase_ == 4 && - kind_ != com.google.protobuf.Any.getDefaultInstance()) { - kind_ = com.google.protobuf.Any.newBuilder((com.google.protobuf.Any) kind_) - .mergeFrom(value).buildPartial(); + if (kindCase_ == 4 && kind_ != com.google.protobuf.Any.getDefaultInstance()) { + kind_ = + com.google.protobuf.Any.newBuilder((com.google.protobuf.Any) kind_) + .mergeFrom(value) + .buildPartial(); } else { kind_ = value; } @@ -1110,6 +1229,8 @@ public Builder mergeProtoValue(com.google.protobuf.Any value) { return this; } /** + * + * *
      * Represents an 'Any' proto value.
      * 
@@ -1133,6 +1254,8 @@ public Builder clearProtoValue() { return this; } /** + * + * *
      * Represents an 'Any' proto value.
      * 
@@ -1143,6 +1266,8 @@ public com.google.protobuf.Any.Builder getProtoValueBuilder() { return getProtoValueFieldBuilder().getBuilder(); } /** + * + * *
      * Represents an 'Any' proto value.
      * 
@@ -1161,6 +1286,8 @@ public com.google.protobuf.AnyOrBuilder getProtoValueOrBuilder() { } } /** + * + * *
      * Represents an 'Any' proto value.
      * 
@@ -1168,41 +1295,51 @@ public com.google.protobuf.AnyOrBuilder getProtoValueOrBuilder() { * .google.protobuf.Any proto_value = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> + com.google.protobuf.Any, + com.google.protobuf.Any.Builder, + com.google.protobuf.AnyOrBuilder> getProtoValueFieldBuilder() { if (protoValueBuilder_ == null) { if (!(kindCase_ == 4)) { kind_ = com.google.protobuf.Any.getDefaultInstance(); } - protoValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( - (com.google.protobuf.Any) kind_, - getParentForChildren(), - isClean()); + protoValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Any, + com.google.protobuf.Any.Builder, + com.google.protobuf.AnyOrBuilder>( + (com.google.protobuf.Any) kind_, getParentForChildren(), isClean()); kind_ = null; } kindCase_ = 4; - onChanged();; + onChanged(); + ; return protoValueBuilder_; } /** + * + * *
      * Represents a boolean value.
      * 
* * bool bool_value = 5; + * * @return Whether the boolValue field is set. */ public boolean hasBoolValue() { return kindCase_ == 5; } /** + * + * *
      * Represents a boolean value.
      * 
* * bool bool_value = 5; + * * @return The boolValue. */ public boolean getBoolValue() { @@ -1212,11 +1349,14 @@ public boolean getBoolValue() { return false; } /** + * + * *
      * Represents a boolean value.
      * 
* * bool bool_value = 5; + * * @param value The boolValue to set. * @return This builder for chaining. */ @@ -1227,11 +1367,14 @@ public Builder setBoolValue(boolean value) { return this; } /** + * + * *
      * Represents a boolean value.
      * 
* * bool bool_value = 5; + * * @return This builder for chaining. */ public Builder clearBoolValue() { @@ -1242,9 +1385,9 @@ public Builder clearBoolValue() { } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1254,12 +1397,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.channel.v1.Value) } // @@protoc_insertion_point(class_scope:google.cloud.channel.v1.Value) private static final com.google.cloud.channel.v1.Value DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.channel.v1.Value(); } @@ -1268,27 +1411,27 @@ public static com.google.cloud.channel.v1.Value getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Value parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Value parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1303,6 +1446,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.channel.v1.Value getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ValueOrBuilder.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ValueOrBuilder.java similarity index 74% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ValueOrBuilder.java rename to java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ValueOrBuilder.java index 8e43464306d6..1bd8eff1dc17 100644 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ValueOrBuilder.java +++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ValueOrBuilder.java @@ -1,98 +1,142 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/common.proto package com.google.cloud.channel.v1; -public interface ValueOrBuilder extends +public interface ValueOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Value) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Represents an int64 value.
    * 
* * int64 int64_value = 1; + * * @return Whether the int64Value field is set. */ boolean hasInt64Value(); /** + * + * *
    * Represents an int64 value.
    * 
* * int64 int64_value = 1; + * * @return The int64Value. */ long getInt64Value(); /** + * + * *
    * Represents a string value.
    * 
* * string string_value = 2; + * * @return Whether the stringValue field is set. */ boolean hasStringValue(); /** + * + * *
    * Represents a string value.
    * 
* * string string_value = 2; + * * @return The stringValue. */ java.lang.String getStringValue(); /** + * + * *
    * Represents a string value.
    * 
* * string string_value = 2; + * * @return The bytes for stringValue. */ - com.google.protobuf.ByteString - getStringValueBytes(); + com.google.protobuf.ByteString getStringValueBytes(); /** + * + * *
    * Represents a double value.
    * 
* * double double_value = 3; + * * @return Whether the doubleValue field is set. */ boolean hasDoubleValue(); /** + * + * *
    * Represents a double value.
    * 
* * double double_value = 3; + * * @return The doubleValue. */ double getDoubleValue(); /** + * + * *
    * Represents an 'Any' proto value.
    * 
* * .google.protobuf.Any proto_value = 4; + * * @return Whether the protoValue field is set. */ boolean hasProtoValue(); /** + * + * *
    * Represents an 'Any' proto value.
    * 
* * .google.protobuf.Any proto_value = 4; + * * @return The protoValue. */ com.google.protobuf.Any getProtoValue(); /** + * + * *
    * Represents an 'Any' proto value.
    * 
@@ -102,20 +146,26 @@ public interface ValueOrBuilder extends com.google.protobuf.AnyOrBuilder getProtoValueOrBuilder(); /** + * + * *
    * Represents a boolean value.
    * 
* * bool bool_value = 5; + * * @return Whether the boolValue field is set. */ boolean hasBoolValue(); /** + * + * *
    * Represents a boolean value.
    * 
* * bool bool_value = 5; + * * @return The boolValue. */ boolean getBoolValue(); diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/channel_partner_links.proto b/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/channel_partner_links.proto similarity index 100% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/channel_partner_links.proto rename to java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/channel_partner_links.proto diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/common.proto b/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/common.proto similarity index 100% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/common.proto rename to java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/common.proto diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/customers.proto b/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/customers.proto similarity index 100% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/customers.proto rename to java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/customers.proto diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/entitlements.proto b/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/entitlements.proto similarity index 100% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/entitlements.proto rename to java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/entitlements.proto diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/offers.proto b/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/offers.proto similarity index 100% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/offers.proto rename to java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/offers.proto diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/operations.proto b/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/operations.proto similarity index 100% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/operations.proto rename to java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/operations.proto diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/products.proto b/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/products.proto similarity index 100% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/products.proto rename to java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/products.proto diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/reports_service.proto b/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/reports_service.proto similarity index 100% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/reports_service.proto rename to java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/reports_service.proto diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/repricing.proto b/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/repricing.proto similarity index 100% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/repricing.proto rename to java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/repricing.proto diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/service.proto b/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/service.proto similarity index 100% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/service.proto rename to java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/service.proto diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/subscriber_event.proto b/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/subscriber_event.proto similarity index 100% rename from owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/subscriber_event.proto rename to java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/subscriber_event.proto diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/create/SyncCreateSetCredentialsProvider.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/create/SyncCreateSetCredentialsProvider.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/create/SyncCreateSetCredentialsProvider1.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/create/SyncCreateSetCredentialsProvider1.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/create/SyncCreateSetEndpoint.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/create/SyncCreateSetEndpoint.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/AsyncFetchReportResults.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/AsyncFetchReportResults.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/AsyncFetchReportResults.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/AsyncFetchReportResults.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/AsyncFetchReportResultsPaged.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/AsyncFetchReportResultsPaged.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/AsyncFetchReportResultsPaged.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/AsyncFetchReportResultsPaged.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/SyncFetchReportResults.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/SyncFetchReportResults.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/SyncFetchReportResults.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/SyncFetchReportResults.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/SyncFetchReportResultsReportjobname.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/SyncFetchReportResultsReportjobname.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/SyncFetchReportResultsReportjobname.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/SyncFetchReportResultsReportjobname.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/SyncFetchReportResultsString.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/SyncFetchReportResultsString.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/SyncFetchReportResultsString.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/fetchreportresults/SyncFetchReportResultsString.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/AsyncListReports.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/AsyncListReports.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/AsyncListReports.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/AsyncListReports.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/AsyncListReportsPaged.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/AsyncListReportsPaged.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/AsyncListReportsPaged.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/AsyncListReportsPaged.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/SyncListReports.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/SyncListReports.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/SyncListReports.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/SyncListReports.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/SyncListReportsString.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/SyncListReportsString.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/SyncListReportsString.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/listreports/SyncListReportsString.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/runreportjob/AsyncRunReportJob.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/runreportjob/AsyncRunReportJob.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/runreportjob/AsyncRunReportJob.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/runreportjob/AsyncRunReportJob.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/runreportjob/AsyncRunReportJobLRO.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/runreportjob/AsyncRunReportJobLRO.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/runreportjob/AsyncRunReportJobLRO.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/runreportjob/AsyncRunReportJobLRO.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/runreportjob/SyncRunReportJob.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/runreportjob/SyncRunReportJob.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/runreportjob/SyncRunReportJob.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservice/runreportjob/SyncRunReportJob.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservicesettings/runreportjob/SyncRunReportJob.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservicesettings/runreportjob/SyncRunReportJob.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservicesettings/runreportjob/SyncRunReportJob.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelreportsservicesettings/runreportjob/SyncRunReportJob.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/activateentitlement/AsyncActivateEntitlement.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/activateentitlement/AsyncActivateEntitlement.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/activateentitlement/AsyncActivateEntitlement.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/activateentitlement/AsyncActivateEntitlement.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/activateentitlement/AsyncActivateEntitlementLRO.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/activateentitlement/AsyncActivateEntitlementLRO.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/activateentitlement/AsyncActivateEntitlementLRO.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/activateentitlement/AsyncActivateEntitlementLRO.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/activateentitlement/SyncActivateEntitlement.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/activateentitlement/SyncActivateEntitlement.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/activateentitlement/SyncActivateEntitlement.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/activateentitlement/SyncActivateEntitlement.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/cancelentitlement/AsyncCancelEntitlement.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/cancelentitlement/AsyncCancelEntitlement.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/cancelentitlement/AsyncCancelEntitlement.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/cancelentitlement/AsyncCancelEntitlement.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/cancelentitlement/AsyncCancelEntitlementLRO.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/cancelentitlement/AsyncCancelEntitlementLRO.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/cancelentitlement/AsyncCancelEntitlementLRO.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/cancelentitlement/AsyncCancelEntitlementLRO.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/cancelentitlement/SyncCancelEntitlement.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/cancelentitlement/SyncCancelEntitlement.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/cancelentitlement/SyncCancelEntitlement.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/cancelentitlement/SyncCancelEntitlement.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeoffer/AsyncChangeOffer.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeoffer/AsyncChangeOffer.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeoffer/AsyncChangeOffer.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeoffer/AsyncChangeOffer.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeoffer/AsyncChangeOfferLRO.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeoffer/AsyncChangeOfferLRO.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeoffer/AsyncChangeOfferLRO.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeoffer/AsyncChangeOfferLRO.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeoffer/SyncChangeOffer.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeoffer/SyncChangeOffer.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeoffer/SyncChangeOffer.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeoffer/SyncChangeOffer.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeparameters/AsyncChangeParameters.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeparameters/AsyncChangeParameters.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeparameters/AsyncChangeParameters.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeparameters/AsyncChangeParameters.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeparameters/AsyncChangeParametersLRO.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeparameters/AsyncChangeParametersLRO.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeparameters/AsyncChangeParametersLRO.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeparameters/AsyncChangeParametersLRO.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeparameters/SyncChangeParameters.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeparameters/SyncChangeParameters.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeparameters/SyncChangeParameters.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changeparameters/SyncChangeParameters.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changerenewalsettings/AsyncChangeRenewalSettings.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changerenewalsettings/AsyncChangeRenewalSettings.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changerenewalsettings/AsyncChangeRenewalSettings.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changerenewalsettings/AsyncChangeRenewalSettings.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changerenewalsettings/AsyncChangeRenewalSettingsLRO.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changerenewalsettings/AsyncChangeRenewalSettingsLRO.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changerenewalsettings/AsyncChangeRenewalSettingsLRO.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changerenewalsettings/AsyncChangeRenewalSettingsLRO.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changerenewalsettings/SyncChangeRenewalSettings.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changerenewalsettings/SyncChangeRenewalSettings.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changerenewalsettings/SyncChangeRenewalSettings.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/changerenewalsettings/SyncChangeRenewalSettings.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/checkcloudidentityaccountsexist/AsyncCheckCloudIdentityAccountsExist.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/checkcloudidentityaccountsexist/AsyncCheckCloudIdentityAccountsExist.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/checkcloudidentityaccountsexist/AsyncCheckCloudIdentityAccountsExist.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/checkcloudidentityaccountsexist/AsyncCheckCloudIdentityAccountsExist.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/checkcloudidentityaccountsexist/SyncCheckCloudIdentityAccountsExist.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/checkcloudidentityaccountsexist/SyncCheckCloudIdentityAccountsExist.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/checkcloudidentityaccountsexist/SyncCheckCloudIdentityAccountsExist.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/checkcloudidentityaccountsexist/SyncCheckCloudIdentityAccountsExist.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/create/SyncCreateSetCredentialsProvider.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/create/SyncCreateSetCredentialsProvider.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/create/SyncCreateSetCredentialsProvider1.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/create/SyncCreateSetCredentialsProvider1.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/create/SyncCreateSetEndpoint.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/create/SyncCreateSetEndpoint.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerlink/AsyncCreateChannelPartnerLink.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerlink/AsyncCreateChannelPartnerLink.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerlink/AsyncCreateChannelPartnerLink.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerlink/AsyncCreateChannelPartnerLink.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerlink/SyncCreateChannelPartnerLink.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerlink/SyncCreateChannelPartnerLink.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerlink/SyncCreateChannelPartnerLink.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerlink/SyncCreateChannelPartnerLink.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/AsyncCreateChannelPartnerRepricingConfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/AsyncCreateChannelPartnerRepricingConfig.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/AsyncCreateChannelPartnerRepricingConfig.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/AsyncCreateChannelPartnerRepricingConfig.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfig.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfig.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfig.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigChannelpartnerlinknameChannelpartnerrepricingconfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigChannelpartnerlinknameChannelpartnerrepricingconfig.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigChannelpartnerlinknameChannelpartnerrepricingconfig.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigChannelpartnerlinknameChannelpartnerrepricingconfig.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigStringChannelpartnerrepricingconfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigStringChannelpartnerrepricingconfig.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigStringChannelpartnerrepricingconfig.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigStringChannelpartnerrepricingconfig.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomer/AsyncCreateCustomer.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomer/AsyncCreateCustomer.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomer/AsyncCreateCustomer.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomer/AsyncCreateCustomer.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomer/SyncCreateCustomer.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomer/SyncCreateCustomer.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomer/SyncCreateCustomer.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomer/SyncCreateCustomer.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/AsyncCreateCustomerRepricingConfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/AsyncCreateCustomerRepricingConfig.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/AsyncCreateCustomerRepricingConfig.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/AsyncCreateCustomerRepricingConfig.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfig.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfig.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfig.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigCustomernameCustomerrepricingconfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigCustomernameCustomerrepricingconfig.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigCustomernameCustomerrepricingconfig.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigCustomernameCustomerrepricingconfig.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigStringCustomerrepricingconfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigStringCustomerrepricingconfig.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigStringCustomerrepricingconfig.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigStringCustomerrepricingconfig.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createentitlement/AsyncCreateEntitlement.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createentitlement/AsyncCreateEntitlement.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createentitlement/AsyncCreateEntitlement.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createentitlement/AsyncCreateEntitlement.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createentitlement/AsyncCreateEntitlementLRO.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createentitlement/AsyncCreateEntitlementLRO.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createentitlement/AsyncCreateEntitlementLRO.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createentitlement/AsyncCreateEntitlementLRO.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createentitlement/SyncCreateEntitlement.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createentitlement/SyncCreateEntitlement.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createentitlement/SyncCreateEntitlement.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/createentitlement/SyncCreateEntitlement.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/AsyncDeleteChannelPartnerRepricingConfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/AsyncDeleteChannelPartnerRepricingConfig.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/AsyncDeleteChannelPartnerRepricingConfig.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/AsyncDeleteChannelPartnerRepricingConfig.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfig.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfig.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfig.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigString.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigString.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigString.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigString.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/AsyncDeleteCustomer.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/AsyncDeleteCustomer.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/AsyncDeleteCustomer.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/AsyncDeleteCustomer.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/SyncDeleteCustomer.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/SyncDeleteCustomer.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/SyncDeleteCustomer.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/SyncDeleteCustomer.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/SyncDeleteCustomerCustomername.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/SyncDeleteCustomerCustomername.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/SyncDeleteCustomerCustomername.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/SyncDeleteCustomerCustomername.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/SyncDeleteCustomerString.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/SyncDeleteCustomerString.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/SyncDeleteCustomerString.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomer/SyncDeleteCustomerString.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/AsyncDeleteCustomerRepricingConfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/AsyncDeleteCustomerRepricingConfig.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/AsyncDeleteCustomerRepricingConfig.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/AsyncDeleteCustomerRepricingConfig.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfig.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfig.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfig.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigCustomerrepricingconfigname.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigCustomerrepricingconfigname.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigCustomerrepricingconfigname.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigCustomerrepricingconfigname.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigString.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigString.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigString.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigString.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerlink/AsyncGetChannelPartnerLink.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerlink/AsyncGetChannelPartnerLink.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerlink/AsyncGetChannelPartnerLink.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerlink/AsyncGetChannelPartnerLink.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerlink/SyncGetChannelPartnerLink.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerlink/SyncGetChannelPartnerLink.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerlink/SyncGetChannelPartnerLink.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerlink/SyncGetChannelPartnerLink.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/AsyncGetChannelPartnerRepricingConfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/AsyncGetChannelPartnerRepricingConfig.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/AsyncGetChannelPartnerRepricingConfig.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/AsyncGetChannelPartnerRepricingConfig.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfig.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfig.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfig.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigString.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigString.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigString.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigString.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/AsyncGetCustomer.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/AsyncGetCustomer.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/AsyncGetCustomer.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/AsyncGetCustomer.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/SyncGetCustomer.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/SyncGetCustomer.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/SyncGetCustomer.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/SyncGetCustomer.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/SyncGetCustomerCustomername.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/SyncGetCustomerCustomername.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/SyncGetCustomerCustomername.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/SyncGetCustomerCustomername.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/SyncGetCustomerString.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/SyncGetCustomerString.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/SyncGetCustomerString.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomer/SyncGetCustomerString.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/AsyncGetCustomerRepricingConfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/AsyncGetCustomerRepricingConfig.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/AsyncGetCustomerRepricingConfig.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/AsyncGetCustomerRepricingConfig.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/SyncGetCustomerRepricingConfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/SyncGetCustomerRepricingConfig.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/SyncGetCustomerRepricingConfig.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/SyncGetCustomerRepricingConfig.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigCustomerrepricingconfigname.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigCustomerrepricingconfigname.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigCustomerrepricingconfigname.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigCustomerrepricingconfigname.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigString.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigString.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigString.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigString.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getentitlement/AsyncGetEntitlement.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getentitlement/AsyncGetEntitlement.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getentitlement/AsyncGetEntitlement.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getentitlement/AsyncGetEntitlement.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getentitlement/SyncGetEntitlement.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getentitlement/SyncGetEntitlement.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getentitlement/SyncGetEntitlement.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/getentitlement/SyncGetEntitlement.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/importcustomer/AsyncImportCustomer.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/importcustomer/AsyncImportCustomer.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/importcustomer/AsyncImportCustomer.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/importcustomer/AsyncImportCustomer.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/importcustomer/SyncImportCustomer.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/importcustomer/SyncImportCustomer.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/importcustomer/SyncImportCustomer.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/importcustomer/SyncImportCustomer.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerlinks/AsyncListChannelPartnerLinks.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerlinks/AsyncListChannelPartnerLinks.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerlinks/AsyncListChannelPartnerLinks.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerlinks/AsyncListChannelPartnerLinks.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerlinks/AsyncListChannelPartnerLinksPaged.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerlinks/AsyncListChannelPartnerLinksPaged.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerlinks/AsyncListChannelPartnerLinksPaged.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerlinks/AsyncListChannelPartnerLinksPaged.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerlinks/SyncListChannelPartnerLinks.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerlinks/SyncListChannelPartnerLinks.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerlinks/SyncListChannelPartnerLinks.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerlinks/SyncListChannelPartnerLinks.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigs.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigs.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigs.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigs.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigsPaged.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigsPaged.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigsPaged.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigsPaged.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigs.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigs.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigs.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigs.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsChannelpartnerlinkname.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsChannelpartnerlinkname.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsChannelpartnerlinkname.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsChannelpartnerlinkname.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsString.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsString.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsString.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsString.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigs.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigs.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigs.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigs.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigsPaged.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigsPaged.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigsPaged.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/AsyncListCustomerRepricingConfigsPaged.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigs.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigs.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigs.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigs.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsCustomername.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsCustomername.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsCustomername.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsCustomername.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsString.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsString.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsString.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsString.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomers/AsyncListCustomers.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomers/AsyncListCustomers.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomers/AsyncListCustomers.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomers/AsyncListCustomers.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomers/AsyncListCustomersPaged.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomers/AsyncListCustomersPaged.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomers/AsyncListCustomersPaged.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomers/AsyncListCustomersPaged.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomers/SyncListCustomers.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomers/SyncListCustomers.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomers/SyncListCustomers.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listcustomers/SyncListCustomers.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listentitlements/AsyncListEntitlements.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listentitlements/AsyncListEntitlements.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listentitlements/AsyncListEntitlements.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listentitlements/AsyncListEntitlements.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listentitlements/AsyncListEntitlementsPaged.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listentitlements/AsyncListEntitlementsPaged.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listentitlements/AsyncListEntitlementsPaged.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listentitlements/AsyncListEntitlementsPaged.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listentitlements/SyncListEntitlements.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listentitlements/SyncListEntitlements.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listentitlements/SyncListEntitlements.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listentitlements/SyncListEntitlements.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listoffers/AsyncListOffers.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listoffers/AsyncListOffers.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listoffers/AsyncListOffers.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listoffers/AsyncListOffers.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listoffers/AsyncListOffersPaged.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listoffers/AsyncListOffersPaged.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listoffers/AsyncListOffersPaged.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listoffers/AsyncListOffersPaged.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listoffers/SyncListOffers.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listoffers/SyncListOffers.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listoffers/SyncListOffers.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listoffers/SyncListOffers.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listproducts/AsyncListProducts.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listproducts/AsyncListProducts.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listproducts/AsyncListProducts.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listproducts/AsyncListProducts.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listproducts/AsyncListProductsPaged.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listproducts/AsyncListProductsPaged.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listproducts/AsyncListProductsPaged.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listproducts/AsyncListProductsPaged.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listproducts/SyncListProducts.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listproducts/SyncListProducts.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listproducts/SyncListProducts.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listproducts/SyncListProducts.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableoffers/AsyncListPurchasableOffers.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableoffers/AsyncListPurchasableOffers.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableoffers/AsyncListPurchasableOffers.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableoffers/AsyncListPurchasableOffers.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableoffers/AsyncListPurchasableOffersPaged.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableoffers/AsyncListPurchasableOffersPaged.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableoffers/AsyncListPurchasableOffersPaged.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableoffers/AsyncListPurchasableOffersPaged.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableoffers/SyncListPurchasableOffers.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableoffers/SyncListPurchasableOffers.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableoffers/SyncListPurchasableOffers.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableoffers/SyncListPurchasableOffers.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableskus/AsyncListPurchasableSkus.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableskus/AsyncListPurchasableSkus.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableskus/AsyncListPurchasableSkus.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableskus/AsyncListPurchasableSkus.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableskus/AsyncListPurchasableSkusPaged.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableskus/AsyncListPurchasableSkusPaged.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableskus/AsyncListPurchasableSkusPaged.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableskus/AsyncListPurchasableSkusPaged.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableskus/SyncListPurchasableSkus.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableskus/SyncListPurchasableSkus.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableskus/SyncListPurchasableSkus.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listpurchasableskus/SyncListPurchasableSkus.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listskus/AsyncListSkus.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listskus/AsyncListSkus.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listskus/AsyncListSkus.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listskus/AsyncListSkus.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listskus/AsyncListSkusPaged.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listskus/AsyncListSkusPaged.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listskus/AsyncListSkusPaged.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listskus/AsyncListSkusPaged.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listskus/SyncListSkus.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listskus/SyncListSkus.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listskus/SyncListSkus.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listskus/SyncListSkus.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listsubscribers/AsyncListSubscribers.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listsubscribers/AsyncListSubscribers.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listsubscribers/AsyncListSubscribers.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listsubscribers/AsyncListSubscribers.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listsubscribers/AsyncListSubscribersPaged.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listsubscribers/AsyncListSubscribersPaged.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listsubscribers/AsyncListSubscribersPaged.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listsubscribers/AsyncListSubscribersPaged.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listsubscribers/SyncListSubscribers.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listsubscribers/SyncListSubscribers.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listsubscribers/SyncListSubscribers.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listsubscribers/SyncListSubscribers.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableoffers/AsyncListTransferableOffers.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableoffers/AsyncListTransferableOffers.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableoffers/AsyncListTransferableOffers.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableoffers/AsyncListTransferableOffers.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableoffers/AsyncListTransferableOffersPaged.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableoffers/AsyncListTransferableOffersPaged.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableoffers/AsyncListTransferableOffersPaged.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableoffers/AsyncListTransferableOffersPaged.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableoffers/SyncListTransferableOffers.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableoffers/SyncListTransferableOffers.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableoffers/SyncListTransferableOffers.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableoffers/SyncListTransferableOffers.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableskus/AsyncListTransferableSkus.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableskus/AsyncListTransferableSkus.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableskus/AsyncListTransferableSkus.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableskus/AsyncListTransferableSkus.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableskus/AsyncListTransferableSkusPaged.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableskus/AsyncListTransferableSkusPaged.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableskus/AsyncListTransferableSkusPaged.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableskus/AsyncListTransferableSkusPaged.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableskus/SyncListTransferableSkus.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableskus/SyncListTransferableSkus.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableskus/SyncListTransferableSkus.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/listtransferableskus/SyncListTransferableSkus.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/lookupoffer/AsyncLookupOffer.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/lookupoffer/AsyncLookupOffer.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/lookupoffer/AsyncLookupOffer.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/lookupoffer/AsyncLookupOffer.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/lookupoffer/SyncLookupOffer.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/lookupoffer/SyncLookupOffer.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/lookupoffer/SyncLookupOffer.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/lookupoffer/SyncLookupOffer.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/provisioncloudidentity/AsyncProvisionCloudIdentity.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/provisioncloudidentity/AsyncProvisionCloudIdentity.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/provisioncloudidentity/AsyncProvisionCloudIdentity.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/provisioncloudidentity/AsyncProvisionCloudIdentity.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/provisioncloudidentity/AsyncProvisionCloudIdentityLRO.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/provisioncloudidentity/AsyncProvisionCloudIdentityLRO.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/provisioncloudidentity/AsyncProvisionCloudIdentityLRO.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/provisioncloudidentity/AsyncProvisionCloudIdentityLRO.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/provisioncloudidentity/SyncProvisionCloudIdentity.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/provisioncloudidentity/SyncProvisionCloudIdentity.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/provisioncloudidentity/SyncProvisionCloudIdentity.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/provisioncloudidentity/SyncProvisionCloudIdentity.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/registersubscriber/AsyncRegisterSubscriber.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/registersubscriber/AsyncRegisterSubscriber.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/registersubscriber/AsyncRegisterSubscriber.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/registersubscriber/AsyncRegisterSubscriber.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/registersubscriber/SyncRegisterSubscriber.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/registersubscriber/SyncRegisterSubscriber.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/registersubscriber/SyncRegisterSubscriber.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/registersubscriber/SyncRegisterSubscriber.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/startpaidservice/AsyncStartPaidService.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/startpaidservice/AsyncStartPaidService.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/startpaidservice/AsyncStartPaidService.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/startpaidservice/AsyncStartPaidService.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/startpaidservice/AsyncStartPaidServiceLRO.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/startpaidservice/AsyncStartPaidServiceLRO.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/startpaidservice/AsyncStartPaidServiceLRO.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/startpaidservice/AsyncStartPaidServiceLRO.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/startpaidservice/SyncStartPaidService.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/startpaidservice/SyncStartPaidService.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/startpaidservice/SyncStartPaidService.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/startpaidservice/SyncStartPaidService.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/suspendentitlement/AsyncSuspendEntitlement.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/suspendentitlement/AsyncSuspendEntitlement.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/suspendentitlement/AsyncSuspendEntitlement.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/suspendentitlement/AsyncSuspendEntitlement.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/suspendentitlement/AsyncSuspendEntitlementLRO.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/suspendentitlement/AsyncSuspendEntitlementLRO.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/suspendentitlement/AsyncSuspendEntitlementLRO.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/suspendentitlement/AsyncSuspendEntitlementLRO.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/suspendentitlement/SyncSuspendEntitlement.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/suspendentitlement/SyncSuspendEntitlement.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/suspendentitlement/SyncSuspendEntitlement.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/suspendentitlement/SyncSuspendEntitlement.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlements/AsyncTransferEntitlements.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlements/AsyncTransferEntitlements.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlements/AsyncTransferEntitlements.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlements/AsyncTransferEntitlements.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlements/AsyncTransferEntitlementsLRO.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlements/AsyncTransferEntitlementsLRO.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlements/AsyncTransferEntitlementsLRO.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlements/AsyncTransferEntitlementsLRO.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlements/SyncTransferEntitlements.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlements/SyncTransferEntitlements.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlements/SyncTransferEntitlements.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlements/SyncTransferEntitlements.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogle.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogle.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogle.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogle.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogleLRO.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogleLRO.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogleLRO.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlementstogoogle/AsyncTransferEntitlementsToGoogleLRO.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlementstogoogle/SyncTransferEntitlementsToGoogle.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlementstogoogle/SyncTransferEntitlementsToGoogle.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlementstogoogle/SyncTransferEntitlementsToGoogle.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/transferentitlementstogoogle/SyncTransferEntitlementsToGoogle.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/unregistersubscriber/AsyncUnregisterSubscriber.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/unregistersubscriber/AsyncUnregisterSubscriber.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/unregistersubscriber/AsyncUnregisterSubscriber.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/unregistersubscriber/AsyncUnregisterSubscriber.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/unregistersubscriber/SyncUnregisterSubscriber.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/unregistersubscriber/SyncUnregisterSubscriber.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/unregistersubscriber/SyncUnregisterSubscriber.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/unregistersubscriber/SyncUnregisterSubscriber.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerlink/AsyncUpdateChannelPartnerLink.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerlink/AsyncUpdateChannelPartnerLink.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerlink/AsyncUpdateChannelPartnerLink.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerlink/AsyncUpdateChannelPartnerLink.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerlink/SyncUpdateChannelPartnerLink.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerlink/SyncUpdateChannelPartnerLink.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerlink/SyncUpdateChannelPartnerLink.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerlink/SyncUpdateChannelPartnerLink.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerrepricingconfig/AsyncUpdateChannelPartnerRepricingConfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerrepricingconfig/AsyncUpdateChannelPartnerRepricingConfig.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerrepricingconfig/AsyncUpdateChannelPartnerRepricingConfig.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerrepricingconfig/AsyncUpdateChannelPartnerRepricingConfig.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfig.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfig.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfig.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfigChannelpartnerrepricingconfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfigChannelpartnerrepricingconfig.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfigChannelpartnerrepricingconfig.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfigChannelpartnerrepricingconfig.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomer/AsyncUpdateCustomer.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomer/AsyncUpdateCustomer.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomer/AsyncUpdateCustomer.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomer/AsyncUpdateCustomer.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomer/SyncUpdateCustomer.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomer/SyncUpdateCustomer.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomer/SyncUpdateCustomer.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomer/SyncUpdateCustomer.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomerrepricingconfig/AsyncUpdateCustomerRepricingConfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomerrepricingconfig/AsyncUpdateCustomerRepricingConfig.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomerrepricingconfig/AsyncUpdateCustomerRepricingConfig.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomerrepricingconfig/AsyncUpdateCustomerRepricingConfig.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfig.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfig.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfig.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfigCustomerrepricingconfig.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfigCustomerrepricingconfig.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfigCustomerrepricingconfig.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservice/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfigCustomerrepricingconfig.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservicesettings/getcustomer/SyncGetCustomer.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservicesettings/getcustomer/SyncGetCustomer.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservicesettings/getcustomer/SyncGetCustomer.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelservicesettings/getcustomer/SyncGetCustomer.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/stub/cloudchannelreportsservicestubsettings/runreportjob/SyncRunReportJob.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/stub/cloudchannelreportsservicestubsettings/runreportjob/SyncRunReportJob.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/stub/cloudchannelreportsservicestubsettings/runreportjob/SyncRunReportJob.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/stub/cloudchannelreportsservicestubsettings/runreportjob/SyncRunReportJob.java diff --git a/owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/stub/cloudchannelservicestubsettings/getcustomer/SyncGetCustomer.java b/java-channel/samples/snippets/generated/com/google/cloud/channel/v1/stub/cloudchannelservicestubsettings/getcustomer/SyncGetCustomer.java similarity index 100% rename from owl-bot-staging/java-channel/v1/samples/snippets/generated/com/google/cloud/channel/v1/stub/cloudchannelservicestubsettings/getcustomer/SyncGetCustomer.java rename to java-channel/samples/snippets/generated/com/google/cloud/channel/v1/stub/cloudchannelservicestubsettings/getcustomer/SyncGetCustomer.java diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinksProto.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinksProto.java deleted file mode 100644 index 9f20fa884724..000000000000 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinksProto.java +++ /dev/null @@ -1,86 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/channel/v1/channel_partner_links.proto - -package com.google.cloud.channel.v1; - -public final class ChannelPartnerLinksProto { - private ChannelPartnerLinksProto() {} - 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_cloud_channel_v1_ChannelPartnerLink_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ChannelPartnerLink_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n3google/cloud/channel/v1/channel_partne" + - "r_links.proto\022\027google.cloud.channel.v1\032\037" + - "google/api/field_behavior.proto\032\031google/" + - "api/resource.proto\032$google/cloud/channel" + - "/v1/common.proto\032\037google/protobuf/timest" + - "amp.proto\"\217\004\n\022ChannelPartnerLink\022\021\n\004name" + - "\030\001 \001(\tB\003\340A\003\022\'\n\032reseller_cloud_identity_i" + - "d\030\002 \001(\tB\003\340A\002\022I\n\nlink_state\030\003 \001(\01620.googl" + - "e.cloud.channel.v1.ChannelPartnerLinkSta" + - "teB\003\340A\002\022\034\n\017invite_link_uri\030\004 \001(\tB\003\340A\003\0224\n" + - "\013create_time\030\005 \001(\0132\032.google.protobuf.Tim" + - "estampB\003\340A\003\0224\n\013update_time\030\006 \001(\0132\032.googl" + - "e.protobuf.TimestampB\003\340A\003\022\026\n\tpublic_id\030\007" + - " \001(\tB\003\340A\003\022\\\n#channel_partner_cloud_ident" + - "ity_info\030\010 \001(\0132*.google.cloud.channel.v1" + - ".CloudIdentityInfoB\003\340A\003:r\352Ao\n.cloudchann" + - "el.googleapis.com/ChannelPartnerLink\022=ac" + - "counts/{account}/channelPartnerLinks/{ch" + - "annel_partner_link}*>\n\026ChannelPartnerLin" + - "kView\022\017\n\013UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FUL" + - "L\020\002*z\n\027ChannelPartnerLinkState\022*\n&CHANNE" + - "L_PARTNER_LINK_STATE_UNSPECIFIED\020\000\022\013\n\007IN" + - "VITED\020\001\022\n\n\006ACTIVE\020\002\022\013\n\007REVOKED\020\003\022\r\n\tSUSP" + - "ENDED\020\004By\n\033com.google.cloud.channel.v1B\030" + - "ChannelPartnerLinksProtoP\001Z>google.golan" + - "g.org/genproto/googleapis/cloud/channel/" + - "v1;channelb\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.cloud.channel.v1.CommonProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_channel_v1_ChannelPartnerLink_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_channel_v1_ChannelPartnerLink_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ChannelPartnerLink_descriptor, - new java.lang.String[] { "Name", "ResellerCloudIdentityId", "LinkState", "InviteLinkUri", "CreateTime", "UpdateTime", "PublicId", "ChannelPartnerCloudIdentityInfo", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.channel.v1.CommonProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponseOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponseOrBuilder.java deleted file mode 100644 index 0c40efe86a0c..000000000000 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CheckCloudIdentityAccountsExistResponseOrBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/channel/v1/service.proto - -package com.google.cloud.channel.v1; - -public interface CheckCloudIdentityAccountsExistResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The Cloud Identity accounts associated with the domain.
-   * 
- * - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - */ - java.util.List - getCloudIdentityAccountsList(); - /** - *
-   * The Cloud Identity accounts associated with the domain.
-   * 
- * - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - */ - com.google.cloud.channel.v1.CloudIdentityCustomerAccount getCloudIdentityAccounts(int index); - /** - *
-   * The Cloud Identity accounts associated with the domain.
-   * 
- * - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - */ - int getCloudIdentityAccountsCount(); - /** - *
-   * The Cloud Identity accounts associated with the domain.
-   * 
- * - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - */ - java.util.List - getCloudIdentityAccountsOrBuilderList(); - /** - *
-   * The Cloud Identity accounts associated with the domain.
-   * 
- * - * repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - */ - com.google.cloud.channel.v1.CloudIdentityCustomerAccountOrBuilder getCloudIdentityAccountsOrBuilder( - int index); -} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommonProto.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommonProto.java deleted file mode 100644 index d32b91cba1a5..000000000000 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommonProto.java +++ /dev/null @@ -1,120 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/channel/v1/common.proto - -package com.google.cloud.channel.v1; - -public final class CommonProto { - private CommonProto() {} - 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_cloud_channel_v1_EduData_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_EduData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_CloudIdentityInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_CloudIdentityInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_Value_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_Value_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_AdminUser_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_AdminUser_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/cloud/channel/v1/common.proto\022\027" + - "google.cloud.channel.v1\032\037google/api/fiel" + - "d_behavior.proto\032\031google/protobuf/any.pr" + - "oto\"\260\003\n\007EduData\022F\n\016institute_type\030\001 \001(\0162" + - "..google.cloud.channel.v1.EduData.Instit" + - "uteType\022F\n\016institute_size\030\002 \001(\0162..google" + - ".cloud.channel.v1.EduData.InstituteSize\022" + - "\017\n\007website\030\003 \001(\t\"H\n\rInstituteType\022\036\n\032INS" + - "TITUTE_TYPE_UNSPECIFIED\020\000\022\007\n\003K12\020\001\022\016\n\nUN" + - "IVERSITY\020\002\"\271\001\n\rInstituteSize\022\036\n\032INSTITUT" + - "E_SIZE_UNSPECIFIED\020\000\022\016\n\nSIZE_1_100\020\001\022\020\n\014" + - "SIZE_101_500\020\002\022\021\n\rSIZE_501_1000\020\003\022\022\n\016SIZ" + - "E_1001_2000\020\004\022\022\n\016SIZE_2001_5000\020\005\022\023\n\017SIZ" + - "E_5001_10000\020\006\022\026\n\022SIZE_10001_OR_MORE\020\007\"\200" + - "\003\n\021CloudIdentityInfo\022N\n\rcustomer_type\030\001 " + - "\001(\01627.google.cloud.channel.v1.CloudIdent" + - "ityInfo.CustomerType\022\033\n\016primary_domain\030\t" + - " \001(\tB\003\340A\003\022\037\n\022is_domain_verified\030\004 \001(\010B\003\340" + - "A\003\022\027\n\017alternate_email\030\006 \001(\t\022\024\n\014phone_num" + - "ber\030\007 \001(\t\022\025\n\rlanguage_code\030\010 \001(\t\022\036\n\021admi" + - "n_console_uri\030\n \001(\tB\003\340A\003\0222\n\010edu_data\030\026 \001" + - "(\0132 .google.cloud.channel.v1.EduData\"C\n\014" + - "CustomerType\022\035\n\031CUSTOMER_TYPE_UNSPECIFIE" + - "D\020\000\022\n\n\006DOMAIN\020\001\022\010\n\004TEAM\020\002\"\231\001\n\005Value\022\025\n\013i" + - "nt64_value\030\001 \001(\003H\000\022\026\n\014string_value\030\002 \001(\t" + - "H\000\022\026\n\014double_value\030\003 \001(\001H\000\022+\n\013proto_valu" + - "e\030\004 \001(\0132\024.google.protobuf.AnyH\000\022\024\n\nbool_" + - "value\030\005 \001(\010H\000B\006\n\004kind\"C\n\tAdminUser\022\r\n\005em" + - "ail\030\001 \001(\t\022\022\n\ngiven_name\030\002 \001(\t\022\023\n\013family_" + - "name\030\003 \001(\tBl\n\033com.google.cloud.channel.v" + - "1B\013CommonProtoP\001Z>google.golang.org/genp" + - "roto/googleapis/cloud/channel/v1;channel" + - "b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.protobuf.AnyProto.getDescriptor(), - }); - internal_static_google_cloud_channel_v1_EduData_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_channel_v1_EduData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_EduData_descriptor, - new java.lang.String[] { "InstituteType", "InstituteSize", "Website", }); - internal_static_google_cloud_channel_v1_CloudIdentityInfo_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_channel_v1_CloudIdentityInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_CloudIdentityInfo_descriptor, - new java.lang.String[] { "CustomerType", "PrimaryDomain", "IsDomainVerified", "AlternateEmail", "PhoneNumber", "LanguageCode", "AdminConsoleUri", "EduData", }); - internal_static_google_cloud_channel_v1_Value_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_channel_v1_Value_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_Value_descriptor, - new java.lang.String[] { "Int64Value", "StringValue", "DoubleValue", "ProtoValue", "BoolValue", "Kind", }); - internal_static_google_cloud_channel_v1_AdminUser_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_channel_v1_AdminUser_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_AdminUser_descriptor, - new java.lang.String[] { "Email", "GivenName", "FamilyName", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.protobuf.AnyProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequestOrBuilder.java deleted file mode 100644 index af9038f93bef..000000000000 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CreateCustomerRepricingConfigRequestOrBuilder.java +++ /dev/null @@ -1,60 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/channel/v1/service.proto - -package com.google.cloud.channel.v1; - -public interface CreateCustomerRepricingConfigRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CreateCustomerRepricingConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the customer that will receive this
-   * repricing config. Parent uses the format:
-   * accounts/{account_id}/customers/{customer_id}
-   * 
- * - * 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 customer that will receive this
-   * repricing config. Parent uses the format:
-   * accounts/{account_id}/customers/{customer_id}
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for parent. - */ - com.google.protobuf.ByteString - getParentBytes(); - - /** - *
-   * Required. The CustomerRepricingConfig object to update.
-   * 
- * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the customerRepricingConfig field is set. - */ - boolean hasCustomerRepricingConfig(); - /** - *
-   * Required. The CustomerRepricingConfig object to update.
-   * 
- * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The customerRepricingConfig. - */ - com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingConfig(); - /** - *
-   * Required. The CustomerRepricingConfig object to update.
-   * 
- * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder getCustomerRepricingConfigOrBuilder(); -} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomersProto.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomersProto.java deleted file mode 100644 index dab07b01e16f..000000000000 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomersProto.java +++ /dev/null @@ -1,99 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/channel/v1/customers.proto - -package com.google.cloud.channel.v1; - -public final class CustomersProto { - private CustomersProto() {} - 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_cloud_channel_v1_Customer_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_Customer_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ContactInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ContactInfo_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/cloud/channel/v1/customers.prot" + - "o\022\027google.cloud.channel.v1\032\037google/api/f" + - "ield_behavior.proto\032\031google/api/resource" + - ".proto\032$google/cloud/channel/v1/common.p" + - "roto\032\037google/protobuf/timestamp.proto\032 g" + - "oogle/type/postal_address.proto\"\321\004\n\010Cust" + - "omer\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\035\n\020org_display_n" + - "ame\030\002 \001(\tB\003\340A\002\022;\n\022org_postal_address\030\003 \001" + - "(\0132\032.google.type.PostalAddressB\003\340A\002\022B\n\024p" + - "rimary_contact_info\030\004 \001(\0132$.google.cloud" + - ".channel.v1.ContactInfo\022\027\n\017alternate_ema" + - "il\030\005 \001(\t\022\023\n\006domain\030\006 \001(\tB\003\340A\002\0224\n\013create_" + - "time\030\007 \001(\0132\032.google.protobuf.TimestampB\003" + - "\340A\003\0224\n\013update_time\030\010 \001(\0132\032.google.protob" + - "uf.TimestampB\003\340A\003\022\036\n\021cloud_identity_id\030\t" + - " \001(\tB\003\340A\003\022\032\n\rlanguage_code\030\n \001(\tB\003\340A\001\022L\n" + - "\023cloud_identity_info\030\014 \001(\0132*.google.clou" + - "d.channel.v1.CloudIdentityInfoB\003\340A\003\022\032\n\022c" + - "hannel_partner_id\030\r \001(\t:R\352AO\n$cloudchann" + - "el.googleapis.com/Customer\022\'accounts/{ac" + - "count}/customers/{customer}\"\201\001\n\013ContactI" + - "nfo\022\022\n\nfirst_name\030\001 \001(\t\022\021\n\tlast_name\030\002 \001" + - "(\t\022\031\n\014display_name\030\004 \001(\tB\003\340A\003\022\r\n\005email\030\005" + - " \001(\t\022\022\n\005title\030\006 \001(\tB\003\340A\001\022\r\n\005phone\030\007 \001(\tB" + - "o\n\033com.google.cloud.channel.v1B\016Customer" + - "sProtoP\001Z>google.golang.org/genproto/goo" + - "gleapis/cloud/channel/v1;channelb\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.cloud.channel.v1.CommonProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.type.PostalAddressProto.getDescriptor(), - }); - internal_static_google_cloud_channel_v1_Customer_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_channel_v1_Customer_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_Customer_descriptor, - new java.lang.String[] { "Name", "OrgDisplayName", "OrgPostalAddress", "PrimaryContactInfo", "AlternateEmail", "Domain", "CreateTime", "UpdateTime", "CloudIdentityId", "LanguageCode", "CloudIdentityInfo", "ChannelPartnerId", }); - internal_static_google_cloud_channel_v1_ContactInfo_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_channel_v1_ContactInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ContactInfo_descriptor, - new java.lang.String[] { "FirstName", "LastName", "DisplayName", "Email", "Title", "Phone", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.channel.v1.CommonProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.type.PostalAddressProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequestOrBuilder.java deleted file mode 100644 index c4dbc4d3f671..000000000000 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteChannelPartnerRepricingConfigRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/channel/v1/service.proto - -package com.google.cloud.channel.v1; - -public interface DeleteChannelPartnerRepricingConfigRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the channel partner repricing config rule to
-   * delete.
-   * 
- * - * 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 channel partner repricing config rule to
-   * delete.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequestOrBuilder.java deleted file mode 100644 index d92405bdd5d8..000000000000 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRepricingConfigRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/channel/v1/service.proto - -package com.google.cloud.channel.v1; - -public interface DeleteCustomerRepricingConfigRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the customer repricing config rule to
-   * delete. Format:
-   * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
-   * 
- * - * 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 customer repricing config rule to
-   * delete. Format:
-   * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequestOrBuilder.java deleted file mode 100644 index a7b6bdb9db4c..000000000000 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/DeleteCustomerRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/channel/v1/service.proto - -package com.google.cloud.channel.v1; - -public interface DeleteCustomerRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.DeleteCustomerRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the customer to delete.
-   * 
- * - * 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 customer to delete.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java deleted file mode 100644 index 97c98cfc12aa..000000000000 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java +++ /dev/null @@ -1,220 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/channel/v1/entitlements.proto - -package com.google.cloud.channel.v1; - -public final class EntitlementsProto { - private EntitlementsProto() {} - 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_cloud_channel_v1_Entitlement_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_Entitlement_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_Parameter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_Parameter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_AssociationInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_AssociationInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ProvisionedService_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ProvisionedService_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_CommitmentSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_CommitmentSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_RenewalSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_RenewalSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_TrialSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_TrialSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_TransferableSku_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_TransferableSku_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_TransferEligibility_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_TransferEligibility_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/cloud/channel/v1/entitlements.p" + - "roto\022\027google.cloud.channel.v1\032\037google/ap" + - "i/field_behavior.proto\032\031google/api/resou" + - "rce.proto\032$google/cloud/channel/v1/commo" + - "n.proto\032$google/cloud/channel/v1/offers." + - "proto\032&google/cloud/channel/v1/products." + - "proto\032\037google/protobuf/timestamp.proto\"\335" + - "\010\n\013Entitlement\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013cre" + - "ate_time\030\005 \001(\0132\032.google.protobuf.Timesta" + - "mpB\003\340A\003\0224\n\013update_time\030\006 \001(\0132\032.google.pr" + - "otobuf.TimestampB\003\340A\003\0228\n\005offer\030\010 \001(\tB)\340A" + - "\002\372A#\n!cloudchannel.googleapis.com/Offer\022" + - "H\n\023commitment_settings\030\014 \001(\0132+.google.cl" + - "oud.channel.v1.CommitmentSettings\022W\n\022pro" + - "visioning_state\030\r \001(\01626.google.cloud.cha" + - "nnel.v1.Entitlement.ProvisioningStateB\003\340" + - "A\003\022M\n\023provisioned_service\030\020 \001(\0132+.google" + - ".cloud.channel.v1.ProvisionedServiceB\003\340A" + - "\003\022V\n\022suspension_reasons\030\022 \003(\01625.google.c" + - "loud.channel.v1.Entitlement.SuspensionRe" + - "asonB\003\340A\003\022\036\n\021purchase_order_id\030\023 \001(\tB\003\340A" + - "\001\022C\n\016trial_settings\030\025 \001(\0132&.google.cloud" + - ".channel.v1.TrialSettingsB\003\340A\003\022B\n\020associ" + - "ation_info\030\027 \001(\0132(.google.cloud.channel." + - "v1.AssociationInfo\0226\n\nparameters\030\032 \003(\0132\"" + - ".google.cloud.channel.v1.Parameter\"R\n\021Pr" + - "ovisioningState\022\"\n\036PROVISIONING_STATE_UN" + - "SPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\r\n\tSUSPENDED\020\005\"\243" + - "\001\n\020SuspensionReason\022!\n\035SUSPENSION_REASON" + - "_UNSPECIFIED\020\000\022\026\n\022RESELLER_INITIATED\020\001\022\017" + - "\n\013TRIAL_ENDED\020\002\022\034\n\030RENEWAL_WITH_TYPE_CAN" + - "CEL\020\003\022\032\n\026PENDING_TOS_ACCEPTANCE\020\004\022\t\n\005OTH" + - "ER\020d:p\352Am\n\'cloudchannel.googleapis.com/E" + - "ntitlement\022Baccounts/{account}/customers" + - "/{customer}/entitlements/{entitlement}\"_" + - "\n\tParameter\022\014\n\004name\030\001 \001(\t\022-\n\005value\030\002 \001(\013" + - "2\036.google.cloud.channel.v1.Value\022\025\n\010edit" + - "able\030\003 \001(\010B\003\340A\003\"Y\n\017AssociationInfo\022F\n\020ba" + - "se_entitlement\030\001 \001(\tB,\372A)\n\'cloudchannel." + - "googleapis.com/Entitlement\"`\n\022Provisione" + - "dService\022\034\n\017provisioning_id\030\001 \001(\tB\003\340A\003\022\027" + - "\n\nproduct_id\030\002 \001(\tB\003\340A\003\022\023\n\006sku_id\030\003 \001(\tB" + - "\003\340A\003\"\305\001\n\022CommitmentSettings\0223\n\nstart_tim" + - "e\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + - "\0221\n\010end_time\030\002 \001(\0132\032.google.protobuf.Tim" + - "estampB\003\340A\003\022G\n\020renewal_settings\030\004 \001(\0132(." + - "google.cloud.channel.v1.RenewalSettingsB" + - "\003\340A\001\"\270\001\n\017RenewalSettings\022\026\n\016enable_renew" + - "al\030\001 \001(\010\022\031\n\021resize_unit_count\030\002 \001(\010\022:\n\014p" + - "ayment_plan\030\005 \001(\0162$.google.cloud.channel" + - ".v1.PaymentPlan\0226\n\rpayment_cycle\030\006 \001(\0132\037" + - ".google.cloud.channel.v1.Period\"L\n\rTrial" + - "Settings\022\r\n\005trial\030\001 \001(\010\022,\n\010end_time\030\002 \001(" + - "\0132\032.google.protobuf.Timestamp\"\277\001\n\017Transf" + - "erableSku\022J\n\024transfer_eligibility\030\t \001(\0132" + - ",.google.cloud.channel.v1.TransferEligib" + - "ility\022)\n\003sku\030\013 \001(\0132\034.google.cloud.channe" + - "l.v1.Sku\0225\n\nlegacy_sku\030\014 \001(\0132\034.google.cl" + - "oud.channel.v1.SkuB\003\340A\001\"\371\001\n\023TransferElig" + - "ibility\022\023\n\013is_eligible\030\001 \001(\010\022\023\n\013descript" + - "ion\030\002 \001(\t\022Q\n\024ineligibility_reason\030\003 \001(\0162" + - "3.google.cloud.channel.v1.TransferEligib" + - "ility.Reason\"e\n\006Reason\022\026\n\022REASON_UNSPECI" + - "FIED\020\000\022\032\n\026PENDING_TOS_ACCEPTANCE\020\001\022\024\n\020SK" + - "U_NOT_ELIGIBLE\020\002\022\021\n\rSKU_SUSPENDED\020\003Br\n\033c" + - "om.google.cloud.channel.v1B\021Entitlements" + - "ProtoP\001Z>google.golang.org/genproto/goog" + - "leapis/cloud/channel/v1;channelb\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.cloud.channel.v1.CommonProto.getDescriptor(), - com.google.cloud.channel.v1.OffersProto.getDescriptor(), - com.google.cloud.channel.v1.ProductsProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_channel_v1_Entitlement_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_channel_v1_Entitlement_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_Entitlement_descriptor, - new java.lang.String[] { "Name", "CreateTime", "UpdateTime", "Offer", "CommitmentSettings", "ProvisioningState", "ProvisionedService", "SuspensionReasons", "PurchaseOrderId", "TrialSettings", "AssociationInfo", "Parameters", }); - internal_static_google_cloud_channel_v1_Parameter_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_channel_v1_Parameter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_Parameter_descriptor, - new java.lang.String[] { "Name", "Value", "Editable", }); - internal_static_google_cloud_channel_v1_AssociationInfo_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_channel_v1_AssociationInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_AssociationInfo_descriptor, - new java.lang.String[] { "BaseEntitlement", }); - internal_static_google_cloud_channel_v1_ProvisionedService_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_channel_v1_ProvisionedService_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ProvisionedService_descriptor, - new java.lang.String[] { "ProvisioningId", "ProductId", "SkuId", }); - internal_static_google_cloud_channel_v1_CommitmentSettings_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_channel_v1_CommitmentSettings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_CommitmentSettings_descriptor, - new java.lang.String[] { "StartTime", "EndTime", "RenewalSettings", }); - internal_static_google_cloud_channel_v1_RenewalSettings_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_channel_v1_RenewalSettings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_RenewalSettings_descriptor, - new java.lang.String[] { "EnableRenewal", "ResizeUnitCount", "PaymentPlan", "PaymentCycle", }); - internal_static_google_cloud_channel_v1_TrialSettings_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_channel_v1_TrialSettings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_TrialSettings_descriptor, - new java.lang.String[] { "Trial", "EndTime", }); - internal_static_google_cloud_channel_v1_TransferableSku_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_channel_v1_TransferableSku_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_TransferableSku_descriptor, - new java.lang.String[] { "TransferEligibility", "Sku", "LegacySku", }); - internal_static_google_cloud_channel_v1_TransferEligibility_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_channel_v1_TransferEligibility_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_TransferEligibility_descriptor, - new java.lang.String[] { "IsEligible", "Description", "IneligibilityReason", }); - 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.cloud.channel.v1.CommonProto.getDescriptor(); - com.google.cloud.channel.v1.OffersProto.getDescriptor(); - com.google.cloud.channel.v1.ProductsProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequestOrBuilder.java deleted file mode 100644 index b170d7653eeb..000000000000 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetChannelPartnerRepricingConfigRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/channel/v1/service.proto - -package com.google.cloud.channel.v1; - -public interface GetChannelPartnerRepricingConfigRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the ChannelPartnerRepricingConfig
-   * Format:
-   * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}.
-   * 
- * - * 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 ChannelPartnerRepricingConfig
-   * Format:
-   * accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequestOrBuilder.java deleted file mode 100644 index 44e5ca26711a..000000000000 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRepricingConfigRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/channel/v1/service.proto - -package com.google.cloud.channel.v1; - -public interface GetCustomerRepricingConfigRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.GetCustomerRepricingConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the CustomerRepricingConfig.
-   * Format:
-   * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
-   * 
- * - * 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 CustomerRepricingConfig.
-   * Format:
-   * accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequestOrBuilder.java deleted file mode 100644 index cc717e8fc794..000000000000 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetCustomerRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/channel/v1/service.proto - -package com.google.cloud.channel.v1; - -public interface GetCustomerRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.GetCustomerRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the customer to retrieve.
-   * Name uses the format: accounts/{account_id}/customers/{customer_id}
-   * 
- * - * 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 customer to retrieve.
-   * Name uses the format: accounts/{account_id}/customers/{customer_id}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequestOrBuilder.java deleted file mode 100644 index deac0b563779..000000000000 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/GetEntitlementRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/channel/v1/service.proto - -package com.google.cloud.channel.v1; - -public interface GetEntitlementRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.GetEntitlementRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the entitlement to retrieve.
-   * Name uses the format:
-   * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
-   * 
- * - * 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 entitlement to retrieve.
-   * Name uses the format:
-   * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequestOrBuilder.java deleted file mode 100644 index 09154c389a75..000000000000 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/LookupOfferRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/channel/v1/service.proto - -package com.google.cloud.channel.v1; - -public interface LookupOfferRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.LookupOfferRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the entitlement to retrieve the Offer.
-   * Entitlement uses the format:
-   * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
-   * 
- * - * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The entitlement. - */ - java.lang.String getEntitlement(); - /** - *
-   * Required. The resource name of the entitlement to retrieve the Offer.
-   * Entitlement uses the format:
-   * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
-   * 
- * - * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for entitlement. - */ - com.google.protobuf.ByteString - getEntitlementBytes(); -} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java deleted file mode 100644 index 38e55111dc12..000000000000 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java +++ /dev/null @@ -1,241 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/channel/v1/offers.proto - -package com.google.cloud.channel.v1; - -public final class OffersProto { - private OffersProto() {} - 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_cloud_channel_v1_Offer_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_Offer_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ParameterDefinition_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ParameterDefinition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_Constraints_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_Constraints_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_CustomerConstraints_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_CustomerConstraints_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_Plan_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_Plan_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_PriceByResource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_PriceByResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_Price_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_Price_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_PricePhase_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_PricePhase_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_PriceTier_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_PriceTier_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_Period_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_Period_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/cloud/channel/v1/offers.proto\022\027" + - "google.cloud.channel.v1\032\037google/api/fiel" + - "d_behavior.proto\032\031google/api/resource.pr" + - "oto\032$google/cloud/channel/v1/common.prot" + - "o\032&google/cloud/channel/v1/products.prot" + - "o\032\037google/protobuf/timestamp.proto\032\027goog" + - "le/type/money.proto\"\274\004\n\005Offer\022\014\n\004name\030\001 " + - "\001(\t\022>\n\016marketing_info\030\002 \001(\0132&.google.clo" + - "ud.channel.v1.MarketingInfo\022)\n\003sku\030\003 \001(\013" + - "2\034.google.cloud.channel.v1.Sku\022+\n\004plan\030\004" + - " \001(\0132\035.google.cloud.channel.v1.Plan\0229\n\013c" + - "onstraints\030\005 \001(\0132$.google.cloud.channel." + - "v1.Constraints\022D\n\022price_by_resources\030\006 \003" + - "(\0132(.google.cloud.channel.v1.PriceByReso" + - "urce\022.\n\nstart_time\030\007 \001(\0132\032.google.protob" + - "uf.Timestamp\0221\n\010end_time\030\010 \001(\0132\032.google." + - "protobuf.TimestampB\003\340A\003\022K\n\025parameter_def" + - "initions\030\t \003(\0132,.google.cloud.channel.v1" + - ".ParameterDefinition\022\021\n\tdeal_code\030\014 \001(\t:" + - "I\352AF\n!cloudchannel.googleapis.com/Offer\022" + - "!accounts/{account}/offers/{offer}\"\373\002\n\023P" + - "arameterDefinition\022\014\n\004name\030\001 \001(\t\022R\n\016para" + - "meter_type\030\002 \001(\0162:.google.cloud.channel." + - "v1.ParameterDefinition.ParameterType\0221\n\t" + - "min_value\030\003 \001(\0132\036.google.cloud.channel.v" + - "1.Value\0221\n\tmax_value\030\004 \001(\0132\036.google.clou" + - "d.channel.v1.Value\0226\n\016allowed_values\030\005 \003" + - "(\0132\036.google.cloud.channel.v1.Value\022\020\n\010op" + - "tional\030\006 \001(\010\"R\n\rParameterType\022\036\n\032PARAMET" + - "ER_TYPE_UNSPECIFIED\020\000\022\t\n\005INT64\020\001\022\n\n\006STRI" + - "NG\020\002\022\n\n\006DOUBLE\020\003\"Y\n\013Constraints\022J\n\024custo" + - "mer_constraints\030\001 \001(\0132,.google.cloud.cha" + - "nnel.v1.CustomerConstraints\"\327\001\n\023Customer" + - "Constraints\022\027\n\017allowed_regions\030\001 \003(\t\022W\n\026" + - "allowed_customer_types\030\002 \003(\01627.google.cl" + - "oud.channel.v1.CloudIdentityInfo.Custome" + - "rType\022N\n\027promotional_order_types\030\003 \003(\0162-" + - ".google.cloud.channel.v1.PromotionalOrde" + - "rType\"\206\002\n\004Plan\022:\n\014payment_plan\030\001 \001(\0162$.g" + - "oogle.cloud.channel.v1.PaymentPlan\022:\n\014pa" + - "yment_type\030\002 \001(\0162$.google.cloud.channel." + - "v1.PaymentType\0226\n\rpayment_cycle\030\003 \001(\0132\037." + - "google.cloud.channel.v1.Period\0225\n\014trial_" + - "period\030\004 \001(\0132\037.google.cloud.channel.v1.P" + - "eriod\022\027\n\017billing_account\030\005 \001(\t\"\271\001\n\017Price" + - "ByResource\022<\n\rresource_type\030\001 \001(\0162%.goog" + - "le.cloud.channel.v1.ResourceType\022-\n\005pric" + - "e\030\002 \001(\0132\036.google.cloud.channel.v1.Price\022" + - "9\n\014price_phases\030\003 \003(\0132#.google.cloud.cha" + - "nnel.v1.PricePhase\"\212\001\n\005Price\022&\n\nbase_pri" + - "ce\030\001 \001(\0132\022.google.type.Money\022\020\n\010discount" + - "\030\002 \001(\001\022+\n\017effective_price\030\003 \001(\0132\022.google" + - ".type.Money\022\032\n\022external_price_uri\030\004 \001(\t\"" + - "\331\001\n\nPricePhase\0228\n\013period_type\030\001 \001(\0162#.go" + - "ogle.cloud.channel.v1.PeriodType\022\024\n\014firs" + - "t_period\030\002 \001(\005\022\023\n\013last_period\030\003 \001(\005\022-\n\005p" + - "rice\030\004 \001(\0132\036.google.cloud.channel.v1.Pri" + - "ce\0227\n\013price_tiers\030\005 \003(\0132\".google.cloud.c" + - "hannel.v1.PriceTier\"i\n\tPriceTier\022\026\n\016firs" + - "t_resource\030\001 \001(\005\022\025\n\rlast_resource\030\002 \001(\005\022" + - "-\n\005price\030\003 \001(\0132\036.google.cloud.channel.v1" + - ".Price\"T\n\006Period\022\020\n\010duration\030\001 \001(\005\0228\n\013pe" + - "riod_type\030\002 \001(\0162#.google.cloud.channel.v" + - "1.PeriodType*m\n\024PromotionalOrderType\022 \n\034" + - "PROMOTIONAL_TYPE_UNSPECIFIED\020\000\022\017\n\013NEW_UP" + - "GRADE\020\001\022\014\n\010TRANSFER\020\002\022\024\n\020PROMOTION_SWITC" + - "H\020\003*k\n\013PaymentPlan\022\034\n\030PAYMENT_PLAN_UNSPE" + - "CIFIED\020\000\022\016\n\nCOMMITMENT\020\001\022\014\n\010FLEXIBLE\020\002\022\010" + - "\n\004FREE\020\003\022\t\n\005TRIAL\020\004\022\013\n\007OFFLINE\020\005*D\n\013Paym" + - "entType\022\034\n\030PAYMENT_TYPE_UNSPECIFIED\020\000\022\n\n" + - "\006PREPAY\020\001\022\013\n\007POSTPAY\020\002*\212\001\n\014ResourceType\022" + - "\035\n\031RESOURCE_TYPE_UNSPECIFIED\020\000\022\010\n\004SEAT\020\001" + - "\022\007\n\003MAU\020\002\022\006\n\002GB\020\003\022\021\n\rLICENSED_USER\020\004\022\013\n\007" + - "MINUTES\020\005\022\016\n\nIAAS_USAGE\020\006\022\020\n\014SUBSCRIPTIO" + - "N\020\007*G\n\nPeriodType\022\033\n\027PERIOD_TYPE_UNSPECI" + - "FIED\020\000\022\007\n\003DAY\020\001\022\t\n\005MONTH\020\002\022\010\n\004YEAR\020\003Bl\n\033" + - "com.google.cloud.channel.v1B\013OffersProto" + - "P\001Z>google.golang.org/genproto/googleapi" + - "s/cloud/channel/v1;channelb\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.cloud.channel.v1.CommonProto.getDescriptor(), - com.google.cloud.channel.v1.ProductsProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.type.MoneyProto.getDescriptor(), - }); - internal_static_google_cloud_channel_v1_Offer_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_channel_v1_Offer_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_Offer_descriptor, - new java.lang.String[] { "Name", "MarketingInfo", "Sku", "Plan", "Constraints", "PriceByResources", "StartTime", "EndTime", "ParameterDefinitions", "DealCode", }); - internal_static_google_cloud_channel_v1_ParameterDefinition_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_channel_v1_ParameterDefinition_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ParameterDefinition_descriptor, - new java.lang.String[] { "Name", "ParameterType", "MinValue", "MaxValue", "AllowedValues", "Optional", }); - internal_static_google_cloud_channel_v1_Constraints_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_channel_v1_Constraints_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_Constraints_descriptor, - new java.lang.String[] { "CustomerConstraints", }); - internal_static_google_cloud_channel_v1_CustomerConstraints_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_channel_v1_CustomerConstraints_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_CustomerConstraints_descriptor, - new java.lang.String[] { "AllowedRegions", "AllowedCustomerTypes", "PromotionalOrderTypes", }); - internal_static_google_cloud_channel_v1_Plan_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_channel_v1_Plan_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_Plan_descriptor, - new java.lang.String[] { "PaymentPlan", "PaymentType", "PaymentCycle", "TrialPeriod", "BillingAccount", }); - internal_static_google_cloud_channel_v1_PriceByResource_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_channel_v1_PriceByResource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_PriceByResource_descriptor, - new java.lang.String[] { "ResourceType", "Price", "PricePhases", }); - internal_static_google_cloud_channel_v1_Price_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_channel_v1_Price_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_Price_descriptor, - new java.lang.String[] { "BasePrice", "Discount", "EffectivePrice", "ExternalPriceUri", }); - internal_static_google_cloud_channel_v1_PricePhase_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_channel_v1_PricePhase_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_PricePhase_descriptor, - new java.lang.String[] { "PeriodType", "FirstPeriod", "LastPeriod", "Price", "PriceTiers", }); - internal_static_google_cloud_channel_v1_PriceTier_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_channel_v1_PriceTier_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_PriceTier_descriptor, - new java.lang.String[] { "FirstResource", "LastResource", "Price", }); - internal_static_google_cloud_channel_v1_Period_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_channel_v1_Period_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_Period_descriptor, - new java.lang.String[] { "Duration", "PeriodType", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.channel.v1.CommonProto.getDescriptor(); - com.google.cloud.channel.v1.ProductsProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.type.MoneyProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationsProto.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationsProto.java deleted file mode 100644 index 728e1686f358..000000000000 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationsProto.java +++ /dev/null @@ -1,61 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/channel/v1/operations.proto - -package com.google.cloud.channel.v1; - -public final class OperationsProto { - private OperationsProto() {} - 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_cloud_channel_v1_OperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_OperationMetadata_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/cloud/channel/v1/operations.pro" + - "to\022\027google.cloud.channel.v1\"\266\003\n\021Operatio" + - "nMetadata\022P\n\016operation_type\030\001 \001(\01628.goog" + - "le.cloud.channel.v1.OperationMetadata.Op" + - "erationType\"\316\002\n\rOperationType\022\036\n\032OPERATI" + - "ON_TYPE_UNSPECIFIED\020\000\022\026\n\022CREATE_ENTITLEM" + - "ENT\020\001\022\033\n\027CHANGE_RENEWAL_SETTINGS\020\003\022\026\n\022ST" + - "ART_PAID_SERVICE\020\005\022\030\n\024ACTIVATE_ENTITLEME" + - "NT\020\007\022\027\n\023SUSPEND_ENTITLEMENT\020\010\022\026\n\022CANCEL_" + - "ENTITLEMENT\020\t\022\031\n\025TRANSFER_ENTITLEMENTS\020\n" + - "\022#\n\037TRANSFER_ENTITLEMENTS_TO_GOOGLE\020\013\022\020\n" + - "\014CHANGE_OFFER\020\016\022\025\n\021CHANGE_PARAMETERS\020\017\022\034" + - "\n\030PROVISION_CLOUD_IDENTITY\020\020Bp\n\033com.goog" + - "le.cloud.channel.v1B\017OperationsProtoP\001Z>" + - "google.golang.org/genproto/googleapis/cl" + - "oud/channel/v1;channelb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_google_cloud_channel_v1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_channel_v1_OperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_OperationMetadata_descriptor, - new java.lang.String[] { "OperationType", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductsProto.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductsProto.java deleted file mode 100644 index 5bc6db7a9fcc..000000000000 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductsProto.java +++ /dev/null @@ -1,106 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/channel/v1/products.proto - -package com.google.cloud.channel.v1; - -public final class ProductsProto { - private ProductsProto() {} - 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_cloud_channel_v1_Product_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_Product_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_Sku_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_Sku_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_MarketingInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_MarketingInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_Media_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_Media_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/cloud/channel/v1/products.proto" + - "\022\027google.cloud.channel.v1\032\031google/api/re" + - "source.proto\"\225\001\n\007Product\022\014\n\004name\030\001 \001(\t\022>" + - "\n\016marketing_info\030\002 \001(\0132&.google.cloud.ch" + - "annel.v1.MarketingInfo:<\352A9\n#cloudchanne" + - "l.googleapis.com/Product\022\022products/{prod" + - "uct}\"\313\001\n\003Sku\022\014\n\004name\030\001 \001(\t\022>\n\016marketing_" + - "info\030\002 \001(\0132&.google.cloud.channel.v1.Mar" + - "ketingInfo\0221\n\007product\030\003 \001(\0132 .google.clo" + - "ud.channel.v1.Product:C\352A@\n\037cloudchannel" + - ".googleapis.com/Sku\022\035products/{product}/" + - "skus/{sku}\"p\n\rMarketingInfo\022\024\n\014display_n" + - "ame\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\0224\n\014defaul" + - "t_logo\030\003 \001(\0132\036.google.cloud.channel.v1.M" + - "edia\"Y\n\005Media\022\r\n\005title\030\001 \001(\t\022\017\n\007content\030" + - "\002 \001(\t\0220\n\004type\030\003 \001(\0162\".google.cloud.chann" + - "el.v1.MediaType*=\n\tMediaType\022\032\n\026MEDIA_TY" + - "PE_UNSPECIFIED\020\000\022\024\n\020MEDIA_TYPE_IMAGE\020\001Bn" + - "\n\033com.google.cloud.channel.v1B\rProductsP" + - "rotoP\001Z>google.golang.org/genproto/googl" + - "eapis/cloud/channel/v1;channelb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - }); - internal_static_google_cloud_channel_v1_Product_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_channel_v1_Product_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_Product_descriptor, - new java.lang.String[] { "Name", "MarketingInfo", }); - internal_static_google_cloud_channel_v1_Sku_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_channel_v1_Sku_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_Sku_descriptor, - new java.lang.String[] { "Name", "MarketingInfo", "Product", }); - internal_static_google_cloud_channel_v1_MarketingInfo_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_channel_v1_MarketingInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_MarketingInfo_descriptor, - new java.lang.String[] { "DisplayName", "Description", "DefaultLogo", }); - internal_static_google_cloud_channel_v1_Media_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_channel_v1_Media_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_Media_descriptor, - new java.lang.String[] { "Title", "Content", "Type", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponseOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponseOrBuilder.java deleted file mode 100644 index 8180179da9ad..000000000000 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RegisterSubscriberResponseOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/channel/v1/service.proto - -package com.google.cloud.channel.v1; - -public interface RegisterSubscriberResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.RegisterSubscriberResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Name of the topic the subscriber will listen to.
-   * 
- * - * string topic = 1; - * @return The topic. - */ - java.lang.String getTopic(); - /** - *
-   * Name of the topic the subscriber will listen to.
-   * 
- * - * string topic = 1; - * @return The bytes for topic. - */ - com.google.protobuf.ByteString - getTopicBytes(); -} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportsServiceProto.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportsServiceProto.java deleted file mode 100644 index 064af9c23df3..000000000000 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportsServiceProto.java +++ /dev/null @@ -1,312 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/channel/v1/reports_service.proto - -package com.google.cloud.channel.v1; - -public final class ReportsServiceProto { - private ReportsServiceProto() {} - 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_cloud_channel_v1_RunReportJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_RunReportJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_RunReportJobResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_RunReportJobResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_FetchReportResultsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_FetchReportResultsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_FetchReportResultsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_FetchReportResultsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListReportsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListReportsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListReportsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListReportsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ReportJob_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ReportJob_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ReportResultsMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ReportResultsMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_Column_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_Column_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_DateRange_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_DateRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_Row_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_Row_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ReportValue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ReportValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ReportStatus_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ReportStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_Report_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_Report_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/cloud/channel/v1/reports_servic" + - "e.proto\022\027google.cloud.channel.v1\032\034google" + - "/api/annotations.proto\032\027google/api/clien" + - "t.proto\032\037google/api/field_behavior.proto" + - "\032\031google/api/resource.proto\032#google/long" + - "running/operations.proto\032\037google/protobu" + - "f/timestamp.proto\032\026google/type/date.prot" + - "o\032\032google/type/datetime.proto\032\031google/ty" + - "pe/decimal.proto\032\027google/type/money.prot" + - "o\"\275\001\n\023RunReportJobRequest\0228\n\004name\030\001 \001(\tB" + - "*\340A\002\372A$\n\"cloudchannel.googleapis.com/Rep" + - "ort\022;\n\ndate_range\030\002 \001(\0132\".google.cloud.c" + - "hannel.v1.DateRangeB\003\340A\001\022\023\n\006filter\030\003 \001(\t" + - "B\003\340A\001\022\032\n\rlanguage_code\030\004 \001(\tB\003\340A\001\"\227\001\n\024Ru" + - "nReportJobResponse\0226\n\nreport_job\030\001 \001(\0132\"" + - ".google.cloud.channel.v1.ReportJob\022G\n\017re" + - "port_metadata\030\002 \001(\0132..google.cloud.chann" + - "el.v1.ReportResultsMetadata\"\217\001\n\031FetchRep" + - "ortResultsRequest\022A\n\nreport_job\030\001 \001(\tB-\340" + - "A\002\372A\'\n%cloudchannel.googleapis.com/Repor" + - "tJob\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_tok" + - "en\030\003 \001(\tB\003\340A\001\"\252\001\n\032FetchReportResultsResp" + - "onse\022G\n\017report_metadata\030\001 \001(\0132..google.c" + - "loud.channel.v1.ReportResultsMetadata\022*\n" + - "\004rows\030\002 \003(\0132\034.google.cloud.channel.v1.Ro" + - "w\022\027\n\017next_page_token\030\003 \001(\t\"v\n\022ListReport" + - "sRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\026\n\tpage_si" + - "ze\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\022\032" + - "\n\rlanguage_code\030\004 \001(\tB\003\340A\001\"`\n\023ListReport" + - "sResponse\0220\n\007reports\030\001 \003(\0132\037.google.clou" + - "d.channel.v1.Report\022\027\n\017next_page_token\030\002" + - " \001(\t\"\264\001\n\tReportJob\022\021\n\004name\030\001 \001(\tB\003\340A\002\022<\n" + - "\rreport_status\030\002 \001(\0132%.google.cloud.chan" + - "nel.v1.ReportStatus:V\352AS\n%cloudchannel.g" + - "oogleapis.com/ReportJob\022*accounts/{accou" + - "nt}/reportJobs/{report_job}\"\325\001\n\025ReportRe" + - "sultsMetadata\022/\n\006report\030\001 \001(\0132\037.google.c" + - "loud.channel.v1.Report\022\021\n\trow_count\030\002 \001(" + - "\003\0226\n\ndate_range\030\003 \001(\0132\".google.cloud.cha" + - "nnel.v1.DateRange\022@\n\024preceding_date_rang" + - "e\030\004 \001(\0132\".google.cloud.channel.v1.DateRa" + - "nge\"\333\001\n\006Column\022\021\n\tcolumn_id\030\001 \001(\t\022\024\n\014dis" + - "play_name\030\002 \001(\t\022;\n\tdata_type\030\003 \001(\0162(.goo" + - "gle.cloud.channel.v1.Column.DataType\"k\n\010" + - "DataType\022\031\n\025DATA_TYPE_UNSPECIFIED\020\000\022\n\n\006S" + - "TRING\020\001\022\007\n\003INT\020\002\022\013\n\007DECIMAL\020\003\022\t\n\005MONEY\020\004" + - "\022\010\n\004DATE\020\005\022\r\n\tDATE_TIME\020\006\"\321\001\n\tDateRange\022" + - "4\n\025usage_start_date_time\030\001 \001(\0132\025.google." + - "type.DateTime\0222\n\023usage_end_date_time\030\002 \001" + - "(\0132\025.google.type.DateTime\022-\n\022invoice_sta" + - "rt_date\030\003 \001(\0132\021.google.type.Date\022+\n\020invo" + - "ice_end_date\030\004 \001(\0132\021.google.type.Date\";\n" + - "\003Row\0224\n\006values\030\001 \003(\0132$.google.cloud.chan" + - "nel.v1.ReportValue\"\370\001\n\013ReportValue\022\026\n\014st" + - "ring_value\030\001 \001(\tH\000\022\023\n\tint_value\030\002 \001(\003H\000\022" + - "-\n\rdecimal_value\030\003 \001(\0132\024.google.type.Dec" + - "imalH\000\022)\n\013money_value\030\004 \001(\0132\022.google.typ" + - "e.MoneyH\000\022\'\n\ndate_value\030\005 \001(\0132\021.google.t" + - "ype.DateH\000\0220\n\017date_time_value\030\006 \001(\0132\025.go" + - "ogle.type.DateTimeH\000B\007\n\005value\"\375\001\n\014Report" + - "Status\022:\n\005state\030\001 \001(\0162+.google.cloud.cha" + - "nnel.v1.ReportStatus.State\022.\n\nstart_time" + - "\030\002 \001(\0132\032.google.protobuf.Timestamp\022,\n\010en" + - "d_time\030\003 \001(\0132\032.google.protobuf.Timestamp" + - "\"S\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007STAR" + - "TED\020\001\022\013\n\007WRITING\020\002\022\r\n\tAVAILABLE\020\003\022\n\n\006FAI" + - "LED\020\004\"\306\001\n\006Report\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\024\n\014d" + - "isplay_name\030\002 \001(\t\0220\n\007columns\030\003 \003(\0132\037.goo" + - "gle.cloud.channel.v1.Column\022\023\n\013descripti" + - "on\030\004 \001(\t:L\352AI\n\"cloudchannel.googleapis.c" + - "om/Report\022#accounts/{account}/reports/{r" + - "eport}2\246\005\n\032CloudChannelReportsService\022\267\001" + - "\n\014RunReportJob\022,.google.cloud.channel.v1" + - ".RunReportJobRequest\032\035.google.longrunnin" + - "g.Operation\"Z\202\323\344\223\002(\"#/v1/{name=accounts/" + - "*/reports/*}:run:\001*\312A)\n\024RunReportJobResp" + - "onse\022\021OperationMetadata\022\322\001\n\022FetchReportR" + - "esults\0222.google.cloud.channel.v1.FetchRe" + - "portResultsRequest\0323.google.cloud.channe" + - "l.v1.FetchReportResultsResponse\"S\202\323\344\223\002@\"" + - ";/v1/{report_job=accounts/*/reportJobs/*" + - "}:fetchReportResults:\001*\332A\nreport_job\022\232\001\n" + - "\013ListReports\022+.google.cloud.channel.v1.L" + - "istReportsRequest\032,.google.cloud.channel" + - ".v1.ListReportsResponse\"0\202\323\344\223\002!\022\037/v1/{pa" + - "rent=accounts/*}/reports\332A\006parent\032\\\312A\033cl" + - "oudchannel.googleapis.com\322A;https://www." + - "googleapis.com/auth/apps.reports.usage.r" + - "eadonlyBt\n\033com.google.cloud.channel.v1B\023" + - "ReportsServiceProtoP\001Z>google.golang.org" + - "/genproto/googleapis/cloud/channel/v1;ch" + - "annelb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.type.DateProto.getDescriptor(), - com.google.type.DateTimeProto.getDescriptor(), - com.google.type.DecimalProto.getDescriptor(), - com.google.type.MoneyProto.getDescriptor(), - }); - internal_static_google_cloud_channel_v1_RunReportJobRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_channel_v1_RunReportJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_RunReportJobRequest_descriptor, - new java.lang.String[] { "Name", "DateRange", "Filter", "LanguageCode", }); - internal_static_google_cloud_channel_v1_RunReportJobResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_channel_v1_RunReportJobResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_RunReportJobResponse_descriptor, - new java.lang.String[] { "ReportJob", "ReportMetadata", }); - internal_static_google_cloud_channel_v1_FetchReportResultsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_channel_v1_FetchReportResultsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_FetchReportResultsRequest_descriptor, - new java.lang.String[] { "ReportJob", "PageSize", "PageToken", }); - internal_static_google_cloud_channel_v1_FetchReportResultsResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_channel_v1_FetchReportResultsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_FetchReportResultsResponse_descriptor, - new java.lang.String[] { "ReportMetadata", "Rows", "NextPageToken", }); - internal_static_google_cloud_channel_v1_ListReportsRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_channel_v1_ListReportsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListReportsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "LanguageCode", }); - internal_static_google_cloud_channel_v1_ListReportsResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_channel_v1_ListReportsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListReportsResponse_descriptor, - new java.lang.String[] { "Reports", "NextPageToken", }); - internal_static_google_cloud_channel_v1_ReportJob_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_channel_v1_ReportJob_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ReportJob_descriptor, - new java.lang.String[] { "Name", "ReportStatus", }); - internal_static_google_cloud_channel_v1_ReportResultsMetadata_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_channel_v1_ReportResultsMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ReportResultsMetadata_descriptor, - new java.lang.String[] { "Report", "RowCount", "DateRange", "PrecedingDateRange", }); - internal_static_google_cloud_channel_v1_Column_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_channel_v1_Column_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_Column_descriptor, - new java.lang.String[] { "ColumnId", "DisplayName", "DataType", }); - internal_static_google_cloud_channel_v1_DateRange_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_channel_v1_DateRange_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_DateRange_descriptor, - new java.lang.String[] { "UsageStartDateTime", "UsageEndDateTime", "InvoiceStartDate", "InvoiceEndDate", }); - internal_static_google_cloud_channel_v1_Row_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_channel_v1_Row_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_Row_descriptor, - new java.lang.String[] { "Values", }); - internal_static_google_cloud_channel_v1_ReportValue_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_channel_v1_ReportValue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ReportValue_descriptor, - new java.lang.String[] { "StringValue", "IntValue", "DecimalValue", "MoneyValue", "DateValue", "DateTimeValue", "Value", }); - internal_static_google_cloud_channel_v1_ReportStatus_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_channel_v1_ReportStatus_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ReportStatus_descriptor, - new java.lang.String[] { "State", "StartTime", "EndTime", }); - internal_static_google_cloud_channel_v1_Report_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_channel_v1_Report_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_Report_descriptor, - new java.lang.String[] { "Name", "DisplayName", "Columns", "Description", }); - 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.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.type.DateProto.getDescriptor(); - com.google.type.DateTimeProto.getDescriptor(); - com.google.type.DecimalProto.getDescriptor(); - com.google.type.MoneyProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java deleted file mode 100644 index cbea55c88df8..000000000000 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java +++ /dev/null @@ -1,220 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/channel/v1/repricing.proto - -package com.google.cloud.channel.v1; - -public final class RepricingProto { - private RepricingProto() {} - 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_cloud_channel_v1_CustomerRepricingConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_CustomerRepricingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_RepricingConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_RepricingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_RepricingAdjustment_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_RepricingAdjustment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_PercentageAdjustment_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_PercentageAdjustment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ConditionalOverride_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ConditionalOverride_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_RepricingCondition_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_RepricingCondition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_SkuGroupCondition_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_SkuGroupCondition_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/cloud/channel/v1/repricing.prot" + - "o\022\027google.cloud.channel.v1\032\037google/api/f" + - "ield_behavior.proto\032\031google/api/resource" + - ".proto\032\037google/protobuf/timestamp.proto\032" + - "\026google/type/date.proto\032\031google/type/dec" + - "imal.proto\"\305\002\n\027CustomerRepricingConfig\022\021" + - "\n\004name\030\001 \001(\tB\003\340A\003\022G\n\020repricing_config\030\002 " + - "\001(\0132(.google.cloud.channel.v1.RepricingC" + - "onfigB\003\340A\002\0224\n\013update_time\030\003 \001(\0132\032.google" + - ".protobuf.TimestampB\003\340A\003:\227\001\352A\223\001\n3cloudch" + - "annel.googleapis.com/CustomerRepricingCo" + - "nfig\022\\accounts/{account}/customers/{cust" + - "omer}/customerRepricingConfigs/{customer" + - "_repricing_config}\"\357\002\n\035ChannelPartnerRep" + - "ricingConfig\022\021\n\004name\030\001 \001(\tB\003\340A\003\022G\n\020repri" + - "cing_config\030\002 \001(\0132(.google.cloud.channel" + - ".v1.RepricingConfigB\003\340A\002\0224\n\013update_time\030" + - "\003 \001(\0132\032.google.protobuf.TimestampB\003\340A\003:\273" + - "\001\352A\267\001\n9cloudchannel.googleapis.com/Chann" + - "elPartnerRepricingConfig\022zaccounts/{acco" + - "unt}/channelPartnerLinks/{channel_partne" + - "r}/channelPartnerRepricingConfigs/{chann" + - "el_partner_repricing_config}\"\375\004\n\017Reprici" + - "ngConfig\022b\n\027entitlement_granularity\030\004 \001(" + - "\0132?.google.cloud.channel.v1.RepricingCon" + - "fig.EntitlementGranularityH\000\022i\n\033channel_" + - "partner_granularity\030\005 \001(\0132B.google.cloud" + - ".channel.v1.RepricingConfig.ChannelPartn" + - "erGranularityH\000\0227\n\027effective_invoice_mon" + - "th\030\001 \001(\0132\021.google.type.DateB\003\340A\002\022E\n\nadju" + - "stment\030\002 \001(\0132,.google.cloud.channel.v1.R" + - "epricingAdjustmentB\003\340A\002\022E\n\017rebilling_bas" + - "is\030\003 \001(\0162\'.google.cloud.channel.v1.Rebil" + - "lingBasisB\003\340A\002\022K\n\025conditional_overrides\030" + - "\006 \003(\0132,.google.cloud.channel.v1.Conditio" + - "nalOverride\032[\n\026EntitlementGranularity\022A\n" + - "\013entitlement\030\001 \001(\tB,\372A)\n\'cloudchannel.go" + - "ogleapis.com/Entitlement\032\033\n\031ChannelPartn" + - "erGranularityB\r\n\013granularity\"s\n\023Repricin" + - "gAdjustment\022N\n\025percentage_adjustment\030\002 \001" + - "(\0132-.google.cloud.channel.v1.PercentageA" + - "djustmentH\000B\014\n\nadjustment\"@\n\024PercentageA" + - "djustment\022(\n\npercentage\030\002 \001(\0132\024.google.t" + - "ype.Decimal\"\362\001\n\023ConditionalOverride\022E\n\na" + - "djustment\030\001 \001(\0132,.google.cloud.channel.v" + - "1.RepricingAdjustmentB\003\340A\002\022E\n\017rebilling_" + - "basis\030\002 \001(\0162\'.google.cloud.channel.v1.Re" + - "billingBasisB\003\340A\002\022M\n\023repricing_condition" + - "\030\003 \001(\0132+.google.cloud.channel.v1.Reprici" + - "ngConditionB\003\340A\002\"l\n\022RepricingCondition\022I" + - "\n\023sku_group_condition\030\001 \001(\0132*.google.clo" + - "ud.channel.v1.SkuGroupConditionH\000B\013\n\tcon" + - "dition\"&\n\021SkuGroupCondition\022\021\n\tsku_group" + - "\030\001 \001(\t*]\n\016RebillingBasis\022\037\n\033REBILLING_BA" + - "SIS_UNSPECIFIED\020\000\022\020\n\014COST_AT_LIST\020\001\022\030\n\024D" + - "IRECT_CUSTOMER_COST\020\002Bo\n\033com.google.clou" + - "d.channel.v1B\016RepricingProtoP\001Z>google.g" + - "olang.org/genproto/googleapis/cloud/chan" + - "nel/v1;channelb\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.type.DateProto.getDescriptor(), - com.google.type.DecimalProto.getDescriptor(), - }); - internal_static_google_cloud_channel_v1_CustomerRepricingConfig_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_channel_v1_CustomerRepricingConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_CustomerRepricingConfig_descriptor, - new java.lang.String[] { "Name", "RepricingConfig", "UpdateTime", }); - internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_descriptor, - new java.lang.String[] { "Name", "RepricingConfig", "UpdateTime", }); - internal_static_google_cloud_channel_v1_RepricingConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_channel_v1_RepricingConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_RepricingConfig_descriptor, - new java.lang.String[] { "EntitlementGranularity", "ChannelPartnerGranularity", "EffectiveInvoiceMonth", "Adjustment", "RebillingBasis", "ConditionalOverrides", "Granularity", }); - internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_descriptor = - internal_static_google_cloud_channel_v1_RepricingConfig_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_descriptor, - new java.lang.String[] { "Entitlement", }); - internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_descriptor = - internal_static_google_cloud_channel_v1_RepricingConfig_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_channel_v1_RepricingAdjustment_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_channel_v1_RepricingAdjustment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_RepricingAdjustment_descriptor, - new java.lang.String[] { "PercentageAdjustment", "Adjustment", }); - internal_static_google_cloud_channel_v1_PercentageAdjustment_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_channel_v1_PercentageAdjustment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_PercentageAdjustment_descriptor, - new java.lang.String[] { "Percentage", }); - internal_static_google_cloud_channel_v1_ConditionalOverride_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_channel_v1_ConditionalOverride_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ConditionalOverride_descriptor, - new java.lang.String[] { "Adjustment", "RebillingBasis", "RepricingCondition", }); - internal_static_google_cloud_channel_v1_RepricingCondition_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_channel_v1_RepricingCondition_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_RepricingCondition_descriptor, - new java.lang.String[] { "SkuGroupCondition", "Condition", }); - internal_static_google_cloud_channel_v1_SkuGroupCondition_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_channel_v1_SkuGroupCondition_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_SkuGroupCondition_descriptor, - new java.lang.String[] { "SkuGroup", }); - 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.type.DateProto.getDescriptor(); - com.google.type.DecimalProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java deleted file mode 100644 index c4f4e63af1e0..000000000000 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java +++ /dev/null @@ -1,1342 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/channel/v1/service.proto - -package com.google.cloud.channel.v1; - -public final class ServiceProto { - private ServiceProto() {} - 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_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListCustomersRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListCustomersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListCustomersResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListCustomersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_GetCustomerRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_GetCustomerRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_CreateCustomerRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_CreateCustomerRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_UpdateCustomerRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_UpdateCustomerRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_DeleteCustomerRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_DeleteCustomerRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ImportCustomerRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ImportCustomerRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListEntitlementsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListEntitlementsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListEntitlementsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListEntitlementsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_TransferableOffer_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_TransferableOffer_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_GetEntitlementRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_GetEntitlementRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_CreateEntitlementRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_CreateEntitlementRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ChangeParametersRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ChangeParametersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ChangeOfferRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ChangeOfferRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_StartPaidServiceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_StartPaidServiceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_CancelEntitlementRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_CancelEntitlementRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_LookupOfferRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_LookupOfferRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListProductsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListProductsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListProductsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListProductsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListSkusRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListSkusRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListSkusResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListSkusResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListOffersRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListOffersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListOffersResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListOffersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_PurchasableSku_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_PurchasableSku_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_PurchasableOffer_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_PurchasableOffer_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListSubscribersRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListSubscribersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_ListSubscribersResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_ListSubscribersResponse_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/cloud/channel/v1/service.proto\022" + - "\027google.cloud.channel.v1\032\034google/api/ann" + - "otations.proto\032\027google/api/client.proto\032" + - "\037google/api/field_behavior.proto\032\031google" + - "/api/resource.proto\0323google/cloud/channe" + - "l/v1/channel_partner_links.proto\032$google" + - "/cloud/channel/v1/common.proto\032\'google/c" + - "loud/channel/v1/customers.proto\032*google/" + - "cloud/channel/v1/entitlements.proto\032$goo" + - "gle/cloud/channel/v1/offers.proto\032&googl" + - "e/cloud/channel/v1/products.proto\032\'googl" + - "e/cloud/channel/v1/repricing.proto\032#goog" + - "le/longrunning/operations.proto\032\033google/" + - "protobuf/empty.proto\032 google/protobuf/fi" + - "eld_mask.proto\"R\n&CheckCloudIdentityAcco" + - "untsExistRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\023\n" + - "\006domain\030\002 \001(\tB\003\340A\002\"z\n\034CloudIdentityCusto" + - "merAccount\022\020\n\010existing\030\001 \001(\010\022\r\n\005owned\030\002 " + - "\001(\010\022\025\n\rcustomer_name\030\003 \001(\t\022\"\n\032customer_c" + - "loud_identity_id\030\004 \001(\t\"\201\001\n\'CheckCloudIde" + - "ntityAccountsExistResponse\022V\n\027cloud_iden" + - "tity_accounts\030\001 \003(\01325.google.cloud.chann" + - "el.v1.CloudIdentityCustomerAccount\"q\n\024Li" + - "stCustomersRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022" + - "\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 " + - "\001(\tB\003\340A\001\022\023\n\006filter\030\004 \001(\tB\003\340A\001\"f\n\025ListCus" + - "tomersResponse\0224\n\tcustomers\030\001 \003(\0132!.goog" + - "le.cloud.channel.v1.Customer\022\027\n\017next_pag" + - "e_token\030\002 \001(\t\"P\n\022GetCustomerRequest\022:\n\004n" + - "ame\030\001 \001(\tB,\340A\002\372A&\n$cloudchannel.googleap" + - "is.com/Customer\"f\n\025CreateCustomerRequest" + - "\022\023\n\006parent\030\001 \001(\tB\003\340A\002\0228\n\010customer\030\002 \001(\0132" + - "!.google.cloud.channel.v1.CustomerB\003\340A\002\"" + - "\202\001\n\025UpdateCustomerRequest\0228\n\010customer\030\002 " + - "\001(\0132!.google.cloud.channel.v1.CustomerB\003" + - "\340A\002\022/\n\013update_mask\030\003 \001(\0132\032.google.protob" + - "uf.FieldMask\"S\n\025DeleteCustomerRequest\022:\n" + - "\004name\030\001 \001(\tB,\340A\002\372A&\n$cloudchannel.google" + - "apis.com/Customer\"\226\002\n\025ImportCustomerRequ" + - "est\022\025\n\006domain\030\002 \001(\tB\003\340A\002H\000\022 \n\021cloud_iden" + - "tity_id\030\003 \001(\tB\003\340A\002H\000\022\023\n\006parent\030\001 \001(\tB\003\340A" + - "\002\022\027\n\nauth_token\030\004 \001(\tB\003\340A\001\022 \n\023overwrite_" + - "if_exists\030\005 \001(\010B\003\340A\002\022\037\n\022channel_partner_" + - "id\030\006 \001(\tB\003\340A\001\022>\n\010customer\030\007 \001(\tB,\340A\001\372A&\n" + - "$cloudchannel.googleapis.com/CustomerB\023\n" + - "\021customer_identity\"\361\001\n\035ProvisionCloudIde" + - "ntityRequest\022>\n\010customer\030\001 \001(\tB,\340A\002\372A&\n$" + - "cloudchannel.googleapis.com/Customer\022G\n\023" + - "cloud_identity_info\030\002 \001(\0132*.google.cloud" + - ".channel.v1.CloudIdentityInfo\0220\n\004user\030\003 " + - "\001(\0132\".google.cloud.channel.v1.AdminUser\022" + - "\025\n\rvalidate_only\030\004 \001(\010\"\210\001\n\027ListEntitleme" + - "ntsRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$clou" + - "dchannel.googleapis.com/Customer\022\026\n\tpage" + - "_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A" + - "\001\"o\n\030ListEntitlementsResponse\022:\n\014entitle" + - "ments\030\001 \003(\0132$.google.cloud.channel.v1.En" + - "titlement\022\027\n\017next_page_token\030\002 \001(\t\"\340\001\n\033L" + - "istTransferableSkusRequest\022\033\n\021cloud_iden" + - "tity_id\030\004 \001(\tH\000\022\027\n\rcustomer_name\030\007 \001(\tH\000" + - "\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005" + - "\022\022\n\npage_token\030\003 \001(\t\022\027\n\nauth_token\030\005 \001(\t" + - "B\003\340A\001\022\025\n\rlanguage_code\030\006 \001(\tB\037\n\035transfer" + - "red_customer_identity\"|\n\034ListTransferabl" + - "eSkusResponse\022C\n\021transferable_skus\030\001 \003(\013" + - "2(.google.cloud.channel.v1.TransferableS" + - "ku\022\027\n\017next_page_token\030\002 \001(\t\"\340\001\n\035ListTran" + - "sferableOffersRequest\022\033\n\021cloud_identity_" + - "id\030\004 \001(\tH\000\022\027\n\rcustomer_name\030\005 \001(\tH\000\022\023\n\006p" + - "arent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" + - "age_token\030\003 \001(\t\022\020\n\003sku\030\006 \001(\tB\003\340A\002\022\032\n\rlan" + - "guage_code\030\007 \001(\tB\003\340A\001B\037\n\035transferred_cus" + - "tomer_identity\"\202\001\n\036ListTransferableOffer" + - "sResponse\022G\n\023transferable_offers\030\001 \003(\0132*" + - ".google.cloud.channel.v1.TransferableOff" + - "er\022\027\n\017next_page_token\030\002 \001(\t\"B\n\021Transfera" + - "bleOffer\022-\n\005offer\030\001 \001(\0132\036.google.cloud.c" + - "hannel.v1.Offer\"V\n\025GetEntitlementRequest" + - "\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'cloudchannel.goo" + - "gleapis.com/Entitlement\"\252\001\n\036ListChannelP" + - "artnerLinksRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022" + - "\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 " + - "\001(\tB\003\340A\001\022B\n\004view\030\004 \001(\0162/.google.cloud.ch" + - "annel.v1.ChannelPartnerLinkViewB\003\340A\001\"\206\001\n" + - "\037ListChannelPartnerLinksResponse\022J\n\025chan" + - "nel_partner_links\030\001 \003(\0132+.google.cloud.c" + - "hannel.v1.ChannelPartnerLink\022\027\n\017next_pag" + - "e_token\030\002 \001(\t\"u\n\034GetChannelPartnerLinkRe" + - "quest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022B\n\004view\030\002 \001(\0162/" + - ".google.cloud.channel.v1.ChannelPartnerL" + - "inkViewB\003\340A\001\"\206\001\n\037CreateChannelPartnerLin" + - "kRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022N\n\024channel" + - "_partner_link\030\002 \001(\0132+.google.cloud.chann" + - "el.v1.ChannelPartnerLinkB\003\340A\002\"\272\001\n\037Update" + - "ChannelPartnerLinkRequest\022\021\n\004name\030\001 \001(\tB" + - "\003\340A\002\022N\n\024channel_partner_link\030\002 \001(\0132+.goo" + - "gle.cloud.channel.v1.ChannelPartnerLinkB" + - "\003\340A\002\0224\n\013update_mask\030\003 \001(\0132\032.google.proto" + - "buf.FieldMaskB\003\340A\002\"n\n!GetCustomerReprici" + - "ngConfigRequest\022I\n\004name\030\001 \001(\tB;\340A\002\372A5\n3c" + - "loudchannel.googleapis.com/CustomerRepri" + - "cingConfig\"\251\001\n#ListCustomerRepricingConf" + - "igsRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$clou" + - "dchannel.googleapis.com/Customer\022\026\n\tpage" + - "_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A" + - "\001\022\023\n\006filter\030\004 \001(\tB\003\340A\001\"\225\001\n$ListCustomerR" + - "epricingConfigsResponse\022T\n\032customer_repr" + - "icing_configs\030\001 \003(\01320.google.cloud.chann" + - "el.v1.CustomerRepricingConfig\022\027\n\017next_pa" + - "ge_token\030\002 \001(\t\"\276\001\n$CreateCustomerReprici" + - "ngConfigRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n" + - "$cloudchannel.googleapis.com/Customer\022X\n" + - "\031customer_repricing_config\030\002 \001(\01320.googl" + - "e.cloud.channel.v1.CustomerRepricingConf" + - "igB\003\340A\002\"\200\001\n$UpdateCustomerRepricingConfi" + - "gRequest\022X\n\031customer_repricing_config\030\001 " + - "\001(\01320.google.cloud.channel.v1.CustomerRe" + - "pricingConfigB\003\340A\002\"q\n$DeleteCustomerRepr" + - "icingConfigRequest\022I\n\004name\030\001 \001(\tB;\340A\002\372A5" + - "\n3cloudchannel.googleapis.com/CustomerRe" + - "pricingConfig\"z\n\'GetChannelPartnerRepric" + - "ingConfigRequest\022O\n\004name\030\001 \001(\tBA\340A\002\372A;\n9" + - "cloudchannel.googleapis.com/ChannelPartn" + - "erRepricingConfig\"\271\001\n)ListChannelPartner" + - "RepricingConfigsRequest\022F\n\006parent\030\001 \001(\tB" + - "6\340A\002\372A0\n.cloudchannel.googleapis.com/Cha" + - "nnelPartnerLink\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022" + - "\027\n\npage_token\030\003 \001(\tB\003\340A\001\022\023\n\006filter\030\004 \001(\t" + - "B\003\340A\001\"\250\001\n*ListChannelPartnerRepricingCon" + - "figsResponse\022a\n!channel_partner_repricin" + - "g_configs\030\001 \003(\01326.google.cloud.channel.v" + - "1.ChannelPartnerRepricingConfig\022\027\n\017next_" + - "page_token\030\002 \001(\t\"\333\001\n*CreateChannelPartne" + - "rRepricingConfigRequest\022F\n\006parent\030\001 \001(\tB" + - "6\340A\002\372A0\n.cloudchannel.googleapis.com/Cha" + - "nnelPartnerLink\022e\n channel_partner_repri" + - "cing_config\030\002 \001(\01326.google.cloud.channel" + - ".v1.ChannelPartnerRepricingConfigB\003\340A\002\"\223" + - "\001\n*UpdateChannelPartnerRepricingConfigRe" + - "quest\022e\n channel_partner_repricing_confi" + - "g\030\001 \001(\01326.google.cloud.channel.v1.Channe" + - "lPartnerRepricingConfigB\003\340A\002\"}\n*DeleteCh" + - "annelPartnerRepricingConfigRequest\022O\n\004na" + - "me\030\001 \001(\tBA\340A\002\372A;\n9cloudchannel.googleapi" + - "s.com/ChannelPartnerRepricingConfig\"\261\001\n\030" + - "CreateEntitlementRequest\022<\n\006parent\030\001 \001(\t" + - "B,\340A\002\372A&\n$cloudchannel.googleapis.com/Cu" + - "stomer\022>\n\013entitlement\030\002 \001(\0132$.google.clo" + - "ud.channel.v1.EntitlementB\003\340A\002\022\027\n\nreques" + - "t_id\030\005 \001(\tB\003\340A\001\"\240\001\n\033TransferEntitlements" + - "Request\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022?\n\014entitlem" + - "ents\030\002 \003(\0132$.google.cloud.channel.v1.Ent" + - "itlementB\003\340A\002\022\022\n\nauth_token\030\004 \001(\t\022\027\n\nreq" + - "uest_id\030\006 \001(\tB\003\340A\001\"Z\n\034TransferEntitlemen" + - "tsResponse\022:\n\014entitlements\030\001 \003(\0132$.googl" + - "e.cloud.channel.v1.Entitlement\"\224\001\n#Trans" + - "ferEntitlementsToGoogleRequest\022\023\n\006parent" + - "\030\001 \001(\tB\003\340A\002\022?\n\014entitlements\030\002 \003(\0132$.goog" + - "le.cloud.channel.v1.EntitlementB\003\340A\002\022\027\n\n" + - "request_id\030\003 \001(\tB\003\340A\001\"\242\001\n\027ChangeParamete" + - "rsRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022;\n\nparamete" + - "rs\030\002 \003(\0132\".google.cloud.channel.v1.Param" + - "eterB\003\340A\002\022\027\n\nrequest_id\030\004 \001(\tB\003\340A\001\022\036\n\021pu" + - "rchase_order_id\030\005 \001(\tB\003\340A\001\"\223\001\n\034ChangeRen" + - "ewalSettingsRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022G" + - "\n\020renewal_settings\030\004 \001(\0132(.google.cloud." + - "channel.v1.RenewalSettingsB\003\340A\002\022\027\n\nreque" + - "st_id\030\005 \001(\tB\003\340A\001\"\327\001\n\022ChangeOfferRequest\022" + - "\021\n\004name\030\001 \001(\tB\003\340A\002\0228\n\005offer\030\002 \001(\tB)\340A\002\372A" + - "#\n!cloudchannel.googleapis.com/Offer\022;\n\n" + - "parameters\030\003 \003(\0132\".google.cloud.channel." + - "v1.ParameterB\003\340A\001\022\036\n\021purchase_order_id\030\005" + - " \001(\tB\003\340A\001\022\027\n\nrequest_id\030\006 \001(\tB\003\340A\001\"E\n\027St" + - "artPaidServiceRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002" + - "\022\027\n\nrequest_id\030\003 \001(\tB\003\340A\001\"F\n\030CancelEntit" + - "lementRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\027\n\nrequ" + - "est_id\030\003 \001(\tB\003\340A\001\"G\n\031SuspendEntitlementR" + - "equest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\027\n\nrequest_id\030" + - "\003 \001(\tB\003\340A\001\"H\n\032ActivateEntitlementRequest" + - "\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\027\n\nrequest_id\030\003 \001(\tB" + - "\003\340A\001\"Z\n\022LookupOfferRequest\022D\n\013entitlemen" + - "t\030\001 \001(\tB/\340A\002\372A)\n\'cloudchannel.googleapis" + - ".com/Entitlement\"x\n\023ListProductsRequest\022" + - "\024\n\007account\030\001 \001(\tB\003\340A\002\022\026\n\tpage_size\030\002 \001(\005" + - "B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\022\032\n\rlangua" + - "ge_code\030\004 \001(\tB\003\340A\001\"c\n\024ListProductsRespon" + - "se\0222\n\010products\030\001 \003(\0132 .google.cloud.chan" + - "nel.v1.Product\022\027\n\017next_page_token\030\002 \001(\t\"" + - "\261\001\n\017ListSkusRequest\022;\n\006parent\030\001 \001(\tB+\340A\002" + - "\372A%\n#cloudchannel.googleapis.com/Product" + - "\022\024\n\007account\030\002 \001(\tB\003\340A\002\022\026\n\tpage_size\030\003 \001(" + - "\005B\003\340A\001\022\027\n\npage_token\030\004 \001(\tB\003\340A\001\022\032\n\rlangu" + - "age_code\030\005 \001(\tB\003\340A\001\"W\n\020ListSkusResponse\022" + - "*\n\004skus\030\001 \003(\0132\034.google.cloud.channel.v1." + - "Sku\022\027\n\017next_page_token\030\002 \001(\t\"\212\001\n\021ListOff" + - "ersRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\026\n\tpage_" + - "size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001" + - "\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\032\n\rlanguage_code\030\005" + - " \001(\tB\003\340A\001\"]\n\022ListOffersResponse\022.\n\006offer" + - "s\030\001 \003(\0132\036.google.cloud.channel.v1.Offer\022" + - "\027\n\017next_page_token\030\002 \001(\t\"\266\005\n\032ListPurchas" + - "ableSkusRequest\022t\n\033create_entitlement_pu" + - "rchase\030\002 \001(\0132M.google.cloud.channel.v1.L" + - "istPurchasableSkusRequest.CreateEntitlem" + - "entPurchaseH\000\022h\n\025change_offer_purchase\030\003" + - " \001(\0132G.google.cloud.channel.v1.ListPurch" + - "asableSkusRequest.ChangeOfferPurchaseH\000\022" + - ">\n\010customer\030\001 \001(\tB,\340A\002\372A&\n$cloudchannel." + - "googleapis.com/Customer\022\026\n\tpage_size\030\004 \001" + - "(\005B\003\340A\001\022\027\n\npage_token\030\005 \001(\tB\003\340A\001\022\032\n\rlang" + - "uage_code\030\006 \001(\tB\003\340A\001\0321\n\031CreateEntitlemen" + - "tPurchase\022\024\n\007product\030\001 \001(\tB\003\340A\002\032\344\001\n\023Chan" + - "geOfferPurchase\022\030\n\013entitlement\030\001 \001(\tB\003\340A" + - "\002\022l\n\013change_type\030\002 \001(\0162R.google.cloud.ch" + - "annel.v1.ListPurchasableSkusRequest.Chan" + - "geOfferPurchase.ChangeTypeB\003\340A\002\"E\n\nChang" + - "eType\022\033\n\027CHANGE_TYPE_UNSPECIFIED\020\000\022\013\n\007UP" + - "GRADE\020\001\022\r\n\tDOWNGRADE\020\002B\021\n\017purchase_optio" + - "n\"y\n\033ListPurchasableSkusResponse\022A\n\020purc" + - "hasable_skus\030\001 \003(\0132\'.google.cloud.channe" + - "l.v1.PurchasableSku\022\027\n\017next_page_token\030\002" + - " \001(\t\";\n\016PurchasableSku\022)\n\003sku\030\001 \001(\0132\034.go" + - "ogle.cloud.channel.v1.Sku\"\230\004\n\034ListPurcha" + - "sableOffersRequest\022v\n\033create_entitlement" + - "_purchase\030\002 \001(\0132O.google.cloud.channel.v" + - "1.ListPurchasableOffersRequest.CreateEnt" + - "itlementPurchaseH\000\022j\n\025change_offer_purch" + - "ase\030\003 \001(\0132I.google.cloud.channel.v1.List" + - "PurchasableOffersRequest.ChangeOfferPurc" + - "haseH\000\022>\n\010customer\030\001 \001(\tB,\340A\002\372A&\n$cloudc" + - "hannel.googleapis.com/Customer\022\026\n\tpage_s" + - "ize\030\004 \001(\005B\003\340A\001\022\027\n\npage_token\030\005 \001(\tB\003\340A\001\022" + - "\032\n\rlanguage_code\030\006 \001(\tB\003\340A\001\032-\n\031CreateEnt" + - "itlementPurchase\022\020\n\003sku\030\001 \001(\tB\003\340A\002\032E\n\023Ch" + - "angeOfferPurchase\022\030\n\013entitlement\030\001 \001(\tB\003" + - "\340A\002\022\024\n\007new_sku\030\002 \001(\tB\003\340A\001B\021\n\017purchase_op" + - "tion\"\177\n\035ListPurchasableOffersResponse\022E\n" + - "\022purchasable_offers\030\001 \003(\0132).google.cloud" + - ".channel.v1.PurchasableOffer\022\027\n\017next_pag" + - "e_token\030\002 \001(\t\"A\n\020PurchasableOffer\022-\n\005off" + - "er\030\001 \001(\0132\036.google.cloud.channel.v1.Offer" + - "\"O\n\031RegisterSubscriberRequest\022\024\n\007account" + - "\030\001 \001(\tB\003\340A\002\022\034\n\017service_account\030\002 \001(\tB\003\340A" + - "\002\"+\n\032RegisterSubscriberResponse\022\r\n\005topic" + - "\030\001 \001(\t\"Q\n\033UnregisterSubscriberRequest\022\024\n" + - "\007account\030\001 \001(\tB\003\340A\002\022\034\n\017service_account\030\002" + - " \001(\tB\003\340A\002\"-\n\034UnregisterSubscriberRespons" + - "e\022\r\n\005topic\030\001 \001(\t\"_\n\026ListSubscribersReque" + - "st\022\024\n\007account\030\001 \001(\tB\003\340A\002\022\026\n\tpage_size\030\002 " + - "\001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\"[\n\027Lis" + - "tSubscribersResponse\022\r\n\005topic\030\001 \001(\t\022\030\n\020s" + - "ervice_accounts\030\002 \003(\t\022\027\n\017next_page_token" + - "\030\003 \001(\t2\371K\n\023CloudChannelService\022\324\001\n\rListC" + - "ustomers\022-.google.cloud.channel.v1.ListC" + - "ustomersRequest\032..google.cloud.channel.v" + - "1.ListCustomersResponse\"d\202\323\344\223\002^\022!/v1/{pa" + - "rent=accounts/*}/customersZ9\0227/v1/{paren" + - "t=accounts/*/channelPartnerLinks/*}/cust" + - "omers\022\312\001\n\013GetCustomer\022+.google.cloud.cha" + - "nnel.v1.GetCustomerRequest\032!.google.clou" + - "d.channel.v1.Customer\"k\202\323\344\223\002^\022!/v1/{name" + - "=accounts/*/customers/*}Z9\0227/v1/{name=ac" + - "counts/*/channelPartnerLinks/*/customers" + - "/*}\332A\004name\022\350\001\n\037CheckCloudIdentityAccount" + - "sExist\022?.google.cloud.channel.v1.CheckCl" + - "oudIdentityAccountsExistRequest\032@.google" + - ".cloud.channel.v1.CheckCloudIdentityAcco" + - "untsExistResponse\"B\202\323\344\223\002<\"7/v1/{parent=a" + - "ccounts/*}:checkCloudIdentityAccountsExi" + - "st:\001*\022\335\001\n\016CreateCustomer\022..google.cloud." + - "channel.v1.CreateCustomerRequest\032!.googl" + - "e.cloud.channel.v1.Customer\"x\202\323\344\223\002r\"!/v1" + - "/{parent=accounts/*}/customers:\010customer" + - "ZC\"7/v1/{parent=accounts/*/channelPartne" + - "rLinks/*}/customers:\010customer\022\361\001\n\016Update" + - "Customer\022..google.cloud.channel.v1.Updat" + - "eCustomerRequest\032!.google.cloud.channel." + - "v1.Customer\"\213\001\202\323\344\223\002\204\0012*/v1/{customer.nam" + - "e=accounts/*/customers/*}:\010customerZL2@/" + - "v1/{customer.name=accounts/*/channelPart" + - "nerLinks/*/customers/*}:\010customer\022\305\001\n\016De" + - "leteCustomer\022..google.cloud.channel.v1.D" + - "eleteCustomerRequest\032\026.google.protobuf.E" + - "mpty\"k\202\323\344\223\002^*!/v1/{name=accounts/*/custo" + - "mers/*}Z9*7/v1/{name=accounts/*/channelP" + - "artnerLinks/*/customers/*}\332A\004name\022\335\001\n\016Im" + - "portCustomer\022..google.cloud.channel.v1.I" + - "mportCustomerRequest\032!.google.cloud.chan" + - "nel.v1.Customer\"x\202\323\344\223\002r\"(/v1/{parent=acc" + - "ounts/*}/customers:import:\001*ZC\">/v1/{par" + - "ent=accounts/*/channelPartnerLinks/*}/cu" + - "stomers:import:\001*\022\330\001\n\026ProvisionCloudIden" + - "tity\0226.google.cloud.channel.v1.Provision" + - "CloudIdentityRequest\032\035.google.longrunnin" + - "g.Operation\"g\202\323\344\223\002A\"\"9/v1/{name=accounts/*/custo" + - "mers/*/entitlements/*}:activate:\001*\312A \n\013E" + - "ntitlement\022\021OperationMetadata\022\344\001\n\024Transf" + - "erEntitlements\0224.google.cloud.channel.v1" + - ".TransferEntitlementsRequest\032\035.google.lo" + - "ngrunning.Operation\"w\202\323\344\223\002=\"8/v1/{parent" + - "=accounts/*/customers/*}:transferEntitle" + - "ments:\001*\312A1\n\034TransferEntitlementsRespons" + - "e\022\021OperationMetadata\022\365\001\n\034TransferEntitle" + - "mentsToGoogle\022<.google.cloud.channel.v1." + - "TransferEntitlementsToGoogleRequest\032\035.go" + - "ogle.longrunning.Operation\"x\202\323\344\223\002E\"@/v1/" + - "{parent=accounts/*/customers/*}:transfer" + - "EntitlementsToGoogle:\001*\312A*\n\025google.proto" + - "buf.Empty\022\021OperationMetadata\022\301\001\n\027ListCha" + - "nnelPartnerLinks\0227.google.cloud.channel." + - "v1.ListChannelPartnerLinksRequest\0328.goog" + - "le.cloud.channel.v1.ListChannelPartnerLi" + - "nksResponse\"3\202\323\344\223\002-\022+/v1/{parent=account" + - "s/*}/channelPartnerLinks\022\260\001\n\025GetChannelP" + - "artnerLink\0225.google.cloud.channel.v1.Get" + - "ChannelPartnerLinkRequest\032+.google.cloud" + - ".channel.v1.ChannelPartnerLink\"3\202\323\344\223\002-\022+" + - "/v1/{name=accounts/*/channelPartnerLinks" + - "/*}\022\314\001\n\030CreateChannelPartnerLink\0228.googl" + - "e.cloud.channel.v1.CreateChannelPartnerL" + - "inkRequest\032+.google.cloud.channel.v1.Cha" + - "nnelPartnerLink\"I\202\323\344\223\002C\"+/v1/{parent=acc" + - "ounts/*}/channelPartnerLinks:\024channel_pa" + - "rtner_link\022\271\001\n\030UpdateChannelPartnerLink\022" + - "8.google.cloud.channel.v1.UpdateChannelP" + - "artnerLinkRequest\032+.google.cloud.channel" + - ".v1.ChannelPartnerLink\"6\202\323\344\223\00202+/v1/{nam" + - "e=accounts/*/channelPartnerLinks/*}:\001*\022\327" + - "\001\n\032GetCustomerRepricingConfig\022:.google.c" + - "loud.channel.v1.GetCustomerRepricingConf" + - "igRequest\0320.google.cloud.channel.v1.Cust" + - "omerRepricingConfig\"K\202\323\344\223\002>\022\022*google.golang.org/gen" + - "proto/googleapis/cloud/channel/v1;channe" + - "lb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.channel.v1.ChannelPartnerLinksProto.getDescriptor(), - com.google.cloud.channel.v1.CommonProto.getDescriptor(), - com.google.cloud.channel.v1.CustomersProto.getDescriptor(), - com.google.cloud.channel.v1.EntitlementsProto.getDescriptor(), - com.google.cloud.channel.v1.OffersProto.getDescriptor(), - com.google.cloud.channel.v1.ProductsProto.getDescriptor(), - com.google.cloud.channel.v1.RepricingProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistRequest_descriptor, - new java.lang.String[] { "Parent", "Domain", }); - internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_CloudIdentityCustomerAccount_descriptor, - new java.lang.String[] { "Existing", "Owned", "CustomerName", "CustomerCloudIdentityId", }); - internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_CheckCloudIdentityAccountsExistResponse_descriptor, - new java.lang.String[] { "CloudIdentityAccounts", }); - internal_static_google_cloud_channel_v1_ListCustomersRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_channel_v1_ListCustomersRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListCustomersRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", }); - internal_static_google_cloud_channel_v1_ListCustomersResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_channel_v1_ListCustomersResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListCustomersResponse_descriptor, - new java.lang.String[] { "Customers", "NextPageToken", }); - internal_static_google_cloud_channel_v1_GetCustomerRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_channel_v1_GetCustomerRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_GetCustomerRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_channel_v1_CreateCustomerRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_channel_v1_CreateCustomerRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_CreateCustomerRequest_descriptor, - new java.lang.String[] { "Parent", "Customer", }); - internal_static_google_cloud_channel_v1_UpdateCustomerRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_channel_v1_UpdateCustomerRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_UpdateCustomerRequest_descriptor, - new java.lang.String[] { "Customer", "UpdateMask", }); - internal_static_google_cloud_channel_v1_DeleteCustomerRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_channel_v1_DeleteCustomerRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_DeleteCustomerRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_channel_v1_ImportCustomerRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_channel_v1_ImportCustomerRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ImportCustomerRequest_descriptor, - new java.lang.String[] { "Domain", "CloudIdentityId", "Parent", "AuthToken", "OverwriteIfExists", "ChannelPartnerId", "Customer", "CustomerIdentity", }); - internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ProvisionCloudIdentityRequest_descriptor, - new java.lang.String[] { "Customer", "CloudIdentityInfo", "User", "ValidateOnly", }); - internal_static_google_cloud_channel_v1_ListEntitlementsRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_channel_v1_ListEntitlementsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListEntitlementsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_cloud_channel_v1_ListEntitlementsResponse_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_channel_v1_ListEntitlementsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListEntitlementsResponse_descriptor, - new java.lang.String[] { "Entitlements", "NextPageToken", }); - internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListTransferableSkusRequest_descriptor, - new java.lang.String[] { "CloudIdentityId", "CustomerName", "Parent", "PageSize", "PageToken", "AuthToken", "LanguageCode", "TransferredCustomerIdentity", }); - internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListTransferableSkusResponse_descriptor, - new java.lang.String[] { "TransferableSkus", "NextPageToken", }); - internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListTransferableOffersRequest_descriptor, - new java.lang.String[] { "CloudIdentityId", "CustomerName", "Parent", "PageSize", "PageToken", "Sku", "LanguageCode", "TransferredCustomerIdentity", }); - internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListTransferableOffersResponse_descriptor, - new java.lang.String[] { "TransferableOffers", "NextPageToken", }); - internal_static_google_cloud_channel_v1_TransferableOffer_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_channel_v1_TransferableOffer_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_TransferableOffer_descriptor, - new java.lang.String[] { "Offer", }); - internal_static_google_cloud_channel_v1_GetEntitlementRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_channel_v1_GetEntitlementRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_GetEntitlementRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListChannelPartnerLinksRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "View", }); - internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListChannelPartnerLinksResponse_descriptor, - new java.lang.String[] { "ChannelPartnerLinks", "NextPageToken", }); - internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_GetChannelPartnerLinkRequest_descriptor, - new java.lang.String[] { "Name", "View", }); - internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_CreateChannelPartnerLinkRequest_descriptor, - new java.lang.String[] { "Parent", "ChannelPartnerLink", }); - internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_UpdateChannelPartnerLinkRequest_descriptor, - new java.lang.String[] { "Name", "ChannelPartnerLink", "UpdateMask", }); - internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_GetCustomerRepricingConfigRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", }); - internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListCustomerRepricingConfigsResponse_descriptor, - new java.lang.String[] { "CustomerRepricingConfigs", "NextPageToken", }); - internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_CreateCustomerRepricingConfigRequest_descriptor, - new java.lang.String[] { "Parent", "CustomerRepricingConfig", }); - internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_UpdateCustomerRepricingConfigRequest_descriptor, - new java.lang.String[] { "CustomerRepricingConfig", }); - internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_DeleteCustomerRepricingConfigRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_GetChannelPartnerRepricingConfigRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", }); - internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListChannelPartnerRepricingConfigsResponse_descriptor, - new java.lang.String[] { "ChannelPartnerRepricingConfigs", "NextPageToken", }); - internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_CreateChannelPartnerRepricingConfigRequest_descriptor, - new java.lang.String[] { "Parent", "ChannelPartnerRepricingConfig", }); - internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_UpdateChannelPartnerRepricingConfigRequest_descriptor, - new java.lang.String[] { "ChannelPartnerRepricingConfig", }); - internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_DeleteChannelPartnerRepricingConfigRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_channel_v1_CreateEntitlementRequest_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_cloud_channel_v1_CreateEntitlementRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_CreateEntitlementRequest_descriptor, - new java.lang.String[] { "Parent", "Entitlement", "RequestId", }); - internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_TransferEntitlementsRequest_descriptor, - new java.lang.String[] { "Parent", "Entitlements", "AuthToken", "RequestId", }); - internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_TransferEntitlementsResponse_descriptor, - new java.lang.String[] { "Entitlements", }); - internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_TransferEntitlementsToGoogleRequest_descriptor, - new java.lang.String[] { "Parent", "Entitlements", "RequestId", }); - internal_static_google_cloud_channel_v1_ChangeParametersRequest_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_cloud_channel_v1_ChangeParametersRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ChangeParametersRequest_descriptor, - new java.lang.String[] { "Name", "Parameters", "RequestId", "PurchaseOrderId", }); - internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ChangeRenewalSettingsRequest_descriptor, - new java.lang.String[] { "Name", "RenewalSettings", "RequestId", }); - internal_static_google_cloud_channel_v1_ChangeOfferRequest_descriptor = - getDescriptor().getMessageTypes().get(42); - internal_static_google_cloud_channel_v1_ChangeOfferRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ChangeOfferRequest_descriptor, - new java.lang.String[] { "Name", "Offer", "Parameters", "PurchaseOrderId", "RequestId", }); - internal_static_google_cloud_channel_v1_StartPaidServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(43); - internal_static_google_cloud_channel_v1_StartPaidServiceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_StartPaidServiceRequest_descriptor, - new java.lang.String[] { "Name", "RequestId", }); - internal_static_google_cloud_channel_v1_CancelEntitlementRequest_descriptor = - getDescriptor().getMessageTypes().get(44); - internal_static_google_cloud_channel_v1_CancelEntitlementRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_CancelEntitlementRequest_descriptor, - new java.lang.String[] { "Name", "RequestId", }); - internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_descriptor = - getDescriptor().getMessageTypes().get(45); - internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_SuspendEntitlementRequest_descriptor, - new java.lang.String[] { "Name", "RequestId", }); - internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_descriptor = - getDescriptor().getMessageTypes().get(46); - internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ActivateEntitlementRequest_descriptor, - new java.lang.String[] { "Name", "RequestId", }); - internal_static_google_cloud_channel_v1_LookupOfferRequest_descriptor = - getDescriptor().getMessageTypes().get(47); - internal_static_google_cloud_channel_v1_LookupOfferRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_LookupOfferRequest_descriptor, - new java.lang.String[] { "Entitlement", }); - internal_static_google_cloud_channel_v1_ListProductsRequest_descriptor = - getDescriptor().getMessageTypes().get(48); - internal_static_google_cloud_channel_v1_ListProductsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListProductsRequest_descriptor, - new java.lang.String[] { "Account", "PageSize", "PageToken", "LanguageCode", }); - internal_static_google_cloud_channel_v1_ListProductsResponse_descriptor = - getDescriptor().getMessageTypes().get(49); - internal_static_google_cloud_channel_v1_ListProductsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListProductsResponse_descriptor, - new java.lang.String[] { "Products", "NextPageToken", }); - internal_static_google_cloud_channel_v1_ListSkusRequest_descriptor = - getDescriptor().getMessageTypes().get(50); - internal_static_google_cloud_channel_v1_ListSkusRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListSkusRequest_descriptor, - new java.lang.String[] { "Parent", "Account", "PageSize", "PageToken", "LanguageCode", }); - internal_static_google_cloud_channel_v1_ListSkusResponse_descriptor = - getDescriptor().getMessageTypes().get(51); - internal_static_google_cloud_channel_v1_ListSkusResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListSkusResponse_descriptor, - new java.lang.String[] { "Skus", "NextPageToken", }); - internal_static_google_cloud_channel_v1_ListOffersRequest_descriptor = - getDescriptor().getMessageTypes().get(52); - internal_static_google_cloud_channel_v1_ListOffersRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListOffersRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "LanguageCode", }); - internal_static_google_cloud_channel_v1_ListOffersResponse_descriptor = - getDescriptor().getMessageTypes().get(53); - internal_static_google_cloud_channel_v1_ListOffersResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListOffersResponse_descriptor, - new java.lang.String[] { "Offers", "NextPageToken", }); - internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_descriptor = - getDescriptor().getMessageTypes().get(54); - internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_descriptor, - new java.lang.String[] { "CreateEntitlementPurchase", "ChangeOfferPurchase", "Customer", "PageSize", "PageToken", "LanguageCode", "PurchaseOption", }); - internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_descriptor = - internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_CreateEntitlementPurchase_descriptor, - new java.lang.String[] { "Product", }); - internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_descriptor = - internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListPurchasableSkusRequest_ChangeOfferPurchase_descriptor, - new java.lang.String[] { "Entitlement", "ChangeType", }); - internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_descriptor = - getDescriptor().getMessageTypes().get(55); - internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListPurchasableSkusResponse_descriptor, - new java.lang.String[] { "PurchasableSkus", "NextPageToken", }); - internal_static_google_cloud_channel_v1_PurchasableSku_descriptor = - getDescriptor().getMessageTypes().get(56); - internal_static_google_cloud_channel_v1_PurchasableSku_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_PurchasableSku_descriptor, - new java.lang.String[] { "Sku", }); - internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_descriptor = - getDescriptor().getMessageTypes().get(57); - internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_descriptor, - new java.lang.String[] { "CreateEntitlementPurchase", "ChangeOfferPurchase", "Customer", "PageSize", "PageToken", "LanguageCode", "PurchaseOption", }); - internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_descriptor = - internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_CreateEntitlementPurchase_descriptor, - new java.lang.String[] { "Sku", }); - internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_descriptor = - internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListPurchasableOffersRequest_ChangeOfferPurchase_descriptor, - new java.lang.String[] { "Entitlement", "NewSku", }); - internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_descriptor = - getDescriptor().getMessageTypes().get(58); - internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListPurchasableOffersResponse_descriptor, - new java.lang.String[] { "PurchasableOffers", "NextPageToken", }); - internal_static_google_cloud_channel_v1_PurchasableOffer_descriptor = - getDescriptor().getMessageTypes().get(59); - internal_static_google_cloud_channel_v1_PurchasableOffer_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_PurchasableOffer_descriptor, - new java.lang.String[] { "Offer", }); - internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_descriptor = - getDescriptor().getMessageTypes().get(60); - internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_RegisterSubscriberRequest_descriptor, - new java.lang.String[] { "Account", "ServiceAccount", }); - internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_descriptor = - getDescriptor().getMessageTypes().get(61); - internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_RegisterSubscriberResponse_descriptor, - new java.lang.String[] { "Topic", }); - internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_descriptor = - getDescriptor().getMessageTypes().get(62); - internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_UnregisterSubscriberRequest_descriptor, - new java.lang.String[] { "Account", "ServiceAccount", }); - internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_descriptor = - getDescriptor().getMessageTypes().get(63); - internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_UnregisterSubscriberResponse_descriptor, - new java.lang.String[] { "Topic", }); - internal_static_google_cloud_channel_v1_ListSubscribersRequest_descriptor = - getDescriptor().getMessageTypes().get(64); - internal_static_google_cloud_channel_v1_ListSubscribersRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListSubscribersRequest_descriptor, - new java.lang.String[] { "Account", "PageSize", "PageToken", }); - internal_static_google_cloud_channel_v1_ListSubscribersResponse_descriptor = - getDescriptor().getMessageTypes().get(65); - internal_static_google_cloud_channel_v1_ListSubscribersResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_ListSubscribersResponse_descriptor, - new java.lang.String[] { "Topic", "ServiceAccounts", "NextPageToken", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.channel.v1.ChannelPartnerLinksProto.getDescriptor(); - com.google.cloud.channel.v1.CommonProto.getDescriptor(); - com.google.cloud.channel.v1.CustomersProto.getDescriptor(); - com.google.cloud.channel.v1.EntitlementsProto.getDescriptor(); - com.google.cloud.channel.v1.OffersProto.getDescriptor(); - com.google.cloud.channel.v1.ProductsProto.getDescriptor(); - com.google.cloud.channel.v1.RepricingProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventProto.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventProto.java deleted file mode 100644 index 90d64d299742..000000000000 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventProto.java +++ /dev/null @@ -1,101 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/channel/v1/subscriber_event.proto - -package com.google.cloud.channel.v1; - -public final class SubscriberEventProto { - private SubscriberEventProto() {} - 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_cloud_channel_v1_CustomerEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_CustomerEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_EntitlementEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_EntitlementEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_channel_v1_SubscriberEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_channel_v1_SubscriberEvent_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/cloud/channel/v1/subscriber_eve" + - "nt.proto\022\027google.cloud.channel.v1\032\031googl" + - "e/api/resource.proto\"\344\001\n\rCustomerEvent\022;" + - "\n\010customer\030\001 \001(\tB)\372A&\n$cloudchannel.goog" + - "leapis.com/Customer\022?\n\nevent_type\030\002 \001(\0162" + - "+.google.cloud.channel.v1.CustomerEvent." + - "Type\"U\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\032\n\026PR" + - "IMARY_DOMAIN_CHANGED\020\001\022\033\n\027PRIMARY_DOMAIN" + - "_VERIFIED\020\002\"\261\003\n\020EntitlementEvent\022A\n\013enti" + - "tlement\030\001 \001(\tB,\372A)\n\'cloudchannel.googlea" + - "pis.com/Entitlement\022B\n\nevent_type\030\002 \001(\0162" + - "..google.cloud.channel.v1.EntitlementEve" + - "nt.Type\"\225\002\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\013" + - "\n\007CREATED\020\001\022\027\n\023PRICE_PLAN_SWITCHED\020\003\022\026\n\022" + - "COMMITMENT_CHANGED\020\004\022\013\n\007RENEWED\020\005\022\r\n\tSUS" + - "PENDED\020\006\022\r\n\tACTIVATED\020\007\022\r\n\tCANCELLED\020\010\022\017" + - "\n\013SKU_CHANGED\020\t\022\033\n\027RENEWAL_SETTING_CHANG" + - "ED\020\n\022\030\n\024PAID_SERVICE_STARTED\020\013\022\036\n\032LICENS" + - "E_ASSIGNMENT_CHANGED\020\014\022\027\n\023LICENSE_CAP_CH" + - "ANGED\020\r\"\244\001\n\017SubscriberEvent\022@\n\016customer_" + - "event\030\001 \001(\0132&.google.cloud.channel.v1.Cu" + - "stomerEventH\000\022F\n\021entitlement_event\030\002 \001(\013" + - "2).google.cloud.channel.v1.EntitlementEv" + - "entH\000B\007\n\005eventBu\n\033com.google.cloud.chann" + - "el.v1B\024SubscriberEventProtoP\001Z>google.go" + - "lang.org/genproto/googleapis/cloud/chann" + - "el/v1;channelb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - }); - internal_static_google_cloud_channel_v1_CustomerEvent_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_channel_v1_CustomerEvent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_CustomerEvent_descriptor, - new java.lang.String[] { "Customer", "EventType", }); - internal_static_google_cloud_channel_v1_EntitlementEvent_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_channel_v1_EntitlementEvent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_EntitlementEvent_descriptor, - new java.lang.String[] { "Entitlement", "EventType", }); - internal_static_google_cloud_channel_v1_SubscriberEvent_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_channel_v1_SubscriberEvent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_channel_v1_SubscriberEvent_descriptor, - new java.lang.String[] { "CustomerEvent", "EntitlementEvent", "Event", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponseOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponseOrBuilder.java deleted file mode 100644 index 6c5cf4f8ced4..000000000000 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UnregisterSubscriberResponseOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/channel/v1/service.proto - -package com.google.cloud.channel.v1; - -public interface UnregisterSubscriberResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.UnregisterSubscriberResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Name of the topic the service account subscriber access was removed from.
-   * 
- * - * string topic = 1; - * @return The topic. - */ - java.lang.String getTopic(); - /** - *
-   * Name of the topic the service account subscriber access was removed from.
-   * 
- * - * string topic = 1; - * @return The bytes for topic. - */ - com.google.protobuf.ByteString - getTopicBytes(); -} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequestOrBuilder.java deleted file mode 100644 index 7c766a8a5957..000000000000 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateChannelPartnerRepricingConfigRequestOrBuilder.java +++ /dev/null @@ -1,36 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/channel/v1/service.proto - -package com.google.cloud.channel.v1; - -public interface UpdateChannelPartnerRepricingConfigRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The ChannelPartnerRepricingConfig object to update.
-   * 
- * - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the channelPartnerRepricingConfig field is set. - */ - boolean hasChannelPartnerRepricingConfig(); - /** - *
-   * Required. The ChannelPartnerRepricingConfig object to update.
-   * 
- * - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return The channelPartnerRepricingConfig. - */ - com.google.cloud.channel.v1.ChannelPartnerRepricingConfig getChannelPartnerRepricingConfig(); - /** - *
-   * Required. The ChannelPartnerRepricingConfig object to update.
-   * 
- * - * .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.channel.v1.ChannelPartnerRepricingConfigOrBuilder getChannelPartnerRepricingConfigOrBuilder(); -} diff --git a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequestOrBuilder.java b/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequestOrBuilder.java deleted file mode 100644 index bb5ff65234fe..000000000000 --- a/owl-bot-staging/java-channel/v1/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/UpdateCustomerRepricingConfigRequestOrBuilder.java +++ /dev/null @@ -1,36 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/channel/v1/service.proto - -package com.google.cloud.channel.v1; - -public interface UpdateCustomerRepricingConfigRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The CustomerRepricingConfig object to update.
-   * 
- * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the customerRepricingConfig field is set. - */ - boolean hasCustomerRepricingConfig(); - /** - *
-   * Required. The CustomerRepricingConfig object to update.
-   * 
- * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return The customerRepricingConfig. - */ - com.google.cloud.channel.v1.CustomerRepricingConfig getCustomerRepricingConfig(); - /** - *
-   * Required. The CustomerRepricingConfig object to update.
-   * 
- * - * .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder getCustomerRepricingConfigOrBuilder(); -} diff --git a/versions.txt b/versions.txt index a7c8d4a2bf0f..26acef5dc131 100644 --- a/versions.txt +++ b/versions.txt @@ -599,4 +599,4 @@ google-cloud-monitoring-metricsscope:0.1.0:0.1.0 proto-google-cloud-monitoring-metricsscope-v1:0.1.0:0.1.0 grpc-google-cloud-monitoring-metricsscope-v1:0.1.0:0.1.0 proto-google-cloud-tpu-v2:2.8.0:2.8.0 -grpc-google-cloud-tpu-v2:2.8.0:2.8.0 \ No newline at end of file +grpc-google-cloud-tpu-v2:2.8.0:2.8.0